diff --git a/.github/workflows/client-participation-alpha-ci.yml b/.github/workflows/client-participation-alpha-ci.yml index 3410afd28..5aa713f70 100644 --- a/.github/workflows/client-participation-alpha-ci.yml +++ b/.github/workflows/client-participation-alpha-ci.yml @@ -29,7 +29,7 @@ jobs: cache-dependency-path: client-participation-alpha/package-lock.json - name: Install dependencies - run: npm ci + run: npm ci --ignore-scripts working-directory: client-participation-alpha - name: Check formatting diff --git a/.github/workflows/collective-statement-recordings.yml b/.github/workflows/collective-statement-recordings.yml index c7aba2095..318cba45c 100644 --- a/.github/workflows/collective-statement-recordings.yml +++ b/.github/workflows/collective-statement-recordings.yml @@ -74,7 +74,7 @@ jobs: - name: Install server dependencies and the reset routine's boto3 (delphi's locked versions) run: | - npm ci --prefix server --no-audit --no-fund + npm ci --ignore-scripts --prefix server --no-audit --no-fund python -m pip install --quiet certifi==2026.10.19 boto3==1.34.70 botocore==1.34.162 s3transfer==0.10.4 - name: The harness's own rules (expected differences, refusal of foreign stores, the schema pin against the real migrations) diff --git a/.github/workflows/coordinator-ci.yml b/.github/workflows/coordinator-ci.yml index 6d2f6039f..55035883c 100644 --- a/.github/workflows/coordinator-ci.yml +++ b/.github/workflows/coordinator-ci.yml @@ -64,7 +64,7 @@ jobs: if: steps.paths.outputs.run == 'true' run: | python -m pip install -r coordinator-rs/evidence/python-requirements.txt - npm ci --prefix server + npm ci --prefix server --ignore-scripts cd coordinator-rs rustup show active-toolchain - name: Coordinator TLS unit and local PostgreSQL refusal controls diff --git a/.github/workflows/delphi-characterization.yml b/.github/workflows/delphi-characterization.yml index fa810b97d..a83d51801 100644 --- a/.github/workflows/delphi-characterization.yml +++ b/.github/workflows/delphi-characterization.yml @@ -57,7 +57,7 @@ jobs: - name: Install server dependencies working-directory: server - run: npm ci --no-audit --no-fund + run: npm ci --ignore-scripts --no-audit --no-fund - name: Codec golden test (Python writes, reads the file Node wrote) working-directory: delphi diff --git a/.github/workflows/jest-client-admin-test.yml b/.github/workflows/jest-client-admin-test.yml index a38668760..d0f5d8590 100644 --- a/.github/workflows/jest-client-admin-test.yml +++ b/.github/workflows/jest-client-admin-test.yml @@ -25,7 +25,7 @@ jobs: cache-dependency-path: client-admin/package-lock.json - name: Install dependencies - run: npm ci + run: npm ci --ignore-scripts working-directory: client-admin - name: Run Jest tests with coverage diff --git a/.github/workflows/jest-client-report-test.yml b/.github/workflows/jest-client-report-test.yml index bb1190007..a27390451 100644 --- a/.github/workflows/jest-client-report-test.yml +++ b/.github/workflows/jest-client-report-test.yml @@ -23,7 +23,7 @@ jobs: node-version: "24.22.1" - name: Install dependencies - run: npm install + run: npm ci --ignore-scripts working-directory: client-report - name: Run Jest tests diff --git a/.github/workflows/jest-server-test.yml b/.github/workflows/jest-server-test.yml index 68be63f38..84ef1a65a 100644 --- a/.github/workflows/jest-server-test.yml +++ b/.github/workflows/jest-server-test.yml @@ -134,7 +134,7 @@ jobs: - name: Install server dependencies run: | cd server - npm ci + npm ci --ignore-scripts - name: Check service health run: | diff --git a/.github/workflows/job-provenance.yml b/.github/workflows/job-provenance.yml index bb445a372..84ce87451 100644 --- a/.github/workflows/job-provenance.yml +++ b/.github/workflows/job-provenance.yml @@ -14,6 +14,6 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: {node-version: "22.23.4", cache: npm, cache-dependency-path: server/package-lock.json} - - run: npm ci --no-audit --no-fund + - run: npm ci --ignore-scripts --no-audit --no-fund working-directory: server - run: sh server/characterization/jobviews/check-provenance.sh diff --git a/.github/workflows/job-views.yml b/.github/workflows/job-views.yml index df97e21d5..3e09ecb3e 100644 --- a/.github/workflows/job-views.yml +++ b/.github/workflows/job-views.yml @@ -17,9 +17,9 @@ jobs: with: {fetch-depth: 0} - uses: actions/setup-node@v4 with: {node-version: "22.23.4"} - - run: npm ci --no-audit --no-fund + - run: npm ci --ignore-scripts --no-audit --no-fund working-directory: server - - run: npm ci --no-audit --no-fund + - run: npm ci --ignore-scripts --no-audit --no-fund working-directory: client-report - if: github.event_name == 'pull_request' run: node server/characterization/jobviews/view-guard.cjs 'HEAD^1' diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 46963426d..74b4dc317 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -34,7 +34,7 @@ jobs: - name: "Install & Build: client-admin" working-directory: client-admin - run: npm install + run: npm ci --ignore-scripts - name: "ESLint: client-admin" working-directory: client-admin @@ -42,7 +42,7 @@ jobs: - name: "Install & Build: server" working-directory: server - run: npm install + run: npm ci --ignore-scripts - name: "ESLint: server" working-directory: server @@ -50,7 +50,7 @@ jobs: - name: "Install & Build: client-report" working-directory: client-report - run: npm install + run: npm ci --ignore-scripts - name: "ESLint: client-report" working-directory: client-report @@ -58,7 +58,7 @@ jobs: - name: "Install & Build: e2e" working-directory: e2e - run: npm install + run: npm ci --ignore-scripts - name: "ESLint: e2e" working-directory: e2e diff --git a/.github/workflows/mixed-identity.yml b/.github/workflows/mixed-identity.yml index 24d97b363..f3d2689df 100644 --- a/.github/workflows/mixed-identity.yml +++ b/.github/workflows/mixed-identity.yml @@ -31,7 +31,7 @@ jobs: - uses: actions/setup-node@v4 with: node-version: "24.22.1" - - run: npm ci --no-audit --no-fund + - run: npm ci --ignore-scripts --no-audit --no-fund working-directory: server - run: docker pull postgres:17-alpine && docker pull amazon/dynamodb-local:3.3.1 - run: bash queue-rs/polis-api/conformance/mixed-identity-run.sh diff --git a/.github/workflows/queue-rs-ci.yml b/.github/workflows/queue-rs-ci.yml index 670ab179d..03eddebd7 100644 --- a/.github/workflows/queue-rs-ci.yml +++ b/.github/workflows/queue-rs-ci.yml @@ -256,7 +256,7 @@ jobs: node-version: "22.23.4" - name: Install Node adapter test dependencies working-directory: server - run: npm ci --no-audit --no-fund + run: npm ci --ignore-scripts --no-audit --no-fund - name: Prove saved work, retries and complete publication run: bash delphi/tests/job_graph/run.sh - name: Retain generated proof receipts diff --git a/.github/workflows/tls-trust.yml b/.github/workflows/tls-trust.yml index 16a8c04a0..fb7f160db 100644 --- a/.github/workflows/tls-trust.yml +++ b/.github/workflows/tls-trust.yml @@ -62,5 +62,5 @@ jobs: if: matrix.image == 'server' working-directory: cdk run: | - npm ci + npm ci --ignore-scripts npm test -- --runInBand dbBackupLambda diff --git a/.github/workflows/vote-convention-gate.yml b/.github/workflows/vote-convention-gate.yml index 02ea62b3a..a77b7b174 100644 --- a/.github/workflows/vote-convention-gate.yml +++ b/.github/workflows/vote-convention-gate.yml @@ -56,7 +56,7 @@ jobs: - name: Install the locked engine requirements and the server modules run: | python -m pip install -r coordinator-rs/evidence/python-requirements.txt - npm ci --prefix server + npm ci --ignore-scripts --prefix server - name: Fixture declarations, fixture writers, fold adapter, +1 pins (P-078 PR-G) run: | PYTHONPATH=delphi python -m unittest ci/vote_convention/test_fixtures_declared.py diff --git a/Makefile b/Makefile index 686e0813a..a90e6a10a 100644 --- a/Makefile +++ b/Makefile @@ -252,7 +252,8 @@ vote-sign-lint: ## P-078: fail on a new vote-sign literal outside the chokepoint python3 ci/vote_convention/sign_lint.py e2e-install: e2e/node_modules ## Install Cypress E2E testing tools - $(E2E_RUN) npm install + $(E2E_RUN) npm ci --ignore-scripts + $(E2E_RUN) npm run install:browser e2e-run: ## Run E2E tests except those which require 3rd party services $(E2E_RUN) npm run test diff --git a/ci/local/e2e.sh b/ci/local/e2e.sh index 284dd030c..f9371ee3f 100755 --- a/ci/local/e2e.sh +++ b/ci/local/e2e.sh @@ -143,7 +143,7 @@ endgroup group "start the stack" compose up -d # The e2e dependencies install while the services start. -(cd e2e && npm ci --no-audit --no-fund) > "$OUT/npm-ci.log" 2>&1 & +(cd e2e && npm ci --ignore-scripts --no-audit --no-fund && npm run install:browser) > "$OUT/npm-ci.log" 2>&1 & npm_pid=$! # Ready when the database, the OIDC simulator, the API through nginx and the # participation client through nginx all answer. diff --git a/client-admin/Dockerfile b/client-admin/Dockerfile index 386aaff5b..810a98ae5 100644 --- a/client-admin/Dockerfile +++ b/client-admin/Dockerfile @@ -21,7 +21,7 @@ COPY client-admin/package*.json ./ RUN npm config set fetch-retries 5 && \ npm config set fetch-retry-mintimeout 20000 && \ npm config set fetch-retry-maxtimeout 120000 -RUN --mount=type=cache,target=/root/.npm npm ci --production=false +RUN --mount=type=cache,target=/root/.npm npm ci --ignore-scripts --production=false COPY VERSION VERSION_STABLE_COMMIT /app/ COPY scripts/build_identity.py scripts/build-identity.cjs /app/scripts/ diff --git a/client-participation-alpha/Dockerfile b/client-participation-alpha/Dockerfile index 1c928990c..dae7e646d 100644 --- a/client-participation-alpha/Dockerfile +++ b/client-participation-alpha/Dockerfile @@ -20,7 +20,7 @@ RUN apk add --no-cache python3 RUN npm config set fetch-retries 5 && \ npm config set fetch-retry-mintimeout 20000 && \ npm config set fetch-retry-maxtimeout 120000 -RUN --mount=type=cache,target=/root/.npm npm ci +RUN --mount=type=cache,target=/root/.npm npm ci --ignore-scripts COPY client-participation-alpha/. . ARG GIT_HASH=unknown diff --git a/client-participation/Dockerfile b/client-participation/Dockerfile index 20bbbe9e7..4be8f7464 100644 --- a/client-participation/Dockerfile +++ b/client-participation/Dockerfile @@ -32,7 +32,7 @@ COPY client-participation/package*.json ./ RUN npm config set fetch-retries 5 && \ npm config set fetch-retry-mintimeout 20000 && \ npm config set fetch-retry-maxtimeout 120000 -RUN --mount=type=cache,target=/root/.npm npm ci --production=false +RUN --mount=type=cache,target=/root/.npm npm ci --ignore-scripts --production=false COPY VERSION VERSION_STABLE_COMMIT /app/ COPY scripts/build_identity.py scripts/build-identity.cjs /app/scripts/ diff --git a/client-participation/package-lock.json b/client-participation/package-lock.json index 04ae2ebc0..510ad56cc 100644 --- a/client-participation/package-lock.json +++ b/client-participation/package-lock.json @@ -135,6 +135,8 @@ }, "node_modules/@babel/core/node_modules/debug": { "version": "4.3.1", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.1.tgz", + "integrity": "sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ==", "dev": true, "license": "MIT", "dependencies": { @@ -163,6 +165,8 @@ }, "node_modules/@babel/core/node_modules/ms": { "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", "dev": true, "license": "MIT" }, @@ -1860,6 +1864,8 @@ }, "node_modules/@discoveryjs/json-ext": { "version": "0.5.2", + "resolved": "https://registry.npmjs.org/@discoveryjs/json-ext/-/json-ext-0.5.2.tgz", + "integrity": "sha512-HyYEUDeIj5rRQU2Hk5HTB2uHsbRQpF70nvMhVzi+VJR0X+xNEhjPui4/kBf3VeH/wqD28PT4sVOm8qqLjBrSZg==", "dev": true, "license": "MIT", "engines": { @@ -3103,6 +3109,8 @@ }, "node_modules/abbrev": { "version": "1.1.1", + "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", + "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==", "license": "ISC" }, "node_modules/accepts": { @@ -3210,6 +3218,8 @@ }, "node_modules/ajv-keywords": { "version": "3.5.2", + "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.5.2.tgz", + "integrity": "sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ==", "dev": true, "license": "MIT", "peerDependencies": { @@ -3407,6 +3417,8 @@ }, "node_modules/autosize": { "version": "3.0.21", + "resolved": "https://registry.npmjs.org/autosize/-/autosize-3.0.21.tgz", + "integrity": "sha512-xGFj5jTV4up6+fxRwtnAWiCIx/5N0tEnFn5rdhAkK1Lq2mliLMuGJgP5Bf4phck3sHGYrVKpYwugfJ61MSz9nA==", "license": "MIT" }, "node_modules/available-typed-arrays": { @@ -3446,11 +3458,15 @@ }, "node_modules/babel-loader/node_modules/commondir": { "version": "1.0.1", + "resolved": "https://registry.npmjs.org/commondir/-/commondir-1.0.1.tgz", + "integrity": "sha512-W9pAhw0ja1Edb5GVdIF1mjZw/ASI0AlShXM83UUGe2DVr5TdAPEA1OA8m/g8zWp9x6On7gqufY+FatDbC3MDQg==", "dev": true, "license": "MIT" }, "node_modules/babel-loader/node_modules/find-cache-dir": { "version": "3.3.1", + "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-3.3.1.tgz", + "integrity": "sha512-t2GDMt3oGC/v+BMwzmllWDuJF/xcDtE5j/fCGbqDD7OLuJkj0cfh1YSA5VKPvwMeLFLNDBkwOKZ2X85jGLVftQ==", "dev": true, "license": "MIT", "dependencies": { @@ -3467,6 +3483,8 @@ }, "node_modules/babel-loader/node_modules/find-up": { "version": "4.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", + "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", "dev": true, "license": "MIT", "dependencies": { @@ -3505,6 +3523,8 @@ }, "node_modules/babel-loader/node_modules/locate-path": { "version": "5.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", + "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", "dev": true, "license": "MIT", "dependencies": { @@ -3516,6 +3536,8 @@ }, "node_modules/babel-loader/node_modules/make-dir": { "version": "3.1.0", + "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz", + "integrity": "sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==", "dev": true, "license": "MIT", "dependencies": { @@ -3530,6 +3552,8 @@ }, "node_modules/babel-loader/node_modules/p-locate": { "version": "4.1.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", + "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", "dev": true, "license": "MIT", "dependencies": { @@ -3541,6 +3565,8 @@ }, "node_modules/babel-loader/node_modules/path-exists": { "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", "dev": true, "license": "MIT", "engines": { @@ -3549,6 +3575,8 @@ }, "node_modules/babel-loader/node_modules/pkg-dir": { "version": "4.2.0", + "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz", + "integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==", "dev": true, "license": "MIT", "dependencies": { @@ -3560,6 +3588,8 @@ }, "node_modules/babel-loader/node_modules/schema-utils": { "version": "2.7.1", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-2.7.1.tgz", + "integrity": "sha512-SHiNtMOUGWBQJwzISiVYKu82GiV4QYGePp3odlY1tuKO7gPtphAT5R/py0fA6xtbgLL/RvtJZnU9b8s0F1q0Xg==", "dev": true, "license": "MIT", "dependencies": { @@ -3577,6 +3607,8 @@ }, "node_modules/babel-loader/node_modules/semver": { "version": "6.3.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", + "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", "dev": true, "license": "ISC", "bin": { @@ -3645,6 +3677,8 @@ }, "node_modules/balanced-match": { "version": "1.0.0", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", + "integrity": "sha512-9Y0g0Q8rmSt+H33DfKv7FOc3v+iRI+o1lbzt8jGcIosYW37IIW/2XVYq5NPdmaD5NQ59Nk26Kl/vZbwW9Fr8vg==", "dev": true, "license": "MIT" }, @@ -3657,6 +3691,8 @@ }, "node_modules/big.js": { "version": "5.2.2", + "resolved": "https://registry.npmjs.org/big.js/-/big.js-5.2.2.tgz", + "integrity": "sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ==", "dev": true, "license": "MIT", "engines": { @@ -3665,6 +3701,8 @@ }, "node_modules/binary-extensions": { "version": "2.1.0", + "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.1.0.tgz", + "integrity": "sha512-1Yj8h9Q+QDF5FzhMs/c9+6UntbD5MkRfRwac8DoEm9ZfUBZ7tZ55YcGVAzEe4bXsdQHEk+s9S5wsOKVdZrw0tQ==", "dev": true, "license": "MIT", "engines": { @@ -3720,6 +3758,8 @@ }, "node_modules/brace-expansion": { "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", "dev": true, "license": "MIT", "dependencies": { @@ -3775,6 +3815,8 @@ }, "node_modules/buffer-from": { "version": "1.1.1", + "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz", + "integrity": "sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A==", "dev": true, "license": "MIT" }, @@ -3909,6 +3951,8 @@ }, "node_modules/chrome-trace-event": { "version": "1.0.2", + "resolved": "https://registry.npmjs.org/chrome-trace-event/-/chrome-trace-event-1.0.2.tgz", + "integrity": "sha512-9e/zx1jw7B4CO+c/RXoCsfg/x1AfUBioy4owYH0bJprEYAx5hRFLRhWBqHAG57D0ZM4H7vxbP7bPe0VwhQRYDQ==", "dev": true, "license": "MIT", "dependencies": { @@ -3949,6 +3993,8 @@ }, "node_modules/commander": { "version": "2.20.3", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", + "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", "dev": true, "license": "MIT" }, @@ -4080,6 +4126,8 @@ }, "node_modules/concat-map": { "version": "0.0.1", + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", "dev": true, "license": "MIT" }, @@ -4266,6 +4314,8 @@ }, "node_modules/core-util-is": { "version": "1.0.2", + "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", + "integrity": "sha512-3lqz5YjWTYnW6dlDa5TLaTCcShfar1e40rmcJVwCBJC6mWlFuj0eCHIElmG1g5kyuJ/GD+8Wn4FFCcz4gJPfaQ==", "dev": true, "license": "MIT" }, @@ -4402,6 +4452,8 @@ }, "node_modules/d3": { "version": "3.5.17", + "resolved": "https://registry.npmjs.org/d3/-/d3-3.5.17.tgz", + "integrity": "sha512-yFk/2idb8OHPKkbAL8QaOaqENNoMhIaSHZerk3oQsECwkObkCpJyjYwCe+OHiq6UEdhe1m8ZGARRRO3ljFjlKg==", "license": "BSD-3-Clause" }, "node_modules/d3-array": { @@ -4418,6 +4470,8 @@ }, "node_modules/d3-collection": { "version": "1.0.7", + "resolved": "https://registry.npmjs.org/d3-collection/-/d3-collection-1.0.7.tgz", + "integrity": "sha512-ii0/r5f4sjKNTfh84Di+DpztYwqKhEyUlKoPrzUFfeSkWxjW49xU2QzO9qrPrNkpdI0XJkfzvmTu8V2Zylln6A==", "license": "BSD-3-Clause" }, "node_modules/d3-color": { @@ -4431,6 +4485,8 @@ }, "node_modules/d3-dispatch": { "version": "1.0.6", + "resolved": "https://registry.npmjs.org/d3-dispatch/-/d3-dispatch-1.0.6.tgz", + "integrity": "sha512-fVjoElzjhCEy+Hbn8KygnmMS7Or0a9sI2UzGwoB7cCtvI1XpVN9GpoYlnb3xt2YV66oXYb1fLJ8GMvP4hdU1RA==", "license": "BSD-3-Clause" }, "node_modules/d3-ease": { @@ -4444,6 +4500,8 @@ }, "node_modules/d3-force": { "version": "1.2.1", + "resolved": "https://registry.npmjs.org/d3-force/-/d3-force-1.2.1.tgz", + "integrity": "sha512-HHvehyaiUlVo5CxBJ0yF/xny4xoaxFxDnBXNvNcfW9adORGZfyNF1dj6DGLKyk4Yh3brP/1h3rnDzdIAwL08zg==", "license": "BSD-3-Clause", "dependencies": { "d3-collection": "1", @@ -4484,6 +4542,8 @@ }, "node_modules/d3-quadtree": { "version": "1.0.7", + "resolved": "https://registry.npmjs.org/d3-quadtree/-/d3-quadtree-1.0.7.tgz", + "integrity": "sha512-RKPAeXnkC59IDGD0Wu5mANy0Q2V28L+fNe65pOCXVdVuTJS3WPKaJlFHer32Rbh9gIo9qMuJXio8ra4+YmIymA==", "license": "BSD-3-Clause" }, "node_modules/d3-scale": { @@ -4546,6 +4606,8 @@ }, "node_modules/d3-timer": { "version": "1.0.10", + "resolved": "https://registry.npmjs.org/d3-timer/-/d3-timer-1.0.10.tgz", + "integrity": "sha512-B1JDm0XDaQC+uvo4DT79H0XmBskgS3l6Ve+1SBCfxgmtIb1AVrPIoqd+nPSv+loMX8szQ0sVUhGngL7D5QPiXw==", "license": "BSD-3-Clause" }, "node_modules/d3-tip": { @@ -4930,6 +4992,8 @@ }, "node_modules/emojis-list": { "version": "3.0.0", + "resolved": "https://registry.npmjs.org/emojis-list/-/emojis-list-3.0.0.tgz", + "integrity": "sha512-/kyM18EfinwXZbno9FyUGeFh87KC8HRQBQGildHZbEuRyWFOmv1U10o9BBp8XVZDVNNuQKyIGIu5ZYAAXJ0V2Q==", "dev": true, "license": "MIT", "engines": { @@ -5329,6 +5393,8 @@ }, "node_modules/eslint-scope": { "version": "5.1.1", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz", + "integrity": "sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==", "dev": true, "license": "BSD-2-Clause", "dependencies": { @@ -5341,6 +5407,8 @@ }, "node_modules/eslint-scope/node_modules/estraverse": { "version": "4.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz", + "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==", "dev": true, "license": "BSD-2-Clause", "engines": { @@ -5646,6 +5714,8 @@ }, "node_modules/esrecurse": { "version": "4.3.0", + "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", + "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", "dev": true, "license": "BSD-2-Clause", "dependencies": { @@ -5703,6 +5773,8 @@ }, "node_modules/events": { "version": "3.2.0", + "resolved": "https://registry.npmjs.org/events/-/events-3.2.0.tgz", + "integrity": "sha512-/46HWwbfCX2xTawVfkKLGxMifJYQBWMwY1mjywRtb4c9x8l5NP3KoJtnIOiL1hfdRkIuYhETxQlo62IF8tcnlg==", "dev": true, "license": "MIT", "engines": { @@ -5872,6 +5944,8 @@ }, "node_modules/fast-json-stable-stringify": { "version": "2.1.0", + "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", + "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", "dev": true, "license": "MIT" }, @@ -5901,6 +5975,8 @@ }, "node_modules/fastest-levenshtein": { "version": "1.0.12", + "resolved": "https://registry.npmjs.org/fastest-levenshtein/-/fastest-levenshtein-1.0.12.tgz", + "integrity": "sha512-On2N+BpYJ15xIC974QNVuYGMOlEVt4s0EOI3wwMqOmK1fdDY+FN/zltPV8vosq4ad4c/gJ1KHScUn/6AWIgiow==", "dev": true, "license": "MIT" }, @@ -6116,6 +6192,8 @@ }, "node_modules/fs.realpath": { "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", + "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==", "dev": true, "license": "ISC" }, @@ -6176,6 +6254,8 @@ }, "node_modules/gensync": { "version": "1.0.0-beta.2", + "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz", + "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==", "dev": true, "license": "MIT", "engines": { @@ -6440,6 +6520,8 @@ }, "node_modules/handlebars/node_modules/source-map": { "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", "license": "BSD-3-Clause", "engines": { "node": ">=0.10.0" @@ -6447,6 +6529,8 @@ }, "node_modules/handlebars/node_modules/uglify-js": { "version": "3.12.1", + "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.12.1.tgz", + "integrity": "sha512-o8lHP20KjIiQe5b/67Rh68xEGRrc2SRsCuuoYclXXoC74AfSRGblU1HKzJWH3HxPZ+Ort85fWHpSX7KwBUC9CQ==", "license": "BSD-2-Clause", "optional": true, "bin": { @@ -6751,6 +6835,8 @@ }, "node_modules/hull.js": { "version": "0.2.11", + "resolved": "https://registry.npmjs.org/hull.js/-/hull.js-0.2.11.tgz", + "integrity": "sha512-WEmMRCFqoZA0d7bD9KY9RK0rTBKRfNqDExi8OvFz5A57hpywyc0Wd5N4egF9cU+E69p1KjE/fTIYU4CjOgXdZQ==", "license": "BSD" }, "node_modules/human-signals": { @@ -6834,6 +6920,8 @@ }, "node_modules/import-local": { "version": "3.0.2", + "resolved": "https://registry.npmjs.org/import-local/-/import-local-3.0.2.tgz", + "integrity": "sha512-vjL3+w0oulAVZ0hBHnxa/Nm5TAurf9YLQJDhqRZyqb+VKGOB6LU8t9H1Nr5CIo16vh9XfJTOoHwU0B71S557gA==", "dev": true, "license": "MIT", "dependencies": { @@ -6849,6 +6937,8 @@ }, "node_modules/import-local/node_modules/find-up": { "version": "4.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", + "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", "dev": true, "license": "MIT", "dependencies": { @@ -6861,6 +6951,8 @@ }, "node_modules/import-local/node_modules/locate-path": { "version": "5.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", + "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", "dev": true, "license": "MIT", "dependencies": { @@ -6872,6 +6964,8 @@ }, "node_modules/import-local/node_modules/p-locate": { "version": "4.1.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", + "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", "dev": true, "license": "MIT", "dependencies": { @@ -6883,6 +6977,8 @@ }, "node_modules/import-local/node_modules/path-exists": { "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", "dev": true, "license": "MIT", "engines": { @@ -6891,6 +6987,8 @@ }, "node_modules/import-local/node_modules/pkg-dir": { "version": "4.2.0", + "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz", + "integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==", "dev": true, "license": "MIT", "dependencies": { @@ -6941,6 +7039,8 @@ }, "node_modules/inflight": { "version": "1.0.6", + "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", + "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", "dev": true, "license": "ISC", "dependencies": { @@ -6950,6 +7050,8 @@ }, "node_modules/inherits": { "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", "license": "ISC" }, "node_modules/internal-slot": { @@ -6978,6 +7080,8 @@ }, "node_modules/interpret": { "version": "2.2.0", + "resolved": "https://registry.npmjs.org/interpret/-/interpret-2.2.0.tgz", + "integrity": "sha512-Ju0Bz/cEia55xDwUWEa8+olFpCiQoypjnQySseKtmjNrnps3P+xfpUmGr90T7yjlVJmOtybRvPXhKMbHr+fWnw==", "dev": true, "license": "MIT", "engines": { @@ -7065,6 +7169,8 @@ }, "node_modules/is-binary-path": { "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", + "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", "dev": true, "license": "MIT", "dependencies": { @@ -7290,6 +7396,8 @@ }, "node_modules/is-plain-object": { "version": "2.0.4", + "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz", + "integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==", "dev": true, "license": "MIT", "dependencies": { @@ -7301,6 +7409,8 @@ }, "node_modules/is-plain-object/node_modules/isobject": { "version": "3.0.1", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", + "integrity": "sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg==", "dev": true, "license": "MIT", "engines": { @@ -7479,11 +7589,15 @@ }, "node_modules/isarray": { "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==", "dev": true, "license": "MIT" }, "node_modules/isexe": { "version": "2.0.0", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", + "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", "dev": true, "license": "ISC" }, @@ -7543,6 +7657,8 @@ }, "node_modules/js-tokens": { "version": "4.0.0", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", "license": "MIT" }, "node_modules/js-yaml": { @@ -7586,6 +7702,8 @@ }, "node_modules/json-schema-traverse": { "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", "dev": true, "license": "MIT" }, @@ -7598,6 +7716,8 @@ }, "node_modules/json5": { "version": "1.0.1", + "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.1.tgz", + "integrity": "sha512-aKS4WQjPenRxiQsC93MNfjx+nbF4PAdYzmd/1JIj8HYzqfbu86beTuNgXDzPknWk0n0uARlyewZo4s++ES36Ow==", "dev": true, "license": "MIT", "dependencies": { @@ -7675,6 +7795,8 @@ }, "node_modules/loader-utils": { "version": "1.4.0", + "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-1.4.0.tgz", + "integrity": "sha512-qH0WSMBtn/oHuwjy/NucEgbx5dbxxnxup9s4PVXJUDHZBQY+s0NWA9rJf53RBnQZxfch7euUui7hpoAPvALZdA==", "dev": true, "license": "MIT", "dependencies": { @@ -7708,6 +7830,8 @@ }, "node_modules/loose-envify": { "version": "1.4.0", + "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", + "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==", "license": "MIT", "dependencies": { "js-tokens": "^3.0.0 || ^4.0.0" @@ -7745,6 +7869,8 @@ }, "node_modules/markdown": { "version": "0.5.0", + "resolved": "https://registry.npmjs.org/markdown/-/markdown-0.5.0.tgz", + "integrity": "sha512-ctGPIcuqsYoJ493sCtFK7H4UEgMWAUdXeBhPbdsg1W0LsV9yJELAHRsMmWfTgao6nH0/x5gf9FmsbxiXnrgaIQ==", "dependencies": { "nopt": "~2.1.1" }, @@ -7754,6 +7880,8 @@ }, "node_modules/markdown/node_modules/nopt": { "version": "2.1.2", + "resolved": "https://registry.npmjs.org/nopt/-/nopt-2.1.2.tgz", + "integrity": "sha512-x8vXm7BZ2jE1Txrxh/hO74HTuYZQEbo8edoRcANgdZ4+PCV+pbjd/xdummkmjjC7LU5EjPzlu8zEq/oxWylnKA==", "license": "MIT", "dependencies": { "abbrev": "1" @@ -7990,6 +8118,8 @@ }, "node_modules/minimist": { "version": "1.2.5", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", + "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==", "license": "MIT" }, "node_modules/ms": { @@ -8051,6 +8181,8 @@ }, "node_modules/neo-async": { "version": "2.6.2", + "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.2.tgz", + "integrity": "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==", "license": "MIT" }, "node_modules/no-case": { @@ -8259,6 +8391,8 @@ }, "node_modules/once": { "version": "1.4.0", + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", "dev": true, "license": "ISC", "dependencies": { @@ -8356,6 +8490,8 @@ }, "node_modules/p-limit": { "version": "2.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", + "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", "dev": true, "license": "MIT", "dependencies": { @@ -8384,6 +8520,8 @@ }, "node_modules/p-try": { "version": "2.2.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", + "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", "dev": true, "license": "MIT", "engines": { @@ -8447,6 +8585,8 @@ }, "node_modules/path-is-absolute": { "version": "1.0.1", + "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", + "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", "dev": true, "license": "MIT", "engines": { @@ -8655,6 +8795,8 @@ }, "node_modules/process": { "version": "0.11.10", + "resolved": "https://registry.npmjs.org/process/-/process-0.11.10.tgz", + "integrity": "sha512-cdGef/drWFoydD1JsMzuFf8100nZl+GT+yacc2bEced5f9Rjk4z+WtFUTBu9PhOi9j/jfmBPu0mMEY4wIdAF8A==", "license": "MIT", "engines": { "node": ">= 0.6.0" @@ -8662,6 +8804,8 @@ }, "node_modules/process-nextick-args": { "version": "2.0.1", + "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", + "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==", "dev": true, "license": "MIT" }, @@ -8677,6 +8821,8 @@ }, "node_modules/prop-types/node_modules/object-assign": { "version": "4.1.1", + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", + "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==", "license": "MIT", "engines": { "node": ">=0.10.0" @@ -8708,6 +8854,8 @@ }, "node_modules/punycode": { "version": "2.1.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", + "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==", "dev": true, "license": "MIT", "engines": { @@ -8752,6 +8900,8 @@ }, "node_modules/randombytes": { "version": "2.1.0", + "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", + "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==", "dev": true, "license": "MIT", "dependencies": { @@ -8816,6 +8966,8 @@ }, "node_modules/react-fontawesome": { "version": "1.7.1", + "resolved": "https://registry.npmjs.org/react-fontawesome/-/react-fontawesome-1.7.1.tgz", + "integrity": "sha512-kottReWW1I9Uupub6A5YX4VK7qfpFnEjAcm5zB4Aepst7iofONT27GJYdTcRsj7q5uQu9PXBL7GsxAFKANNUVg==", "license": "MIT", "dependencies": { "prop-types": "^15.5.6" @@ -8829,10 +8981,14 @@ }, "node_modules/react-is": { "version": "16.13.1", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", + "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==", "license": "MIT" }, "node_modules/readable-stream": { "version": "2.3.7", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", + "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", "dev": true, "license": "MIT", "dependencies": { @@ -9115,6 +9271,8 @@ }, "node_modules/resolve-cwd": { "version": "3.0.0", + "resolved": "https://registry.npmjs.org/resolve-cwd/-/resolve-cwd-3.0.0.tgz", + "integrity": "sha512-OrZaX2Mb+rJCpH/6CpSqt9xFVpN++x01XnN2ie9g6P5/3xelLAkXWVADpdz1IHD/KFfEXyE6V0U01OQ3UO2rEg==", "dev": true, "license": "MIT", "dependencies": { @@ -9126,6 +9284,8 @@ }, "node_modules/resolve-from": { "version": "5.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", + "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==", "dev": true, "license": "MIT", "engines": { @@ -9204,6 +9364,8 @@ }, "node_modules/safe-buffer": { "version": "5.1.2", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", "dev": true, "license": "MIT" }, @@ -9251,6 +9413,8 @@ }, "node_modules/safer-buffer": { "version": "2.1.2", + "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", "dev": true, "license": "MIT" }, @@ -9716,6 +9880,8 @@ }, "node_modules/signal-exit": { "version": "3.0.3", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.3.tgz", + "integrity": "sha512-VUJ49FC8U1OxwZLxIbTTrDvLnf/6TDgxZcK8wxR8zs13xpx7xbG60ndBlhNrFi2EMuFRoeDoJO7wthSLq42EjA==", "dev": true, "license": "ISC" }, @@ -9775,6 +9941,8 @@ }, "node_modules/source-map-support/node_modules/source-map": { "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", "dev": true, "license": "BSD-3-Clause", "engines": { @@ -9904,6 +10072,8 @@ }, "node_modules/string_decoder": { "version": "1.1.1", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", "dev": true, "license": "MIT", "dependencies": { @@ -10223,6 +10393,8 @@ }, "node_modules/tslib": { "version": "1.14.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", + "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", "dev": true, "license": "0BSD" }, @@ -10351,7 +10523,9 @@ } }, "node_modules/underscore": { - "version": "1.6.0" + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.6.0.tgz", + "integrity": "sha512-z4o1fvKUojIWh9XuaVLUDdf86RQiq13AC1dmHbTpoyuu+bquHms76v16CjycCbec87J7z0k//SiQVk0sMdFmpQ==" }, "node_modules/unicode-canonical-property-names-ecmascript": { "version": "2.0.1", @@ -10440,6 +10614,8 @@ }, "node_modules/uri-js": { "version": "4.2.2", + "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.2.2.tgz", + "integrity": "sha512-KY9Frmirql91X2Qgjry0Wd4Y+YTdrdZheS8TFwvkbLWf/G5KNJDCh6pKL5OZctEW4+0Baa5idK2ZQuELRwPznQ==", "dev": true, "license": "BSD-2-Clause", "dependencies": { @@ -10679,6 +10855,8 @@ }, "node_modules/webpack-cli/node_modules/rechoir": { "version": "0.7.0", + "resolved": "https://registry.npmjs.org/rechoir/-/rechoir-0.7.0.tgz", + "integrity": "sha512-ADsDEH2bvbjltXEP+hTIAmeFekTFK0V2BTxMkok6qILyAJEXV0AFfoWcAq4yfll5VdIMd/RVXq0lR+wQi5ZU3Q==", "dev": true, "license": "MIT", "dependencies": { @@ -11143,6 +11321,8 @@ }, "node_modules/wrappy": { "version": "1.0.2", + "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", + "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", "dev": true, "license": "ISC" }, diff --git a/client-report/Dockerfile b/client-report/Dockerfile index 6e3d785cc..89fd33b69 100644 --- a/client-report/Dockerfile +++ b/client-report/Dockerfile @@ -23,7 +23,7 @@ COPY client-report/package*.json ./ RUN npm config set fetch-retries 5 && \ npm config set fetch-retry-mintimeout 20000 && \ npm config set fetch-retry-maxtimeout 120000 -RUN --mount=type=cache,target=/root/.npm npm ci --production=false +RUN --mount=type=cache,target=/root/.npm npm ci --ignore-scripts --production=false COPY VERSION VERSION_STABLE_COMMIT /app/ COPY scripts/build_identity.py scripts/build-identity.cjs /app/scripts/ diff --git a/delphi/umap_narrative/801_narrative_report_batch.py b/delphi/umap_narrative/801_narrative_report_batch.py index 2e371cba7..76495cdec 100755 --- a/delphi/umap_narrative/801_narrative_report_batch.py +++ b/delphi/umap_narrative/801_narrative_report_batch.py @@ -873,17 +873,12 @@ async def submit_batch(self): logger.info("Successfully imported Anthropic SDK") except ImportError as e: logger.error(f"Failed to import Anthropic SDK: {str(e)}") - logger.error(f"System paths: {sys.path}") - logger.error("Attempting to install Anthropic SDK...") - try: - import subprocess - subprocess.check_call([sys.executable, "-m", "pip", "install", "anthropic"]) - from anthropic import Anthropic, APIError, APIConnectionError, APIResponseValidationError, APIStatusError - logger.info("Successfully installed and imported Anthropic SDK") - except Exception as e: - logger.error(f"Failed to install Anthropic SDK: {str(e)}") - logger.error(traceback.format_exc()) - return None + logger.error( + "Anthropic SDK is required to submit batches. Install Delphi's " + "pinned requirements.lock when building the environment; " + "runtime dependency installation is disabled." + ) + return None # Initialize Anthropic client logger.info("Initializing Anthropic client...") diff --git a/e2e/package.json b/e2e/package.json index f8955bf35..abfcaf093 100644 --- a/e2e/package.json +++ b/e2e/package.json @@ -4,6 +4,7 @@ "description": "End-to-End test suite for polis, using Cypress.js", "main": "index.js", "scripts": { + "install:browser": "node node_modules/cypress/bin/cypress install", "start": "NODE_EXTRA_CA_CERTS=$(mkcert -CAROOT)/rootCA.pem cypress open", "test": "NODE_EXTRA_CA_CERTS=$(mkcert -CAROOT)/rootCA.pem cypress run --spec 'cypress/e2e/**/*.cy.js'", "test:admin": "NODE_EXTRA_CA_CERTS=$(mkcert -CAROOT)/rootCA.pem cypress run --spec 'cypress/e2e/client-admin/**/*.cy.js'", diff --git a/file-server/Dockerfile b/file-server/Dockerfile index 0f83373e6..6f519516a 100644 --- a/file-server/Dockerfile +++ b/file-server/Dockerfile @@ -25,7 +25,7 @@ COPY client-admin/package*.json ./ RUN npm config set fetch-retries 5 && \ npm config set fetch-retry-mintimeout 20000 && \ npm config set fetch-retry-maxtimeout 120000 -RUN --mount=type=cache,target=/root/.npm npm ci --production=false +RUN --mount=type=cache,target=/root/.npm npm ci --ignore-scripts --production=false COPY client-admin/. . @@ -78,7 +78,7 @@ COPY client-participation/package*.json ./ RUN npm config set fetch-retries 5 && \ npm config set fetch-retry-mintimeout 20000 && \ npm config set fetch-retry-maxtimeout 120000 -RUN --mount=type=cache,target=/root/.npm npm ci --production=false +RUN --mount=type=cache,target=/root/.npm npm ci --ignore-scripts --production=false COPY client-participation/. . @@ -114,7 +114,7 @@ COPY client-report/package*.json ./ RUN npm config set fetch-retries 5 && \ npm config set fetch-retry-mintimeout 20000 && \ npm config set fetch-retry-maxtimeout 120000 -RUN --mount=type=cache,target=/root/.npm npm ci --production=false +RUN --mount=type=cache,target=/root/.npm npm ci --ignore-scripts --production=false COPY client-report/. . @@ -162,7 +162,7 @@ COPY file-server/package*.json ./ RUN npm config set fetch-retries 5 && \ npm config set fetch-retry-mintimeout 20000 && \ npm config set fetch-retry-maxtimeout 120000 -RUN --mount=type=cache,target=/root/.npm npm ci +RUN --mount=type=cache,target=/root/.npm npm ci --ignore-scripts COPY file-server/. . diff --git a/oidc-simulator/Dockerfile b/oidc-simulator/Dockerfile index 9faa0f5f1..2f2a1e81a 100644 --- a/oidc-simulator/Dockerfile +++ b/oidc-simulator/Dockerfile @@ -16,7 +16,7 @@ COPY package*.json ./ RUN npm config set fetch-retries 5 && \ npm config set fetch-retry-mintimeout 20000 && \ npm config set fetch-retry-maxtimeout 120000 -RUN --mount=type=cache,target=/root/.npm npm ci +RUN --mount=type=cache,target=/root/.npm npm ci --ignore-scripts # Bundle app source COPY . . diff --git a/scripts/prove-dynamo-report.sh b/scripts/prove-dynamo-report.sh index b42a9f99c..351f4a7e4 100755 --- a/scripts/prove-dynamo-report.sh +++ b/scripts/prove-dynamo-report.sh @@ -38,7 +38,7 @@ if [[ -z "${DYNAMO_PROOF_SERVER_IMAGE:-}" ]]; then docker build --target dev -t "$proof_image" -f server/Dockerfile . > "$DYNAMO_PROOF_OUTPUT/server-image-build.log" 2>&1 fi if [[ ! -d client-report/node_modules ]]; then - (cd client-report && npm ci --no-audit --no-fund) > "$DYNAMO_PROOF_OUTPUT/report-dependencies.log" 2>&1 + (cd client-report && npm ci --ignore-scripts --no-audit --no-fund) > "$DYNAMO_PROOF_OUTPUT/report-dependencies.log" 2>&1 fi if [[ -z "${DYNAMO_PROOF_PLAYWRIGHT:-}" ]]; then proof_qa="$DYNAMO_PROOF_OUTPUT/qa" diff --git a/scripts/test-delphi-result-reads.sh b/scripts/test-delphi-result-reads.sh index 2b19e4ffc..3cb0241f9 100755 --- a/scripts/test-delphi-result-reads.sh +++ b/scripts/test-delphi-result-reads.sh @@ -36,7 +36,7 @@ export DATABASE_URL="postgresql://postgres@127.0.0.1:$RESULT_READS_PG_PORT/resul POLIS_MIGRATIONS_DIR="$repo/server/postgres/migrations" queue-rs/target/debug/polis-migrate apply POLIS_MIGRATIONS_DIR="$repo/server/postgres/migrations" queue-rs/target/debug/polis-migrate check cd server -[[ -d node_modules ]] || npm ci --no-audit --no-fund +[[ -d node_modules ]] || npm ci --ignore-scripts --no-audit --no-fund export DYNAMODB_ENDPOINT="http://127.0.0.1:$RESULT_READS_DYNAMO_PORT" export AWS_REGION=us-east-1 AWS_ACCESS_KEY_ID=DUMMYIDEXAMPLE AWS_SECRET_ACCESS_KEY=DUMMYEXAMPLEKEY DATABASE_SSL=false NODE_ENV=test npx jest --config __tests__/delphi-results-pg/jest.config.json --runInBand "$@" diff --git a/server/Dockerfile b/server/Dockerfile index 7e69e0795..a9adf1d90 100644 --- a/server/Dockerfile +++ b/server/Dockerfile @@ -48,7 +48,7 @@ ENV NODE_ENV ${NODE_ENV:-development} RUN npm config set fetch-retries 5 && \ npm config set fetch-retry-mintimeout 20000 && \ npm config set fetch-retry-maxtimeout 120000 -RUN --mount=type=cache,target=/root/.npm npm ci --production=false +RUN --mount=type=cache,target=/root/.npm npm ci --ignore-scripts --production=false COPY server/. . @@ -77,7 +77,7 @@ RUN apk add --no-cache openssl 'ca-certificates>=20261020-r0' RUN npm config set fetch-retries 5 && \ npm config set fetch-retry-mintimeout 20000 && \ npm config set fetch-retry-maxtimeout 120000 -RUN --mount=type=cache,target=/root/.npm npm ci --production=false +RUN --mount=type=cache,target=/root/.npm npm ci --ignore-scripts --production=false # For prod builds, to minimize the image size, remove the dependencies tagged with `--virtual .build` above. RUN apk del .build diff --git a/server/characterization/delphi/compose.yml b/server/characterization/delphi/compose.yml index 3c4b65352..109d09152 100644 --- a/server/characterization/delphi/compose.yml +++ b/server/characterization/delphi/compose.yml @@ -39,7 +39,7 @@ services: command: - sh - -c - - npm ci --no-audit --no-fund --loglevel=error && node characterization/delphi/main.cjs ${P2ZERO_MODE:-replay} + - npm ci --ignore-scripts --no-audit --no-fund --loglevel=error && node characterization/delphi/main.cjs ${P2ZERO_MODE:-replay} depends_on: postgres: { condition: service_healthy } dynamodb: { condition: service_started } diff --git a/server/package.json b/server/package.json index 331b8208d..2eeacbbf5 100644 --- a/server/package.json +++ b/server/package.json @@ -11,7 +11,7 @@ "debug": "SERVER_LOG_LEVEL=debug nodemon --inspect=0.0.0.0:9229 dist/index.js", "serve": "node --max_old_space_size=2048 --gc_interval=100 dist/index.js", "start": "npm run build && npm run serve", - "dev": "npm install && npm run build:watch", + "dev": "npm ci --ignore-scripts && npm run build:watch", "type:check:watch": "tsc --watch", "pretype:check:watch": "npm run build:identity", "format": "prettier --config ./prettier.config.js --no-editorconfig '**/*.ts' --write",