[PR#892] chore(deps): bump elliptic from 6.5.7 to 6.6.0

未分类 bolang 6个月前 (10-14) 60次浏览

Issue #892 | 状态: 已关闭 | 作者: dependabot[bot] | 创建时间: 2024-10-31

标签: dependencies


Bumps elliptic from 6.5.7 to 6.6.0.

Commits

Security Alerts page.


评论 (2)

#1 – codesandbox[bot] 于 2024-10-31

#### Review or Edit in CodeSandbox

Open the branch in andyarn/elliptic-6.6.0&utmsource=ghapp”>VS Codeandyarn/elliptic-6.6.0?task=preview&port=51423&redirect=true&utmsource=ghapp”>Preview


#2 – codiumai-pr-agent-free[bot] 于 2024-10-31

CI Failure Feedback 🧐

Action: build-macos-x64 (18.x)

Failed stage: Build macOS binaries [❌]

Failed test name: “”

Failure summary:

The action failed due to multiple issues:

  • A patch could not be applied to typescript@5.5.4, resulting in a “Cannot apply hunk #1” error.
  • The fsevents package encountered a “Usage Error” because it couldn’t find a script named “node-gyp”
    in the top-level workspace. This is likely due to a missing dependency declaration.
  • A ModuleNotFoundError occurred because the distutils module was not found, causing node-gyp to fail
    during the rebuild process for @serialport/bindings-cpp.
  • The hdiutil process failed with an ERRELECTRONBUILDERCANNOTEXECUTE error during the build of the
    DMG file, leading to the action’s failure.

  • Relevant error logs:

    1:  ##[group]Operating System
    2:  macOS
    ...

    594: ➤ YN0000: ┌ Fetch step 595: ##[group]Fetch step 596: ➤ YN0066: │ typescript@patch:typescript@npm%3A5.5.4#~builtin::version=5.5.4&hash=ad5954: Cannot apply hunk #1 597: ➤ YN0013: │ 5 packages were already cached, 2163 had to be fetched 598: ##[endgroup] 599: ➤ YN0000: └ Completed in 45s 806ms 600: ➤ YN0000: ┌ Link step 601: ##[group]Link step 602: ➤ YN0007: │ core-js@npm:2.6.12 must be built because it never has been before or the last one failed 603: ➤ YN0007: │ core-js@npm:3.26.1 must be built because it never has been before or the last one failed 604: ➤ YN0007: │ electron@npm:22.0.3 must be built because it never has been before or the last one failed 605: ➤ YN0007: │ final-form@npm:4.12.0 must be built because it never has been before or the last one failed 606: ➤ YN0007: │ core-js@npm:3.27.2 must be built because it never has been before or the last one failed 607: ➤ YN0007: │ core-js@npm:3.38.0 must be built because it never has been before or the last one failed 608: ➤ YN0007: │ react-final-form@npm:3.7.0 [890d5] must be built because it never has been before or the last one failed 609: ➤ YN0007: │ styled-components@npm:3.4.10 [890d5] must be built because it never has been before or the last one failed 610: ➤ YN0007: │ lzma-native@npm:8.0.6 must be built because it never has been before or the last one failed 611: ➤ YN0007: │ spawn-sync@npm:1.0.15 must be built because it never has been before or the last one failed 612: ➤ YN0007: │ @serialport/bindings-cpp@npm:10.8.0 must be built because it never has been before or the last one failed 613: ➤ YN0007: │ fsevents@patch:fsevents@npm%3A1.2.13#~builtin::version=1.2.13&hash=d11327 must be built because it never has been before or the last one failed 614: ➤ YN0000: │ final-form@npm:4.12.0 STDOUT Using final-form at work? You can now donate to our open collective: 615: ➤ YN0000: │ final-form@npm:4.12.0 STDOUT > https://opencollective.com/final-form/donate 616: ➤ YN0000: │ styled-components@npm:3.4.10 [890d5] STDOUT Use styled-components at work? Consider supporting our development efforts at opencollective.com/styled-components 617: ➤ YN0000: │ react-final-form@npm:3.7.0 [890d5] STDOUT Use react-final-form at work? Consider supporting our development efforts at opencollective.com/final-form 618: ➤ YN0000: │ fsevents@patch:fsevents@npm%3A1.2.13#~builtin::version=1.2.13&hash=d11327 STDOUT Usage Error: Couldn't find a script name "node-gyp" in the top-level (used by fsevents@patch:fsevents@npm%3A1.2.13#~builtin::version=1.2.13&hash=d11327). This typically happens because some package depends on "node-gyp" to build itself, but didn't list it in their dependencies. To fix that, please run "yarn add node-gyp" into your top-level workspace. You also can open an issue on the repository of the specified package to suggest them to use an optional peer dependency. 619: ➤ YN0000: │ fsevents@patch:fsevents@npm%3A1.2.13#~builtin::version=1.2.13&hash=d11327 STDOUT 620: ➤ YN0000: │ fsevents@patch:fsevents@npm%3A1.2.13#~builtin::version=1.2.13&hash=d11327 STDOUT $ yarn run [--inspect] [--inspect-brk] [-T,--top-level] [-B,--binaries-only] ... 621: ➤ YN0007: │ pre-push@npm:0.1.4 must be built because it never has been before or the last one failed 622: ➤ YN0000: │ pre-push@npm:0.1.4 STDOUT pre-push: 623: ➤ YN0000: │ pre-push@npm:0.1.4 STDOUT pre-push: Found .git folder in /Users/runner/work/cncjs/cncjs/.git 624: ➤ YN0007: │ cncjs@workspace:. must be built because it never has been before or the last one failed ...

    736: [stylint] 18:29 colons warning missing colon between property and value 737: [stylint] 738: [stylint] src/app/widgets/Visualizer/widget.styl 739: [stylint] 18:35 semicolons warning missing semicolon 740: [stylint] 741: [stylint] src/app/widgets/Visualizer/widget.styl 742: [stylint] 19:32 brackets warning always use brackets when defining selectors 743: [stylint] 744: [stylint] Stylint: 0 Errors. ...

    832: [eslint] 23:15 warning 'actions' is missing in props validation react/prop-types 833: [eslint] 834: [eslint] /Users/runner/work/cncjs/cncjs/src/app/widgets/Visualizer/index.jsx 835: [eslint] 136:22 warning 'name' is missing in props validation react/prop-types 836: [eslint] 837: [eslint] /Users/runner/work/cncjs/cncjs/src/main.js 838: [eslint] 150:7 warning Unexpected console statement no-console 839: [eslint] 840: [eslint] ✖ 4 problems (0 errors, 4 warnings) ...

    889: ok 11 - should be equal 890: ok 12 - should be equal 891: ok 13 - should be equal 892: 1..13 893: ok 3 - ensureString # time=1.497ms 894: 1..3 895: ok 1 - test/ensure-type.js # time=3030.309ms 896: # Subtest: test/evaluate-assignment-expression.js 897: - error evaluate-assignment-expression src="Not a valid expression", vars={} 898: - error evaluate-assignment-expression Error: Line 1: Unexpected identifier 899: at ErrorHandler.constructError (/Users/runner/work/cncjs/cncjs/node_modules/esprima/dist/esprima.js:5012:22) 900: at ErrorHandler.createError (/Users/runner/work/cncjs/cncjs/node_modules/esprima/dist/esprima.js:5028:27) 901: at Parser.unexpectedTokenError (/Users/runner/work/cncjs/cncjs/node_modules/esprima/dist/esprima.js:1985:39) ...

    1044: ok 1 - should be equal 1045: ok 2 - should be equivalent 1046: 1..2 1047: ok 4 - GrblLineParserResultStatus: set all bits to 1 ($10=31) # time=3.183ms 1048: # Subtest: GrblLineParserResultOk 1049: ok 1 - should be equal 1050: 1..1 1051: ok 5 - GrblLineParserResultOk # time=0.59ms 1052: # Subtest: GrblLineParserResultError 1053: ok 1 - should be equal 1054: ok 2 - should be equal 1055: 1..2 1056: ok 6 - GrblLineParserResultError # time=30.849ms ...

    1323: 1..16 1324: ok 4 - test/grbl.js # time=5507.016ms 1325: # Subtest: test/marlin.js 1326: # Subtest: MarlinLineParserResultEcho 1327: ok 1 - should be equal 1328: ok 2 - should be equal 1329: 1..2 1330: ok 1 - MarlinLineParserResultEcho # time=5.999ms 1331: # Subtest: MarlinLineParserResultError 1332: ok 1 - should be equal 1333: ok 2 - should be equal 1334: 1..2 1335: ok 2 - MarlinLineParserResultError # time=1.689ms ...

    1493: ok 5 - test/marlin.js # time=5211.559ms 1494: # Subtest: test/sender.js 1495: # Subtest: null streaming protocol 1496: ok 1 - should be equal 1497: 1..1 1498: ok 1 - null streaming protocol # time=4.348ms 1499: # Subtest: send-response streaming protocol 1500: ok 1 - send-response streaming protocol 1501: ok 2 - Failed to load "/Users/runner/work/cncjs/cncjs/test/fixtures/jsdc.gcode". ...

    1510: ok 1 - character-counting streaming protocol 1511: ok 2 - should be equal 1512: ok 3 - should be equal 1513: ok 4 - The buffer size cannot be reduced below the size of the data within the buffer. 1514: ok 5 - should be equal 1515: ok 6 - should be equal 1516: ok 7 - should be equal 1517: ok 8 - should be equal 1518: ok 9 - Failed to load "/Users/runner/work/cncjs/cncjs/test/fixtures/jsdc.gcode". ...

    1573: 1..4 1574: ok 6 - state transition # time=1.463ms 1575: 1..6 1576: ok 3 - SmoothieRunnerLineParserResultStatus: new status format # time=267.836ms 1577: # Subtest: SmoothieRunnerLineParserResultOk 1578: ok 1 - should be equal 1579: 1..1 1580: ok 4 - SmoothieRunnerLineParserResultOk # time=1.511ms 1581: # Subtest: SmoothieRunnerLineParserResultError 1582: ok 1 - should be equal 1583: ok 2 - should be equal 1584: 1..2 1585: ok 5 - SmoothieRunnerLineParserResultError # time=0.757ms ...

    1737: ok 1 - {"r":{},"f":[1,0,4]} # time=1.286ms 1738: 1..1 1739: ok 7 - TinyGParserResultReceiveReports # time=26.432ms 1740: 1..7 1741: ok 8 - test/tinyg.js # time=4981.209ms 1742: # Subtest: test/translate-expression.js 1743: # Subtest: exceptions 1744: ok 1 - should be equal 1745: - error evaluate-expression src="!", vars={} 1746: - error evaluate-expression Error: Line 1: Unexpected end of input 1747: index: 1, 1748: lineNumber: 1, 1749: description: 'Unexpected end of input' 1750: } 1751: at ErrorHandler.constructError (/Users/runner/work/cncjs/cncjs/node_modules/esprima/dist/esprima.js:5012:22) 1752: at ErrorHandler.createError (/Users/runner/work/cncjs/cncjs/node_modules/esprima/dist/esprima.js:5028:27) 1753: at Parser.unexpectedTokenError (/Users/runner/work/cncjs/cncjs/node_modules/esprima/dist/esprima.js:1985:39) ...

    1774: config | 99.63 | 33.33 | 100 | 99.63 | 1775: settings.base.js | 100 | 50 | 100 | 100 | 10 1776: settings.development.js | 100 | 0 | 100 | 100 | 26 1777: settings.js | 93.33 | 0 | 100 | 93.33 | 10 1778: settings.production.js | 100 | 50 | 100 | 100 | 37 1779: controllers/Grbl | 93.16 | 81.57 | 51.28 | 93.16 | 1780: GrblLineParserResultAlarm.js | 100 | 100 | 50 | 100 | 1781: GrblLineParserResultEcho.js | 52.38 | 66.66 | 50 | 52.38 | 9-18 1782: GrblLineParserResultError.js | 100 | 100 | 50 | 100 | ...

    1789: GrblLineParserResultSettings.js | 100 | 100 | 50 | 100 | 1790: GrblLineParserResultStartup.js | 100 | 100 | 50 | 100 | 1791: GrblLineParserResultStatus.js | 86.12 | 63.63 | 50 | 86.12 | ...52-153,163-164 1792: GrblLineParserResultVersion.js | 52.38 | 66.66 | 50 | 52.38 | 9-18 1793: GrblRunner.js | 87.86 | 77.41 | 33.33 | 87.86 | ...29-231,234-236 1794: controllers/Marlin | 93 | 88.34 | 47.82 | 93 | 1795: MarlinLineParser.js | 84.9 | 83.33 | 100 | 84.9 | 43-50 1796: MarlinLineParserResultEcho.js | 100 | 100 | 50 | 100 | 1797: MarlinLineParserResultError.js | 100 | 100 | 50 | 100 | ...

    1799: MarlinLineParserResultOk.js | 100 | 100 | 50 | 100 | 1800: MarlinLineParserResultPosition.js | 100 | 100 | 50 | 100 | 1801: MarlinLineParserResultStart.js | 100 | 100 | 50 | 100 | 1802: MarlinLineParserResultTemperature.js | 92.75 | 83.72 | 50 | 92.75 | ...44-146,149-152 1803: MarlinRunner.js | 89.2 | 82.6 | 28.57 | 89.2 | ...66-168,171-173 1804: controllers/Smoothie | 94.32 | 82.64 | 51.85 | 94.32 | 1805: SmoothieLineParserResultAction.js | 54.54 | 66.66 | 50 | 54.54 | 10-19 1806: SmoothieLineParserResultAlarm.js | 100 | 100 | 50 | 100 | 1807: SmoothieLineParserResultError.js | 100 | 100 | 50 | 100 | ...

    2048: Traceback (most recent call last): 2049: File "/Users/runner/work/cncjs/cncjs/nodemodules/node-gyp/gyp/gypmain.py", line 42, in 2050: import gyp # noqa: E402 2051: ^^^^^^^^^^ 2052: File "/Users/runner/work/cncjs/cncjs/node_modules/node-gyp/gyp/pylib/gyp/init.py", line 9, in 2053: import gyp.input 2054: File "/Users/runner/work/cncjs/cncjs/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 19, in 2055: from distutils.version import StrictVersion 2056: ModuleNotFoundError: No module named 'distutils' 2057: ✖ Rebuild Failed 2058: An unhandled error occurred inside electron-rebuild 2059: node-gyp failed to rebuild '/Users/runner/work/cncjs/cncjs/dist/cncjs/node_modules/@serialport/bindings-cpp'. 2060: For more information, rerun with the DEBUG environment variable set to "electron-rebuild". 2061: Error: gyp failed with exit code: 1 2062: Error: node-gyp failed to rebuild '/Users/runner/work/cncjs/cncjs/dist/cncjs/node_modules/@serialport/bindings-cpp'. 2063: For more information, rerun with the DEBUG environment variable set to "electron-rebuild". 2064: Error: gyp failed with exit code: 1 ...

    2083: • downloaded url=https://github.com/electron/electron/releases/download/v22.0.3/electron-v22.0.3-darwin-x64.zip duration=1.544s 2084: • asar usage is disabled — this is strongly not recommended solution=enable asar and use asarUnpack to unpack files that must be externally available 2085: • asar usage is disabled — this is strongly not recommended solution=enable asar and use asarUnpack to unpack files that must be externally available 2086: • Current build is a part of pull request, code signing will be skipped. 2087: Set env CSCFORPULL_REQUEST to true to force code signing. 2088: There are serious security concerns with CSCFORPULL_REQUEST=true (see the CircleCI documentation (https://circleci.com/docs/1.0/fork-pr-builds/) for details) 2089: If you have SSH keys, sensitive env vars or AWS credentials stored in your project settings and untrusted forks can make pull requests against your repo, then this option isn't for you. 2090: • building target=DMG arch=x64 file=output/CNCjs-1.10.4-c5caa51.dmg 2091: • Above command failed, retrying 5 more times 2092: • Above command failed, retrying 4 more times 2093: • Above command failed, retrying 3 more times 2094: • Above command failed, retrying 2 more times 2095: • Above command failed, retrying 1 more times 2096: • Above command failed, retrying 0 more times 2097: ⨯ hdiutil process failed ERRELECTRONBUILDERCANNOTEXECUTE 2098: Exit code: 2099: 1 failedTask=build stackTrace=Error: hdiutil process failed ERRELECTRONBUILDERCANNOTEXECUTE 2100: Exit code: 2101: 1 2102: at ChildProcess. (/Users/runner/work/cncjs/cncjs/node_modules/builder-util/src/util.ts:250:14) 2103: at Object.onceWrapper (node:events:632:26) 2104: at ChildProcess.emit (node:events:517:28) 2105: at maybeClose (node:internal/child_process:1098:16) 2106: at Process.ChildProcess.handle.onexit (node:internal/childprocess:303:5) 2107: ##[error]Process completed with exit code 1.


    ✨ CI feedback usage guide:

    The CI feedback tool (/checks) automatically triggers when a PR has a failed check.
    The tool analyzes the failed checks and provides several feedbacks:
    – Failed stage
    – Failed test name
    – Failure summary
    – Relevant error logs

    In addition to being automatically triggered, the tool can also be invoked manually by commenting on a PR:

    /checks "https://github.com/{reponame}/actions/runs/{runnumber}/job/{job_number}"
    

    where {reponame} is the name of the repository, {runnumber} is the run number of the failed check, and {job_number} is the job number of the failed check.

    #### Configuration options
    enableautochecks_feedback – if set to true, the tool will automatically provide feedback when a check is failed. Default is true.
    excludedcheckslist – a list of checks to exclude from the feedback, for example: [“check1”, “check2”]. Default is an empty list.
    enablehelptext – if set to true, the tool will provide a help message with the feedback. Default is true.
    persistent_comment – if set to true, the tool will overwrite a previous checks comment with the new feedback. Default is true.
    finalupdatemessage – if persistent_comment is true and updating a previous checks message, the tool will also create a new message: “Persistent checks updated to latest commit”. Default is true.

    See more information about the checks tool in the docs.


    原始Issue: https://github.com/cncjs/cncjs/pull/892

    喜欢 (0)