protobufjs 6.11.4 → 6.11.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cli/node_modules/.package-lock.json +86 -32
- package/cli/node_modules/@babel/parser/package.json +66 -30
- package/cli/node_modules/@types/linkify-it/package.json +65 -36
- package/cli/node_modules/@types/markdown-it/package.json +67 -39
- package/cli/node_modules/@types/mdurl/package.json +53 -21
- package/cli/node_modules/acorn/package.json +48 -17
- package/cli/node_modules/acorn-jsx/package.json +42 -11
- package/cli/node_modules/argparse/package.json +52 -17
- package/cli/node_modules/bluebird/package.json +65 -38
- package/cli/node_modules/brace-expansion/index.js +14 -12
- package/cli/node_modules/brace-expansion/package.json +4 -1
- package/cli/node_modules/catharsis/package.json +44 -10
- package/cli/node_modules/deep-is/.travis.yml +5 -0
- package/cli/node_modules/deep-is/LICENSE +22 -0
- package/cli/node_modules/deep-is/README.markdown +70 -0
- package/cli/node_modules/deep-is/example/cmp.js +11 -0
- package/cli/node_modules/deep-is/index.js +102 -0
- package/cli/node_modules/deep-is/package.json +58 -0
- package/cli/node_modules/deep-is/test/NaN.js +16 -0
- package/cli/node_modules/deep-is/test/cmp.js +23 -0
- package/cli/node_modules/deep-is/test/neg-vs-pos-0.js +15 -0
- package/cli/node_modules/entities/package.json +95 -60
- package/cli/node_modules/escape-string-regexp/package.json +84 -41
- package/cli/node_modules/escodegen/escodegen.js +25 -66
- package/cli/node_modules/escodegen/package.json +11 -13
- package/cli/node_modules/esprima/package.json +82 -54
- package/cli/node_modules/estraverse/estraverse.js +1 -24
- package/cli/node_modules/estraverse/package.json +1 -1
- package/cli/node_modules/esutils/package.json +52 -21
- package/cli/node_modules/fast-levenshtein/LICENSE.md +25 -0
- package/cli/node_modules/fast-levenshtein/README.md +104 -0
- package/cli/node_modules/fast-levenshtein/levenshtein.js +136 -0
- package/cli/node_modules/fast-levenshtein/package.json +39 -0
- package/cli/node_modules/fs.realpath/package.json +52 -16
- package/cli/node_modules/graceful-fs/package.json +57 -25
- package/cli/node_modules/inflight/package.json +44 -15
- package/cli/node_modules/inherits/package.json +44 -12
- package/cli/node_modules/js2xmlparser/package.json +94 -62
- package/cli/node_modules/klaw/package.json +53 -23
- package/cli/node_modules/levn/LICENSE +22 -0
- package/cli/node_modules/levn/README.md +196 -0
- package/cli/node_modules/levn/lib/cast.js +298 -0
- package/cli/node_modules/levn/lib/coerce.js +285 -0
- package/cli/node_modules/levn/lib/index.js +22 -0
- package/cli/node_modules/levn/lib/parse-string.js +113 -0
- package/cli/node_modules/levn/lib/parse.js +102 -0
- package/cli/node_modules/levn/package.json +47 -0
- package/cli/node_modules/linkify-it/package.json +58 -23
- package/cli/node_modules/lodash/package.json +61 -10
- package/cli/node_modules/markdown-it/package.json +68 -33
- package/cli/node_modules/markdown-it-anchor/package.json +72 -30
- package/cli/node_modules/marked/package.json +87 -52
- package/cli/node_modules/mdurl/package.json +44 -9
- package/cli/node_modules/minimatch/README.md +37 -0
- package/cli/node_modules/minimatch/minimatch.js +160 -102
- package/cli/node_modules/minimatch/package.json +2 -2
- package/cli/node_modules/mkdirp/package.json +56 -22
- package/cli/node_modules/once/package.json +48 -14
- package/cli/node_modules/optionator/CHANGELOG.md +56 -0
- package/cli/node_modules/optionator/LICENSE +22 -0
- package/cli/node_modules/optionator/README.md +238 -0
- package/cli/node_modules/optionator/lib/help.js +260 -0
- package/cli/node_modules/optionator/lib/index.js +465 -0
- package/cli/node_modules/optionator/lib/util.js +54 -0
- package/cli/node_modules/optionator/package.json +44 -0
- package/cli/node_modules/prelude-ls/CHANGELOG.md +99 -0
- package/cli/node_modules/prelude-ls/LICENSE +22 -0
- package/cli/node_modules/prelude-ls/README.md +15 -0
- package/cli/node_modules/prelude-ls/lib/Func.js +65 -0
- package/cli/node_modules/prelude-ls/lib/List.js +686 -0
- package/cli/node_modules/prelude-ls/lib/Num.js +130 -0
- package/cli/node_modules/prelude-ls/lib/Obj.js +154 -0
- package/cli/node_modules/prelude-ls/lib/Str.js +92 -0
- package/cli/node_modules/prelude-ls/lib/index.js +178 -0
- package/cli/node_modules/prelude-ls/package.json +52 -0
- package/cli/node_modules/requizzle/package.json +52 -21
- package/cli/node_modules/source-map/package.json +197 -54
- package/cli/node_modules/strip-json-comments/package.json +80 -45
- package/cli/node_modules/tmp/README.md +47 -21
- package/cli/node_modules/tmp/lib/tmp.js +209 -147
- package/cli/node_modules/tmp/package.json +73 -37
- package/cli/node_modules/type-check/LICENSE +22 -0
- package/cli/node_modules/type-check/README.md +210 -0
- package/cli/node_modules/type-check/lib/check.js +126 -0
- package/cli/node_modules/type-check/lib/index.js +16 -0
- package/cli/node_modules/type-check/lib/parse-type.js +196 -0
- package/cli/node_modules/type-check/package.json +40 -0
- package/cli/node_modules/uc.micro/package.json +45 -9
- package/cli/node_modules/underscore/package.json +95 -61
- package/cli/node_modules/word-wrap/LICENSE +21 -0
- package/cli/node_modules/word-wrap/README.md +201 -0
- package/cli/node_modules/word-wrap/index.d.ts +50 -0
- package/cli/node_modules/word-wrap/index.js +61 -0
- package/cli/node_modules/word-wrap/package.json +77 -0
- package/cli/node_modules/wrappy/package.json +46 -16
- package/cli/node_modules/xmlcreate/package.json +87 -55
- package/cli/package-lock.json +842 -0
- package/cli/package.json +1 -1
- package/dist/light/protobuf.js +3 -2
- package/dist/light/protobuf.js.map +1 -1
- package/dist/light/protobuf.min.js +3 -3
- package/dist/light/protobuf.min.js.map +1 -1
- package/dist/minimal/protobuf.js +2 -2
- package/dist/minimal/protobuf.min.js +3 -3
- package/dist/minimal/protobuf.min.js.map +1 -1
- package/dist/protobuf.js +3 -2
- package/dist/protobuf.js.map +1 -1
- package/dist/protobuf.min.js +3 -3
- package/dist/protobuf.min.js.map +1 -1
- package/package.json +1 -1
- package/src/type.js +1 -0
- package/cli/node_modules/rimraf/CHANGELOG.md +0 -65
- package/cli/node_modules/rimraf/LICENSE +0 -15
- package/cli/node_modules/rimraf/README.md +0 -101
- package/cli/node_modules/rimraf/bin.js +0 -68
- package/cli/node_modules/rimraf/package.json +0 -32
- package/cli/node_modules/rimraf/rimraf.js +0 -360
- package/cli/node_modules/tmp/CHANGELOG.md +0 -288
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
# fast-levenshtein - Levenshtein algorithm in Javascript
|
|
2
|
+
|
|
3
|
+
[](http://travis-ci.org/hiddentao/fast-levenshtein)
|
|
4
|
+
[](https://badge.fury.io/js/fast-levenshtein)
|
|
5
|
+
[](https://www.npmjs.com/package/fast-levenshtein)
|
|
6
|
+
[](https://twitter.com/hiddentao)
|
|
7
|
+
|
|
8
|
+
An efficient Javascript implementation of the [Levenshtein algorithm](http://en.wikipedia.org/wiki/Levenshtein_distance) with locale-specific collator support.
|
|
9
|
+
|
|
10
|
+
## Features
|
|
11
|
+
|
|
12
|
+
* Works in node.js and in the browser.
|
|
13
|
+
* Better performance than other implementations by not needing to store the whole matrix ([more info](http://www.codeproject.com/Articles/13525/Fast-memory-efficient-Levenshtein-algorithm)).
|
|
14
|
+
* Locale-sensitive string comparisions if needed.
|
|
15
|
+
* Comprehensive test suite and performance benchmark.
|
|
16
|
+
* Small: <1 KB minified and gzipped
|
|
17
|
+
|
|
18
|
+
## Installation
|
|
19
|
+
|
|
20
|
+
### node.js
|
|
21
|
+
|
|
22
|
+
Install using [npm](http://npmjs.org/):
|
|
23
|
+
|
|
24
|
+
```bash
|
|
25
|
+
$ npm install fast-levenshtein
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
### Browser
|
|
29
|
+
|
|
30
|
+
Using bower:
|
|
31
|
+
|
|
32
|
+
```bash
|
|
33
|
+
$ bower install fast-levenshtein
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
If you are not using any module loader system then the API will then be accessible via the `window.Levenshtein` object.
|
|
37
|
+
|
|
38
|
+
## Examples
|
|
39
|
+
|
|
40
|
+
**Default usage**
|
|
41
|
+
|
|
42
|
+
```javascript
|
|
43
|
+
var levenshtein = require('fast-levenshtein');
|
|
44
|
+
|
|
45
|
+
var distance = levenshtein.get('back', 'book'); // 2
|
|
46
|
+
var distance = levenshtein.get('我愛你', '我叫你'); // 1
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
**Locale-sensitive string comparisons**
|
|
50
|
+
|
|
51
|
+
It supports using [Intl.Collator](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Collator) for locale-sensitive string comparisons:
|
|
52
|
+
|
|
53
|
+
```javascript
|
|
54
|
+
var levenshtein = require('fast-levenshtein');
|
|
55
|
+
|
|
56
|
+
levenshtein.get('mikailovitch', 'Mikhaïlovitch', { useCollator: true});
|
|
57
|
+
// 1
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
## Building and Testing
|
|
61
|
+
|
|
62
|
+
To build the code and run the tests:
|
|
63
|
+
|
|
64
|
+
```bash
|
|
65
|
+
$ npm install -g grunt-cli
|
|
66
|
+
$ npm install
|
|
67
|
+
$ npm run build
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
## Performance
|
|
71
|
+
|
|
72
|
+
_Thanks to [Titus Wormer](https://github.com/wooorm) for [encouraging me](https://github.com/hiddentao/fast-levenshtein/issues/1) to do this._
|
|
73
|
+
|
|
74
|
+
Benchmarked against other node.js levenshtein distance modules (on Macbook Air 2012, Core i7, 8GB RAM):
|
|
75
|
+
|
|
76
|
+
```bash
|
|
77
|
+
Running suite Implementation comparison [benchmark/speed.js]...
|
|
78
|
+
>> levenshtein-edit-distance x 234 ops/sec ±3.02% (73 runs sampled)
|
|
79
|
+
>> levenshtein-component x 422 ops/sec ±4.38% (83 runs sampled)
|
|
80
|
+
>> levenshtein-deltas x 283 ops/sec ±3.83% (78 runs sampled)
|
|
81
|
+
>> natural x 255 ops/sec ±0.76% (88 runs sampled)
|
|
82
|
+
>> levenshtein x 180 ops/sec ±3.55% (86 runs sampled)
|
|
83
|
+
>> fast-levenshtein x 1,792 ops/sec ±2.72% (95 runs sampled)
|
|
84
|
+
Benchmark done.
|
|
85
|
+
Fastest test is fast-levenshtein at 4.2x faster than levenshtein-component
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
You can run this benchmark yourself by doing:
|
|
89
|
+
|
|
90
|
+
```bash
|
|
91
|
+
$ npm install
|
|
92
|
+
$ npm run build
|
|
93
|
+
$ npm run benchmark
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
## Contributing
|
|
97
|
+
|
|
98
|
+
If you wish to submit a pull request please update and/or create new tests for any changes you make and ensure the grunt build passes.
|
|
99
|
+
|
|
100
|
+
See [CONTRIBUTING.md](https://github.com/hiddentao/fast-levenshtein/blob/master/CONTRIBUTING.md) for details.
|
|
101
|
+
|
|
102
|
+
## License
|
|
103
|
+
|
|
104
|
+
MIT - see [LICENSE.md](https://github.com/hiddentao/fast-levenshtein/blob/master/LICENSE.md)
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
(function() {
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
var collator;
|
|
5
|
+
try {
|
|
6
|
+
collator = (typeof Intl !== "undefined" && typeof Intl.Collator !== "undefined") ? Intl.Collator("generic", { sensitivity: "base" }) : null;
|
|
7
|
+
} catch (err){
|
|
8
|
+
console.log("Collator could not be initialized and wouldn't be used");
|
|
9
|
+
}
|
|
10
|
+
// arrays to re-use
|
|
11
|
+
var prevRow = [],
|
|
12
|
+
str2Char = [];
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Based on the algorithm at http://en.wikipedia.org/wiki/Levenshtein_distance.
|
|
16
|
+
*/
|
|
17
|
+
var Levenshtein = {
|
|
18
|
+
/**
|
|
19
|
+
* Calculate levenshtein distance of the two strings.
|
|
20
|
+
*
|
|
21
|
+
* @param str1 String the first string.
|
|
22
|
+
* @param str2 String the second string.
|
|
23
|
+
* @param [options] Additional options.
|
|
24
|
+
* @param [options.useCollator] Use `Intl.Collator` for locale-sensitive string comparison.
|
|
25
|
+
* @return Integer the levenshtein distance (0 and above).
|
|
26
|
+
*/
|
|
27
|
+
get: function(str1, str2, options) {
|
|
28
|
+
var useCollator = (options && collator && options.useCollator);
|
|
29
|
+
|
|
30
|
+
var str1Len = str1.length,
|
|
31
|
+
str2Len = str2.length;
|
|
32
|
+
|
|
33
|
+
// base cases
|
|
34
|
+
if (str1Len === 0) return str2Len;
|
|
35
|
+
if (str2Len === 0) return str1Len;
|
|
36
|
+
|
|
37
|
+
// two rows
|
|
38
|
+
var curCol, nextCol, i, j, tmp;
|
|
39
|
+
|
|
40
|
+
// initialise previous row
|
|
41
|
+
for (i=0; i<str2Len; ++i) {
|
|
42
|
+
prevRow[i] = i;
|
|
43
|
+
str2Char[i] = str2.charCodeAt(i);
|
|
44
|
+
}
|
|
45
|
+
prevRow[str2Len] = str2Len;
|
|
46
|
+
|
|
47
|
+
var strCmp;
|
|
48
|
+
if (useCollator) {
|
|
49
|
+
// calculate current row distance from previous row using collator
|
|
50
|
+
for (i = 0; i < str1Len; ++i) {
|
|
51
|
+
nextCol = i + 1;
|
|
52
|
+
|
|
53
|
+
for (j = 0; j < str2Len; ++j) {
|
|
54
|
+
curCol = nextCol;
|
|
55
|
+
|
|
56
|
+
// substution
|
|
57
|
+
strCmp = 0 === collator.compare(str1.charAt(i), String.fromCharCode(str2Char[j]));
|
|
58
|
+
|
|
59
|
+
nextCol = prevRow[j] + (strCmp ? 0 : 1);
|
|
60
|
+
|
|
61
|
+
// insertion
|
|
62
|
+
tmp = curCol + 1;
|
|
63
|
+
if (nextCol > tmp) {
|
|
64
|
+
nextCol = tmp;
|
|
65
|
+
}
|
|
66
|
+
// deletion
|
|
67
|
+
tmp = prevRow[j + 1] + 1;
|
|
68
|
+
if (nextCol > tmp) {
|
|
69
|
+
nextCol = tmp;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
// copy current col value into previous (in preparation for next iteration)
|
|
73
|
+
prevRow[j] = curCol;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
// copy last col value into previous (in preparation for next iteration)
|
|
77
|
+
prevRow[j] = nextCol;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
else {
|
|
81
|
+
// calculate current row distance from previous row without collator
|
|
82
|
+
for (i = 0; i < str1Len; ++i) {
|
|
83
|
+
nextCol = i + 1;
|
|
84
|
+
|
|
85
|
+
for (j = 0; j < str2Len; ++j) {
|
|
86
|
+
curCol = nextCol;
|
|
87
|
+
|
|
88
|
+
// substution
|
|
89
|
+
strCmp = str1.charCodeAt(i) === str2Char[j];
|
|
90
|
+
|
|
91
|
+
nextCol = prevRow[j] + (strCmp ? 0 : 1);
|
|
92
|
+
|
|
93
|
+
// insertion
|
|
94
|
+
tmp = curCol + 1;
|
|
95
|
+
if (nextCol > tmp) {
|
|
96
|
+
nextCol = tmp;
|
|
97
|
+
}
|
|
98
|
+
// deletion
|
|
99
|
+
tmp = prevRow[j + 1] + 1;
|
|
100
|
+
if (nextCol > tmp) {
|
|
101
|
+
nextCol = tmp;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
// copy current col value into previous (in preparation for next iteration)
|
|
105
|
+
prevRow[j] = curCol;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
// copy last col value into previous (in preparation for next iteration)
|
|
109
|
+
prevRow[j] = nextCol;
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
return nextCol;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
};
|
|
116
|
+
|
|
117
|
+
// amd
|
|
118
|
+
if (typeof define !== "undefined" && define !== null && define.amd) {
|
|
119
|
+
define(function() {
|
|
120
|
+
return Levenshtein;
|
|
121
|
+
});
|
|
122
|
+
}
|
|
123
|
+
// commonjs
|
|
124
|
+
else if (typeof module !== "undefined" && module !== null && typeof exports !== "undefined" && module.exports === exports) {
|
|
125
|
+
module.exports = Levenshtein;
|
|
126
|
+
}
|
|
127
|
+
// web worker
|
|
128
|
+
else if (typeof self !== "undefined" && typeof self.postMessage === 'function' && typeof self.importScripts === 'function') {
|
|
129
|
+
self.Levenshtein = Levenshtein;
|
|
130
|
+
}
|
|
131
|
+
// browser main thread
|
|
132
|
+
else if (typeof window !== "undefined" && window !== null) {
|
|
133
|
+
window.Levenshtein = Levenshtein;
|
|
134
|
+
}
|
|
135
|
+
}());
|
|
136
|
+
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "fast-levenshtein",
|
|
3
|
+
"version": "2.0.6",
|
|
4
|
+
"description": "Efficient implementation of Levenshtein algorithm with locale-specific collator support.",
|
|
5
|
+
"main": "levenshtein.js",
|
|
6
|
+
"files": [
|
|
7
|
+
"levenshtein.js"
|
|
8
|
+
],
|
|
9
|
+
"scripts": {
|
|
10
|
+
"build": "grunt build",
|
|
11
|
+
"prepublish": "npm run build",
|
|
12
|
+
"benchmark": "grunt benchmark",
|
|
13
|
+
"test": "mocha"
|
|
14
|
+
},
|
|
15
|
+
"devDependencies": {
|
|
16
|
+
"chai": "~1.5.0",
|
|
17
|
+
"grunt": "~0.4.1",
|
|
18
|
+
"grunt-benchmark": "~0.2.0",
|
|
19
|
+
"grunt-cli": "^1.2.0",
|
|
20
|
+
"grunt-contrib-jshint": "~0.4.3",
|
|
21
|
+
"grunt-contrib-uglify": "~0.2.0",
|
|
22
|
+
"grunt-mocha-test": "~0.2.2",
|
|
23
|
+
"grunt-npm-install": "~0.1.0",
|
|
24
|
+
"load-grunt-tasks": "~0.6.0",
|
|
25
|
+
"lodash": "^4.0.1",
|
|
26
|
+
"mocha": "~1.9.0"
|
|
27
|
+
},
|
|
28
|
+
"repository": {
|
|
29
|
+
"type": "git",
|
|
30
|
+
"url": "https://github.com/hiddentao/fast-levenshtein.git"
|
|
31
|
+
},
|
|
32
|
+
"keywords": [
|
|
33
|
+
"levenshtein",
|
|
34
|
+
"distance",
|
|
35
|
+
"string"
|
|
36
|
+
],
|
|
37
|
+
"author": "Ramesh Nair <ram@hiddentao.com> (http://www.hiddentao.com/)",
|
|
38
|
+
"license": "MIT"
|
|
39
|
+
}
|
|
@@ -1,26 +1,62 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
"
|
|
9
|
-
|
|
2
|
+
"_args": [
|
|
3
|
+
[
|
|
4
|
+
"fs.realpath@1.0.0",
|
|
5
|
+
"/Users/fenster/dev/protobuf.js/cli"
|
|
6
|
+
]
|
|
7
|
+
],
|
|
8
|
+
"_from": "fs.realpath@1.0.0",
|
|
9
|
+
"_id": "fs.realpath@1.0.0",
|
|
10
|
+
"_inBundle": false,
|
|
11
|
+
"_integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==",
|
|
12
|
+
"_location": "/fs.realpath",
|
|
13
|
+
"_phantomChildren": {},
|
|
14
|
+
"_requested": {
|
|
15
|
+
"type": "version",
|
|
16
|
+
"registry": true,
|
|
17
|
+
"raw": "fs.realpath@1.0.0",
|
|
18
|
+
"name": "fs.realpath",
|
|
19
|
+
"escapedName": "fs.realpath",
|
|
20
|
+
"rawSpec": "1.0.0",
|
|
21
|
+
"saveSpec": null,
|
|
22
|
+
"fetchSpec": "1.0.0"
|
|
10
23
|
},
|
|
11
|
-
"
|
|
12
|
-
"
|
|
13
|
-
|
|
24
|
+
"_requiredBy": [
|
|
25
|
+
"/glob"
|
|
26
|
+
],
|
|
27
|
+
"_resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
|
|
28
|
+
"_spec": "1.0.0",
|
|
29
|
+
"_where": "/Users/fenster/dev/protobuf.js/cli",
|
|
30
|
+
"author": {
|
|
31
|
+
"name": "Isaac Z. Schlueter",
|
|
32
|
+
"email": "i@izs.me",
|
|
33
|
+
"url": "http://blog.izs.me/"
|
|
14
34
|
},
|
|
35
|
+
"bugs": {
|
|
36
|
+
"url": "https://github.com/isaacs/fs.realpath/issues"
|
|
37
|
+
},
|
|
38
|
+
"dependencies": {},
|
|
39
|
+
"description": "Use node's fs.realpath, but fall back to the JS implementation if the native one fails",
|
|
40
|
+
"devDependencies": {},
|
|
41
|
+
"files": [
|
|
42
|
+
"old.js",
|
|
43
|
+
"index.js"
|
|
44
|
+
],
|
|
45
|
+
"homepage": "https://github.com/isaacs/fs.realpath#readme",
|
|
15
46
|
"keywords": [
|
|
16
47
|
"realpath",
|
|
17
48
|
"fs",
|
|
18
49
|
"polyfill"
|
|
19
50
|
],
|
|
20
|
-
"author": "Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me/)",
|
|
21
51
|
"license": "ISC",
|
|
22
|
-
"
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
52
|
+
"main": "index.js",
|
|
53
|
+
"name": "fs.realpath",
|
|
54
|
+
"repository": {
|
|
55
|
+
"type": "git",
|
|
56
|
+
"url": "git+https://github.com/isaacs/fs.realpath.git"
|
|
57
|
+
},
|
|
58
|
+
"scripts": {
|
|
59
|
+
"test": "tap test/*.js --cov"
|
|
60
|
+
},
|
|
61
|
+
"version": "1.0.0"
|
|
26
62
|
}
|
|
@@ -1,22 +1,53 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
2
|
+
"_args": [
|
|
3
|
+
[
|
|
4
|
+
"graceful-fs@4.2.10",
|
|
5
|
+
"/Users/fenster/dev/protobuf.js/cli"
|
|
6
|
+
]
|
|
7
|
+
],
|
|
8
|
+
"_from": "graceful-fs@4.2.10",
|
|
9
|
+
"_id": "graceful-fs@4.2.10",
|
|
10
|
+
"_inBundle": false,
|
|
11
|
+
"_integrity": "sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==",
|
|
12
|
+
"_location": "/graceful-fs",
|
|
13
|
+
"_phantomChildren": {},
|
|
14
|
+
"_requested": {
|
|
15
|
+
"type": "version",
|
|
16
|
+
"registry": true,
|
|
17
|
+
"raw": "graceful-fs@4.2.10",
|
|
18
|
+
"name": "graceful-fs",
|
|
19
|
+
"escapedName": "graceful-fs",
|
|
20
|
+
"rawSpec": "4.2.10",
|
|
21
|
+
"saveSpec": null,
|
|
22
|
+
"fetchSpec": "4.2.10"
|
|
23
|
+
},
|
|
24
|
+
"_requiredBy": [
|
|
25
|
+
"/klaw"
|
|
26
|
+
],
|
|
27
|
+
"_resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.10.tgz",
|
|
28
|
+
"_spec": "4.2.10",
|
|
29
|
+
"_where": "/Users/fenster/dev/protobuf.js/cli",
|
|
30
|
+
"bugs": {
|
|
31
|
+
"url": "https://github.com/isaacs/node-graceful-fs/issues"
|
|
32
|
+
},
|
|
3
33
|
"description": "A drop-in replacement for fs, making various improvements.",
|
|
4
|
-
"
|
|
5
|
-
|
|
6
|
-
"
|
|
7
|
-
"
|
|
34
|
+
"devDependencies": {
|
|
35
|
+
"import-fresh": "^2.0.0",
|
|
36
|
+
"mkdirp": "^0.5.0",
|
|
37
|
+
"rimraf": "^2.2.8",
|
|
38
|
+
"tap": "^12.7.0"
|
|
8
39
|
},
|
|
9
|
-
"main": "graceful-fs.js",
|
|
10
40
|
"directories": {
|
|
11
41
|
"test": "test"
|
|
12
42
|
},
|
|
13
|
-
"
|
|
14
|
-
"
|
|
15
|
-
"
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
|
|
43
|
+
"files": [
|
|
44
|
+
"fs.js",
|
|
45
|
+
"graceful-fs.js",
|
|
46
|
+
"legacy-streams.js",
|
|
47
|
+
"polyfills.js",
|
|
48
|
+
"clone.js"
|
|
49
|
+
],
|
|
50
|
+
"homepage": "https://github.com/isaacs/node-graceful-fs#readme",
|
|
20
51
|
"keywords": [
|
|
21
52
|
"fs",
|
|
22
53
|
"module",
|
|
@@ -34,17 +65,18 @@
|
|
|
34
65
|
"EACCESS"
|
|
35
66
|
],
|
|
36
67
|
"license": "ISC",
|
|
37
|
-
"
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
"
|
|
41
|
-
"
|
|
68
|
+
"main": "graceful-fs.js",
|
|
69
|
+
"name": "graceful-fs",
|
|
70
|
+
"repository": {
|
|
71
|
+
"type": "git",
|
|
72
|
+
"url": "git+https://github.com/isaacs/node-graceful-fs.git"
|
|
42
73
|
},
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
|
|
74
|
+
"scripts": {
|
|
75
|
+
"postpublish": "git push origin --follow-tags",
|
|
76
|
+
"posttest": "nyc report",
|
|
77
|
+
"postversion": "npm publish",
|
|
78
|
+
"preversion": "npm test",
|
|
79
|
+
"test": "nyc --silent node test.js | tap -c -"
|
|
80
|
+
},
|
|
81
|
+
"version": "4.2.10"
|
|
50
82
|
}
|
|
@@ -1,29 +1,58 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
"
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
|
|
2
|
+
"_from": "inflight@^1.0.4",
|
|
3
|
+
"_id": "inflight@1.0.6",
|
|
4
|
+
"_inBundle": false,
|
|
5
|
+
"_integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==",
|
|
6
|
+
"_location": "/inflight",
|
|
7
|
+
"_phantomChildren": {},
|
|
8
|
+
"_requested": {
|
|
9
|
+
"type": "range",
|
|
10
|
+
"registry": true,
|
|
11
|
+
"raw": "inflight@^1.0.4",
|
|
12
|
+
"name": "inflight",
|
|
13
|
+
"escapedName": "inflight",
|
|
14
|
+
"rawSpec": "^1.0.4",
|
|
15
|
+
"saveSpec": null,
|
|
16
|
+
"fetchSpec": "^1.0.4"
|
|
17
|
+
},
|
|
18
|
+
"_requiredBy": [
|
|
19
|
+
"/glob"
|
|
8
20
|
],
|
|
21
|
+
"_resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz",
|
|
22
|
+
"_shasum": "49bd6331d7d02d0c09bc910a1075ba8165b56df9",
|
|
23
|
+
"_spec": "inflight@^1.0.4",
|
|
24
|
+
"_where": "/Users/fenster/dev/protobuf.js/cli/node_modules/glob",
|
|
25
|
+
"author": {
|
|
26
|
+
"name": "Isaac Z. Schlueter",
|
|
27
|
+
"email": "i@izs.me",
|
|
28
|
+
"url": "http://blog.izs.me/"
|
|
29
|
+
},
|
|
30
|
+
"bugs": {
|
|
31
|
+
"url": "https://github.com/isaacs/inflight/issues"
|
|
32
|
+
},
|
|
33
|
+
"bundleDependencies": false,
|
|
9
34
|
"dependencies": {
|
|
10
35
|
"once": "^1.3.0",
|
|
11
36
|
"wrappy": "1"
|
|
12
37
|
},
|
|
38
|
+
"deprecated": "This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.",
|
|
39
|
+
"description": "Add callbacks to requests in flight to avoid async duplication",
|
|
13
40
|
"devDependencies": {
|
|
14
41
|
"tap": "^7.1.2"
|
|
15
42
|
},
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
|
|
43
|
+
"files": [
|
|
44
|
+
"inflight.js"
|
|
45
|
+
],
|
|
46
|
+
"homepage": "https://github.com/isaacs/inflight",
|
|
47
|
+
"license": "ISC",
|
|
48
|
+
"main": "inflight.js",
|
|
49
|
+
"name": "inflight",
|
|
19
50
|
"repository": {
|
|
20
51
|
"type": "git",
|
|
21
|
-
"url": "https://github.com/npm/inflight.git"
|
|
52
|
+
"url": "git+https://github.com/npm/inflight.git"
|
|
22
53
|
},
|
|
23
|
-
"
|
|
24
|
-
|
|
25
|
-
"url": "https://github.com/isaacs/inflight/issues"
|
|
54
|
+
"scripts": {
|
|
55
|
+
"test": "tap test.js --100"
|
|
26
56
|
},
|
|
27
|
-
"
|
|
28
|
-
"license": "ISC"
|
|
57
|
+
"version": "1.0.6"
|
|
29
58
|
}
|
|
@@ -1,7 +1,42 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
2
|
+
"_from": "inherits@2",
|
|
3
|
+
"_id": "inherits@2.0.4",
|
|
4
|
+
"_inBundle": false,
|
|
5
|
+
"_integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==",
|
|
6
|
+
"_location": "/inherits",
|
|
7
|
+
"_phantomChildren": {},
|
|
8
|
+
"_requested": {
|
|
9
|
+
"type": "range",
|
|
10
|
+
"registry": true,
|
|
11
|
+
"raw": "inherits@2",
|
|
12
|
+
"name": "inherits",
|
|
13
|
+
"escapedName": "inherits",
|
|
14
|
+
"rawSpec": "2",
|
|
15
|
+
"saveSpec": null,
|
|
16
|
+
"fetchSpec": "2"
|
|
17
|
+
},
|
|
18
|
+
"_requiredBy": [
|
|
19
|
+
"/glob"
|
|
20
|
+
],
|
|
21
|
+
"_resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
|
|
22
|
+
"_shasum": "0fa2c64f932917c3433a0ded55363aae37416b7c",
|
|
23
|
+
"_spec": "inherits@2",
|
|
24
|
+
"_where": "/Users/fenster/dev/protobuf.js/cli/node_modules/glob",
|
|
25
|
+
"browser": "./inherits_browser.js",
|
|
26
|
+
"bugs": {
|
|
27
|
+
"url": "https://github.com/isaacs/inherits/issues"
|
|
28
|
+
},
|
|
29
|
+
"bundleDependencies": false,
|
|
30
|
+
"deprecated": false,
|
|
3
31
|
"description": "Browser-friendly inheritance fully compatible with standard node.js inherits()",
|
|
4
|
-
"
|
|
32
|
+
"devDependencies": {
|
|
33
|
+
"tap": "^14.2.4"
|
|
34
|
+
},
|
|
35
|
+
"files": [
|
|
36
|
+
"inherits.js",
|
|
37
|
+
"inherits_browser.js"
|
|
38
|
+
],
|
|
39
|
+
"homepage": "https://github.com/isaacs/inherits#readme",
|
|
5
40
|
"keywords": [
|
|
6
41
|
"inheritance",
|
|
7
42
|
"class",
|
|
@@ -12,18 +47,15 @@
|
|
|
12
47
|
"browser",
|
|
13
48
|
"browserify"
|
|
14
49
|
],
|
|
15
|
-
"main": "./inherits.js",
|
|
16
|
-
"browser": "./inherits_browser.js",
|
|
17
|
-
"repository": "git://github.com/isaacs/inherits",
|
|
18
50
|
"license": "ISC",
|
|
51
|
+
"main": "./inherits.js",
|
|
52
|
+
"name": "inherits",
|
|
53
|
+
"repository": {
|
|
54
|
+
"type": "git",
|
|
55
|
+
"url": "git://github.com/isaacs/inherits.git"
|
|
56
|
+
},
|
|
19
57
|
"scripts": {
|
|
20
58
|
"test": "tap"
|
|
21
59
|
},
|
|
22
|
-
"
|
|
23
|
-
"tap": "^14.2.4"
|
|
24
|
-
},
|
|
25
|
-
"files": [
|
|
26
|
-
"inherits.js",
|
|
27
|
-
"inherits_browser.js"
|
|
28
|
-
]
|
|
60
|
+
"version": "2.0.4"
|
|
29
61
|
}
|