Compare commits

..

4 Commits

Author SHA1 Message Date
dependabot[bot]
1e4c453657 Bump http-proxy from 1.17.0 to 1.18.1
Bumps [http-proxy](https://github.com/http-party/node-http-proxy) from 1.17.0 to 1.18.1.
- [Release notes](https://github.com/http-party/node-http-proxy/releases)
- [Changelog](https://github.com/http-party/node-http-proxy/blob/master/CHANGELOG.md)
- [Commits](https://github.com/http-party/node-http-proxy/compare/1.17.0...1.18.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-19 08:37:09 +00:00
denissb
8abb3789a1 Fix unlisten in events.js (#7) 2020-10-19 10:36:08 +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
15 changed files with 102 additions and 23 deletions

1
.gitignore vendored
View File

@@ -1,3 +1,4 @@
node_modules node_modules
/coverage /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. 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)
**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) # [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 **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.4" "version": "2.0.0-alpha.7"
} }

View File

@@ -7,7 +7,8 @@
"postinstall": "lerna bootstrap", "postinstall": "lerna bootstrap",
"demo:ios": "lerna run --scope=react-native-debug-console-demo --stream ios", "demo:ios": "lerna run --scope=react-native-debug-console-demo --stream ios",
"demo:web": "lerna run --scope=react-native-debug-console-demo --stream web", "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": { "devDependencies": {
"@babel/cli": "^7.5.0", "@babel/cli": "^7.5.0",

View File

@@ -3,6 +3,30 @@
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)
**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) # [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 **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.4", "version": "2.0.0-alpha.7",
"main": "./Entry.js", "main": "./Entry.js",
"scripts": { "scripts": {
"start": "expo start", "start": "expo start",
@@ -15,7 +15,7 @@
"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.4", "react-native-debug-console": "^2.0.0-alpha.7",
"react-native-web": "0.11.4" "react-native-web": "0.11.4"
}, },
"devDependencies": { "devDependencies": {

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. 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)
**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) # [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 **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.4", "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 --extensions '.ts,.tsx,.js' -d lib 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)',

View File

@@ -8,7 +8,7 @@ class Events {
} }
unlisten(fn) { unlisten(fn) {
this.listeners = this.listeners(l => l !== fn); this.listeners = this.listeners.filter(l => l !== fn);
} }
publish(type, data) { publish(type, data) {

View File

@@ -5633,6 +5633,11 @@ eventemitter3@^3.0.0, eventemitter3@^3.1.0:
resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-3.1.2.tgz#2d3d48f9c346698fce83a85d7d664e98535df6e7" resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-3.1.2.tgz#2d3d48f9c346698fce83a85d7d664e98535df6e7"
integrity sha512-tvtQIeLVHjDkJYnzf2dgVMxfuSGJeM/7UCG17TT4EumTfNtF+0nebF/4zWOIkCreAbtNqhGEboB6BWrwqNaw4Q== integrity sha512-tvtQIeLVHjDkJYnzf2dgVMxfuSGJeM/7UCG17TT4EumTfNtF+0nebF/4zWOIkCreAbtNqhGEboB6BWrwqNaw4Q==
eventemitter3@^4.0.0:
version "4.0.7"
resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-4.0.7.tgz#2de9b68f6528d5644ef5c59526a1b4a07306169f"
integrity sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==
events@^3.0.0: events@^3.0.0:
version "3.0.0" version "3.0.0"
resolved "https://registry.yarnpkg.com/events/-/events-3.0.0.tgz#9a0a0dfaf62893d92b875b8f2698ca4114973e88" resolved "https://registry.yarnpkg.com/events/-/events-3.0.0.tgz#9a0a0dfaf62893d92b875b8f2698ca4114973e88"
@@ -6615,11 +6620,9 @@ flush-write-stream@^1.0.0:
readable-stream "^2.3.6" readable-stream "^2.3.6"
follow-redirects@^1.0.0, follow-redirects@^1.2.5, follow-redirects@^1.3.0, follow-redirects@^1.4.1: follow-redirects@^1.0.0, follow-redirects@^1.2.5, follow-redirects@^1.3.0, follow-redirects@^1.4.1:
version "1.7.0" version "1.13.0"
resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.7.0.tgz#489ebc198dc0e7f64167bd23b03c4c19b5784c76" resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.13.0.tgz#b42e8d93a2a7eea5ed88633676d6597bc8e384db"
integrity sha512-m/pZQy4Gj287eNy94nivy5wchN3Kp+Q5WgUPNy5lJSZ3sgkVKSYV/ZChMAQVIgx1SqfZ2zBZtPA2YlXIWxxJOQ== integrity sha512-aq6gF1BEKje4a9i9+5jimNFIpq4Q1WiwBToeRK5NvZBd/TRsmW8BsJfOEGkr76TbOyPVD3OVDN910EcUNtRYEA==
dependencies:
debug "^3.2.6"
fontfaceobserver@^2.1.0: fontfaceobserver@^2.1.0:
version "2.1.0" version "2.1.0"
@@ -7518,11 +7521,11 @@ http-proxy-middleware@^0.19.1:
micromatch "^3.1.10" micromatch "^3.1.10"
http-proxy@^1.17.0: http-proxy@^1.17.0:
version "1.17.0" version "1.18.1"
resolved "https://registry.yarnpkg.com/http-proxy/-/http-proxy-1.17.0.tgz#7ad38494658f84605e2f6db4436df410f4e5be9a" resolved "https://registry.yarnpkg.com/http-proxy/-/http-proxy-1.18.1.tgz#401541f0534884bbf95260334e72f88ee3976549"
integrity sha512-Taqn+3nNvYRfJ3bGvKfBSRwy1v6eePlm3oc/aWVxZp57DQr5Eq3xhKJi7Z4hZpS8PC3H4qI+Yly5EmFacGuA/g== integrity sha512-7mz/721AbnJwIVbnaSv1Cz3Am0ZLT/UBwkC92VlxhXv/k/BBQfM2fXElQNC27BVGr0uwUpplYPQM9LnaBMR5NQ==
dependencies: dependencies:
eventemitter3 "^3.0.0" eventemitter3 "^4.0.0"
follow-redirects "^1.0.0" follow-redirects "^1.0.0"
requires-port "^1.0.0" requires-port "^1.0.0"