@aws-solutions-constructs/core 2.50.0 → 2.52.0
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/.eslintignore +2 -0
- package/.jsii +50 -5
- package/node_modules/ansi-regex/index.js +8 -2
- package/node_modules/ansi-regex/license +4 -16
- package/node_modules/ansi-regex/package.json +53 -62
- package/node_modules/ansi-regex/readme.md +48 -9
- package/node_modules/aproba/index.js +33 -33
- package/node_modules/aproba/package.json +5 -4
- package/node_modules/are-we-there-yet/LICENSE.md +18 -0
- package/node_modules/are-we-there-yet/README.md +16 -3
- package/node_modules/are-we-there-yet/lib/tracker-base.js +13 -0
- package/node_modules/are-we-there-yet/lib/tracker-group.js +112 -0
- package/node_modules/are-we-there-yet/lib/tracker-stream.js +42 -0
- package/node_modules/are-we-there-yet/lib/tracker.js +34 -0
- package/node_modules/are-we-there-yet/package.json +38 -20
- package/node_modules/color-support/README.md +129 -0
- package/node_modules/color-support/bin.js +3 -0
- package/node_modules/color-support/browser.js +14 -0
- package/node_modules/color-support/index.js +134 -0
- package/node_modules/color-support/package.json +36 -0
- package/node_modules/gauge/LICENSE.md +20 -0
- package/node_modules/gauge/README.md +19 -16
- package/node_modules/gauge/{base-theme.js → lib/base-theme.js} +7 -3
- package/node_modules/gauge/lib/has-color.js +4 -0
- package/node_modules/gauge/{index.js → lib/index.js} +90 -34
- package/node_modules/gauge/{plumbing.js → lib/plumbing.js} +3 -1
- package/node_modules/gauge/{progress-bar.js → lib/progress-bar.js} +12 -6
- package/node_modules/gauge/{render-template.js → lib/render-template.js} +69 -28
- package/node_modules/gauge/{template-item.js → lib/template-item.js} +21 -7
- package/node_modules/gauge/{theme-set.js → lib/theme-set.js} +31 -24
- package/node_modules/gauge/lib/themes.js +56 -0
- package/node_modules/gauge/{wide-truncate.js → lib/wide-truncate.js} +9 -3
- package/node_modules/gauge/package.json +47 -42
- package/node_modules/is-fullwidth-code-point/index.js +40 -36
- package/node_modules/is-fullwidth-code-point/license +4 -16
- package/node_modules/is-fullwidth-code-point/package.json +40 -43
- package/node_modules/is-fullwidth-code-point/readme.md +8 -8
- package/node_modules/npmlog/LICENSE.md +20 -0
- package/node_modules/npmlog/{log.js → lib/log.js} +149 -58
- package/node_modules/npmlog/package.json +36 -12
- package/node_modules/signal-exit/LICENSE.txt +1 -1
- package/node_modules/signal-exit/README.md +56 -21
- package/node_modules/signal-exit/dist/cjs/browser.d.ts +12 -0
- package/node_modules/signal-exit/dist/cjs/browser.d.ts.map +1 -0
- package/node_modules/signal-exit/dist/cjs/browser.js +10 -0
- package/node_modules/signal-exit/dist/cjs/browser.js.map +1 -0
- package/node_modules/signal-exit/dist/cjs/index.d.ts +48 -0
- package/node_modules/signal-exit/dist/cjs/index.d.ts.map +1 -0
- package/node_modules/signal-exit/dist/cjs/index.js +279 -0
- package/node_modules/signal-exit/dist/cjs/index.js.map +1 -0
- package/node_modules/signal-exit/dist/cjs/package.json +3 -0
- package/node_modules/signal-exit/dist/cjs/signals.d.ts +29 -0
- package/node_modules/signal-exit/dist/cjs/signals.d.ts.map +1 -0
- package/node_modules/signal-exit/dist/cjs/signals.js +42 -0
- package/node_modules/signal-exit/dist/cjs/signals.js.map +1 -0
- package/node_modules/signal-exit/dist/mjs/browser.d.ts +12 -0
- package/node_modules/signal-exit/dist/mjs/browser.d.ts.map +1 -0
- package/node_modules/signal-exit/dist/mjs/browser.js +4 -0
- package/node_modules/signal-exit/dist/mjs/browser.js.map +1 -0
- package/node_modules/signal-exit/dist/mjs/index.d.ts +48 -0
- package/node_modules/signal-exit/dist/mjs/index.d.ts.map +1 -0
- package/node_modules/signal-exit/dist/mjs/index.js +275 -0
- package/node_modules/signal-exit/dist/mjs/index.js.map +1 -0
- package/node_modules/signal-exit/dist/mjs/package.json +3 -0
- package/node_modules/signal-exit/dist/mjs/signals.d.ts +29 -0
- package/node_modules/signal-exit/dist/mjs/signals.d.ts.map +1 -0
- package/node_modules/signal-exit/dist/mjs/signals.js +39 -0
- package/node_modules/signal-exit/dist/mjs/signals.js.map +1 -0
- package/node_modules/signal-exit/package.json +87 -19
- package/node_modules/string-width/index.js +29 -19
- package/node_modules/string-width/license +4 -16
- package/node_modules/string-width/package.json +54 -54
- package/node_modules/string-width/readme.md +17 -9
- package/node_modules/strip-ansi/index.js +2 -4
- package/node_modules/strip-ansi/license +4 -16
- package/node_modules/strip-ansi/package.json +52 -55
- package/node_modules/strip-ansi/readme.md +20 -7
- package/package.json +11 -10
- package/test/test-helper.d.ts +1 -1
- package/test/test-helper.js +5 -5
- package/node_modules/are-we-there-yet/CHANGES.md +0 -37
- package/node_modules/are-we-there-yet/LICENSE +0 -5
- package/node_modules/are-we-there-yet/tracker-base.js +0 -11
- package/node_modules/are-we-there-yet/tracker-group.js +0 -107
- package/node_modules/are-we-there-yet/tracker-stream.js +0 -36
- package/node_modules/are-we-there-yet/tracker.js +0 -30
- package/node_modules/code-point-at/index.js +0 -32
- package/node_modules/code-point-at/license +0 -21
- package/node_modules/code-point-at/package.json +0 -38
- package/node_modules/code-point-at/readme.md +0 -32
- package/node_modules/core-util-is/LICENSE +0 -19
- package/node_modules/core-util-is/README.md +0 -3
- package/node_modules/core-util-is/lib/util.js +0 -107
- package/node_modules/core-util-is/package.json +0 -38
- package/node_modules/delegates/.npmignore +0 -1
- package/node_modules/delegates/History.md +0 -22
- package/node_modules/delegates/License +0 -20
- package/node_modules/delegates/Makefile +0 -8
- package/node_modules/delegates/Readme.md +0 -94
- package/node_modules/delegates/index.js +0 -121
- package/node_modules/delegates/package.json +0 -13
- package/node_modules/delegates/test/index.js +0 -94
- package/node_modules/gauge/CHANGELOG.md +0 -160
- package/node_modules/gauge/LICENSE +0 -13
- package/node_modules/gauge/has-color.js +0 -12
- package/node_modules/gauge/themes.js +0 -54
- package/node_modules/inherits/LICENSE +0 -16
- package/node_modules/inherits/README.md +0 -42
- package/node_modules/inherits/inherits.js +0 -9
- package/node_modules/inherits/inherits_browser.js +0 -27
- package/node_modules/inherits/package.json +0 -29
- package/node_modules/isarray/.npmignore +0 -1
- package/node_modules/isarray/.travis.yml +0 -4
- package/node_modules/isarray/Makefile +0 -6
- package/node_modules/isarray/README.md +0 -60
- package/node_modules/isarray/component.json +0 -19
- package/node_modules/isarray/index.js +0 -5
- package/node_modules/isarray/package.json +0 -45
- package/node_modules/isarray/test.js +0 -20
- package/node_modules/number-is-nan/index.js +0 -4
- package/node_modules/number-is-nan/license +0 -21
- package/node_modules/number-is-nan/package.json +0 -35
- package/node_modules/number-is-nan/readme.md +0 -28
- package/node_modules/object-assign/index.js +0 -90
- package/node_modules/object-assign/license +0 -21
- package/node_modules/object-assign/package.json +0 -42
- package/node_modules/object-assign/readme.md +0 -61
- package/node_modules/process-nextick-args/index.js +0 -45
- package/node_modules/process-nextick-args/license.md +0 -19
- package/node_modules/process-nextick-args/package.json +0 -25
- package/node_modules/process-nextick-args/readme.md +0 -18
- package/node_modules/readable-stream/.travis.yml +0 -34
- package/node_modules/readable-stream/CONTRIBUTING.md +0 -38
- package/node_modules/readable-stream/GOVERNANCE.md +0 -136
- package/node_modules/readable-stream/LICENSE +0 -47
- package/node_modules/readable-stream/README.md +0 -58
- package/node_modules/readable-stream/doc/wg-meetings/2015-01-30.md +0 -60
- package/node_modules/readable-stream/duplex-browser.js +0 -1
- package/node_modules/readable-stream/duplex.js +0 -1
- package/node_modules/readable-stream/lib/_stream_duplex.js +0 -131
- package/node_modules/readable-stream/lib/_stream_passthrough.js +0 -47
- package/node_modules/readable-stream/lib/_stream_readable.js +0 -1019
- package/node_modules/readable-stream/lib/_stream_transform.js +0 -214
- package/node_modules/readable-stream/lib/_stream_writable.js +0 -685
- package/node_modules/readable-stream/lib/internal/streams/BufferList.js +0 -78
- package/node_modules/readable-stream/lib/internal/streams/destroy.js +0 -84
- package/node_modules/readable-stream/lib/internal/streams/stream-browser.js +0 -1
- package/node_modules/readable-stream/lib/internal/streams/stream.js +0 -1
- package/node_modules/readable-stream/package.json +0 -52
- package/node_modules/readable-stream/passthrough.js +0 -1
- package/node_modules/readable-stream/readable-browser.js +0 -7
- package/node_modules/readable-stream/readable.js +0 -19
- package/node_modules/readable-stream/transform.js +0 -1
- package/node_modules/readable-stream/writable-browser.js +0 -1
- package/node_modules/readable-stream/writable.js +0 -8
- package/node_modules/safe-buffer/LICENSE +0 -21
- package/node_modules/safe-buffer/README.md +0 -584
- package/node_modules/safe-buffer/index.d.ts +0 -187
- package/node_modules/safe-buffer/index.js +0 -62
- package/node_modules/safe-buffer/package.json +0 -37
- package/node_modules/signal-exit/index.js +0 -202
- package/node_modules/signal-exit/signals.js +0 -53
- package/node_modules/string_decoder/.travis.yml +0 -50
- package/node_modules/string_decoder/LICENSE +0 -48
- package/node_modules/string_decoder/README.md +0 -47
- package/node_modules/string_decoder/lib/string_decoder.js +0 -296
- package/node_modules/string_decoder/package.json +0 -31
- package/node_modules/util-deprecate/History.md +0 -16
- package/node_modules/util-deprecate/LICENSE +0 -24
- package/node_modules/util-deprecate/README.md +0 -53
- package/node_modules/util-deprecate/browser.js +0 -67
- package/node_modules/util-deprecate/node.js +0 -6
- package/node_modules/util-deprecate/package.json +0 -27
- package/node_modules/wide-align/node_modules/ansi-regex/index.js +0 -10
- package/node_modules/wide-align/node_modules/ansi-regex/license +0 -9
- package/node_modules/wide-align/node_modules/ansi-regex/package.json +0 -55
- package/node_modules/wide-align/node_modules/ansi-regex/readme.md +0 -78
- package/node_modules/wide-align/node_modules/is-fullwidth-code-point/index.js +0 -50
- package/node_modules/wide-align/node_modules/is-fullwidth-code-point/license +0 -9
- package/node_modules/wide-align/node_modules/is-fullwidth-code-point/package.json +0 -42
- package/node_modules/wide-align/node_modules/is-fullwidth-code-point/readme.md +0 -39
- package/node_modules/wide-align/node_modules/string-width/index.js +0 -47
- package/node_modules/wide-align/node_modules/string-width/license +0 -9
- package/node_modules/wide-align/node_modules/string-width/package.json +0 -56
- package/node_modules/wide-align/node_modules/string-width/readme.md +0 -50
- package/node_modules/wide-align/node_modules/strip-ansi/index.js +0 -4
- package/node_modules/wide-align/node_modules/strip-ansi/license +0 -9
- package/node_modules/wide-align/node_modules/strip-ansi/package.json +0 -54
- package/node_modules/wide-align/node_modules/strip-ansi/readme.md +0 -46
- /package/node_modules/{wide-align/node_modules/ansi-regex → ansi-regex}/index.d.ts +0 -0
- /package/node_modules/are-we-there-yet/{index.js → lib/index.js} +0 -0
- /package/node_modules/{npmlog → color-support}/LICENSE +0 -0
- /package/node_modules/gauge/{error.js → lib/error.js} +0 -0
- /package/node_modules/gauge/{process.js → lib/process.js} +0 -0
- /package/node_modules/gauge/{set-immediate.js → lib/set-immediate.js} +0 -0
- /package/node_modules/gauge/{set-interval.js → lib/set-interval.js} +0 -0
- /package/node_modules/gauge/{spin.js → lib/spin.js} +0 -0
- /package/node_modules/{wide-align/node_modules/is-fullwidth-code-point → is-fullwidth-code-point}/index.d.ts +0 -0
- /package/node_modules/{wide-align/node_modules/string-width → string-width}/index.d.ts +0 -0
- /package/node_modules/{wide-align/node_modules/strip-ansi → strip-ansi}/index.d.ts +0 -0
|
@@ -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,28 +0,0 @@
|
|
|
1
|
-
# number-is-nan [](https://travis-ci.org/sindresorhus/number-is-nan)
|
|
2
|
-
|
|
3
|
-
> ES2015 [`Number.isNaN()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/isNaN) [ponyfill](https://ponyfill.com)
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
## Install
|
|
7
|
-
|
|
8
|
-
```
|
|
9
|
-
$ npm install --save number-is-nan
|
|
10
|
-
```
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
## Usage
|
|
14
|
-
|
|
15
|
-
```js
|
|
16
|
-
var numberIsNan = require('number-is-nan');
|
|
17
|
-
|
|
18
|
-
numberIsNan(NaN);
|
|
19
|
-
//=> true
|
|
20
|
-
|
|
21
|
-
numberIsNan('unicorn');
|
|
22
|
-
//=> false
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
## License
|
|
27
|
-
|
|
28
|
-
MIT © [Sindre Sorhus](http://sindresorhus.com)
|
|
@@ -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
|
-
};
|
|
@@ -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,42 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "object-assign",
|
|
3
|
-
"version": "4.1.1",
|
|
4
|
-
"description": "ES2015 `Object.assign()` ponyfill",
|
|
5
|
-
"license": "MIT",
|
|
6
|
-
"repository": "sindresorhus/object-assign",
|
|
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
|
-
"bench": "matcha bench.js"
|
|
18
|
-
},
|
|
19
|
-
"files": [
|
|
20
|
-
"index.js"
|
|
21
|
-
],
|
|
22
|
-
"keywords": [
|
|
23
|
-
"object",
|
|
24
|
-
"assign",
|
|
25
|
-
"extend",
|
|
26
|
-
"properties",
|
|
27
|
-
"es2015",
|
|
28
|
-
"ecmascript",
|
|
29
|
-
"harmony",
|
|
30
|
-
"ponyfill",
|
|
31
|
-
"prollyfill",
|
|
32
|
-
"polyfill",
|
|
33
|
-
"shim",
|
|
34
|
-
"browser"
|
|
35
|
-
],
|
|
36
|
-
"devDependencies": {
|
|
37
|
-
"ava": "^0.16.0",
|
|
38
|
-
"lodash": "^4.16.4",
|
|
39
|
-
"matcha": "^0.7.0",
|
|
40
|
-
"xo": "^0.16.0"
|
|
41
|
-
}
|
|
42
|
-
}
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
# object-assign [](https://travis-ci.org/sindresorhus/object-assign)
|
|
2
|
-
|
|
3
|
-
> ES2015 [`Object.assign()`](http://www.2ality.com/2014/01/object-assign.html) [ponyfill](https://ponyfill.com)
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
## Use the built-in
|
|
7
|
-
|
|
8
|
-
Node.js 4 and up, as well as every evergreen browser (Chrome, Edge, Firefox, Opera, Safari),
|
|
9
|
-
support `Object.assign()` :tada:. If you target only those environments, then by all
|
|
10
|
-
means, use `Object.assign()` instead of this package.
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
## Install
|
|
14
|
-
|
|
15
|
-
```
|
|
16
|
-
$ npm install --save object-assign
|
|
17
|
-
```
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
## Usage
|
|
21
|
-
|
|
22
|
-
```js
|
|
23
|
-
const objectAssign = require('object-assign');
|
|
24
|
-
|
|
25
|
-
objectAssign({foo: 0}, {bar: 1});
|
|
26
|
-
//=> {foo: 0, bar: 1}
|
|
27
|
-
|
|
28
|
-
// multiple sources
|
|
29
|
-
objectAssign({foo: 0}, {bar: 1}, {baz: 2});
|
|
30
|
-
//=> {foo: 0, bar: 1, baz: 2}
|
|
31
|
-
|
|
32
|
-
// overwrites equal keys
|
|
33
|
-
objectAssign({foo: 0}, {foo: 1}, {foo: 2});
|
|
34
|
-
//=> {foo: 2}
|
|
35
|
-
|
|
36
|
-
// ignores null and undefined sources
|
|
37
|
-
objectAssign({foo: 0}, null, {bar: 1}, undefined);
|
|
38
|
-
//=> {foo: 0, bar: 1}
|
|
39
|
-
```
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
## API
|
|
43
|
-
|
|
44
|
-
### objectAssign(target, [source, ...])
|
|
45
|
-
|
|
46
|
-
Assigns enumerable own properties of `source` objects to the `target` object and returns the `target` object. Additional `source` objects will overwrite previous ones.
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
## Resources
|
|
50
|
-
|
|
51
|
-
- [ES2015 spec - Object.assign](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-object.assign)
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
## Related
|
|
55
|
-
|
|
56
|
-
- [deep-assign](https://github.com/sindresorhus/deep-assign) - Recursive `Object.assign()`
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
## License
|
|
60
|
-
|
|
61
|
-
MIT © [Sindre Sorhus](https://sindresorhus.com)
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
if (typeof process === 'undefined' ||
|
|
4
|
-
!process.version ||
|
|
5
|
-
process.version.indexOf('v0.') === 0 ||
|
|
6
|
-
process.version.indexOf('v1.') === 0 && process.version.indexOf('v1.8.') !== 0) {
|
|
7
|
-
module.exports = { nextTick: nextTick };
|
|
8
|
-
} else {
|
|
9
|
-
module.exports = process
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
function nextTick(fn, arg1, arg2, arg3) {
|
|
13
|
-
if (typeof fn !== 'function') {
|
|
14
|
-
throw new TypeError('"callback" argument must be a function');
|
|
15
|
-
}
|
|
16
|
-
var len = arguments.length;
|
|
17
|
-
var args, i;
|
|
18
|
-
switch (len) {
|
|
19
|
-
case 0:
|
|
20
|
-
case 1:
|
|
21
|
-
return process.nextTick(fn);
|
|
22
|
-
case 2:
|
|
23
|
-
return process.nextTick(function afterTickOne() {
|
|
24
|
-
fn.call(null, arg1);
|
|
25
|
-
});
|
|
26
|
-
case 3:
|
|
27
|
-
return process.nextTick(function afterTickTwo() {
|
|
28
|
-
fn.call(null, arg1, arg2);
|
|
29
|
-
});
|
|
30
|
-
case 4:
|
|
31
|
-
return process.nextTick(function afterTickThree() {
|
|
32
|
-
fn.call(null, arg1, arg2, arg3);
|
|
33
|
-
});
|
|
34
|
-
default:
|
|
35
|
-
args = new Array(len - 1);
|
|
36
|
-
i = 0;
|
|
37
|
-
while (i < args.length) {
|
|
38
|
-
args[i++] = arguments[i];
|
|
39
|
-
}
|
|
40
|
-
return process.nextTick(function afterTick() {
|
|
41
|
-
fn.apply(null, args);
|
|
42
|
-
});
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
# Copyright (c) 2015 Calvin Metcalf
|
|
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 deal
|
|
5
|
-
in the Software without restriction, including without limitation the rights
|
|
6
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
7
|
-
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 all
|
|
11
|
-
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 FROM,
|
|
18
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
19
|
-
SOFTWARE.**
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "process-nextick-args",
|
|
3
|
-
"version": "2.0.1",
|
|
4
|
-
"description": "process.nextTick but always with args",
|
|
5
|
-
"main": "index.js",
|
|
6
|
-
"files": [
|
|
7
|
-
"index.js"
|
|
8
|
-
],
|
|
9
|
-
"scripts": {
|
|
10
|
-
"test": "node test.js"
|
|
11
|
-
},
|
|
12
|
-
"repository": {
|
|
13
|
-
"type": "git",
|
|
14
|
-
"url": "https://github.com/calvinmetcalf/process-nextick-args.git"
|
|
15
|
-
},
|
|
16
|
-
"author": "",
|
|
17
|
-
"license": "MIT",
|
|
18
|
-
"bugs": {
|
|
19
|
-
"url": "https://github.com/calvinmetcalf/process-nextick-args/issues"
|
|
20
|
-
},
|
|
21
|
-
"homepage": "https://github.com/calvinmetcalf/process-nextick-args",
|
|
22
|
-
"devDependencies": {
|
|
23
|
-
"tap": "~0.2.6"
|
|
24
|
-
}
|
|
25
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
process-nextick-args
|
|
2
|
-
=====
|
|
3
|
-
|
|
4
|
-
[](https://travis-ci.org/calvinmetcalf/process-nextick-args)
|
|
5
|
-
|
|
6
|
-
```bash
|
|
7
|
-
npm install --save process-nextick-args
|
|
8
|
-
```
|
|
9
|
-
|
|
10
|
-
Always be able to pass arguments to process.nextTick, no matter the platform
|
|
11
|
-
|
|
12
|
-
```js
|
|
13
|
-
var pna = require('process-nextick-args');
|
|
14
|
-
|
|
15
|
-
pna.nextTick(function (a, b, c) {
|
|
16
|
-
console.log(a, b, c);
|
|
17
|
-
}, 'step', 3, 'profit');
|
|
18
|
-
```
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
sudo: false
|
|
2
|
-
language: node_js
|
|
3
|
-
before_install:
|
|
4
|
-
- (test $NPM_LEGACY && npm install -g npm@2 && npm install -g npm@3) || true
|
|
5
|
-
notifications:
|
|
6
|
-
email: false
|
|
7
|
-
matrix:
|
|
8
|
-
fast_finish: true
|
|
9
|
-
include:
|
|
10
|
-
- node_js: '0.8'
|
|
11
|
-
env: NPM_LEGACY=true
|
|
12
|
-
- node_js: '0.10'
|
|
13
|
-
env: NPM_LEGACY=true
|
|
14
|
-
- node_js: '0.11'
|
|
15
|
-
env: NPM_LEGACY=true
|
|
16
|
-
- node_js: '0.12'
|
|
17
|
-
env: NPM_LEGACY=true
|
|
18
|
-
- node_js: 1
|
|
19
|
-
env: NPM_LEGACY=true
|
|
20
|
-
- node_js: 2
|
|
21
|
-
env: NPM_LEGACY=true
|
|
22
|
-
- node_js: 3
|
|
23
|
-
env: NPM_LEGACY=true
|
|
24
|
-
- node_js: 4
|
|
25
|
-
- node_js: 5
|
|
26
|
-
- node_js: 6
|
|
27
|
-
- node_js: 7
|
|
28
|
-
- node_js: 8
|
|
29
|
-
- node_js: 9
|
|
30
|
-
script: "npm run test"
|
|
31
|
-
env:
|
|
32
|
-
global:
|
|
33
|
-
- secure: rE2Vvo7vnjabYNULNyLFxOyt98BoJexDqsiOnfiD6kLYYsiQGfr/sbZkPMOFm9qfQG7pjqx+zZWZjGSswhTt+626C0t/njXqug7Yps4c3dFblzGfreQHp7wNX5TFsvrxd6dAowVasMp61sJcRnB2w8cUzoe3RAYUDHyiHktwqMc=
|
|
34
|
-
- secure: g9YINaKAdMatsJ28G9jCGbSaguXCyxSTy+pBO6Ch0Cf57ZLOTka3HqDj8p3nV28LUIHZ3ut5WO43CeYKwt4AUtLpBS3a0dndHdY6D83uY6b2qh5hXlrcbeQTq2cvw2y95F7hm4D1kwrgZ7ViqaKggRcEupAL69YbJnxeUDKWEdI=
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
# Developer's Certificate of Origin 1.1
|
|
2
|
-
|
|
3
|
-
By making a contribution to this project, I certify that:
|
|
4
|
-
|
|
5
|
-
* (a) The contribution was created in whole or in part by me and I
|
|
6
|
-
have the right to submit it under the open source license
|
|
7
|
-
indicated in the file; or
|
|
8
|
-
|
|
9
|
-
* (b) The contribution is based upon previous work that, to the best
|
|
10
|
-
of my knowledge, is covered under an appropriate open source
|
|
11
|
-
license and I have the right under that license to submit that
|
|
12
|
-
work with modifications, whether created in whole or in part
|
|
13
|
-
by me, under the same open source license (unless I am
|
|
14
|
-
permitted to submit under a different license), as indicated
|
|
15
|
-
in the file; or
|
|
16
|
-
|
|
17
|
-
* (c) The contribution was provided directly to me by some other
|
|
18
|
-
person who certified (a), (b) or (c) and I have not modified
|
|
19
|
-
it.
|
|
20
|
-
|
|
21
|
-
* (d) I understand and agree that this project and the contribution
|
|
22
|
-
are public and that a record of the contribution (including all
|
|
23
|
-
personal information I submit with it, including my sign-off) is
|
|
24
|
-
maintained indefinitely and may be redistributed consistent with
|
|
25
|
-
this project or the open source license(s) involved.
|
|
26
|
-
|
|
27
|
-
## Moderation Policy
|
|
28
|
-
|
|
29
|
-
The [Node.js Moderation Policy] applies to this WG.
|
|
30
|
-
|
|
31
|
-
## Code of Conduct
|
|
32
|
-
|
|
33
|
-
The [Node.js Code of Conduct][] applies to this WG.
|
|
34
|
-
|
|
35
|
-
[Node.js Code of Conduct]:
|
|
36
|
-
https://github.com/nodejs/node/blob/master/CODE_OF_CONDUCT.md
|
|
37
|
-
[Node.js Moderation Policy]:
|
|
38
|
-
https://github.com/nodejs/TSC/blob/master/Moderation-Policy.md
|