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-6
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ec232824ff | ||
|
|
5903f18a2a | ||
| 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
|
||||||
|
|
||||||
|
|||||||
18
packages/lib/.snyk
Normal file
18
packages/lib/.snyk
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
# 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:
|
||||||
|
- styled-components > @babel/traverse > lodash:
|
||||||
|
patched: '2020-04-30T22:47:36.693Z'
|
||||||
|
- styled-components > babel-plugin-styled-components > lodash:
|
||||||
|
patched: '2020-04-30T22:47:36.693Z'
|
||||||
|
- styled-components > @babel/traverse > @babel/generator > lodash:
|
||||||
|
patched: '2020-04-30T22:47:36.693Z'
|
||||||
|
- styled-components > babel-plugin-styled-components > @babel/helper-annotate-as-pure > @babel/types > lodash:
|
||||||
|
patched: '2020-04-30T22:47:36.693Z'
|
||||||
|
- styled-components > @babel/traverse > @babel/helper-split-export-declaration > @babel/types > lodash:
|
||||||
|
patched: '2020-04-30T22:47:36.693Z'
|
||||||
|
- styled-components > @babel/traverse > @babel/helper-function-name > @babel/template > @babel/types > lodash:
|
||||||
|
patched: '2020-04-30T22:47:36.693Z'
|
||||||
@@ -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,16 +9,20 @@
|
|||||||
"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": "npm run snyk-protect && yarn run bundle",
|
||||||
|
"snyk-protect": "snyk protect"
|
||||||
},
|
},
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"react-native-json-tree": "^1.2.0",
|
"react-native-json-tree": "^1.2.0",
|
||||||
"styled-components": "^5.0.0-beta.8"
|
"styled-components": "^5.0.0-beta.8",
|
||||||
|
"snyk": "^1.316.1"
|
||||||
},
|
},
|
||||||
"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"
|
||||||
|
},
|
||||||
|
"snyk": true
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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