$ date
--- stdout ---
Thu Mar 23 22:27:49 UTC 2023
--- end ---
$ git clone file:///srv/git/mediawiki-extensions-EntitySchema.git repo --depth=1 -b REL1_35
--- stderr ---
Cloning into 'repo'...
--- stdout ---
--- end ---
$ git config user.name libraryupgrader
--- stdout ---
--- end ---
$ git config user.email tools.libraryupgrader@tools.wmflabs.org
--- stdout ---
--- end ---
$ git submodule update --init
--- stdout ---
--- end ---
$ grr init
--- stdout ---
Installed commit-msg hook.
--- end ---
$ git show-ref refs/heads/REL1_35
--- stdout ---
c1821097b08fc1a4e8466297814a9054ece0b752 refs/heads/REL1_35
--- end ---
$ /usr/bin/npm audit --json --legacy-peer-deps
--- stdout ---
{
"auditReportVersion": 2,
"vulnerabilities": {
"ajv": {
"name": "ajv",
"severity": "moderate",
"isDirect": false,
"via": [
{
"source": 1089034,
"name": "ajv",
"dependency": "ajv",
"title": "Prototype Pollution in Ajv",
"url": "https://github.com/advisories/GHSA-v88g-cgmw-v5xw",
"severity": "moderate",
"cwe": [
"CWE-915",
"CWE-1321"
],
"cvss": {
"score": 5.6,
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L"
},
"range": "<6.12.3"
}
],
"effects": [],
"range": "<6.12.3",
"nodes": [
"node_modules/ajv"
],
"fixAvailable": true
},
"ansi-regex": {
"name": "ansi-regex",
"severity": "high",
"isDirect": false,
"via": [
{
"source": 1091188,
"name": "ansi-regex",
"dependency": "ansi-regex",
"title": "Inefficient Regular Expression Complexity in chalk/ansi-regex",
"url": "https://github.com/advisories/GHSA-93q8-gq69-wqmw",
"severity": "high",
"cwe": [
"CWE-697",
"CWE-1333"
],
"cvss": {
"score": 7.5,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
},
"range": ">=3.0.0 <3.0.1"
},
{
"source": 1091190,
"name": "ansi-regex",
"dependency": "ansi-regex",
"title": "Inefficient Regular Expression Complexity in chalk/ansi-regex",
"url": "https://github.com/advisories/GHSA-93q8-gq69-wqmw",
"severity": "high",
"cwe": [
"CWE-697",
"CWE-1333"
],
"cvss": {
"score": 7.5,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
},
"range": ">=5.0.0 <5.0.1"
}
],
"effects": [],
"range": "3.0.0 || 5.0.0",
"nodes": [
"node_modules/ansi-regex",
"node_modules/cliui/node_modules/ansi-regex",
"node_modules/eslint/node_modules/ansi-regex",
"node_modules/stylelint/node_modules/ansi-regex",
"node_modules/yargs/node_modules/ansi-regex"
],
"fixAvailable": true
},
"async": {
"name": "async",
"severity": "high",
"isDirect": false,
"via": [
{
"source": 1088666,
"name": "async",
"dependency": "async",
"title": "Prototype Pollution in async",
"url": "https://github.com/advisories/GHSA-fwr7-v2mv-hh25",
"severity": "high",
"cwe": [
"CWE-1321"
],
"cvss": {
"score": 7.8,
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
},
"range": ">=2.0.0 <2.6.4"
},
{
"source": 1088667,
"name": "async",
"dependency": "async",
"title": "Prototype Pollution in async",
"url": "https://github.com/advisories/GHSA-fwr7-v2mv-hh25",
"severity": "high",
"cwe": [
"CWE-1321"
],
"cvss": {
"score": 7.8,
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
},
"range": ">=3.0.0 <3.2.2"
}
],
"effects": [],
"range": "2.0.0 - 2.6.3 || 3.0.0 - 3.2.1",
"nodes": [
"node_modules/archiver/node_modules/async",
"node_modules/async"
],
"fixAvailable": true
},
"decode-uri-component": {
"name": "decode-uri-component",
"severity": "low",
"isDirect": false,
"via": [
{
"source": 1088828,
"name": "decode-uri-component",
"dependency": "decode-uri-component",
"title": "decode-uri-component vulnerable to Denial of Service (DoS)",
"url": "https://github.com/advisories/GHSA-w573-4hg7-7wgq",
"severity": "low",
"cwe": [
"CWE-20"
],
"cvss": {
"score": 0,
"vectorString": null
},
"range": "<0.2.1"
}
],
"effects": [],
"range": "<0.2.1",
"nodes": [
"node_modules/decode-uri-component"
],
"fixAvailable": true
},
"ejs": {
"name": "ejs",
"severity": "critical",
"isDirect": false,
"via": [
{
"source": 1089270,
"name": "ejs",
"dependency": "ejs",
"title": "ejs template injection vulnerability",
"url": "https://github.com/advisories/GHSA-phwq-j96m-2c2q",
"severity": "critical",
"cwe": [
"CWE-74"
],
"cvss": {
"score": 9.8,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
},
"range": "<3.1.7"
}
],
"effects": [
"webdriverio"
],
"range": "<3.1.7",
"nodes": [
"node_modules/ejs"
],
"fixAvailable": {
"name": "webdriverio",
"version": "8.6.7",
"isSemVerMajor": true
}
},
"g-status": {
"name": "g-status",
"severity": "high",
"isDirect": false,
"via": [
"simple-git"
],
"effects": [
"lint-staged"
],
"range": "*",
"nodes": [
"node_modules/g-status"
],
"fixAvailable": true
},
"json-schema": {
"name": "json-schema",
"severity": "critical",
"isDirect": false,
"via": [
{
"source": 1091472,
"name": "json-schema",
"dependency": "json-schema",
"title": "json-schema is vulnerable to Prototype Pollution",
"url": "https://github.com/advisories/GHSA-896r-f27r-55mw",
"severity": "critical",
"cwe": [
"CWE-915",
"CWE-1321"
],
"cvss": {
"score": 9.8,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
},
"range": "<0.4.0"
}
],
"effects": [
"jsprim"
],
"range": "<0.4.0",
"nodes": [
"node_modules/json-schema"
],
"fixAvailable": true
},
"json5": {
"name": "json5",
"severity": "high",
"isDirect": false,
"via": [
{
"source": 1091148,
"name": "json5",
"dependency": "json5",
"title": "Prototype Pollution in JSON5 via Parse Method",
"url": "https://github.com/advisories/GHSA-9c47-m6qq-7p4h",
"severity": "high",
"cwe": [
"CWE-1321"
],
"cvss": {
"score": 7.1,
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:H"
},
"range": ">=2.0.0 <2.2.2"
}
],
"effects": [],
"range": "2.0.0 - 2.2.1",
"nodes": [
"node_modules/json5"
],
"fixAvailable": true
},
"jsprim": {
"name": "jsprim",
"severity": "critical",
"isDirect": false,
"via": [
"json-schema"
],
"effects": [],
"range": "0.3.0 - 1.4.1 || 2.0.0 - 2.0.1",
"nodes": [
"node_modules/jsprim"
],
"fixAvailable": true
},
"lint-staged": {
"name": "lint-staged",
"severity": "critical",
"isDirect": true,
"via": [
"g-status",
"yup"
],
"effects": [],
"range": "8.0.0-beta.0 - 8.2.1",
"nodes": [
"node_modules/lint-staged"
],
"fixAvailable": true
},
"minimatch": {
"name": "minimatch",
"severity": "high",
"isDirect": false,
"via": [
{
"source": 1091174,
"name": "minimatch",
"dependency": "minimatch",
"title": "minimatch ReDoS vulnerability",
"url": "https://github.com/advisories/GHSA-f8q6-p94x-37v3",
"severity": "high",
"cwe": [
"CWE-400"
],
"cvss": {
"score": 7.5,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
},
"range": "<3.0.5"
}
],
"effects": [],
"range": "<3.0.5",
"nodes": [
"node_modules/minimatch"
],
"fixAvailable": true
},
"minimist": {
"name": "minimist",
"severity": "critical",
"isDirect": false,
"via": [
{
"source": 1090098,
"name": "minimist",
"dependency": "minimist",
"title": "Prototype Pollution in minimist",
"url": "https://github.com/advisories/GHSA-vh95-rmgr-6w4m",
"severity": "moderate",
"cwe": [
"CWE-1321"
],
"cvss": {
"score": 5.6,
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L"
},
"range": "<0.2.1"
},
{
"source": 1091172,
"name": "minimist",
"dependency": "minimist",
"title": "Prototype Pollution in minimist",
"url": "https://github.com/advisories/GHSA-xvch-5gv4-984h",
"severity": "critical",
"cwe": [
"CWE-1321"
],
"cvss": {
"score": 9.8,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
},
"range": "<0.2.4"
},
{
"source": 1091173,
"name": "minimist",
"dependency": "minimist",
"title": "Prototype Pollution in minimist",
"url": "https://github.com/advisories/GHSA-xvch-5gv4-984h",
"severity": "critical",
"cwe": [
"CWE-1321"
],
"cvss": {
"score": 9.8,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
},
"range": ">=1.0.0 <1.2.6"
}
],
"effects": [
"optimist"
],
"range": "<=0.2.3 || 1.0.0 - 1.2.5",
"nodes": [
"node_modules/gonzales-pe/node_modules/minimist",
"node_modules/json5/node_modules/minimist",
"node_modules/jsonfilter/node_modules/minimist",
"node_modules/minimist",
"node_modules/mkdirp/node_modules/minimist"
],
"fixAvailable": true
},
"nanoid": {
"name": "nanoid",
"severity": "moderate",
"isDirect": false,
"via": [
{
"source": 1089011,
"name": "nanoid",
"dependency": "nanoid",
"title": "Exposure of Sensitive Information to an Unauthorized Actor in nanoid",
"url": "https://github.com/advisories/GHSA-qrpm-p2h7-hrv2",
"severity": "moderate",
"cwe": [
"CWE-200"
],
"cvss": {
"score": 5.5,
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
},
"range": ">=3.0.0 <3.1.31"
}
],
"effects": [],
"range": "3.0.0 - 3.1.30",
"nodes": [
"node_modules/doiuse/node_modules/postcss/node_modules/nanoid",
"node_modules/stylelint-no-unsupported-browser-features/node_modules/postcss/node_modules/nanoid"
],
"fixAvailable": true
},
"nomnom": {
"name": "nomnom",
"severity": "critical",
"isDirect": false,
"via": [
"underscore"
],
"effects": [],
"range": ">=1.6.0",
"nodes": [
"node_modules/nomnom"
],
"fixAvailable": true
},
"optimist": {
"name": "optimist",
"severity": "critical",
"isDirect": false,
"via": [
"minimist"
],
"effects": [],
"range": ">=0.6.0",
"nodes": [
"node_modules/optimist"
],
"fixAvailable": true
},
"property-expr": {
"name": "property-expr",
"severity": "critical",
"isDirect": false,
"via": [
{
"source": 1089042,
"name": "property-expr",
"dependency": "property-expr",
"title": "Prototype Pollution in property-expr",
"url": "https://github.com/advisories/GHSA-6fw4-hr69-g3rv",
"severity": "critical",
"cwe": [
"CWE-915",
"CWE-1321"
],
"cvss": {
"score": 9.8,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
},
"range": "<2.0.3"
}
],
"effects": [
"yup"
],
"range": "<2.0.3",
"nodes": [
"node_modules/property-expr"
],
"fixAvailable": true
},
"qs": {
"name": "qs",
"severity": "high",
"isDirect": false,
"via": [
{
"source": 1090135,
"name": "qs",
"dependency": "qs",
"title": "qs vulnerable to Prototype Pollution",
"url": "https://github.com/advisories/GHSA-hrpp-h998-j3pp",
"severity": "high",
"cwe": [
"CWE-1321"
],
"cvss": {
"score": 7.5,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
},
"range": ">=6.5.0 <6.5.3"
}
],
"effects": [],
"range": "6.5.0 - 6.5.2",
"nodes": [
"node_modules/qs"
],
"fixAvailable": true
},
"request": {
"name": "request",
"severity": "moderate",
"isDirect": false,
"via": [
{
"source": 1091459,
"name": "request",
"dependency": "request",
"title": "Server-Side Request Forgery in Request",
"url": "https://github.com/advisories/GHSA-p8p7-x288-28g6",
"severity": "moderate",
"cwe": [
"CWE-918"
],
"cvss": {
"score": 6.1,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
},
"range": "<=2.88.2"
}
],
"effects": [
"webdriverio"
],
"range": "*",
"nodes": [
"node_modules/request"
],
"fixAvailable": {
"name": "webdriverio",
"version": "8.6.7",
"isSemVerMajor": true
}
},
"simple-git": {
"name": "simple-git",
"severity": "critical",
"isDirect": false,
"via": [
{
"source": 1088761,
"name": "simple-git",
"dependency": "simple-git",
"title": "Command injection in simple-git",
"url": "https://github.com/advisories/GHSA-3f95-r44v-8mrg",
"severity": "high",
"cwe": [
"CWE-74",
"CWE-77"
],
"cvss": {
"score": 8.1,
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
},
"range": "<3.3.0"
},
{
"source": 1089511,
"name": "simple-git",
"dependency": "simple-git",
"title": "Command injection in simple-git",
"url": "https://github.com/advisories/GHSA-28xr-mwxg-3qc8",
"severity": "high",
"cwe": [
"CWE-77",
"CWE-88"
],
"cvss": {
"score": 8.1,
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
},
"range": "<3.5.0"
},
{
"source": 1089524,
"name": "simple-git",
"dependency": "simple-git",
"title": "simple-git vulnerable to Remote Code Execution when enabling the ext transport protocol",
"url": "https://github.com/advisories/GHSA-9p95-fxvg-qgq2",
"severity": "high",
"cwe": [
"CWE-77",
"CWE-94"
],
"cvss": {
"score": 8.1,
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
},
"range": "<3.15.0"
},
{
"source": 1090484,
"name": "simple-git",
"dependency": "simple-git",
"title": "Remote code execution in simple-git",
"url": "https://github.com/advisories/GHSA-9w5j-4mwv-2wj8",
"severity": "critical",
"cwe": [],
"cvss": {
"score": 9.8,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
},
"range": "<3.16.0"
}
],
"effects": [
"g-status"
],
"range": "<=3.15.1",
"nodes": [
"node_modules/simple-git"
],
"fixAvailable": true
},
"underscore": {
"name": "underscore",
"severity": "critical",
"isDirect": false,
"via": [
{
"source": 1091470,
"name": "underscore",
"dependency": "underscore",
"title": "Arbitrary Code Execution in underscore",
"url": "https://github.com/advisories/GHSA-cf4h-3jhx-xvhq",
"severity": "critical",
"cwe": [
"CWE-94"
],
"cvss": {
"score": 9.8,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
},
"range": ">=1.3.2 <1.12.1"
}
],
"effects": [
"nomnom"
],
"range": "1.3.2 - 1.12.0",
"nodes": [
"node_modules/underscore"
],
"fixAvailable": true
},
"webdriverio": {
"name": "webdriverio",
"severity": "critical",
"isDirect": true,
"via": [
"ejs",
"optimist",
"request"
],
"effects": [],
"range": "<=4.14.4",
"nodes": [
"node_modules/webdriverio"
],
"fixAvailable": {
"name": "webdriverio",
"version": "8.6.7",
"isSemVerMajor": true
}
},
"yup": {
"name": "yup",
"severity": "critical",
"isDirect": false,
"via": [
"property-expr"
],
"effects": [
"lint-staged"
],
"range": "<=0.28.1",
"nodes": [
"node_modules/yup"
],
"fixAvailable": true
}
},
"metadata": {
"vulnerabilities": {
"info": 0,
"low": 1,
"moderate": 3,
"high": 6,
"critical": 12,
"total": 22
},
"dependencies": {
"prod": 1,
"dev": 896,
"optional": 0,
"peer": 0,
"peerOptional": 0,
"total": 896
}
}
}
--- end ---
$ /usr/bin/composer install
--- stderr ---
No lock file found. Updating dependencies instead of installing from lock file. Use composer update over composer install if you do not have a lock file.
Loading composer repositories with package information
Info from https://repo.packagist.org: [37;44m#StandWith[30;43mUkraine[0m
Updating dependencies
Lock file operations: 36 installs, 0 updates, 0 removals
- Locking composer/semver (1.5.0)
- Locking composer/spdx-licenses (1.5.1)
- Locking composer/xdebug-handler (1.4.6)
- Locking diff/diff (3.3.1)
- Locking doctrine/deprecations (v1.0.0)
- Locking felixfbecker/advanced-json-rpc (v3.2.1)
- Locking mediawiki/mediawiki-codesniffer (v28.0.0)
- Locking mediawiki/mediawiki-phan-config (0.10.2)
- Locking mediawiki/minus-x (1.1.0)
- Locking mediawiki/phan-taint-check-plugin (3.0.2)
- Locking microsoft/tolerant-php-parser (v0.0.20)
- Locking netresearch/jsonmapper (v2.1.0)
- Locking phan/phan (2.6.1)
- Locking php-parallel-lint/php-console-color (v0.3)
- Locking php-parallel-lint/php-console-highlighter (v0.5)
- Locking php-parallel-lint/php-parallel-lint (v1.2.0)
- Locking phpdocumentor/reflection-common (2.2.0)
- Locking phpdocumentor/reflection-docblock (5.3.0)
- Locking phpdocumentor/type-resolver (1.7.0)
- Locking phpstan/phpdoc-parser (1.16.1)
- Locking psr/container (1.1.2)
- Locking psr/log (1.1.4)
- Locking sabre/event (5.1.4)
- Locking squizlabs/php_codesniffer (3.5.0)
- Locking symfony/console (v5.4.21)
- Locking symfony/deprecation-contracts (v2.5.2)
- Locking symfony/polyfill-ctype (v1.27.0)
- Locking symfony/polyfill-intl-grapheme (v1.27.0)
- Locking symfony/polyfill-intl-normalizer (v1.27.0)
- Locking symfony/polyfill-mbstring (v1.27.0)
- Locking symfony/polyfill-php73 (v1.27.0)
- Locking symfony/polyfill-php80 (v1.27.0)
- Locking symfony/service-contracts (v2.5.2)
- Locking symfony/string (v5.4.21)
- Locking webmozart/assert (1.11.0)
- Locking wikibase/wikibase-codesniffer (1.0.0)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 36 installs, 0 updates, 0 removals
- Downloading squizlabs/php_codesniffer (3.5.0)
- Downloading mediawiki/mediawiki-codesniffer (v28.0.0)
- Downloading wikibase/wikibase-codesniffer (1.0.0)
0/3 [>---------------------------] 0%
1/3 [=========>------------------] 33%
2/3 [==================>---------] 66%
3/3 [============================] 100% - Installing composer/spdx-licenses (1.5.1): Extracting archive
- Installing diff/diff (3.3.1): Extracting archive
- Installing symfony/polyfill-mbstring (v1.27.0): Extracting archive
- Installing symfony/polyfill-php80 (v1.27.0): Extracting archive
- Installing symfony/polyfill-intl-normalizer (v1.27.0): Extracting archive
- Installing symfony/polyfill-intl-grapheme (v1.27.0): Extracting archive
- Installing symfony/polyfill-ctype (v1.27.0): Extracting archive
- Installing symfony/string (v5.4.21): Extracting archive
- Installing symfony/deprecation-contracts (v2.5.2): Extracting archive
- Installing psr/container (1.1.2): Extracting archive
- Installing symfony/service-contracts (v2.5.2): Extracting archive
- Installing symfony/polyfill-php73 (v1.27.0): Extracting archive
- Installing symfony/console (v5.4.21): Extracting archive
- Installing sabre/event (5.1.4): Extracting archive
- Installing netresearch/jsonmapper (v2.1.0): Extracting archive
- Installing microsoft/tolerant-php-parser (v0.0.20): Extracting archive
- Installing webmozart/assert (1.11.0): Extracting archive
- Installing phpstan/phpdoc-parser (1.16.1): Extracting archive
- Installing phpdocumentor/reflection-common (2.2.0): Extracting archive
- Installing doctrine/deprecations (v1.0.0): Extracting archive
- Installing phpdocumentor/type-resolver (1.7.0): Extracting archive
- Installing phpdocumentor/reflection-docblock (5.3.0): Extracting archive
- Installing felixfbecker/advanced-json-rpc (v3.2.1): Extracting archive
- Installing psr/log (1.1.4): Extracting archive
- Installing composer/xdebug-handler (1.4.6): Extracting archive
- Installing composer/semver (1.5.0): Extracting archive
- Installing phan/phan (2.6.1): Extracting archive
- Installing mediawiki/phan-taint-check-plugin (3.0.2): Extracting archive
- Installing mediawiki/mediawiki-phan-config (0.10.2): Extracting archive
- Installing mediawiki/minus-x (1.1.0): Extracting archive
- Installing php-parallel-lint/php-console-color (v0.3): Extracting archive
- Installing php-parallel-lint/php-console-highlighter (v0.5): Extracting archive
- Installing php-parallel-lint/php-parallel-lint (v1.2.0): Extracting archive
- Installing squizlabs/php_codesniffer (3.5.0): Extracting archive
- Installing mediawiki/mediawiki-codesniffer (v28.0.0): Extracting archive
- Installing wikibase/wikibase-codesniffer (1.0.0): Extracting archive
0/26 [>---------------------------] 0%
10/26 [==========>-----------------] 38%
19/26 [====================>-------] 73%
25/26 [==========================>-] 96%
26/26 [============================] 100%4 package suggestions were added by new dependencies, use `composer suggest` to see details.
Package wikibase/wikibase-codesniffer is abandoned, you should avoid using it. Use mediawiki/mediawiki-codesniffer instead.
Generating autoload files
11 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
--- stdout ---
--- end ---
$ /usr/bin/npm audit --json --legacy-peer-deps
--- stdout ---
{
"auditReportVersion": 2,
"vulnerabilities": {
"ajv": {
"name": "ajv",
"severity": "moderate",
"isDirect": false,
"via": [
{
"source": 1089034,
"name": "ajv",
"dependency": "ajv",
"title": "Prototype Pollution in Ajv",
"url": "https://github.com/advisories/GHSA-v88g-cgmw-v5xw",
"severity": "moderate",
"cwe": [
"CWE-915",
"CWE-1321"
],
"cvss": {
"score": 5.6,
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L"
},
"range": "<6.12.3"
}
],
"effects": [],
"range": "<6.12.3",
"nodes": [
"node_modules/ajv"
],
"fixAvailable": true
},
"ansi-regex": {
"name": "ansi-regex",
"severity": "high",
"isDirect": false,
"via": [
{
"source": 1091188,
"name": "ansi-regex",
"dependency": "ansi-regex",
"title": "Inefficient Regular Expression Complexity in chalk/ansi-regex",
"url": "https://github.com/advisories/GHSA-93q8-gq69-wqmw",
"severity": "high",
"cwe": [
"CWE-697",
"CWE-1333"
],
"cvss": {
"score": 7.5,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
},
"range": ">=3.0.0 <3.0.1"
},
{
"source": 1091190,
"name": "ansi-regex",
"dependency": "ansi-regex",
"title": "Inefficient Regular Expression Complexity in chalk/ansi-regex",
"url": "https://github.com/advisories/GHSA-93q8-gq69-wqmw",
"severity": "high",
"cwe": [
"CWE-697",
"CWE-1333"
],
"cvss": {
"score": 7.5,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
},
"range": ">=5.0.0 <5.0.1"
}
],
"effects": [],
"range": "3.0.0 || 5.0.0",
"nodes": [
"node_modules/ansi-regex",
"node_modules/cliui/node_modules/ansi-regex",
"node_modules/eslint/node_modules/ansi-regex",
"node_modules/stylelint/node_modules/ansi-regex",
"node_modules/yargs/node_modules/ansi-regex"
],
"fixAvailable": true
},
"async": {
"name": "async",
"severity": "high",
"isDirect": false,
"via": [
{
"source": 1088666,
"name": "async",
"dependency": "async",
"title": "Prototype Pollution in async",
"url": "https://github.com/advisories/GHSA-fwr7-v2mv-hh25",
"severity": "high",
"cwe": [
"CWE-1321"
],
"cvss": {
"score": 7.8,
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
},
"range": ">=2.0.0 <2.6.4"
},
{
"source": 1088667,
"name": "async",
"dependency": "async",
"title": "Prototype Pollution in async",
"url": "https://github.com/advisories/GHSA-fwr7-v2mv-hh25",
"severity": "high",
"cwe": [
"CWE-1321"
],
"cvss": {
"score": 7.8,
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
},
"range": ">=3.0.0 <3.2.2"
}
],
"effects": [],
"range": "2.0.0 - 2.6.3 || 3.0.0 - 3.2.1",
"nodes": [
"node_modules/archiver/node_modules/async",
"node_modules/async"
],
"fixAvailable": true
},
"decode-uri-component": {
"name": "decode-uri-component",
"severity": "low",
"isDirect": false,
"via": [
{
"source": 1088828,
"name": "decode-uri-component",
"dependency": "decode-uri-component",
"title": "decode-uri-component vulnerable to Denial of Service (DoS)",
"url": "https://github.com/advisories/GHSA-w573-4hg7-7wgq",
"severity": "low",
"cwe": [
"CWE-20"
],
"cvss": {
"score": 0,
"vectorString": null
},
"range": "<0.2.1"
}
],
"effects": [],
"range": "<0.2.1",
"nodes": [
"node_modules/decode-uri-component"
],
"fixAvailable": true
},
"ejs": {
"name": "ejs",
"severity": "critical",
"isDirect": false,
"via": [
{
"source": 1089270,
"name": "ejs",
"dependency": "ejs",
"title": "ejs template injection vulnerability",
"url": "https://github.com/advisories/GHSA-phwq-j96m-2c2q",
"severity": "critical",
"cwe": [
"CWE-74"
],
"cvss": {
"score": 9.8,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
},
"range": "<3.1.7"
}
],
"effects": [
"webdriverio"
],
"range": "<3.1.7",
"nodes": [
"node_modules/ejs"
],
"fixAvailable": {
"name": "webdriverio",
"version": "8.6.7",
"isSemVerMajor": true
}
},
"g-status": {
"name": "g-status",
"severity": "high",
"isDirect": false,
"via": [
"simple-git"
],
"effects": [
"lint-staged"
],
"range": "*",
"nodes": [
"node_modules/g-status"
],
"fixAvailable": true
},
"json-schema": {
"name": "json-schema",
"severity": "critical",
"isDirect": false,
"via": [
{
"source": 1091472,
"name": "json-schema",
"dependency": "json-schema",
"title": "json-schema is vulnerable to Prototype Pollution",
"url": "https://github.com/advisories/GHSA-896r-f27r-55mw",
"severity": "critical",
"cwe": [
"CWE-915",
"CWE-1321"
],
"cvss": {
"score": 9.8,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
},
"range": "<0.4.0"
}
],
"effects": [
"jsprim"
],
"range": "<0.4.0",
"nodes": [
"node_modules/json-schema"
],
"fixAvailable": true
},
"json5": {
"name": "json5",
"severity": "high",
"isDirect": false,
"via": [
{
"source": 1091148,
"name": "json5",
"dependency": "json5",
"title": "Prototype Pollution in JSON5 via Parse Method",
"url": "https://github.com/advisories/GHSA-9c47-m6qq-7p4h",
"severity": "high",
"cwe": [
"CWE-1321"
],
"cvss": {
"score": 7.1,
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:H"
},
"range": ">=2.0.0 <2.2.2"
}
],
"effects": [],
"range": "2.0.0 - 2.2.1",
"nodes": [
"node_modules/json5"
],
"fixAvailable": true
},
"jsprim": {
"name": "jsprim",
"severity": "critical",
"isDirect": false,
"via": [
"json-schema"
],
"effects": [],
"range": "0.3.0 - 1.4.1 || 2.0.0 - 2.0.1",
"nodes": [
"node_modules/jsprim"
],
"fixAvailable": true
},
"lint-staged": {
"name": "lint-staged",
"severity": "critical",
"isDirect": true,
"via": [
"g-status",
"yup"
],
"effects": [],
"range": "8.0.0-beta.0 - 8.2.1",
"nodes": [
"node_modules/lint-staged"
],
"fixAvailable": true
},
"minimatch": {
"name": "minimatch",
"severity": "high",
"isDirect": false,
"via": [
{
"source": 1091174,
"name": "minimatch",
"dependency": "minimatch",
"title": "minimatch ReDoS vulnerability",
"url": "https://github.com/advisories/GHSA-f8q6-p94x-37v3",
"severity": "high",
"cwe": [
"CWE-400"
],
"cvss": {
"score": 7.5,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
},
"range": "<3.0.5"
}
],
"effects": [],
"range": "<3.0.5",
"nodes": [
"node_modules/minimatch"
],
"fixAvailable": true
},
"minimist": {
"name": "minimist",
"severity": "critical",
"isDirect": false,
"via": [
{
"source": 1090098,
"name": "minimist",
"dependency": "minimist",
"title": "Prototype Pollution in minimist",
"url": "https://github.com/advisories/GHSA-vh95-rmgr-6w4m",
"severity": "moderate",
"cwe": [
"CWE-1321"
],
"cvss": {
"score": 5.6,
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L"
},
"range": "<0.2.1"
},
{
"source": 1091172,
"name": "minimist",
"dependency": "minimist",
"title": "Prototype Pollution in minimist",
"url": "https://github.com/advisories/GHSA-xvch-5gv4-984h",
"severity": "critical",
"cwe": [
"CWE-1321"
],
"cvss": {
"score": 9.8,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
},
"range": "<0.2.4"
},
{
"source": 1091173,
"name": "minimist",
"dependency": "minimist",
"title": "Prototype Pollution in minimist",
"url": "https://github.com/advisories/GHSA-xvch-5gv4-984h",
"severity": "critical",
"cwe": [
"CWE-1321"
],
"cvss": {
"score": 9.8,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
},
"range": ">=1.0.0 <1.2.6"
}
],
"effects": [
"optimist"
],
"range": "<=0.2.3 || 1.0.0 - 1.2.5",
"nodes": [
"node_modules/gonzales-pe/node_modules/minimist",
"node_modules/json5/node_modules/minimist",
"node_modules/jsonfilter/node_modules/minimist",
"node_modules/minimist",
"node_modules/mkdirp/node_modules/minimist"
],
"fixAvailable": true
},
"nanoid": {
"name": "nanoid",
"severity": "moderate",
"isDirect": false,
"via": [
{
"source": 1089011,
"name": "nanoid",
"dependency": "nanoid",
"title": "Exposure of Sensitive Information to an Unauthorized Actor in nanoid",
"url": "https://github.com/advisories/GHSA-qrpm-p2h7-hrv2",
"severity": "moderate",
"cwe": [
"CWE-200"
],
"cvss": {
"score": 5.5,
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
},
"range": ">=3.0.0 <3.1.31"
}
],
"effects": [],
"range": "3.0.0 - 3.1.30",
"nodes": [
"node_modules/doiuse/node_modules/postcss/node_modules/nanoid",
"node_modules/stylelint-no-unsupported-browser-features/node_modules/postcss/node_modules/nanoid"
],
"fixAvailable": true
},
"nomnom": {
"name": "nomnom",
"severity": "critical",
"isDirect": false,
"via": [
"underscore"
],
"effects": [],
"range": ">=1.6.0",
"nodes": [
"node_modules/nomnom"
],
"fixAvailable": true
},
"optimist": {
"name": "optimist",
"severity": "critical",
"isDirect": false,
"via": [
"minimist"
],
"effects": [],
"range": ">=0.6.0",
"nodes": [
"node_modules/optimist"
],
"fixAvailable": true
},
"property-expr": {
"name": "property-expr",
"severity": "critical",
"isDirect": false,
"via": [
{
"source": 1089042,
"name": "property-expr",
"dependency": "property-expr",
"title": "Prototype Pollution in property-expr",
"url": "https://github.com/advisories/GHSA-6fw4-hr69-g3rv",
"severity": "critical",
"cwe": [
"CWE-915",
"CWE-1321"
],
"cvss": {
"score": 9.8,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
},
"range": "<2.0.3"
}
],
"effects": [
"yup"
],
"range": "<2.0.3",
"nodes": [
"node_modules/property-expr"
],
"fixAvailable": true
},
"qs": {
"name": "qs",
"severity": "high",
"isDirect": false,
"via": [
{
"source": 1090135,
"name": "qs",
"dependency": "qs",
"title": "qs vulnerable to Prototype Pollution",
"url": "https://github.com/advisories/GHSA-hrpp-h998-j3pp",
"severity": "high",
"cwe": [
"CWE-1321"
],
"cvss": {
"score": 7.5,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
},
"range": ">=6.5.0 <6.5.3"
}
],
"effects": [],
"range": "6.5.0 - 6.5.2",
"nodes": [
"node_modules/qs"
],
"fixAvailable": true
},
"request": {
"name": "request",
"severity": "moderate",
"isDirect": false,
"via": [
{
"source": 1091459,
"name": "request",
"dependency": "request",
"title": "Server-Side Request Forgery in Request",
"url": "https://github.com/advisories/GHSA-p8p7-x288-28g6",
"severity": "moderate",
"cwe": [
"CWE-918"
],
"cvss": {
"score": 6.1,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
},
"range": "<=2.88.2"
}
],
"effects": [
"webdriverio"
],
"range": "*",
"nodes": [
"node_modules/request"
],
"fixAvailable": {
"name": "webdriverio",
"version": "8.6.7",
"isSemVerMajor": true
}
},
"simple-git": {
"name": "simple-git",
"severity": "critical",
"isDirect": false,
"via": [
{
"source": 1088761,
"name": "simple-git",
"dependency": "simple-git",
"title": "Command injection in simple-git",
"url": "https://github.com/advisories/GHSA-3f95-r44v-8mrg",
"severity": "high",
"cwe": [
"CWE-74",
"CWE-77"
],
"cvss": {
"score": 8.1,
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
},
"range": "<3.3.0"
},
{
"source": 1089511,
"name": "simple-git",
"dependency": "simple-git",
"title": "Command injection in simple-git",
"url": "https://github.com/advisories/GHSA-28xr-mwxg-3qc8",
"severity": "high",
"cwe": [
"CWE-77",
"CWE-88"
],
"cvss": {
"score": 8.1,
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
},
"range": "<3.5.0"
},
{
"source": 1089524,
"name": "simple-git",
"dependency": "simple-git",
"title": "simple-git vulnerable to Remote Code Execution when enabling the ext transport protocol",
"url": "https://github.com/advisories/GHSA-9p95-fxvg-qgq2",
"severity": "high",
"cwe": [
"CWE-77",
"CWE-94"
],
"cvss": {
"score": 8.1,
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
},
"range": "<3.15.0"
},
{
"source": 1090484,
"name": "simple-git",
"dependency": "simple-git",
"title": "Remote code execution in simple-git",
"url": "https://github.com/advisories/GHSA-9w5j-4mwv-2wj8",
"severity": "critical",
"cwe": [],
"cvss": {
"score": 9.8,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
},
"range": "<3.16.0"
}
],
"effects": [
"g-status"
],
"range": "<=3.15.1",
"nodes": [
"node_modules/simple-git"
],
"fixAvailable": true
},
"underscore": {
"name": "underscore",
"severity": "critical",
"isDirect": false,
"via": [
{
"source": 1091470,
"name": "underscore",
"dependency": "underscore",
"title": "Arbitrary Code Execution in underscore",
"url": "https://github.com/advisories/GHSA-cf4h-3jhx-xvhq",
"severity": "critical",
"cwe": [
"CWE-94"
],
"cvss": {
"score": 9.8,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
},
"range": ">=1.3.2 <1.12.1"
}
],
"effects": [
"nomnom"
],
"range": "1.3.2 - 1.12.0",
"nodes": [
"node_modules/underscore"
],
"fixAvailable": true
},
"webdriverio": {
"name": "webdriverio",
"severity": "critical",
"isDirect": true,
"via": [
"ejs",
"optimist",
"request"
],
"effects": [],
"range": "<=4.14.4",
"nodes": [
"node_modules/webdriverio"
],
"fixAvailable": {
"name": "webdriverio",
"version": "8.6.7",
"isSemVerMajor": true
}
},
"yup": {
"name": "yup",
"severity": "critical",
"isDirect": false,
"via": [
"property-expr"
],
"effects": [
"lint-staged"
],
"range": "<=0.28.1",
"nodes": [
"node_modules/yup"
],
"fixAvailable": true
}
},
"metadata": {
"vulnerabilities": {
"info": 0,
"low": 1,
"moderate": 3,
"high": 6,
"critical": 12,
"total": 22
},
"dependencies": {
"prod": 1,
"dev": 896,
"optional": 0,
"peer": 0,
"peerOptional": 0,
"total": 896
}
}
}
--- end ---
Attempting to npm audit fix
$ /usr/bin/npm audit fix --dry-run --only=dev --json --legacy-peer-deps
--- stderr ---
npm WARN invalid config only="dev" set in command line options
npm WARN invalid config Must be one of: null, prod, production
--- stdout ---
{
"added": 925,
"removed": 0,
"changed": 0,
"audited": 926,
"funding": 72,
"audit": {
"auditReportVersion": 2,
"vulnerabilities": {
"ajv": {
"name": "ajv",
"severity": "moderate",
"isDirect": false,
"via": [
{
"source": 1089034,
"name": "ajv",
"dependency": "ajv",
"title": "Prototype Pollution in Ajv",
"url": "https://github.com/advisories/GHSA-v88g-cgmw-v5xw",
"severity": "moderate",
"cwe": [
"CWE-915",
"CWE-1321"
],
"cvss": {
"score": 5.6,
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L"
},
"range": "<6.12.3"
}
],
"effects": [],
"range": "<6.12.3",
"nodes": [
""
],
"fixAvailable": true
},
"ansi-regex": {
"name": "ansi-regex",
"severity": "high",
"isDirect": false,
"via": [
{
"source": 1091188,
"name": "ansi-regex",
"dependency": "ansi-regex",
"title": "Inefficient Regular Expression Complexity in chalk/ansi-regex",
"url": "https://github.com/advisories/GHSA-93q8-gq69-wqmw",
"severity": "high",
"cwe": [
"CWE-697",
"CWE-1333"
],
"cvss": {
"score": 7.5,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
},
"range": ">=3.0.0 <3.0.1"
},
{
"source": 1091190,
"name": "ansi-regex",
"dependency": "ansi-regex",
"title": "Inefficient Regular Expression Complexity in chalk/ansi-regex",
"url": "https://github.com/advisories/GHSA-93q8-gq69-wqmw",
"severity": "high",
"cwe": [
"CWE-697",
"CWE-1333"
],
"cvss": {
"score": 7.5,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
},
"range": ">=5.0.0 <5.0.1"
}
],
"effects": [],
"range": "3.0.0 || 5.0.0",
"nodes": [
"",
"",
"",
"",
""
],
"fixAvailable": true
},
"async": {
"name": "async",
"severity": "high",
"isDirect": false,
"via": [
{
"source": 1088666,
"name": "async",
"dependency": "async",
"title": "Prototype Pollution in async",
"url": "https://github.com/advisories/GHSA-fwr7-v2mv-hh25",
"severity": "high",
"cwe": [
"CWE-1321"
],
"cvss": {
"score": 7.8,
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
},
"range": ">=2.0.0 <2.6.4"
},
{
"source": 1088667,
"name": "async",
"dependency": "async",
"title": "Prototype Pollution in async",
"url": "https://github.com/advisories/GHSA-fwr7-v2mv-hh25",
"severity": "high",
"cwe": [
"CWE-1321"
],
"cvss": {
"score": 7.8,
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
},
"range": ">=3.0.0 <3.2.2"
}
],
"effects": [],
"range": "2.0.0 - 2.6.3 || 3.0.0 - 3.2.1",
"nodes": [
"",
""
],
"fixAvailable": true
},
"decode-uri-component": {
"name": "decode-uri-component",
"severity": "low",
"isDirect": false,
"via": [
{
"source": 1088828,
"name": "decode-uri-component",
"dependency": "decode-uri-component",
"title": "decode-uri-component vulnerable to Denial of Service (DoS)",
"url": "https://github.com/advisories/GHSA-w573-4hg7-7wgq",
"severity": "low",
"cwe": [
"CWE-20"
],
"cvss": {
"score": 0,
"vectorString": null
},
"range": "<0.2.1"
}
],
"effects": [],
"range": "<0.2.1",
"nodes": [
""
],
"fixAvailable": true
},
"ejs": {
"name": "ejs",
"severity": "critical",
"isDirect": false,
"via": [
{
"source": 1089270,
"name": "ejs",
"dependency": "ejs",
"title": "ejs template injection vulnerability",
"url": "https://github.com/advisories/GHSA-phwq-j96m-2c2q",
"severity": "critical",
"cwe": [
"CWE-74"
],
"cvss": {
"score": 9.8,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
},
"range": "<3.1.7"
}
],
"effects": [
"webdriverio"
],
"range": "<3.1.7",
"nodes": [
"node_modules/ejs"
],
"fixAvailable": {
"name": "webdriverio",
"version": "8.6.7",
"isSemVerMajor": true
}
},
"g-status": {
"name": "g-status",
"severity": "high",
"isDirect": false,
"via": [
"simple-git"
],
"effects": [
"lint-staged"
],
"range": "*",
"nodes": [
"node_modules/g-status"
],
"fixAvailable": true
},
"json-schema": {
"name": "json-schema",
"severity": "critical",
"isDirect": false,
"via": [
{
"source": 1091472,
"name": "json-schema",
"dependency": "json-schema",
"title": "json-schema is vulnerable to Prototype Pollution",
"url": "https://github.com/advisories/GHSA-896r-f27r-55mw",
"severity": "critical",
"cwe": [
"CWE-915",
"CWE-1321"
],
"cvss": {
"score": 9.8,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
},
"range": "<0.4.0"
}
],
"effects": [
"jsprim"
],
"range": "<0.4.0",
"nodes": [
""
],
"fixAvailable": true
},
"json5": {
"name": "json5",
"severity": "high",
"isDirect": false,
"via": [
{
"source": 1091148,
"name": "json5",
"dependency": "json5",
"title": "Prototype Pollution in JSON5 via Parse Method",
"url": "https://github.com/advisories/GHSA-9c47-m6qq-7p4h",
"severity": "high",
"cwe": [
"CWE-1321"
],
"cvss": {
"score": 7.1,
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:H"
},
"range": ">=2.0.0 <2.2.2"
}
],
"effects": [],
"range": "2.0.0 - 2.2.1",
"nodes": [
""
],
"fixAvailable": true
},
"jsprim": {
"name": "jsprim",
"severity": "critical",
"isDirect": false,
"via": [
"json-schema"
],
"effects": [],
"range": "0.3.0 - 1.4.1 || 2.0.0 - 2.0.1",
"nodes": [
""
],
"fixAvailable": true
},
"lint-staged": {
"name": "lint-staged",
"severity": "critical",
"isDirect": true,
"via": [
"g-status",
"yup"
],
"effects": [],
"range": "8.0.0-beta.0 - 8.2.1",
"nodes": [
"node_modules/lint-staged"
],
"fixAvailable": true
},
"minimatch": {
"name": "minimatch",
"severity": "high",
"isDirect": false,
"via": [
{
"source": 1091174,
"name": "minimatch",
"dependency": "minimatch",
"title": "minimatch ReDoS vulnerability",
"url": "https://github.com/advisories/GHSA-f8q6-p94x-37v3",
"severity": "high",
"cwe": [
"CWE-400"
],
"cvss": {
"score": 7.5,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
},
"range": "<3.0.5"
}
],
"effects": [],
"range": "<3.0.5",
"nodes": [
"",
"node_modules/mocha/node_modules/minimatch"
],
"fixAvailable": true
},
"minimist": {
"name": "minimist",
"severity": "critical",
"isDirect": false,
"via": [
{
"source": 1090098,
"name": "minimist",
"dependency": "minimist",
"title": "Prototype Pollution in minimist",
"url": "https://github.com/advisories/GHSA-vh95-rmgr-6w4m",
"severity": "moderate",
"cwe": [
"CWE-1321"
],
"cvss": {
"score": 5.6,
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L"
},
"range": "<0.2.1"
},
{
"source": 1091172,
"name": "minimist",
"dependency": "minimist",
"title": "Prototype Pollution in minimist",
"url": "https://github.com/advisories/GHSA-xvch-5gv4-984h",
"severity": "critical",
"cwe": [
"CWE-1321"
],
"cvss": {
"score": 9.8,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
},
"range": "<0.2.4"
},
{
"source": 1091173,
"name": "minimist",
"dependency": "minimist",
"title": "Prototype Pollution in minimist",
"url": "https://github.com/advisories/GHSA-xvch-5gv4-984h",
"severity": "critical",
"cwe": [
"CWE-1321"
],
"cvss": {
"score": 9.8,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
},
"range": ">=1.0.0 <1.2.6"
}
],
"effects": [
"optimist"
],
"range": "<=0.2.3 || 1.0.0 - 1.2.5",
"nodes": [
"",
"",
"",
"",
"",
"node_modules/minimist"
],
"fixAvailable": true
},
"nanoid": {
"name": "nanoid",
"severity": "moderate",
"isDirect": false,
"via": [
{
"source": 1089011,
"name": "nanoid",
"dependency": "nanoid",
"title": "Exposure of Sensitive Information to an Unauthorized Actor in nanoid",
"url": "https://github.com/advisories/GHSA-qrpm-p2h7-hrv2",
"severity": "moderate",
"cwe": [
"CWE-200"
],
"cvss": {
"score": 5.5,
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
},
"range": ">=3.0.0 <3.1.31"
}
],
"effects": [],
"range": "3.0.0 - 3.1.30",
"nodes": [
"",
""
],
"fixAvailable": true
},
"nomnom": {
"name": "nomnom",
"severity": "critical",
"isDirect": false,
"via": [
"underscore"
],
"effects": [],
"range": ">=1.6.0",
"nodes": [
"node_modules/nomnom"
],
"fixAvailable": true
},
"optimist": {
"name": "optimist",
"severity": "critical",
"isDirect": false,
"via": [
"minimist"
],
"effects": [],
"range": ">=0.6.0",
"nodes": [
""
],
"fixAvailable": true
},
"property-expr": {
"name": "property-expr",
"severity": "critical",
"isDirect": false,
"via": [
{
"source": 1089042,
"name": "property-expr",
"dependency": "property-expr",
"title": "Prototype Pollution in property-expr",
"url": "https://github.com/advisories/GHSA-6fw4-hr69-g3rv",
"severity": "critical",
"cwe": [
"CWE-915",
"CWE-1321"
],
"cvss": {
"score": 9.8,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
},
"range": "<2.0.3"
}
],
"effects": [
"yup"
],
"range": "<2.0.3",
"nodes": [
"node_modules/property-expr"
],
"fixAvailable": true
},
"qs": {
"name": "qs",
"severity": "high",
"isDirect": false,
"via": [
{
"source": 1090135,
"name": "qs",
"dependency": "qs",
"title": "qs vulnerable to Prototype Pollution",
"url": "https://github.com/advisories/GHSA-hrpp-h998-j3pp",
"severity": "high",
"cwe": [
"CWE-1321"
],
"cvss": {
"score": 7.5,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
},
"range": ">=6.5.0 <6.5.3"
}
],
"effects": [],
"range": "6.5.0 - 6.5.2",
"nodes": [
""
],
"fixAvailable": true
},
"request": {
"name": "request",
"severity": "moderate",
"isDirect": false,
"via": [
{
"source": 1091459,
"name": "request",
"dependency": "request",
"title": "Server-Side Request Forgery in Request",
"url": "https://github.com/advisories/GHSA-p8p7-x288-28g6",
"severity": "moderate",
"cwe": [
"CWE-918"
],
"cvss": {
"score": 6.1,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
},
"range": "<=2.88.2"
}
],
"effects": [
"webdriverio"
],
"range": "*",
"nodes": [
"node_modules/request"
],
"fixAvailable": {
"name": "webdriverio",
"version": "8.6.7",
"isSemVerMajor": true
}
},
"simple-git": {
"name": "simple-git",
"severity": "critical",
"isDirect": false,
"via": [
{
"source": 1088761,
"name": "simple-git",
"dependency": "simple-git",
"title": "Command injection in simple-git",
"url": "https://github.com/advisories/GHSA-3f95-r44v-8mrg",
"severity": "high",
"cwe": [
"CWE-74",
"CWE-77"
],
"cvss": {
"score": 8.1,
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
},
"range": "<3.3.0"
},
{
"source": 1089511,
"name": "simple-git",
"dependency": "simple-git",
"title": "Command injection in simple-git",
"url": "https://github.com/advisories/GHSA-28xr-mwxg-3qc8",
"severity": "high",
"cwe": [
"CWE-77",
"CWE-88"
],
"cvss": {
"score": 8.1,
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
},
"range": "<3.5.0"
},
{
"source": 1089524,
"name": "simple-git",
"dependency": "simple-git",
"title": "simple-git vulnerable to Remote Code Execution when enabling the ext transport protocol",
"url": "https://github.com/advisories/GHSA-9p95-fxvg-qgq2",
"severity": "high",
"cwe": [
"CWE-77",
"CWE-94"
],
"cvss": {
"score": 8.1,
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
},
"range": "<3.15.0"
},
{
"source": 1090484,
"name": "simple-git",
"dependency": "simple-git",
"title": "Remote code execution in simple-git",
"url": "https://github.com/advisories/GHSA-9w5j-4mwv-2wj8",
"severity": "critical",
"cwe": [],
"cvss": {
"score": 9.8,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
},
"range": "<3.16.0"
}
],
"effects": [
"g-status"
],
"range": "<=3.15.1",
"nodes": [
""
],
"fixAvailable": true
},
"underscore": {
"name": "underscore",
"severity": "critical",
"isDirect": false,
"via": [
{
"source": 1091470,
"name": "underscore",
"dependency": "underscore",
"title": "Arbitrary Code Execution in underscore",
"url": "https://github.com/advisories/GHSA-cf4h-3jhx-xvhq",
"severity": "critical",
"cwe": [
"CWE-94"
],
"cvss": {
"score": 9.8,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
},
"range": ">=1.3.2 <1.12.1"
}
],
"effects": [
"nomnom"
],
"range": "1.3.2 - 1.12.0",
"nodes": [
""
],
"fixAvailable": true
},
"webdriverio": {
"name": "webdriverio",
"severity": "critical",
"isDirect": true,
"via": [
"ejs",
"optimist",
"request"
],
"effects": [],
"range": "<=4.14.4",
"nodes": [
"node_modules/webdriverio"
],
"fixAvailable": {
"name": "webdriverio",
"version": "8.6.7",
"isSemVerMajor": true
}
},
"yup": {
"name": "yup",
"severity": "critical",
"isDirect": false,
"via": [
"property-expr"
],
"effects": [
"lint-staged"
],
"range": "<=0.28.1",
"nodes": [
"node_modules/yup"
],
"fixAvailable": true
}
},
"metadata": {
"vulnerabilities": {
"info": 0,
"low": 1,
"moderate": 3,
"high": 6,
"critical": 12,
"total": 22
},
"dependencies": {
"prod": 1,
"dev": 925,
"optional": 0,
"peer": 0,
"peerOptional": 0,
"total": 925
}
}
}
}
--- end ---
{"added": 925, "removed": 0, "changed": 0, "audited": 926, "funding": 72, "audit": {"auditReportVersion": 2, "vulnerabilities": {"ajv": {"name": "ajv", "severity": "moderate", "isDirect": false, "via": [{"source": 1089034, "name": "ajv", "dependency": "ajv", "title": "Prototype Pollution in Ajv", "url": "https://github.com/advisories/GHSA-v88g-cgmw-v5xw", "severity": "moderate", "cwe": ["CWE-915", "CWE-1321"], "cvss": {"score": 5.6, "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L"}, "range": "<6.12.3"}], "effects": [], "range": "<6.12.3", "nodes": [""], "fixAvailable": true}, "ansi-regex": {"name": "ansi-regex", "severity": "high", "isDirect": false, "via": [{"source": 1091188, "name": "ansi-regex", "dependency": "ansi-regex", "title": "Inefficient Regular Expression Complexity in chalk/ansi-regex", "url": "https://github.com/advisories/GHSA-93q8-gq69-wqmw", "severity": "high", "cwe": ["CWE-697", "CWE-1333"], "cvss": {"score": 7.5, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}, "range": ">=3.0.0 <3.0.1"}, {"source": 1091190, "name": "ansi-regex", "dependency": "ansi-regex", "title": "Inefficient Regular Expression Complexity in chalk/ansi-regex", "url": "https://github.com/advisories/GHSA-93q8-gq69-wqmw", "severity": "high", "cwe": ["CWE-697", "CWE-1333"], "cvss": {"score": 7.5, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}, "range": ">=5.0.0 <5.0.1"}], "effects": [], "range": "3.0.0 || 5.0.0", "nodes": ["", "", "", "", ""], "fixAvailable": true}, "async": {"name": "async", "severity": "high", "isDirect": false, "via": [{"source": 1088666, "name": "async", "dependency": "async", "title": "Prototype Pollution in async", "url": "https://github.com/advisories/GHSA-fwr7-v2mv-hh25", "severity": "high", "cwe": ["CWE-1321"], "cvss": {"score": 7.8, "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}, "range": ">=2.0.0 <2.6.4"}, {"source": 1088667, "name": "async", "dependency": "async", "title": "Prototype Pollution in async", "url": "https://github.com/advisories/GHSA-fwr7-v2mv-hh25", "severity": "high", "cwe": ["CWE-1321"], "cvss": {"score": 7.8, "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}, "range": ">=3.0.0 <3.2.2"}], "effects": [], "range": "2.0.0 - 2.6.3 || 3.0.0 - 3.2.1", "nodes": ["", ""], "fixAvailable": true}, "decode-uri-component": {"name": "decode-uri-component", "severity": "low", "isDirect": false, "via": [{"source": 1088828, "name": "decode-uri-component", "dependency": "decode-uri-component", "title": "decode-uri-component vulnerable to Denial of Service (DoS)", "url": "https://github.com/advisories/GHSA-w573-4hg7-7wgq", "severity": "low", "cwe": ["CWE-20"], "cvss": {"score": 0, "vectorString": null}, "range": "<0.2.1"}], "effects": [], "range": "<0.2.1", "nodes": [""], "fixAvailable": true}, "ejs": {"name": "ejs", "severity": "critical", "isDirect": false, "via": [{"source": 1089270, "name": "ejs", "dependency": "ejs", "title": "ejs template injection vulnerability", "url": "https://github.com/advisories/GHSA-phwq-j96m-2c2q", "severity": "critical", "cwe": ["CWE-74"], "cvss": {"score": 9.8, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}, "range": "<3.1.7"}], "effects": ["webdriverio"], "range": "<3.1.7", "nodes": ["node_modules/ejs"], "fixAvailable": {"name": "webdriverio", "version": "8.6.7", "isSemVerMajor": true}}, "g-status": {"name": "g-status", "severity": "high", "isDirect": false, "via": ["simple-git"], "effects": ["lint-staged"], "range": "*", "nodes": ["node_modules/g-status"], "fixAvailable": true}, "json-schema": {"name": "json-schema", "severity": "critical", "isDirect": false, "via": [{"source": 1091472, "name": "json-schema", "dependency": "json-schema", "title": "json-schema is vulnerable to Prototype Pollution", "url": "https://github.com/advisories/GHSA-896r-f27r-55mw", "severity": "critical", "cwe": ["CWE-915", "CWE-1321"], "cvss": {"score": 9.8, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}, "range": "<0.4.0"}], "effects": ["jsprim"], "range": "<0.4.0", "nodes": [""], "fixAvailable": true}, "json5": {"name": "json5", "severity": "high", "isDirect": false, "via": [{"source": 1091148, "name": "json5", "dependency": "json5", "title": "Prototype Pollution in JSON5 via Parse Method", "url": "https://github.com/advisories/GHSA-9c47-m6qq-7p4h", "severity": "high", "cwe": ["CWE-1321"], "cvss": {"score": 7.1, "vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:H"}, "range": ">=2.0.0 <2.2.2"}], "effects": [], "range": "2.0.0 - 2.2.1", "nodes": [""], "fixAvailable": true}, "jsprim": {"name": "jsprim", "severity": "critical", "isDirect": false, "via": ["json-schema"], "effects": [], "range": "0.3.0 - 1.4.1 || 2.0.0 - 2.0.1", "nodes": [""], "fixAvailable": true}, "lint-staged": {"name": "lint-staged", "severity": "critical", "isDirect": true, "via": ["g-status", "yup"], "effects": [], "range": "8.0.0-beta.0 - 8.2.1", "nodes": ["node_modules/lint-staged"], "fixAvailable": true}, "minimatch": {"name": "minimatch", "severity": "high", "isDirect": false, "via": [{"source": 1091174, "name": "minimatch", "dependency": "minimatch", "title": "minimatch ReDoS vulnerability", "url": "https://github.com/advisories/GHSA-f8q6-p94x-37v3", "severity": "high", "cwe": ["CWE-400"], "cvss": {"score": 7.5, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}, "range": "<3.0.5"}], "effects": [], "range": "<3.0.5", "nodes": ["", "node_modules/mocha/node_modules/minimatch"], "fixAvailable": true}, "minimist": {"name": "minimist", "severity": "critical", "isDirect": false, "via": [{"source": 1090098, "name": "minimist", "dependency": "minimist", "title": "Prototype Pollution in minimist", "url": "https://github.com/advisories/GHSA-vh95-rmgr-6w4m", "severity": "moderate", "cwe": ["CWE-1321"], "cvss": {"score": 5.6, "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L"}, "range": "<0.2.1"}, {"source": 1091172, "name": "minimist", "dependency": "minimist", "title": "Prototype Pollution in minimist", "url": "https://github.com/advisories/GHSA-xvch-5gv4-984h", "severity": "critical", "cwe": ["CWE-1321"], "cvss": {"score": 9.8, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}, "range": "<0.2.4"}, {"source": 1091173, "name": "minimist", "dependency": "minimist", "title": "Prototype Pollution in minimist", "url": "https://github.com/advisories/GHSA-xvch-5gv4-984h", "severity": "critical", "cwe": ["CWE-1321"], "cvss": {"score": 9.8, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}, "range": ">=1.0.0 <1.2.6"}], "effects": ["optimist"], "range": "<=0.2.3 || 1.0.0 - 1.2.5", "nodes": ["", "", "", "", "", "node_modules/minimist"], "fixAvailable": true}, "nanoid": {"name": "nanoid", "severity": "moderate", "isDirect": false, "via": [{"source": 1089011, "name": "nanoid", "dependency": "nanoid", "title": "Exposure of Sensitive Information to an Unauthorized Actor in nanoid", "url": "https://github.com/advisories/GHSA-qrpm-p2h7-hrv2", "severity": "moderate", "cwe": ["CWE-200"], "cvss": {"score": 5.5, "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"}, "range": ">=3.0.0 <3.1.31"}], "effects": [], "range": "3.0.0 - 3.1.30", "nodes": ["", ""], "fixAvailable": true}, "nomnom": {"name": "nomnom", "severity": "critical", "isDirect": false, "via": ["underscore"], "effects": [], "range": ">=1.6.0", "nodes": ["node_modules/nomnom"], "fixAvailable": true}, "optimist": {"name": "optimist", "severity": "critical", "isDirect": false, "via": ["minimist"], "effects": [], "range": ">=0.6.0", "nodes": [""], "fixAvailable": true}, "property-expr": {"name": "property-expr", "severity": "critical", "isDirect": false, "via": [{"source": 1089042, "name": "property-expr", "dependency": "property-expr", "title": "Prototype Pollution in property-expr", "url": "https://github.com/advisories/GHSA-6fw4-hr69-g3rv", "severity": "critical", "cwe": ["CWE-915", "CWE-1321"], "cvss": {"score": 9.8, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}, "range": "<2.0.3"}], "effects": ["yup"], "range": "<2.0.3", "nodes": ["node_modules/property-expr"], "fixAvailable": true}, "qs": {"name": "qs", "severity": "high", "isDirect": false, "via": [{"source": 1090135, "name": "qs", "dependency": "qs", "title": "qs vulnerable to Prototype Pollution", "url": "https://github.com/advisories/GHSA-hrpp-h998-j3pp", "severity": "high", "cwe": ["CWE-1321"], "cvss": {"score": 7.5, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}, "range": ">=6.5.0 <6.5.3"}], "effects": [], "range": "6.5.0 - 6.5.2", "nodes": [""], "fixAvailable": true}, "request": {"name": "request", "severity": "moderate", "isDirect": false, "via": [{"source": 1091459, "name": "request", "dependency": "request", "title": "Server-Side Request Forgery in Request", "url": "https://github.com/advisories/GHSA-p8p7-x288-28g6", "severity": "moderate", "cwe": ["CWE-918"], "cvss": {"score": 6.1, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}, "range": "<=2.88.2"}], "effects": ["webdriverio"], "range": "*", "nodes": ["node_modules/request"], "fixAvailable": {"name": "webdriverio", "version": "8.6.7", "isSemVerMajor": true}}, "simple-git": {"name": "simple-git", "severity": "critical", "isDirect": false, "via": [{"source": 1088761, "name": "simple-git", "dependency": "simple-git", "title": "Command injection in simple-git", "url": "https://github.com/advisories/GHSA-3f95-r44v-8mrg", "severity": "high", "cwe": ["CWE-74", "CWE-77"], "cvss": {"score": 8.1, "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"}, "range": "<3.3.0"}, {"source": 1089511, "name": "simple-git", "dependency": "simple-git", "title": "Command injection in simple-git", "url": "https://github.com/advisories/GHSA-28xr-mwxg-3qc8", "severity": "high", "cwe": ["CWE-77", "CWE-88"], "cvss": {"score": 8.1, "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"}, "range": "<3.5.0"}, {"source": 1089524, "name": "simple-git", "dependency": "simple-git", "title": "simple-git vulnerable to Remote Code Execution when enabling the ext transport protocol", "url": "https://github.com/advisories/GHSA-9p95-fxvg-qgq2", "severity": "high", "cwe": ["CWE-77", "CWE-94"], "cvss": {"score": 8.1, "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"}, "range": "<3.15.0"}, {"source": 1090484, "name": "simple-git", "dependency": "simple-git", "title": "Remote code execution in simple-git", "url": "https://github.com/advisories/GHSA-9w5j-4mwv-2wj8", "severity": "critical", "cwe": [], "cvss": {"score": 9.8, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}, "range": "<3.16.0"}], "effects": ["g-status"], "range": "<=3.15.1", "nodes": [""], "fixAvailable": true}, "underscore": {"name": "underscore", "severity": "critical", "isDirect": false, "via": [{"source": 1091470, "name": "underscore", "dependency": "underscore", "title": "Arbitrary Code Execution in underscore", "url": "https://github.com/advisories/GHSA-cf4h-3jhx-xvhq", "severity": "critical", "cwe": ["CWE-94"], "cvss": {"score": 9.8, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}, "range": ">=1.3.2 <1.12.1"}], "effects": ["nomnom"], "range": "1.3.2 - 1.12.0", "nodes": [""], "fixAvailable": true}, "webdriverio": {"name": "webdriverio", "severity": "critical", "isDirect": true, "via": ["ejs", "optimist", "request"], "effects": [], "range": "<=4.14.4", "nodes": ["node_modules/webdriverio"], "fixAvailable": {"name": "webdriverio", "version": "8.6.7", "isSemVerMajor": true}}, "yup": {"name": "yup", "severity": "critical", "isDirect": false, "via": ["property-expr"], "effects": ["lint-staged"], "range": "<=0.28.1", "nodes": ["node_modules/yup"], "fixAvailable": true}}, "metadata": {"vulnerabilities": {"info": 0, "low": 1, "moderate": 3, "high": 6, "critical": 12, "total": 22}, "dependencies": {"prod": 1, "dev": 925, "optional": 0, "peer": 0, "peerOptional": 0, "total": 925}}}}
$ /usr/bin/npm audit fix --only=dev --legacy-peer-deps
--- stderr ---
npm WARN invalid config only="dev" set in command line options
npm WARN invalid config Must be one of: null, prod, production
npm WARN deprecated @stylelint/postcss-markdown@0.36.2: Use the original unforked package instead: postcss-markdown
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated har-validator@5.1.3: this library is no longer supported
npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated source-map-url@0.4.0: See https://github.com/lydell/source-map-url#deprecated
npm WARN deprecated debug@3.2.6: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
npm WARN deprecated querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
npm WARN deprecated nomnom@1.8.1: Package no longer supported. Contact support@npmjs.com for more info.
npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated source-map-resolve@0.5.2: See https://github.com/lydell/source-map-resolve#deprecated
npm WARN deprecated mkdirp@0.5.1: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated webdriverio@4.14.4: outdated version, please use @next
npm WARN deprecated core-js@2.6.11: core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.
npm ERR! code 127
npm ERR! path /src/repo/node_modules/fibers
npm ERR! command failed
npm ERR! command sh /tmp/install-b46f709c.sh
npm ERR! make: Entering directory '/src/repo/node_modules/fibers/build'
npm ERR! CXX(target) Release/obj.target/fibers/src/fibers.o
npm ERR! make: Leaving directory '/src/repo/node_modules/fibers/build'
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using node-gyp@9.0.0
npm ERR! gyp info using node@16.17.1 | linux | x64
npm ERR! gyp info find Python using Python version 3.9.2 found at "/usr/bin/python3"
npm ERR! gyp info spawn /usr/bin/python3
npm ERR! gyp info spawn args [
npm ERR! gyp info spawn args '/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
npm ERR! gyp info spawn args 'binding.gyp',
npm ERR! gyp info spawn args '-f',
npm ERR! gyp info spawn args 'make',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args '/src/repo/node_modules/fibers/build/config.gypi',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args '/usr/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args '/cache/node-gyp/16.17.1/include/node/common.gypi',
npm ERR! gyp info spawn args '-Dlibrary=shared_library',
npm ERR! gyp info spawn args '-Dvisibility=default',
npm ERR! gyp info spawn args '-Dnode_root_dir=/cache/node-gyp/16.17.1',
npm ERR! gyp info spawn args '-Dnode_gyp_dir=/usr/lib/node_modules/npm/node_modules/node-gyp',
npm ERR! gyp info spawn args '-Dnode_lib_file=/cache/node-gyp/16.17.1/<(target_arch)/node.lib',
npm ERR! gyp info spawn args '-Dmodule_root_dir=/src/repo/node_modules/fibers',
npm ERR! gyp info spawn args '-Dnode_engine=v8',
npm ERR! gyp info spawn args '--depth=.',
npm ERR! gyp info spawn args '--no-parallel',
npm ERR! gyp info spawn args '--generator-output',
npm ERR! gyp info spawn args 'build',
npm ERR! gyp info spawn args '-Goutput_dir=.'
npm ERR! gyp info spawn args ]
npm ERR! gyp info spawn make
npm ERR! gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
npm ERR! ../src/fibers.cc:68:2: error: ‘Handle’ does not name a type
npm ERR! 68 | Handle<String> NewLatin1String(Isolate* isolate, const char* string) {
npm ERR! | ^~~~~~
npm ERR! ../src/fibers.cc:72:2: error: ‘Handle’ does not name a type
npm ERR! 72 | Handle<String> NewLatin1Symbol(Isolate* isolate, const char* string) {
npm ERR! | ^~~~~~
npm ERR! ../src/fibers.cc:94:2: error: ‘Handle’ does not name a type
npm ERR! 94 | Handle<Object> NewInstance(Isolate* isolate, Local<Function> fn, int argc, Local<Value> argv[]) {
npm ERR! | ^~~~~~
npm ERR! ../src/fibers.cc:104:2: error: ‘Handle’ does not name a type
npm ERR! 104 | Handle<Number> ToNumber(Local<Value> value) {
npm ERR! | ^~~~~~
npm ERR! ../src/fibers.cc:114:50: error: ‘Handle’ has not been declared
npm ERR! 114 | Local<Value> GetStackTrace(TryCatch* try_catch, Handle<Context> context) {
npm ERR! | ^~~~~~
npm ERR! ../src/fibers.cc:114:56: error: expected ‘,’ or ‘...’ before ‘<’ token
npm ERR! 114 | Local<Value> GetStackTrace(TryCatch* try_catch, Handle<Context> context) {
npm ERR! | ^
npm ERR! ../src/fibers.cc: In function ‘v8::Local<v8::Value> uni::GetStackTrace(uni::TryCatch*, int)’:
npm ERR! ../src/fibers.cc:115:32: error: ‘context’ was not declared in this scope; did you mean ‘setcontext’?
npm ERR! 115 | return try_catch->StackTrace(context).ToLocalChecked();
npm ERR! | ^~~~~~~
npm ERR! | setcontext
npm ERR! ../src/fibers.cc: At global scope:
npm ERR! ../src/fibers.cc:127:39: error: ‘Handle’ has not been declared
npm ERR! 127 | void fixStackLimit(Isolate* isolate, Handle<Context> context) {
npm ERR! | ^~~~~~
npm ERR! ../src/fibers.cc:127:45: error: expected ‘,’ or ‘...’ before ‘<’ token
npm ERR! 127 | void fixStackLimit(Isolate* isolate, Handle<Context> context) {
npm ERR! | ^
npm ERR! ../src/fibers.cc: In function ‘void uni::fixStackLimit(v8::Isolate*, int)’:
npm ERR! ../src/fibers.cc:128:19: error: ‘context’ was not declared in this scope; did you mean ‘setcontext’?
npm ERR! 128 | Script::Compile(context, uni::NewLatin1String(isolate, "void 0;")).ToLocalChecked();
npm ERR! | ^~~~~~~
npm ERR! | setcontext
npm ERR! ../src/fibers.cc:128:33: error: ‘NewLatin1String’ is not a member of ‘uni’
npm ERR! 128 | Script::Compile(context, uni::NewLatin1String(isolate, "void 0;")).ToLocalChecked();
npm ERR! | ^~~~~~~~~~~~~~~
npm ERR! ../src/fibers.cc: At global scope:
npm ERR! ../src/fibers.cc:149:58: error: ‘Handle’ has not been declared
npm ERR! 149 | void Reset(Isolate* isolate, Persistent<T>& persistent, Handle<T> handle) {
npm ERR! | ^~~~~~
npm ERR! ../src/fibers.cc:149:64: error: expected ‘,’ or ‘...’ before ‘<’ token
npm ERR! 149 | void Reset(Isolate* isolate, Persistent<T>& persistent, Handle<T> handle) {
npm ERR! | ^
npm ERR! ../src/fibers.cc: In function ‘void uni::Reset(v8::Isolate*, v8::Persistent<T, v8::NonCopyablePersistentTraits<T> >&, int)’:
npm ERR! ../src/fibers.cc:150:29: error: ‘handle’ was not declared in this scope
npm ERR! 150 | persistent.Reset(isolate, handle);
npm ERR! | ^~~~~~
npm ERR! ../src/fibers.cc: At global scope:
npm ERR! ../src/fibers.cc:162:7: error: variable or field ‘SetInternalPointer’ declared void
npm ERR! 162 | void SetInternalPointer(Handle<T> handle, int index, void* val) {
npm ERR! | ^~~~~~~~~~~~~~~~~~
npm ERR! ../src/fibers.cc:162:26: error: ‘Handle’ was not declared in this scope
npm ERR! 162 | void SetInternalPointer(Handle<T> handle, int index, void* val) {
npm ERR! | ^~~~~~
npm ERR! ../src/fibers.cc:162:34: error: expected primary-expression before ‘>’ token
npm ERR! 162 | void SetInternalPointer(Handle<T> handle, int index, void* val) {
npm ERR! | ^
npm ERR! ../src/fibers.cc:162:36: error: ‘handle’ was not declared in this scope
npm ERR! 162 | void SetInternalPointer(Handle<T> handle, int index, void* val) {
npm ERR! | ^~~~~~
npm ERR! ../src/fibers.cc:162:44: error: expected primary-expression before ‘int’
npm ERR! 162 | void SetInternalPointer(Handle<T> handle, int index, void* val) {
npm ERR! | ^~~
npm ERR! ../src/fibers.cc:162:55: error: expected primary-expression before ‘void’
npm ERR! 162 | void SetInternalPointer(Handle<T> handle, int index, void* val) {
npm ERR! | ^~~~
npm ERR! ../src/fibers.cc:166:27: error: ‘Handle’ was not declared in this scope
npm ERR! 166 | void* GetInternalPointer(Handle<T> handle, int index) {
npm ERR! | ^~~~~~
npm ERR! ../src/fibers.cc:166:35: error: expected primary-expression before ‘>’ token
npm ERR! 166 | void* GetInternalPointer(Handle<T> handle, int index) {
npm ERR! | ^
npm ERR! ../src/fibers.cc:166:37: error: ‘handle’ was not declared in this scope
npm ERR! 166 | void* GetInternalPointer(Handle<T> handle, int index) {
npm ERR! | ^~~~~~
npm ERR! ../src/fibers.cc:166:45: error: expected primary-expression before ‘int’
npm ERR! 166 | void* GetInternalPointer(Handle<T> handle, int index) {
npm ERR! | ^~~
npm ERR! ../src/fibers.cc:166:54: error: expression list treated as compound expression in initializer [-fpermissive]
npm ERR! 166 | void* GetInternalPointer(Handle<T> handle, int index) {
npm ERR! | ^
npm ERR! ../src/fibers.cc:166:55: error: expected ‘;’ before ‘{’ token
npm ERR! 166 | void* GetInternalPointer(Handle<T> handle, int index) {
npm ERR! | ^~
npm ERR! | ;
npm ERR! ../src/fibers.cc:171:2: error: ‘Handle’ does not name a type
npm ERR! 171 | Handle<T> Deref(Isolate* isolate, Persistent<T>& handle) {
npm ERR! | ^~~~~~
npm ERR! ../src/fibers.cc:176:7: error: variable or field ‘Return’ declared void
npm ERR! 176 | void Return(Handle<T> handle, const Arguments& args) {
npm ERR! | ^~~~~~
npm ERR! ../src/fibers.cc:176:14: error: ‘Handle’ was not declared in this scope
npm ERR! 176 | void Return(Handle<T> handle, const Arguments& args) {
npm ERR! | ^~~~~~
npm ERR! ../src/fibers.cc:176:22: error: expected primary-expression before ‘>’ token
npm ERR! 176 | void Return(Handle<T> handle, const Arguments& args) {
npm ERR! | ^
npm ERR! ../src/fibers.cc:176:24: error: ‘handle’ was not declared in this scope
npm ERR! 176 | void Return(Handle<T> handle, const Arguments& args) {
npm ERR! | ^~~~~~
npm ERR! ../src/fibers.cc:176:32: error: expected primary-expression before ‘const’
npm ERR! 176 | void Return(Handle<T> handle, const Arguments& args) {
npm ERR! | ^~~~~
npm ERR! ../src/fibers.cc:180:7: error: variable or field ‘Return’ declared void
npm ERR! 180 | void Return(Handle<T> handle, GetterCallbackInfo info) {
npm ERR! | ^~~~~~
npm ERR! ../src/fibers.cc:180:14: error: ‘Handle’ was not declared in this scope
npm ERR! 180 | void Return(Handle<T> handle, GetterCallbackInfo info) {
npm ERR! | ^~~~~~
npm ERR! ../src/fibers.cc:180:22: error: expected primary-expression before ‘>’ token
npm ERR! 180 | void Return(Handle<T> handle, GetterCallbackInfo info) {
npm ERR! | ^
npm ERR! ../src/fibers.cc:180:24: error: ‘handle’ was not declared in this scope
npm ERR! 180 | void Return(Handle<T> handle, GetterCallbackInfo info) {
npm ERR! | ^~~~~~
npm ERR! ../src/fibers.cc:180:51: error: expected primary-expression before ‘info’
npm ERR! 180 | void Return(Handle<T> handle, GetterCallbackInfo info) {
npm ERR! | ^~~~
npm ERR! ../src/fibers.cc:188:2: error: ‘Handle’ does not name a type
npm ERR! 188 | Handle<Value> ThrowException(Isolate* isolate, Handle<Value> exception) {
npm ERR! | ^~~~~~
npm ERR! ../src/fibers.cc:192:2: error: ‘Handle’ does not name a type
npm ERR! 192 | Handle<Context> GetCurrentContext(Isolate* isolate) {
npm ERR! | ^~~~~~
npm ERR! ../src/fibers.cc:196:2: error: ‘Handle’ does not name a type
npm ERR! 196 | Handle<Primitive> Undefined(Isolate* isolate) {
npm ERR! | ^~~~~~
npm ERR! ../src/fibers.cc:200:2: error: ‘Handle’ does not name a type
npm ERR! 200 | Handle<Boolean> NewBoolean(Isolate* isolate, bool value) {
npm ERR! | ^~~~~~
npm ERR! ../src/fibers.cc:204:2: error: ‘Handle’ does not name a type
npm ERR! 204 | Handle<Number> NewNumber(Isolate* isolate, double value) {
npm ERR! | ^~~~~~
npm ERR! ../src/fibers.cc:208:2: error: ‘Handle’ does not name a type
npm ERR! 208 | Handle<FunctionTemplate> NewFunctionTemplate(
npm ERR! | ^~~~~~
npm ERR! ../src/fibers.cc:218:2: error: ‘Handle’ does not name a type
npm ERR! 218 | Handle<Signature> NewSignature(
npm ERR! | ^~~~~~
npm ERR! ../src/fibers.cc: In function ‘void uni::SetAccessor(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::String>, uni::FunctionType (*)(v8::Local<v8::String>, const GetterCallbackInfo&), void (*)(v8::Local<v8::String>, v8::Local<v8::Value>, const SetterCallbackInfo&))’:
npm ERR! ../src/fibers.cc:341:59: warning: cast between incompatible function types from ‘uni::FunctionType (*)(v8::Local<v8::String>, const GetterCallbackInfo&)’ {aka ‘void (*)(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>&)’} to ‘v8::AccessorNameGetterCallback’ {aka ‘void (*)(v8::Local<v8::Name>, const v8::PropertyCallbackInfo<v8::Value>&)’} [-Wcast-function-type]
npm ERR! 341 | object->SetAccessor(isolate->GetCurrentContext(), name, (AccessorNameGetterCallback)getter, (AccessorNameSetterCallback)setter).ToChecked();
npm ERR! | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! ../src/fibers.cc:341:95: warning: cast between incompatible function types from ‘void (*)(v8::Local<v8::String>, v8::Local<v8::Value>, const SetterCallbackInfo&)’ {aka ‘void (*)(v8::Local<v8::String>, v8::Local<v8::Value>, const v8::PropertyCallbackInfo<void>&)’} to ‘v8::AccessorNameSetterCallback’ {aka ‘void (*)(v8::Local<v8::Name>, v8::Local<v8::Value>, const v8::PropertyCallbackInfo<void>&)’} [-Wcast-function-type]
npm ERR! 341 | object->SetAccessor(isolate->GetCurrentContext(), name, (AccessorNameGetterCallback)getter, (AccessorNameSetterCallback)setter).ToChecked();
npm ERR! | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! ../src/fibers.cc: At global scope:
npm ERR! ../src/fibers.cc:408:17: error: expected ‘;’ at end of member declaration
npm ERR! 408 | static Fiber& Unwrap(Handle<Object> handle) {
npm ERR! | ^~~~~~
npm ERR! | ;
npm ERR! ../src/fibers.cc:408:30: error: expected ‘)’ before ‘<’ token
npm ERR! 408 | static Fiber& Unwrap(Handle<Object> handle) {
npm ERR! | ~ ^
npm ERR! | )
npm ERR! ../src/fibers.cc:414:15: error: expected ‘)’ before ‘<’ token
npm ERR! 414 | Fiber(Handle<Object> handle, Handle<Function> cb, Handle<Context> v8_context) :
npm ERR! | ~ ^
npm ERR! | )
npm ERR! ../src/fibers.cc:680:3: error: ‘Handle’ does not name a type
npm ERR! 680 | Handle<Value> ReturnYielded() {
npm ERR! | ^~~~~~
npm ERR! ../src/fibers.cc:842:20: error: ‘Handle’ has not been declared
npm ERR! 842 | static void Init(Handle<Object> target) {
npm ERR! | ^~~~~~
npm ERR! ../src/fibers.cc:842:26: error: expected ‘,’ or ‘...’ before ‘<’ token
npm ERR! 842 | static void Init(Handle<Object> target) {
npm ERR! | ^
npm ERR! In file included from ../src/fibers.cc:3:
npm ERR! ../src/fibers.cc: In static member function ‘static void Fiber::WeakCallback(void*)’:
npm ERR! ../src/fibers.cc:458:23: error: ‘class v8::Persistent<v8::Object>’ has no member named ‘IsNearDeath’
npm ERR! 458 | assert(that.handle.IsNearDeath());
npm ERR! | ^~~~~~~~~~~
npm ERR! ../src/fibers.cc: In static member function ‘static void Fiber::DestroyOrphans()’:
npm ERR! ../src/fibers.cc:495:22: error: ‘Deref’ is not a member of ‘uni’
npm ERR! 495 | auto stack(uni::Deref(that.isolate, fatal_stack));
npm ERR! | ^~~~~
npm ERR! ../src/fibers.cc: In static member function ‘static uni::FunctionType Fiber::New(const Arguments&)’:
npm ERR! ../src/fibers.cc:10:45: error: ‘ThrowException’ is not a member of ‘uni’
npm ERR! 10 | #define THROW(x, m) return uni::Return(uni::ThrowException(Isolate::GetCurrent(), x(uni::NewLatin1String(Isolate::GetCurrent(), m))), args)
npm ERR! | ^~~~~~~~~~~~~~
npm ERR! ../src/fibers.cc:517:5: note: in expansion of macro ‘THROW’
npm ERR! 517 | THROW(Exception::TypeError, "Fiber expects 1 argument");
npm ERR! | ^~~~~
npm ERR! ../src/fibers.cc:10:90: error: ‘NewLatin1String’ is not a member of ‘uni’
npm ERR! 10 | #define THROW(x, m) return uni::Return(uni::ThrowException(Isolate::GetCurrent(), x(uni::NewLatin1String(Isolate::GetCurrent(), m))), args)
npm ERR! | ^~~~~~~~~~~~~~~
npm ERR! ../src/fibers.cc:517:5: note: in expansion of macro ‘THROW’
npm ERR! 517 | THROW(Exception::TypeError, "Fiber expects 1 argument");
npm ERR! | ^~~~~
npm ERR! ../src/fibers.cc:10:45: error: ‘ThrowException’ is not a member of ‘uni’
npm ERR! 10 | #define THROW(x, m) return uni::Return(uni::ThrowException(Isolate::GetCurrent(), x(uni::NewLatin1String(Isolate::GetCurrent(), m))), args)
npm ERR! | ^~~~~~~~~~~~~~
npm ERR! ../src/fibers.cc:519:5: note: in expansion of macro ‘THROW’
npm ERR! 519 | THROW(Exception::TypeError, "Fiber expects a function");
npm ERR! | ^~~~~
npm ERR! ../src/fibers.cc:10:90: error: ‘NewLatin1String’ is not a member of ‘uni’
npm ERR! 10 | #define THROW(x, m) return uni::Return(uni::ThrowException(Isolate::GetCurrent(), x(uni::NewLatin1String(Isolate::GetCurrent(), m))), args)
npm ERR! | ^~~~~~~~~~~~~~~
npm ERR! ../src/fibers.cc:519:5: note: in expansion of macro ‘THROW’
npm ERR! 519 | THROW(Exception::TypeError, "Fiber expects a function");
npm ERR! | ^~~~~
npm ERR! ../src/fibers.cc:521:5: error: ‘Handle’ was not declared in this scope; did you mean ‘handle’?
npm ERR! 521 | Handle<Value> argv[1] = { args[0] };
npm ERR! | ^~~~~~
npm ERR! | handle
npm ERR! ../src/fibers.cc:521:17: error: expected primary-expression before ‘>’ token
npm ERR! 521 | Handle<Value> argv[1] = { args[0] };
npm ERR! | ^
npm ERR! ../src/fibers.cc:521:19: error: ‘argv’ was not declared in this scope; did you mean ‘args’?
npm ERR! 521 | Handle<Value> argv[1] = { args[0] };
npm ERR! | ^~~~
npm ERR! | args
npm ERR! ../src/fibers.cc:522:29: error: ‘NewInstance’ is not a member of ‘uni’
npm ERR! 522 | return uni::Return(uni::NewInstance(Isolate::GetCurrent(), uni::Deref(Isolate::GetCurrent(), tmpl)->GetFunction(), 1, argv), args);
npm ERR! | ^~~~~~~~~~~
npm ERR! ../src/fibers.cc:522:69: error: ‘Deref’ is not a member of ‘uni’
npm ERR! 522 | return uni::Return(uni::NewInstance(Isolate::GetCurrent(), uni::Deref(Isolate::GetCurrent(), tmpl)->GetFunction(), 1, argv), args);
npm ERR! | ^~~~~
npm ERR! ../src/fibers.cc:525:4: error: ‘Handle’ was not declared in this scope; did you mean ‘handle’?
npm ERR! 525 | Handle<Function> fn = Handle<Function>::Cast(args[0]);
npm ERR! | ^~~~~~
npm ERR! | handle
npm ERR! ../src/fibers.cc:525:19: error: expected primary-expression before ‘>’ token
npm ERR! 525 | Handle<Function> fn = Handle<Function>::Cast(args[0]);
npm ERR! | ^
npm ERR! ../src/fibers.cc:525:21: error: ‘fn’ was not declared in this scope
npm ERR! 525 | Handle<Function> fn = Handle<Function>::Cast(args[0]);
npm ERR! | ^~
npm ERR! ../src/fibers.cc:525:41: error: expected primary-expression before ‘>’ token
npm ERR! 525 | Handle<Function> fn = Handle<Function>::Cast(args[0]);
npm ERR! | ^
npm ERR! ../src/fibers.cc:525:44: error: ‘::Cast’ has not been declared
npm ERR! 525 | Handle<Function> fn = Handle<Function>::Cast(args[0]);
npm ERR! | ^~~~
npm ERR! ../src/fibers.cc:526:36: error: ‘GetCurrentContext’ is not a member of ‘uni’
npm ERR! 526 | new Fiber(args.This(), fn, uni::GetCurrentContext(Isolate::GetCurrent()));
npm ERR! | ^~~~~~~~~~~~~~~~~
npm ERR! ../src/fibers.cc:527:40: error: no matching function for call to ‘Return(v8::Local<v8::Object>, const Arguments&)’
npm ERR! 527 | return uni::Return(args.This(), args);
npm ERR! | ^
npm ERR! ../src/fibers.cc:184:7: note: candidate: ‘template<class T> void uni::Return(v8::Persistent<T, v8::NonCopyablePersistentTraits<T> >&, uni::GetterCallbackInfo)’
npm ERR! 184 | void Return(Persistent<T>& handle, GetterCallbackInfo info) {
npm ERR! | ^~~~~~
npm ERR! ../src/fibers.cc:184:7: note: template argument deduction/substitution failed:
npm ERR! ../src/fibers.cc:527:40: note: ‘v8::Local<v8::Object>’ is not derived from ‘v8::Persistent<T, v8::NonCopyablePersistentTraits<T> >’
npm ERR! 527 | return uni::Return(args.This(), args);
npm ERR! | ^
npm ERR! ../src/fibers.cc: In static member function ‘static uni::FunctionType Fiber::Run(const Arguments&)’:
npm ERR! ../src/fibers.cc:535:38: error: no match for call to ‘(Fiber) (v8::Local<v8::Object>)’
npm ERR! 535 | Fiber& that = Unwrap(args.Holder());
npm ERR! | ^
npm ERR! ../src/fibers.cc:10:45: error: ‘ThrowException’ is not a member of ‘uni’
npm ERR! 10 | #define THROW(x, m) return uni::Return(uni::ThrowException(Isolate::GetCurrent(), x(uni::NewLatin1String(Isolate::GetCurrent(), m))), args)
npm ERR! | ^~~~~~~~~~~~~~
npm ERR! ../src/fibers.cc:541:5: note: in expansion of macro ‘THROW’
npm ERR! 541 | THROW(Exception::Error, "This Fiber is already running");
npm ERR! | ^~~~~
npm ERR! ../src/fibers.cc:10:90: error: ‘NewLatin1String’ is not a member of ‘uni’
npm ERR! 10 | #define THROW(x, m) return uni::Return(uni::ThrowException(Isolate::GetCurrent(), x(uni::NewLatin1String(Isolate::GetCurrent(), m))), args)
npm ERR! | ^~~~~~~~~~~~~~~
npm ERR! ../src/fibers.cc:541:5: note: in expansion of macro ‘THROW’
npm ERR! 541 | THROW(Exception::Error, "This Fiber is already running");
npm ERR! | ^~~~~
npm ERR! ../src/fibers.cc:10:45: error: ‘ThrowException’ is not a member of ‘uni’
npm ERR! 10 | #define THROW(x, m) return uni::Return(uni::ThrowException(Isolate::GetCurrent(), x(uni::NewLatin1String(Isolate::GetCurrent(), m))), args)
npm ERR! | ^~~~~~~~~~~~~~
npm ERR! ../src/fibers.cc:543:5: note: in expansion of macro ‘THROW’
npm ERR! 543 | THROW(Exception::TypeError, "run() excepts 1 or no arguments");
npm ERR! | ^~~~~
npm ERR! ../src/fibers.cc:10:90: error: ‘NewLatin1String’ is not a member of ‘uni’
npm ERR! 10 | #define THROW(x, m) return uni::Return(uni::ThrowException(Isolate::GetCurrent(), x(uni::NewLatin1String(Isolate::GetCurrent(), m))), args)
npm ERR! | ^~~~~~~~~~~~~~~
npm ERR! ../src/fibers.cc:543:5: note: in expansion of macro ‘THROW’
npm ERR! 543 | THROW(Exception::TypeError, "run() excepts 1 or no arguments");
npm ERR! | ^~~~~
npm ERR! ../src/fibers.cc:10:45: error: ‘ThrowException’ is not a member of ‘uni’
npm ERR! 10 | #define THROW(x, m) return uni::Return(uni::ThrowException(Isolate::GetCurrent(), x(uni::NewLatin1String(Isolate::GetCurrent(), m))), args)
npm ERR! | ^~~~~~~~~~~~~~
npm ERR! ../src/fibers.cc:554:6: note: in expansion of macro ‘THROW’
npm ERR! 554 | THROW(Exception::RangeError, "Out of memory");
npm ERR! | ^~~~~
npm ERR! ../src/fibers.cc:10:90: error: ‘NewLatin1String’ is not a member of ‘uni’
npm ERR! 10 | #define THROW(x, m) return uni::Return(uni::ThrowException(Isolate::GetCurrent(), x(uni::NewLatin1String(Isolate::GetCurrent(), m))), args)
npm ERR! | ^~~~~~~~~~~~~~~
npm ERR! ../src/fibers.cc:554:6: note: in expansion of macro ‘THROW’
npm ERR! 554 | THROW(Exception::RangeError, "Out of memory");
npm ERR! | ^~~~~
npm ERR! ../src/fibers.cc:564:52: error: no matching function for call to ‘Reset(v8::Isolate*&, v8::Persistent<v8::Value>&, v8::Local<v8::Value>)’
npm ERR! 564 | uni::Reset(that.isolate, that.yielded, args[0]);
npm ERR! | ^
npm ERR! ../src/fibers.cc:149:7: note: candidate: ‘template<class T> void uni::Reset(v8::Isolate*, v8::Persistent<T, v8::NonCopyablePersistentTraits<T> >&, int)’
npm ERR! 149 | void Reset(Isolate* isolate, Persistent<T>& persistent, Handle<T> handle) {
npm ERR! | ^~~~~
npm ERR! ../src/fibers.cc:149:7: note: template argument deduction/substitution failed:
npm ERR! ../src/fibers.cc:564:51: note: cannot convert ‘(& args)->v8::FunctionCallbackInfo<v8::Value>::operator[](0)’ (type ‘v8::Local<v8::Value>’) to type ‘int’
npm ERR! 564 | uni::Reset(that.isolate, that.yielded, args[0]);
npm ERR! | ~~~~~~^
npm ERR! ../src/fibers.cc:566:57: error: ‘Undefined’ is not a member of ‘uni’; did you mean ‘v8::Undefined’?
npm ERR! 566 | uni::Reset<Value>(that.isolate, that.yielded, uni::Undefined(that.isolate));
npm ERR! | ^~~~~~~~~
npm ERR! In file included from /cache/node-gyp/16.17.1/include/node/node.h:73,
npm ERR! from ../src/coroutine.h:1,
npm ERR! from ../src/fibers.cc:1:
npm ERR! /cache/node-gyp/16.17.1/include/node/v8.h:12510:18: note: ‘v8::Undefined’ declared here
npm ERR! 12510 | Local<Primitive> Undefined(Isolate* isolate) {
npm ERR! | ^~~~~~~~~
npm ERR! ../src/fibers.cc:570:28: error: ‘class Fiber’ has no member named ‘ReturnYielded’
npm ERR! 570 | return uni::Return(that.ReturnYielded(), args);
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/fibers.cc: In static member function ‘static uni::FunctionType Fiber::ThrowInto(const Arguments&)’:
npm ERR! ../src/fibers.cc:577:38: error: no match for call to ‘(Fiber) (v8::Local<v8::Object>)’
npm ERR! 577 | Fiber& that = Unwrap(args.Holder());
npm ERR! | ^
npm ERR! ../src/fibers.cc:10:45: error: ‘ThrowException’ is not a member of ‘uni’
npm ERR! 10 | #define THROW(x, m) return uni::Return(uni::ThrowException(Isolate::GetCurrent(), x(uni::NewLatin1String(Isolate::GetCurrent(), m))), args)
npm ERR! | ^~~~~~~~~~~~~~
npm ERR! ../src/fibers.cc:580:5: note: in expansion of macro ‘THROW’
npm ERR! 580 | THROW(Exception::Error, "This Fiber is not yielding");
npm ERR! | ^~~~~
npm ERR! ../src/fibers.cc:10:90: error: ‘NewLatin1String’ is not a member of ‘uni’
npm ERR! 10 | #define THROW(x, m) return uni::Return(uni::ThrowException(Isolate::GetCurrent(), x(uni::NewLatin1String(Isolate::GetCurrent(), m))), args)
npm ERR! | ^~~~~~~~~~~~~~~
npm ERR! ../src/fibers.cc:580:5: note: in expansion of macro ‘THROW’
npm ERR! 580 | THROW(Exception::Error, "This Fiber is not yielding");
npm ERR! | ^~~~~
npm ERR! ../src/fibers.cc:582:56: error: ‘Undefined’ is not a member of ‘uni’; did you mean ‘v8::Undefined’?
npm ERR! 582 | uni::Reset<Value>(that.isolate, that.yielded, uni::Undefined(that.isolate));
npm ERR! | ^~~~~~~~~
npm ERR! In file included from /cache/node-gyp/16.17.1/include/node/node.h:73,
npm ERR! from ../src/coroutine.h:1,
npm ERR! from ../src/fibers.cc:1:
npm ERR! /cache/node-gyp/16.17.1/include/node/v8.h:12510:18: note: ‘v8::Undefined’ declared here
npm ERR! 12510 | Local<Primitive> Undefined(Isolate* isolate) {
npm ERR! | ^~~~~~~~~
npm ERR! ../src/fibers.cc:584:51: error: no matching function for call to ‘Reset(v8::Isolate*&, v8::Persistent<v8::Value>&, v8::Local<v8::Value>)’
npm ERR! 584 | uni::Reset(that.isolate, that.yielded, args[0]);
npm ERR! | ^
npm ERR! ../src/fibers.cc:149:7: note: candidate: ‘template<class T> void uni::Reset(v8::Isolate*, v8::Persistent<T, v8::NonCopyablePersistentTraits<T> >&, int)’
npm ERR! 149 | void Reset(Isolate* isolate, Persistent<T>& persistent, Handle<T> handle) {
npm ERR! | ^~~~~
npm ERR! ../src/fibers.cc:149:7: note: template argument deduction/substitution failed:
npm ERR! ../src/fibers.cc:584:50: note: cannot convert ‘(& args)->v8::FunctionCallbackInfo<v8::Value>::operator[](0)’ (type ‘v8::Local<v8::Value>’) to type ‘int’
npm ERR! 584 | uni::Reset(that.isolate, that.yielded, args[0]);
npm ERR! | ~~~~~~^
npm ERR! ../src/fibers.cc:10:45: error: ‘ThrowException’ is not a member of ‘uni’
npm ERR! 10 | #define THROW(x, m) return uni::Return(uni::ThrowException(Isolate::GetCurrent(), x(uni::NewLatin1String(Isolate::GetCurrent(), m))), args)
npm ERR! | ^~~~~~~~~~~~~~
npm ERR! ../src/fibers.cc:586:5: note: in expansion of macro ‘THROW’
npm ERR! 586 | THROW(Exception::TypeError, "throwInto() expects 1 or no arguments");
npm ERR! | ^~~~~
npm ERR! ../src/fibers.cc:10:90: error: ‘NewLatin1String’ is not a member of ‘uni’
npm ERR! 10 | #define THROW(x, m) return uni::Return(uni::ThrowException(Isolate::GetCurrent(), x(uni::NewLatin1String(Isolate::GetCurrent(), m))), args)
npm ERR! | ^~~~~~~~~~~~~~~
npm ERR! ../src/fibers.cc:586:5: note: in expansion of macro ‘THROW’
npm ERR! 586 | THROW(Exception::TypeError, "throwInto() expects 1 or no arguments");
npm ERR! | ^~~~~
npm ERR! ../src/fibers.cc:590:28: error: ‘class Fiber’ has no member named ‘ReturnYielded’
npm ERR! 590 | return uni::Return(that.ReturnYielded(), args);
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/fibers.cc: In static member function ‘static uni::FunctionType Fiber::Reset(const Arguments&)’:
npm ERR! ../src/fibers.cc:598:38: error: no match for call to ‘(Fiber) (v8::Local<v8::Object>)’
npm ERR! 598 | Fiber& that = Unwrap(args.Holder());
npm ERR! | ^
npm ERR! ../src/fibers.cc:601:29: error: ‘Undefined’ is not a member of ‘uni’; did you mean ‘v8::Undefined’?
npm ERR! 601 | return uni::Return(uni::Undefined(that.isolate), args);
npm ERR! | ^~~~~~~~~
npm ERR! In file included from /cache/node-gyp/16.17.1/include/node/node.h:73,
npm ERR! from ../src/coroutine.h:1,
npm ERR! from ../src/fibers.cc:1:
npm ERR! /cache/node-gyp/16.17.1/include/node/v8.h:12510:18: note: ‘v8::Undefined’ declared here
npm ERR! 12510 | Local<Primitive> Undefined(Isolate* isolate) {
npm ERR! | ^~~~~~~~~
npm ERR! ../src/fibers.cc:10:45: error: ‘ThrowException’ is not a member of ‘uni’
npm ERR! 10 | #define THROW(x, m) return uni::Return(uni::ThrowException(Isolate::GetCurrent(), x(uni::NewLatin1String(Isolate::GetCurrent(), m))), args)
npm ERR! | ^~~~~~~~~~~~~~
npm ERR! ../src/fibers.cc:603:5: note: in expansion of macro ‘THROW’
npm ERR! 603 | THROW(Exception::Error, "This Fiber is not yielding");
npm ERR! | ^~~~~
npm ERR! ../src/fibers.cc:10:90: error: ‘NewLatin1String’ is not a member of ‘uni’
npm ERR! 10 | #define THROW(x, m) return uni::Return(uni::ThrowException(Isolate::GetCurrent(), x(uni::NewLatin1String(Isolate::GetCurrent(), m))), args)
npm ERR! | ^~~~~~~~~~~~~~~
npm ERR! ../src/fibers.cc:603:5: note: in expansion of macro ‘THROW’
npm ERR! 603 | THROW(Exception::Error, "This Fiber is not yielding");
npm ERR! | ^~~~~
npm ERR! ../src/fibers.cc:10:45: error: ‘ThrowException’ is not a member of ‘uni’
npm ERR! 10 | #define THROW(x, m) return uni::Return(uni::ThrowException(Isolate::GetCurrent(), x(uni::NewLatin1String(Isolate::GetCurrent(), m))), args)
npm ERR! | ^~~~~~~~~~~~~~
npm ERR! ../src/fibers.cc:605:5: note: in expansion of macro ‘THROW’
npm ERR! 605 | THROW(Exception::TypeError, "reset() expects no arguments");
npm ERR! | ^~~~~
npm ERR! ../src/fibers.cc:10:90: error: ‘NewLatin1String’ is not a member of ‘uni’
npm ERR! 10 | #define THROW(x, m) return uni::Return(uni::ThrowException(Isolate::GetCurrent(), x(uni::NewLatin1String(Isolate::GetCurrent(), m))), args)
npm ERR! | ^~~~~~~~~~~~~~~
npm ERR! ../src/fibers.cc:605:5: note: in expansion of macro ‘THROW’
npm ERR! 605 | THROW(Exception::TypeError, "reset() expects no arguments");
npm ERR! | ^~~~~
npm ERR! ../src/fibers.cc:613:4: error: ‘Handle’ was not declared in this scope; did you mean ‘handle’?
npm ERR! 613 | Handle<Value> val = uni::Deref(that.isolate, that.yielded);
npm ERR! | ^~~~~~
npm ERR! | handle
npm ERR! ../src/fibers.cc:613:16: error: expected primary-expression before ‘>’ token
npm ERR! 613 | Handle<Value> val = uni::Deref(that.isolate, that.yielded);
npm ERR! | ^
npm ERR! ../src/fibers.cc:613:18: error: ‘val’ was not declared in this scope
npm ERR! 613 | Handle<Value> val = uni::Deref(that.isolate, that.yielded);
npm ERR! | ^~~
npm ERR! ../src/fibers.cc:613:29: error: ‘Deref’ is not a member of ‘uni’
npm ERR! 613 | Handle<Value> val = uni::Deref(that.isolate, that.yielded);
npm ERR! | ^~~~~
npm ERR! ../src/fibers.cc:616:29: error: ‘ThrowException’ is not a member of ‘uni’
npm ERR! 616 | return uni::Return(uni::ThrowException(that.isolate, val), args);
npm ERR! | ^~~~~~~~~~~~~~
npm ERR! ../src/fibers.cc: In member function ‘void Fiber::UnwindStack()’:
npm ERR! ../src/fibers.cc:635:4: error: ‘Handle’ was not declared in this scope; did you mean ‘handle’?
npm ERR! 635 | Handle<Value> zombie_exception = Exception::Error(uni::NewLatin1String(isolate, "This Fiber is a zombie"));
npm ERR! | ^~~~~~
npm ERR! | handle
npm ERR! ../src/fibers.cc:635:16: error: expected primary-expression before ‘>’ token
npm ERR! 635 | Handle<Value> zombie_exception = Exception::Error(uni::NewLatin1String(isolate, "This Fiber is a zombie"));
npm ERR! | ^
npm ERR! ../src/fibers.cc:635:59: error: ‘NewLatin1String’ is not a member of ‘uni’
npm ERR! 635 | Handle<Value> zombie_exception = Exception::Error(uni::NewLatin1String(isolate, "This Fiber is a zombie"));
npm ERR! | ^~~~~~~~~~~~~~~
npm ERR! ../src/fibers.cc:636:64: error: no matching function for call to ‘Reset(v8::Isolate*&, v8::Persistent<v8::Value>&, v8::Persistent<v8::Value>&)’
npm ERR! 636 | uni::Reset(isolate, this->zombie_exception, zombie_exception);
npm ERR! | ^
npm ERR! ../src/fibers.cc:149:7: note: candidate: ‘template<class T> void uni::Reset(v8::Isolate*, v8::Persistent<T, v8::NonCopyablePersistentTraits<T> >&, int)’
npm ERR! 149 | void Reset(Isolate* isolate, Persistent<T>& persistent, Handle<T> handle) {
npm ERR! | ^~~~~
npm ERR! ../src/fibers.cc:149:7: note: template argument deduction/substitution failed:
npm ERR! ../src/fibers.cc:636:48: note: cannot convert ‘((Fiber*)this)->Fiber::zombie_exception’ (type ‘v8::Persistent<v8::Value>’) to type ‘int’
npm ERR! 636 | uni::Reset(isolate, this->zombie_exception, zombie_exception);
npm ERR! | ^~~~~~~~~~~~~~~~
npm ERR! ../src/fibers.cc:637:49: error: no matching function for call to ‘Reset(v8::Isolate*&, v8::Persistent<v8::Value>&, v8::Persistent<v8::Value>&)’
npm ERR! 637 | uni::Reset(isolate, yielded, zombie_exception);
npm ERR! | ^
npm ERR! ../src/fibers.cc:149:7: note: candidate: ‘template<class T> void uni::Reset(v8::Isolate*, v8::Persistent<T, v8::NonCopyablePersistentTraits<T> >&, int)’
npm ERR! 149 | void Reset(Isolate* isolate, Persistent<T>& persistent, Handle<T> handle) {
npm ERR! | ^~~~~
npm ERR! ../src/fibers.cc:149:7: note: template argument deduction/substitution failed:
npm ERR! ../src/fibers.cc:637:33: note: cannot convert ‘((Fiber*)this)->Fiber::zombie_exception’ (type ‘v8::Persistent<v8::Value>’) to type ‘int’
npm ERR! 637 | uni::Reset(isolate, yielded, zombie_exception);
npm ERR! | ^~~~~~~~~~~~~~~~
npm ERR! ../src/fibers.cc:650:46: error: ‘Undefined’ is not a member of ‘uni’; did you mean ‘v8::Undefined’?
npm ERR! 650 | uni::Reset<Value>(isolate, yielded, uni::Undefined(isolate));
npm ERR! | ^~~~~~~~~
npm ERR! In file included from /cache/node-gyp/16.17.1/include/node/node.h:73,
npm ERR! from ../src/coroutine.h:1,
npm ERR! from ../src/fibers.cc:1:
npm ERR! /cache/node-gyp/16.17.1/include/node/v8.h:12510:18: note: ‘v8::Undefined’ declared here
npm ERR! 12510 | Local<Primitive> Undefined(Isolate* isolate) {
npm ERR! | ^~~~~~~~~
npm ERR! ../src/fibers.cc: In static member function ‘static void Fiber::RunFiber(void**)’:
npm ERR! ../src/fibers.cc:712:5: error: ‘Handle’ was not declared in this scope; did you mean ‘handle’?
npm ERR! 712 | Handle<Context> v8_context = uni::Deref(that.isolate, that.v8_context);
npm ERR! | ^~~~~~
npm ERR! | handle
npm ERR! ../src/fibers.cc:712:19: error: expected primary-expression before ‘>’ token
npm ERR! 712 | Handle<Context> v8_context = uni::Deref(that.isolate, that.v8_context);
npm ERR! | ^
npm ERR! ../src/fibers.cc:712:21: error: invalid use of member ‘Fiber::v8_context’ in static member function
npm ERR! 712 | Handle<Context> v8_context = uni::Deref(that.isolate, that.v8_context);
npm ERR! | ^~~~~~~~~~
npm ERR! ../src/fibers.cc:397:23: note: declared here
npm ERR! 397 | Persistent<Context> v8_context;
npm ERR! | ^~~~~~~~~~
npm ERR! ../src/fibers.cc:712:39: error: ‘Deref’ is not a member of ‘uni’
npm ERR! 712 | Handle<Context> v8_context = uni::Deref(that.isolate, that.v8_context);
npm ERR! | ^~~~~
npm ERR! ../src/fibers.cc:713:5: error: invalid use of member ‘Fiber::v8_context’ in static member function
npm ERR! 713 | v8_context->Enter();
npm ERR! | ^~~~~~~~~~
npm ERR! ../src/fibers.cc:397:23: note: declared here
npm ERR! 397 | Persistent<Context> v8_context;
npm ERR! | ^~~~~~~~~~
npm ERR! ../src/fibers.cc:715:38: error: invalid use of member ‘Fiber::v8_context’ in static member function
npm ERR! 715 | uni::fixStackLimit(that.isolate, v8_context);
npm ERR! | ^~~~~~~~~~
npm ERR! ../src/fibers.cc:397:23: note: declared here
npm ERR! 397 | Persistent<Context> v8_context;
npm ERR! | ^~~~~~~~~~
npm ERR! ../src/fibers.cc:717:17: error: expected primary-expression before ‘>’ token
npm ERR! 717 | Handle<Value> yielded;
npm ERR! | ^
npm ERR! ../src/fibers.cc:717:19: error: invalid use of member ‘Fiber::yielded’ in static member function
npm ERR! 717 | Handle<Value> yielded;
npm ERR! | ^~~~~~~
npm ERR! ../src/fibers.cc:399:21: note: declared here
npm ERR! 399 | Persistent<Value> yielded;
npm ERR! | ^~~~~~~
npm ERR! ../src/fibers.cc:719:18: error: expected primary-expression before ‘>’ token
npm ERR! 719 | Handle<Value> argv[1] = { (*args)[0] };
npm ERR! | ^
npm ERR! ../src/fibers.cc:719:20: error: ‘argv’ was not declared in this scope; did you mean ‘args’?
npm ERR! 719 | Handle<Value> argv[1] = { (*args)[0] };
npm ERR! | ^~~~
npm ERR! | args
npm ERR! ../src/fibers.cc:720:6: error: invalid use of member ‘Fiber::yielded’ in static member function
npm ERR! 720 | yielded = uni::Deref(that.isolate, that.cb)->Call(v8_context->Global(), 1, argv);
npm ERR! | ^~~~~~~
npm ERR! ../src/fibers.cc:399:21: note: declared here
npm ERR! 399 | Persistent<Value> yielded;
npm ERR! | ^~~~~~~
npm ERR! ../src/fibers.cc:720:21: error: ‘Deref’ is not a member of ‘uni’
npm ERR! 720 | yielded = uni::Deref(that.isolate, that.cb)->Call(v8_context->Global(), 1, argv);
npm ERR! | ^~~~~
npm ERR! ../src/fibers.cc:720:56: error: invalid use of member ‘Fiber::v8_context’ in static member function
npm ERR! 720 | yielded = uni::Deref(that.isolate, that.cb)->Call(v8_context->Global(), 1, argv);
npm ERR! | ^~~~~~~~~~
npm ERR! ../src/fibers.cc:397:23: note: declared here
npm ERR! 397 | Persistent<Context> v8_context;
npm ERR! | ^~~~~~~~~~
npm ERR! ../src/fibers.cc:722:6: error: invalid use of member ‘Fiber::yielded’ in static member function
npm ERR! 722 | yielded = uni::Deref(that.isolate, that.cb)->Call(v8_context->Global(), 0, NULL);
npm ERR! | ^~~~~~~
npm ERR! ../src/fibers.cc:399:21: note: declared here
npm ERR! 399 | Persistent<Value> yielded;
npm ERR! | ^~~~~~~
npm ERR! ../src/fibers.cc:722:21: error: ‘Deref’ is not a member of ‘uni’
npm ERR! 722 | yielded = uni::Deref(that.isolate, that.cb)->Call(v8_context->Global(), 0, NULL);
npm ERR! | ^~~~~
npm ERR! ../src/fibers.cc:722:56: error: invalid use of member ‘Fiber::v8_context’ in static member function
npm ERR! 722 | yielded = uni::Deref(that.isolate, that.cb)->Call(v8_context->Global(), 0, NULL);
npm ERR! | ^~~~~~~~~~
npm ERR! ../src/fibers.cc:397:23: note: declared here
npm ERR! 397 | Persistent<Context> v8_context;
npm ERR! | ^~~~~~~~~~
npm ERR! ../src/fibers.cc:726:66: error: no matching function for call to ‘Reset(v8::Isolate*&, v8::Persistent<v8::Value>&, v8::Local<v8::Value>)’
npm ERR! 726 | uni::Reset(that.isolate, that.yielded, try_catch.Exception());
npm ERR! | ^
npm ERR! ../src/fibers.cc:149:7: note: candidate: ‘template<class T> void uni::Reset(v8::Isolate*, v8::Persistent<T, v8::NonCopyablePersistentTraits<T> >&, int)’
npm ERR! 149 | void Reset(Isolate* isolate, Persistent<T>& persistent, Handle<T> handle) {
npm ERR! | ^~~~~
npm ERR! ../src/fibers.cc:149:7: note: template argument deduction/substitution failed:
npm ERR! ../src/fibers.cc:726:64: note: cannot convert ‘try_catch.uni::TryCatch::<anonymous>.v8::TryCatch::Exception()’ (type ‘v8::Local<v8::Value>’) to type ‘int’
npm ERR! 726 | uni::Reset(that.isolate, that.yielded, try_catch.Exception());
npm ERR! | ~~~~~~~~~~~~~~~~~~~^~
npm ERR! ../src/fibers.cc:728:50: error: ‘Deref’ is not a member of ‘uni’
npm ERR! 728 | if (that.zombie && !that.resetting && !uni::Deref(that.isolate, that.yielded)->StrictEquals(uni::Deref(that.isolate, that.zombie_exception))) {
npm ERR! | ^~~~~
npm ERR! ../src/fibers.cc:728:103: error: ‘Deref’ is not a member of ‘uni’
npm ERR! 728 | if (that.zombie && !that.resetting && !uni::Deref(that.isolate, that.yielded)->StrictEquals(uni::Deref(that.isolate, that.zombie_exception))) {
npm ERR! | ^~~~~
npm ERR! ../src/fibers.cc:730:76: error: invalid use of member ‘Fiber::v8_context’ in static member function
npm ERR! 730 | uni::Reset(that.isolate, fatal_stack, uni::GetStackTrace(&try_catch, v8_context));
npm ERR! | ^~~~~~~~~~
npm ERR! ../src/fibers.cc:397:23: note: declared here
npm ERR! 397 | Persistent<Context> v8_context;
npm ERR! | ^~~~~~~~~~
npm ERR! ../src/fibers.cc:733:45: error: invalid use of member ‘Fiber::yielded’ in static member function
npm ERR! 733 | uni::Reset(that.isolate, that.yielded, yielded);
npm ERR! | ^~~~~~~
npm ERR! ../src/fibers.cc:399:21: note: declared here
npm ERR! 399 | Persistent<Value> yielded;
npm ERR! | ^~~~~~~
npm ERR! ../src/fibers.cc:748:5: error: invalid use of member ‘Fiber::v8_context’ in static member function
npm ERR! 748 | v8_context->Exit();
npm ERR! | ^~~~~~~~~~
npm ERR! ../src/fibers.cc:397:23: note: declared here
npm ERR! 397 | Persistent<Context> v8_context;
npm ERR! | ^~~~~~~~~~
npm ERR! ../src/fibers.cc: In static member function ‘static uni::FunctionType Fiber::Yield_(const Arguments&)’:
npm ERR! ../src/fibers.cc:10:45: error: ‘ThrowException’ is not a member of ‘uni’
npm ERR! 10 | #define THROW(x, m) return uni::Return(uni::ThrowException(Isolate::GetCurrent(), x(uni::NewLatin1String(Isolate::GetCurrent(), m))), args)
npm ERR! | ^~~~~~~~~~~~~~
npm ERR! ../src/fibers.cc:763:5: note: in expansion of macro ‘THROW’
npm ERR! 763 | THROW(Exception::Error, "yield() called with no fiber running");
npm ERR! | ^~~~~
npm ERR! ../src/fibers.cc:10:90: error: ‘NewLatin1String’ is not a member of ‘uni’
npm ERR! 10 | #define THROW(x, m) return uni::Return(uni::ThrowException(Isolate::GetCurrent(), x(uni::NewLatin1String(Isolate::GetCurrent(), m))), args)
npm ERR! | ^~~~~~~~~~~~~~~
npm ERR! ../src/fibers.cc:763:5: note: in expansion of macro ‘THROW’
npm ERR! 763 | THROW(Exception::Error, "yield() called with no fiber running");
npm ERR! | ^~~~~
npm ERR! ../src/fibers.cc:769:29: error: ‘ThrowException’ is not a member of ‘uni’
npm ERR! 769 | return uni::Return(uni::ThrowException(that.isolate, uni::Deref(that.isolate, that.zombie_exception)), args);
npm ERR! | ^~~~~~~~~~~~~~
npm ERR! ../src/fibers.cc:769:63: error: ‘Deref’ is not a member of ‘uni’
npm ERR! 769 | return uni::Return(uni::ThrowException(that.isolate, uni::Deref(that.isolate, that.zombie_exception)), args);
npm ERR! | ^~~~~
npm ERR! ../src/fibers.cc:771:60: error: cannot convert ‘v8::Local<v8::Primitive>’ to ‘int’
npm ERR! 771 | uni::Reset<Value>(that.isolate, that.yielded, Undefined(that.isolate));
npm ERR! | ~~~~~~~~~^~~~~~~~~~~~~~
npm ERR! | |
npm ERR! | v8::Local<v8::Primitive>
npm ERR! ../src/fibers.cc:149:58: note: initializing argument 3 of ‘void uni::Reset(v8::Isolate*, v8::Persistent<T, v8::NonCopyablePersistentTraits<T> >&, int) [with T = v8::Value]’
npm ERR! 149 | void Reset(Isolate* isolate, Persistent<T>& persistent, Handle<T> handle) {
npm ERR! | ^~~~~~
npm ERR! ../src/fibers.cc:773:51: error: no matching function for call to ‘Reset(v8::Isolate*&, v8::Persistent<v8::Value>&, v8::Local<v8::Value>)’
npm ERR! 773 | uni::Reset(that.isolate, that.yielded, args[0]);
npm ERR! | ^
npm ERR! ../src/fibers.cc:149:7: note: candidate: ‘template<class T> void uni::Reset(v8::Isolate*, v8::Persistent<T, v8::NonCopyablePersistentTraits<T> >&, int)’
npm ERR! 149 | void Reset(Isolate* isolate, Persistent<T>& persistent, Handle<T> handle) {
npm ERR! | ^~~~~
npm ERR! ../src/fibers.cc:149:7: note: template argument deduction/substitution failed:
npm ERR! ../src/fibers.cc:773:50: note: cannot convert ‘(& args)->v8::FunctionCallbackInfo<v8::Value>::operator[](0)’ (type ‘v8::Local<v8::Value>’) to type ‘int’
npm ERR! 773 | uni::Reset(that.isolate, that.yielded, args[0]);
npm ERR! | ~~~~~~^
npm ERR! ../src/fibers.cc:10:45: error: ‘ThrowException’ is not a member of ‘uni’
npm ERR! 10 | #define THROW(x, m) return uni::Return(uni::ThrowException(Isolate::GetCurrent(), x(uni::NewLatin1String(Isolate::GetCurrent(), m))), args)
npm ERR! | ^~~~~~~~~~~~~~
npm ERR! ../src/fibers.cc:775:5: note: in expansion of macro ‘THROW’
npm ERR! 775 | THROW(Exception::TypeError, "yield() expects 1 or no arguments");
npm ERR! | ^~~~~
npm ERR! ../src/fibers.cc:10:90: error: ‘NewLatin1String’ is not a member of ‘uni’
npm ERR! 10 | #define THROW(x, m) return uni::Return(uni::ThrowException(Isolate::GetCurrent(), x(uni::NewLatin1String(Isolate::GetCurrent(), m))), args)
npm ERR! | ^~~~~~~~~~~~~~~
npm ERR! ../src/fibers.cc:775:5: note: in expansion of macro ‘THROW’
npm ERR! 775 | THROW(Exception::TypeError, "yield() expects 1 or no arguments");
npm ERR! | ^~~~~
npm ERR! ../src/fibers.cc:798:28: error: ‘class Fiber’ has no member named ‘ReturnYielded’
npm ERR! 798 | return uni::Return(that.ReturnYielded(), args);
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/fibers.cc: In static member function ‘static uni::FunctionType Fiber::GetStarted(v8::Local<v8::String>, const GetterCallbackInfo&)’:
npm ERR! ../src/fibers.cc:806:29: error: ‘Undefined’ is not a member of ‘uni’; did you mean ‘v8::Undefined’?
npm ERR! 806 | return uni::Return(uni::Undefined(Isolate::GetCurrent()), info);
npm ERR! | ^~~~~~~~~
npm ERR! In file included from /cache/node-gyp/16.17.1/include/node/node.h:73,
npm ERR! from ../src/coroutine.h:1,
npm ERR! from ../src/fibers.cc:1:
npm ERR! /cache/node-gyp/16.17.1/include/node/v8.h:328:27: note: ‘v8::Undefined’ declared here
npm ERR! 328 | friend Local<Primitive> Undefined(Isolate* isolate);
npm ERR! | ^~~~~~~~~
npm ERR! ../src/fibers.cc:808:36: error: no match for call to ‘(Fiber) (v8::Local<v8::Object>)’
npm ERR! 808 | Fiber& that = Unwrap(info.This());
npm ERR! | ^
npm ERR! ../src/fibers.cc:809:28: error: ‘NewBoolean’ is not a member of ‘uni’
npm ERR! 809 | return uni::Return(uni::NewBoolean(that.isolate, that.started), info);
npm ERR! | ^~~~~~~~~~
npm ERR! ../src/fibers.cc: In static member function ‘static uni::FunctionType Fiber::GetCurrent(v8::Local<v8::String>, const GetterCallbackInfo&)’:
npm ERR! ../src/fibers.cc:816:29: error: ‘Undefined’ is not a member of ‘uni’; did you mean ‘v8::Undefined’?
npm ERR! 816 | return uni::Return(uni::Undefined(Isolate::GetCurrent()), info);
npm ERR! | ^~~~~~~~~
npm ERR! In file included from /cache/node-gyp/16.17.1/include/node/node.h:73,
npm ERR! from ../src/coroutine.h:1,
npm ERR! from ../src/fibers.cc:1:
npm ERR! /cache/node-gyp/16.17.1/include/node/v8.h:328:27: note: ‘v8::Undefined’ declared here
npm ERR! 328 | friend Local<Primitive> Undefined(Isolate* isolate);
npm ERR! | ^~~~~~~~~
npm ERR! ../src/fibers.cc: In static member function ‘static uni::FunctionType Fiber::GetPoolSize(v8::Local<v8::String>, const GetterCallbackInfo&)’:
npm ERR! ../src/fibers.cc:824:28: error: ‘NewNumber’ is not a member of ‘uni’
npm ERR! 824 | return uni::Return(uni::NewNumber(Isolate::GetCurrent(), Coroutine::pool_size), info);
npm ERR! | ^~~~~~~~~
npm ERR! ../src/fibers.cc: In static member function ‘static void Fiber::SetPoolSize(v8::Local<v8::String>, v8::Local<v8::Value>, const SetterCallbackInfo&)’:
npm ERR! ../src/fibers.cc:828:32: error: ‘ToNumber’ is not a member of ‘uni’
npm ERR! 828 | Coroutine::pool_size = uni::ToNumber(value)->Value();
npm ERR! | ^~~~~~~~
npm ERR! ../src/fibers.cc: In static member function ‘static uni::FunctionType Fiber::GetFibersCreated(v8::Local<v8::String>, const GetterCallbackInfo&)’:
npm ERR! ../src/fibers.cc:835:28: error: ‘NewNumber’ is not a member of ‘uni’
npm ERR! 835 | return uni::Return(uni::NewNumber(Isolate::GetCurrent(), Coroutine::coroutines_created()), info);
npm ERR! | ^~~~~~~~~
npm ERR! ../src/fibers.cc: In static member function ‘static void Fiber::Init(int)’:
npm ERR! ../src/fibers.cc:853:4: error: ‘Handle’ was not declared in this scope; did you mean ‘handle’?
npm ERR! 853 | Handle<FunctionTemplate> tmpl = uni::NewFunctionTemplate(isolate, New);
npm ERR! | ^~~~~~
npm ERR! | handle
npm ERR! ../src/fibers.cc:853:27: error: expected primary-expression before ‘>’ token
npm ERR! 853 | Handle<FunctionTemplate> tmpl = uni::NewFunctionTemplate(isolate, New);
npm ERR! | ^
npm ERR! ../src/fibers.cc:853:41: error: ‘NewFunctionTemplate’ is not a member of ‘uni’
npm ERR! 853 | Handle<FunctionTemplate> tmpl = uni::NewFunctionTemplate(isolate, New);
npm ERR! | ^~~~~~~~~~~~~~~~~~~
npm ERR! ../src/fibers.cc:854:41: error: no matching function for call to ‘Reset(v8::Isolate*&, v8::Persistent<v8::FunctionTemplate>&, v8::Persistent<v8::FunctionTemplate>&)’
npm ERR! 854 | uni::Reset(isolate, Fiber::tmpl, tmpl);
npm ERR! | ^
npm ERR! ../src/fibers.cc:149:7: note: candidate: ‘template<class T> void uni::Reset(v8::Isolate*, v8::Persistent<T, v8::NonCopyablePersistentTraits<T> >&, int)’
npm ERR! 149 | void Reset(Isolate* isolate, Persistent<T>& persistent, Handle<T> handle) {
npm ERR! | ^~~~~
npm ERR! ../src/fibers.cc:149:7: note: template argument deduction/substitution failed:
npm ERR! ../src/fibers.cc:854:37: note: cannot convert ‘Fiber::tmpl’ (type ‘v8::Persistent<v8::FunctionTemplate>’) to type ‘int’
npm ERR! 854 | uni::Reset(isolate, Fiber::tmpl, tmpl);
npm ERR! | ^~~~
npm ERR! ../src/fibers.cc:855:8: error: base operand of ‘->’ has non-pointer type ‘v8::Persistent<v8::FunctionTemplate>’
npm ERR! 855 | tmpl->SetClassName(uni::NewLatin1Symbol(isolate, "Fiber"));
npm ERR! | ^~
npm ERR! ../src/fibers.cc:855:28: error: ‘NewLatin1Symbol’ is not a member of ‘uni’
npm ERR! 855 | tmpl->SetClassName(uni::NewLatin1Symbol(isolate, "Fiber"));
npm ERR! | ^~~~~~~~~~~~~~~
npm ERR! ../src/fibers.cc:859:20: error: expected primary-expression before ‘>’ token
npm ERR! 859 | Handle<Signature> sig = uni::NewSignature(isolate, tmpl);
npm ERR! | ^
npm ERR! ../src/fibers.cc:859:22: error: ‘sig’ was not declared in this scope; did you mean ‘sig_t’?
npm ERR! 859 | Handle<Signature> sig = uni::NewSignature(isolate, tmpl);
npm ERR! | ^~~
npm ERR! | sig_t
npm ERR! ../src/fibers.cc:859:33: error: ‘NewSignature’ is not a member of ‘uni’
npm ERR! 859 | Handle<Signature> sig = uni::NewSignature(isolate, tmpl);
npm ERR! | ^~~~~~~~~~~~
npm ERR! ../src/fibers.cc:860:8: error: base operand of ‘->’ has non-pointer type ‘v8::Persistent<v8::FunctionTemplate>’
npm ERR! 860 | tmpl->InstanceTemplate()->SetInternalFieldCount(1);
npm ERR! | ^~
npm ERR! ../src/fibers.cc:863:25: error: expected primary-expression before ‘>’ token
npm ERR! 863 | Handle<ObjectTemplate> proto = tmpl->PrototypeTemplate();
npm ERR! | ^
npm ERR! ../src/fibers.cc:863:27: error: ‘proto’ was not declared in this scope
npm ERR! 863 | Handle<ObjectTemplate> proto = tmpl->PrototypeTemplate();
npm ERR! | ^~~~~
npm ERR! ../src/fibers.cc:863:39: error: base operand of ‘->’ has non-pointer type ‘v8::Persistent<v8::FunctionTemplate>’
npm ERR! 863 | Handle<ObjectTemplate> proto = tmpl->PrototypeTemplate();
npm ERR! | ^~
npm ERR! ../src/fibers.cc:864:20: error: ‘NewLatin1Symbol’ is not a member of ‘uni’
npm ERR! 864 | proto->Set(uni::NewLatin1Symbol(isolate, "reset"),
npm ERR! | ^~~~~~~~~~~~~~~
npm ERR! ../src/fibers.cc:865:10: error: ‘NewFunctionTemplate’ is not a member of ‘uni’
npm ERR! 865 | uni::NewFunctionTemplate(isolate, Reset, Handle<Value>(), sig));
npm ERR! | ^~~~~~~~~~~~~~~~~~~
npm ERR! ../src/fibers.cc:865:58: error: expected primary-expression before ‘>’ token
npm ERR! 865 | uni::NewFunctionTemplate(isolate, Reset, Handle<Value>(), sig));
npm ERR! | ^
npm ERR! ../src/fibers.cc:865:60: error: expected primary-expression before ‘)’ token
npm ERR! 865 | uni::NewFunctionTemplate(isolate, Reset, Handle<Value>(), sig));
npm ERR! | ^
npm ERR! ../src/fibers.cc:866:20: error: ‘NewLatin1Symbol’ is not a member of ‘uni’
npm ERR! 866 | proto->Set(uni::NewLatin1Symbol(isolate, "run"),
npm ERR! | ^~~~~~~~~~~~~~~
npm ERR! ../src/fibers.cc:867:10: error: ‘NewFunctionTemplate’ is not a member of ‘uni’
npm ERR! 867 | uni::NewFunctionTemplate(isolate, Run, Handle<Value>(), sig));
npm ERR! | ^~~~~~~~~~~~~~~~~~~
npm ERR! ../src/fibers.cc:867:56: error: expected primary-expression before ‘>’ token
npm ERR! 867 | uni::NewFunctionTemplate(isolate, Run, Handle<Value>(), sig));
npm ERR! | ^
npm ERR! ../src/fibers.cc:867:58: error: expected primary-expression before ‘)’ token
npm ERR! 867 | uni::NewFunctionTemplate(isolate, Run, Handle<Value>(), sig));
npm ERR! | ^
npm ERR! ../src/fibers.cc:868:20: error: ‘NewLatin1Symbol’ is not a member of ‘uni’
npm ERR! 868 | proto->Set(uni::NewLatin1Symbol(isolate, "throwInto"),
npm ERR! | ^~~~~~~~~~~~~~~
npm ERR! ../src/fibers.cc:869:10: error: ‘NewFunctionTemplate’ is not a member of ‘uni’
npm ERR! 869 | uni::NewFunctionTemplate(isolate, ThrowInto, Handle<Value>(), sig));
npm ERR! | ^~~~~~~~~~~~~~~~~~~
npm ERR! ../src/fibers.cc:869:62: error: expected primary-expression before ‘>’ token
npm ERR! 869 | uni::NewFunctionTemplate(isolate, ThrowInto, Handle<Value>(), sig));
npm ERR! | ^
npm ERR! ../src/fibers.cc:869:64: error: expected primary-expression before ‘)’ token
npm ERR! 869 | uni::NewFunctionTemplate(isolate, ThrowInto, Handle<Value>(), sig));
npm ERR! | ^
npm ERR! ../src/fibers.cc:870:28: error: ‘NewLatin1Symbol’ is not a member of ‘uni’
npm ERR! 870 | proto->SetAccessor(uni::NewLatin1Symbol(isolate, "started"), GetStarted);
npm ERR! | ^~~~~~~~~~~~~~~
npm ERR! ../src/fibers.cc:873:19: error: expected primary-expression before ‘>’ token
npm ERR! 873 | Handle<Function> yield = uni::NewFunctionTemplate(isolate, Yield_)->GetFunction();
npm ERR! | ^
npm ERR! ../src/fibers.cc:873:21: error: ‘yield’ was not declared in this scope; did you mean ‘yielded’?
npm ERR! 873 | Handle<Function> yield = uni::NewFunctionTemplate(isolate, Yield_)->GetFunction();
npm ERR! | ^~~~~
npm ERR! | yielded
npm ERR! ../src/fibers.cc:873:34: error: ‘NewFunctionTemplate’ is not a member of ‘uni’
npm ERR! 873 | Handle<Function> yield = uni::NewFunctionTemplate(isolate, Yield_)->GetFunction();
npm ERR! | ^~~~~~~~~~~~~~~~~~~
npm ERR! ../src/fibers.cc:874:17: error: expected primary-expression before ‘>’ token
npm ERR! 874 | Handle<String> sym_yield = uni::NewLatin1Symbol(isolate, "yield");
npm ERR! | ^
npm ERR! ../src/fibers.cc:874:19: error: ‘sym_yield’ was not declared in this scope; did you mean ‘sched_yield’?
npm ERR! 874 | Handle<String> sym_yield = uni::NewLatin1Symbol(isolate, "yield");
npm ERR! | ^~~~~~~~~
npm ERR! | sched_yield
npm ERR! ../src/fibers.cc:874:36: error: ‘NewLatin1Symbol’ is not a member of ‘uni’
npm ERR! 874 | Handle<String> sym_yield = uni::NewLatin1Symbol(isolate, "yield");
npm ERR! | ^~~~~~~~~~~~~~~
npm ERR! ../src/fibers.cc:875:4: error: ‘target’ was not declared in this scope
npm ERR! 875 | target->Set(sym_yield, yield);
npm ERR! | ^~~~~~
npm ERR! ../src/fibers.cc:878:19: error: expected primary-expression before ‘>’ token
npm ERR! 878 | Handle<Function> fn = tmpl->GetFunction();
npm ERR! | ^
npm ERR! ../src/fibers.cc:878:21: error: ‘fn’ was not declared in this scope
npm ERR! 878 | Handle<Function> fn = tmpl->GetFunction();
npm ERR! | ^~
npm ERR! ../src/fibers.cc:878:30: error: base operand of ‘->’ has non-pointer type ‘v8::Persistent<v8::FunctionTemplate>’
npm ERR! 878 | Handle<Function> fn = tmpl->GetFunction();
npm ERR! | ^~
npm ERR! ../src/fibers.cc:880:39: error: ‘NewLatin1Symbol’ is not a member of ‘uni’
npm ERR! 880 | uni::SetAccessor(isolate, fn, uni::NewLatin1Symbol(isolate, "current"), GetCurrent);
npm ERR! | ^~~~~~~~~~~~~~~
npm ERR! ../src/fibers.cc:881:39: error: ‘NewLatin1Symbol’ is not a member of ‘uni’
npm ERR! 881 | uni::SetAccessor(isolate, fn, uni::NewLatin1Symbol(isolate, "poolSize"), GetPoolSize, SetPoolSize);
npm ERR! | ^~~~~~~~~~~~~~~
npm ERR! ../src/fibers.cc:882:39: error: ‘NewLatin1Symbol’ is not a member of ‘uni’
npm ERR! 882 | uni::SetAccessor(isolate, fn, uni::NewLatin1Symbol(isolate, "fibersCreated"), GetFibersCreated);
npm ERR! | ^~~~~~~~~~~~~~~
npm ERR! ../src/fibers.cc:885:21: error: ‘NewLatin1Symbol’ is not a member of ‘uni’
npm ERR! 885 | target->Set(uni::NewLatin1Symbol(isolate, "Fiber"), fn);
npm ERR! | ^~~~~~~~~~~~~~~
npm ERR! ../src/fibers.cc: At global scope:
npm ERR! ../src/fibers.cc:901:6: error: variable or field ‘init’ declared void
npm ERR! 901 | void init(Handle<Object> target) {
npm ERR! | ^~~~
npm ERR! ../src/fibers.cc:901:11: error: ‘Handle’ was not declared in this scope
npm ERR! 901 | void init(Handle<Object> target) {
npm ERR! | ^~~~~~
npm ERR! ../src/fibers.cc:901:24: error: expected primary-expression before ‘>’ token
npm ERR! 901 | void init(Handle<Object> target) {
npm ERR! | ^
npm ERR! ../src/fibers.cc:901:26: error: ‘target’ was not declared in this scope
npm ERR! 901 | void init(Handle<Object> target) {
npm ERR! | ^~~~~~
npm ERR! In file included from ../src/coroutine.h:1,
npm ERR! from ../src/fibers.cc:1:
npm ERR! ../src/fibers.cc:916:21: error: ‘init’ was not declared in this scope; did you mean ‘int’?
npm ERR! 916 | NODE_MODULE(fibers, init)
npm ERR! | ^~~~
npm ERR! /cache/node-gyp/16.17.1/include/node/node.h:859:36: note: in definition of macro ‘NODE_MODULE_X’
npm ERR! 859 | (node::addon_register_func) (regfunc), \
npm ERR! | ^~~~~~~
npm ERR! ../src/fibers.cc:916:1: note: in expansion of macro ‘NODE_MODULE’
npm ERR! 916 | NODE_MODULE(fibers, init)
npm ERR! | ^~~~~~~~~~~
npm ERR! ../src/fibers.cc: In instantiation of ‘void uni::Return(v8::Persistent<T, v8::NonCopyablePersistentTraits<T> >&, uni::GetterCallbackInfo) [with T = v8::Object; uni::GetterCallbackInfo = v8::PropertyCallbackInfo<v8::Value>]’:
npm ERR! ../src/fibers.cc:814:45: required from here
npm ERR! ../src/fibers.cc:185:28: error: no matching function for call to ‘v8::ReturnValue<v8::Value>::Set(v8::Persistent<v8::Object>&)’
npm ERR! 185 | info.GetReturnValue().Set(handle);
npm ERR! | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
npm ERR! In file included from /cache/node-gyp/16.17.1/include/node/node.h:73,
npm ERR! from ../src/coroutine.h:1,
npm ERR! from ../src/fibers.cc:1:
npm ERR! /cache/node-gyp/16.17.1/include/node/v8.h:4529:18: note: candidate: ‘template<class S> void v8::ReturnValue<T>::Set(const v8::Global<S>&) [with S = S; T = v8::Value]’
npm ERR! 4529 | V8_INLINE void Set(const Global<S>& handle);
npm ERR! | ^~~
npm ERR! /cache/node-gyp/16.17.1/include/node/v8.h:4529:18: note: template argument deduction/substitution failed:
npm ERR! ../src/fibers.cc:185:28: note: ‘v8::Persistent<v8::Object>’ is not derived from ‘const v8::Global<T>’
npm ERR! 185 | info.GetReturnValue().Set(handle);
npm ERR! | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
npm ERR! In file included from /cache/node-gyp/16.17.1/include/node/node.h:73,
npm ERR! from ../src/coroutine.h:1,
npm ERR! from ../src/fibers.cc:1:
npm ERR! /cache/node-gyp/16.17.1/include/node/v8.h:4531:18: note: candidate: ‘template<class S> void v8::ReturnValue<T>::Set(const v8::BasicTracedReference<S>&) [with S = S; T = v8::Value]’
npm ERR! 4531 | V8_INLINE void Set(const BasicTracedReference<S>& handle);
npm ERR! | ^~~
npm ERR! /cache/node-gyp/16.17.1/include/node/v8.h:4531:18: note: template argument deduction/substitution failed:
npm ERR! ../src/fibers.cc:185:28: note: ‘v8::Persistent<v8::Object>’ is not derived from ‘const v8::BasicTracedReference<T>’
npm ERR! 185 | info.GetReturnValue().Set(handle);
npm ERR! | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
npm ERR! In file included from /cache/node-gyp/16.17.1/include/node/node.h:73,
npm ERR! from ../src/coroutine.h:1,
npm ERR! from ../src/fibers.cc:1:
npm ERR! /cache/node-gyp/16.17.1/include/node/v8.h:4533:18: note: candidate: ‘template<class S> void v8::ReturnValue<T>::Set(v8::Local<S>) [with S = S; T = v8::Value]’
npm ERR! 4533 | V8_INLINE void Set(const Local<S> handle);
npm ERR! | ^~~
npm ERR! /cache/node-gyp/16.17.1/include/node/v8.h:4533:18: note: template argument deduction/substitution failed:
npm ERR! ../src/fibers.cc:185:28: note: ‘v8::Persistent<v8::Object>’ is not derived from ‘v8::Local<T>’
npm ERR! 185 | info.GetReturnValue().Set(handle);
npm ERR! | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
npm ERR! In file included from /cache/node-gyp/16.17.1/include/node/node.h:73,
npm ERR! from ../src/coroutine.h:1,
npm ERR! from ../src/fibers.cc:1:
npm ERR! /cache/node-gyp/16.17.1/include/node/v8.h:11664:6: note: candidate: ‘void v8::ReturnValue<T>::Set(bool) [with T = v8::Value]’
npm ERR! 11664 | void ReturnValue<T>::Set(bool value) {
npm ERR! | ^~~~~~~~~~~~~~
npm ERR! /cache/node-gyp/16.17.1/include/node/v8.h:11664:31: note: no known conversion for argument 1 from ‘v8::Persistent<v8::Object>’ to ‘bool’
npm ERR! 11664 | void ReturnValue<T>::Set(bool value) {
npm ERR! | ~~~~~^~~~~
npm ERR! /cache/node-gyp/16.17.1/include/node/v8.h:11635:6: note: candidate: ‘void v8::ReturnValue<T>::Set(double) [with T = v8::Value]’
npm ERR! 11635 | void ReturnValue<T>::Set(double i) {
npm ERR! | ^~~~~~~~~~~~~~
npm ERR! /cache/node-gyp/16.17.1/include/node/v8.h:11635:33: note: no known conversion for argument 1 from ‘v8::Persistent<v8::Object>’ to ‘double’
npm ERR! 11635 | void ReturnValue<T>::Set(double i) {
npm ERR! | ~~~~~~~^
npm ERR! /cache/node-gyp/16.17.1/include/node/v8.h:11641:6: note: candidate: ‘void v8::ReturnValue<T>::Set(int32_t) [with T = v8::Value; int32_t = int]’
npm ERR! 11641 | void ReturnValue<T>::Set(int32_t i) {
npm ERR! | ^~~~~~~~~~~~~~
npm ERR! /cache/node-gyp/16.17.1/include/node/v8.h:11641:34: note: no known conversion for argument 1 from ‘v8::Persistent<v8::Object>’ to ‘int32_t’ {aka ‘int’}
npm ERR! 11641 | void ReturnValue<T>::Set(int32_t i) {
npm ERR! | ~~~~~~~~^
npm ERR! /cache/node-gyp/16.17.1/include/node/v8.h:11652:6: note: candidate: ‘void v8::ReturnValue<T>::Set(uint32_t) [with T = v8::Value; uint32_t = unsigned int]’
npm ERR! 11652 | void ReturnValue<T>::Set(uint32_t i) {
npm ERR! | ^~~~~~~~~~~~~~
npm ERR! /cache/node-gyp/16.17.1/include/node/v8.h:11652:35: note: no known conversion for argument 1 from ‘v8::Persistent<v8::Object>’ to ‘uint32_t’ {aka ‘unsigned int’}
npm ERR! 11652 | void ReturnValue<T>::Set(uint32_t i) {
npm ERR! | ~~~~~~~~~^
npm ERR! /cache/node-gyp/16.17.1/include/node/v8.h:4548:18: note: candidate: ‘template<class S> void v8::ReturnValue<T>::Set(S*) [with S = S; T = v8::Value]’
npm ERR! 4548 | V8_INLINE void Set(S* whatever);
npm ERR! | ^~~
npm ERR! /cache/node-gyp/16.17.1/include/node/v8.h:4548:18: note: template argument deduction/substitution failed:
npm ERR! ../src/fibers.cc:185:28: note: mismatched types ‘S*’ and ‘v8::Persistent<v8::Object>’
npm ERR! 185 | info.GetReturnValue().Set(handle);
npm ERR! | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
npm ERR! make: *** [fibers.target.mk:122: Release/obj.target/fibers/src/fibers.o] Error 1
npm ERR! gyp ERR! build error
npm ERR! gyp ERR! stack Error: `make` failed with exit code: 2
npm ERR! gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:513:28)
npm ERR! gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12)
npm ERR! gyp ERR! System Linux 4.19.0-23-amd64
npm ERR! gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--release"
npm ERR! gyp ERR! cwd /src/repo/node_modules/fibers
npm ERR! gyp ERR! node -v v16.17.1
npm ERR! gyp ERR! node-gyp -v v9.0.0
npm ERR! gyp ERR! not ok
npm ERR! node-gyp exited with code: 1
npm ERR! Please make sure you are using a supported platform and node version. If you
npm ERR! would like to compile fibers on this machine please make sure you have setup your
npm ERR! build environment--
npm ERR! Windows + OS X instructions here: https://github.com/nodejs/node-gyp
npm ERR! Ubuntu users please run: `sudo apt-get install g++ build-essential`
npm ERR! RHEL users please run: `yum install gcc-c++` and `yum groupinstall 'Development Tools'`
npm ERR! Alpine users please run: `sudo apk add python make g++`
npm ERR! /tmp/install-b46f709c.sh: 1: nodejs: not found
npm ERR! A complete log of this run can be found in:
npm ERR! /cache/_logs/2023-03-23T22_28_00_800Z-debug-0.log
--- stdout ---
--- end ---
$ package-lock-lint package-lock.json
--- stdout ---
Checking package-lock.json
--- end ---
Verifying that tests still pass
$ /usr/bin/npm ci --legacy-peer-deps
--- stderr ---
npm ERR! code EUSAGE
npm ERR!
npm ERR! `npm ci` can only install packages when your package.json and package-lock.json or npm-shrinkwrap.json are in sync. Please update your lock file with `npm install` before continuing.
npm ERR!
npm ERR! Missing: wdio-mediawiki@0.5.0 from lock file
npm ERR! Missing: wdio-mocha-framework@0.6.4 from lock file
npm ERR! Missing: wdio-spec-reporter@0.1.5 from lock file
npm ERR! Missing: mwbot@1.0.10 from lock file
npm ERR! Missing: bluebird@3.7.2 from lock file
npm ERR! Missing: semlog@0.6.10 from lock file
npm ERR! Missing: chalk@1.1.3 from lock file
npm ERR! Missing: prettyjson@1.2.5 from lock file
npm ERR! Missing: colors@1.4.0 from lock file
npm ERR! Missing: minimist@1.2.8 from lock file
npm ERR! Missing: mocha@5.2.0 from lock file
npm ERR! Missing: wdio-sync@0.7.3 from lock file
npm ERR! Missing: browser-stdout@1.3.1 from lock file
npm ERR! Missing: commander@2.15.1 from lock file
npm ERR! Missing: debug@3.1.0 from lock file
npm ERR! Missing: diff@3.5.0 from lock file
npm ERR! Missing: glob@7.1.2 from lock file
npm ERR! Missing: growl@1.10.5 from lock file
npm ERR! Missing: he@1.1.1 from lock file
npm ERR! Missing: mkdirp@0.5.1 from lock file
npm ERR! Missing: supports-color@5.4.0 from lock file
npm ERR! Missing: humanize-duration@3.15.3 from lock file
npm ERR! Missing: fibers@3.1.1 from lock file
npm ERR! Missing: object.assign@4.1.4 from lock file
npm ERR! Missing: detect-libc@1.0.3 from lock file
npm ERR! Missing: call-bind@1.0.2 from lock file
npm ERR! Missing: define-properties@1.2.0 from lock file
npm ERR! Missing: has-symbols@1.0.3 from lock file
npm ERR! Missing: object-keys@1.1.1 from lock file
npm ERR! Missing: get-intrinsic@1.2.0 from lock file
npm ERR! Missing: has-property-descriptors@1.0.0 from lock file
npm ERR! Missing: ms@2.0.0 from lock file
npm ERR! Missing: ansi-styles@2.2.1 from lock file
npm ERR! Missing: strip-ansi@3.0.1 from lock file
npm ERR! Missing: supports-color@2.0.0 from lock file
npm ERR! Missing: ansi-regex@2.1.1 from lock file
npm ERR!
npm ERR! Clean install a project
npm ERR!
npm ERR! Usage:
npm ERR! npm ci
npm ERR!
npm ERR! Options:
npm ERR! [--no-audit] [--foreground-scripts] [--ignore-scripts]
npm ERR! [--script-shell <script-shell>]
npm ERR!
npm ERR! aliases: clean-install, ic, install-clean, isntall-clean
npm ERR!
npm ERR! Run "npm help ci" for more info
npm ERR! A complete log of this run can be found in:
npm ERR! /cache/_logs/2023-03-23T22_28_10_775Z-debug-0.log
--- stdout ---
--- end ---
Traceback (most recent call last):
File "/venv/lib/python3.9/site-packages/runner-0.1.0-py3.9.egg/runner/__init__.py", line 1400, in main
libup.run(args.repo, args.output, args.branch)
File "/venv/lib/python3.9/site-packages/runner-0.1.0-py3.9.egg/runner/__init__.py", line 1344, in run
self.npm_audit_fix(new_npm_audit)
File "/venv/lib/python3.9/site-packages/runner-0.1.0-py3.9.egg/runner/__init__.py", line 241, in npm_audit_fix
self.check_call(['npm', 'ci', '--legacy-peer-deps'])
File "/venv/lib/python3.9/site-packages/runner-0.1.0-py3.9.egg/runner/shell2.py", line 54, in check_call
res.check_returncode()
File "/usr/lib/python3.9/subprocess.py", line 460, in check_returncode
raise CalledProcessError(self.returncode, self.args, self.stdout,
subprocess.CalledProcessError: Command '['/usr/bin/npm', 'ci', '--legacy-peer-deps']' returned non-zero exit status 1.