mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-09-28 13:13:37 +08:00
Revert "Updates node_modules and update script"
This reverts commit 4df552c652.
Reason for revert: Breaks esprima.
Original change's description:
> Updates node_modules and update script
>
> Change-Id: I3fcf49bc416301a030d298cfc48c448bfeba4335
> Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/1878808
> Reviewed-by: Tim van der Lippe <tvanderlippe@chromium.org>
> Reviewed-by: Yang Guo <yangguo@chromium.org>
> Commit-Queue: Paul Lewis <aerotwist@chromium.org>
TBR=yangguo@chromium.org,aerotwist@chromium.org,tvanderlippe@chromium.org
Change-Id: Iad2bcdf98a486476715d1e829cdce450c5f218af
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/1880098
Reviewed-by: Lorne Mitchell <lomitch@microsoft.com>
Commit-Queue: Lorne Mitchell <lomitch@microsoft.com>
This commit is contained in:
committed by
Commit Bot
parent
4df552c652
commit
db3885dd80
-2
@@ -54,7 +54,5 @@
|
||||
- Vladimir Borovik (bobahbdb@gmail.com)
|
||||
- greenkeeper[bot] (23040076+greenkeeper[bot]@users.noreply.github.com)
|
||||
- kumavis (aaron@kumavis.me)
|
||||
- Sergey Ukustov (sergey.ukustov@machinomy.com)
|
||||
- Fei Liu (liu.feiwood@gmail.com)
|
||||
|
||||
#### Generated by bin/update-authors.sh.
|
||||
|
||||
-3
@@ -404,9 +404,6 @@ To test that the code conforms to the style, `npm install` and run:
|
||||
|
||||
This was originally forked from [buffer-browserify](https://github.com/toots/buffer-browserify).
|
||||
|
||||
## Security Policies and Procedures
|
||||
|
||||
The `buffer` team and community take all security bugs in `buffer` seriously. Please see our [security policies and procedures](https://github.com/feross/security) document to learn how to report issues.
|
||||
|
||||
## license
|
||||
|
||||
|
||||
+2
-3
@@ -29,7 +29,6 @@ export class Buffer extends Uint8Array {
|
||||
readFloatBE(offset: number, noAssert?: boolean): number;
|
||||
readDoubleLE(offset: number, noAssert?: boolean): number;
|
||||
readDoubleBE(offset: number, noAssert?: boolean): number;
|
||||
reverse(): this;
|
||||
swap16(): Buffer;
|
||||
swap32(): Buffer;
|
||||
swap64(): Buffer;
|
||||
@@ -114,7 +113,7 @@ export class Buffer extends Uint8Array {
|
||||
*
|
||||
* @param buffer
|
||||
*/
|
||||
static from(buffer: Buffer | Uint8Array): Buffer;
|
||||
static from(buffer: Buffer): Buffer;
|
||||
/**
|
||||
* Creates a new Buffer containing the given JavaScript string {str}.
|
||||
* If provided, the {encoding} parameter identifies the character encoding.
|
||||
@@ -183,4 +182,4 @@ export class Buffer extends Uint8Array {
|
||||
* @param size count of octets to allocate
|
||||
*/
|
||||
static allocUnsafeSlow(size: number): Buffer;
|
||||
}
|
||||
}
|
||||
+7
-21
@@ -10,10 +10,7 @@
|
||||
|
||||
var base64 = require('base64-js')
|
||||
var ieee754 = require('ieee754')
|
||||
var customInspectSymbol =
|
||||
(typeof Symbol === 'function' && typeof Symbol.for === 'function')
|
||||
? Symbol.for('nodejs.util.inspect.custom')
|
||||
: null
|
||||
var customInspectSymbol = typeof Symbol === 'function' ? Symbol.for('nodejs.util.inspect.custom') : null
|
||||
|
||||
exports.Buffer = Buffer
|
||||
exports.SlowBuffer = SlowBuffer
|
||||
@@ -1068,7 +1065,7 @@ function hexSlice (buf, start, end) {
|
||||
|
||||
var out = ''
|
||||
for (var i = start; i < end; ++i) {
|
||||
out += hexSliceLookupTable[buf[i]]
|
||||
out += toHex(buf[i])
|
||||
}
|
||||
return out
|
||||
}
|
||||
@@ -1595,8 +1592,6 @@ Buffer.prototype.fill = function fill (val, start, end, encoding) {
|
||||
}
|
||||
} else if (typeof val === 'number') {
|
||||
val = val & 255
|
||||
} else if (typeof val === 'boolean') {
|
||||
val = Number(val)
|
||||
}
|
||||
|
||||
// Invalid ranges are not set to a default, so can range check early.
|
||||
@@ -1654,6 +1649,11 @@ function base64clean (str) {
|
||||
return str
|
||||
}
|
||||
|
||||
function toHex (n) {
|
||||
if (n < 16) return '0' + n.toString(16)
|
||||
return n.toString(16)
|
||||
}
|
||||
|
||||
function utf8ToBytes (string, units) {
|
||||
units = units || Infinity
|
||||
var codePoint
|
||||
@@ -1783,17 +1783,3 @@ function numberIsNaN (obj) {
|
||||
// For IE11 support
|
||||
return obj !== obj // eslint-disable-line no-self-compare
|
||||
}
|
||||
|
||||
// Create lookup table for `toString('hex')`
|
||||
// See: https://github.com/feross/buffer/issues/219
|
||||
var hexSliceLookupTable = (function () {
|
||||
var alphabet = '0123456789abcdef'
|
||||
var table = new Array(256)
|
||||
for (var i = 0; i < 16; ++i) {
|
||||
var i16 = i * 16
|
||||
for (var j = 0; j < 16; ++j) {
|
||||
table[i16 + j] = alphabet[i] + alphabet[j]
|
||||
}
|
||||
}
|
||||
return table
|
||||
})()
|
||||
|
||||
+80
-58
@@ -1,87 +1,109 @@
|
||||
{
|
||||
"_from": "buffer@^5.2.1",
|
||||
"_id": "buffer@5.4.0",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha512-Xpgy0IwHK2N01ncykXTy6FpCWuM+CJSHoPVBLyNqyrWxsedpLvwsYUhf0ME3WRFNUhos0dMamz9cOS/xRDtU5g==",
|
||||
"_location": "/buffer",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "range",
|
||||
"registry": true,
|
||||
"raw": "buffer@^5.2.1",
|
||||
"name": "buffer",
|
||||
"escapedName": "buffer",
|
||||
"rawSpec": "^5.2.1",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "^5.2.1"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/karma-typescript"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/buffer/-/buffer-5.4.0.tgz",
|
||||
"_shasum": "33294f5c1f26e08461e528b69fa06de3c45cbd8c",
|
||||
"_spec": "buffer@^5.2.1",
|
||||
"author": {
|
||||
"email": "feross@feross.org",
|
||||
"name": "Feross Aboukhadijeh",
|
||||
"name": "Feross Aboukhadijeh",
|
||||
"email": "feross@feross.org",
|
||||
"url": "http://feross.org"
|
||||
},
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/feross/buffer/issues"
|
||||
},
|
||||
"bundleDependencies": false,
|
||||
},
|
||||
"bundleDependencies": false,
|
||||
"contributors": [
|
||||
{
|
||||
"email": "toots@rastageeks.org",
|
||||
"name": "Romain Beauxis"
|
||||
},
|
||||
"name": "Romain Beauxis",
|
||||
"email": "toots@rastageeks.org"
|
||||
},
|
||||
{
|
||||
"email": "mail@substack.net",
|
||||
"name": "James Halliday"
|
||||
"name": "James Halliday",
|
||||
"email": "mail@substack.net"
|
||||
}
|
||||
],
|
||||
],
|
||||
"dependencies": {
|
||||
"base64-js": "^1.0.2",
|
||||
"base64-js": "^1.0.2",
|
||||
"ieee754": "^1.1.4"
|
||||
},
|
||||
"deprecated": false,
|
||||
"description": "Node.js Buffer API, for the browser",
|
||||
},
|
||||
"deprecated": false,
|
||||
"description": "Node.js Buffer API, for the browser",
|
||||
"devDependencies": {
|
||||
"airtap": "^2.0.3",
|
||||
"benchmark": "^2.0.0",
|
||||
"browserify": "^16.1.0",
|
||||
"concat-stream": "^2.0.0",
|
||||
"hyperquest": "^2.0.0",
|
||||
"is-buffer": "^2.0.0",
|
||||
"is-nan": "^1.0.1",
|
||||
"split": "^1.0.0",
|
||||
"standard": "*",
|
||||
"tape": "^4.0.0",
|
||||
"through2": "^3.0.1",
|
||||
"airtap": "^2.0.3",
|
||||
"benchmark": "^2.0.0",
|
||||
"browserify": "^16.1.0",
|
||||
"concat-stream": "^2.0.0",
|
||||
"hyperquest": "^2.0.0",
|
||||
"is-buffer": "^2.0.0",
|
||||
"is-nan": "^1.0.1",
|
||||
"split": "^1.0.0",
|
||||
"standard": "*",
|
||||
"tape": "^4.0.0",
|
||||
"through2": "^3.0.1",
|
||||
"uglify-js": "^3.4.5"
|
||||
},
|
||||
"homepage": "https://github.com/feross/buffer",
|
||||
},
|
||||
"homepage": "https://github.com/feross/buffer",
|
||||
"jspm": {
|
||||
"map": {
|
||||
"./index.js": {
|
||||
"node": "@node/buffer"
|
||||
}
|
||||
}
|
||||
},
|
||||
},
|
||||
"keywords": [
|
||||
"arraybuffer",
|
||||
"browser",
|
||||
"browserify",
|
||||
"buffer",
|
||||
"compatible",
|
||||
"dataview",
|
||||
"arraybuffer",
|
||||
"browser",
|
||||
"browserify",
|
||||
"buffer",
|
||||
"compatible",
|
||||
"dataview",
|
||||
"uint8array"
|
||||
],
|
||||
"license": "MIT",
|
||||
"main": "index.js",
|
||||
"name": "buffer",
|
||||
],
|
||||
"license": "MIT",
|
||||
"main": "index.js",
|
||||
"name": "buffer",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"type": "git",
|
||||
"url": "git://github.com/feross/buffer.git"
|
||||
},
|
||||
},
|
||||
"scripts": {
|
||||
"perf": "browserify --debug perf/bracket-notation.js > perf/bundle.js && open perf/index.html",
|
||||
"perf-node": "node perf/bracket-notation.js && node perf/concat.js && node perf/copy-big.js && node perf/copy.js && node perf/new-big.js && node perf/new.js && node perf/readDoubleBE.js && node perf/readFloatBE.js && node perf/readUInt32LE.js && node perf/slice.js && node perf/writeFloatBE.js",
|
||||
"size": "browserify -r ./ | uglifyjs -c -m | gzip | wc -c",
|
||||
"test": "standard && node ./bin/test.js",
|
||||
"test-browser-es5": "airtap -- test/*.js",
|
||||
"test-browser-es5-local": "airtap --local -- test/*.js",
|
||||
"test-browser-es6": "airtap -- test/*.js test/node/*.js",
|
||||
"test-browser-es6-local": "airtap --local -- test/*.js test/node/*.js",
|
||||
"test-node": "tape test/*.js test/node/*.js",
|
||||
"perf": "browserify --debug perf/bracket-notation.js > perf/bundle.js && open perf/index.html",
|
||||
"perf-node": "node perf/bracket-notation.js && node perf/concat.js && node perf/copy-big.js && node perf/copy.js && node perf/new-big.js && node perf/new.js && node perf/readDoubleBE.js && node perf/readFloatBE.js && node perf/readUInt32LE.js && node perf/slice.js && node perf/writeFloatBE.js",
|
||||
"size": "browserify -r ./ | uglifyjs -c -m | gzip | wc -c",
|
||||
"test": "standard && node ./bin/test.js",
|
||||
"test-browser-es5": "airtap -- test/*.js",
|
||||
"test-browser-es5-local": "airtap --local -- test/*.js",
|
||||
"test-browser-es6": "airtap -- test/*.js test/node/*.js",
|
||||
"test-browser-es6-local": "airtap --local -- test/*.js test/node/*.js",
|
||||
"test-node": "tape test/*.js test/node/*.js",
|
||||
"update-authors": "./bin/update-authors.sh"
|
||||
},
|
||||
},
|
||||
"standard": {
|
||||
"ignore": [
|
||||
"test/node/**/*.js",
|
||||
"test/common.js",
|
||||
"test/_polyfill.js",
|
||||
"test/node/**/*.js",
|
||||
"test/common.js",
|
||||
"test/_polyfill.js",
|
||||
"perf/**/*.js"
|
||||
]
|
||||
},
|
||||
"types": "index.d.ts",
|
||||
"version": "5.4.3"
|
||||
}
|
||||
},
|
||||
"types": "index.d.ts",
|
||||
"version": "5.4.0"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user