Compare commits

..

4 Commits

Author SHA1 Message Date
snyk-bot
48ea031cf2 fix: packages/demo/package.json & packages/demo/.snyk to reduce vulnerabilities
The following vulnerabilities are fixed with a Snyk patch:
- https://snyk.io/vuln/SNYK-JS-LODASH-567746
2020-04-30 23:12:48 +02:00
snyk-bot
b61070ed15 fix: packages/demo/package.json & packages/demo/.snyk to reduce vulnerabilities
The following vulnerabilities are fixed with a Snyk patch:
- https://snyk.io/vuln/SNYK-JS-LODASH-567746
2020-04-30 23:12:47 +02:00
f60a24d908 Update README.md 2019-08-23 00:21:37 +02:00
fd3a2bc24f V2 (#1) 2019-08-23 00:12:49 +02:00
14 changed files with 163 additions and 15 deletions

3
.gitignore vendored
View File

@@ -1,3 +1,4 @@
node_modules
/coverage
/packages/lib/lib
/packages/lib/lib
/.auth

View File

@@ -3,6 +3,30 @@
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

View File

@@ -1,4 +1,6 @@
# React Native Debug Console
[![Maintainability](https://api.codeclimate.com/v1/badges/649636926c23c40f2404/maintainability)](https://codeclimate.com/github/morten-olsen/react-native-debug-console/maintainability)
... and yes I am aware that it is a boring name

View File

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

View File

@@ -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
View 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'

View File

@@ -3,6 +3,30 @@
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

View File

@@ -1,6 +1,6 @@
{
"name": "react-native-debug-console-demo",
"version": "2.0.0-alpha.4",
"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.4",
"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
View File

@@ -0,0 +1 @@
@morten-olsen:registry=https://npm.pkg.github.com/

View File

@@ -3,6 +3,30 @@
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

View File

@@ -1,6 +1,6 @@
{
"name": "react-native-debug-console",
"version": "2.0.0-alpha.4",
"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"
}
}

View File

@@ -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)',