mirror of
https://github.com/morten-olsen/react-native-debug-console.git
synced 2026-02-08 00:36:26 +01:00
Compare commits
4 Commits
v2.0.0-alp
...
snyk-fix-d
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
48ea031cf2 | ||
|
|
b61070ed15 | ||
| f60a24d908 | |||
| fd3a2bc24f |
@@ -1,4 +1,6 @@
|
|||||||
# React Native Debug Console
|
# React Native Debug Console
|
||||||
|
|
||||||
|
[](https://codeclimate.com/github/morten-olsen/react-native-debug-console/maintainability)
|
||||||
|
|
||||||
... and yes I am aware that it is a boring name
|
... and yes I am aware that it is a boring name
|
||||||
|
|
||||||
|
|||||||
68
packages/demo/.snyk
Normal file
68
packages/demo/.snyk
Normal file
@@ -0,0 +1,68 @@
|
|||||||
|
# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities.
|
||||||
|
version: v1.14.1
|
||||||
|
ignore: {}
|
||||||
|
# patches apply the minimum changes required to fix a vulnerability
|
||||||
|
patch:
|
||||||
|
SNYK-JS-LODASH-567746:
|
||||||
|
- expo > lodash:
|
||||||
|
patched: '2020-04-30T21:12:44.362Z'
|
||||||
|
- expo > @unimodules/react-native-adapter > lodash:
|
||||||
|
patched: '2020-04-30T21:12:44.362Z'
|
||||||
|
- expo > expo-av > lodash:
|
||||||
|
patched: '2020-04-30T21:12:44.362Z'
|
||||||
|
- expo > expo-barcode-scanner > lodash:
|
||||||
|
patched: '2020-04-30T21:12:44.362Z'
|
||||||
|
- expo > expo-camera > lodash:
|
||||||
|
patched: '2020-04-30T21:12:44.362Z'
|
||||||
|
- expo > expo-mail-composer > lodash:
|
||||||
|
patched: '2020-04-30T21:12:44.362Z'
|
||||||
|
- expo > expo-sqlite > lodash:
|
||||||
|
patched: '2020-04-30T21:12:44.362Z'
|
||||||
|
- expo > react-google-maps > lodash:
|
||||||
|
patched: '2020-04-30T21:12:44.362Z'
|
||||||
|
- react-native-debug-console > styled-components > @babel/traverse > lodash:
|
||||||
|
patched: '2020-04-30T21:12:44.362Z'
|
||||||
|
- expo > babel-preset-expo > @babel/core > lodash:
|
||||||
|
patched: '2020-04-30T21:12:44.362Z'
|
||||||
|
- react-native-debug-console > styled-components > babel-plugin-styled-components > lodash:
|
||||||
|
patched: '2020-04-30T21:12:44.362Z'
|
||||||
|
- react-native-debug-console > styled-components > @babel/traverse > @babel/generator > lodash:
|
||||||
|
patched: '2020-04-30T21:12:44.362Z'
|
||||||
|
- expo > babel-preset-expo > @babel/preset-env > @babel/plugin-transform-block-scoping > lodash:
|
||||||
|
patched: '2020-04-30T21:12:44.362Z'
|
||||||
|
- expo > babel-preset-expo > metro-react-native-babel-preset > @babel/plugin-transform-block-scoping > lodash:
|
||||||
|
patched: '2020-04-30T21:12:44.362Z'
|
||||||
|
- react-native-debug-console > styled-components > @babel/traverse > @babel/helper-split-export-declaration > @babel/types > lodash:
|
||||||
|
patched: '2020-04-30T21:12:44.362Z'
|
||||||
|
- expo > babel-preset-expo > @babel/preset-env > @babel/plugin-transform-classes > @babel/helper-define-map > lodash:
|
||||||
|
patched: '2020-04-30T21:12:44.362Z'
|
||||||
|
- react-native-debug-console > styled-components > babel-plugin-styled-components > @babel/helper-annotate-as-pure > @babel/types > lodash:
|
||||||
|
patched: '2020-04-30T21:12:44.362Z'
|
||||||
|
- expo > babel-preset-expo > metro-react-native-babel-preset > @babel/plugin-transform-classes > @babel/helper-define-map > lodash:
|
||||||
|
patched: '2020-04-30T21:12:44.362Z'
|
||||||
|
- expo > babel-preset-expo > metro-react-native-babel-preset > react-transform-hmr > react-proxy > lodash:
|
||||||
|
patched: '2020-04-30T21:12:44.362Z'
|
||||||
|
- expo > babel-preset-expo > @babel/preset-env > @babel/plugin-transform-unicode-regex > @babel/helper-create-regexp-features-plugin > @babel/helper-regex > lodash:
|
||||||
|
patched: '2020-04-30T21:12:44.362Z'
|
||||||
|
- expo > babel-preset-expo > metro-react-native-babel-preset > @babel/plugin-transform-unicode-regex > @babel/helper-create-regexp-features-plugin > @babel/helper-regex > lodash:
|
||||||
|
patched: '2020-04-30T21:12:44.362Z'
|
||||||
|
- expo > babel-preset-expo > metro-react-native-babel-preset > metro-babel7-plugin-react-transform > @babel/helper-module-imports > @babel/types > lodash:
|
||||||
|
patched: '2020-04-30T21:12:44.362Z'
|
||||||
|
- react-native-debug-console > styled-components > @babel/traverse > @babel/helper-function-name > @babel/template > @babel/types > lodash:
|
||||||
|
patched: '2020-04-30T21:12:44.362Z'
|
||||||
|
- expo > babel-preset-expo > @babel/preset-env > @babel/preset-modules > @babel/plugin-transform-dotall-regex > @babel/helper-create-regexp-features-plugin > @babel/helper-regex > lodash:
|
||||||
|
patched: '2020-04-30T21:12:44.362Z'
|
||||||
|
- expo > babel-preset-expo > metro-react-native-babel-preset > @babel/plugin-transform-exponentiation-operator > @babel/helper-builder-binary-assignment-operator-visitor > @babel/helper-explode-assignable-expression > @babel/traverse > lodash:
|
||||||
|
patched: '2020-04-30T21:12:44.362Z'
|
||||||
|
- expo > babel-preset-expo > @babel/preset-env > @babel/plugin-transform-exponentiation-operator > @babel/helper-builder-binary-assignment-operator-visitor > @babel/helper-explode-assignable-expression > @babel/traverse > @babel/generator > lodash:
|
||||||
|
patched: '2020-04-30T21:12:44.362Z'
|
||||||
|
- expo > babel-preset-expo > metro-react-native-babel-preset > @babel/plugin-transform-exponentiation-operator > @babel/helper-builder-binary-assignment-operator-visitor > @babel/helper-explode-assignable-expression > @babel/traverse > @babel/generator > lodash:
|
||||||
|
patched: '2020-04-30T21:12:44.362Z'
|
||||||
|
- expo > babel-preset-expo > @babel/preset-env > @babel/plugin-transform-exponentiation-operator > @babel/helper-builder-binary-assignment-operator-visitor > @babel/helper-explode-assignable-expression > @babel/traverse > @babel/helper-split-export-declaration > @babel/types > lodash:
|
||||||
|
patched: '2020-04-30T21:12:44.362Z'
|
||||||
|
- expo > babel-preset-expo > metro-react-native-babel-preset > @babel/plugin-transform-exponentiation-operator > @babel/helper-builder-binary-assignment-operator-visitor > @babel/helper-explode-assignable-expression > @babel/traverse > @babel/helper-split-export-declaration > @babel/types > lodash:
|
||||||
|
patched: '2020-04-30T21:12:44.362Z'
|
||||||
|
- expo > babel-preset-expo > @babel/preset-env > @babel/plugin-transform-exponentiation-operator > @babel/helper-builder-binary-assignment-operator-visitor > @babel/helper-explode-assignable-expression > @babel/traverse > @babel/helper-function-name > @babel/template > @babel/types > lodash:
|
||||||
|
patched: '2020-04-30T21:12:44.362Z'
|
||||||
|
- expo > babel-preset-expo > metro-react-native-babel-preset > @babel/plugin-transform-exponentiation-operator > @babel/helper-builder-binary-assignment-operator-visitor > @babel/helper-explode-assignable-expression > @babel/traverse > @babel/helper-function-name > @babel/template > @babel/types > lodash:
|
||||||
|
patched: '2020-04-30T21:12:44.362Z'
|
||||||
@@ -8,7 +8,9 @@
|
|||||||
"ios": "expo start --ios",
|
"ios": "expo start --ios",
|
||||||
"web": "expo start --web",
|
"web": "expo start --web",
|
||||||
"eject": "expo eject",
|
"eject": "expo eject",
|
||||||
"postinstall": "expo-yarn-workspaces postinstall"
|
"postinstall": "expo-yarn-workspaces postinstall",
|
||||||
|
"snyk-protect": "snyk protect",
|
||||||
|
"prepublish": "npm run snyk-protect"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"expo": "^33.0.0",
|
"expo": "^33.0.0",
|
||||||
@@ -16,7 +18,8 @@
|
|||||||
"react-dom": "^16.8.6",
|
"react-dom": "^16.8.6",
|
||||||
"react-native": "https://github.com/expo/react-native/archive/sdk-33.0.0.tar.gz",
|
"react-native": "https://github.com/expo/react-native/archive/sdk-33.0.0.tar.gz",
|
||||||
"react-native-debug-console": "^2.0.0-alpha.7",
|
"react-native-debug-console": "^2.0.0-alpha.7",
|
||||||
"react-native-web": "0.11.4"
|
"react-native-web": "0.11.4",
|
||||||
|
"snyk": "^1.316.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/runtime": "^7.5.0",
|
"@babel/runtime": "^7.5.0",
|
||||||
@@ -26,5 +29,6 @@
|
|||||||
"expo-yarn-workspaces": "^1.2.0",
|
"expo-yarn-workspaces": "^1.2.0",
|
||||||
"react-art": "^16.8.6"
|
"react-art": "^16.8.6"
|
||||||
},
|
},
|
||||||
"private": true
|
"private": true,
|
||||||
|
"snyk": true
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "react-native-debug-console",
|
"name": "react-native-debug-console",
|
||||||
"version": "2.0.0-alpha.7",
|
"version": "2.0.0-alpha.9",
|
||||||
"main": "lib/index.js",
|
"main": "lib/index.js",
|
||||||
"react-native": "lib/native.js",
|
"react-native": "lib/native.js",
|
||||||
"repository": {
|
"repository": {
|
||||||
@@ -9,7 +9,7 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "jest",
|
"test": "jest",
|
||||||
"bundle": "babel --copy-files --extensions '.ts,.tsx,.js' -d lib src",
|
"bundle": "babel --copy-files --extensions '.ts,.tsx,.js' -d lib src",
|
||||||
"postpublish": "yarn run bundle"
|
"prepublish": "yarn run bundle"
|
||||||
},
|
},
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
@@ -19,6 +19,7 @@
|
|||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"prop-types": "^15.6.0",
|
"prop-types": "^15.6.0",
|
||||||
"react": "^16.8.3",
|
"react": "^16.8.3",
|
||||||
"react-native": "^0.59.8"
|
"react-native": "^0.59.8",
|
||||||
|
"react-native-webview": "^6.9.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ import {
|
|||||||
View,
|
View,
|
||||||
} from 'react-native';
|
} from 'react-native';
|
||||||
import styled from 'styled-components/native';
|
import styled from 'styled-components/native';
|
||||||
|
import { WebView } from 'react-native-webview';
|
||||||
import {
|
import {
|
||||||
Emphasis,
|
Emphasis,
|
||||||
Fixed,
|
Fixed,
|
||||||
@@ -13,9 +14,6 @@ import Cell from '../../base/Cell';
|
|||||||
import CellHeader from '../../base/CellHeader';
|
import CellHeader from '../../base/CellHeader';
|
||||||
import Tab from '../Tab';
|
import Tab from '../Tab';
|
||||||
|
|
||||||
const WebView = styled.WebView`
|
|
||||||
`;
|
|
||||||
|
|
||||||
const theme = {
|
const theme = {
|
||||||
scheme: 'bright',
|
scheme: 'bright',
|
||||||
author: 'chris kempson (http://chriskempson.com)',
|
author: 'chris kempson (http://chriskempson.com)',
|
||||||
|
|||||||
Reference in New Issue
Block a user