step-node-agent 3.24.0 → 3.24.1
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/README +3 -1
- package/api/controllers/controller.js +6 -0
- package/api/routes/routes.js +1 -0
- package/node_modules/call-bind/.eslintrc +0 -1
- package/node_modules/call-bind/.nycrc +0 -4
- package/node_modules/call-bind/CHANGELOG.md +35 -0
- package/node_modules/call-bind/README.md +63 -1
- package/node_modules/call-bind/index.js +10 -13
- package/node_modules/call-bind/package.json +33 -23
- package/node_modules/call-bind/test/callBound.js +0 -1
- package/node_modules/call-bind/test/index.js +18 -4
- package/node_modules/define-data-property/.eslintrc +24 -0
- package/node_modules/define-data-property/.github/FUNDING.yml +12 -0
- package/node_modules/define-data-property/.nycrc +13 -0
- package/node_modules/define-data-property/CHANGELOG.md +41 -0
- package/node_modules/define-data-property/LICENSE +21 -0
- package/node_modules/define-data-property/README.md +67 -0
- package/node_modules/define-data-property/index.d.ts +3 -0
- package/node_modules/define-data-property/index.d.ts.map +1 -0
- package/node_modules/define-data-property/index.js +68 -0
- package/node_modules/define-data-property/package.json +113 -0
- package/node_modules/define-data-property/test/index.js +392 -0
- package/node_modules/define-data-property/tsconfig.json +59 -0
- package/node_modules/function-bind/.eslintrc +11 -5
- package/node_modules/function-bind/.github/FUNDING.yml +12 -0
- package/node_modules/function-bind/.github/SECURITY.md +3 -0
- package/node_modules/function-bind/.nycrc +13 -0
- package/node_modules/function-bind/CHANGELOG.md +136 -0
- package/node_modules/function-bind/README.md +25 -27
- package/node_modules/function-bind/implementation.js +44 -12
- package/node_modules/function-bind/package.json +38 -14
- package/node_modules/get-intrinsic/CHANGELOG.md +8 -0
- package/node_modules/get-intrinsic/index.js +1 -1
- package/node_modules/get-intrinsic/package.json +11 -11
- package/node_modules/gopd/.eslintrc +16 -0
- package/node_modules/gopd/.github/FUNDING.yml +12 -0
- package/node_modules/gopd/CHANGELOG.md +25 -0
- package/node_modules/gopd/LICENSE +21 -0
- package/node_modules/gopd/README.md +40 -0
- package/node_modules/gopd/index.js +16 -0
- package/node_modules/gopd/package.json +71 -0
- package/node_modules/gopd/test/index.js +35 -0
- package/node_modules/has-property-descriptors/.eslintrc +13 -0
- package/node_modules/has-property-descriptors/.github/FUNDING.yml +12 -0
- package/node_modules/has-property-descriptors/.nycrc +9 -0
- package/node_modules/has-property-descriptors/CHANGELOG.md +27 -0
- package/node_modules/has-property-descriptors/LICENSE +21 -0
- package/node_modules/has-property-descriptors/README.md +43 -0
- package/node_modules/has-property-descriptors/index.js +33 -0
- package/node_modules/has-property-descriptors/package.json +77 -0
- package/node_modules/has-property-descriptors/test/index.js +57 -0
- package/node_modules/hasown/.eslintrc +5 -0
- package/node_modules/hasown/.github/FUNDING.yml +12 -0
- package/node_modules/hasown/.nycrc +13 -0
- package/node_modules/hasown/CHANGELOG.md +20 -0
- package/node_modules/hasown/LICENSE +21 -0
- package/node_modules/hasown/README.md +40 -0
- package/node_modules/hasown/index.d.ts +3 -0
- package/node_modules/hasown/index.d.ts.map +1 -0
- package/node_modules/hasown/index.js +8 -0
- package/node_modules/hasown/package.json +91 -0
- package/node_modules/hasown/tsconfig.json +49 -0
- package/node_modules/is-core-module/CHANGELOG.md +7 -0
- package/node_modules/is-core-module/index.js +2 -2
- package/node_modules/is-core-module/package.json +4 -4
- package/node_modules/object-inspect/CHANGELOG.md +19 -0
- package/node_modules/object-inspect/index.js +8 -0
- package/node_modules/object-inspect/package.json +8 -6
- package/node_modules/object-inspect/test/global.js +17 -0
- package/node_modules/punycode/README.md +23 -1
- package/node_modules/punycode/package.json +3 -3
- package/node_modules/punycode/punycode.es6.js +1 -1
- package/node_modules/punycode/punycode.js +1 -1
- package/node_modules/set-function-length/.eslintrc +27 -0
- package/node_modules/set-function-length/.github/FUNDING.yml +12 -0
- package/node_modules/set-function-length/.nycrc +13 -0
- package/node_modules/set-function-length/CHANGELOG.md +51 -0
- package/node_modules/set-function-length/LICENSE +21 -0
- package/node_modules/set-function-length/README.md +56 -0
- package/node_modules/set-function-length/env.d.ts +6 -0
- package/node_modules/set-function-length/env.d.ts.map +1 -0
- package/node_modules/set-function-length/env.js +24 -0
- package/node_modules/set-function-length/index.d.ts +7 -0
- package/node_modules/set-function-length/index.d.ts.map +1 -0
- package/node_modules/set-function-length/index.js +44 -0
- package/node_modules/set-function-length/package.json +103 -0
- package/node_modules/set-function-length/tsconfig.json +59 -0
- package/node_modules/sshpk/bin/sshpk-conv +6 -6
- package/node_modules/sshpk/lib/formats/pkcs8.js +24 -12
- package/node_modules/sshpk/package.json +2 -3
- package/package.json +2 -3
- package/node_modules/function-bind/.editorconfig +0 -20
- package/node_modules/function-bind/.jscs.json +0 -176
- package/node_modules/function-bind/.npmignore +0 -22
- package/node_modules/function-bind/.travis.yml +0 -168
- package/node_modules/has/LICENSE-MIT +0 -22
- package/node_modules/has/README.md +0 -18
- package/node_modules/has/package.json +0 -45
- package/node_modules/has/src/index.js +0 -8
- package/node_modules/has/test/index.js +0 -16
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "set-function-length",
|
|
3
|
+
"version": "1.2.0",
|
|
4
|
+
"description": "Set a function's length property",
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"exports": {
|
|
7
|
+
".": "./index.js",
|
|
8
|
+
"./env": "./env.js",
|
|
9
|
+
"./package.json": "./package.json"
|
|
10
|
+
},
|
|
11
|
+
"sideEffects": false,
|
|
12
|
+
"directories": {
|
|
13
|
+
"test": "test"
|
|
14
|
+
},
|
|
15
|
+
"scripts": {
|
|
16
|
+
"prepack": "npmignore --auto --commentLines=autogenerated && npm run emit",
|
|
17
|
+
"prepublish": "not-in-publish || npm run prepublishOnly",
|
|
18
|
+
"prepublishOnly": "safe-publish-latest",
|
|
19
|
+
"tsc": "tsc -p .",
|
|
20
|
+
"preemit": "rm -f *.ts *.ts.map test/*.ts test/*.ts.map",
|
|
21
|
+
"emit": "npm run tsc -- --noEmit false --emitDeclarationOnly",
|
|
22
|
+
"postemit": "rm test/*.ts test/*.ts.map",
|
|
23
|
+
"prelint": "evalmd README.md",
|
|
24
|
+
"lint": "eslint --ext=js,mjs .",
|
|
25
|
+
"postlint": "npm run tsc",
|
|
26
|
+
"pretest": "npm run lint",
|
|
27
|
+
"tests-only": "nyc tape 'test/**/*.js'",
|
|
28
|
+
"test": "npm run tests-only",
|
|
29
|
+
"posttest": "aud --production",
|
|
30
|
+
"version": "auto-changelog && git add CHANGELOG.md",
|
|
31
|
+
"postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
|
|
32
|
+
},
|
|
33
|
+
"repository": {
|
|
34
|
+
"type": "git",
|
|
35
|
+
"url": "git+https://github.com/ljharb/set-function-length.git"
|
|
36
|
+
},
|
|
37
|
+
"keywords": [
|
|
38
|
+
"javascript",
|
|
39
|
+
"ecmascript",
|
|
40
|
+
"set",
|
|
41
|
+
"function",
|
|
42
|
+
"length",
|
|
43
|
+
"function.length"
|
|
44
|
+
],
|
|
45
|
+
"author": "Jordan Harband <ljharb@gmail.com>",
|
|
46
|
+
"license": "MIT",
|
|
47
|
+
"bugs": {
|
|
48
|
+
"url": "https://github.com/ljharb/set-function-length/issues"
|
|
49
|
+
},
|
|
50
|
+
"homepage": "https://github.com/ljharb/set-function-length#readme",
|
|
51
|
+
"dependencies": {
|
|
52
|
+
"define-data-property": "^1.1.1",
|
|
53
|
+
"function-bind": "^1.1.2",
|
|
54
|
+
"get-intrinsic": "^1.2.2",
|
|
55
|
+
"gopd": "^1.0.1",
|
|
56
|
+
"has-property-descriptors": "^1.0.1"
|
|
57
|
+
},
|
|
58
|
+
"devDependencies": {
|
|
59
|
+
"@ljharb/eslint-config": "^21.1.0",
|
|
60
|
+
"@types/call-bind": "^1.0.5",
|
|
61
|
+
"@types/define-properties": "^1.1.5",
|
|
62
|
+
"@types/es-value-fixtures": "^1.4.4",
|
|
63
|
+
"@types/for-each": "^0.3.3",
|
|
64
|
+
"@types/function-bind": "^1.1.10",
|
|
65
|
+
"@types/gopd": "^1.0.3",
|
|
66
|
+
"@types/has-property-descriptors": "^1.0.3",
|
|
67
|
+
"@types/object-inspect": "^1.8.4",
|
|
68
|
+
"@types/tape": "^5.6.4",
|
|
69
|
+
"aud": "^2.0.4",
|
|
70
|
+
"auto-changelog": "^2.4.0",
|
|
71
|
+
"call-bind": "^1.0.5",
|
|
72
|
+
"es-value-fixtures": "^1.4.2",
|
|
73
|
+
"eslint": "=8.8.0",
|
|
74
|
+
"evalmd": "^0.0.19",
|
|
75
|
+
"for-each": "^0.3.3",
|
|
76
|
+
"in-publish": "^2.0.1",
|
|
77
|
+
"npmignore": "^0.3.1",
|
|
78
|
+
"nyc": "^10.3.2",
|
|
79
|
+
"object-inspect": "^1.13.1",
|
|
80
|
+
"safe-publish-latest": "^2.0.0",
|
|
81
|
+
"tape": "^5.7.3",
|
|
82
|
+
"typescript": "^5.4.0-dev.20240113"
|
|
83
|
+
},
|
|
84
|
+
"engines": {
|
|
85
|
+
"node": ">= 0.4"
|
|
86
|
+
},
|
|
87
|
+
"auto-changelog": {
|
|
88
|
+
"output": "CHANGELOG.md",
|
|
89
|
+
"template": "keepachangelog",
|
|
90
|
+
"unreleased": false,
|
|
91
|
+
"commitLimit": false,
|
|
92
|
+
"backfillLimit": false,
|
|
93
|
+
"hideCredit": true
|
|
94
|
+
},
|
|
95
|
+
"publishConfig": {
|
|
96
|
+
"ignore": [
|
|
97
|
+
".github/workflows",
|
|
98
|
+
"test",
|
|
99
|
+
"!*.d.ts",
|
|
100
|
+
"!*.d.ts.map"
|
|
101
|
+
]
|
|
102
|
+
}
|
|
103
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
/* Visit https://aka.ms/tsconfig to read more about this file */
|
|
4
|
+
|
|
5
|
+
/* Projects */
|
|
6
|
+
|
|
7
|
+
/* Language and Environment */
|
|
8
|
+
"target": "es2022", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
|
|
9
|
+
// "lib": [], /* Specify a set of bundled library declaration files that describe the target runtime environment. */
|
|
10
|
+
// "noLib": true, /* Disable including any library files, including the default lib.d.ts. */
|
|
11
|
+
"useDefineForClassFields": true, /* Emit ECMAScript-standard-compliant class fields. */
|
|
12
|
+
// "moduleDetection": "auto", /* Control what method is used to detect module-format JS files. */
|
|
13
|
+
|
|
14
|
+
/* Modules */
|
|
15
|
+
"module": "commonjs", /* Specify what module code is generated. */
|
|
16
|
+
// "rootDir": "./", /* Specify the root folder within your source files. */
|
|
17
|
+
// "moduleResolution": "node10", /* Specify how TypeScript looks up a file from a given module specifier. */
|
|
18
|
+
// "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */
|
|
19
|
+
// "paths": {}, /* Specify a set of entries that re-map imports to additional lookup locations. */
|
|
20
|
+
// "rootDirs": [], /* Allow multiple folders to be treated as one when resolving modules. */
|
|
21
|
+
"typeRoots": ["types"], /* Specify multiple folders that act like './node_modules/@types'. */
|
|
22
|
+
"resolveJsonModule": true, /* Enable importing .json files. */
|
|
23
|
+
|
|
24
|
+
/* JavaScript Support */
|
|
25
|
+
"allowJs": true, /* Allow JavaScript files to be a part of your program. Use the 'checkJS' option to get errors from these files. */
|
|
26
|
+
"checkJs": true, /* Enable error reporting in type-checked JavaScript files. */
|
|
27
|
+
"maxNodeModuleJsDepth": 1, /* Specify the maximum folder depth used for checking JavaScript files from 'node_modules'. Only applicable with 'allowJs'. */
|
|
28
|
+
|
|
29
|
+
/* Emit */
|
|
30
|
+
"declaration": true, /* Generate .d.ts files from TypeScript and JavaScript files in your project. */
|
|
31
|
+
"declarationMap": true, /* Create sourcemaps for d.ts files. */
|
|
32
|
+
// "emitDeclarationOnly": true, /* Only output d.ts files and not JavaScript files. */
|
|
33
|
+
"noEmit": true, /* Disable emitting files from a compilation. */
|
|
34
|
+
|
|
35
|
+
/* Interop Constraints */
|
|
36
|
+
"allowSyntheticDefaultImports": true, /* Allow 'import x from y' when a module doesn't have a default export. */
|
|
37
|
+
"esModuleInterop": true, /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */
|
|
38
|
+
"forceConsistentCasingInFileNames": true, /* Ensure that casing is correct in imports. */
|
|
39
|
+
|
|
40
|
+
/* Type Checking */
|
|
41
|
+
"strict": true, /* Enable all strict type-checking options. */
|
|
42
|
+
"noImplicitAny": true, /* Enable error reporting for expressions and declarations with an implied 'any' type. */
|
|
43
|
+
"noImplicitThis": true, /* Enable error reporting when 'this' is given the type 'any'. */
|
|
44
|
+
"useUnknownInCatchVariables": true, /* Default catch clause variables as 'unknown' instead of 'any'. */
|
|
45
|
+
"noUnusedLocals": true, /* Enable error reporting when local variables aren't read. */
|
|
46
|
+
"noUnusedParameters": true, /* Raise an error when a function parameter isn't read. */
|
|
47
|
+
"noImplicitReturns": true, /* Enable error reporting for codepaths that do not explicitly return in a function. */
|
|
48
|
+
"noFallthroughCasesInSwitch": true, /* Enable error reporting for fallthrough cases in switch statements. */
|
|
49
|
+
"noUncheckedIndexedAccess": true, /* Add 'undefined' to a type when accessed using an index. */
|
|
50
|
+
"noImplicitOverride": true, /* Ensure overriding members in derived classes are marked with an override modifier. */
|
|
51
|
+
// "noPropertyAccessFromIndexSignature": true, /* Enforces using indexed accessors for keys declared using an indexed type. */
|
|
52
|
+
|
|
53
|
+
/* Completeness */
|
|
54
|
+
// "skipLibCheck": true /* Skip type checking all .d.ts files. */
|
|
55
|
+
},
|
|
56
|
+
"exclude": [
|
|
57
|
+
"coverage"
|
|
58
|
+
]
|
|
59
|
+
}
|
|
@@ -91,12 +91,12 @@ if (require.main === module) {
|
|
|
91
91
|
console.error('sshpk-conv: converts between SSH key formats\n');
|
|
92
92
|
console.error(help);
|
|
93
93
|
console.error('\navailable key formats:');
|
|
94
|
-
console.error('
|
|
95
|
-
console.error('
|
|
96
|
-
console.error('
|
|
97
|
-
console.error('
|
|
98
|
-
console.error('
|
|
99
|
-
console.error('
|
|
94
|
+
console.error(' - pem, pkcs1 eg id_rsa');
|
|
95
|
+
console.error(' - ssh eg id_rsa.pub');
|
|
96
|
+
console.error(' - pkcs8 format you want for openssl');
|
|
97
|
+
console.error(' - openssh like output of ssh-keygen -o');
|
|
98
|
+
console.error(' - rfc4253 raw OpenSSH wire format');
|
|
99
|
+
console.error(' - dnssec dnssec-keygen format');
|
|
100
100
|
console.error(' - putty PuTTY ppk format');
|
|
101
101
|
console.error('\navailable fingerprint formats:');
|
|
102
102
|
console.error(' - hex colon-separated hex for SSH');
|
|
@@ -385,13 +385,17 @@ function readPkcs8EdDSAPrivate(der) {
|
|
|
385
385
|
var k = der.readString(asn1.Ber.OctetString, true);
|
|
386
386
|
k = utils.zeroPadToLength(k, 32);
|
|
387
387
|
|
|
388
|
-
var A;
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
388
|
+
var A, tag;
|
|
389
|
+
while ((tag = der.peek()) !== null) {
|
|
390
|
+
if (tag === (asn1.Ber.Context | 1)) {
|
|
391
|
+
A = utils.readBitString(der, tag);
|
|
392
|
+
} else {
|
|
393
|
+
der.readSequence(tag);
|
|
394
|
+
der._offset += der.length;
|
|
395
|
+
}
|
|
394
396
|
}
|
|
397
|
+
if (A === undefined)
|
|
398
|
+
A = utils.calculateED25519Public(k);
|
|
395
399
|
|
|
396
400
|
var key = {
|
|
397
401
|
type: 'ed25519',
|
|
@@ -435,8 +439,11 @@ function writePkcs8(der, key) {
|
|
|
435
439
|
der.startSequence();
|
|
436
440
|
|
|
437
441
|
if (PrivateKey.isPrivateKey(key)) {
|
|
438
|
-
var
|
|
439
|
-
|
|
442
|
+
var version = 0;
|
|
443
|
+
if (key.type === 'ed25519')
|
|
444
|
+
version = 1;
|
|
445
|
+
var vbuf = Buffer.from([version]);
|
|
446
|
+
der.writeBuffer(vbuf, asn1.Ber.Integer);
|
|
440
447
|
}
|
|
441
448
|
|
|
442
449
|
der.startSequence();
|
|
@@ -465,9 +472,9 @@ function writePkcs8(der, key) {
|
|
|
465
472
|
case 'ed25519':
|
|
466
473
|
der.writeOID('1.3.101.112');
|
|
467
474
|
if (PrivateKey.isPrivateKey(key))
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
475
|
+
writePkcs8EdDSAPrivate(key, der);
|
|
476
|
+
else
|
|
477
|
+
writePkcs8EdDSAPublic(key, der);
|
|
471
478
|
break;
|
|
472
479
|
default:
|
|
473
480
|
throw (new Error('Unsupported key type: ' + key.type));
|
|
@@ -624,8 +631,13 @@ function writePkcs8EdDSAPublic(key, der) {
|
|
|
624
631
|
function writePkcs8EdDSAPrivate(key, der) {
|
|
625
632
|
der.endSequence();
|
|
626
633
|
|
|
627
|
-
var k = utils.mpNormalize(key.part.k.data, true);
|
|
628
634
|
der.startSequence(asn1.Ber.OctetString);
|
|
635
|
+
var k = utils.mpNormalize(key.part.k.data);
|
|
636
|
+
/* RFCs call for storing exactly 32 bytes, so strip any leading zeros */
|
|
637
|
+
while (k.length > 32 && k[0] === 0x00)
|
|
638
|
+
k = k.slice(1);
|
|
629
639
|
der.writeBuffer(k, asn1.Ber.OctetString);
|
|
630
640
|
der.endSequence();
|
|
641
|
+
|
|
642
|
+
utils.writeBitString(der, key.part.A.data, asn1.Ber.Context | 1);
|
|
631
643
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sshpk",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.18.0",
|
|
4
4
|
"description": "A library for finding and using SSH public keys",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -49,8 +49,7 @@
|
|
|
49
49
|
"ecc-jsbn": "~0.1.1",
|
|
50
50
|
"bcrypt-pbkdf": "^1.0.0"
|
|
51
51
|
},
|
|
52
|
-
"optionalDependencies": {
|
|
53
|
-
},
|
|
52
|
+
"optionalDependencies": {},
|
|
54
53
|
"devDependencies": {
|
|
55
54
|
"tape": "^3.5.0",
|
|
56
55
|
"benchmark": "^1.0.0",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "step-node-agent",
|
|
3
|
-
"version": "3.24.
|
|
3
|
+
"version": "3.24.1",
|
|
4
4
|
"description": "The official STEP Agent implementation for Node.js",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -9,8 +9,7 @@
|
|
|
9
9
|
"start": "node server.js",
|
|
10
10
|
"test": "node test/test.js",
|
|
11
11
|
"build": "",
|
|
12
|
-
"
|
|
13
|
-
"push": "npm publish"
|
|
12
|
+
"deploy": "npm publish"
|
|
14
13
|
},
|
|
15
14
|
"author": "Jerome Comte",
|
|
16
15
|
"license": "AGPL-3.0",
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
root = true
|
|
2
|
-
|
|
3
|
-
[*]
|
|
4
|
-
indent_style = tab
|
|
5
|
-
indent_size = 4
|
|
6
|
-
end_of_line = lf
|
|
7
|
-
charset = utf-8
|
|
8
|
-
trim_trailing_whitespace = true
|
|
9
|
-
insert_final_newline = true
|
|
10
|
-
max_line_length = 120
|
|
11
|
-
|
|
12
|
-
[CHANGELOG.md]
|
|
13
|
-
indent_style = space
|
|
14
|
-
indent_size = 2
|
|
15
|
-
|
|
16
|
-
[*.json]
|
|
17
|
-
max_line_length = off
|
|
18
|
-
|
|
19
|
-
[Makefile]
|
|
20
|
-
max_line_length = off
|
|
@@ -1,176 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"es3": true,
|
|
3
|
-
|
|
4
|
-
"additionalRules": [],
|
|
5
|
-
|
|
6
|
-
"requireSemicolons": true,
|
|
7
|
-
|
|
8
|
-
"disallowMultipleSpaces": true,
|
|
9
|
-
|
|
10
|
-
"disallowIdentifierNames": [],
|
|
11
|
-
|
|
12
|
-
"requireCurlyBraces": {
|
|
13
|
-
"allExcept": [],
|
|
14
|
-
"keywords": ["if", "else", "for", "while", "do", "try", "catch"]
|
|
15
|
-
},
|
|
16
|
-
|
|
17
|
-
"requireSpaceAfterKeywords": ["if", "else", "for", "while", "do", "switch", "return", "try", "catch", "function"],
|
|
18
|
-
|
|
19
|
-
"disallowSpaceAfterKeywords": [],
|
|
20
|
-
|
|
21
|
-
"disallowSpaceBeforeComma": true,
|
|
22
|
-
"disallowSpaceAfterComma": false,
|
|
23
|
-
"disallowSpaceBeforeSemicolon": true,
|
|
24
|
-
|
|
25
|
-
"disallowNodeTypes": [
|
|
26
|
-
"DebuggerStatement",
|
|
27
|
-
"ForInStatement",
|
|
28
|
-
"LabeledStatement",
|
|
29
|
-
"SwitchCase",
|
|
30
|
-
"SwitchStatement",
|
|
31
|
-
"WithStatement"
|
|
32
|
-
],
|
|
33
|
-
|
|
34
|
-
"requireObjectKeysOnNewLine": { "allExcept": ["sameLine"] },
|
|
35
|
-
|
|
36
|
-
"requireSpacesInAnonymousFunctionExpression": { "beforeOpeningRoundBrace": true, "beforeOpeningCurlyBrace": true },
|
|
37
|
-
"requireSpacesInNamedFunctionExpression": { "beforeOpeningCurlyBrace": true },
|
|
38
|
-
"disallowSpacesInNamedFunctionExpression": { "beforeOpeningRoundBrace": true },
|
|
39
|
-
"requireSpacesInFunctionDeclaration": { "beforeOpeningCurlyBrace": true },
|
|
40
|
-
"disallowSpacesInFunctionDeclaration": { "beforeOpeningRoundBrace": true },
|
|
41
|
-
|
|
42
|
-
"requireSpaceBetweenArguments": true,
|
|
43
|
-
|
|
44
|
-
"disallowSpacesInsideParentheses": true,
|
|
45
|
-
|
|
46
|
-
"disallowSpacesInsideArrayBrackets": true,
|
|
47
|
-
|
|
48
|
-
"disallowQuotedKeysInObjects": { "allExcept": ["reserved"] },
|
|
49
|
-
|
|
50
|
-
"disallowSpaceAfterObjectKeys": true,
|
|
51
|
-
|
|
52
|
-
"requireCommaBeforeLineBreak": true,
|
|
53
|
-
|
|
54
|
-
"disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-", "~", "!"],
|
|
55
|
-
"requireSpaceAfterPrefixUnaryOperators": [],
|
|
56
|
-
|
|
57
|
-
"disallowSpaceBeforePostfixUnaryOperators": ["++", "--"],
|
|
58
|
-
"requireSpaceBeforePostfixUnaryOperators": [],
|
|
59
|
-
|
|
60
|
-
"disallowSpaceBeforeBinaryOperators": [],
|
|
61
|
-
"requireSpaceBeforeBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!=="],
|
|
62
|
-
|
|
63
|
-
"requireSpaceAfterBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!=="],
|
|
64
|
-
"disallowSpaceAfterBinaryOperators": [],
|
|
65
|
-
|
|
66
|
-
"disallowImplicitTypeConversion": ["binary", "string"],
|
|
67
|
-
|
|
68
|
-
"disallowKeywords": ["with", "eval"],
|
|
69
|
-
|
|
70
|
-
"requireKeywordsOnNewLine": [],
|
|
71
|
-
"disallowKeywordsOnNewLine": ["else"],
|
|
72
|
-
|
|
73
|
-
"requireLineFeedAtFileEnd": true,
|
|
74
|
-
|
|
75
|
-
"disallowTrailingWhitespace": true,
|
|
76
|
-
|
|
77
|
-
"disallowTrailingComma": true,
|
|
78
|
-
|
|
79
|
-
"excludeFiles": ["node_modules/**", "vendor/**"],
|
|
80
|
-
|
|
81
|
-
"disallowMultipleLineStrings": true,
|
|
82
|
-
|
|
83
|
-
"requireDotNotation": { "allExcept": ["keywords"] },
|
|
84
|
-
|
|
85
|
-
"requireParenthesesAroundIIFE": true,
|
|
86
|
-
|
|
87
|
-
"validateLineBreaks": "LF",
|
|
88
|
-
|
|
89
|
-
"validateQuoteMarks": {
|
|
90
|
-
"escape": true,
|
|
91
|
-
"mark": "'"
|
|
92
|
-
},
|
|
93
|
-
|
|
94
|
-
"disallowOperatorBeforeLineBreak": [],
|
|
95
|
-
|
|
96
|
-
"requireSpaceBeforeKeywords": [
|
|
97
|
-
"do",
|
|
98
|
-
"for",
|
|
99
|
-
"if",
|
|
100
|
-
"else",
|
|
101
|
-
"switch",
|
|
102
|
-
"case",
|
|
103
|
-
"try",
|
|
104
|
-
"catch",
|
|
105
|
-
"finally",
|
|
106
|
-
"while",
|
|
107
|
-
"with",
|
|
108
|
-
"return"
|
|
109
|
-
],
|
|
110
|
-
|
|
111
|
-
"validateAlignedFunctionParameters": {
|
|
112
|
-
"lineBreakAfterOpeningBraces": true,
|
|
113
|
-
"lineBreakBeforeClosingBraces": true
|
|
114
|
-
},
|
|
115
|
-
|
|
116
|
-
"requirePaddingNewLinesBeforeExport": true,
|
|
117
|
-
|
|
118
|
-
"validateNewlineAfterArrayElements": {
|
|
119
|
-
"maximum": 8
|
|
120
|
-
},
|
|
121
|
-
|
|
122
|
-
"requirePaddingNewLinesAfterUseStrict": true,
|
|
123
|
-
|
|
124
|
-
"disallowArrowFunctions": true,
|
|
125
|
-
|
|
126
|
-
"disallowMultiLineTernary": true,
|
|
127
|
-
|
|
128
|
-
"validateOrderInObjectKeys": "asc-insensitive",
|
|
129
|
-
|
|
130
|
-
"disallowIdenticalDestructuringNames": true,
|
|
131
|
-
|
|
132
|
-
"disallowNestedTernaries": { "maxLevel": 1 },
|
|
133
|
-
|
|
134
|
-
"requireSpaceAfterComma": { "allExcept": ["trailing"] },
|
|
135
|
-
"requireAlignedMultilineParams": false,
|
|
136
|
-
|
|
137
|
-
"requireSpacesInGenerator": {
|
|
138
|
-
"afterStar": true
|
|
139
|
-
},
|
|
140
|
-
|
|
141
|
-
"disallowSpacesInGenerator": {
|
|
142
|
-
"beforeStar": true
|
|
143
|
-
},
|
|
144
|
-
|
|
145
|
-
"disallowVar": false,
|
|
146
|
-
|
|
147
|
-
"requireArrayDestructuring": false,
|
|
148
|
-
|
|
149
|
-
"requireEnhancedObjectLiterals": false,
|
|
150
|
-
|
|
151
|
-
"requireObjectDestructuring": false,
|
|
152
|
-
|
|
153
|
-
"requireEarlyReturn": false,
|
|
154
|
-
|
|
155
|
-
"requireCapitalizedConstructorsNew": {
|
|
156
|
-
"allExcept": ["Function", "String", "Object", "Symbol", "Number", "Date", "RegExp", "Error", "Boolean", "Array"]
|
|
157
|
-
},
|
|
158
|
-
|
|
159
|
-
"requireImportAlphabetized": false,
|
|
160
|
-
|
|
161
|
-
"requireSpaceBeforeObjectValues": true,
|
|
162
|
-
"requireSpaceBeforeDestructuredValues": true,
|
|
163
|
-
|
|
164
|
-
"disallowSpacesInsideTemplateStringPlaceholders": true,
|
|
165
|
-
|
|
166
|
-
"disallowArrayDestructuringReturn": false,
|
|
167
|
-
|
|
168
|
-
"requireNewlineBeforeSingleStatementsInIf": false,
|
|
169
|
-
|
|
170
|
-
"disallowUnusedVariables": true,
|
|
171
|
-
|
|
172
|
-
"requireSpacesInsideImportedObjectBraces": true,
|
|
173
|
-
|
|
174
|
-
"requireUseStrict": true
|
|
175
|
-
}
|
|
176
|
-
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
# gitignore
|
|
2
|
-
.DS_Store
|
|
3
|
-
.monitor
|
|
4
|
-
.*.swp
|
|
5
|
-
.nodemonignore
|
|
6
|
-
releases
|
|
7
|
-
*.log
|
|
8
|
-
*.err
|
|
9
|
-
fleet.json
|
|
10
|
-
public/browserify
|
|
11
|
-
bin/*.json
|
|
12
|
-
.bin
|
|
13
|
-
build
|
|
14
|
-
compile
|
|
15
|
-
.lock-wscript
|
|
16
|
-
coverage
|
|
17
|
-
node_modules
|
|
18
|
-
|
|
19
|
-
# Only apps should have lockfiles
|
|
20
|
-
npm-shrinkwrap.json
|
|
21
|
-
package-lock.json
|
|
22
|
-
yarn.lock
|
|
@@ -1,168 +0,0 @@
|
|
|
1
|
-
language: node_js
|
|
2
|
-
os:
|
|
3
|
-
- linux
|
|
4
|
-
node_js:
|
|
5
|
-
- "8.4"
|
|
6
|
-
- "7.10"
|
|
7
|
-
- "6.11"
|
|
8
|
-
- "5.12"
|
|
9
|
-
- "4.8"
|
|
10
|
-
- "iojs-v3.3"
|
|
11
|
-
- "iojs-v2.5"
|
|
12
|
-
- "iojs-v1.8"
|
|
13
|
-
- "0.12"
|
|
14
|
-
- "0.10"
|
|
15
|
-
- "0.8"
|
|
16
|
-
before_install:
|
|
17
|
-
- 'if [ "${TRAVIS_NODE_VERSION}" = "0.6" ]; then npm install -g npm@1.3 ; elif [ "${TRAVIS_NODE_VERSION}" != "0.9" ]; then case "$(npm --version)" in 1.*) npm install -g npm@1.4.28 ;; 2.*) npm install -g npm@2 ;; esac ; fi'
|
|
18
|
-
- 'if [ "${TRAVIS_NODE_VERSION}" != "0.6" ] && [ "${TRAVIS_NODE_VERSION}" != "0.9" ]; then if [ "${TRAVIS_NODE_VERSION%${TRAVIS_NODE_VERSION#[0-9]}}" = "0" ] || [ "${TRAVIS_NODE_VERSION:0:4}" = "iojs" ]; then npm install -g npm@4.5 ; else npm install -g npm; fi; fi'
|
|
19
|
-
install:
|
|
20
|
-
- 'if [ "${TRAVIS_NODE_VERSION}" = "0.6" ]; then nvm install 0.8 && npm install -g npm@1.3 && npm install -g npm@1.4.28 && npm install -g npm@2 && npm install && nvm use "${TRAVIS_NODE_VERSION}"; else npm install; fi;'
|
|
21
|
-
script:
|
|
22
|
-
- 'if [ -n "${PRETEST-}" ]; then npm run pretest ; fi'
|
|
23
|
-
- 'if [ -n "${POSTTEST-}" ]; then npm run posttest ; fi'
|
|
24
|
-
- 'if [ -n "${COVERAGE-}" ]; then npm run coverage ; fi'
|
|
25
|
-
- 'if [ -n "${TEST-}" ]; then npm run tests-only ; fi'
|
|
26
|
-
sudo: false
|
|
27
|
-
env:
|
|
28
|
-
- TEST=true
|
|
29
|
-
matrix:
|
|
30
|
-
fast_finish: true
|
|
31
|
-
include:
|
|
32
|
-
- node_js: "node"
|
|
33
|
-
env: PRETEST=true
|
|
34
|
-
- node_js: "4"
|
|
35
|
-
env: COVERAGE=true
|
|
36
|
-
- node_js: "8.3"
|
|
37
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
38
|
-
- node_js: "8.2"
|
|
39
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
40
|
-
- node_js: "8.1"
|
|
41
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
42
|
-
- node_js: "8.0"
|
|
43
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
44
|
-
- node_js: "7.9"
|
|
45
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
46
|
-
- node_js: "7.8"
|
|
47
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
48
|
-
- node_js: "7.7"
|
|
49
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
50
|
-
- node_js: "7.6"
|
|
51
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
52
|
-
- node_js: "7.5"
|
|
53
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
54
|
-
- node_js: "7.4"
|
|
55
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
56
|
-
- node_js: "7.3"
|
|
57
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
58
|
-
- node_js: "7.2"
|
|
59
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
60
|
-
- node_js: "7.1"
|
|
61
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
62
|
-
- node_js: "7.0"
|
|
63
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
64
|
-
- node_js: "6.10"
|
|
65
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
66
|
-
- node_js: "6.9"
|
|
67
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
68
|
-
- node_js: "6.8"
|
|
69
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
70
|
-
- node_js: "6.7"
|
|
71
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
72
|
-
- node_js: "6.6"
|
|
73
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
74
|
-
- node_js: "6.5"
|
|
75
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
76
|
-
- node_js: "6.4"
|
|
77
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
78
|
-
- node_js: "6.3"
|
|
79
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
80
|
-
- node_js: "6.2"
|
|
81
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
82
|
-
- node_js: "6.1"
|
|
83
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
84
|
-
- node_js: "6.0"
|
|
85
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
86
|
-
- node_js: "5.11"
|
|
87
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
88
|
-
- node_js: "5.10"
|
|
89
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
90
|
-
- node_js: "5.9"
|
|
91
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
92
|
-
- node_js: "5.8"
|
|
93
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
94
|
-
- node_js: "5.7"
|
|
95
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
96
|
-
- node_js: "5.6"
|
|
97
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
98
|
-
- node_js: "5.5"
|
|
99
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
100
|
-
- node_js: "5.4"
|
|
101
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
102
|
-
- node_js: "5.3"
|
|
103
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
104
|
-
- node_js: "5.2"
|
|
105
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
106
|
-
- node_js: "5.1"
|
|
107
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
108
|
-
- node_js: "5.0"
|
|
109
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
110
|
-
- node_js: "4.7"
|
|
111
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
112
|
-
- node_js: "4.6"
|
|
113
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
114
|
-
- node_js: "4.5"
|
|
115
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
116
|
-
- node_js: "4.4"
|
|
117
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
118
|
-
- node_js: "4.3"
|
|
119
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
120
|
-
- node_js: "4.2"
|
|
121
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
122
|
-
- node_js: "4.1"
|
|
123
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
124
|
-
- node_js: "4.0"
|
|
125
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
126
|
-
- node_js: "iojs-v3.2"
|
|
127
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
128
|
-
- node_js: "iojs-v3.1"
|
|
129
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
130
|
-
- node_js: "iojs-v3.0"
|
|
131
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
132
|
-
- node_js: "iojs-v2.4"
|
|
133
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
134
|
-
- node_js: "iojs-v2.3"
|
|
135
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
136
|
-
- node_js: "iojs-v2.2"
|
|
137
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
138
|
-
- node_js: "iojs-v2.1"
|
|
139
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
140
|
-
- node_js: "iojs-v2.0"
|
|
141
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
142
|
-
- node_js: "iojs-v1.7"
|
|
143
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
144
|
-
- node_js: "iojs-v1.6"
|
|
145
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
146
|
-
- node_js: "iojs-v1.5"
|
|
147
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
148
|
-
- node_js: "iojs-v1.4"
|
|
149
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
150
|
-
- node_js: "iojs-v1.3"
|
|
151
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
152
|
-
- node_js: "iojs-v1.2"
|
|
153
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
154
|
-
- node_js: "iojs-v1.1"
|
|
155
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
156
|
-
- node_js: "iojs-v1.0"
|
|
157
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
158
|
-
- node_js: "0.11"
|
|
159
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
160
|
-
- node_js: "0.9"
|
|
161
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
162
|
-
- node_js: "0.6"
|
|
163
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
164
|
-
- node_js: "0.4"
|
|
165
|
-
env: TEST=true ALLOW_FAILURE=true
|
|
166
|
-
allow_failures:
|
|
167
|
-
- os: osx
|
|
168
|
-
- env: TEST=true ALLOW_FAILURE=true
|