pnpm 6.22.1 → 6.23.2
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/dist/node_modules/ansi-regex/index.js +8 -2
- package/dist/node_modules/ansi-regex/license +4 -16
- package/dist/node_modules/ansi-regex/package.json +53 -62
- package/dist/node_modules/aproba/index.js +33 -33
- package/dist/node_modules/aproba/package.json +5 -4
- package/dist/node_modules/are-we-there-yet/{index.js → lib/index.js} +0 -0
- package/dist/node_modules/are-we-there-yet/{tracker-base.js → lib/tracker-base.js} +0 -0
- package/dist/node_modules/are-we-there-yet/{tracker-group.js → lib/tracker-group.js} +14 -5
- package/dist/node_modules/are-we-there-yet/{tracker-stream.js → lib/tracker-stream.js} +0 -0
- package/dist/node_modules/are-we-there-yet/{tracker.js → lib/tracker.js} +3 -1
- package/dist/node_modules/are-we-there-yet/package.json +35 -17
- package/dist/node_modules/{npmlog → color-support}/LICENSE +0 -0
- package/dist/node_modules/color-support/bin.js +3 -0
- package/dist/node_modules/color-support/browser.js +14 -0
- package/dist/node_modules/color-support/index.js +134 -0
- package/dist/node_modules/color-support/package.json +36 -0
- package/dist/node_modules/gauge/{base-theme.js → lib/base-theme.js} +7 -3
- package/dist/node_modules/gauge/lib/demo.js +45 -0
- package/dist/node_modules/gauge/{error.js → lib/error.js} +0 -0
- package/dist/node_modules/gauge/lib/has-color.js +4 -0
- package/dist/node_modules/gauge/{index.js → lib/index.js} +90 -33
- package/dist/node_modules/gauge/{plumbing.js → lib/plumbing.js} +3 -1
- package/dist/node_modules/gauge/{process.js → lib/process.js} +0 -0
- package/dist/node_modules/gauge/{progress-bar.js → lib/progress-bar.js} +12 -6
- package/dist/node_modules/gauge/{render-template.js → lib/render-template.js} +69 -28
- package/dist/node_modules/gauge/{set-immediate.js → lib/set-immediate.js} +0 -0
- package/dist/node_modules/gauge/{set-interval.js → lib/set-interval.js} +0 -0
- package/dist/node_modules/gauge/{spin.js → lib/spin.js} +0 -0
- package/dist/node_modules/gauge/{template-item.js → lib/template-item.js} +21 -7
- package/dist/node_modules/gauge/{theme-set.js → lib/theme-set.js} +31 -24
- package/dist/node_modules/gauge/lib/themes.js +56 -0
- package/dist/node_modules/gauge/{wide-truncate.js → lib/wide-truncate.js} +9 -3
- package/dist/node_modules/gauge/package.json +39 -40
- package/dist/node_modules/is-fullwidth-code-point/index.js +40 -36
- package/dist/node_modules/is-fullwidth-code-point/license +4 -16
- package/dist/node_modules/is-fullwidth-code-point/package.json +40 -43
- package/dist/node_modules/node-gyp/package.json +2 -2
- package/dist/node_modules/npmlog/{log.js → lib/log.js} +148 -54
- package/dist/node_modules/npmlog/package.json +30 -12
- package/dist/node_modules/readable-stream/errors-browser.js +127 -0
- package/dist/node_modules/readable-stream/errors.js +116 -0
- package/dist/node_modules/readable-stream/experimentalWarning.js +17 -0
- package/dist/node_modules/readable-stream/lib/_stream_duplex.js +52 -44
- package/dist/node_modules/readable-stream/lib/_stream_passthrough.js +1 -9
- package/dist/node_modules/readable-stream/lib/_stream_readable.js +446 -341
- package/dist/node_modules/readable-stream/lib/_stream_transform.js +29 -42
- package/dist/node_modules/readable-stream/lib/_stream_writable.js +200 -190
- package/dist/node_modules/readable-stream/lib/internal/streams/async_iterator.js +207 -0
- package/dist/node_modules/readable-stream/lib/internal/streams/buffer_list.js +210 -0
- package/dist/node_modules/readable-stream/lib/internal/streams/destroy.js +48 -17
- package/dist/node_modules/readable-stream/lib/internal/streams/end-of-stream.js +104 -0
- package/dist/node_modules/readable-stream/lib/internal/streams/from-browser.js +3 -0
- package/dist/node_modules/readable-stream/lib/internal/streams/from.js +64 -0
- package/dist/node_modules/readable-stream/lib/internal/streams/pipeline.js +97 -0
- package/dist/node_modules/readable-stream/lib/internal/streams/state.js +27 -0
- package/dist/node_modules/readable-stream/package.json +35 -19
- package/dist/node_modules/readable-stream/readable-browser.js +2 -0
- package/dist/node_modules/readable-stream/readable.js +5 -8
- package/dist/node_modules/safe-buffer/index.js +3 -0
- package/dist/node_modules/safe-buffer/package.json +18 -4
- package/dist/node_modules/signal-exit/index.js +30 -8
- package/dist/node_modules/signal-exit/package.json +7 -5
- package/dist/node_modules/socks-proxy-agent/package.json +2 -2
- package/dist/node_modules/string-width/index.js +29 -19
- package/dist/node_modules/string-width/license +4 -16
- package/dist/node_modules/string-width/package.json +54 -54
- package/dist/node_modules/string_decoder/package.json +5 -2
- package/dist/node_modules/strip-ansi/index.js +2 -4
- package/dist/node_modules/strip-ansi/license +4 -16
- package/dist/node_modules/strip-ansi/package.json +52 -55
- package/dist/pnpm.cjs +746 -667
- package/package.json +18 -18
- package/dist/node_modules/are-we-there-yet/LICENSE +0 -5
- package/dist/node_modules/code-point-at/index.js +0 -32
- package/dist/node_modules/code-point-at/license +0 -21
- package/dist/node_modules/code-point-at/package.json +0 -38
- package/dist/node_modules/core-util-is/LICENSE +0 -19
- package/dist/node_modules/core-util-is/lib/util.js +0 -107
- package/dist/node_modules/core-util-is/package.json +0 -38
- package/dist/node_modules/gauge/LICENSE +0 -13
- package/dist/node_modules/gauge/has-color.js +0 -12
- package/dist/node_modules/gauge/themes.js +0 -54
- package/dist/node_modules/isarray/component.json +0 -19
- package/dist/node_modules/isarray/index.js +0 -5
- package/dist/node_modules/isarray/package.json +0 -45
- package/dist/node_modules/isarray/test.js +0 -20
- package/dist/node_modules/number-is-nan/index.js +0 -4
- package/dist/node_modules/number-is-nan/license +0 -21
- package/dist/node_modules/number-is-nan/package.json +0 -35
- package/dist/node_modules/object-assign/index.js +0 -90
- package/dist/node_modules/object-assign/license +0 -21
- package/dist/node_modules/object-assign/package.json +0 -42
- package/dist/node_modules/process-nextick-args/index.js +0 -45
- package/dist/node_modules/process-nextick-args/package.json +0 -25
- package/dist/node_modules/readable-stream/duplex-browser.js +0 -1
- package/dist/node_modules/readable-stream/duplex.js +0 -1
- package/dist/node_modules/readable-stream/lib/internal/streams/BufferList.js +0 -79
- package/dist/node_modules/readable-stream/passthrough.js +0 -1
- package/dist/node_modules/readable-stream/transform.js +0 -1
- package/dist/node_modules/readable-stream/writable-browser.js +0 -1
- package/dist/node_modules/readable-stream/writable.js +0 -8
- package/dist/node_modules/wide-align/node_modules/ansi-regex/index.js +0 -10
- package/dist/node_modules/wide-align/node_modules/ansi-regex/license +0 -9
- package/dist/node_modules/wide-align/node_modules/ansi-regex/package.json +0 -55
- package/dist/node_modules/wide-align/node_modules/is-fullwidth-code-point/index.js +0 -50
- package/dist/node_modules/wide-align/node_modules/is-fullwidth-code-point/license +0 -9
- package/dist/node_modules/wide-align/node_modules/is-fullwidth-code-point/package.json +0 -42
- package/dist/node_modules/wide-align/node_modules/string-width/index.js +0 -47
- package/dist/node_modules/wide-align/node_modules/string-width/license +0 -9
- package/dist/node_modules/wide-align/node_modules/string-width/package.json +0 -56
- package/dist/node_modules/wide-align/node_modules/strip-ansi/index.js +0 -4
- package/dist/node_modules/wide-align/node_modules/strip-ansi/license +0 -9
- package/dist/node_modules/wide-align/node_modules/strip-ansi/package.json +0 -54
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pnpm",
|
|
3
3
|
"description": "Fast, disk space efficient package manager",
|
|
4
|
-
"version": "6.
|
|
4
|
+
"version": "6.23.2",
|
|
5
5
|
"bin": {
|
|
6
6
|
"pnpm": "bin/pnpm.cjs",
|
|
7
7
|
"pnpx": "bin/pnpx.cjs"
|
|
@@ -22,35 +22,35 @@
|
|
|
22
22
|
"@pnpm/assert-project": "workspace:*",
|
|
23
23
|
"@pnpm/byline": "^1.0.0",
|
|
24
24
|
"@pnpm/cli-meta": "workspace:2.0.0",
|
|
25
|
-
"@pnpm/cli-utils": "workspace:0.6.
|
|
26
|
-
"@pnpm/client": "workspace:6.0.
|
|
25
|
+
"@pnpm/cli-utils": "workspace:0.6.33",
|
|
26
|
+
"@pnpm/client": "workspace:6.0.5",
|
|
27
27
|
"@pnpm/command": "workspace:2.0.0",
|
|
28
28
|
"@pnpm/common-cli-options-help": "workspace:0.7.1",
|
|
29
|
-
"@pnpm/config": "workspace:13.
|
|
29
|
+
"@pnpm/config": "workspace:13.5.1",
|
|
30
30
|
"@pnpm/constants": "workspace:5.0.0",
|
|
31
31
|
"@pnpm/core-loggers": "workspace:6.0.6",
|
|
32
|
-
"@pnpm/default-reporter": "workspace:8.3.
|
|
32
|
+
"@pnpm/default-reporter": "workspace:8.3.8",
|
|
33
33
|
"@pnpm/file-reporter": "workspace:2.0.0",
|
|
34
|
-
"@pnpm/filter-workspace-packages": "workspace:4.4.
|
|
34
|
+
"@pnpm/filter-workspace-packages": "workspace:4.4.5",
|
|
35
35
|
"@pnpm/find-workspace-dir": "workspace:3.0.1",
|
|
36
|
-
"@pnpm/find-workspace-packages": "workspace:3.1.
|
|
36
|
+
"@pnpm/find-workspace-packages": "workspace:3.1.25",
|
|
37
37
|
"@pnpm/lockfile-types": "workspace:3.1.1",
|
|
38
38
|
"@pnpm/logger": "^4.0.0",
|
|
39
39
|
"@pnpm/modules-yaml": "workspace:9.0.6",
|
|
40
40
|
"@pnpm/nopt": "^0.2.1",
|
|
41
41
|
"@pnpm/parse-cli-args": "workspace:4.3.0",
|
|
42
42
|
"@pnpm/pick-registry-for-package": "workspace:2.0.6",
|
|
43
|
-
"@pnpm/plugin-commands-audit": "workspace:5.1.
|
|
44
|
-
"@pnpm/plugin-commands-env": "workspace:1.2.
|
|
45
|
-
"@pnpm/plugin-commands-installation": "workspace:7.2
|
|
46
|
-
"@pnpm/plugin-commands-listing": "workspace:4.0.
|
|
47
|
-
"@pnpm/plugin-commands-outdated": "workspace:5.0.
|
|
48
|
-
"@pnpm/plugin-commands-publishing": "workspace:4.2.
|
|
49
|
-
"@pnpm/plugin-commands-rebuild": "workspace:5.
|
|
50
|
-
"@pnpm/plugin-commands-script-runners": "workspace:4.
|
|
51
|
-
"@pnpm/plugin-commands-server": "workspace:3.0.
|
|
52
|
-
"@pnpm/plugin-commands-setup": "workspace:1.1.
|
|
53
|
-
"@pnpm/plugin-commands-store": "workspace:4.0.
|
|
43
|
+
"@pnpm/plugin-commands-audit": "workspace:5.1.23",
|
|
44
|
+
"@pnpm/plugin-commands-env": "workspace:1.2.8",
|
|
45
|
+
"@pnpm/plugin-commands-installation": "workspace:7.3.2",
|
|
46
|
+
"@pnpm/plugin-commands-listing": "workspace:4.0.24",
|
|
47
|
+
"@pnpm/plugin-commands-outdated": "workspace:5.0.32",
|
|
48
|
+
"@pnpm/plugin-commands-publishing": "workspace:4.2.29",
|
|
49
|
+
"@pnpm/plugin-commands-rebuild": "workspace:5.3.1",
|
|
50
|
+
"@pnpm/plugin-commands-script-runners": "workspace:4.5.2",
|
|
51
|
+
"@pnpm/plugin-commands-server": "workspace:3.0.49",
|
|
52
|
+
"@pnpm/plugin-commands-setup": "workspace:1.1.18",
|
|
53
|
+
"@pnpm/plugin-commands-store": "workspace:4.0.33",
|
|
54
54
|
"@pnpm/prepare": "workspace:0.0.28",
|
|
55
55
|
"@pnpm/read-package-json": "workspace:5.0.6",
|
|
56
56
|
"@pnpm/read-project-manifest": "workspace:2.0.7",
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
Copyright (c) 2015, Rebecca Turner
|
|
2
|
-
|
|
3
|
-
Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.
|
|
4
|
-
|
|
5
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/* eslint-disable babel/new-cap, xo/throw-new-error */
|
|
2
|
-
'use strict';
|
|
3
|
-
module.exports = function (str, pos) {
|
|
4
|
-
if (str === null || str === undefined) {
|
|
5
|
-
throw TypeError();
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
str = String(str);
|
|
9
|
-
|
|
10
|
-
var size = str.length;
|
|
11
|
-
var i = pos ? Number(pos) : 0;
|
|
12
|
-
|
|
13
|
-
if (Number.isNaN(i)) {
|
|
14
|
-
i = 0;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
if (i < 0 || i >= size) {
|
|
18
|
-
return undefined;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
var first = str.charCodeAt(i);
|
|
22
|
-
|
|
23
|
-
if (first >= 0xD800 && first <= 0xDBFF && size > i + 1) {
|
|
24
|
-
var second = str.charCodeAt(i + 1);
|
|
25
|
-
|
|
26
|
-
if (second >= 0xDC00 && second <= 0xDFFF) {
|
|
27
|
-
return ((first - 0xD800) * 0x400) + second - 0xDC00 + 0x10000;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
return first;
|
|
32
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
The MIT License (MIT)
|
|
2
|
-
|
|
3
|
-
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in
|
|
13
|
-
all copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
21
|
-
THE SOFTWARE.
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "code-point-at",
|
|
3
|
-
"version": "1.1.0",
|
|
4
|
-
"description": "ES2015 `String#codePointAt()` ponyfill",
|
|
5
|
-
"license": "MIT",
|
|
6
|
-
"repository": "sindresorhus/code-point-at",
|
|
7
|
-
"author": {
|
|
8
|
-
"name": "Sindre Sorhus",
|
|
9
|
-
"email": "sindresorhus@gmail.com",
|
|
10
|
-
"url": "sindresorhus.com"
|
|
11
|
-
},
|
|
12
|
-
"engines": {
|
|
13
|
-
"node": ">=0.10.0"
|
|
14
|
-
},
|
|
15
|
-
"scripts": {
|
|
16
|
-
"test": "xo && ava"
|
|
17
|
-
},
|
|
18
|
-
"files": [
|
|
19
|
-
"index.js"
|
|
20
|
-
],
|
|
21
|
-
"keywords": [
|
|
22
|
-
"es2015",
|
|
23
|
-
"ponyfill",
|
|
24
|
-
"polyfill",
|
|
25
|
-
"shim",
|
|
26
|
-
"string",
|
|
27
|
-
"str",
|
|
28
|
-
"code",
|
|
29
|
-
"point",
|
|
30
|
-
"at",
|
|
31
|
-
"codepoint",
|
|
32
|
-
"unicode"
|
|
33
|
-
],
|
|
34
|
-
"devDependencies": {
|
|
35
|
-
"ava": "*",
|
|
36
|
-
"xo": "^0.16.0"
|
|
37
|
-
}
|
|
38
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
Copyright Node.js contributors. All rights reserved.
|
|
2
|
-
|
|
3
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
4
|
-
of this software and associated documentation files (the "Software"), to
|
|
5
|
-
deal in the Software without restriction, including without limitation the
|
|
6
|
-
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
7
|
-
sell copies of the Software, and to permit persons to whom the Software is
|
|
8
|
-
furnished to do so, subject to the following conditions:
|
|
9
|
-
|
|
10
|
-
The above copyright notice and this permission notice shall be included in
|
|
11
|
-
all copies or substantial portions of the Software.
|
|
12
|
-
|
|
13
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
14
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
15
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
16
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
17
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
18
|
-
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
|
19
|
-
IN THE SOFTWARE.
|
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
// Copyright Joyent, Inc. and other Node contributors.
|
|
2
|
-
//
|
|
3
|
-
// Permission is hereby granted, free of charge, to any person obtaining a
|
|
4
|
-
// copy of this software and associated documentation files (the
|
|
5
|
-
// "Software"), to deal in the Software without restriction, including
|
|
6
|
-
// without limitation the rights to use, copy, modify, merge, publish,
|
|
7
|
-
// distribute, sublicense, and/or sell copies of the Software, and to permit
|
|
8
|
-
// persons to whom the Software is furnished to do so, subject to the
|
|
9
|
-
// following conditions:
|
|
10
|
-
//
|
|
11
|
-
// The above copyright notice and this permission notice shall be included
|
|
12
|
-
// in all copies or substantial portions of the Software.
|
|
13
|
-
//
|
|
14
|
-
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
|
15
|
-
// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
16
|
-
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
|
|
17
|
-
// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
|
|
18
|
-
// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
|
|
19
|
-
// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
|
|
20
|
-
// USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
21
|
-
|
|
22
|
-
// NOTE: These type checking functions intentionally don't use `instanceof`
|
|
23
|
-
// because it is fragile and can be easily faked with `Object.create()`.
|
|
24
|
-
|
|
25
|
-
function isArray(arg) {
|
|
26
|
-
if (Array.isArray) {
|
|
27
|
-
return Array.isArray(arg);
|
|
28
|
-
}
|
|
29
|
-
return objectToString(arg) === '[object Array]';
|
|
30
|
-
}
|
|
31
|
-
exports.isArray = isArray;
|
|
32
|
-
|
|
33
|
-
function isBoolean(arg) {
|
|
34
|
-
return typeof arg === 'boolean';
|
|
35
|
-
}
|
|
36
|
-
exports.isBoolean = isBoolean;
|
|
37
|
-
|
|
38
|
-
function isNull(arg) {
|
|
39
|
-
return arg === null;
|
|
40
|
-
}
|
|
41
|
-
exports.isNull = isNull;
|
|
42
|
-
|
|
43
|
-
function isNullOrUndefined(arg) {
|
|
44
|
-
return arg == null;
|
|
45
|
-
}
|
|
46
|
-
exports.isNullOrUndefined = isNullOrUndefined;
|
|
47
|
-
|
|
48
|
-
function isNumber(arg) {
|
|
49
|
-
return typeof arg === 'number';
|
|
50
|
-
}
|
|
51
|
-
exports.isNumber = isNumber;
|
|
52
|
-
|
|
53
|
-
function isString(arg) {
|
|
54
|
-
return typeof arg === 'string';
|
|
55
|
-
}
|
|
56
|
-
exports.isString = isString;
|
|
57
|
-
|
|
58
|
-
function isSymbol(arg) {
|
|
59
|
-
return typeof arg === 'symbol';
|
|
60
|
-
}
|
|
61
|
-
exports.isSymbol = isSymbol;
|
|
62
|
-
|
|
63
|
-
function isUndefined(arg) {
|
|
64
|
-
return arg === void 0;
|
|
65
|
-
}
|
|
66
|
-
exports.isUndefined = isUndefined;
|
|
67
|
-
|
|
68
|
-
function isRegExp(re) {
|
|
69
|
-
return objectToString(re) === '[object RegExp]';
|
|
70
|
-
}
|
|
71
|
-
exports.isRegExp = isRegExp;
|
|
72
|
-
|
|
73
|
-
function isObject(arg) {
|
|
74
|
-
return typeof arg === 'object' && arg !== null;
|
|
75
|
-
}
|
|
76
|
-
exports.isObject = isObject;
|
|
77
|
-
|
|
78
|
-
function isDate(d) {
|
|
79
|
-
return objectToString(d) === '[object Date]';
|
|
80
|
-
}
|
|
81
|
-
exports.isDate = isDate;
|
|
82
|
-
|
|
83
|
-
function isError(e) {
|
|
84
|
-
return (objectToString(e) === '[object Error]' || e instanceof Error);
|
|
85
|
-
}
|
|
86
|
-
exports.isError = isError;
|
|
87
|
-
|
|
88
|
-
function isFunction(arg) {
|
|
89
|
-
return typeof arg === 'function';
|
|
90
|
-
}
|
|
91
|
-
exports.isFunction = isFunction;
|
|
92
|
-
|
|
93
|
-
function isPrimitive(arg) {
|
|
94
|
-
return arg === null ||
|
|
95
|
-
typeof arg === 'boolean' ||
|
|
96
|
-
typeof arg === 'number' ||
|
|
97
|
-
typeof arg === 'string' ||
|
|
98
|
-
typeof arg === 'symbol' || // ES6 symbol
|
|
99
|
-
typeof arg === 'undefined';
|
|
100
|
-
}
|
|
101
|
-
exports.isPrimitive = isPrimitive;
|
|
102
|
-
|
|
103
|
-
exports.isBuffer = require('buffer').Buffer.isBuffer;
|
|
104
|
-
|
|
105
|
-
function objectToString(o) {
|
|
106
|
-
return Object.prototype.toString.call(o);
|
|
107
|
-
}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "core-util-is",
|
|
3
|
-
"version": "1.0.3",
|
|
4
|
-
"description": "The `util.is*` functions introduced in Node v0.12.",
|
|
5
|
-
"main": "lib/util.js",
|
|
6
|
-
"files": [
|
|
7
|
-
"lib"
|
|
8
|
-
],
|
|
9
|
-
"repository": {
|
|
10
|
-
"type": "git",
|
|
11
|
-
"url": "git://github.com/isaacs/core-util-is"
|
|
12
|
-
},
|
|
13
|
-
"keywords": [
|
|
14
|
-
"util",
|
|
15
|
-
"isBuffer",
|
|
16
|
-
"isArray",
|
|
17
|
-
"isNumber",
|
|
18
|
-
"isString",
|
|
19
|
-
"isRegExp",
|
|
20
|
-
"isThis",
|
|
21
|
-
"isThat",
|
|
22
|
-
"polyfill"
|
|
23
|
-
],
|
|
24
|
-
"author": "Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me/)",
|
|
25
|
-
"license": "MIT",
|
|
26
|
-
"bugs": {
|
|
27
|
-
"url": "https://github.com/isaacs/core-util-is/issues"
|
|
28
|
-
},
|
|
29
|
-
"scripts": {
|
|
30
|
-
"test": "tap test.js",
|
|
31
|
-
"preversion": "npm test",
|
|
32
|
-
"postversion": "npm publish",
|
|
33
|
-
"prepublishOnly": "git push origin --follow-tags"
|
|
34
|
-
},
|
|
35
|
-
"devDependencies": {
|
|
36
|
-
"tap": "^15.0.9"
|
|
37
|
-
}
|
|
38
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
Copyright (c) 2014, Rebecca Turner <me@re-becca.org>
|
|
2
|
-
|
|
3
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
4
|
-
purpose with or without fee is hereby granted, provided that the above
|
|
5
|
-
copyright notice and this permission notice appear in all copies.
|
|
6
|
-
|
|
7
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
|
8
|
-
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
|
9
|
-
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
|
10
|
-
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
|
11
|
-
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
|
12
|
-
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
|
13
|
-
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
'use strict'
|
|
2
|
-
|
|
3
|
-
module.exports = isWin32() || isColorTerm()
|
|
4
|
-
|
|
5
|
-
function isWin32 () {
|
|
6
|
-
return process.platform === 'win32'
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
function isColorTerm () {
|
|
10
|
-
var termHasColor = /^screen|^xterm|^vt100|color|ansi|cygwin|linux/i
|
|
11
|
-
return !!process.env.COLORTERM || termHasColor.test(process.env.TERM)
|
|
12
|
-
}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
'use strict'
|
|
2
|
-
var consoleControl = require('console-control-strings')
|
|
3
|
-
var ThemeSet = require('./theme-set.js')
|
|
4
|
-
|
|
5
|
-
var themes = module.exports = new ThemeSet()
|
|
6
|
-
|
|
7
|
-
themes.addTheme('ASCII', {
|
|
8
|
-
preProgressbar: '[',
|
|
9
|
-
postProgressbar: ']',
|
|
10
|
-
progressbarTheme: {
|
|
11
|
-
complete: '#',
|
|
12
|
-
remaining: '.'
|
|
13
|
-
},
|
|
14
|
-
activityIndicatorTheme: '-\\|/',
|
|
15
|
-
preSubsection: '>'
|
|
16
|
-
})
|
|
17
|
-
|
|
18
|
-
themes.addTheme('colorASCII', themes.getTheme('ASCII'), {
|
|
19
|
-
progressbarTheme: {
|
|
20
|
-
preComplete: consoleControl.color('inverse'),
|
|
21
|
-
complete: ' ',
|
|
22
|
-
postComplete: consoleControl.color('stopInverse'),
|
|
23
|
-
preRemaining: consoleControl.color('brightBlack'),
|
|
24
|
-
remaining: '.',
|
|
25
|
-
postRemaining: consoleControl.color('reset')
|
|
26
|
-
}
|
|
27
|
-
})
|
|
28
|
-
|
|
29
|
-
themes.addTheme('brailleSpinner', {
|
|
30
|
-
preProgressbar: '⸨',
|
|
31
|
-
postProgressbar: '⸩',
|
|
32
|
-
progressbarTheme: {
|
|
33
|
-
complete: '░',
|
|
34
|
-
remaining: '⠂'
|
|
35
|
-
},
|
|
36
|
-
activityIndicatorTheme: '⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏',
|
|
37
|
-
preSubsection: '>'
|
|
38
|
-
})
|
|
39
|
-
|
|
40
|
-
themes.addTheme('colorBrailleSpinner', themes.getTheme('brailleSpinner'), {
|
|
41
|
-
progressbarTheme: {
|
|
42
|
-
preComplete: consoleControl.color('inverse'),
|
|
43
|
-
complete: ' ',
|
|
44
|
-
postComplete: consoleControl.color('stopInverse'),
|
|
45
|
-
preRemaining: consoleControl.color('brightBlack'),
|
|
46
|
-
remaining: '░',
|
|
47
|
-
postRemaining: consoleControl.color('reset')
|
|
48
|
-
}
|
|
49
|
-
})
|
|
50
|
-
|
|
51
|
-
themes.setDefault({}, 'ASCII')
|
|
52
|
-
themes.setDefault({hasColor: true}, 'colorASCII')
|
|
53
|
-
themes.setDefault({platform: 'darwin', hasUnicode: true}, 'brailleSpinner')
|
|
54
|
-
themes.setDefault({platform: 'darwin', hasUnicode: true, hasColor: true}, 'colorBrailleSpinner')
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name" : "isarray",
|
|
3
|
-
"description" : "Array#isArray for older browsers",
|
|
4
|
-
"version" : "0.0.1",
|
|
5
|
-
"repository" : "juliangruber/isarray",
|
|
6
|
-
"homepage": "https://github.com/juliangruber/isarray",
|
|
7
|
-
"main" : "index.js",
|
|
8
|
-
"scripts" : [
|
|
9
|
-
"index.js"
|
|
10
|
-
],
|
|
11
|
-
"dependencies" : {},
|
|
12
|
-
"keywords": ["browser","isarray","array"],
|
|
13
|
-
"author": {
|
|
14
|
-
"name": "Julian Gruber",
|
|
15
|
-
"email": "mail@juliangruber.com",
|
|
16
|
-
"url": "http://juliangruber.com"
|
|
17
|
-
},
|
|
18
|
-
"license": "MIT"
|
|
19
|
-
}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "isarray",
|
|
3
|
-
"description": "Array#isArray for older browsers",
|
|
4
|
-
"version": "1.0.0",
|
|
5
|
-
"repository": {
|
|
6
|
-
"type": "git",
|
|
7
|
-
"url": "git://github.com/juliangruber/isarray.git"
|
|
8
|
-
},
|
|
9
|
-
"homepage": "https://github.com/juliangruber/isarray",
|
|
10
|
-
"main": "index.js",
|
|
11
|
-
"dependencies": {},
|
|
12
|
-
"devDependencies": {
|
|
13
|
-
"tape": "~2.13.4"
|
|
14
|
-
},
|
|
15
|
-
"keywords": [
|
|
16
|
-
"browser",
|
|
17
|
-
"isarray",
|
|
18
|
-
"array"
|
|
19
|
-
],
|
|
20
|
-
"author": {
|
|
21
|
-
"name": "Julian Gruber",
|
|
22
|
-
"email": "mail@juliangruber.com",
|
|
23
|
-
"url": "http://juliangruber.com"
|
|
24
|
-
},
|
|
25
|
-
"license": "MIT",
|
|
26
|
-
"testling": {
|
|
27
|
-
"files": "test.js",
|
|
28
|
-
"browsers": [
|
|
29
|
-
"ie/8..latest",
|
|
30
|
-
"firefox/17..latest",
|
|
31
|
-
"firefox/nightly",
|
|
32
|
-
"chrome/22..latest",
|
|
33
|
-
"chrome/canary",
|
|
34
|
-
"opera/12..latest",
|
|
35
|
-
"opera/next",
|
|
36
|
-
"safari/5.1..latest",
|
|
37
|
-
"ipad/6.0..latest",
|
|
38
|
-
"iphone/6.0..latest",
|
|
39
|
-
"android-browser/4.2..latest"
|
|
40
|
-
]
|
|
41
|
-
},
|
|
42
|
-
"scripts": {
|
|
43
|
-
"test": "tape test.js"
|
|
44
|
-
}
|
|
45
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
var isArray = require('./');
|
|
2
|
-
var test = require('tape');
|
|
3
|
-
|
|
4
|
-
test('is array', function(t){
|
|
5
|
-
t.ok(isArray([]));
|
|
6
|
-
t.notOk(isArray({}));
|
|
7
|
-
t.notOk(isArray(null));
|
|
8
|
-
t.notOk(isArray(false));
|
|
9
|
-
|
|
10
|
-
var obj = {};
|
|
11
|
-
obj[0] = true;
|
|
12
|
-
t.notOk(isArray(obj));
|
|
13
|
-
|
|
14
|
-
var arr = [];
|
|
15
|
-
arr.foo = 'bar';
|
|
16
|
-
t.ok(isArray(arr));
|
|
17
|
-
|
|
18
|
-
t.end();
|
|
19
|
-
});
|
|
20
|
-
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
The MIT License (MIT)
|
|
2
|
-
|
|
3
|
-
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in
|
|
13
|
-
all copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
21
|
-
THE SOFTWARE.
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "number-is-nan",
|
|
3
|
-
"version": "1.0.1",
|
|
4
|
-
"description": "ES2015 Number.isNaN() ponyfill",
|
|
5
|
-
"license": "MIT",
|
|
6
|
-
"repository": "sindresorhus/number-is-nan",
|
|
7
|
-
"author": {
|
|
8
|
-
"name": "Sindre Sorhus",
|
|
9
|
-
"email": "sindresorhus@gmail.com",
|
|
10
|
-
"url": "sindresorhus.com"
|
|
11
|
-
},
|
|
12
|
-
"engines": {
|
|
13
|
-
"node": ">=0.10.0"
|
|
14
|
-
},
|
|
15
|
-
"scripts": {
|
|
16
|
-
"test": "ava"
|
|
17
|
-
},
|
|
18
|
-
"files": [
|
|
19
|
-
"index.js"
|
|
20
|
-
],
|
|
21
|
-
"keywords": [
|
|
22
|
-
"es2015",
|
|
23
|
-
"ecmascript",
|
|
24
|
-
"ponyfill",
|
|
25
|
-
"polyfill",
|
|
26
|
-
"shim",
|
|
27
|
-
"number",
|
|
28
|
-
"is",
|
|
29
|
-
"nan",
|
|
30
|
-
"not"
|
|
31
|
-
],
|
|
32
|
-
"devDependencies": {
|
|
33
|
-
"ava": "*"
|
|
34
|
-
}
|
|
35
|
-
}
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
object-assign
|
|
3
|
-
(c) Sindre Sorhus
|
|
4
|
-
@license MIT
|
|
5
|
-
*/
|
|
6
|
-
|
|
7
|
-
'use strict';
|
|
8
|
-
/* eslint-disable no-unused-vars */
|
|
9
|
-
var getOwnPropertySymbols = Object.getOwnPropertySymbols;
|
|
10
|
-
var hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
11
|
-
var propIsEnumerable = Object.prototype.propertyIsEnumerable;
|
|
12
|
-
|
|
13
|
-
function toObject(val) {
|
|
14
|
-
if (val === null || val === undefined) {
|
|
15
|
-
throw new TypeError('Object.assign cannot be called with null or undefined');
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
return Object(val);
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
function shouldUseNative() {
|
|
22
|
-
try {
|
|
23
|
-
if (!Object.assign) {
|
|
24
|
-
return false;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
// Detect buggy property enumeration order in older V8 versions.
|
|
28
|
-
|
|
29
|
-
// https://bugs.chromium.org/p/v8/issues/detail?id=4118
|
|
30
|
-
var test1 = new String('abc'); // eslint-disable-line no-new-wrappers
|
|
31
|
-
test1[5] = 'de';
|
|
32
|
-
if (Object.getOwnPropertyNames(test1)[0] === '5') {
|
|
33
|
-
return false;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
// https://bugs.chromium.org/p/v8/issues/detail?id=3056
|
|
37
|
-
var test2 = {};
|
|
38
|
-
for (var i = 0; i < 10; i++) {
|
|
39
|
-
test2['_' + String.fromCharCode(i)] = i;
|
|
40
|
-
}
|
|
41
|
-
var order2 = Object.getOwnPropertyNames(test2).map(function (n) {
|
|
42
|
-
return test2[n];
|
|
43
|
-
});
|
|
44
|
-
if (order2.join('') !== '0123456789') {
|
|
45
|
-
return false;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
// https://bugs.chromium.org/p/v8/issues/detail?id=3056
|
|
49
|
-
var test3 = {};
|
|
50
|
-
'abcdefghijklmnopqrst'.split('').forEach(function (letter) {
|
|
51
|
-
test3[letter] = letter;
|
|
52
|
-
});
|
|
53
|
-
if (Object.keys(Object.assign({}, test3)).join('') !==
|
|
54
|
-
'abcdefghijklmnopqrst') {
|
|
55
|
-
return false;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
return true;
|
|
59
|
-
} catch (err) {
|
|
60
|
-
// We don't expect any of the above to throw, but better to be safe.
|
|
61
|
-
return false;
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
module.exports = shouldUseNative() ? Object.assign : function (target, source) {
|
|
66
|
-
var from;
|
|
67
|
-
var to = toObject(target);
|
|
68
|
-
var symbols;
|
|
69
|
-
|
|
70
|
-
for (var s = 1; s < arguments.length; s++) {
|
|
71
|
-
from = Object(arguments[s]);
|
|
72
|
-
|
|
73
|
-
for (var key in from) {
|
|
74
|
-
if (hasOwnProperty.call(from, key)) {
|
|
75
|
-
to[key] = from[key];
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
if (getOwnPropertySymbols) {
|
|
80
|
-
symbols = getOwnPropertySymbols(from);
|
|
81
|
-
for (var i = 0; i < symbols.length; i++) {
|
|
82
|
-
if (propIsEnumerable.call(from, symbols[i])) {
|
|
83
|
-
to[symbols[i]] = from[symbols[i]];
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
return to;
|
|
90
|
-
};
|