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 |
3
.gitignore
vendored
3
.gitignore
vendored
@@ -1,3 +1,4 @@
|
||||
node_modules
|
||||
/coverage
|
||||
/packages/lib/lib
|
||||
/packages/lib/lib
|
||||
/.auth
|
||||
40
CHANGELOG.md
Normal file
40
CHANGELOG.md
Normal file
@@ -0,0 +1,40 @@
|
||||
# Change Log
|
||||
|
||||
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.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
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [2.0.0-alpha.6](https://github.com/morten-olsen/react-native-debug-console/compare/v2.0.0-alpha.5...v2.0.0-alpha.6) (2019-07-05)
|
||||
|
||||
**Note:** Version bump only for package react-native-debug-console
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [2.0.0-alpha.5](https://github.com/morten-olsen/react-native-debug-console/compare/v2.0.0-alpha.4...v2.0.0-alpha.5) (2019-07-05)
|
||||
|
||||
**Note:** Version bump only for package react-native-debug-console
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [2.0.0-alpha.4](https://github.com/morten-olsen/react-native-debug-console/compare/v2.0.0-alpha.3...v2.0.0-alpha.4) (2019-07-05)
|
||||
|
||||
**Note:** Version bump only for package react-native-debug-console
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [2.0.0-alpha.3](https://github.com/morten-olsen/react-native-debug-console/compare/v2.0.0-alpha.2...v2.0.0-alpha.3) (2019-07-05)
|
||||
|
||||
**Note:** Version bump only for package react-native-debug-console
|
||||
@@ -1,4 +1,6 @@
|
||||
# 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
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"npmClient": "yarn",
|
||||
"useWorkspaces": true,
|
||||
"version": "2.0.0-alpha.2"
|
||||
"version": "2.0.0-alpha.7"
|
||||
}
|
||||
|
||||
@@ -7,7 +7,8 @@
|
||||
"postinstall": "lerna bootstrap",
|
||||
"demo:ios": "lerna run --scope=react-native-debug-console-demo --stream ios",
|
||||
"demo:web": "lerna run --scope=react-native-debug-console-demo --stream web",
|
||||
"test": "lerna run --stream test"
|
||||
"test": "lerna run --stream test",
|
||||
"prerelease": "source .auth && lerna version prerelease --sign-git-tag -m \"chore(release): publish %s\" --conventional-commits --create-release github --force-publish"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/cli": "^7.5.0",
|
||||
|
||||
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'
|
||||
40
packages/demo/CHANGELOG.md
Normal file
40
packages/demo/CHANGELOG.md
Normal file
@@ -0,0 +1,40 @@
|
||||
# Change Log
|
||||
|
||||
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.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
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [2.0.0-alpha.6](https://github.com/morten-olsen/react-native-debug-console/compare/v2.0.0-alpha.5...v2.0.0-alpha.6) (2019-07-05)
|
||||
|
||||
**Note:** Version bump only for package react-native-debug-console-demo
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [2.0.0-alpha.5](https://github.com/morten-olsen/react-native-debug-console/compare/v2.0.0-alpha.4...v2.0.0-alpha.5) (2019-07-05)
|
||||
|
||||
**Note:** Version bump only for package react-native-debug-console-demo
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [2.0.0-alpha.4](https://github.com/morten-olsen/react-native-debug-console/compare/v2.0.0-alpha.3...v2.0.0-alpha.4) (2019-07-05)
|
||||
|
||||
**Note:** Version bump only for package react-native-debug-console-demo
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [2.0.0-alpha.3](https://github.com/morten-olsen/react-native-debug-console/compare/v2.0.0-alpha.2...v2.0.0-alpha.3) (2019-07-05)
|
||||
|
||||
**Note:** Version bump only for package react-native-debug-console-demo
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "react-native-debug-console-demo",
|
||||
"version": "2.0.0-alpha.2",
|
||||
"version": "2.0.0-alpha.7",
|
||||
"main": "./Entry.js",
|
||||
"scripts": {
|
||||
"start": "expo start",
|
||||
@@ -8,15 +8,18 @@
|
||||
"ios": "expo start --ios",
|
||||
"web": "expo start --web",
|
||||
"eject": "expo eject",
|
||||
"postinstall": "expo-yarn-workspaces postinstall"
|
||||
"postinstall": "expo-yarn-workspaces postinstall",
|
||||
"snyk-protect": "snyk protect",
|
||||
"prepublish": "npm run snyk-protect"
|
||||
},
|
||||
"dependencies": {
|
||||
"expo": "^33.0.0",
|
||||
"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.2",
|
||||
"react-native-web": "0.11.4"
|
||||
"react-native-debug-console": "^2.0.0-alpha.7",
|
||||
"react-native-web": "0.11.4",
|
||||
"snyk": "^1.316.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/runtime": "^7.5.0",
|
||||
@@ -26,5 +29,6 @@
|
||||
"expo-yarn-workspaces": "^1.2.0",
|
||||
"react-art": "^16.8.6"
|
||||
},
|
||||
"private": true
|
||||
"private": true,
|
||||
"snyk": true
|
||||
}
|
||||
|
||||
1
packages/lib/.npmrc
Normal file
1
packages/lib/.npmrc
Normal file
@@ -0,0 +1 @@
|
||||
@morten-olsen:registry=https://npm.pkg.github.com/
|
||||
40
packages/lib/CHANGELOG.md
Normal file
40
packages/lib/CHANGELOG.md
Normal file
@@ -0,0 +1,40 @@
|
||||
# Change Log
|
||||
|
||||
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.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
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [2.0.0-alpha.6](https://github.com/morten-olsen/react-native-debugger/compare/v2.0.0-alpha.5...v2.0.0-alpha.6) (2019-07-05)
|
||||
|
||||
**Note:** Version bump only for package react-native-debug-console
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [2.0.0-alpha.5](https://github.com/morten-olsen/react-native-debugger/compare/v2.0.0-alpha.4...v2.0.0-alpha.5) (2019-07-05)
|
||||
|
||||
**Note:** Version bump only for package react-native-debug-console
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [2.0.0-alpha.4](https://github.com/morten-olsen/react-native-debugger/compare/v2.0.0-alpha.3...v2.0.0-alpha.4) (2019-07-05)
|
||||
|
||||
**Note:** Version bump only for package react-native-debug-console
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [2.0.0-alpha.3](https://github.com/morten-olsen/react-native-debugger/compare/v2.0.0-alpha.2...v2.0.0-alpha.3) (2019-07-05)
|
||||
|
||||
**Note:** Version bump only for package react-native-debug-console
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "react-native-debug-console",
|
||||
"version": "2.0.0-alpha.2",
|
||||
"version": "2.0.0-alpha.9",
|
||||
"main": "lib/index.js",
|
||||
"react-native": "lib/native.js",
|
||||
"repository": {
|
||||
@@ -8,8 +8,8 @@
|
||||
},
|
||||
"scripts": {
|
||||
"test": "jest",
|
||||
"bundle": "babel --extensions '.ts,.tsx,.js' -d lib src",
|
||||
"postpublish": "yarn run bundle"
|
||||
"bundle": "babel --copy-files --extensions '.ts,.tsx,.js' -d lib src",
|
||||
"prepublish": "yarn run bundle"
|
||||
},
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
@@ -19,6 +19,7 @@
|
||||
"peerDependencies": {
|
||||
"prop-types": "^15.6.0",
|
||||
"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,
|
||||
} from 'react-native';
|
||||
import styled from 'styled-components/native';
|
||||
import { WebView } from 'react-native-webview';
|
||||
import {
|
||||
Emphasis,
|
||||
Fixed,
|
||||
@@ -13,9 +14,6 @@ import Cell from '../../base/Cell';
|
||||
import CellHeader from '../../base/CellHeader';
|
||||
import Tab from '../Tab';
|
||||
|
||||
const WebView = styled.WebView`
|
||||
`;
|
||||
|
||||
const theme = {
|
||||
scheme: 'bright',
|
||||
author: 'chris kempson (http://chriskempson.com)',
|
||||
|
||||
Reference in New Issue
Block a user