step-node-agent 3.24.0 → 3.24.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/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 +51 -0
- package/node_modules/call-bind/README.md +63 -1
- package/node_modules/call-bind/index.js +11 -23
- package/node_modules/call-bind/package.json +38 -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 +70 -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 +12 -0
- package/node_modules/define-data-property/index.js +56 -0
- package/node_modules/define-data-property/package.json +106 -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/es-define-property/.eslintrc +13 -0
- package/node_modules/es-define-property/.github/FUNDING.yml +12 -0
- package/node_modules/es-define-property/.nycrc +9 -0
- package/node_modules/es-define-property/CHANGELOG.md +15 -0
- package/node_modules/es-define-property/LICENSE +21 -0
- package/node_modules/es-define-property/README.md +49 -0
- package/node_modules/es-define-property/index.d.ts +3 -0
- package/node_modules/es-define-property/index.js +16 -0
- package/node_modules/es-define-property/package.json +81 -0
- package/node_modules/es-define-property/test/index.js +55 -0
- package/node_modules/es-define-property/tsconfig.json +50 -0
- package/node_modules/es-errors/.eslintrc +5 -0
- package/node_modules/es-errors/.github/FUNDING.yml +12 -0
- package/node_modules/es-errors/CHANGELOG.md +40 -0
- package/node_modules/es-errors/LICENSE +21 -0
- package/node_modules/es-errors/README.md +55 -0
- package/node_modules/es-errors/eval.d.ts +3 -0
- package/node_modules/es-errors/eval.js +4 -0
- package/node_modules/es-errors/index.d.ts +3 -0
- package/node_modules/es-errors/index.js +4 -0
- package/node_modules/es-errors/package.json +80 -0
- package/node_modules/es-errors/range.d.ts +3 -0
- package/node_modules/es-errors/range.js +4 -0
- package/node_modules/es-errors/ref.d.ts +3 -0
- package/node_modules/es-errors/ref.js +4 -0
- package/node_modules/es-errors/syntax.d.ts +3 -0
- package/node_modules/es-errors/syntax.js +4 -0
- package/node_modules/es-errors/test/index.js +19 -0
- package/node_modules/es-errors/tsconfig.json +49 -0
- package/node_modules/es-errors/type.d.ts +3 -0
- package/node_modules/es-errors/type.js +4 -0
- package/node_modules/es-errors/uri.d.ts +3 -0
- package/node_modules/es-errors/uri.js +4 -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 +26 -0
- package/node_modules/get-intrinsic/index.js +16 -8
- package/node_modules/get-intrinsic/package.json +18 -18
- 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 +35 -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 +22 -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/has-proto/CHANGELOG.md +15 -0
- package/node_modules/has-proto/index.d.ts +3 -0
- package/node_modules/has-proto/index.js +5 -1
- package/node_modules/has-proto/package.json +9 -5
- package/node_modules/has-proto/tsconfig.json +49 -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 +28 -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.js +8 -0
- package/node_modules/hasown/package.json +89 -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 +59 -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 +104 -0
- package/node_modules/set-function-length/tsconfig.json +59 -0
- package/node_modules/{function-bind → side-channel}/.editorconfig +3 -14
- package/node_modules/side-channel/.eslintrc +1 -1
- package/node_modules/side-channel/CHANGELOG.md +21 -0
- package/node_modules/side-channel/index.js +6 -13
- package/node_modules/side-channel/package.json +28 -13
- package/node_modules/side-channel/test/index.js +5 -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/.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
- package/node_modules/side-channel/.eslintignore +0 -1
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
|
|
5
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
|
|
6
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
|
+
|
|
8
|
+
## [v1.2.1](https://github.com/ljharb/set-function-length/compare/v1.2.0...v1.2.1) - 2024-02-06
|
|
9
|
+
|
|
10
|
+
### Commits
|
|
11
|
+
|
|
12
|
+
- [Dev Deps] update `call-bind`, `tape`, `typescript` [`d9a4601`](https://github.com/ljharb/set-function-length/commit/d9a460199c4c1fa37da9ebe055e2c884128f0738)
|
|
13
|
+
- [Deps] update `define-data-property`, `get-intrinsic` [`38d39ae`](https://github.com/ljharb/set-function-length/commit/38d39aed13a757ed36211d5b0437b88485090c6b)
|
|
14
|
+
- [Refactor] use `es-errors`, so things that only need those do not need `get-intrinsic` [`b4bfe5a`](https://github.com/ljharb/set-function-length/commit/b4bfe5ae0953b906d55b85f867eca5e7f673ebf4)
|
|
15
|
+
|
|
16
|
+
## [v1.2.0](https://github.com/ljharb/set-function-length/compare/v1.1.1...v1.2.0) - 2024-01-14
|
|
17
|
+
|
|
18
|
+
### Commits
|
|
19
|
+
|
|
20
|
+
- [New] add types [`f6d9088`](https://github.com/ljharb/set-function-length/commit/f6d9088b9283a3112b21c6776e8bef6d1f30558a)
|
|
21
|
+
- [Fix] ensure `env` properties are always booleans [`0c42f84`](https://github.com/ljharb/set-function-length/commit/0c42f84979086389b3229e1b4272697fd352275a)
|
|
22
|
+
- [Dev Deps] update `aud`, `call-bind`, `npmignore`, `tape` [`2b75f75`](https://github.com/ljharb/set-function-length/commit/2b75f75468093a4bb8ce8ca989b2edd2e80d95d1)
|
|
23
|
+
- [Deps] update `get-intrinsic`, `has-property-descriptors` [`19bf0fc`](https://github.com/ljharb/set-function-length/commit/19bf0fc4ffaa5ad425acbfa150516be9f3b6263a)
|
|
24
|
+
- [meta] add `sideEffects` flag [`8bb9b78`](https://github.com/ljharb/set-function-length/commit/8bb9b78c11c621123f725c9470222f43466c01d0)
|
|
25
|
+
|
|
26
|
+
## [v1.1.1](https://github.com/ljharb/set-function-length/compare/v1.1.0...v1.1.1) - 2023-10-19
|
|
27
|
+
|
|
28
|
+
### Fixed
|
|
29
|
+
|
|
30
|
+
- [Fix] move `define-data-property` to runtime deps [`#2`](https://github.com/ljharb/set-function-length/issues/2)
|
|
31
|
+
|
|
32
|
+
### Commits
|
|
33
|
+
|
|
34
|
+
- [Dev Deps] update `object-inspect`; add missing `call-bind` [`5aecf79`](https://github.com/ljharb/set-function-length/commit/5aecf79e7d6400957a5d9bd9ac20d4528908ca18)
|
|
35
|
+
|
|
36
|
+
## [v1.1.0](https://github.com/ljharb/set-function-length/compare/v1.0.1...v1.1.0) - 2023-10-13
|
|
37
|
+
|
|
38
|
+
### Commits
|
|
39
|
+
|
|
40
|
+
- [New] add `env` entry point [`475c87a`](https://github.com/ljharb/set-function-length/commit/475c87aa2f59b700aaed589d980624ec596acdcb)
|
|
41
|
+
- [Tests] add coverage with `nyc` [`14f0bf8`](https://github.com/ljharb/set-function-length/commit/14f0bf8c145ae60bf14a026420a06bb7be132c36)
|
|
42
|
+
- [eslint] fix linting failure [`fb516f9`](https://github.com/ljharb/set-function-length/commit/fb516f93c664057138c53559ef63c8622a093335)
|
|
43
|
+
- [Deps] update `define-data-property` [`d727e7c`](https://github.com/ljharb/set-function-length/commit/d727e7c6c9a40d7bf26797694e500ea68741feea)
|
|
44
|
+
|
|
45
|
+
## [v1.0.1](https://github.com/ljharb/set-function-length/compare/v1.0.0...v1.0.1) - 2023-10-12
|
|
46
|
+
|
|
47
|
+
### Commits
|
|
48
|
+
|
|
49
|
+
- [Refactor] use `get-intrinsic`, since it‘s in the dep graph anyways [`278a954`](https://github.com/ljharb/set-function-length/commit/278a954a06cd849051c569ff7aee56df6798933e)
|
|
50
|
+
- [meta] add `exports` [`72acfe5`](https://github.com/ljharb/set-function-length/commit/72acfe5a0310071fb205a72caba5ecbab24336a0)
|
|
51
|
+
|
|
52
|
+
## v1.0.0 - 2023-10-12
|
|
53
|
+
|
|
54
|
+
### Commits
|
|
55
|
+
|
|
56
|
+
- Initial implementation, tests, readme [`fce14e1`](https://github.com/ljharb/set-function-length/commit/fce14e17586460e4f294405173be72b6ffdf7e5f)
|
|
57
|
+
- Initial commit [`ca7ba85`](https://github.com/ljharb/set-function-length/commit/ca7ba857c7c283f9d26e21f14e71cd388f2cb722)
|
|
58
|
+
- npm init [`6a7e493`](https://github.com/ljharb/set-function-length/commit/6a7e493927736cebcaf5c1a84e69b8e6b7b744d8)
|
|
59
|
+
- Only apps should have lockfiles [`d2bf6c4`](https://github.com/ljharb/set-function-length/commit/d2bf6c43de8a51b02a0aa53e8d62cb50c4a2b0da)
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) Jordan Harband and contributors
|
|
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 all
|
|
13
|
+
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 THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
# set-function-length <sup>[![Version Badge][npm-version-svg]][package-url]</sup>
|
|
2
|
+
|
|
3
|
+
[![github actions][actions-image]][actions-url]
|
|
4
|
+
[![coverage][codecov-image]][codecov-url]
|
|
5
|
+
[![License][license-image]][license-url]
|
|
6
|
+
[![Downloads][downloads-image]][downloads-url]
|
|
7
|
+
|
|
8
|
+
[![npm badge][npm-badge-png]][package-url]
|
|
9
|
+
|
|
10
|
+
Set a function’s length.
|
|
11
|
+
|
|
12
|
+
Arguments:
|
|
13
|
+
- `fn`: the function
|
|
14
|
+
- `length`: the new length. Must be an integer between 0 and 2**32.
|
|
15
|
+
- `loose`: Optional. If true, and the length fails to be set, do not throw. Default false.
|
|
16
|
+
|
|
17
|
+
Returns `fn`.
|
|
18
|
+
|
|
19
|
+
## Usage
|
|
20
|
+
|
|
21
|
+
```javascript
|
|
22
|
+
var setFunctionLength = require('set-function-length');
|
|
23
|
+
var assert = require('assert');
|
|
24
|
+
|
|
25
|
+
function zero() {}
|
|
26
|
+
function one(_) {}
|
|
27
|
+
function two(_, __) {}
|
|
28
|
+
|
|
29
|
+
assert.equal(zero.length, 0);
|
|
30
|
+
assert.equal(one.length, 1);
|
|
31
|
+
assert.equal(two.length, 2);
|
|
32
|
+
|
|
33
|
+
assert.equal(setFunctionLength(zero, 10), zero);
|
|
34
|
+
assert.equal(setFunctionLength(one, 11), one);
|
|
35
|
+
assert.equal(setFunctionLength(two, 12), two);
|
|
36
|
+
|
|
37
|
+
assert.equal(zero.length, 10);
|
|
38
|
+
assert.equal(one.length, 11);
|
|
39
|
+
assert.equal(two.length, 12);
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
[package-url]: https://npmjs.org/package/set-function-length
|
|
43
|
+
[npm-version-svg]: https://versionbadg.es/ljharb/set-function-length.svg
|
|
44
|
+
[deps-svg]: https://david-dm.org/ljharb/set-function-length.svg
|
|
45
|
+
[deps-url]: https://david-dm.org/ljharb/set-function-length
|
|
46
|
+
[dev-deps-svg]: https://david-dm.org/ljharb/set-function-length/dev-status.svg
|
|
47
|
+
[dev-deps-url]: https://david-dm.org/ljharb/set-function-length#info=devDependencies
|
|
48
|
+
[npm-badge-png]: https://nodei.co/npm/set-function-length.png?downloads=true&stars=true
|
|
49
|
+
[license-image]: https://img.shields.io/npm/l/set-function-length.svg
|
|
50
|
+
[license-url]: LICENSE
|
|
51
|
+
[downloads-image]: https://img.shields.io/npm/dm/set-function-length.svg
|
|
52
|
+
[downloads-url]: https://npm-stat.com/charts.html?package=set-function-length
|
|
53
|
+
[codecov-image]: https://codecov.io/gh/ljharb/set-function-length/branch/main/graphs/badge.svg
|
|
54
|
+
[codecov-url]: https://app.codecov.io/gh/ljharb/set-function-length/
|
|
55
|
+
[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/ljharb/set-function-length
|
|
56
|
+
[actions-url]: https://github.com/ljharb/set-function-length/actions
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export var boundFnsHaveConfigurableLengths: boolean;
|
|
2
|
+
export var boundFnsHaveWritableLengths: boolean;
|
|
3
|
+
export var functionsHaveConfigurableLengths: boolean;
|
|
4
|
+
export var functionsHaveWritableLengths: boolean;
|
|
5
|
+
export declare let __proto__: null;
|
|
6
|
+
//# sourceMappingURL=env.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"env.d.ts","sourceRoot":"","sources":["env.js"],"names":[],"mappings":"AAaA,oDAAsE;AAEtE,gDAA8D;AAN9D,qDAA2E;AAE3E,iDAAmE"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var gOPD = require('gopd');
|
|
4
|
+
var bind = require('function-bind');
|
|
5
|
+
|
|
6
|
+
var unbound = gOPD && gOPD(function () {}, 'length');
|
|
7
|
+
// @ts-expect-error ts(2555) TS is overly strict with .call
|
|
8
|
+
var bound = gOPD && gOPD(bind.call(function () {}), 'length');
|
|
9
|
+
|
|
10
|
+
var functionsHaveConfigurableLengths = !!(unbound && unbound.configurable);
|
|
11
|
+
|
|
12
|
+
var functionsHaveWritableLengths = !!(unbound && unbound.writable);
|
|
13
|
+
|
|
14
|
+
var boundFnsHaveConfigurableLengths = !!(bound && bound.configurable);
|
|
15
|
+
|
|
16
|
+
var boundFnsHaveWritableLengths = !!(bound && bound.writable);
|
|
17
|
+
|
|
18
|
+
module.exports = {
|
|
19
|
+
__proto__: null,
|
|
20
|
+
boundFnsHaveConfigurableLengths: boundFnsHaveConfigurableLengths,
|
|
21
|
+
boundFnsHaveWritableLengths: boundFnsHaveWritableLengths,
|
|
22
|
+
functionsHaveConfigurableLengths: functionsHaveConfigurableLengths,
|
|
23
|
+
functionsHaveWritableLengths: functionsHaveWritableLengths
|
|
24
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.js"],"names":[],"mappings":";;;+DAYkD,MAAM,UAAU,OAAO;;sBAFjD,OAAO,EAAE,KAAK,OAAO"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var GetIntrinsic = require('get-intrinsic');
|
|
4
|
+
var define = require('define-data-property');
|
|
5
|
+
var hasDescriptors = require('has-property-descriptors')();
|
|
6
|
+
var gOPD = require('gopd');
|
|
7
|
+
|
|
8
|
+
var $TypeError = require('es-errors/type');
|
|
9
|
+
var $floor = GetIntrinsic('%Math.floor%');
|
|
10
|
+
|
|
11
|
+
/** @typedef {(...args: unknown[]) => unknown} Func */
|
|
12
|
+
|
|
13
|
+
/** @type {<T extends Func = Func>(fn: T, length: number, loose?: boolean) => T} */
|
|
14
|
+
module.exports = function setFunctionLength(fn, length) {
|
|
15
|
+
if (typeof fn !== 'function') {
|
|
16
|
+
throw new $TypeError('`fn` is not a function');
|
|
17
|
+
}
|
|
18
|
+
if (typeof length !== 'number' || length < 0 || length > 0xFFFFFFFF || $floor(length) !== length) {
|
|
19
|
+
throw new $TypeError('`length` must be a positive 32-bit integer');
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
var loose = arguments.length > 2 && !!arguments[2];
|
|
23
|
+
|
|
24
|
+
var functionLengthIsConfigurable = true;
|
|
25
|
+
var functionLengthIsWritable = true;
|
|
26
|
+
if ('length' in fn && gOPD) {
|
|
27
|
+
var desc = gOPD(fn, 'length');
|
|
28
|
+
if (desc && !desc.configurable) {
|
|
29
|
+
functionLengthIsConfigurable = false;
|
|
30
|
+
}
|
|
31
|
+
if (desc && !desc.writable) {
|
|
32
|
+
functionLengthIsWritable = false;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
if (functionLengthIsConfigurable || functionLengthIsWritable || !loose) {
|
|
37
|
+
if (hasDescriptors) {
|
|
38
|
+
define(/** @type {Parameters<define>[0]} */ (fn), 'length', length, true, true);
|
|
39
|
+
} else {
|
|
40
|
+
define(/** @type {Parameters<define>[0]} */ (fn), 'length', length);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
return fn;
|
|
44
|
+
};
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "set-function-length",
|
|
3
|
+
"version": "1.2.1",
|
|
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.2",
|
|
53
|
+
"es-errors": "^1.3.0",
|
|
54
|
+
"function-bind": "^1.1.2",
|
|
55
|
+
"get-intrinsic": "^1.2.3",
|
|
56
|
+
"gopd": "^1.0.1",
|
|
57
|
+
"has-property-descriptors": "^1.0.1"
|
|
58
|
+
},
|
|
59
|
+
"devDependencies": {
|
|
60
|
+
"@ljharb/eslint-config": "^21.1.0",
|
|
61
|
+
"@types/call-bind": "^1.0.5",
|
|
62
|
+
"@types/define-properties": "^1.1.5",
|
|
63
|
+
"@types/es-value-fixtures": "^1.4.4",
|
|
64
|
+
"@types/for-each": "^0.3.3",
|
|
65
|
+
"@types/function-bind": "^1.1.10",
|
|
66
|
+
"@types/gopd": "^1.0.3",
|
|
67
|
+
"@types/has-property-descriptors": "^1.0.3",
|
|
68
|
+
"@types/object-inspect": "^1.8.4",
|
|
69
|
+
"@types/tape": "^5.6.4",
|
|
70
|
+
"aud": "^2.0.4",
|
|
71
|
+
"auto-changelog": "^2.4.0",
|
|
72
|
+
"call-bind": "^1.0.6",
|
|
73
|
+
"es-value-fixtures": "^1.4.2",
|
|
74
|
+
"eslint": "=8.8.0",
|
|
75
|
+
"evalmd": "^0.0.19",
|
|
76
|
+
"for-each": "^0.3.3",
|
|
77
|
+
"in-publish": "^2.0.1",
|
|
78
|
+
"npmignore": "^0.3.1",
|
|
79
|
+
"nyc": "^10.3.2",
|
|
80
|
+
"object-inspect": "^1.13.1",
|
|
81
|
+
"safe-publish-latest": "^2.0.0",
|
|
82
|
+
"tape": "^5.7.4",
|
|
83
|
+
"typescript": "next"
|
|
84
|
+
},
|
|
85
|
+
"engines": {
|
|
86
|
+
"node": ">= 0.4"
|
|
87
|
+
},
|
|
88
|
+
"auto-changelog": {
|
|
89
|
+
"output": "CHANGELOG.md",
|
|
90
|
+
"template": "keepachangelog",
|
|
91
|
+
"unreleased": false,
|
|
92
|
+
"commitLimit": false,
|
|
93
|
+
"backfillLimit": false,
|
|
94
|
+
"hideCredit": true
|
|
95
|
+
},
|
|
96
|
+
"publishConfig": {
|
|
97
|
+
"ignore": [
|
|
98
|
+
".github/workflows",
|
|
99
|
+
"test",
|
|
100
|
+
"!*.d.ts",
|
|
101
|
+
"!*.d.ts.map"
|
|
102
|
+
]
|
|
103
|
+
}
|
|
104
|
+
}
|
|
@@ -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
|
+
}
|
|
@@ -1,20 +1,9 @@
|
|
|
1
1
|
root = true
|
|
2
2
|
|
|
3
3
|
[*]
|
|
4
|
-
indent_style = tab
|
|
5
|
-
indent_size = 4
|
|
6
|
-
end_of_line = lf
|
|
7
4
|
charset = utf-8
|
|
8
|
-
|
|
5
|
+
end_of_line = lf
|
|
9
6
|
insert_final_newline = true
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
[CHANGELOG.md]
|
|
13
|
-
indent_style = space
|
|
7
|
+
indent_style = tab
|
|
14
8
|
indent_size = 2
|
|
15
|
-
|
|
16
|
-
[*.json]
|
|
17
|
-
max_line_length = off
|
|
18
|
-
|
|
19
|
-
[Makefile]
|
|
20
|
-
max_line_length = off
|
|
9
|
+
trim_trailing_whitespace = true
|
|
@@ -5,6 +5,27 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [v1.0.5](https://github.com/ljharb/side-channel/compare/v1.0.4...v1.0.5) - 2024-02-06
|
|
9
|
+
|
|
10
|
+
### Commits
|
|
11
|
+
|
|
12
|
+
- [actions] reuse common workflows [`3d2e1ff`](https://github.com/ljharb/side-channel/commit/3d2e1ffd16dd6eaaf3e40ff57951f840d2d63c04)
|
|
13
|
+
- [meta] use `npmignore` to autogenerate an npmignore file [`04296ea`](https://github.com/ljharb/side-channel/commit/04296ea17d1544b0a5d20fd5bfb31aa4f6513eb9)
|
|
14
|
+
- [meta] add `.editorconfig`; add `eclint` [`130f0a6`](https://github.com/ljharb/side-channel/commit/130f0a6adbc04d385c7456a601d38344dce3d6a9)
|
|
15
|
+
- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `auto-changelog`, `safe-publish-latest`, `tape` [`d480c2f`](https://github.com/ljharb/side-channel/commit/d480c2fbe757489ae9b4275491ffbcc3ac4725e9)
|
|
16
|
+
- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `auto-changelog`, `tape` [`ecbe70e`](https://github.com/ljharb/side-channel/commit/ecbe70e53a418234081a77971fec1fdfae20c841)
|
|
17
|
+
- [actions] update rebase action [`75240b9`](https://github.com/ljharb/side-channel/commit/75240b9963b816e8846400d2287cb68f88c7fba7)
|
|
18
|
+
- [Dev Deps] update `@ljharb/eslint-config`, `aud`, `npmignore`, `tape` [`ae8d281`](https://github.com/ljharb/side-channel/commit/ae8d281572430099109870fd9430d2ca3f320b8d)
|
|
19
|
+
- [Dev Deps] update `@ljharb/eslint-config`, `aud`, `tape` [`7125b88`](https://github.com/ljharb/side-channel/commit/7125b885fd0eacad4fee9b073b72d14065ece278)
|
|
20
|
+
- [Deps] update `call-bind`, `get-intrinsic`, `object-inspect` [`82577c9`](https://github.com/ljharb/side-channel/commit/82577c9796304519139a570f82a317211b5f3b86)
|
|
21
|
+
- [Deps] update `call-bind`, `get-intrinsic`, `object-inspect` [`550aadf`](https://github.com/ljharb/side-channel/commit/550aadf20475a6081fd70304cc54f77259a5c8a8)
|
|
22
|
+
- [Tests] increase coverage [`5130877`](https://github.com/ljharb/side-channel/commit/5130877a7b27c862e64e6d1c12a178b28808859d)
|
|
23
|
+
- [Deps] update `get-intrinsic`, `object-inspect` [`ba0194c`](https://github.com/ljharb/side-channel/commit/ba0194c505b1a8a0427be14cadd5b8a46d4d01b8)
|
|
24
|
+
- [meta] add missing `engines.node` [`985fd24`](https://github.com/ljharb/side-channel/commit/985fd249663cb06617a693a94fe08cad12f5cb70)
|
|
25
|
+
- [Refactor] use `es-errors`, so things that only need those do not need `get-intrinsic` [`40227a8`](https://github.com/ljharb/side-channel/commit/40227a87b01709ad2c0eebf87eb4223a800099b9)
|
|
26
|
+
- [Deps] update `get-intrinsic` [`a989b40`](https://github.com/ljharb/side-channel/commit/a989b4024958737ae7be9fbffdeff2078f33a0fd)
|
|
27
|
+
- [Deps] update `object-inspect` [`aec42d2`](https://github.com/ljharb/side-channel/commit/aec42d2ec541a31aaa02475692c87d489237d9a3)
|
|
28
|
+
|
|
8
29
|
## [v1.0.4](https://github.com/ljharb/side-channel/compare/v1.0.3...v1.0.4) - 2020-12-29
|
|
9
30
|
|
|
10
31
|
### Commits
|
|
@@ -4,7 +4,7 @@ var GetIntrinsic = require('get-intrinsic');
|
|
|
4
4
|
var callBound = require('call-bind/callBound');
|
|
5
5
|
var inspect = require('object-inspect');
|
|
6
6
|
|
|
7
|
-
var $TypeError =
|
|
7
|
+
var $TypeError = require('es-errors/type');
|
|
8
8
|
var $WeakMap = GetIntrinsic('%WeakMap%', true);
|
|
9
9
|
var $Map = GetIntrinsic('%Map%', true);
|
|
10
10
|
|
|
@@ -16,13 +16,10 @@ var $mapSet = callBound('Map.prototype.set', true);
|
|
|
16
16
|
var $mapHas = callBound('Map.prototype.has', true);
|
|
17
17
|
|
|
18
18
|
/*
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
* again we don't need to traverse the whole list. By doing so, all the recently
|
|
24
|
-
* used nodes can be accessed relatively quickly.
|
|
25
|
-
*/
|
|
19
|
+
* This function traverses the list returning the node corresponding to the given key.
|
|
20
|
+
*
|
|
21
|
+
* That node is also moved to the head of the list, so that if it's accessed again we don't need to traverse the whole list. By doing so, all the recently used nodes can be accessed relatively quickly.
|
|
22
|
+
*/
|
|
26
23
|
var listGetNode = function (list, key) { // eslint-disable-line consistent-return
|
|
27
24
|
for (var prev = list, curr; (curr = prev.next) !== null; prev = curr) {
|
|
28
25
|
if (curr.key === key) {
|
|
@@ -109,11 +106,7 @@ module.exports = function getSideChannel() {
|
|
|
109
106
|
$mapSet($m, key, value);
|
|
110
107
|
} else {
|
|
111
108
|
if (!$o) {
|
|
112
|
-
|
|
113
|
-
* Initialize the linked list as an empty node, so that we don't have
|
|
114
|
-
* to special-case handling of the first node: we can always refer to
|
|
115
|
-
* it as (previous node).next, instead of something like (list).head
|
|
116
|
-
*/
|
|
109
|
+
// Initialize the linked list as an empty node, so that we don't have to special-case handling of the first node: we can always refer to it as (previous node).next, instead of something like (list).head
|
|
117
110
|
$o = { key: {}, next: null };
|
|
118
111
|
}
|
|
119
112
|
listSet($o, key, value);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "side-channel",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.5",
|
|
4
4
|
"description": "Store information about any JS value in a side channel. Uses WeakMap if available.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"exports": {
|
|
@@ -13,12 +13,15 @@
|
|
|
13
13
|
]
|
|
14
14
|
},
|
|
15
15
|
"scripts": {
|
|
16
|
-
"
|
|
17
|
-
"
|
|
16
|
+
"prepack": "npmignore --auto --commentLines=autogenerated",
|
|
17
|
+
"prepublishOnly": "safe-publish-latest",
|
|
18
|
+
"prepublish": "not-in-publish || npm run prepublishOnly",
|
|
19
|
+
"prelint": "eclint check $(git ls-files | xargs find 2> /dev/null | grep -vE 'node_modules|\\.git')",
|
|
20
|
+
"lint": "eslint --ext=js,mjs .",
|
|
18
21
|
"pretest": "npm run lint",
|
|
19
22
|
"tests-only": "nyc tape 'test/**/*.js'",
|
|
20
23
|
"test": "npm run tests-only",
|
|
21
|
-
"posttest": "
|
|
24
|
+
"posttest": "aud --production",
|
|
22
25
|
"version": "auto-changelog && git add CHANGELOG.md",
|
|
23
26
|
"postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
|
|
24
27
|
},
|
|
@@ -43,18 +46,22 @@
|
|
|
43
46
|
},
|
|
44
47
|
"homepage": "https://github.com/ljharb/side-channel#readme",
|
|
45
48
|
"devDependencies": {
|
|
46
|
-
"@ljharb/eslint-config": "^
|
|
47
|
-
"aud": "^
|
|
48
|
-
"auto-changelog": "^2.
|
|
49
|
-
"
|
|
49
|
+
"@ljharb/eslint-config": "^21.1.0",
|
|
50
|
+
"aud": "^2.0.4",
|
|
51
|
+
"auto-changelog": "^2.4.0",
|
|
52
|
+
"eclint": "^2.8.1",
|
|
53
|
+
"eslint": "=8.8.0",
|
|
54
|
+
"in-publish": "^2.0.1",
|
|
55
|
+
"npmignore": "^0.3.1",
|
|
50
56
|
"nyc": "^10.3.2",
|
|
51
|
-
"safe-publish-latest": "^
|
|
52
|
-
"tape": "^5.
|
|
57
|
+
"safe-publish-latest": "^2.0.0",
|
|
58
|
+
"tape": "^5.7.4"
|
|
53
59
|
},
|
|
54
60
|
"dependencies": {
|
|
55
|
-
"call-bind": "^1.0.
|
|
56
|
-
"
|
|
57
|
-
"
|
|
61
|
+
"call-bind": "^1.0.6",
|
|
62
|
+
"es-errors": "^1.3.0",
|
|
63
|
+
"get-intrinsic": "^1.2.4",
|
|
64
|
+
"object-inspect": "^1.13.1"
|
|
58
65
|
},
|
|
59
66
|
"auto-changelog": {
|
|
60
67
|
"output": "CHANGELOG.md",
|
|
@@ -63,5 +70,13 @@
|
|
|
63
70
|
"commitLimit": false,
|
|
64
71
|
"backfillLimit": false,
|
|
65
72
|
"hideCredit": true
|
|
73
|
+
},
|
|
74
|
+
"publishConfig": {
|
|
75
|
+
"ignore": [
|
|
76
|
+
".github/workflows"
|
|
77
|
+
]
|
|
78
|
+
},
|
|
79
|
+
"engines": {
|
|
80
|
+
"node": ">= 0.4"
|
|
66
81
|
}
|
|
67
82
|
}
|
|
@@ -39,6 +39,11 @@ test('has', function (t) {
|
|
|
39
39
|
channel.set(o, 'foo');
|
|
40
40
|
t.equal(channel.has(o), true, 'existent value yields true');
|
|
41
41
|
|
|
42
|
+
t.equal(channel.has('abc'), false, 'non object value non existent yields false');
|
|
43
|
+
|
|
44
|
+
channel.set('abc', 'foo');
|
|
45
|
+
t.equal(channel.has('abc'), true, 'non object value that exists yields true');
|
|
46
|
+
|
|
42
47
|
t.end();
|
|
43
48
|
});
|
|
44
49
|
|
|
@@ -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');
|