Compare commits

..

2 Commits

Author SHA1 Message Date
snyk-bot
ec232824ff fix: packages/lib/package.json & packages/lib/.snyk to reduce vulnerabilities
The following vulnerabilities are fixed with a Snyk patch:
- https://snyk.io/vuln/SNYK-JS-LODASH-567746
2020-05-01 00:47:44 +02:00
snyk-bot
5903f18a2a fix: packages/lib/package.json & packages/lib/.snyk to reduce vulnerabilities
The following vulnerabilities are fixed with a Snyk patch:
- https://snyk.io/vuln/SNYK-JS-LODASH-567746
2020-05-01 00:47:43 +02:00
8 changed files with 30 additions and 33 deletions

View File

@@ -3,14 +3,6 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [2.0.0-alpha.11](https://github.com/morten-olsen/react-native-debug-console/compare/2.0.0-alpha.5...2.0.0-alpha.11) (2020-10-19)
**Note:** Version bump only for package react-native-debug-console
# [2.0.0-alpha.7](https://github.com/morten-olsen/react-native-debug-console/compare/v2.0.0-alpha.6...v2.0.0-alpha.7) (2019-07-05)
**Note:** Version bump only for package react-native-debug-console

View File

@@ -1,5 +1,5 @@
{
"npmClient": "yarn",
"useWorkspaces": true,
"version": "2.0.0-alpha.11"
"version": "2.0.0-alpha.7"
}

View File

@@ -3,14 +3,6 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# 2.0.0-alpha.11 (2020-10-19)
**Note:** Version bump only for package react-native-debug-console-demo
# [2.0.0-alpha.7](https://github.com/morten-olsen/react-native-debug-console/compare/v2.0.0-alpha.6...v2.0.0-alpha.7) (2019-07-05)
**Note:** Version bump only for package react-native-debug-console-demo

View File

@@ -1,6 +1,6 @@
{
"name": "react-native-debug-console-demo",
"version": "2.0.0-alpha.11",
"version": "2.0.0-alpha.7",
"main": "./Entry.js",
"scripts": {
"start": "expo start",
@@ -15,7 +15,7 @@
"react": "16.8.3",
"react-dom": "^16.8.6",
"react-native": "https://github.com/expo/react-native/archive/sdk-33.0.0.tar.gz",
"react-native-debug-console": "^2.0.0-alpha.11",
"react-native-debug-console": "^2.0.0-alpha.7",
"react-native-web": "0.11.4"
},
"devDependencies": {

18
packages/lib/.snyk Normal file
View 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'

View File

@@ -3,14 +3,6 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# 2.0.0-alpha.11 (2020-10-19)
**Note:** Version bump only for package react-native-debug-console
# [2.0.0-alpha.7](https://github.com/morten-olsen/react-native-debugger/compare/v2.0.0-alpha.6...v2.0.0-alpha.7) (2019-07-05)
**Note:** Version bump only for package react-native-debug-console

View File

@@ -1,6 +1,6 @@
{
"name": "react-native-debug-console",
"version": "2.0.0-alpha.11",
"version": "2.0.0-alpha.9",
"main": "lib/index.js",
"react-native": "lib/native.js",
"repository": {
@@ -9,17 +9,20 @@
"scripts": {
"test": "jest",
"bundle": "babel --copy-files --extensions '.ts,.tsx,.js' -d lib src",
"prepublish": "yarn run bundle"
"prepublish": "npm run snyk-protect && yarn run bundle",
"snyk-protect": "snyk protect"
},
"license": "MIT",
"dependencies": {
"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": {
"prop-types": "^15.6.0",
"react": "^16.8.3",
"react-native": "^0.59.8",
"react-native-webview": "^6.9.0"
}
},
"snyk": true
}

View File

@@ -8,7 +8,7 @@ class Events {
}
unlisten(fn) {
this.listeners = this.listeners.filter(l => l !== fn);
this.listeners = this.listeners(l => l !== fn);
}
publish(type, data) {
@@ -18,4 +18,4 @@ class Events {
const events = new Events();
export default events;
export default events;