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
11 changed files with 110 additions and 13 deletions

View File

@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file. All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. 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) # [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 **Note:** Version bump only for package react-native-debug-console

View File

@@ -1,5 +1,7 @@
# React Native Debug Console # 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 ... and yes I am aware that it is a boring name
React Native Debug Console is an easy to use network and console debug component and modal for react native, written purely in JavaScript React Native Debug Console is an easy to use network and console debug component and modal for react native, written purely in JavaScript

View File

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

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,14 @@
All notable changes to this project will be documented in this file. All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. 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) # [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 **Note:** Version bump only for package react-native-debug-console-demo

View File

@@ -1,6 +1,6 @@
{ {
"name": "react-native-debug-console-demo", "name": "react-native-debug-console-demo",
"version": "2.0.0-alpha.6", "version": "2.0.0-alpha.7",
"main": "./Entry.js", "main": "./Entry.js",
"scripts": { "scripts": {
"start": "expo start", "start": "expo start",
@@ -8,15 +8,18 @@
"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",
"react": "16.8.3", "react": "16.8.3",
"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.6", "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
} }

View File

@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file. All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. 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) # [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 **Note:** Version bump only for package react-native-debug-console

View File

@@ -1,6 +1,6 @@
{ {
"name": "react-native-debug-console", "name": "react-native-debug-console",
"version": "2.0.0-alpha.6", "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": {
@@ -8,8 +8,8 @@
}, },
"scripts": { "scripts": {
"test": "jest", "test": "jest",
"bundle": "babel --copy-files --extensions '.ts,.tsx,.js' -d lib/native 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"
} }
} }

View File

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