From d22bece5e2b823018fd1202209448a1653f9c7e5 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Wed, 21 Feb 2024 03:09:26 +0100 Subject: [PATCH 01/35] readme, addon --- README.md | 78 +++++++++++++++++++++++++++++--------------- package.json | 2 +- script/buildAddon.sh | 25 +++++++++----- 3 files changed, 70 insertions(+), 35 deletions(-) diff --git a/README.md b/README.md index fa20d4a..c43b2c4 100644 --- a/README.md +++ b/README.md @@ -1,21 +1,31 @@ # libpg-query +

+ webincubator +

+ +

+ + + + +

+ The real PostgreSQL parser, exposed for nodejs. Primarily used for the node.js parser and deparser [pgsql-parser](https://github.com/pyramation/pgsql-parser) -## Building a binary distribution -- Install requirements (`npm i`) -- `npx node-pre-gyp rebuild package` -- With appropriate AWS credentials configured, `npx node-pre-gyp publish` +## Table of Contents -Or you can run the scripts +1. [Installation](#installation) +2. [Example](#example) +5. [Documentation](#documentation) +3. [Versions](#versions) +4. [Building a binary distribution](#building-a-binary-distribution) +6. [Related Projects](#related-projects) +7. [Credit](#credit) -``` -npm run binary:build -npm run binary:publish -``` ## Installation @@ -23,6 +33,13 @@ npm run binary:publish npm install libpg-query ``` +## Example + +```js +const parser = require('libpg-query'); +parser.parseQuery('select 1').then(console.log); +``` + ### Documentation ### `query.parseQuery(sql)`/`parseQuerySync` @@ -35,27 +52,36 @@ The return value is an array, as multiple queries may be provided in a single st Parses the contents of a PL/PGSql function, from a `CREATE FUNCTION` declaration, and returns a Promise for the parse tree (or returns the parse tree directly in the sync version). May reject with/throw a parse error. -## Example +## Versions -```js -const parser = require('libpg-query'); -parser.parseQuery('select 1').then(console.log); -``` +Our latest is built with `16-latest` branch from libpg_query -## Versions -Our latest is built with `15-latest` branch from libpg_query +| PG Major Version | libpg_query | Branch | npm +|--------------------------|-------------|------------------------------------------------------------------------------------------------|---------| +| 16 | 16-latest | [`16-latest`](https://github.com/launchql/libpg-query-node/tree/16-latest) | [`libpg-query@16.0.0`](https://www.npmjs.com/package/libpg-query/v/latest) +| 15 | 15-latest | [`15-latest`](https://github.com/launchql/libpg-query-node/tree/15-latest) | [`libpg-query@15.0.0`](https://www.npmjs.com/package/libpg-query/v/15.0.0) +| 14 | 14-latest | [`14-latest`](https://github.com/launchql/libpg-query-node/tree/14-latest) | [`libpg-query@14.0.0`](https://www.npmjs.com/package/libpg-query/v/14.0.0) +| 13 | 13-latest | [`13-latest`](https://github.com/launchql/libpg-query-node/tree/13-latest) | [`libpg-query@13.3.1`](https://www.npmjs.com/package/libpg-query/v/13.3.1) +| 12 | (n/a) | | +| 11 | (n/a) | | +| 10 | 10-latest | | `@1.3.1` ([tree](https://github.com/pyramation/pgsql-parser/tree/39b7b1adc8914253226e286a48105785219a81ca)) | + -| PostgreSQL Major Version | libpg_query | Status | npm -|--------------------------|-------------|---------------------|---------| -| 15 | 15-latest | Supported | [`latest`](https://www.npmjs.com/package/libpg-query/v/latest) -| 14 | 14-latest | Supported | [`libpg-query@14.0.0`](https://www.npmjs.com/package/libpg-query/v/14.0.0) -| 13 | 13-latest | Supported | [`libpg-query@13.3.1`](https://www.npmjs.com/package/libpg-query/v/13.3.1) -| 12 | (n/a) | Not supported | -| 11 | (n/a) | Not supported | -| 10 | 10-latest | Not supported | `@1.3.1` ([tree](https://github.com/pyramation/pgsql-parser/tree/39b7b1adc8914253226e286a48105785219a81ca)) | +## Building a binary distribution + +- Install requirements (`npm i`) +- `npx node-pre-gyp rebuild package` +- With appropriate AWS credentials configured, `npx node-pre-gyp publish` + +Or you can run the scripts + +``` +npm run binary:build +npm run binary:publish +``` -## Related +## Related Projects * [libpg_query](https://github.com/pganalyze/libpg_query) * [pgsql-parser](https://github.com/pyramation/pgsql-parser) @@ -68,6 +94,6 @@ This is based on the output of [libpg_query](https://github.com/pganalyze/libpg_ All credit for the hard problems goes to [Lukas Fittl](https://github.com/lfittl). -Additional thanks for node binding [Ethan Resnick](github.com/ethanresnick). +Additional thanks for node binding [Ethan Resnick](https://github.com/ethanresnick). Original [Code](https://github.com/zhm/node-pg-query-native) and [License](https://github.com/zhm/node-pg-query-native/blob/master/LICENSE.md) diff --git a/package.json b/package.json index 0388dbc..e6a6129 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "libpg-query", - "version": "15.0.2", + "version": "15.0.3", "description": "The real PostgreSQL query parser", "homepage": "https://github.com/pyramation/libpg-query-node", "main": "index.js", diff --git a/script/buildAddon.sh b/script/buildAddon.sh index 228bee2..e6c1fbf 100755 --- a/script/buildAddon.sh +++ b/script/buildAddon.sh @@ -1,58 +1,67 @@ #!/usr/bin/env bash -commit=1ada550d901ed4edbfb6bce2163d21f4b948ab2d +# Set the desired commit hash and branch +commit=db39825bc7c1ddd45962ec6a626d740b7f8f027a +branch=15-latest +# Remember current directory and create a new, unique, temporary directory rDIR=$(pwd) tmpDir=$(mktemp -d 2>/dev/null || mktemp -d -t 'tmpdir.XXXX') + +# Define the make target makeTarget=build +# Change to the newly created temp directory cd "$tmpDir" -git clone -b 15-latest --single-branch https://github.com/pganalyze/libpg_query.git +# Clone the selected branch of the libpg_query Git repo +git clone -b $branch --single-branch https://github.com/pganalyze/libpg_query.git cd libpg_query +# Checkout the desired commit git checkout $commit # needed if being invoked from within gyp unset MAKEFLAGS unset MFLAGS +# Adaptively build for macOS or Linux if [ "$(uname)" == "Darwin" ]; then make CFLAGS='-mmacosx-version-min=10.7' PG_CFLAGS='-mmacosx-version-min=10.7' $makeTarget elif [ "$(expr substr $(uname -s) 1 5)" == "Linux" ]; then make CFLAGS='' PG_CFLAGS='' $makeTarget fi +# Terminate if build fails if [ $? -ne 0 ]; then echo "ERROR: 'make' command failed"; exit 1; fi +# Search for libpg_query.a, error if not found file=$(ls | grep 'libpg_query.a') - if [ ! $file ]; then echo "ERROR: libpg_query.a not found"; exit 1; fi +# Error if pg_query.h is missing file=$(ls | grep 'pg_query.h') - if [ ! $file ]; then echo "ERROR: pg_query.h not found"; exit 1; fi -#copy queryparser.cc, binding.gyp to current directory -# -# - +# Copy queryparser.cc, binding.gyp to current directory if [ "$(uname)" == "Darwin" ]; then cp $(pwd)/libpg_query.a $rDIR/libpg_query/osx/ elif [ "$(expr substr $(uname -s) 1 5)" == "Linux" ]; then cp $(pwd)/libpg_query.a $rDIR/libpg_query/linux/ fi +# Copy header cp $(pwd)/pg_query.h $rDIR/libpg_query/include/ +# Cleanup: revert to original directory and remove the temp cd "$rDIR" rm -rf "$tmpDir" From c8f42ee1ec0724300de5cddc03d03f3dc2d6270e Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Wed, 21 Feb 2024 03:15:14 +0100 Subject: [PATCH 02/35] readme --- docker/readme.md | 66 ++++++++++++++++++++---------------------------- 1 file changed, 27 insertions(+), 39 deletions(-) diff --git a/docker/readme.md b/docker/readme.md index 78f8078..dae6d92 100644 --- a/docker/readme.md +++ b/docker/readme.md @@ -3,55 +3,44 @@ build the binary on mac ```sh -rm -rf build yarn ``` -# 1 build the docker image - -run `docker-compose build` - -# 2 start the server +# 1 build and run the docker image ```sh -docker run -d \ - -it \ - --name build_pg_query \ +docker run \ --mount type=bind,source="$(pwd)"/libpg_query,target=/pg_query \ - pyramation/libpg_query + --rm -it \ + $(docker build -q --file docker/Dockerfile .) ``` -# 3 jump inside - -`ssh` into the box +# build inside the docker image ```sh -docker exec -it build_pg_query /bin/bash +branch=15-latest +mkdir git_clone_dir && cd git_clone_dir +git clone -b $branch --single-branch https://github.com/launchql/libpg-query-node +cd libpg-query-node/ +yarn + +# get the linux version and sent it to docker host +cp ./libpg_query/linux/libpg_query.a /pg_query/linux/ ``` -# publishing from inside +Now on the docker host machine, you should be able to publish: ```sh -rm -rf git && mkdir git && cd git && git clone -b v15 --single-branch https://github.com/pyramation/libpg-query-node && cd libpg-query-node/ && yarn - -# get the OSX version you build before... -cp /pg_query/osx/libpg_query.a ./libpg_query/osx/ - -# add your creds real quick... (look in your ~/.npmrc) -vi .npmrc -vi package.json npm publish ``` # building libpg_query -not necessary, but for fun: +to build manually using `libpg_query` ```sh mkdir git cd git/ -git clone git clone git@github.com:pganalyze/libpg_query.git -git clone git@github.com:pganalyze/libpg_query.git git clone https://github.com/pganalyze/libpg_query.git cd libpg_query/ make @@ -61,18 +50,17 @@ cp libpg_query.a /pg_query/linux/ you should see `.a` files now :) ``` -libpg_query/ -libpg_query//osx -libpg_query//osx/libpg_query.a -libpg_query//osx/.gitkeep -libpg_query//include -libpg_query//include/.gitkeep -libpg_query//include/pg_query.h -libpg_query//linux -libpg_query//linux/libpg_query.a -libpg_query//linux/.gitkeep -libpg_query//windows -libpg_query//windows/.gitkeep +libpg_query/osx +libpg_query/osx/libpg_query.a +libpg_query/osx/.gitkeep +libpg_query/include +libpg_query/include/.gitkeep +libpg_query/include/pg_query.h +libpg_query/linux +libpg_query/linux/libpg_query.a +libpg_query/linux/.gitkeep +libpg_query/windows +libpg_query/windows/.gitkeep ``` -make sure you grab the `pg_query.h` if you don't have it ;) \ No newline at end of file +make sure you grab the `pg_query.h` if you don't have it ;) From dd3398fce51fe389af7fc80b8880803cebd90275 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Wed, 21 Feb 2024 03:16:35 +0100 Subject: [PATCH 03/35] readme --- docker/readme.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docker/readme.md b/docker/readme.md index dae6d92..87d5e0d 100644 --- a/docker/readme.md +++ b/docker/readme.md @@ -39,9 +39,9 @@ npm publish to build manually using `libpg_query` ```sh -mkdir git -cd git/ -git clone https://github.com/pganalyze/libpg_query.git +branch=15-latest +mkdir git_clone_dir && cd git_clone_dir +git clone -b $branch --single-branch https://github.com/pganalyze/libpg_query.git cd libpg_query/ make cp libpg_query.a /pg_query/linux/ From b22906bc6ed88b952a5a5d48e399d402ce253f57 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Wed, 21 Feb 2024 03:40:23 +0100 Subject: [PATCH 04/35] udpate version --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c43b2c4..b45f308 100644 --- a/README.md +++ b/README.md @@ -60,7 +60,7 @@ Our latest is built with `16-latest` branch from libpg_query | PG Major Version | libpg_query | Branch | npm |--------------------------|-------------|------------------------------------------------------------------------------------------------|---------| | 16 | 16-latest | [`16-latest`](https://github.com/launchql/libpg-query-node/tree/16-latest) | [`libpg-query@16.0.0`](https://www.npmjs.com/package/libpg-query/v/latest) -| 15 | 15-latest | [`15-latest`](https://github.com/launchql/libpg-query-node/tree/15-latest) | [`libpg-query@15.0.0`](https://www.npmjs.com/package/libpg-query/v/15.0.0) +| 15 | 15-latest | [`15-latest`](https://github.com/launchql/libpg-query-node/tree/15-latest) | [`libpg-query@15.0.3`](https://www.npmjs.com/package/libpg-query/v/15.0.3) | 14 | 14-latest | [`14-latest`](https://github.com/launchql/libpg-query-node/tree/14-latest) | [`libpg-query@14.0.0`](https://www.npmjs.com/package/libpg-query/v/14.0.0) | 13 | 13-latest | [`13-latest`](https://github.com/launchql/libpg-query-node/tree/13-latest) | [`libpg-query@13.3.1`](https://www.npmjs.com/package/libpg-query/v/13.3.1) | 12 | (n/a) | | From f351a4205061d537f7b534b58a3958a4a8f6818e Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Wed, 21 Feb 2024 04:31:43 +0100 Subject: [PATCH 05/35] clean --- script/clean.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 script/clean.sh diff --git a/script/clean.sh b/script/clean.sh new file mode 100755 index 0000000..a930bad --- /dev/null +++ b/script/clean.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +echo removing object files... +find ./libpg_query/ -name "*.a" | xargs rm + +echo clearing build... +rm -rf build/* From d0f0a64d9f21e799f9e005ef9dfe7f3ee8bec0f9 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Wed, 21 Feb 2024 06:16:46 +0100 Subject: [PATCH 06/35] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b45f308..adf8e7a 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # libpg-query

- webincubator + webincubator

From 3e8966b832db234557141612f608abc2c2fefd27 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Wed, 1 May 2024 17:05:21 -0700 Subject: [PATCH 07/35] add updates from 16-latest re building on windows, upgrade node gyp --- .github/workflows/build-dry-run.yml | 41 ++ .github/workflows/run-tests.yml | 31 + .gitignore | 1 + .travis.yml | 13 - binding.gyp | 52 +- docker/Dockerfile | 2 +- package.json | 6 +- script/buildAddon.bat | 68 ++ test/index.js | 8 +- yarn.lock | 980 ++++++++++++++++------------ 10 files changed, 740 insertions(+), 462 deletions(-) create mode 100644 .github/workflows/build-dry-run.yml create mode 100644 .github/workflows/run-tests.yml delete mode 100644 .travis.yml create mode 100644 script/buildAddon.bat diff --git a/.github/workflows/build-dry-run.yml b/.github/workflows/build-dry-run.yml new file mode 100644 index 0000000..8a64171 --- /dev/null +++ b/.github/workflows/build-dry-run.yml @@ -0,0 +1,41 @@ +name: Build Dry Run + +on: + workflow_dispatch: + +jobs: + build: + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [windows-latest, macos-latest, ubuntu-latest] + steps: + - uses: actions/checkout@v2 + - name: Build project + run: | + yarn + - uses: actions/upload-artifact@v2 + with: + name: build-artifact-${{ matrix.os }} + path: | + ${{ matrix.os == 'macos-latest' && './libpg_query/osx/libpg_query.a' || + matrix.os == 'ubuntu-latest' && './libpg_query/linux/libpg_query.a' || + '' }} + prepare-and-publish: + needs: build + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/download-artifact@v2 + with: + path: downloaded-artifacts + - name: Prepare artifacts + run: | + # move or prepare artifacts + ls downloaded-artifacts/* + # - name: Publish to NPM + # run: | + # # Assuming you've set up your package.json and .npmrc correctly + # npm publish + # env: + # NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml new file mode 100644 index 0000000..c37c47b --- /dev/null +++ b/.github/workflows/run-tests.yml @@ -0,0 +1,31 @@ +name: Run Tests ๐Ÿงช + +on: + pull_request: + types: [opened, push, reopened] + workflow_dispatch: + +jobs: + run-tests: + runs-on: ubuntu-latest + steps: + - name: Checkout Repository ๐Ÿ“ฅ + uses: actions/checkout@v4 + + - name: Setup Node.js ๐ŸŒ + uses: actions/setup-node@v4 + with: + node-version: '20.x' + cache: 'yarn' + + - name: Install Dependencies ๐Ÿงถ + run: | + yarn + + - name: Build Project ๐Ÿ—๏ธ + run: | + yarn build + yarn symlink + + - name: Test ๐Ÿ” + run: yarn test \ No newline at end of file diff --git a/.gitignore b/.gitignore index 8751cb7..3b1a66d 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ libpg_query/**/*.h wasm/libpg-query.js *.wasm .cache +libpg_query/windows/*.lib \ No newline at end of file diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 7463a2f..0000000 --- a/.travis.yml +++ /dev/null @@ -1,13 +0,0 @@ -language: node_js -node_js: - - "8" -addons: - apt: - sources: - - ubuntu-toolchain-r-test - packages: - - gcc-4.8 - - g++-4.8 -env: - - CXX=g++-4.8 -script: npm test diff --git a/binding.gyp b/binding.gyp index 112f4bf..918fdf1 100644 --- a/binding.gyp +++ b/binding.gyp @@ -8,14 +8,6 @@ "src/sync.cc", "src/async.cc" ], - "actions": [ - { - "outputs": ['libpg_query/include/pg_query.h'], - "inputs": [], - "action": ['script/buildAddon.sh'], - "action_name": 'prebuild_dependencies' - } - ], 'cflags!': [ '-fno-exceptions' ], 'cflags_cc!': [ '-fno-exceptions' ], 'include_dirs': [ @@ -25,7 +17,15 @@ 'dependencies': [" { (it) => it.stmts[0].stmt.SelectStmt.targetList ); - expect(selectedDatas[0][0].ResTarget.val.A_Const.val.Integer.ival).to.eq( + expect(selectedDatas[0][0].ResTarget.val.A_Const.ival.ival).to.eq( 1 ); - expect(selectedDatas[1][0].ResTarget.val.A_Const.val).to.have.property( - "Null" + expect(selectedDatas[1][0].ResTarget.val.A_Const.isnull).to.eq( + true ); - expect(selectedDatas[2][0].ResTarget.val.A_Const.val.String.str).to.eq( + expect(selectedDatas[2][0].ResTarget.val.A_Const.sval.sval).to.eq( "" ); expect(selectedDatas[3]).to.have.lengthOf(2); diff --git a/yarn.lock b/yarn.lock index 00fc88f..80cc0f7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -9,149 +9,175 @@ dependencies: tslib "^2.4.0" +"@isaacs/cliui@^8.0.2": + version "8.0.2" + resolved "https://registry.yarnpkg.com/@isaacs/cliui/-/cliui-8.0.2.tgz#b37667b7bc181c168782259bab42474fbf52b550" + integrity sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA== + dependencies: + string-width "^5.1.2" + string-width-cjs "npm:string-width@^4.2.0" + strip-ansi "^7.0.1" + strip-ansi-cjs "npm:strip-ansi@^6.0.1" + wrap-ansi "^8.1.0" + wrap-ansi-cjs "npm:wrap-ansi@^7.0.0" + "@mapbox/node-pre-gyp@^1.0.8": - version "1.0.8" - resolved "https://registry.npmjs.org/@mapbox/node-pre-gyp/-/node-pre-gyp-1.0.8.tgz" - integrity sha512-CMGKi28CF+qlbXh26hDe6NxCd7amqeAzEqnS6IHeO6LoaKyM/n+Xw3HT1COdq8cuioOdlKdqn/hCmqPUOMOywg== + version "1.0.11" + resolved "https://registry.yarnpkg.com/@mapbox/node-pre-gyp/-/node-pre-gyp-1.0.11.tgz#417db42b7f5323d79e93b34a6d7a2a12c0df43fa" + integrity sha512-Yhlar6v9WQgUp/He7BdgzOz8lqMQ8sU+jkCq7Wx8Myc5YFJLbEe7lgui/V7G1qB1DJykHSGwreceSaD60Y0PUQ== dependencies: - detect-libc "^1.0.3" + detect-libc "^2.0.0" https-proxy-agent "^5.0.0" make-dir "^3.1.0" - node-fetch "^2.6.5" + node-fetch "^2.6.7" nopt "^5.0.0" npmlog "^5.0.1" rimraf "^3.0.2" semver "^7.3.5" tar "^6.1.11" -"@npmcli/move-file@^1.0.1": - version "1.1.2" - resolved "https://registry.npmjs.org/@npmcli/move-file/-/move-file-1.1.2.tgz" - integrity sha512-1SUf/Cg2GzGDyaf15aR9St9TWlb+XvbZXWpDx8YKs7MLzMH/BCeopv+y9vzrzgkfykCGuWOlSu3mZhj2+FQcrg== +"@npmcli/agent@^2.0.0": + version "2.2.2" + resolved "https://registry.yarnpkg.com/@npmcli/agent/-/agent-2.2.2.tgz#967604918e62f620a648c7975461c9c9e74fc5d5" + integrity sha512-OrcNPXdpSl9UX7qPVRWbmWMCSXrcDa2M9DvrbOTj7ao1S4PlqVFYv9/yLKMkrJKZ/V5A/kDBC690or307i26Og== dependencies: - mkdirp "^1.0.4" - rimraf "^3.0.2" + agent-base "^7.1.0" + http-proxy-agent "^7.0.0" + https-proxy-agent "^7.0.1" + lru-cache "^10.0.1" + socks-proxy-agent "^8.0.3" -"@tootallnate/once@1": - version "1.1.2" - resolved "https://registry.npmjs.org/@tootallnate/once/-/once-1.1.2.tgz" - integrity sha512-RbzJvlNzmRq5c3O09UipeuXno4tA1FE6ikOjxZK0tuxVv3412l64l5t1W5pj4+rJq9vpkm/kwiR07aZXnsKPxw== +"@npmcli/fs@^3.1.0": + version "3.1.0" + resolved "https://registry.yarnpkg.com/@npmcli/fs/-/fs-3.1.0.tgz#233d43a25a91d68c3a863ba0da6a3f00924a173e" + integrity sha512-7kZUAaLscfgbwBQRbvdMYaZOWyMEcPTH/tJjnyAWJ/dvvs9Ef+CERx/qJb9GExJpl1qipaDGn7KqHnFGGixd0w== + dependencies: + semver "^7.3.5" + +"@pkgjs/parseargs@^0.11.0": + version "0.11.0" + resolved "https://registry.yarnpkg.com/@pkgjs/parseargs/-/parseargs-0.11.0.tgz#a77ea742fab25775145434eb1d2328cf5013ac33" + integrity sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg== abbrev@1: version "1.1.1" - resolved "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz" + resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-1.1.1.tgz#f8f2c887ad10bf67f634f005b6987fed3179aac8" integrity sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q== +abbrev@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-2.0.0.tgz#cf59829b8b4f03f89dda2771cb7f3653828c89bf" + integrity sha512-6/mh1E2u2YgEsCHdY0Yx5oW+61gZU+1vXaoiHHrpKeuRNNgFvS+/jrwHiQhB5apAf5oB7UB7E19ol2R2LKH8hQ== + agent-base@6: version "6.0.2" - resolved "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz" + resolved "https://registry.yarnpkg.com/agent-base/-/agent-base-6.0.2.tgz#49fff58577cfee3f37176feab4c22e00f86d7f77" integrity sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ== dependencies: debug "4" -agentkeepalive@^4.1.3: - version "4.1.4" - resolved "https://registry.npmjs.org/agentkeepalive/-/agentkeepalive-4.1.4.tgz" - integrity sha512-+V/rGa3EuU74H6wR04plBb7Ks10FbtUQgRj/FQOG7uUIEuaINI+AiqJR1k6t3SVNs7o7ZjIdus6706qqzVq8jQ== +agent-base@^7.0.2, agent-base@^7.1.0, agent-base@^7.1.1: + version "7.1.1" + resolved "https://registry.yarnpkg.com/agent-base/-/agent-base-7.1.1.tgz#bdbded7dfb096b751a2a087eeeb9664725b2e317" + integrity sha512-H0TSyFNDMomMNJQBn8wFV5YC/2eJ+VXECwOadZJT554xP6cODZHPX3H9QMQECxvrgiSOP1pHjy1sMWQVYJOUOA== dependencies: - debug "^4.1.0" - depd "^1.1.2" - humanize-ms "^1.2.1" + debug "^4.3.4" aggregate-error@^3.0.0: version "3.1.0" - resolved "https://registry.npmjs.org/aggregate-error/-/aggregate-error-3.1.0.tgz" + resolved "https://registry.yarnpkg.com/aggregate-error/-/aggregate-error-3.1.0.tgz#92670ff50f5359bdb7a3e0d40d0ec30c5737687a" integrity sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA== dependencies: clean-stack "^2.0.0" indent-string "^4.0.0" -ansi-regex@^2.0.0: - version "2.1.1" - resolved "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz" - integrity sha1-w7M6te42DYbg5ijwRorn7yfWVN8= - ansi-regex@^5.0.1: version "5.0.1" - resolved "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz" + resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-5.0.1.tgz#082cb2c89c9fe8659a311a53bd6a4dc5301db304" integrity sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ== -aproba@^1.0.3: - version "1.2.0" - resolved "https://registry.npmjs.org/aproba/-/aproba-1.2.0.tgz" - integrity sha512-Y9J6ZjXtoYh8RnXVCMOU/ttDmk1aBjunq9vO0ta5x85WDQiQfUF9sIPBITdbiiIVcBo03Hi3jMxigBtsddlXRw== +ansi-regex@^6.0.1: + version "6.0.1" + resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-6.0.1.tgz#3183e38fae9a65d7cb5e53945cd5897d0260a06a" + integrity sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA== + +ansi-styles@^4.0.0: + version "4.3.0" + resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-4.3.0.tgz#edd803628ae71c04c85ae7a0906edad34b648937" + integrity sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg== + dependencies: + color-convert "^2.0.1" + +ansi-styles@^6.1.0: + version "6.2.1" + resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-6.2.1.tgz#0e62320cf99c21afff3b3012192546aacbfb05c5" + integrity sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug== "aproba@^1.0.3 || ^2.0.0": version "2.0.0" - resolved "https://registry.npmjs.org/aproba/-/aproba-2.0.0.tgz" + resolved "https://registry.yarnpkg.com/aproba/-/aproba-2.0.0.tgz#52520b8ae5b569215b354efc0caa3fe1e45a8adc" integrity sha512-lYe4Gx7QT+MKGbDsA+Z+he/Wtef0BiwDOlK/XkBrdfsh9J/jPPXbX0tE9x9cl27Tmu5gg3QUbUrQYa/y+KOHPQ== are-we-there-yet@^2.0.0: version "2.0.0" - resolved "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-2.0.0.tgz" + resolved "https://registry.yarnpkg.com/are-we-there-yet/-/are-we-there-yet-2.0.0.tgz#372e0e7bd279d8e94c653aaa1f67200884bf3e1c" integrity sha512-Ci/qENmwHnsYo9xKIcUJN5LeDKdJ6R1Z1j9V/J5wyq8nh/mYPEpIKJbBZXtZjG04HiK7zV/p6Vs9952MrMeUIw== dependencies: delegates "^1.0.0" readable-stream "^3.6.0" -are-we-there-yet@~1.1.2: - version "1.1.5" - resolved "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-1.1.5.tgz" - integrity sha512-5hYdAkZlcG8tOLujVDTgCT+uPX0VnpAH28gWsLfzpXYm7wP6mp5Q/gYyR7YQ0cKVJcXJnl3j2kpBan13PtQf6w== - dependencies: - delegates "^1.0.0" - readable-stream "^2.0.6" - assertion-error@^1.0.1: version "1.1.0" - resolved "https://registry.npmjs.org/assertion-error/-/assertion-error-1.1.0.tgz" + resolved "https://registry.yarnpkg.com/assertion-error/-/assertion-error-1.1.0.tgz#e60b6b0e8f301bd97e5375215bda406c85118c0b" integrity sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw== balanced-match@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz" - integrity sha1-ibTRmasr7kneFk6gK4nORi1xt2c= + version "1.0.2" + resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.2.tgz#e83e3a7e3f300b34cb9d87f615fa0cbf357690ee" + integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw== brace-expansion@^1.1.7: version "1.1.11" - resolved "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz" + resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd" integrity sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA== dependencies: balanced-match "^1.0.0" concat-map "0.0.1" +brace-expansion@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-2.0.1.tgz#1edc459e0f0c548486ecf9fc99f2221364b9a0ae" + integrity sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA== + dependencies: + balanced-match "^1.0.0" + browser-stdout@1.3.1: version "1.3.1" - resolved "https://registry.npmjs.org/browser-stdout/-/browser-stdout-1.3.1.tgz" + resolved "https://registry.yarnpkg.com/browser-stdout/-/browser-stdout-1.3.1.tgz#baa559ee14ced73452229bad7326467c61fabd60" integrity sha512-qhAVI1+Av2X7qelOfAIYwXONood6XlZE/fXaBSmW/T5SzLAmCgzi+eiWE7fUvbHaeNBQH13UftjpXxsfLkMpgw== -cacache@^15.0.5: - version "15.0.6" - resolved "https://registry.npmjs.org/cacache/-/cacache-15.0.6.tgz" - integrity sha512-g1WYDMct/jzW+JdWEyjaX2zoBkZ6ZT9VpOyp2I/VMtDsNLffNat3kqPFfi1eDRSK9/SuKGyORDHcQMcPF8sQ/w== - dependencies: - "@npmcli/move-file" "^1.0.1" - chownr "^2.0.0" - fs-minipass "^2.0.0" - glob "^7.1.4" - infer-owner "^1.0.4" - lru-cache "^6.0.0" - minipass "^3.1.1" - minipass-collect "^1.0.2" +cacache@^18.0.0: + version "18.0.2" + resolved "https://registry.yarnpkg.com/cacache/-/cacache-18.0.2.tgz#fd527ea0f03a603be5c0da5805635f8eef00c60c" + integrity sha512-r3NU8h/P+4lVUHfeRw1dtgQYar3DZMm4/cm2bZgOvrFC/su7budSOeqh52VJIC4U4iG1WWwV6vRW0znqBvxNuw== + dependencies: + "@npmcli/fs" "^3.1.0" + fs-minipass "^3.0.0" + glob "^10.2.2" + lru-cache "^10.0.1" + minipass "^7.0.3" + minipass-collect "^2.0.1" minipass-flush "^1.0.5" - minipass-pipeline "^1.2.2" - mkdirp "^1.0.3" + minipass-pipeline "^1.2.4" p-map "^4.0.0" - promise-inflight "^1.0.1" - rimraf "^3.0.2" - ssri "^8.0.1" - tar "^6.0.2" - unique-filename "^1.1.1" + ssri "^10.0.0" + tar "^6.1.11" + unique-filename "^3.0.0" chai@^3.5.0: version "3.5.0" - resolved "https://registry.npmjs.org/chai/-/chai-3.5.0.tgz" - integrity sha1-TQJjewZ/6Vi9v906QOxW/vc3Mkc= + resolved "https://registry.yarnpkg.com/chai/-/chai-3.5.0.tgz#4d02637b067fe958bdbfdd3a40ec56fef7373247" + integrity sha512-eRYY0vPS2a9zt5w5Z0aCeWbrXTEyvk7u/Xf71EzNObrjSCPgMm1Nku/D/u2tiqHBX5j40wWhj54YJLtgn8g55A== dependencies: assertion-error "^1.0.1" deep-eql "^0.1.3" @@ -159,85 +185,96 @@ chai@^3.5.0: chownr@^2.0.0: version "2.0.0" - resolved "https://registry.npmjs.org/chownr/-/chownr-2.0.0.tgz" + resolved "https://registry.yarnpkg.com/chownr/-/chownr-2.0.0.tgz#15bfbe53d2eab4cf70f18a8cd68ebe5b3cb1dece" integrity sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ== clean-stack@^2.0.0: version "2.2.0" - resolved "https://registry.npmjs.org/clean-stack/-/clean-stack-2.2.0.tgz" + resolved "https://registry.yarnpkg.com/clean-stack/-/clean-stack-2.2.0.tgz#ee8472dbb129e727b31e8a10a427dee9dfe4008b" integrity sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A== -code-point-at@^1.0.0: - version "1.1.0" - resolved "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz" - integrity sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c= +color-convert@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-2.0.1.tgz#72d3a68d598c9bdb3af2ad1e84f21d896abd4de3" + integrity sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ== + dependencies: + color-name "~1.1.4" + +color-name@~1.1.4: + version "1.1.4" + resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2" + integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA== color-support@^1.1.2: version "1.1.3" - resolved "https://registry.npmjs.org/color-support/-/color-support-1.1.3.tgz" + resolved "https://registry.yarnpkg.com/color-support/-/color-support-1.1.3.tgz#93834379a1cc9a0c61f82f52f0d04322251bd5a2" integrity sha512-qiBjkpbMLO/HL68y+lh4q0/O1MZFj2RX6X/KmMa3+gJD3z+WwI1ZzDHysvqHGS3mP6mznPckpXmw1nI9cJjyRg== commander@2.15.1: version "2.15.1" - resolved "https://registry.npmjs.org/commander/-/commander-2.15.1.tgz" + resolved "https://registry.yarnpkg.com/commander/-/commander-2.15.1.tgz#df46e867d0fc2aec66a34662b406a9ccafff5b0f" integrity sha512-VlfT9F3V0v+jr4yxPc5gg9s62/fIVWsd2Bk2iD435um1NlGMYdVCq+MjcXnhYq2icNOizHr1kK+5TI6H0Hy0ag== concat-map@0.0.1: version "0.0.1" - resolved "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz" - integrity sha1-2Klr13/Wjfd5OnMDajug1UBdR3s= + resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" + integrity sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg== -console-control-strings@^1.0.0, console-control-strings@^1.1.0, console-control-strings@~1.1.0: +console-control-strings@^1.0.0, console-control-strings@^1.1.0: version "1.1.0" - resolved "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz" - integrity sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4= + resolved "https://registry.yarnpkg.com/console-control-strings/-/console-control-strings-1.1.0.tgz#3d7cf4464db6446ea644bf4b39507f9851008e8e" + integrity sha512-ty/fTekppD2fIwRvnZAVdeOiGd1c7YXEixbgJTNzqcxJWKQnjJ/V1bNEEE6hygpM3WjwHFUVK6HTjWSzV4a8sQ== -core-util-is@~1.0.0: - version "1.0.2" - resolved "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz" - integrity sha1-tf1UIgqivFq1eqtxQMlAdUUDwac= +cross-spawn@^7.0.0: + version "7.0.3" + resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6" + integrity sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w== + dependencies: + path-key "^3.1.0" + shebang-command "^2.0.0" + which "^2.0.1" debug@3.1.0: version "3.1.0" - resolved "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz" + resolved "https://registry.yarnpkg.com/debug/-/debug-3.1.0.tgz#5bb5a0672628b64149566ba16819e61518c67261" integrity sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g== dependencies: ms "2.0.0" -debug@4, debug@^4.1.0: - version "4.3.1" - resolved "https://registry.npmjs.org/debug/-/debug-4.3.1.tgz" - integrity sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ== +debug@4, debug@^4.3.4: + version "4.3.4" + resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.4.tgz#1319f6579357f2338d3337d2cdd4914bb5dcc865" + integrity sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ== dependencies: ms "2.1.2" deep-eql@^0.1.3: version "0.1.3" - resolved "https://registry.npmjs.org/deep-eql/-/deep-eql-0.1.3.tgz" - integrity sha1-71WKyrjeJSBs1xOQbXTlaTDrafI= + resolved "https://registry.yarnpkg.com/deep-eql/-/deep-eql-0.1.3.tgz#ef558acab8de25206cd713906d74e56930eb69f2" + integrity sha512-6sEotTRGBFiNcqVoeHwnfopbSpi5NbH1VWJmYCVkmxMmaVTT0bUTrNaGyBwhgP4MZL012W/mkzIn3Da+iDYweg== dependencies: type-detect "0.1.1" delegates@^1.0.0: version "1.0.0" - resolved "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz" - integrity sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o= - -depd@^1.1.2: - version "1.1.2" - resolved "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz" - integrity sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak= + resolved "https://registry.yarnpkg.com/delegates/-/delegates-1.0.0.tgz#84c6e159b81904fdca59a0ef44cd870d31250f9a" + integrity sha512-bd2L678uiWATM6m5Z1VzNCErI3jiGzt6HGY8OVICs40JQq/HALfbyNJmp0UDakEY4pMMaN0Ly5om/B1VI/+xfQ== -detect-libc@^1.0.3: - version "1.0.3" - resolved "https://registry.npmjs.org/detect-libc/-/detect-libc-1.0.3.tgz" - integrity sha1-+hN8S9aY7fVc1c0CrFWfkaTEups= +detect-libc@^2.0.0: + version "2.0.3" + resolved "https://registry.yarnpkg.com/detect-libc/-/detect-libc-2.0.3.tgz#f0cd503b40f9939b894697d19ad50895e30cf700" + integrity sha512-bwy0MGW55bG41VqxxypOsdSdGqLwXPI/focwgTYCFMbdUiBAxLg9CFzG08sz2aqzknwiX7Hkl0bQENjg8iLByw== diff@3.5.0: version "3.5.0" - resolved "https://registry.npmjs.org/diff/-/diff-3.5.0.tgz" + resolved "https://registry.yarnpkg.com/diff/-/diff-3.5.0.tgz#800c0dd1e0a8bfbc95835c202ad220fe317e5a12" integrity sha512-A46qtFgd+g7pDZinpnwiRJtxbC1hpgf0uzP3iG89scHk0AUC7A1TGxf5OiiOUv/JMZR8GOt8hL900hV0bOy5xA== +eastasianwidth@^0.2.0: + version "0.2.0" + resolved "https://registry.yarnpkg.com/eastasianwidth/-/eastasianwidth-0.2.0.tgz#696ce2ec0aa0e6ea93a397ffcf24aa7840c827cb" + integrity sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA== + emnapi@^0.43.1: version "0.43.1" resolved "https://registry.yarnpkg.com/emnapi/-/emnapi-0.43.1.tgz#ce99a639277060cfe99b32b2ddcc9ae6d60c7aa6" @@ -245,46 +282,71 @@ emnapi@^0.43.1: emoji-regex@^8.0.0: version "8.0.0" - resolved "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz" + resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-8.0.0.tgz#e818fd69ce5ccfcb404594f842963bf53164cc37" integrity sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A== -encoding@^0.1.12: +emoji-regex@^9.2.2: + version "9.2.2" + resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-9.2.2.tgz#840c8803b0d8047f4ff0cf963176b32d4ef3ed72" + integrity sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg== + +encoding@^0.1.13: version "0.1.13" - resolved "https://registry.npmjs.org/encoding/-/encoding-0.1.13.tgz" + resolved "https://registry.yarnpkg.com/encoding/-/encoding-0.1.13.tgz#56574afdd791f54a8e9b2785c0582a2d26210fa9" integrity sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A== dependencies: iconv-lite "^0.6.2" env-paths@^2.2.0: version "2.2.1" - resolved "https://registry.npmjs.org/env-paths/-/env-paths-2.2.1.tgz" + resolved "https://registry.yarnpkg.com/env-paths/-/env-paths-2.2.1.tgz#420399d416ce1fbe9bc0a07c62fa68d67fd0f8f2" integrity sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A== err-code@^2.0.2: version "2.0.3" - resolved "https://registry.npmjs.org/err-code/-/err-code-2.0.3.tgz" + resolved "https://registry.yarnpkg.com/err-code/-/err-code-2.0.3.tgz#23c2f3b756ffdfc608d30e27c9a941024807e7f9" integrity sha512-2bmlRpNKBxT/CRmPOlyISQpNj+qSeYvcym/uT0Jx2bMOlKLtSy1ZmLuVxSEKKyor/N5yhvp/ZiG1oE3DEYMSFA== escape-string-regexp@1.0.5: version "1.0.5" - resolved "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz" - integrity sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ= + resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" + integrity sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg== + +exponential-backoff@^3.1.1: + version "3.1.1" + resolved "https://registry.yarnpkg.com/exponential-backoff/-/exponential-backoff-3.1.1.tgz#64ac7526fe341ab18a39016cd22c787d01e00bf6" + integrity sha512-dX7e/LHVJ6W3DE1MHWi9S1EYzDESENfLrYohG2G++ovZrYOkm4Knwa0mc1cn84xJOR4KEU0WSchhLbd0UklbHw== + +foreground-child@^3.1.0: + version "3.1.1" + resolved "https://registry.yarnpkg.com/foreground-child/-/foreground-child-3.1.1.tgz#1d173e776d75d2772fed08efe4a0de1ea1b12d0d" + integrity sha512-TMKDUnIte6bfb5nWv7V/caI169OHgvwjb7V4WkeUvbQQdjr5rWKqHFiKWb/fcOwB+CzBT+qbWjvj+DVwRskpIg== + dependencies: + cross-spawn "^7.0.0" + signal-exit "^4.0.1" fs-minipass@^2.0.0: version "2.1.0" - resolved "https://registry.npmjs.org/fs-minipass/-/fs-minipass-2.1.0.tgz" + resolved "https://registry.yarnpkg.com/fs-minipass/-/fs-minipass-2.1.0.tgz#7f5036fdbf12c63c169190cbe4199c852271f9fb" integrity sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg== dependencies: minipass "^3.0.0" +fs-minipass@^3.0.0: + version "3.0.3" + resolved "https://registry.yarnpkg.com/fs-minipass/-/fs-minipass-3.0.3.tgz#79a85981c4dc120065e96f62086bf6f9dc26cc54" + integrity sha512-XUBA9XClHbnJWSfBzjkm6RvPsyg3sryZt06BEQoXcF7EK/xpGaQYJgQKDJSUH5SGZ76Y7pFx1QBnXz09rU5Fbw== + dependencies: + minipass "^7.0.3" + fs.realpath@^1.0.0: version "1.0.0" - resolved "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz" - integrity sha1-FQStJSMVjKpA20onh8sBQRmU6k8= + resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" + integrity sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw== gauge@^3.0.0: version "3.0.2" - resolved "https://registry.npmjs.org/gauge/-/gauge-3.0.2.tgz" + resolved "https://registry.yarnpkg.com/gauge/-/gauge-3.0.2.tgz#03bf4441c044383908bcfa0656ad91803259b395" integrity sha512-+5J6MS/5XksCuXq++uFRsnUd7Ovu1XenbeuIuNRJxYWjgQbPuFhT14lAvsWfqfAmnwluf1OwMjz39HjfLPci0Q== dependencies: aproba "^1.0.3 || ^2.0.0" @@ -297,23 +359,9 @@ gauge@^3.0.0: strip-ansi "^6.0.1" wide-align "^1.1.2" -gauge@~2.7.3: - version "2.7.4" - resolved "https://registry.npmjs.org/gauge/-/gauge-2.7.4.tgz" - integrity sha1-LANAXHU4w51+s3sxcCLjJfsBi/c= - dependencies: - aproba "^1.0.3" - console-control-strings "^1.0.0" - has-unicode "^2.0.0" - object-assign "^4.1.0" - signal-exit "^3.0.0" - string-width "^1.0.1" - strip-ansi "^3.0.1" - wide-align "^1.1.0" - glob@7.1.2: version "7.1.2" - resolved "https://registry.npmjs.org/glob/-/glob-7.1.2.tgz" + resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.2.tgz#c19c9df9a028702d678612384a6552404c636d15" integrity sha512-MJTUg1kjuLeQCJ+ccE4Vpa6kKVXkPYJ2mOCQyUuKLcLQsdrMCpBPUi8qVE6+YuaJkozeA9NusTAw3hLr8Xe5EQ== dependencies: fs.realpath "^1.0.0" @@ -323,240 +371,282 @@ glob@7.1.2: once "^1.3.0" path-is-absolute "^1.0.0" -glob@^7.1.3, glob@^7.1.4: - version "7.1.6" - resolved "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz" - integrity sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA== +glob@^10.2.2, glob@^10.3.10: + version "10.3.12" + resolved "https://registry.yarnpkg.com/glob/-/glob-10.3.12.tgz#3a65c363c2e9998d220338e88a5f6ac97302960b" + integrity sha512-TCNv8vJ+xz4QiqTpfOJA7HvYv+tNIRHKfUWw/q+v2jdgN4ebz+KY9tGx5J4rHP0o84mNP+ApH66HRX8us3Khqg== + dependencies: + foreground-child "^3.1.0" + jackspeak "^2.3.6" + minimatch "^9.0.1" + minipass "^7.0.4" + path-scurry "^1.10.2" + +glob@^7.1.3: + version "7.2.3" + resolved "https://registry.yarnpkg.com/glob/-/glob-7.2.3.tgz#b8df0fb802bbfa8e89bd1d938b4e16578ed44f2b" + integrity sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q== dependencies: fs.realpath "^1.0.0" inflight "^1.0.4" inherits "2" - minimatch "^3.0.4" + minimatch "^3.1.1" once "^1.3.0" path-is-absolute "^1.0.0" graceful-fs@^4.2.6: - version "4.2.6" - resolved "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.6.tgz" - integrity sha512-nTnJ528pbqxYanhpDYsi4Rd8MAeaBA67+RZ10CM1m3bTAVFEDcd5AuA4a6W5YkGZ1iNXHzZz8T6TBKLeBuNriQ== + version "4.2.11" + resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.11.tgz#4183e4e8bf08bb6e05bbb2f7d2e0c8f712ca40e3" + integrity sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ== growl@1.10.5: version "1.10.5" - resolved "https://registry.npmjs.org/growl/-/growl-1.10.5.tgz" + resolved "https://registry.yarnpkg.com/growl/-/growl-1.10.5.tgz#f2735dc2283674fa67478b10181059355c369e5e" integrity sha512-qBr4OuELkhPenW6goKVXiv47US3clb3/IbuWF9KNKEijAy9oeHxU9IgzjvJhHkUzhaj7rOUD7+YGWqUjLp5oSA== has-flag@^3.0.0: version "3.0.0" - resolved "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz" - integrity sha1-tdRU3CGZriJWmfNGfloH87lVuv0= + resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-3.0.0.tgz#b5d454dc2199ae225699f3467e5a07f3b955bafd" + integrity sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw== -has-unicode@^2.0.0, has-unicode@^2.0.1: +has-unicode@^2.0.1: version "2.0.1" - resolved "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz" - integrity sha1-4Ob+aijPUROIVeCG0Wkedx3iqLk= + resolved "https://registry.yarnpkg.com/has-unicode/-/has-unicode-2.0.1.tgz#e0e6fe6a28cf51138855e086d1691e771de2a8b9" + integrity sha512-8Rf9Y83NBReMnx0gFzA8JImQACstCYWUplepDa9xprwwtmgEZUF0h/i5xSA625zB/I37EtrswSST6OXxwaaIJQ== he@1.1.1: version "1.1.1" - resolved "https://registry.npmjs.org/he/-/he-1.1.1.tgz" - integrity sha1-k0EP0hsAlzUVH4howvJx80J+I/0= + resolved "https://registry.yarnpkg.com/he/-/he-1.1.1.tgz#93410fd21b009735151f8868c2f271f3427e23fd" + integrity sha512-z/GDPjlRMNOa2XJiB4em8wJpuuBfrFOlYKTZxtpkdr1uPdibHI8rYA3MY0KDObpVyaes0e/aunid/t88ZI2EKA== -http-cache-semantics@^4.1.0: - version "4.1.0" - resolved "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.1.0.tgz" - integrity sha512-carPklcUh7ROWRK7Cv27RPtdhYhUsela/ue5/jKzjegVvXDqM2ILE9Q2BGn9JZJh1g87cp56su/FgQSzcWS8cQ== +http-cache-semantics@^4.1.1: + version "4.1.1" + resolved "https://registry.yarnpkg.com/http-cache-semantics/-/http-cache-semantics-4.1.1.tgz#abe02fcb2985460bf0323be664436ec3476a6d5a" + integrity sha512-er295DKPVsV82j5kw1Gjt+ADA/XYHsajl82cGNQG2eyoPkvgUhX+nDIyelzhIWbbsXP39EHcI6l5tYs2FYqYXQ== -http-proxy-agent@^4.0.1: - version "4.0.1" - resolved "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-4.0.1.tgz" - integrity sha512-k0zdNgqWTGA6aeIRVpvfVob4fL52dTfaehylg0Y4UvSySvOq/Y+BOyPrgpUrA7HylqvU8vIZGsRuXmspskV0Tg== +http-proxy-agent@^7.0.0: + version "7.0.2" + resolved "https://registry.yarnpkg.com/http-proxy-agent/-/http-proxy-agent-7.0.2.tgz#9a8b1f246866c028509486585f62b8f2c18c270e" + integrity sha512-T1gkAiYYDWYx3V5Bmyu7HcfcvL7mUrTWiM6yOfa3PIphViJ/gFPbvidQ+veqSOHci/PxBcDabeUNCzpOODJZig== dependencies: - "@tootallnate/once" "1" - agent-base "6" - debug "4" + agent-base "^7.1.0" + debug "^4.3.4" https-proxy-agent@^5.0.0: - version "5.0.0" - resolved "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.0.tgz" - integrity sha512-EkYm5BcKUGiduxzSt3Eppko+PiNWNEpa4ySk9vTC6wDsQJW9rHSa+UhGNJoRYp7bz6Ht1eaRIa6QaJqO5rCFbA== + version "5.0.1" + resolved "https://registry.yarnpkg.com/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz#c59ef224a04fe8b754f3db0063a25ea30d0005d6" + integrity sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA== dependencies: agent-base "6" debug "4" -humanize-ms@^1.2.1: - version "1.2.1" - resolved "https://registry.npmjs.org/humanize-ms/-/humanize-ms-1.2.1.tgz" - integrity sha1-xG4xWaKT9riW2ikxbYtv6Lt5u+0= +https-proxy-agent@^7.0.1: + version "7.0.4" + resolved "https://registry.yarnpkg.com/https-proxy-agent/-/https-proxy-agent-7.0.4.tgz#8e97b841a029ad8ddc8731f26595bad868cb4168" + integrity sha512-wlwpilI7YdjSkWaQ/7omYBMTliDcmCN8OLihO6I9B86g06lMyAoqgoDpV0XqoaPOKj+0DIdAvnsWfyAAhmimcg== dependencies: - ms "^2.0.0" + agent-base "^7.0.2" + debug "4" iconv-lite@^0.6.2: - version "0.6.2" - resolved "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.2.tgz" - integrity sha512-2y91h5OpQlolefMPmUlivelittSWy0rP+oYVpn6A7GwVHNE8AWzoYOBNmlwks3LobaJxgHCYZAnyNo2GgpNRNQ== + version "0.6.3" + resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.6.3.tgz#a52f80bf38da1952eb5c681790719871a1a72501" + integrity sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw== dependencies: safer-buffer ">= 2.1.2 < 3.0.0" imurmurhash@^0.1.4: version "0.1.4" - resolved "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz" - integrity sha1-khi5srkoojixPcT7a21XbyMUU+o= + resolved "https://registry.yarnpkg.com/imurmurhash/-/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea" + integrity sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA== indent-string@^4.0.0: version "4.0.0" - resolved "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz" + resolved "https://registry.yarnpkg.com/indent-string/-/indent-string-4.0.0.tgz#624f8f4497d619b2d9768531d58f4122854d7251" integrity sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg== -infer-owner@^1.0.4: - version "1.0.4" - resolved "https://registry.npmjs.org/infer-owner/-/infer-owner-1.0.4.tgz" - integrity sha512-IClj+Xz94+d7irH5qRyfJonOdfTzuDaifE6ZPWfx0N0+/ATZCbuTPq2prFl526urkQd90WyUKIh1DfBQ2hMz9A== - inflight@^1.0.4: version "1.0.6" - resolved "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz" - integrity sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk= + resolved "https://registry.yarnpkg.com/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9" + integrity sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA== dependencies: once "^1.3.0" wrappy "1" -inherits@2, inherits@^2.0.3, inherits@~2.0.3: +inherits@2, inherits@^2.0.3: version "2.0.4" - resolved "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz" + resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c" integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== -ip@^1.1.5: - version "1.1.5" - resolved "https://registry.npmjs.org/ip/-/ip-1.1.5.tgz" - integrity sha1-vd7XARQpCCjAoDnnLvJfWq7ENUo= - -is-fullwidth-code-point@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz" - integrity sha1-754xOG8DGn8NZDr4L95QxFfvAMs= +ip-address@^9.0.5: + version "9.0.5" + resolved "https://registry.yarnpkg.com/ip-address/-/ip-address-9.0.5.tgz#117a960819b08780c3bd1f14ef3c1cc1d3f3ea5a" + integrity sha512-zHtQzGojZXTwZTHQqra+ETKd4Sn3vgi7uBmlPoXVWZqYvuKmtI0l/VZTjqGmJY9x88GGOaZ9+G9ES8hC4T4X8g== dependencies: - number-is-nan "^1.0.0" + jsbn "1.1.0" + sprintf-js "^1.1.3" is-fullwidth-code-point@^3.0.0: version "3.0.0" - resolved "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz" + resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz#f116f8064fe90b3f7844a38997c0b75051269f1d" integrity sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg== is-lambda@^1.0.1: version "1.0.1" - resolved "https://registry.npmjs.org/is-lambda/-/is-lambda-1.0.1.tgz" - integrity sha1-PZh3iZ5qU+/AFgUEzeFfgubwYdU= - -isarray@~1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz" - integrity sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE= + resolved "https://registry.yarnpkg.com/is-lambda/-/is-lambda-1.0.1.tgz#3d9877899e6a53efc0160504cde15f82e6f061d5" + integrity sha512-z7CMFGNrENq5iFB9Bqo64Xk6Y9sg+epq1myIcdHaGnbMTYOxvzsEtdYqQUylB7LxfkvgrrjP32T6Ywciio9UIQ== isexe@^2.0.0: version "2.0.0" - resolved "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz" - integrity sha1-6PvzdNxVb/iUehDcsFctYz8s+hA= + resolved "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10" + integrity sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw== + +isexe@^3.1.1: + version "3.1.1" + resolved "https://registry.yarnpkg.com/isexe/-/isexe-3.1.1.tgz#4a407e2bd78ddfb14bea0c27c6f7072dde775f0d" + integrity sha512-LpB/54B+/2J5hqQ7imZHfdU31OlgQqx7ZicVlkm9kzg9/w8GKLEcFfJl/t7DCEDueOyBAD6zCCwTO6Fzs0NoEQ== + +jackspeak@^2.3.6: + version "2.3.6" + resolved "https://registry.yarnpkg.com/jackspeak/-/jackspeak-2.3.6.tgz#647ecc472238aee4b06ac0e461acc21a8c505ca8" + integrity sha512-N3yCS/NegsOBokc8GAdM8UcmfsKiSS8cipheD/nivzr700H+nsMOxJjQnvwOcRYVuFkdH0wGUvW2WbXGmrZGbQ== + dependencies: + "@isaacs/cliui" "^8.0.2" + optionalDependencies: + "@pkgjs/parseargs" "^0.11.0" + +jsbn@1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/jsbn/-/jsbn-1.1.0.tgz#b01307cb29b618a1ed26ec79e911f803c4da0040" + integrity sha512-4bYVV3aAMtDTTu4+xsDYa6sy9GyJ69/amsu9sYF2zqjiEoZA5xJi3BrfX3uY+/IekIu7MwdObdbDWpoZdBv3/A== lodash@^4.17.15: version "4.17.21" - resolved "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz" + resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c" integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg== +lru-cache@^10.0.1, lru-cache@^10.2.0: + version "10.2.2" + resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-10.2.2.tgz#48206bc114c1252940c41b25b41af5b545aca878" + integrity sha512-9hp3Vp2/hFQUiIwKo8XCeFVnrg8Pk3TYNPIR7tJADKi5YfcF7vEaK7avFHTlSy3kOKYaJQaalfEo6YuXdceBOQ== + lru-cache@^6.0.0: version "6.0.0" - resolved "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz" + resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-6.0.0.tgz#6d6fe6570ebd96aaf90fcad1dafa3b2566db3a94" integrity sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA== dependencies: yallist "^4.0.0" make-dir@^3.1.0: version "3.1.0" - resolved "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz" + resolved "https://registry.yarnpkg.com/make-dir/-/make-dir-3.1.0.tgz#415e967046b3a7f1d185277d84aa58203726a13f" integrity sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw== dependencies: semver "^6.0.0" -make-fetch-happen@^8.0.14: - version "8.0.14" - resolved "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-8.0.14.tgz" - integrity sha512-EsS89h6l4vbfJEtBZnENTOFk8mCRpY5ru36Xe5bcX1KYIli2mkSHqoFsp5O1wMDvTJJzxe/4THpCTtygjeeGWQ== +make-fetch-happen@^13.0.0: + version "13.0.1" + resolved "https://registry.yarnpkg.com/make-fetch-happen/-/make-fetch-happen-13.0.1.tgz#273ba2f78f45e1f3a6dca91cede87d9fa4821e36" + integrity sha512-cKTUFc/rbKUd/9meOvgrpJ2WrNzymt6jfRDdwg5UCnVzv9dTpEj9JS5m3wtziXVCjluIXyL8pcaukYqezIzZQA== dependencies: - agentkeepalive "^4.1.3" - cacache "^15.0.5" - http-cache-semantics "^4.1.0" - http-proxy-agent "^4.0.1" - https-proxy-agent "^5.0.0" + "@npmcli/agent" "^2.0.0" + cacache "^18.0.0" + http-cache-semantics "^4.1.1" is-lambda "^1.0.1" - lru-cache "^6.0.0" - minipass "^3.1.3" - minipass-collect "^1.0.2" - minipass-fetch "^1.3.2" + minipass "^7.0.2" + minipass-fetch "^3.0.0" minipass-flush "^1.0.5" minipass-pipeline "^1.2.4" + negotiator "^0.6.3" + proc-log "^4.2.0" promise-retry "^2.0.1" - socks-proxy-agent "^5.0.0" - ssri "^8.0.0" + ssri "^10.0.0" -minimatch@3.0.4, minimatch@^3.0.4: +minimatch@3.0.4: version "3.0.4" - resolved "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz" + resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083" integrity sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA== dependencies: brace-expansion "^1.1.7" +minimatch@^3.0.4, minimatch@^3.1.1: + version "3.1.2" + resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.1.2.tgz#19cd194bfd3e428f049a70817c038d89ab4be35b" + integrity sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw== + dependencies: + brace-expansion "^1.1.7" + +minimatch@^9.0.1: + version "9.0.4" + resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-9.0.4.tgz#8e49c731d1749cbec05050ee5145147b32496a51" + integrity sha512-KqWh+VchfxcMNRAJjj2tnsSJdNbHsVgnkBhTNrW7AjVo6OvLtxw8zfT9oLw1JSohlFzJ8jCoTgaoXvJ+kHt6fw== + dependencies: + brace-expansion "^2.0.1" + minimist@0.0.8: version "0.0.8" - resolved "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz" - integrity sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0= + resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.8.tgz#857fcabfc3397d2625b8228262e86aa7a011b05d" + integrity sha512-miQKw5Hv4NS1Psg2517mV4e4dYNaO3++hjAvLOAzKqZ61rH8NS1SK+vbfBWZ5PY/Me/bEWhUwqMghEW5Fb9T7Q== -minipass-collect@^1.0.2: - version "1.0.2" - resolved "https://registry.npmjs.org/minipass-collect/-/minipass-collect-1.0.2.tgz" - integrity sha512-6T6lH0H8OG9kITm/Jm6tdooIbogG9e0tLgpY6mphXSm/A9u8Nq1ryBG+Qspiub9LjWlBPsPS3tWQ/Botq4FdxA== +minipass-collect@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/minipass-collect/-/minipass-collect-2.0.1.tgz#1621bc77e12258a12c60d34e2276ec5c20680863" + integrity sha512-D7V8PO9oaz7PWGLbCACuI1qEOsq7UKfLotx/C0Aet43fCUB/wfQ7DYeq2oR/svFJGYDHPr38SHATeaj/ZoKHKw== dependencies: - minipass "^3.0.0" + minipass "^7.0.3" -minipass-fetch@^1.3.2: - version "1.3.3" - resolved "https://registry.npmjs.org/minipass-fetch/-/minipass-fetch-1.3.3.tgz" - integrity sha512-akCrLDWfbdAWkMLBxJEeWTdNsjML+dt5YgOI4gJ53vuO0vrmYQkUPxa6j6V65s9CcePIr2SSWqjT2EcrNseryQ== +minipass-fetch@^3.0.0: + version "3.0.4" + resolved "https://registry.yarnpkg.com/minipass-fetch/-/minipass-fetch-3.0.4.tgz#4d4d9b9f34053af6c6e597a64be8e66e42bf45b7" + integrity sha512-jHAqnA728uUpIaFm7NWsCnqKT6UqZz7GcI/bDpPATuwYyKwJwW0remxSCxUlKiEty+eopHGa3oc8WxgQ1FFJqg== dependencies: - minipass "^3.1.0" + minipass "^7.0.3" minipass-sized "^1.0.3" - minizlib "^2.0.0" + minizlib "^2.1.2" optionalDependencies: - encoding "^0.1.12" + encoding "^0.1.13" minipass-flush@^1.0.5: version "1.0.5" - resolved "https://registry.npmjs.org/minipass-flush/-/minipass-flush-1.0.5.tgz" + resolved "https://registry.yarnpkg.com/minipass-flush/-/minipass-flush-1.0.5.tgz#82e7135d7e89a50ffe64610a787953c4c4cbb373" integrity sha512-JmQSYYpPUqX5Jyn1mXaRwOda1uQ8HP5KAT/oDSLCzt1BYRhQU0/hDtsB1ufZfEEzMZ9aAVmsBw8+FWsIXlClWw== dependencies: minipass "^3.0.0" -minipass-pipeline@^1.2.2, minipass-pipeline@^1.2.4: +minipass-pipeline@^1.2.4: version "1.2.4" - resolved "https://registry.npmjs.org/minipass-pipeline/-/minipass-pipeline-1.2.4.tgz" + resolved "https://registry.yarnpkg.com/minipass-pipeline/-/minipass-pipeline-1.2.4.tgz#68472f79711c084657c067c5c6ad93cddea8214c" integrity sha512-xuIq7cIOt09RPRJ19gdi4b+RiNvDFYe5JH+ggNvBqGqpQXcru3PcRmOZuHBKWK1Txf9+cQ+HMVN4d6z46LZP7A== dependencies: minipass "^3.0.0" minipass-sized@^1.0.3: version "1.0.3" - resolved "https://registry.npmjs.org/minipass-sized/-/minipass-sized-1.0.3.tgz" + resolved "https://registry.yarnpkg.com/minipass-sized/-/minipass-sized-1.0.3.tgz#70ee5a7c5052070afacfbc22977ea79def353b70" integrity sha512-MbkQQ2CTiBMlA2Dm/5cY+9SWFEN8pzzOXi6rlM5Xxq0Yqbda5ZQy9sU75a673FE9ZK0Zsbr6Y5iP6u9nktfg2g== dependencies: minipass "^3.0.0" -minipass@^3.0.0, minipass@^3.1.0, minipass@^3.1.1, minipass@^3.1.3: - version "3.1.3" - resolved "https://registry.npmjs.org/minipass/-/minipass-3.1.3.tgz" - integrity sha512-Mgd2GdMVzY+x3IJ+oHnVM+KG3lA5c8tnabyJKmHSaG2kAGpudxuOf8ToDkhumF7UzME7DecbQE9uOZhNm7PuJg== +minipass@^3.0.0: + version "3.3.6" + resolved "https://registry.yarnpkg.com/minipass/-/minipass-3.3.6.tgz#7bba384db3a1520d18c9c0e5251c3444e95dd94a" + integrity sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw== dependencies: yallist "^4.0.0" -minizlib@^2.0.0, minizlib@^2.1.1: +minipass@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/minipass/-/minipass-5.0.0.tgz#3e9788ffb90b694a5d0ec94479a45b5d8738133d" + integrity sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ== + +"minipass@^5.0.0 || ^6.0.2 || ^7.0.0", minipass@^7.0.2, minipass@^7.0.3, minipass@^7.0.4: + version "7.0.4" + resolved "https://registry.yarnpkg.com/minipass/-/minipass-7.0.4.tgz#dbce03740f50a4786ba994c1fb908844d27b038c" + integrity sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ== + +minizlib@^2.1.1, minizlib@^2.1.2: version "2.1.2" - resolved "https://registry.npmjs.org/minizlib/-/minizlib-2.1.2.tgz" + resolved "https://registry.yarnpkg.com/minizlib/-/minizlib-2.1.2.tgz#e90d3466ba209b932451508a11ce3d3632145931" integrity sha512-bAxsR8BVfj60DWXHE3u30oHzfl4G7khkSuPW+qvpd7jFRHm7dLxOjUk1EHACJ/hxLY8phGJ0YhYHZo7jil7Qdg== dependencies: minipass "^3.0.0" @@ -564,19 +654,19 @@ minizlib@^2.0.0, minizlib@^2.1.1: mkdirp@0.5.1: version "0.5.1" - resolved "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz" - integrity sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM= + resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.1.tgz#30057438eac6cf7f8c4767f38648d6697d75c903" + integrity sha512-SknJC52obPfGQPnjIkXbmA6+5H15E+fR+E4iR2oQ3zzCLbd7/ONua69R/Gw7AgkTLsRG+r5fzksYwWe1AgTyWA== dependencies: minimist "0.0.8" -mkdirp@^1.0.3, mkdirp@^1.0.4: +mkdirp@^1.0.3: version "1.0.4" - resolved "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz" + resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-1.0.4.tgz#3eb5ed62622756d79a5f0e2a221dfebad75c2f7e" integrity sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw== mocha@^5.2.0: version "5.2.0" - resolved "https://registry.npmjs.org/mocha/-/mocha-5.2.0.tgz" + resolved "https://registry.yarnpkg.com/mocha/-/mocha-5.2.0.tgz#6d8ae508f59167f940f2b5b3c4a612ae50c90ae6" integrity sha512-2IUgKDhc3J7Uug+FxMXuqIyYzH7gJjXECKe/w43IGgQHTSj3InJi+yAA7T24L9bQMRKiUEHxEX37G5JpVUGLcQ== dependencies: browser-stdout "1.3.1" @@ -593,62 +683,64 @@ mocha@^5.2.0: ms@2.0.0: version "2.0.0" - resolved "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz" - integrity sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g= + resolved "https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8" + integrity sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A== -ms@2.1.2, ms@^2.0.0: +ms@2.1.2: version "2.1.2" - resolved "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz" + resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009" integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w== +negotiator@^0.6.3: + version "0.6.3" + resolved "https://registry.yarnpkg.com/negotiator/-/negotiator-0.6.3.tgz#58e323a72fedc0d6f9cd4d31fe49f51479590ccd" + integrity sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg== + node-addon-api@^7.0.0: - version "7.0.0" - resolved "https://registry.yarnpkg.com/node-addon-api/-/node-addon-api-7.0.0.tgz#8136add2f510997b3b94814f4af1cce0b0e3962e" - integrity sha512-vgbBJTS4m5/KkE16t5Ly0WW9hz46swAstv0hYYwMtbG7AznRhNyfLRe8HZAiWIpcHzoO7HxhLuBQj9rJ/Ho0ZA== + version "7.1.0" + resolved "https://registry.yarnpkg.com/node-addon-api/-/node-addon-api-7.1.0.tgz#71f609369379c08e251c558527a107107b5e0fdb" + integrity sha512-mNcltoe1R8o7STTegSOHdnJNN7s5EUvhoS7ShnTHDyOSd+8H+UdWODq6qSv67PjC8Zc5JRT8+oLAMCr0SIXw7g== -node-fetch@^2.6.5: - version "2.6.7" - resolved "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.7.tgz" - integrity sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ== +node-fetch@^2.6.7: + version "2.7.0" + resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.7.0.tgz#d0f0fa6e3e2dc1d27efcd8ad99d550bda94d187d" + integrity sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A== dependencies: whatwg-url "^5.0.0" -node-gyp@^8.0.0: - version "8.0.0" - resolved "https://registry.npmjs.org/node-gyp/-/node-gyp-8.0.0.tgz" - integrity sha512-Jod6NxyWtcwrpAQe0O/aXOpC5QfncotgtG73dg65z6VW/C6g/G4jiajXQUBIJ8pk/VfM6mBYE9BN/HvudTunUQ== +node-gyp@^10.0.1: + version "10.1.0" + resolved "https://registry.yarnpkg.com/node-gyp/-/node-gyp-10.1.0.tgz#75e6f223f2acb4026866c26a2ead6aab75a8ca7e" + integrity sha512-B4J5M1cABxPc5PwfjhbV5hoy2DP9p8lFXASnEN6hugXOa61416tnTZ29x9sSwAd0o99XNIcpvDDy1swAExsVKA== dependencies: env-paths "^2.2.0" - glob "^7.1.4" + exponential-backoff "^3.1.1" + glob "^10.3.10" graceful-fs "^4.2.6" - make-fetch-happen "^8.0.14" - nopt "^5.0.0" - npmlog "^4.1.2" - rimraf "^3.0.2" + make-fetch-happen "^13.0.0" + nopt "^7.0.0" + proc-log "^3.0.0" semver "^7.3.5" - tar "^6.1.0" - which "^2.0.2" + tar "^6.1.2" + which "^4.0.0" nopt@^5.0.0: version "5.0.0" - resolved "https://registry.npmjs.org/nopt/-/nopt-5.0.0.tgz" + resolved "https://registry.yarnpkg.com/nopt/-/nopt-5.0.0.tgz#530942bb58a512fccafe53fe210f13a25355dc88" integrity sha512-Tbj67rffqceeLpcRXrT7vKAN8CwfPeIBgM7E6iBkmKLV7bEMwpGgYLGv0jACUsECaa/vuxP0IjEont6umdMgtQ== dependencies: abbrev "1" -npmlog@^4.1.2: - version "4.1.2" - resolved "https://registry.npmjs.org/npmlog/-/npmlog-4.1.2.tgz" - integrity sha512-2uUqazuKlTaSI/dC8AzicUck7+IrEaOnN/e0jd3Xtt1KcGpwx30v50mL7oPyr/h9bL3E4aZccVwpwP+5W9Vjkg== +nopt@^7.0.0: + version "7.2.0" + resolved "https://registry.yarnpkg.com/nopt/-/nopt-7.2.0.tgz#067378c68116f602f552876194fd11f1292503d7" + integrity sha512-CVDtwCdhYIvnAzFoJ6NJ6dX3oga9/HyciQDnG1vQDjSLMeKLJ4A93ZqYKDrgYSr1FBY5/hMYC+2VCi24pgpkGA== dependencies: - are-we-there-yet "~1.1.2" - console-control-strings "~1.1.0" - gauge "~2.7.3" - set-blocking "~2.0.0" + abbrev "^2.0.0" npmlog@^5.0.1: version "5.0.1" - resolved "https://registry.npmjs.org/npmlog/-/npmlog-5.0.1.tgz" + resolved "https://registry.yarnpkg.com/npmlog/-/npmlog-5.0.1.tgz#f06678e80e29419ad67ab964e0fa69959c1eb8b0" integrity sha512-AqZtDUWOMKs1G/8lwylVjrdYgqA4d9nu8hc+0gzRxlDb1I10+FHBGMXs6aiQHFdCUUlqH99MUMuLfzWDNDtfxw== dependencies: are-we-there-yet "^2.0.0" @@ -656,70 +748,65 @@ npmlog@^5.0.1: gauge "^3.0.0" set-blocking "^2.0.0" -number-is-nan@^1.0.0: - version "1.0.1" - resolved "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz" - integrity sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0= - -object-assign@^4.1.0, object-assign@^4.1.1: +object-assign@^4.1.1: version "4.1.1" - resolved "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz" - integrity sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM= + resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863" + integrity sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg== once@^1.3.0: version "1.4.0" - resolved "https://registry.npmjs.org/once/-/once-1.4.0.tgz" - integrity sha1-WDsap3WWHUsROsF9nFC6753Xa9E= + resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1" + integrity sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w== dependencies: wrappy "1" p-map@^4.0.0: version "4.0.0" - resolved "https://registry.npmjs.org/p-map/-/p-map-4.0.0.tgz" + resolved "https://registry.yarnpkg.com/p-map/-/p-map-4.0.0.tgz#bb2f95a5eda2ec168ec9274e06a747c3e2904d2b" integrity sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ== dependencies: aggregate-error "^3.0.0" path-is-absolute@^1.0.0: version "1.0.1" - resolved "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz" - integrity sha1-F0uSaHNVNP+8es5r9TpanhtcX18= + resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f" + integrity sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg== -process-nextick-args@~2.0.0: - 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== +path-key@^3.1.0: + version "3.1.1" + resolved "https://registry.yarnpkg.com/path-key/-/path-key-3.1.1.tgz#581f6ade658cbba65a0d3380de7753295054f375" + integrity sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q== -promise-inflight@^1.0.1: - version "1.0.1" - resolved "https://registry.npmjs.org/promise-inflight/-/promise-inflight-1.0.1.tgz" - integrity sha1-mEcocL8igTL8vdhoEputEsPAKeM= +path-scurry@^1.10.2: + version "1.10.2" + resolved "https://registry.yarnpkg.com/path-scurry/-/path-scurry-1.10.2.tgz#8f6357eb1239d5fa1da8b9f70e9c080675458ba7" + integrity sha512-7xTavNy5RQXnsjANvVvMkEjvloOinkAjv/Z6Ildz9v2RinZ4SBKTWFOVRbaF8p0vpHnyjV/UwNDdKuUv6M5qcA== + dependencies: + lru-cache "^10.2.0" + minipass "^5.0.0 || ^6.0.2 || ^7.0.0" + +proc-log@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/proc-log/-/proc-log-3.0.0.tgz#fb05ef83ccd64fd7b20bbe9c8c1070fc08338dd8" + integrity sha512-++Vn7NS4Xf9NacaU9Xq3URUuqZETPsf8L4j5/ckhaRYsfPeRyzGw+iDjFhV/Jr3uNmTvvddEJFWh5R1gRgUH8A== + +proc-log@^4.2.0: + version "4.2.0" + resolved "https://registry.yarnpkg.com/proc-log/-/proc-log-4.2.0.tgz#b6f461e4026e75fdfe228b265e9f7a00779d7034" + integrity sha512-g8+OnU/L2v+wyiVK+D5fA34J7EH8jZ8DDlvwhRCMxmMj7UCBvxiO1mGeN+36JXIKF4zevU4kRBd8lVgG9vLelA== promise-retry@^2.0.1: version "2.0.1" - resolved "https://registry.npmjs.org/promise-retry/-/promise-retry-2.0.1.tgz" + resolved "https://registry.yarnpkg.com/promise-retry/-/promise-retry-2.0.1.tgz#ff747a13620ab57ba688f5fc67855410c370da22" integrity sha512-y+WKFlBR8BGXnsNlIHFGPZmyDf3DFMoLhaflAnyZgV6rG6xu+JwesTo2Q9R6XwYmtmwAFCkAk3e35jEdoeh/3g== dependencies: err-code "^2.0.2" retry "^0.12.0" -readable-stream@^2.0.6: - version "2.3.7" - resolved "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz" - integrity sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw== - dependencies: - core-util-is "~1.0.0" - inherits "~2.0.3" - isarray "~1.0.0" - process-nextick-args "~2.0.0" - safe-buffer "~5.1.1" - string_decoder "~1.1.1" - util-deprecate "~1.0.1" - readable-stream@^3.6.0: - version "3.6.0" - resolved "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz" - integrity sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA== + version "3.6.2" + resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-3.6.2.tgz#56a9b36ea965c00c5a93ef31eb111a0f11056967" + integrity sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA== dependencies: inherits "^2.0.3" string_decoder "^1.1.1" @@ -727,151 +814,161 @@ readable-stream@^3.6.0: retry@^0.12.0: version "0.12.0" - resolved "https://registry.npmjs.org/retry/-/retry-0.12.0.tgz" - integrity sha1-G0KmJmoh8HQh0bC1S33BZ7AcATs= + resolved "https://registry.yarnpkg.com/retry/-/retry-0.12.0.tgz#1b42a6266a21f07421d1b0b54b7dc167b01c013b" + integrity sha512-9LkiTwjUh6rT555DtE9rTX+BKByPfrMzEAtnlEtdEwr3Nkffwiihqe2bWADg+OQRjt9gl6ICdmB/ZFDCGAtSow== rimraf@^3.0.2: version "3.0.2" - resolved "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz" + resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-3.0.2.tgz#f1a5402ba6220ad52cc1282bac1ae3aa49fd061a" integrity sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA== dependencies: glob "^7.1.3" -safe-buffer@~5.1.0, safe-buffer@~5.1.1: - version "5.1.2" - resolved "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz" - integrity sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g== - safe-buffer@~5.2.0: version "5.2.1" - resolved "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz" + resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.2.1.tgz#1eaf9fa9bdb1fdd4ec75f58f9cdb4e6b7827eec6" integrity sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ== "safer-buffer@>= 2.1.2 < 3.0.0": version "2.1.2" - resolved "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz" + resolved "https://registry.yarnpkg.com/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a" integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg== semver@^6.0.0: - version "6.3.0" - resolved "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz" - integrity sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw== + version "6.3.1" + resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.1.tgz#556d2ef8689146e46dcea4bfdd095f3434dffcb4" + integrity sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA== semver@^7.3.5: - version "7.3.5" - resolved "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz" - integrity sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ== + version "7.6.0" + resolved "https://registry.yarnpkg.com/semver/-/semver-7.6.0.tgz#1a46a4db4bffcccd97b743b5005c8325f23d4e2d" + integrity sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg== dependencies: lru-cache "^6.0.0" -set-blocking@^2.0.0, set-blocking@~2.0.0: +set-blocking@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7" + integrity sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw== + +shebang-command@^2.0.0: version "2.0.0" - resolved "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz" - integrity sha1-BF+XgtARrppoA93TgrJDkrPYkPc= + resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-2.0.0.tgz#ccd0af4f8835fbdc265b82461aaf0c36663f34ea" + integrity sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA== + dependencies: + shebang-regex "^3.0.0" + +shebang-regex@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-3.0.0.tgz#ae16f1644d873ecad843b0307b143362d4c42172" + integrity sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A== signal-exit@^3.0.0: - version "3.0.3" - resolved "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.3.tgz" - integrity sha512-VUJ49FC8U1OxwZLxIbTTrDvLnf/6TDgxZcK8wxR8zs13xpx7xbG60ndBlhNrFi2EMuFRoeDoJO7wthSLq42EjA== + version "3.0.7" + resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.7.tgz#a9a1767f8af84155114eaabd73f99273c8f59ad9" + integrity sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ== -smart-buffer@^4.1.0: +signal-exit@^4.0.1: version "4.1.0" - resolved "https://registry.npmjs.org/smart-buffer/-/smart-buffer-4.1.0.tgz" - integrity sha512-iVICrxOzCynf/SNaBQCw34eM9jROU/s5rzIhpOvzhzuYHfJR/DhZfDkXiZSgKXfgv26HT3Yni3AV/DGw0cGnnw== + resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-4.1.0.tgz#952188c1cbd546070e2dd20d0f41c0ae0530cb04" + integrity sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw== -socks-proxy-agent@^5.0.0: - version "5.0.0" - resolved "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-5.0.0.tgz" - integrity sha512-lEpa1zsWCChxiynk+lCycKuC502RxDWLKJZoIhnxrWNjLSDGYRFflHA1/228VkRcnv9TIb8w98derGbpKxJRgA== - dependencies: - agent-base "6" - debug "4" - socks "^2.3.3" +smart-buffer@^4.2.0: + version "4.2.0" + resolved "https://registry.yarnpkg.com/smart-buffer/-/smart-buffer-4.2.0.tgz#6e1d71fa4f18c05f7d0ff216dd16a481d0e8d9ae" + integrity sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg== -socks@^2.3.3: - version "2.6.0" - resolved "https://registry.npmjs.org/socks/-/socks-2.6.0.tgz" - integrity sha512-mNmr9owlinMplev0Wd7UHFlqI4ofnBnNzFuzrm63PPaHgbkqCFe4T5LzwKmtQ/f2tX0NTpcdVLyD/FHxFBstYw== +socks-proxy-agent@^8.0.3: + version "8.0.3" + resolved "https://registry.yarnpkg.com/socks-proxy-agent/-/socks-proxy-agent-8.0.3.tgz#6b2da3d77364fde6292e810b496cb70440b9b89d" + integrity sha512-VNegTZKhuGq5vSD6XNKlbqWhyt/40CgoEw8XxD6dhnm8Jq9IEa3nIa4HwnM8XOqU0CdB0BwWVXusqiFXfHB3+A== dependencies: - ip "^1.1.5" - smart-buffer "^4.1.0" + agent-base "^7.1.1" + debug "^4.3.4" + socks "^2.7.1" -ssri@^8.0.0, ssri@^8.0.1: - version "8.0.1" - resolved "https://registry.npmjs.org/ssri/-/ssri-8.0.1.tgz" - integrity sha512-97qShzy1AiyxvPNIkLWoGua7xoQzzPjQ0HAH4B0rWKo7SZ6USuPcrUiAFrws0UH8RrbWmgq3LMTObhPIHbbBeQ== +socks@^2.7.1: + version "2.8.3" + resolved "https://registry.yarnpkg.com/socks/-/socks-2.8.3.tgz#1ebd0f09c52ba95a09750afe3f3f9f724a800cb5" + integrity sha512-l5x7VUUWbjVFbafGLxPWkYsHIhEvmF85tbIeFZWc8ZPtoMyybuEhL7Jye/ooC4/d48FgOjSJXgsF/AJPYCW8Zw== dependencies: - minipass "^3.1.1" + ip-address "^9.0.5" + smart-buffer "^4.2.0" -string-width@^1.0.1: - version "1.0.2" - resolved "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz" - integrity sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M= +sprintf-js@^1.1.3: + version "1.1.3" + resolved "https://registry.yarnpkg.com/sprintf-js/-/sprintf-js-1.1.3.tgz#4914b903a2f8b685d17fdf78a70e917e872e444a" + integrity sha512-Oo+0REFV59/rz3gfJNKQiBlwfHaSESl1pcGyABQsnnIfWOFt6JNj5gCog2U6MLZ//IGYD+nA8nI+mTShREReaA== + +ssri@^10.0.0: + version "10.0.5" + resolved "https://registry.yarnpkg.com/ssri/-/ssri-10.0.5.tgz#e49efcd6e36385196cb515d3a2ad6c3f0265ef8c" + integrity sha512-bSf16tAFkGeRlUNDjXu8FzaMQt6g2HZJrun7mtMbIPOddxt3GLMSz5VWUWcqTJUPfLEaDIepGxv+bYQW49596A== dependencies: - code-point-at "^1.0.0" - is-fullwidth-code-point "^1.0.0" - strip-ansi "^3.0.0" + minipass "^7.0.3" -"string-width@^1.0.2 || 2 || 3 || 4", string-width@^4.2.3: +"string-width-cjs@npm:string-width@^4.2.0", "string-width@^1.0.2 || 2 || 3 || 4", string-width@^4.1.0, string-width@^4.2.3: version "4.2.3" - resolved "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz" + resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== dependencies: emoji-regex "^8.0.0" is-fullwidth-code-point "^3.0.0" strip-ansi "^6.0.1" +string-width@^5.0.1, string-width@^5.1.2: + version "5.1.2" + resolved "https://registry.yarnpkg.com/string-width/-/string-width-5.1.2.tgz#14f8daec6d81e7221d2a357e668cab73bdbca794" + integrity sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA== + dependencies: + eastasianwidth "^0.2.0" + emoji-regex "^9.2.2" + strip-ansi "^7.0.1" + string_decoder@^1.1.1: version "1.3.0" - resolved "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz" + resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.3.0.tgz#42f114594a46cf1a8e30b0a84f56c78c3edac21e" integrity sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA== dependencies: safe-buffer "~5.2.0" -string_decoder@~1.1.1: - version "1.1.1" - resolved "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz" - integrity sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg== - dependencies: - safe-buffer "~5.1.0" - -strip-ansi@^3.0.0, strip-ansi@^3.0.1: - version "3.0.1" - resolved "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz" - integrity sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8= - dependencies: - ansi-regex "^2.0.0" - -strip-ansi@^6.0.1: +"strip-ansi-cjs@npm:strip-ansi@^6.0.1", strip-ansi@^6.0.0, strip-ansi@^6.0.1: version "6.0.1" - resolved "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz" + resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== dependencies: ansi-regex "^5.0.1" +strip-ansi@^7.0.1: + version "7.1.0" + resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-7.1.0.tgz#d5b6568ca689d8561370b0707685d22434faff45" + integrity sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ== + dependencies: + ansi-regex "^6.0.1" + supports-color@5.4.0: version "5.4.0" - resolved "https://registry.npmjs.org/supports-color/-/supports-color-5.4.0.tgz" + resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-5.4.0.tgz#1c6b337402c2137605efe19f10fec390f6faab54" integrity sha512-zjaXglF5nnWpsq470jSv6P9DwPvgLkuapYmfDm3JWOm0vkNTVF2tI4UrN2r6jH1qM/uc/WtxYY1hYoA2dOKj5w== dependencies: has-flag "^3.0.0" -tar@^6.0.2, tar@^6.1.0, tar@^6.1.11: - version "6.1.11" - resolved "https://registry.npmjs.org/tar/-/tar-6.1.11.tgz" - integrity sha512-an/KZQzQUkZCkuoAA64hM92X0Urb6VpRhAFllDzz44U2mcD5scmT3zBc4VgVpkugF580+DQn8eAFSyoQt0tznA== +tar@^6.1.11, tar@^6.1.2: + version "6.2.1" + resolved "https://registry.yarnpkg.com/tar/-/tar-6.2.1.tgz#717549c541bc3c2af15751bea94b1dd068d4b03a" + integrity sha512-DZ4yORTwrbTj/7MZYq2w+/ZFdI6OZ/f9SFHR+71gIVUZhOQPHzVCLpvRnPgyaMpfWxxk/4ONva3GQSyNIKRv6A== dependencies: chownr "^2.0.0" fs-minipass "^2.0.0" - minipass "^3.0.0" + minipass "^5.0.0" minizlib "^2.1.1" mkdirp "^1.0.3" yallist "^4.0.0" tr46@~0.0.3: version "0.0.3" - resolved "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz" - integrity sha1-gYT9NH2snNwYWZLzpmIuFLnZq2o= + resolved "https://registry.yarnpkg.com/tr46/-/tr46-0.0.3.tgz#8184fd347dac9cdc185992f3a6622e14b9d9ab6a" + integrity sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw== tslib@^2.4.0: version "2.6.2" @@ -880,66 +977,91 @@ tslib@^2.4.0: type-detect@0.1.1: version "0.1.1" - resolved "https://registry.npmjs.org/type-detect/-/type-detect-0.1.1.tgz" - integrity sha1-C6XsKohWQORw6k6FBZcZANrFiCI= + resolved "https://registry.yarnpkg.com/type-detect/-/type-detect-0.1.1.tgz#0ba5ec2a885640e470ea4e8505971900dac58822" + integrity sha512-5rqszGVwYgBoDkIm2oUtvkfZMQ0vk29iDMU0W2qCa3rG0vPDNczCMT4hV/bLBgLg8k8ri6+u3Zbt+S/14eMzlA== type-detect@^1.0.0: version "1.0.0" - resolved "https://registry.npmjs.org/type-detect/-/type-detect-1.0.0.tgz" - integrity sha1-diIXzAbbJY7EiQihKY6LlRIejqI= + resolved "https://registry.yarnpkg.com/type-detect/-/type-detect-1.0.0.tgz#762217cc06db258ec48908a1298e8b95121e8ea2" + integrity sha512-f9Uv6ezcpvCQjJU0Zqbg+65qdcszv3qUQsZfjdRbWiZ7AMenrX1u0lNk9EoWWX6e1F+NULyg27mtdeZ5WhpljA== -unique-filename@^1.1.1: - version "1.1.1" - resolved "https://registry.npmjs.org/unique-filename/-/unique-filename-1.1.1.tgz" - integrity sha512-Vmp0jIp2ln35UTXuryvjzkjGdRyf9b2lTXuSYUiPmzRcl3FDtYqAwOnTJkAngD9SWhnoJzDbTKwaOrZ+STtxNQ== +unique-filename@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/unique-filename/-/unique-filename-3.0.0.tgz#48ba7a5a16849f5080d26c760c86cf5cf05770ea" + integrity sha512-afXhuC55wkAmZ0P18QsVE6kp8JaxrEokN2HGIoIVv2ijHQd419H0+6EigAFcIzXeMIkcIkNBpB3L/DXB3cTS/g== dependencies: - unique-slug "^2.0.0" + unique-slug "^4.0.0" -unique-slug@^2.0.0: - version "2.0.2" - resolved "https://registry.npmjs.org/unique-slug/-/unique-slug-2.0.2.tgz" - integrity sha512-zoWr9ObaxALD3DOPfjPSqxt4fnZiWblxHIgeWqW8x7UqDzEtHEQLzji2cuJYQFCU6KmoJikOYAZlrTHHebjx2w== +unique-slug@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/unique-slug/-/unique-slug-4.0.0.tgz#6bae6bb16be91351badd24cdce741f892a6532e3" + integrity sha512-WrcA6AyEfqDX5bWige/4NQfPZMtASNVxdmWR76WESYQVAACSgWcR6e9i0mofqqBxYFtL4oAxPIptY73/0YE1DQ== dependencies: imurmurhash "^0.1.4" -util-deprecate@^1.0.1, util-deprecate@~1.0.1: +util-deprecate@^1.0.1: version "1.0.2" - resolved "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz" - integrity sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8= + resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf" + integrity sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw== webidl-conversions@^3.0.0: version "3.0.1" - resolved "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz" - integrity sha1-JFNCdeKnvGvnvIZhHMFq4KVlSHE= + resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-3.0.1.tgz#24534275e2a7bc6be7bc86611cc16ae0a5654871" + integrity sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ== whatwg-url@^5.0.0: version "5.0.0" - resolved "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz" - integrity sha1-lmRU6HZUYuN2RNNib2dCzotwll0= + resolved "https://registry.yarnpkg.com/whatwg-url/-/whatwg-url-5.0.0.tgz#966454e8765462e37644d3626f6742ce8b70965d" + integrity sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw== dependencies: tr46 "~0.0.3" webidl-conversions "^3.0.0" -which@^2.0.2: +which@^2.0.1: version "2.0.2" - resolved "https://registry.npmjs.org/which/-/which-2.0.2.tgz" + resolved "https://registry.yarnpkg.com/which/-/which-2.0.2.tgz#7c6a8dd0a636a0327e10b59c9286eee93f3f51b1" integrity sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA== dependencies: isexe "^2.0.0" -wide-align@^1.1.0, wide-align@^1.1.2: +which@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/which/-/which-4.0.0.tgz#cd60b5e74503a3fbcfbf6cd6b4138a8bae644c1a" + integrity sha512-GlaYyEb07DPxYCKhKzplCWBJtvxZcZMrL+4UkrTSJHHPyZU4mYYTv3qaOe77H7EODLSSopAUFAc6W8U4yqvscg== + dependencies: + isexe "^3.1.1" + +wide-align@^1.1.2: version "1.1.5" - resolved "https://registry.npmjs.org/wide-align/-/wide-align-1.1.5.tgz" + resolved "https://registry.yarnpkg.com/wide-align/-/wide-align-1.1.5.tgz#df1d4c206854369ecf3c9a4898f1b23fbd9d15d3" integrity sha512-eDMORYaPNZ4sQIuuYPDHdQvf4gyCF9rEEV/yPxGfwPkRodwEgiMUUXTx/dex+Me0wxx53S+NgUHaP7y3MGlDmg== dependencies: string-width "^1.0.2 || 2 || 3 || 4" +"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0": + version "7.0.0" + resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" + integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== + dependencies: + ansi-styles "^4.0.0" + string-width "^4.1.0" + strip-ansi "^6.0.0" + +wrap-ansi@^8.1.0: + version "8.1.0" + resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-8.1.0.tgz#56dc22368ee570face1b49819975d9b9a5ead214" + integrity sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ== + dependencies: + ansi-styles "^6.1.0" + string-width "^5.0.1" + strip-ansi "^7.0.1" + wrappy@1: version "1.0.2" - resolved "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz" - integrity sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8= + resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" + integrity sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ== yallist@^4.0.0: version "4.0.0" - resolved "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz" + resolved "https://registry.yarnpkg.com/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72" integrity sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A== From a9f5ca8f51b1a9290231e90f0b65fc3de057eca4 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Wed, 1 May 2024 17:10:30 -0700 Subject: [PATCH 08/35] remove build step from workflow --- .github/workflows/run-tests.yml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index c37c47b..ed552c5 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -22,10 +22,5 @@ jobs: run: | yarn - - name: Build Project ๐Ÿ—๏ธ - run: | - yarn build - yarn symlink - - name: Test ๐Ÿ” run: yarn test \ No newline at end of file From ef3edbb0946263c49643339dd90ccd62bce033b8 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Wed, 1 May 2024 18:21:07 -0700 Subject: [PATCH 09/35] workflows --- .github/workflows/build-dry-run-no-win.yml | 51 +++++++++++++++++ .github/workflows/build-dry-run.yml | 56 +++++++++++-------- .github/workflows/build-wasm-linux.yml | 31 ++++++++++ .../{run-tests.yml => run-tests-linux.yml} | 2 +- .github/workflows/run-tests-mac.yml | 24 ++++++++ .github/workflows/run-tests-win.yml | 24 ++++++++ 6 files changed, 164 insertions(+), 24 deletions(-) create mode 100644 .github/workflows/build-dry-run-no-win.yml create mode 100644 .github/workflows/build-wasm-linux.yml rename .github/workflows/{run-tests.yml => run-tests-linux.yml} (94%) create mode 100644 .github/workflows/run-tests-mac.yml create mode 100644 .github/workflows/run-tests-win.yml diff --git a/.github/workflows/build-dry-run-no-win.yml b/.github/workflows/build-dry-run-no-win.yml new file mode 100644 index 0000000..a02cf90 --- /dev/null +++ b/.github/workflows/build-dry-run-no-win.yml @@ -0,0 +1,51 @@ +name: Build Dry Run No Windows ๐Ÿ— + +on: + workflow_dispatch: + +jobs: + build-matrix: + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [macos-latest, ubuntu-latest] + steps: + - name: Checkout Repository ๐Ÿ“ฅ + uses: actions/checkout@v4 + + - name: Setup Node.js ๐ŸŒ + uses: actions/setup-node@v4 + with: + node-version: '20.x' + cache: 'yarn' + + - name: Install Dependencies ๐Ÿงถ + run: | + yarn + + - name: Save Artifacts ๐Ÿ— + uses: actions/upload-artifact@v4 + with: + name: build-artifact-${{ matrix.os }} + path: | + ${{ matrix.os == 'macos-latest' && './libpg_query/osx/libpg_query.a' || + matrix.os == 'ubuntu-latest' && './libpg_query/linux/libpg_query.a' + }} + + prepare-and-publish: + needs: build-matrix # Corrected the needs to reflect the actual job name + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/download-artifact@v4 + with: + path: downloaded-artifacts + - name: Prepare artifacts + run: | + # move or prepare artifacts + find . + # - name: Publish to NPM + # run: | + # # Assuming you've set up your package.json and .npmrc correctly + # npm publish + # env: diff --git a/.github/workflows/build-dry-run.yml b/.github/workflows/build-dry-run.yml index 8a64171..9d25f85 100644 --- a/.github/workflows/build-dry-run.yml +++ b/.github/workflows/build-dry-run.yml @@ -1,41 +1,51 @@ -name: Build Dry Run +name: Build Dry Run ๐Ÿ— on: workflow_dispatch: jobs: - build: + build-matrix: runs-on: ${{ matrix.os }} strategy: matrix: os: [windows-latest, macos-latest, ubuntu-latest] steps: - - uses: actions/checkout@v2 - - name: Build project - run: | - yarn - - uses: actions/upload-artifact@v2 - with: - name: build-artifact-${{ matrix.os }} - path: | - ${{ matrix.os == 'macos-latest' && './libpg_query/osx/libpg_query.a' || - matrix.os == 'ubuntu-latest' && './libpg_query/linux/libpg_query.a' || - '' }} + - name: Checkout Repository ๐Ÿ“ฅ + uses: actions/checkout@v4 + + - name: Setup Node.js ๐ŸŒ + uses: actions/setup-node@v4 + with: + node-version: '20.x' + cache: 'yarn' + + - name: Install Dependencies ๐Ÿงถ + run: | + yarn + + - name: Save Artifacts ๐Ÿ— + uses: actions/upload-artifact@v4 + with: + name: build-artifact-${{ matrix.os }} + path: | + ${{ matrix.os == 'macos-latest' && './libpg_query/osx/libpg_query.a' || + matrix.os == 'ubuntu-latest' && './libpg_query/linux/libpg_query.a' || + matrix.os == 'windows-latest' && './libpg_query/windows/queryparser.lib' }} + prepare-and-publish: - needs: build + needs: build-matrix # Corrected the needs to reflect the actual job name runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/download-artifact@v2 - with: - path: downloaded-artifacts - - name: Prepare artifacts - run: | - # move or prepare artifacts - ls downloaded-artifacts/* + - uses: actions/checkout@v4 + - uses: actions/download-artifact@v4 + with: + path: downloaded-artifacts + - name: Prepare artifacts + run: | + # move or prepare artifacts + find . # - name: Publish to NPM # run: | # # Assuming you've set up your package.json and .npmrc correctly # npm publish # env: - # NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/.github/workflows/build-wasm-linux.yml b/.github/workflows/build-wasm-linux.yml new file mode 100644 index 0000000..25d9136 --- /dev/null +++ b/.github/workflows/build-wasm-linux.yml @@ -0,0 +1,31 @@ +name: Build Wasm Linux ๐Ÿงช + +on: + workflow_dispatch: + +jobs: + run-tests: + runs-on: ubuntu-latest + steps: + - name: Checkout Repository ๐Ÿ“ฅ + uses: actions/checkout@v4 + + - name: Setup Node.js ๐ŸŒ + uses: actions/setup-node@v4 + with: + node-version: '20.x' + cache: 'yarn' + + - name: Install Linux Deps ๐Ÿงถ + run: | + sudo apt-get update + sudo apt-get install -y make + + - name: Install Dependencies ๐Ÿงถ + run: | + yarn + + - name: Test ๐Ÿ” + run: | + yarn make:wasm + yarn make build:wasm \ No newline at end of file diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests-linux.yml similarity index 94% rename from .github/workflows/run-tests.yml rename to .github/workflows/run-tests-linux.yml index ed552c5..39193c6 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests-linux.yml @@ -1,4 +1,4 @@ -name: Run Tests ๐Ÿงช +name: Run Tests Linux ๐Ÿงช on: pull_request: diff --git a/.github/workflows/run-tests-mac.yml b/.github/workflows/run-tests-mac.yml new file mode 100644 index 0000000..3de2751 --- /dev/null +++ b/.github/workflows/run-tests-mac.yml @@ -0,0 +1,24 @@ +name: Run Tests Mac ๐Ÿงช + +on: + workflow_dispatch: + +jobs: + run-tests: + runs-on: macos-latest + steps: + - name: Checkout Repository ๐Ÿ“ฅ + uses: actions/checkout@v4 + + - name: Setup Node.js ๐ŸŒ + uses: actions/setup-node@v4 + with: + node-version: '20.x' + cache: 'yarn' + + - name: Install Dependencies ๐Ÿงถ + run: | + yarn + + - name: Test ๐Ÿ” + run: yarn test \ No newline at end of file diff --git a/.github/workflows/run-tests-win.yml b/.github/workflows/run-tests-win.yml new file mode 100644 index 0000000..0e6d273 --- /dev/null +++ b/.github/workflows/run-tests-win.yml @@ -0,0 +1,24 @@ +name: Run Tests Windows ๐Ÿงช + +on: + workflow_dispatch: + +jobs: + run-tests: + runs-on: windows-latest + steps: + - name: Checkout Repository ๐Ÿ“ฅ + uses: actions/checkout@v4 + + - name: Setup Node.js ๐ŸŒ + uses: actions/setup-node@v4 + with: + node-version: '20.x' + cache: 'yarn' + + - name: Install Dependencies ๐Ÿงถ + run: | + yarn + + - name: Test ๐Ÿ” + run: yarn test \ No newline at end of file From f07f04e52ad237eff3c00c6ad651fa9dcca5fe49 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Wed, 1 May 2024 18:26:36 -0700 Subject: [PATCH 10/35] pkg --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 793f117..f207353 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "libpg-query", - "version": "15.0.3", + "version": "15.1.0", "description": "The real PostgreSQL query parser", "homepage": "https://github.com/launchql/libpg-query-node", "main": "index.js", From f87e7294f999c5d469e0ec8ad0c088d73012b1e1 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Thu, 2 May 2024 01:51:12 -0700 Subject: [PATCH 11/35] readme --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index adf8e7a..bb6d307 100644 --- a/README.md +++ b/README.md @@ -59,8 +59,8 @@ Our latest is built with `16-latest` branch from libpg_query | PG Major Version | libpg_query | Branch | npm |--------------------------|-------------|------------------------------------------------------------------------------------------------|---------| -| 16 | 16-latest | [`16-latest`](https://github.com/launchql/libpg-query-node/tree/16-latest) | [`libpg-query@16.0.0`](https://www.npmjs.com/package/libpg-query/v/latest) -| 15 | 15-latest | [`15-latest`](https://github.com/launchql/libpg-query-node/tree/15-latest) | [`libpg-query@15.0.3`](https://www.npmjs.com/package/libpg-query/v/15.0.3) +| 16 | 16-latest | [`16-latest`](https://github.com/launchql/libpg-query-node/tree/16-latest) | [`libpg-query@16.2.0`](https://www.npmjs.com/package/libpg-query/v/latest) +| 15 | 15-latest | [`15-latest`](https://github.com/launchql/libpg-query-node/tree/15-latest) | [`libpg-query@15.1.0`](https://www.npmjs.com/package/libpg-query/v/15.1.0) | 14 | 14-latest | [`14-latest`](https://github.com/launchql/libpg-query-node/tree/14-latest) | [`libpg-query@14.0.0`](https://www.npmjs.com/package/libpg-query/v/14.0.0) | 13 | 13-latest | [`13-latest`](https://github.com/launchql/libpg-query-node/tree/13-latest) | [`libpg-query@13.3.1`](https://www.npmjs.com/package/libpg-query/v/13.3.1) | 12 | (n/a) | | From 81e9370be13b0268fa61ac0345df228ac6b5a83e Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Thu, 23 May 2024 15:36:01 +0200 Subject: [PATCH 12/35] update workflows --- README.md | 12 ++- docker-compose.yml | 7 -- docker/readme.md | 1 + package.json | 12 ++- script/workflows.js | 29 ++++++ test/webpack/yarn.lock | 52 +++++------ yarn.lock | 197 ++++++++++++++++++++++++++++++++--------- 7 files changed, 231 insertions(+), 79 deletions(-) delete mode 100644 docker-compose.yml create mode 100644 script/workflows.js diff --git a/README.md b/README.md index bb6d307..7cbf281 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,17 @@ - +
+ + + + + + + + + +

The real PostgreSQL parser, exposed for nodejs. diff --git a/docker-compose.yml b/docker-compose.yml deleted file mode 100644 index fdd4777..0000000 --- a/docker-compose.yml +++ /dev/null @@ -1,7 +0,0 @@ -version: '2' -services: - pg_query: - build: ./docker - image: pyramation/libpg_query - volumes: - - ./libpg_query:/pg_query diff --git a/docker/readme.md b/docker/readme.md index 87d5e0d..8609a4a 100644 --- a/docker/readme.md +++ b/docker/readme.md @@ -3,6 +3,7 @@ build the binary on mac ```sh +rm -rf build yarn ``` diff --git a/package.json b/package.json index f207353..1f72444 100644 --- a/package.json +++ b/package.json @@ -30,14 +30,16 @@ } }, "scripts": { + "clean": "rimraf build", "configure": "node-pre-gyp configure", - "install": "node-pre-gyp install --fallback-to-build", - "rebuild": "node-pre-gyp configure rebuild", + "install": "node-pre-gyp install --fallback-to-build --loglevel verbose", + "rebuild": "node-pre-gyp rebuild --loglevel verbose", "make:wasm": "docker run --rm -v $(pwd):/src -u $(id -u):$(id -g) emscripten/emsdk emmake make", "build:wasm": "yarn make:wasm build", "rebuild:wasm": "yarn make:wasm rebuild", "clean:wasm": "yarn make:wasm clean", "clean-cache:wasm": "yarn make:wasm clean-cache", + "workflows": "node script/workflows.js", "test": "mocha --timeout 5000", "binary:build": "node-pre-gyp rebuild package", "binary:publish": "AWS_PROFILE=supabase-dev node-pre-gyp publish" @@ -49,10 +51,12 @@ "url": "git://github.com/launchql/libpg-query-node.git" }, "devDependencies": { + "@yamlize/cli": "^0.8.0", "chai": "^3.5.0", "emnapi": "^0.43.1", "lodash": "^4.17.15", - "mocha": "^5.2.0" + "mocha": "^5.2.0", + "rimraf": "5.0.0" }, "dependencies": { "@emnapi/runtime": "^0.43.1", @@ -75,4 +79,4 @@ "host": "https://supabase-public-artifacts-bucket.s3.amazonaws.com", "remote_path": "./libpg-query-node/" } -} \ No newline at end of file +} diff --git a/script/workflows.js b/script/workflows.js new file mode 100644 index 0000000..fe34703 --- /dev/null +++ b/script/workflows.js @@ -0,0 +1,29 @@ +const { exec } = require('child_process'); +const { join } = require('path'); + +// if (typeof process.argv[2] !== 'string') { +// throw new Error('branchName not provided'); +// } + +const yamldir = (s) => join(__dirname, '/../.yamlize/', s); +const workflowDir = (s) => join(__dirname, '/../.github/workflows/', s); + +const cmd = (config, workflow) => ([ + 'yamlize', + '--config', + yamldir(`config/${config}`), + + '--inFile', + yamldir(`workflows/${workflow}`), + + '--outFile', + workflowDir(`generated-${workflow}`), +].join(' ')); + + +exec(cmd('config.yaml', 'build-and-test.yaml'), (error, _stdout, _stderr) => { + if (error) { + console.error(`Error: ${error.message}`); + return; + } +}); \ No newline at end of file diff --git a/test/webpack/yarn.lock b/test/webpack/yarn.lock index 6e0fe3f..1a53a24 100644 --- a/test/webpack/yarn.lock +++ b/test/webpack/yarn.lock @@ -458,13 +458,13 @@ binary-extensions@^2.0.0: resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-2.2.0.tgz#75f502eeaf9ffde42fc98829645be4ea76bd9e2d" integrity sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA== -body-parser@1.20.1: - version "1.20.1" - resolved "https://registry.yarnpkg.com/body-parser/-/body-parser-1.20.1.tgz#b1812a8912c195cd371a3ee5e66faa2338a5c668" - integrity sha512-jWi7abTbYwajOytWCQc37VulmWiRae5RyTpaCyDcS5/lMdtwSz5lOpDE67srw/HYe35f1z3fDQw+3txg7gNtWw== +body-parser@1.20.2: + version "1.20.2" + resolved "https://registry.yarnpkg.com/body-parser/-/body-parser-1.20.2.tgz#6feb0e21c4724d06de7ff38da36dad4f57a747fd" + integrity sha512-ml9pReCu3M61kGlqoTm2umSXTlRTuGTx0bfYj+uIUKKYycG5NtSbeetV3faSU6R7ajOPw0g/J1PvK4qNy7s5bA== dependencies: bytes "3.1.2" - content-type "~1.0.4" + content-type "~1.0.5" debug "2.6.9" depd "2.0.0" destroy "1.2.0" @@ -472,7 +472,7 @@ body-parser@1.20.1: iconv-lite "0.4.24" on-finished "2.4.1" qs "6.11.0" - raw-body "2.5.1" + raw-body "2.5.2" type-is "~1.6.18" unpipe "1.0.0" @@ -621,7 +621,7 @@ content-disposition@0.5.4: dependencies: safe-buffer "5.2.1" -content-type@~1.0.4: +content-type@~1.0.4, content-type@~1.0.5: version "1.0.5" resolved "https://registry.yarnpkg.com/content-type/-/content-type-1.0.5.tgz#8b773162656d1d1086784c8f23a54ce6d73d7918" integrity sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA== @@ -631,10 +631,10 @@ cookie-signature@1.0.6: resolved "https://registry.yarnpkg.com/cookie-signature/-/cookie-signature-1.0.6.tgz#e303a882b342cc3ee8ca513a79999734dab3ae2c" integrity sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ== -cookie@0.5.0: - version "0.5.0" - resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.5.0.tgz#d1f5d71adec6558c58f389987c366aa47e994f8b" - integrity sha512-YZ3GUyn/o8gfKJlnlX7g7xq4gyO6OSuhGPKaaGssGB2qgDUS0gPgtTvoyZLTt9Ab6dC4hfc9dV5arkvc/OCmrw== +cookie@0.6.0: + version "0.6.0" + resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.6.0.tgz#2798b04b071b0ecbff0dbb62a505a8efa4e19051" + integrity sha512-U71cyTamuh1CRNCfpGY6to28lxvNwPG4Guz/EVjgf3Jmzv0vlDp1atT9eS5dDjMYHucpHbWns6Lwf3BKz6svdw== core-util-is@~1.0.0: version "1.0.3" @@ -816,16 +816,16 @@ execa@^5.0.0: strip-final-newline "^2.0.0" express@^4.17.3: - version "4.18.2" - resolved "https://registry.yarnpkg.com/express/-/express-4.18.2.tgz#3fabe08296e930c796c19e3c516979386ba9fd59" - integrity sha512-5/PsL6iGPdfQ/lKM1UuielYgv3BUoJfz1aUwU9vHZ+J7gyvwdQXFEBIEIaxeGf0GIcreATNyBExtalisDbuMqQ== + version "4.19.2" + resolved "https://registry.yarnpkg.com/express/-/express-4.19.2.tgz#e25437827a3aa7f2a827bc8171bbbb664a356465" + integrity sha512-5T6nhjsT+EOMzuck8JjBHARTHfMht0POzlA60WV2pMD3gyXw2LZnZ+ueGdNxG+0calOJcWKbpFcuzLZ91YWq9Q== dependencies: accepts "~1.3.8" array-flatten "1.1.1" - body-parser "1.20.1" + body-parser "1.20.2" content-disposition "0.5.4" content-type "~1.0.4" - cookie "0.5.0" + cookie "0.6.0" cookie-signature "1.0.6" debug "2.6.9" depd "2.0.0" @@ -908,9 +908,9 @@ flat@^5.0.2: integrity sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ== follow-redirects@^1.0.0: - version "1.15.3" - resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.3.tgz#fe2f3ef2690afce7e82ed0b44db08165b207123a" - integrity sha512-1VzOtuEM8pC9SFU1E+8KfTjZyMztRsgEfwQl44z8A25uy13jSzTj6dyK2Df52iV0vgHCfBwLhDWevLn95w5v6Q== + version "1.15.6" + resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.6.tgz#7f815c0cda4249c74ff09e95ef97c23b5fd0399b" + integrity sha512-wWN62YITEaOpSK584EZXJafH1AGpO8RVgElfkuXbTOrPX4fIfOyEpW/CsiNd8JdYrAoOvafRTOEnvsO++qCqFA== forwarded@0.2.0: version "0.2.0" @@ -1550,10 +1550,10 @@ range-parser@^1.2.1, range-parser@~1.2.1: resolved "https://registry.yarnpkg.com/range-parser/-/range-parser-1.2.1.tgz#3cf37023d199e1c24d1a55b84800c2f3e6468031" integrity sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg== -raw-body@2.5.1: - version "2.5.1" - resolved "https://registry.yarnpkg.com/raw-body/-/raw-body-2.5.1.tgz#fe1b1628b181b700215e5fd42389f98b71392857" - integrity sha512-qqJBtEyVgS0ZmPGdCFPWJ3FreoqvG4MVQln/kCgF7Olq95IbOp0/BWyMwbdtn4VTvkM8Y7khCQ2Xgk/tcrCXig== +raw-body@2.5.2: + version "2.5.2" + resolved "https://registry.yarnpkg.com/raw-body/-/raw-body-2.5.2.tgz#99febd83b90e08975087e8f1f9419a149366b68a" + integrity sha512-8zGqypfENjCIqGhgXToC8aB2r7YrBX+AQAfIPs/Mlk+BtPTztOvTS01NRW/3Eh60J+a48lt8qsCzirQ6loCVfA== dependencies: bytes "3.1.2" http-errors "2.0.0" @@ -2010,9 +2010,9 @@ webpack-cli@^5.1.4: webpack-merge "^5.7.3" webpack-dev-middleware@^5.3.1: - version "5.3.3" - resolved "https://registry.yarnpkg.com/webpack-dev-middleware/-/webpack-dev-middleware-5.3.3.tgz#efae67c2793908e7311f1d9b06f2a08dcc97e51f" - integrity sha512-hj5CYrY0bZLB+eTO+x/j67Pkrquiy7kWepMHmUMoPsmcUaeEnQJqFzHJOyxgWlq746/wUuA64p9ta34Kyb01pA== + version "5.3.4" + resolved "https://registry.yarnpkg.com/webpack-dev-middleware/-/webpack-dev-middleware-5.3.4.tgz#eb7b39281cbce10e104eb2b8bf2b63fce49a3517" + integrity sha512-BVdTqhhs+0IfoeAf7EoH5WE+exCmqGerHfDM0IL096Px60Tq2Mn9MAbnaGUe6HiMa41KMCYF19gyzZmBcq/o4Q== dependencies: colorette "^2.0.10" memfs "^3.4.3" diff --git a/yarn.lock b/yarn.lock index 80cc0f7..2606429 100644 --- a/yarn.lock +++ b/yarn.lock @@ -37,15 +37,15 @@ tar "^6.1.11" "@npmcli/agent@^2.0.0": - version "2.2.2" - resolved "https://registry.yarnpkg.com/@npmcli/agent/-/agent-2.2.2.tgz#967604918e62f620a648c7975461c9c9e74fc5d5" - integrity sha512-OrcNPXdpSl9UX7qPVRWbmWMCSXrcDa2M9DvrbOTj7ao1S4PlqVFYv9/yLKMkrJKZ/V5A/kDBC690or307i26Og== + version "2.2.1" + resolved "https://registry.yarnpkg.com/@npmcli/agent/-/agent-2.2.1.tgz#8aa677d0a4136d57524336a35d5679aedf2d56f7" + integrity sha512-H4FrOVtNyWC8MUwL3UfjOsAihHvT1Pe8POj3JvjXhSTJipsZMtgUALCT4mGyYZNxymkUfOw3PUj6dE4QPp6osQ== dependencies: agent-base "^7.1.0" http-proxy-agent "^7.0.0" https-proxy-agent "^7.0.1" lru-cache "^10.0.1" - socks-proxy-agent "^8.0.3" + socks-proxy-agent "^8.0.1" "@npmcli/fs@^3.1.0": version "3.1.0" @@ -59,6 +59,17 @@ resolved "https://registry.yarnpkg.com/@pkgjs/parseargs/-/parseargs-0.11.0.tgz#a77ea742fab25775145434eb1d2328cf5013ac33" integrity sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg== +"@yamlize/cli@^0.8.0": + version "0.8.0" + resolved "https://registry.yarnpkg.com/@yamlize/cli/-/cli-0.8.0.tgz#c86673a6ee59a36f6a5621a073cb688b5db00d77" + integrity sha512-OuhQ/gYLCuMjENdLMF8UXgM32p7blBB0FxwS4R2Mw4jk/9uvv87uCz2ptq9VB7GjNTNbnRTQKw+bAbwCXyngCA== + dependencies: + chalk "4.1.0" + inquirerer "^1.9.0" + js-yaml "^4.1.0" + minimist "1.2.8" + yamlize "^0.8.0" + abbrev@1: version "1.1.1" resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-1.1.1.tgz#f8f2c887ad10bf67f634f005b6987fed3179aac8" @@ -76,10 +87,10 @@ agent-base@6: dependencies: debug "4" -agent-base@^7.0.2, agent-base@^7.1.0, agent-base@^7.1.1: - version "7.1.1" - resolved "https://registry.yarnpkg.com/agent-base/-/agent-base-7.1.1.tgz#bdbded7dfb096b751a2a087eeeb9664725b2e317" - integrity sha512-H0TSyFNDMomMNJQBn8wFV5YC/2eJ+VXECwOadZJT554xP6cODZHPX3H9QMQECxvrgiSOP1pHjy1sMWQVYJOUOA== +agent-base@^7.0.2, agent-base@^7.1.0: + version "7.1.0" + resolved "https://registry.yarnpkg.com/agent-base/-/agent-base-7.1.0.tgz#536802b76bc0b34aa50195eb2442276d613e3434" + integrity sha512-o/zjMZRhJxny7OyEF+Op8X+efiELC7k7yOjMzgfzVqOzXqkBkWI79YoTdOtsuWd5BWhAGAuOY/Xa6xpiaWXiNg== dependencies: debug "^4.3.4" @@ -101,7 +112,7 @@ ansi-regex@^6.0.1: resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-6.0.1.tgz#3183e38fae9a65d7cb5e53945cd5897d0260a06a" integrity sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA== -ansi-styles@^4.0.0: +ansi-styles@^4.0.0, ansi-styles@^4.1.0: version "4.3.0" resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-4.3.0.tgz#edd803628ae71c04c85ae7a0906edad34b648937" integrity sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg== @@ -126,6 +137,11 @@ are-we-there-yet@^2.0.0: delegates "^1.0.0" readable-stream "^3.6.0" +argparse@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/argparse/-/argparse-2.0.1.tgz#246f50f3ca78a3240f6c997e8a9bd1eac49e4b38" + integrity sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q== + assertion-error@^1.0.1: version "1.1.0" resolved "https://registry.yarnpkg.com/assertion-error/-/assertion-error-1.1.0.tgz#e60b6b0e8f301bd97e5375215bda406c85118c0b" @@ -183,6 +199,22 @@ chai@^3.5.0: deep-eql "^0.1.3" type-detect "^1.0.0" +chalk@4.1.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/chalk/-/chalk-4.1.0.tgz#4e14870a618d9e2edd97dd8345fd9d9dc315646a" + integrity sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A== + dependencies: + ansi-styles "^4.1.0" + supports-color "^7.1.0" + +chalk@^4.1.0: + version "4.1.2" + resolved "https://registry.yarnpkg.com/chalk/-/chalk-4.1.2.tgz#aac4e2b7734a740867aeb16bf02aad556a1e7a01" + integrity sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA== + dependencies: + ansi-styles "^4.1.0" + supports-color "^7.1.0" + chownr@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/chownr/-/chownr-2.0.0.tgz#15bfbe53d2eab4cf70f18a8cd68ebe5b3cb1dece" @@ -255,15 +287,20 @@ deep-eql@^0.1.3: dependencies: type-detect "0.1.1" +deepmerge@^4.3.1: + version "4.3.1" + resolved "https://registry.yarnpkg.com/deepmerge/-/deepmerge-4.3.1.tgz#44b5f2147cd3b00d4b56137685966f26fd25dd4a" + integrity sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A== + delegates@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/delegates/-/delegates-1.0.0.tgz#84c6e159b81904fdca59a0ef44cd870d31250f9a" integrity sha512-bd2L678uiWATM6m5Z1VzNCErI3jiGzt6HGY8OVICs40JQq/HALfbyNJmp0UDakEY4pMMaN0Ly5om/B1VI/+xfQ== detect-libc@^2.0.0: - version "2.0.3" - resolved "https://registry.yarnpkg.com/detect-libc/-/detect-libc-2.0.3.tgz#f0cd503b40f9939b894697d19ad50895e30cf700" - integrity sha512-bwy0MGW55bG41VqxxypOsdSdGqLwXPI/focwgTYCFMbdUiBAxLg9CFzG08sz2aqzknwiX7Hkl0bQENjg8iLByw== + version "2.0.2" + resolved "https://registry.yarnpkg.com/detect-libc/-/detect-libc-2.0.2.tgz#8ccf2ba9315350e1241b88d0ac3b0e1fbd99605d" + integrity sha512-UX6sGumvvqSaXgdKGUsgZWqcUyIXZ/vZTrlRT/iobiKhGL0zL4d3osHj3uqllWJK+i+sixDS/3COVEOFbupFyw== diff@3.5.0: version "3.5.0" @@ -371,7 +408,7 @@ glob@7.1.2: once "^1.3.0" path-is-absolute "^1.0.0" -glob@^10.2.2, glob@^10.3.10: +glob@^10.0.0: version "10.3.12" resolved "https://registry.yarnpkg.com/glob/-/glob-10.3.12.tgz#3a65c363c2e9998d220338e88a5f6ac97302960b" integrity sha512-TCNv8vJ+xz4QiqTpfOJA7HvYv+tNIRHKfUWw/q+v2jdgN4ebz+KY9tGx5J4rHP0o84mNP+ApH66HRX8us3Khqg== @@ -382,6 +419,17 @@ glob@^10.2.2, glob@^10.3.10: minipass "^7.0.4" path-scurry "^1.10.2" +glob@^10.2.2, glob@^10.3.10: + version "10.3.10" + resolved "https://registry.yarnpkg.com/glob/-/glob-10.3.10.tgz#0351ebb809fd187fe421ab96af83d3a70715df4b" + integrity sha512-fa46+tv1Ak0UPK1TOy/pZrIybNNt4HCv7SDzwyfiOZkvZLEbjsZkJBPtDHVshZjbecAoAGSC20MjLDG/qr679g== + dependencies: + foreground-child "^3.1.0" + jackspeak "^2.3.5" + minimatch "^9.0.1" + minipass "^5.0.0 || ^6.0.2 || ^7.0.0" + path-scurry "^1.10.1" + glob@^7.1.3: version "7.2.3" resolved "https://registry.yarnpkg.com/glob/-/glob-7.2.3.tgz#b8df0fb802bbfa8e89bd1d938b4e16578ed44f2b" @@ -409,6 +457,11 @@ has-flag@^3.0.0: resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-3.0.0.tgz#b5d454dc2199ae225699f3467e5a07f3b955bafd" integrity sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw== +has-flag@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-4.0.0.tgz#944771fd9c81c81265c4d6941860da06bb59479b" + integrity sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ== + has-unicode@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/has-unicode/-/has-unicode-2.0.1.tgz#e0e6fe6a28cf51138855e086d1691e771de2a8b9" @@ -478,6 +531,16 @@ inherits@2, inherits@^2.0.3: resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c" integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== +inquirerer@^1.9.0: + version "1.9.0" + resolved "https://registry.yarnpkg.com/inquirerer/-/inquirerer-1.9.0.tgz#108071773a28ea5b950271572ac3051f34e0c92e" + integrity sha512-/LAn/F70YvRQZWz9r1q1seoO2oRMiSCSK8xKHGlkNebSibx5FppUKZLEjXgkCy1tgccas933q/Y7qNccFxrYkw== + dependencies: + chalk "^4.1.0" + deepmerge "^4.3.1" + js-yaml "^4.1.0" + minimist "^1.2.8" + ip-address@^9.0.5: version "9.0.5" resolved "https://registry.yarnpkg.com/ip-address/-/ip-address-9.0.5.tgz#117a960819b08780c3bd1f14ef3c1cc1d3f3ea5a" @@ -506,7 +569,7 @@ isexe@^3.1.1: resolved "https://registry.yarnpkg.com/isexe/-/isexe-3.1.1.tgz#4a407e2bd78ddfb14bea0c27c6f7072dde775f0d" integrity sha512-LpB/54B+/2J5hqQ7imZHfdU31OlgQqx7ZicVlkm9kzg9/w8GKLEcFfJl/t7DCEDueOyBAD6zCCwTO6Fzs0NoEQ== -jackspeak@^2.3.6: +jackspeak@^2.3.5, jackspeak@^2.3.6: version "2.3.6" resolved "https://registry.yarnpkg.com/jackspeak/-/jackspeak-2.3.6.tgz#647ecc472238aee4b06ac0e461acc21a8c505ca8" integrity sha512-N3yCS/NegsOBokc8GAdM8UcmfsKiSS8cipheD/nivzr700H+nsMOxJjQnvwOcRYVuFkdH0wGUvW2WbXGmrZGbQ== @@ -515,6 +578,13 @@ jackspeak@^2.3.6: optionalDependencies: "@pkgjs/parseargs" "^0.11.0" +js-yaml@^4.1.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-4.1.0.tgz#c1fb65f8f5017901cdd2c951864ba18458a10602" + integrity sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA== + dependencies: + argparse "^2.0.1" + jsbn@1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/jsbn/-/jsbn-1.1.0.tgz#b01307cb29b618a1ed26ec79e911f803c4da0040" @@ -525,7 +595,12 @@ lodash@^4.17.15: resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c" integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg== -lru-cache@^10.0.1, lru-cache@^10.2.0: +lru-cache@^10.0.1, "lru-cache@^9.1.1 || ^10.0.0": + version "10.2.0" + resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-10.2.0.tgz#0bd445ca57363465900f4d1f9bd8db343a4d95c3" + integrity sha512-2bIM8x+VAf6JT4bKAljS1qUWgMsqZRPGJS6FSahIMPVvctcNhyVp7AJu7quxOW9jwkryBReKZY5tY5JYv2n/7Q== + +lru-cache@^10.2.0: version "10.2.2" resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-10.2.2.tgz#48206bc114c1252940c41b25b41af5b545aca878" integrity sha512-9hp3Vp2/hFQUiIwKo8XCeFVnrg8Pk3TYNPIR7tJADKi5YfcF7vEaK7avFHTlSy3kOKYaJQaalfEo6YuXdceBOQ== @@ -545,9 +620,9 @@ make-dir@^3.1.0: semver "^6.0.0" make-fetch-happen@^13.0.0: - version "13.0.1" - resolved "https://registry.yarnpkg.com/make-fetch-happen/-/make-fetch-happen-13.0.1.tgz#273ba2f78f45e1f3a6dca91cede87d9fa4821e36" - integrity sha512-cKTUFc/rbKUd/9meOvgrpJ2WrNzymt6jfRDdwg5UCnVzv9dTpEj9JS5m3wtziXVCjluIXyL8pcaukYqezIzZQA== + version "13.0.0" + resolved "https://registry.yarnpkg.com/make-fetch-happen/-/make-fetch-happen-13.0.0.tgz#705d6f6cbd7faecb8eac2432f551e49475bfedf0" + integrity sha512-7ThobcL8brtGo9CavByQrQi+23aIfgYU++wg4B87AIS8Rb2ZBt/MEaDqzA00Xwv/jUjAjYkLHjVolYuTLKda2A== dependencies: "@npmcli/agent" "^2.0.0" cacache "^18.0.0" @@ -558,7 +633,6 @@ make-fetch-happen@^13.0.0: minipass-flush "^1.0.5" minipass-pipeline "^1.2.4" negotiator "^0.6.3" - proc-log "^4.2.0" promise-retry "^2.0.1" ssri "^10.0.0" @@ -577,9 +651,9 @@ minimatch@^3.0.4, minimatch@^3.1.1: brace-expansion "^1.1.7" minimatch@^9.0.1: - version "9.0.4" - resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-9.0.4.tgz#8e49c731d1749cbec05050ee5145147b32496a51" - integrity sha512-KqWh+VchfxcMNRAJjj2tnsSJdNbHsVgnkBhTNrW7AjVo6OvLtxw8zfT9oLw1JSohlFzJ8jCoTgaoXvJ+kHt6fw== + version "9.0.3" + resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-9.0.3.tgz#a6e00c3de44c3a542bfaae70abfc22420a6da825" + integrity sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg== dependencies: brace-expansion "^2.0.1" @@ -588,6 +662,11 @@ minimist@0.0.8: resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.8.tgz#857fcabfc3397d2625b8228262e86aa7a011b05d" integrity sha512-miQKw5Hv4NS1Psg2517mV4e4dYNaO3++hjAvLOAzKqZ61rH8NS1SK+vbfBWZ5PY/Me/bEWhUwqMghEW5Fb9T7Q== +minimist@1.2.8, minimist@^1.2.8: + version "1.2.8" + resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.8.tgz#c1a464e7693302e082a075cee0c057741ac4772c" + integrity sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA== + minipass-collect@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/minipass-collect/-/minipass-collect-2.0.1.tgz#1621bc77e12258a12c60d34e2276ec5c20680863" @@ -659,6 +738,11 @@ mkdirp@0.5.1: dependencies: minimist "0.0.8" +mkdirp@3.0.1: + version "3.0.1" + resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-3.0.1.tgz#e44e4c5607fb279c168241713cc6e0fea9adcb50" + integrity sha512-+NsyUUAZDmo6YVHzL/stxSu3t9YS1iljliy3BSDrXJ/dkn1KYdmtZODGGjLcc9XLgVVpH4KshHB8XmZgMhaBXg== + mkdirp@^1.0.3: version "1.0.4" resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-1.0.4.tgz#3eb5ed62622756d79a5f0e2a221dfebad75c2f7e" @@ -696,10 +780,15 @@ negotiator@^0.6.3: resolved "https://registry.yarnpkg.com/negotiator/-/negotiator-0.6.3.tgz#58e323a72fedc0d6f9cd4d31fe49f51479590ccd" integrity sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg== +nested-obj@^0.0.1: + version "0.0.1" + resolved "https://registry.yarnpkg.com/nested-obj/-/nested-obj-0.0.1.tgz#efe1da127c3d00826fa10ec25673e0f9ec1224fd" + integrity sha512-kB1WKTng+IePQhZVs1UXtFaHBx4QEM5a0XKGAzYfCKvdx5DhNjCytNDWMUGpNNpHLotln+tiwcA52kWCIgGq1Q== + node-addon-api@^7.0.0: - version "7.1.0" - resolved "https://registry.yarnpkg.com/node-addon-api/-/node-addon-api-7.1.0.tgz#71f609369379c08e251c558527a107107b5e0fdb" - integrity sha512-mNcltoe1R8o7STTegSOHdnJNN7s5EUvhoS7ShnTHDyOSd+8H+UdWODq6qSv67PjC8Zc5JRT8+oLAMCr0SIXw7g== + version "7.0.0" + resolved "https://registry.yarnpkg.com/node-addon-api/-/node-addon-api-7.0.0.tgz#8136add2f510997b3b94814f4af1cce0b0e3962e" + integrity sha512-vgbBJTS4m5/KkE16t5Ly0WW9hz46swAstv0hYYwMtbG7AznRhNyfLRe8HZAiWIpcHzoO7HxhLuBQj9rJ/Ho0ZA== node-fetch@^2.6.7: version "2.7.0" @@ -709,9 +798,9 @@ node-fetch@^2.6.7: whatwg-url "^5.0.0" node-gyp@^10.0.1: - version "10.1.0" - resolved "https://registry.yarnpkg.com/node-gyp/-/node-gyp-10.1.0.tgz#75e6f223f2acb4026866c26a2ead6aab75a8ca7e" - integrity sha512-B4J5M1cABxPc5PwfjhbV5hoy2DP9p8lFXASnEN6hugXOa61416tnTZ29x9sSwAd0o99XNIcpvDDy1swAExsVKA== + version "10.0.1" + resolved "https://registry.yarnpkg.com/node-gyp/-/node-gyp-10.0.1.tgz#205514fc19e5830fa991e4a689f9e81af377a966" + integrity sha512-gg3/bHehQfZivQVfqIyy8wTdSymF9yTyP4CJifK73imyNMU8AIGQE2pUa7dNWfmMeG9cDVF2eehiRMv0LC1iAg== dependencies: env-paths "^2.2.0" exponential-backoff "^3.1.1" @@ -777,6 +866,14 @@ path-key@^3.1.0: resolved "https://registry.yarnpkg.com/path-key/-/path-key-3.1.1.tgz#581f6ade658cbba65a0d3380de7753295054f375" integrity sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q== +path-scurry@^1.10.1: + version "1.10.1" + resolved "https://registry.yarnpkg.com/path-scurry/-/path-scurry-1.10.1.tgz#9ba6bf5aa8500fe9fd67df4f0d9483b2b0bfc698" + integrity sha512-MkhCqzzBEpPvxxQ71Md0b1Kk51W01lrYvlMzSUaIzNsODdd7mqhiimSZlr+VegAz5Z6Vzt9Xg2ttE//XBhH3EQ== + dependencies: + lru-cache "^9.1.1 || ^10.0.0" + minipass "^5.0.0 || ^6.0.2 || ^7.0.0" + path-scurry@^1.10.2: version "1.10.2" resolved "https://registry.yarnpkg.com/path-scurry/-/path-scurry-1.10.2.tgz#8f6357eb1239d5fa1da8b9f70e9c080675458ba7" @@ -790,11 +887,6 @@ proc-log@^3.0.0: resolved "https://registry.yarnpkg.com/proc-log/-/proc-log-3.0.0.tgz#fb05ef83ccd64fd7b20bbe9c8c1070fc08338dd8" integrity sha512-++Vn7NS4Xf9NacaU9Xq3URUuqZETPsf8L4j5/ckhaRYsfPeRyzGw+iDjFhV/Jr3uNmTvvddEJFWh5R1gRgUH8A== -proc-log@^4.2.0: - version "4.2.0" - resolved "https://registry.yarnpkg.com/proc-log/-/proc-log-4.2.0.tgz#b6f461e4026e75fdfe228b265e9f7a00779d7034" - integrity sha512-g8+OnU/L2v+wyiVK+D5fA34J7EH8jZ8DDlvwhRCMxmMj7UCBvxiO1mGeN+36JXIKF4zevU4kRBd8lVgG9vLelA== - promise-retry@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/promise-retry/-/promise-retry-2.0.1.tgz#ff747a13620ab57ba688f5fc67855410c370da22" @@ -817,6 +909,13 @@ retry@^0.12.0: resolved "https://registry.yarnpkg.com/retry/-/retry-0.12.0.tgz#1b42a6266a21f07421d1b0b54b7dc167b01c013b" integrity sha512-9LkiTwjUh6rT555DtE9rTX+BKByPfrMzEAtnlEtdEwr3Nkffwiihqe2bWADg+OQRjt9gl6ICdmB/ZFDCGAtSow== +rimraf@5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-5.0.0.tgz#5bda14e410d7e4dd522154891395802ce032c2cb" + integrity sha512-Jf9llaP+RvaEVS5nPShYFhtXIrb3LRKP281ib3So0KkeZKo2wIKyq0Re7TOSwanasA423PSr6CCIL4bP6T040g== + dependencies: + glob "^10.0.0" + rimraf@^3.0.2: version "3.0.2" resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-3.0.2.tgz#f1a5402ba6220ad52cc1282bac1ae3aa49fd061a" @@ -878,19 +977,19 @@ smart-buffer@^4.2.0: resolved "https://registry.yarnpkg.com/smart-buffer/-/smart-buffer-4.2.0.tgz#6e1d71fa4f18c05f7d0ff216dd16a481d0e8d9ae" integrity sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg== -socks-proxy-agent@^8.0.3: - version "8.0.3" - resolved "https://registry.yarnpkg.com/socks-proxy-agent/-/socks-proxy-agent-8.0.3.tgz#6b2da3d77364fde6292e810b496cb70440b9b89d" - integrity sha512-VNegTZKhuGq5vSD6XNKlbqWhyt/40CgoEw8XxD6dhnm8Jq9IEa3nIa4HwnM8XOqU0CdB0BwWVXusqiFXfHB3+A== +socks-proxy-agent@^8.0.1: + version "8.0.2" + resolved "https://registry.yarnpkg.com/socks-proxy-agent/-/socks-proxy-agent-8.0.2.tgz#5acbd7be7baf18c46a3f293a840109a430a640ad" + integrity sha512-8zuqoLv1aP/66PHF5TqwJ7Czm3Yv32urJQHrVyhD7mmA6d61Zv8cIXQYPTWwmg6qlupnPvs/QKDmfa4P/qct2g== dependencies: - agent-base "^7.1.1" + agent-base "^7.0.2" debug "^4.3.4" socks "^2.7.1" socks@^2.7.1: - version "2.8.3" - resolved "https://registry.yarnpkg.com/socks/-/socks-2.8.3.tgz#1ebd0f09c52ba95a09750afe3f3f9f724a800cb5" - integrity sha512-l5x7VUUWbjVFbafGLxPWkYsHIhEvmF85tbIeFZWc8ZPtoMyybuEhL7Jye/ooC4/d48FgOjSJXgsF/AJPYCW8Zw== + version "2.7.3" + resolved "https://registry.yarnpkg.com/socks/-/socks-2.7.3.tgz#7d8a75d7ce845c0a96f710917174dba0d543a785" + integrity sha512-vfuYK48HXCTFD03G/1/zkIls3Ebr2YNa4qU9gHDZdblHLiqhJrJGkY3+0Nx0JpN9qBhJbVObc1CNciT1bIZJxw== dependencies: ip-address "^9.0.5" smart-buffer "^4.2.0" @@ -953,6 +1052,13 @@ supports-color@5.4.0: dependencies: has-flag "^3.0.0" +supports-color@^7.1.0: + version "7.2.0" + resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-7.2.0.tgz#1b7dcdcb32b8138801b3e478ba6a51caa89648da" + integrity sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw== + dependencies: + has-flag "^4.0.0" + tar@^6.1.11, tar@^6.1.2: version "6.2.1" resolved "https://registry.yarnpkg.com/tar/-/tar-6.2.1.tgz#717549c541bc3c2af15751bea94b1dd068d4b03a" @@ -1065,3 +1171,12 @@ yallist@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72" integrity sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A== + +yamlize@^0.8.0: + version "0.8.0" + resolved "https://registry.yarnpkg.com/yamlize/-/yamlize-0.8.0.tgz#5d263fff74329b7435ff163eeee8e137298a7f5e" + integrity sha512-2sXxXTr4gZuIP1TmVmm9yJc/WirEKsqctk/gk4MzPGuochfSAY4+OxKXXqFj02HejQmEgAFRun7b0Ec6YjlE7A== + dependencies: + js-yaml "^4.1.0" + mkdirp "3.0.1" + nested-obj "^0.0.1" From 77e6b12d8ab7ee6a59f4450bb615baf3161beeb8 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Thu, 23 May 2024 15:40:17 +0200 Subject: [PATCH 13/35] workflows --- .github/workflows/build-dry-run.yml | 26 ++-- ...o-win.yml => build-supabase-artifacts.yml} | 32 ++-- .github/workflows/build-wasm-linux.yml | 31 ---- .github/workflows/build-wasm.yml | 43 +++++ .github/workflows/build.yml | 147 ++++++++++++++++++ .../workflows/generated-build-and-test.yaml | 97 ++++++++++++ .github/workflows/run-tests-linux.yml | 2 +- .github/workflows/run-tests-mac.yml | 4 +- .github/workflows/run-tests-win.yml | 10 +- .yamlize/config/config.yaml | 5 + .yamlize/workflows/build-and-publish.yaml | 16 ++ .yamlize/workflows/build-and-test.yaml | 16 ++ .../workflows/yaml/artifacts/download.yaml | 4 + .yamlize/workflows/yaml/artifacts/npm.yaml | 8 + .../workflows/yaml/artifacts/prepare.yaml | 9 ++ .../workflows/yaml/artifacts/supabase.yaml | 5 + .yamlize/workflows/yaml/build-artifacts.yaml | 16 ++ .yamlize/workflows/yaml/build-wasm.yaml | 19 +++ .yamlize/workflows/yaml/emscripten/build.yaml | 5 + .../workflows/yaml/emscripten/install.yaml | 9 ++ .yamlize/workflows/yaml/git/checkout.yaml | 2 + .yamlize/workflows/yaml/git/configure.yaml | 4 + .yamlize/workflows/yaml/node/setup.yaml | 5 + .yamlize/workflows/yaml/prepare-and-log.yaml | 12 ++ .../workflows/yaml/prepare-and-publish.yaml | 13 ++ 25 files changed, 479 insertions(+), 61 deletions(-) rename .github/workflows/{build-dry-run-no-win.yml => build-supabase-artifacts.yml} (52%) delete mode 100644 .github/workflows/build-wasm-linux.yml create mode 100644 .github/workflows/build-wasm.yml create mode 100644 .github/workflows/build.yml create mode 100644 .github/workflows/generated-build-and-test.yaml create mode 100644 .yamlize/config/config.yaml create mode 100644 .yamlize/workflows/build-and-publish.yaml create mode 100644 .yamlize/workflows/build-and-test.yaml create mode 100644 .yamlize/workflows/yaml/artifacts/download.yaml create mode 100644 .yamlize/workflows/yaml/artifacts/npm.yaml create mode 100644 .yamlize/workflows/yaml/artifacts/prepare.yaml create mode 100644 .yamlize/workflows/yaml/artifacts/supabase.yaml create mode 100644 .yamlize/workflows/yaml/build-artifacts.yaml create mode 100644 .yamlize/workflows/yaml/build-wasm.yaml create mode 100644 .yamlize/workflows/yaml/emscripten/build.yaml create mode 100644 .yamlize/workflows/yaml/emscripten/install.yaml create mode 100644 .yamlize/workflows/yaml/git/checkout.yaml create mode 100644 .yamlize/workflows/yaml/git/configure.yaml create mode 100644 .yamlize/workflows/yaml/node/setup.yaml create mode 100644 .yamlize/workflows/yaml/prepare-and-log.yaml create mode 100644 .yamlize/workflows/yaml/prepare-and-publish.yaml diff --git a/.github/workflows/build-dry-run.yml b/.github/workflows/build-dry-run.yml index 9d25f85..5ff66b8 100644 --- a/.github/workflows/build-dry-run.yml +++ b/.github/workflows/build-dry-run.yml @@ -23,28 +23,36 @@ jobs: run: | yarn - - name: Save Artifacts ๐Ÿ— + - name: Save Artifacts For NPM ๐Ÿ— uses: actions/upload-artifact@v4 with: name: build-artifact-${{ matrix.os }} path: | ${{ matrix.os == 'macos-latest' && './libpg_query/osx/libpg_query.a' || matrix.os == 'ubuntu-latest' && './libpg_query/linux/libpg_query.a' || - matrix.os == 'windows-latest' && './libpg_query/windows/queryparser.lib' }} + matrix.os == 'windows-latest' && './libpg_query/windows/pg_query.lib' }} prepare-and-publish: - needs: build-matrix # Corrected the needs to reflect the actual job name + needs: build-matrix runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - uses: actions/download-artifact@v4 + - name: Checkout Repository ๐Ÿ“ฅ + uses: actions/checkout@v4 + + - name: Get Artifacts ๐Ÿ“š + uses: actions/download-artifact@v4 with: path: downloaded-artifacts - - name: Prepare artifacts + + - name: Prepare artifacts ๐Ÿ“ฆ run: | - # move or prepare artifacts - find . - # - name: Publish to NPM + cp ./downloaded-artifacts/build-artifact-windows-latest/pg_query.lib ./libpg_query/windows/queryparser.lib + cp ./downloaded-artifacts/build-artifact-ubuntu-latest/libpg_query.a ./libpg_query/linux/libpg_query.a + cp ./downloaded-artifacts/build-artifact-macos-latest/libpg_query.a ./libpg_query/osx/libpg_query.a + rm -rf ./downloaded-artifacts + find ./libpg_query + + # - name: Publish to NPM ๐Ÿš€ # run: | # # Assuming you've set up your package.json and .npmrc correctly # npm publish diff --git a/.github/workflows/build-dry-run-no-win.yml b/.github/workflows/build-supabase-artifacts.yml similarity index 52% rename from .github/workflows/build-dry-run-no-win.yml rename to .github/workflows/build-supabase-artifacts.yml index a02cf90..402597a 100644 --- a/.github/workflows/build-dry-run-no-win.yml +++ b/.github/workflows/build-supabase-artifacts.yml @@ -1,4 +1,4 @@ -name: Build Dry Run No Windows ๐Ÿ— +name: Build Supabase Artifacts ๐Ÿ— on: workflow_dispatch: @@ -8,7 +8,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [macos-latest, ubuntu-latest] + os: [windows-latest, macos-latest, ubuntu-latest] steps: - name: Checkout Repository ๐Ÿ“ฅ uses: actions/checkout@v4 @@ -22,29 +22,31 @@ jobs: - name: Install Dependencies ๐Ÿงถ run: | yarn + yarn binary:build - - name: Save Artifacts ๐Ÿ— + - name: Save Artifacts For Supabase CDN ๐Ÿ— uses: actions/upload-artifact@v4 with: - name: build-artifact-${{ matrix.os }} - path: | - ${{ matrix.os == 'macos-latest' && './libpg_query/osx/libpg_query.a' || - matrix.os == 'ubuntu-latest' && './libpg_query/linux/libpg_query.a' - }} + name: build-supabase-artifact-${{ matrix.os }} + path: './build/stage/libpg-query-node/' prepare-and-publish: - needs: build-matrix # Corrected the needs to reflect the actual job name + needs: build-matrix runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - uses: actions/download-artifact@v4 + - name: Checkout Repository ๐Ÿ“ฅ + uses: actions/checkout@v4 + + - name: Get Artifacts ๐Ÿ“– + uses: actions/download-artifact@v4 with: path: downloaded-artifacts - - name: Prepare artifacts + + - name: Prepare artifacts ๐Ÿ“ฆ run: | - # move or prepare artifacts - find . - # - name: Publish to NPM + find ./downloaded-artifacts + + # - name: Publish to NPM ๐Ÿš€ # run: | # # Assuming you've set up your package.json and .npmrc correctly # npm publish diff --git a/.github/workflows/build-wasm-linux.yml b/.github/workflows/build-wasm-linux.yml deleted file mode 100644 index 25d9136..0000000 --- a/.github/workflows/build-wasm-linux.yml +++ /dev/null @@ -1,31 +0,0 @@ -name: Build Wasm Linux ๐Ÿงช - -on: - workflow_dispatch: - -jobs: - run-tests: - runs-on: ubuntu-latest - steps: - - name: Checkout Repository ๐Ÿ“ฅ - uses: actions/checkout@v4 - - - name: Setup Node.js ๐ŸŒ - uses: actions/setup-node@v4 - with: - node-version: '20.x' - cache: 'yarn' - - - name: Install Linux Deps ๐Ÿงถ - run: | - sudo apt-get update - sudo apt-get install -y make - - - name: Install Dependencies ๐Ÿงถ - run: | - yarn - - - name: Test ๐Ÿ” - run: | - yarn make:wasm - yarn make build:wasm \ No newline at end of file diff --git a/.github/workflows/build-wasm.yml b/.github/workflows/build-wasm.yml new file mode 100644 index 0000000..af8711a --- /dev/null +++ b/.github/workflows/build-wasm.yml @@ -0,0 +1,43 @@ +name: Build Wasm ๐Ÿ›  + +on: + workflow_dispatch: + +jobs: + build-wasm: + runs-on: ubuntu-latest + steps: + - name: Checkout Repository ๐Ÿ“ฅ + uses: actions/checkout@v4 + + - name: Setup Node.js ๐ŸŒ + uses: actions/setup-node@v4 + with: + node-version: '20.x' + cache: 'yarn' + + - name: Install and Build ๐Ÿš€ + run: | + yarn + + - name: Install Emscripten โœ๐Ÿป + run: | + sudo apt-get update + sudo apt-get install cmake python3 python3-pip + git clone --branch 3.1.59 --depth 1 https://github.com/emscripten-core/emsdk.git + cd emsdk + ./emsdk install 3.1.59 + ./emsdk activate 3.1.59 + source ./emsdk_env.sh + + - name: Build with Emscripten ๐Ÿ— + run: | + source ./emsdk/emsdk_env.sh + emmake make + emmake make build + + - name: Archive production artifacts ๐Ÿ› + uses: actions/upload-artifact@v4 + with: + name: compiled-files + path: wasm \ No newline at end of file diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..8db3901 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,147 @@ +name: Build and Publish libpq-query ๐Ÿ— + +on: + workflow_dispatch: + +jobs: + make-release-candidate: + permissions: + contents: write + steps: + - name: Checkout Repository ๐Ÿ“ฅ + uses: actions/checkout@v4 + + - name: Setup Node.js ๐ŸŒ + uses: actions/setup-node@v4 + with: + node-version: '20.x' + cache: 'yarn' + + - name: Configure Git ๐Ÿ›  + run: | + git config user.name "LaunchQL" + git config user.email "developers@launchql.com" + + - name: Minor release candidate ๐Ÿงช + run: | + git fetch + npm version prerelease --preid=rc + git push + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + build-artifacts: + needs: make-release-candidate + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [windows-latest, macos-latest, ubuntu-latest] + steps: + - name: Checkout Repository ๐Ÿ“ฅ + uses: actions/checkout@v4 + + - name: Setup Node.js ๐ŸŒ + uses: actions/setup-node@v4 + with: + node-version: '20.x' + cache: 'yarn' + + - name: Install and Build ๐Ÿ“ฆ + run: | + yarn + yarn binary:build + + - name: Save Artifacts For Supabase CDN ๐Ÿ— + uses: actions/upload-artifact@v4 + with: + name: build-supabase-artifact-${{ matrix.os }} + path: './build/stage/libpg-query-node/' + + - name: Save Artifacts For NPM ๐Ÿ— + uses: actions/upload-artifact@v4 + with: + name: build-npm-artifact-${{ matrix.os }} + path: | + ${{ matrix.os == 'macos-latest' && './libpg_query/osx/libpg_query.a' || + matrix.os == 'ubuntu-latest' && './libpg_query/linux/libpg_query.a' || + matrix.os == 'windows-latest' && './libpg_query/windows/pg_query.lib' }} + + build-wasm: + needs: build-artifacts + runs-on: ubuntu-latest + steps: + - name: Checkout Repository ๐Ÿ“ฅ + uses: actions/checkout@v4 + + - name: Setup Node.js ๐ŸŒ + uses: actions/setup-node@v4 + with: + node-version: '20.x' + cache: 'yarn' + + - name: Install and Build ๐Ÿš€ + run: | + yarn + + - name: Install Emscripten โœ๐Ÿป + run: | + sudo apt-get update + sudo apt-get install cmake python3 python3-pip + git clone --branch 3.1.59 --depth 1 https://github.com/emscripten-core/emsdk.git + cd emsdk + ./emsdk install 3.1.59 + ./emsdk activate 3.1.59 + source ./emsdk_env.sh + + - name: Build with Emscripten ๐Ÿ— + run: | + source ./emsdk/emsdk_env.sh + emmake make + emmake make build + + - name: Archive production artifacts ๐Ÿ› + uses: actions/upload-artifact@v4 + with: + name: wasm-artifacts + path: wasm + + prepare-and-publish: + needs: build-wasm + runs-on: ubuntu-latest + steps: + - name: Checkout Repository ๐Ÿ“ฅ + uses: actions/checkout@v4 + + - name: Get Artifacts ๐Ÿ“š + uses: actions/download-artifact@v4 + with: + path: downloaded-artifacts + + - name: Prepare artifacts ๐Ÿ“ฆ + run: | + find ./downloaded-artifacts/ + cp ./downloaded-artifacts/build-npm-artifact-windows-latest/pg_query.lib ./libpg_query/windows/queryparser.lib + cp ./downloaded-artifacts/build-npm-artifact-ubuntu-latest/libpg_query.a ./libpg_query/linux/libpg_query.a + cp ./downloaded-artifacts/build-npm-artifact-macos-latest/libpg_query.a ./libpg_query/osx/libpg_query.a + cp ./downloaded-artifacts/wasm-artifacts/libpg-query.js ./wasm/libpg-query.js + cp ./downloaded-artifacts/wasm-artifacts/libpg-query.wasm ./wasm/libpg-query.wasm + rm -rf ./downloaded-artifacts + + # - name: Setup AWS CLI + # run: sudo apt-get update && sudo apt-get install awscli -y + + # - name: Configure AWS Credentials + # uses: aws-actions/configure-aws-credentials@v4 + # with: + # aws-access-key-id: ${{ secrets.SUPABASE_AWS_KEY }} + # aws-secret-access-key: ${{ secrets.SUPABASE_AWS_SECRET }} + # aws-region: us-east-1 + + # - name: List Bucket Contents + # run: aws s3 ls s3://supabase-public-artifacts-bucket/ + + # - name: Publish to NPM ๐Ÿš€ + # run: | + # npm publish + # env: + # NODE_AUTH_TOKEN: ${{secrets.NPM_API_KEY}} \ No newline at end of file diff --git a/.github/workflows/generated-build-and-test.yaml b/.github/workflows/generated-build-and-test.yaml new file mode 100644 index 0000000..0069315 --- /dev/null +++ b/.github/workflows/generated-build-and-test.yaml @@ -0,0 +1,97 @@ +name: Build and Test ๐Ÿ›  +'on': + workflow_dispatch: null +jobs: + build-artifacts: + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: + - windows-latest + - macos-latest + - ubuntu-latest + steps: + - name: Checkout Repository ๐Ÿ“ฅ + uses: actions/checkout@v4 + - name: Setup Node.js ๐ŸŒ + uses: actions/setup-node@v4 + with: + node-version: 20.x + cache: yarn + - name: Configure Git ๐Ÿ›  + run: | + git config user.name "Cosmology" + git config user.email "developers@cosmology.zone" + - name: Install and Build ๐Ÿ“ฆ + run: | + yarn + yarn binary:build + - name: Save Artifacts For Supabase CDN ๐Ÿ— + uses: actions/upload-artifact@v4 + with: + name: build-supabase-artifact-${{ matrix.os }} + path: ./build/stage/libpg-query-node/ + - name: Save Artifacts For NPM ๐Ÿ— + uses: actions/upload-artifact@v4 + with: + name: build-npm-artifact-${{ matrix.os }} + path: | + ${{ matrix.os == 'macos-latest' && './libpg_query/osx/libpg_query.a' || + matrix.os == 'ubuntu-latest' && './libpg_query/linux/libpg_query.a' || + matrix.os == 'windows-latest' && './libpg_query/windows/pg_query.lib' }} + build-wasm: + needs: build-artifacts + runs-on: ubuntu-latest + steps: + - name: Checkout Repository ๐Ÿ“ฅ + uses: actions/checkout@v4 + - name: Setup Node.js ๐ŸŒ + uses: actions/setup-node@v4 + with: + node-version: 20.x + cache: yarn + - name: Install and Build ๐Ÿš€ + run: | + yarn + - name: Install Emscripten โœ๐Ÿป + run: | + sudo apt-get update + sudo apt-get install cmake python3 python3-pip + git clone --branch 3.1.59 --depth 1 https://github.com/emscripten-core/emsdk.git + cd emsdk + ./emsdk install 3.1.59 + ./emsdk activate 3.1.59 + source ./emsdk_env.sh + - name: Build with Emscripten ๐Ÿ— + run: | + source ./emsdk/emsdk_env.sh + emmake make + emmake make build + - name: Archive production artifacts ๐Ÿ› + uses: actions/upload-artifact@v4 + with: + name: wasm-artifacts + path: wasm + prepare-and-publish: + needs: build-wasm + runs-on: ubuntu-latest + steps: + - name: Checkout Repository ๐Ÿ“ฅ + uses: actions/checkout@v4 + - name: Get Artifacts ๐Ÿ“š + uses: actions/download-artifact@v4 + with: + path: downloaded-artifacts + - name: Prepare artifacts ๐Ÿ“ฆ + run: | + find ./downloaded-artifacts/ + cp ./downloaded-artifacts/build-npm-artifact-windows-latest/pg_query.lib ./libpg_query/windows/queryparser.lib + cp ./downloaded-artifacts/build-npm-artifact-ubuntu-latest/libpg_query.a ./libpg_query/linux/libpg_query.a + cp ./downloaded-artifacts/build-npm-artifact-macos-latest/libpg_query.a ./libpg_query/osx/libpg_query.a + cp ./downloaded-artifacts/wasm-artifacts/libpg-query.js ./wasm/libpg-query.js + cp ./downloaded-artifacts/wasm-artifacts/libpg-query.wasm ./wasm/libpg-query.wasm + rm -rf ./downloaded-artifacts + - name: Log + run: | + find ./libpg_query/ + find ./wasm diff --git a/.github/workflows/run-tests-linux.yml b/.github/workflows/run-tests-linux.yml index 39193c6..f55b061 100644 --- a/.github/workflows/run-tests-linux.yml +++ b/.github/workflows/run-tests-linux.yml @@ -1,4 +1,4 @@ -name: Run Tests Linux ๐Ÿงช +name: Linux ๐Ÿงช on: pull_request: diff --git a/.github/workflows/run-tests-mac.yml b/.github/workflows/run-tests-mac.yml index 3de2751..fa26f4a 100644 --- a/.github/workflows/run-tests-mac.yml +++ b/.github/workflows/run-tests-mac.yml @@ -1,6 +1,8 @@ -name: Run Tests Mac ๐Ÿงช +name: Mac ๐Ÿงช on: + pull_request: + types: [opened, push, reopened] workflow_dispatch: jobs: diff --git a/.github/workflows/run-tests-win.yml b/.github/workflows/run-tests-win.yml index 0e6d273..03f1fdc 100644 --- a/.github/workflows/run-tests-win.yml +++ b/.github/workflows/run-tests-win.yml @@ -1,10 +1,12 @@ -name: Run Tests Windows ๐Ÿงช +name: Windows ๐Ÿ›  on: + pull_request: + types: [opened, push, reopened] workflow_dispatch: jobs: - run-tests: + build-windows: runs-on: windows-latest steps: - name: Checkout Repository ๐Ÿ“ฅ @@ -20,5 +22,5 @@ jobs: run: | yarn - - name: Test ๐Ÿ” - run: yarn test \ No newline at end of file + # - name: Test ๐Ÿ” + # run: yarn test \ No newline at end of file diff --git a/.yamlize/config/config.yaml b/.yamlize/config/config.yaml new file mode 100644 index 0000000..e09c21e --- /dev/null +++ b/.yamlize/config/config.yaml @@ -0,0 +1,5 @@ +git: + USER_NAME: Cosmology + USER_EMAIL: developers@cosmology.zone +EMSCRIPTEN_VERSION: '3.1.59' +NODE_VERSION: '20.x' diff --git a/.yamlize/workflows/build-and-publish.yaml b/.yamlize/workflows/build-and-publish.yaml new file mode 100644 index 0000000..6635958 --- /dev/null +++ b/.yamlize/workflows/build-and-publish.yaml @@ -0,0 +1,16 @@ +name: Build and Publish ๐Ÿš€ + +on: + workflow_dispatch: + +jobs: + build-artifacts: + import-yaml: yaml/build-artifacts.yaml + + build-wasm: + needs: build-artifacts + import-yaml: yaml/build-wasm.yaml + + prepare-and-publish: + needs: build-wasm + import-yaml: yaml/prepare-and-publish.yaml \ No newline at end of file diff --git a/.yamlize/workflows/build-and-test.yaml b/.yamlize/workflows/build-and-test.yaml new file mode 100644 index 0000000..aaf9a11 --- /dev/null +++ b/.yamlize/workflows/build-and-test.yaml @@ -0,0 +1,16 @@ +name: Build and Test ๐Ÿ›  + +on: + workflow_dispatch: + +jobs: + build-artifacts: + import-yaml: yaml/build-artifacts.yaml + + build-wasm: + needs: build-artifacts + import-yaml: yaml/build-wasm.yaml + + prepare-and-publish: + needs: build-wasm + import-yaml: yaml/prepare-and-log.yaml \ No newline at end of file diff --git a/.yamlize/workflows/yaml/artifacts/download.yaml b/.yamlize/workflows/yaml/artifacts/download.yaml new file mode 100644 index 0000000..286f81a --- /dev/null +++ b/.yamlize/workflows/yaml/artifacts/download.yaml @@ -0,0 +1,4 @@ +name: Get Artifacts ๐Ÿ“š +uses: actions/download-artifact@v4 +with: + path: downloaded-artifacts \ No newline at end of file diff --git a/.yamlize/workflows/yaml/artifacts/npm.yaml b/.yamlize/workflows/yaml/artifacts/npm.yaml new file mode 100644 index 0000000..a43be0d --- /dev/null +++ b/.yamlize/workflows/yaml/artifacts/npm.yaml @@ -0,0 +1,8 @@ +name: Save Artifacts For NPM ๐Ÿ— +uses: actions/upload-artifact@v4 +with: + name: build-npm-artifact-${{ matrix.os }} + path: | + ${{ matrix.os == 'macos-latest' && './libpg_query/osx/libpg_query.a' || + matrix.os == 'ubuntu-latest' && './libpg_query/linux/libpg_query.a' || + matrix.os == 'windows-latest' && './libpg_query/windows/pg_query.lib' }} \ No newline at end of file diff --git a/.yamlize/workflows/yaml/artifacts/prepare.yaml b/.yamlize/workflows/yaml/artifacts/prepare.yaml new file mode 100644 index 0000000..0fde579 --- /dev/null +++ b/.yamlize/workflows/yaml/artifacts/prepare.yaml @@ -0,0 +1,9 @@ +name: Prepare artifacts ๐Ÿ“ฆ +run: | + find ./downloaded-artifacts/ + cp ./downloaded-artifacts/build-npm-artifact-windows-latest/pg_query.lib ./libpg_query/windows/queryparser.lib + cp ./downloaded-artifacts/build-npm-artifact-ubuntu-latest/libpg_query.a ./libpg_query/linux/libpg_query.a + cp ./downloaded-artifacts/build-npm-artifact-macos-latest/libpg_query.a ./libpg_query/osx/libpg_query.a + cp ./downloaded-artifacts/wasm-artifacts/libpg-query.js ./wasm/libpg-query.js + cp ./downloaded-artifacts/wasm-artifacts/libpg-query.wasm ./wasm/libpg-query.wasm + rm -rf ./downloaded-artifacts diff --git a/.yamlize/workflows/yaml/artifacts/supabase.yaml b/.yamlize/workflows/yaml/artifacts/supabase.yaml new file mode 100644 index 0000000..dce6939 --- /dev/null +++ b/.yamlize/workflows/yaml/artifacts/supabase.yaml @@ -0,0 +1,5 @@ +name: Save Artifacts For Supabase CDN ๐Ÿ— +uses: actions/upload-artifact@v4 +with: + name: build-supabase-artifact-${{ matrix.os }} + path: './build/stage/libpg-query-node/' diff --git a/.yamlize/workflows/yaml/build-artifacts.yaml b/.yamlize/workflows/yaml/build-artifacts.yaml new file mode 100644 index 0000000..22b2723 --- /dev/null +++ b/.yamlize/workflows/yaml/build-artifacts.yaml @@ -0,0 +1,16 @@ +runs-on: ${{ matrix.os }} +strategy: + matrix: + os: [windows-latest, macos-latest, ubuntu-latest] +steps: + - import-yaml: git/checkout.yaml + - import-yaml: node/setup.yaml + - import-yaml: git/configure.yaml + + - name: Install and Build ๐Ÿ“ฆ + run: | + yarn + yarn binary:build + + - import-yaml: artifacts/supabase.yaml + - import-yaml: artifacts/npm.yaml \ No newline at end of file diff --git a/.yamlize/workflows/yaml/build-wasm.yaml b/.yamlize/workflows/yaml/build-wasm.yaml new file mode 100644 index 0000000..72584c3 --- /dev/null +++ b/.yamlize/workflows/yaml/build-wasm.yaml @@ -0,0 +1,19 @@ +runs-on: ubuntu-latest +steps: + - import-yaml: git/checkout.yaml + + - import-yaml: node/setup.yaml + + - name: Install and Build ๐Ÿš€ + run: | + yarn + + - import-yaml: emscripten/install.yaml + + - import-yaml: emscripten/build.yaml + + - name: Archive production artifacts ๐Ÿ› + uses: actions/upload-artifact@v4 + with: + name: wasm-artifacts + path: wasm diff --git a/.yamlize/workflows/yaml/emscripten/build.yaml b/.yamlize/workflows/yaml/emscripten/build.yaml new file mode 100644 index 0000000..7c52e90 --- /dev/null +++ b/.yamlize/workflows/yaml/emscripten/build.yaml @@ -0,0 +1,5 @@ +name: Build with Emscripten ๐Ÿ— +run: | + source ./emsdk/emsdk_env.sh + emmake make + emmake make build diff --git a/.yamlize/workflows/yaml/emscripten/install.yaml b/.yamlize/workflows/yaml/emscripten/install.yaml new file mode 100644 index 0000000..5ab8fb0 --- /dev/null +++ b/.yamlize/workflows/yaml/emscripten/install.yaml @@ -0,0 +1,9 @@ +name: Install Emscripten โœ๐Ÿป +run: | + sudo apt-get update + sudo apt-get install cmake python3 python3-pip + git clone --branch ${{yamlize.EMSCRIPTEN_VERSION}} --depth 1 https://github.com/emscripten-core/emsdk.git + cd emsdk + ./emsdk install ${{yamlize.EMSCRIPTEN_VERSION}} + ./emsdk activate ${{yamlize.EMSCRIPTEN_VERSION}} + source ./emsdk_env.sh \ No newline at end of file diff --git a/.yamlize/workflows/yaml/git/checkout.yaml b/.yamlize/workflows/yaml/git/checkout.yaml new file mode 100644 index 0000000..6e30835 --- /dev/null +++ b/.yamlize/workflows/yaml/git/checkout.yaml @@ -0,0 +1,2 @@ +name: Checkout Repository ๐Ÿ“ฅ +uses: actions/checkout@v4 \ No newline at end of file diff --git a/.yamlize/workflows/yaml/git/configure.yaml b/.yamlize/workflows/yaml/git/configure.yaml new file mode 100644 index 0000000..4877e8d --- /dev/null +++ b/.yamlize/workflows/yaml/git/configure.yaml @@ -0,0 +1,4 @@ +name: Configure Git ๐Ÿ›  +run: | + git config user.name "${{yamlize.git.USER_NAME}}" + git config user.email "${{yamlize.git.USER_EMAIL}}" diff --git a/.yamlize/workflows/yaml/node/setup.yaml b/.yamlize/workflows/yaml/node/setup.yaml new file mode 100644 index 0000000..3711556 --- /dev/null +++ b/.yamlize/workflows/yaml/node/setup.yaml @@ -0,0 +1,5 @@ +name: Setup Node.js ๐ŸŒ +uses: actions/setup-node@v4 +with: + node-version: ${{yamlize.NODE_VERSION}} + cache: 'yarn' \ No newline at end of file diff --git a/.yamlize/workflows/yaml/prepare-and-log.yaml b/.yamlize/workflows/yaml/prepare-and-log.yaml new file mode 100644 index 0000000..b47a38c --- /dev/null +++ b/.yamlize/workflows/yaml/prepare-and-log.yaml @@ -0,0 +1,12 @@ +runs-on: ubuntu-latest +steps: + - import-yaml: git/checkout.yaml + + - import-yaml: artifacts/download.yaml + + - import-yaml: artifacts/prepare.yaml + + - name: Log + run: | + find ./libpg_query/ + find ./wasm diff --git a/.yamlize/workflows/yaml/prepare-and-publish.yaml b/.yamlize/workflows/yaml/prepare-and-publish.yaml new file mode 100644 index 0000000..4efd548 --- /dev/null +++ b/.yamlize/workflows/yaml/prepare-and-publish.yaml @@ -0,0 +1,13 @@ +runs-on: ubuntu-latest +steps: + - import-yaml: git/checkout.yaml + + - import-yaml: artifacts/download.yaml + + - import-yaml: artifacts/prepare.yaml + + - name: Publish to NPM ๐Ÿš€ + run: | + npm publish + env: + NODE_AUTH_TOKEN: ${{secrets.NPM_API_KEY}} \ No newline at end of file From 966d2cdcb79f3d2ae6b3ba49a57fc26282be9a86 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Thu, 23 May 2024 15:46:16 +0200 Subject: [PATCH 14/35] build --- .github/workflows/build.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8db3901..3de4470 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -5,8 +5,7 @@ on: jobs: make-release-candidate: - permissions: - contents: write + runs-on: ubuntu-latest steps: - name: Checkout Repository ๐Ÿ“ฅ uses: actions/checkout@v4 From 0906409d594d7cd28d033b6b8f5a99993258c6ac Mon Sep 17 00:00:00 2001 From: LaunchQL Date: Thu, 23 May 2024 13:47:04 +0000 Subject: [PATCH 15/35] 15.1.1-rc.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 1f72444..ee85c4d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "libpg-query", - "version": "15.1.0", + "version": "15.1.1-rc.0", "description": "The real PostgreSQL query parser", "homepage": "https://github.com/launchql/libpg-query-node", "main": "index.js", From 3700cc7632b965fc7da408272ffb5ee1829c512a Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Tue, 28 May 2024 21:10:18 +0200 Subject: [PATCH 16/35] add types --- index.d.ts | 5 +++-- package.json | 1 + yarn.lock | 5 +++++ 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/index.d.ts b/index.d.ts index f00054a..d573a05 100644 --- a/index.d.ts +++ b/index.d.ts @@ -1,6 +1,7 @@ -export function parseQuery(sql: string): Promise; +import { ParseResult } from "@pgsql/types"; +export function parseQuery(sql: string): Promise; export function parsePlPgSQL(funcsSql: string): Promise; -export function parseQuerySync(sql: string): any; +export function parseQuerySync(sql: string): ParseResult; export function parsePlPgSQLSync(funcsSql: string): any; export function fingerprint(sql: string): Promise; export function fingerprintSync(sql: string): string; diff --git a/package.json b/package.json index ee85c4d..3c69eef 100644 --- a/package.json +++ b/package.json @@ -51,6 +51,7 @@ "url": "git://github.com/launchql/libpg-query-node.git" }, "devDependencies": { + "@pgsql/types": "^15.0.0", "@yamlize/cli": "^0.8.0", "chai": "^3.5.0", "emnapi": "^0.43.1", diff --git a/yarn.lock b/yarn.lock index 2606429..d03462b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -54,6 +54,11 @@ dependencies: semver "^7.3.5" +"@pgsql/types@^15.0.0": + version "15.0.0" + resolved "https://registry.yarnpkg.com/@pgsql/types/-/types-15.0.0.tgz#99d2c1719fe7b93bd36b88c1e9ccbcc18b23d720" + integrity sha512-okesxpqEBQGgSP+4FGX9zivDNWM3r803oNxRIXIrayXN3Gfx9Rjom+5h433YcP6RKmPbkKolXgeuKA2i9MQtOQ== + "@pkgjs/parseargs@^0.11.0": version "0.11.0" resolved "https://registry.yarnpkg.com/@pkgjs/parseargs/-/parseargs-0.11.0.tgz#a77ea742fab25775145434eb1d2328cf5013ac33" From 0e6075416e162faa5765de9f900ae765dccc0b2c Mon Sep 17 00:00:00 2001 From: LaunchQL Date: Tue, 28 May 2024 19:14:37 +0000 Subject: [PATCH 17/35] 15.1.1-rc.1 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 3c69eef..09ee097 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "libpg-query", - "version": "15.1.1-rc.0", + "version": "15.1.1-rc.1", "description": "The real PostgreSQL query parser", "homepage": "https://github.com/launchql/libpg-query-node", "main": "index.js", From 34987b48f15e44793dc9e67efcbc731adcaa3948 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Tue, 28 May 2024 21:20:14 +0200 Subject: [PATCH 18/35] windows not supported on PG15 --- .github/workflows/generated-build-and-test.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/generated-build-and-test.yaml b/.github/workflows/generated-build-and-test.yaml index 0069315..60ca943 100644 --- a/.github/workflows/generated-build-and-test.yaml +++ b/.github/workflows/generated-build-and-test.yaml @@ -7,7 +7,7 @@ jobs: strategy: matrix: os: - - windows-latest + # - windows-latest - macos-latest - ubuntu-latest steps: From 8538d1324d133adb8c6e74965fe0a31dfbf7826e Mon Sep 17 00:00:00 2001 From: LaunchQL Date: Tue, 28 May 2024 19:21:31 +0000 Subject: [PATCH 19/35] 15.1.1-rc.2 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 09ee097..9810d4c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "libpg-query", - "version": "15.1.1-rc.1", + "version": "15.1.1-rc.2", "description": "The real PostgreSQL query parser", "homepage": "https://github.com/launchql/libpg-query-node", "main": "index.js", From ced88273345d2b11aa3b8fca1290da4e38c20a0e Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Tue, 28 May 2024 21:34:06 +0200 Subject: [PATCH 20/35] build for PG 15 --- .github/workflows/generated-build-and-test.yaml | 4 +--- .yamlize/workflows/yaml/artifacts/npm.yaml | 3 +-- .yamlize/workflows/yaml/build-artifacts.yaml | 2 +- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/generated-build-and-test.yaml b/.github/workflows/generated-build-and-test.yaml index 60ca943..4d067ca 100644 --- a/.github/workflows/generated-build-and-test.yaml +++ b/.github/workflows/generated-build-and-test.yaml @@ -7,7 +7,6 @@ jobs: strategy: matrix: os: - # - windows-latest - macos-latest - ubuntu-latest steps: @@ -37,8 +36,7 @@ jobs: name: build-npm-artifact-${{ matrix.os }} path: | ${{ matrix.os == 'macos-latest' && './libpg_query/osx/libpg_query.a' || - matrix.os == 'ubuntu-latest' && './libpg_query/linux/libpg_query.a' || - matrix.os == 'windows-latest' && './libpg_query/windows/pg_query.lib' }} + matrix.os == 'ubuntu-latest' && './libpg_query/linux/libpg_query.a' }} build-wasm: needs: build-artifacts runs-on: ubuntu-latest diff --git a/.yamlize/workflows/yaml/artifacts/npm.yaml b/.yamlize/workflows/yaml/artifacts/npm.yaml index a43be0d..f9b9fb1 100644 --- a/.yamlize/workflows/yaml/artifacts/npm.yaml +++ b/.yamlize/workflows/yaml/artifacts/npm.yaml @@ -4,5 +4,4 @@ with: name: build-npm-artifact-${{ matrix.os }} path: | ${{ matrix.os == 'macos-latest' && './libpg_query/osx/libpg_query.a' || - matrix.os == 'ubuntu-latest' && './libpg_query/linux/libpg_query.a' || - matrix.os == 'windows-latest' && './libpg_query/windows/pg_query.lib' }} \ No newline at end of file + matrix.os == 'ubuntu-latest' && './libpg_query/linux/libpg_query.a' }} \ No newline at end of file diff --git a/.yamlize/workflows/yaml/build-artifacts.yaml b/.yamlize/workflows/yaml/build-artifacts.yaml index 22b2723..13e1a9f 100644 --- a/.yamlize/workflows/yaml/build-artifacts.yaml +++ b/.yamlize/workflows/yaml/build-artifacts.yaml @@ -1,7 +1,7 @@ runs-on: ${{ matrix.os }} strategy: matrix: - os: [windows-latest, macos-latest, ubuntu-latest] + os: [macos-latest, ubuntu-latest] steps: - import-yaml: git/checkout.yaml - import-yaml: node/setup.yaml From 0f25677b006f39a0f1c3ea2a09849a2a51608790 Mon Sep 17 00:00:00 2001 From: LaunchQL Date: Tue, 28 May 2024 19:34:48 +0000 Subject: [PATCH 21/35] 15.1.1-rc.3 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 9810d4c..aa3ffe0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "libpg-query", - "version": "15.1.1-rc.2", + "version": "15.1.1-rc.3", "description": "The real PostgreSQL query parser", "homepage": "https://github.com/launchql/libpg-query-node", "main": "index.js", From 53c5d8481ed3f62636a2fb0b3afb725ec712230d Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Tue, 28 May 2024 21:42:36 +0200 Subject: [PATCH 22/35] remove windows --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3de4470..527962f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -34,7 +34,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [windows-latest, macos-latest, ubuntu-latest] + os: [macos-latest, ubuntu-latest] steps: - name: Checkout Repository ๐Ÿ“ฅ uses: actions/checkout@v4 From b76e7375b81a2ef833ae90ea4a606206a4c27fd0 Mon Sep 17 00:00:00 2001 From: LaunchQL Date: Tue, 28 May 2024 19:43:49 +0000 Subject: [PATCH 23/35] 15.1.1-rc.4 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index aa3ffe0..144890e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "libpg-query", - "version": "15.1.1-rc.3", + "version": "15.1.1-rc.4", "description": "The real PostgreSQL query parser", "homepage": "https://github.com/launchql/libpg-query-node", "main": "index.js", From 35fd4435e4d0380d3c0c727f810574e37d76ddb3 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Wed, 29 May 2024 16:17:26 +0200 Subject: [PATCH 24/35] include @pgsql/types --- .github/workflows/build.yml | 4 +--- package.json | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 527962f..98cb736 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -62,8 +62,7 @@ jobs: name: build-npm-artifact-${{ matrix.os }} path: | ${{ matrix.os == 'macos-latest' && './libpg_query/osx/libpg_query.a' || - matrix.os == 'ubuntu-latest' && './libpg_query/linux/libpg_query.a' || - matrix.os == 'windows-latest' && './libpg_query/windows/pg_query.lib' }} + matrix.os == 'ubuntu-latest' && './libpg_query/linux/libpg_query.a' }} build-wasm: needs: build-artifacts @@ -119,7 +118,6 @@ jobs: - name: Prepare artifacts ๐Ÿ“ฆ run: | find ./downloaded-artifacts/ - cp ./downloaded-artifacts/build-npm-artifact-windows-latest/pg_query.lib ./libpg_query/windows/queryparser.lib cp ./downloaded-artifacts/build-npm-artifact-ubuntu-latest/libpg_query.a ./libpg_query/linux/libpg_query.a cp ./downloaded-artifacts/build-npm-artifact-macos-latest/libpg_query.a ./libpg_query/osx/libpg_query.a cp ./downloaded-artifacts/wasm-artifacts/libpg-query.js ./wasm/libpg-query.js diff --git a/package.json b/package.json index 144890e..d0f50b4 100644 --- a/package.json +++ b/package.json @@ -51,7 +51,6 @@ "url": "git://github.com/launchql/libpg-query-node.git" }, "devDependencies": { - "@pgsql/types": "^15.0.0", "@yamlize/cli": "^0.8.0", "chai": "^3.5.0", "emnapi": "^0.43.1", @@ -62,6 +61,7 @@ "dependencies": { "@emnapi/runtime": "^0.43.1", "@mapbox/node-pre-gyp": "^1.0.8", + "@pgsql/types": "^15.0.0", "node-addon-api": "^7.0.0", "node-gyp": "^10.0.1" }, From 4e2ce6e63132c18ed1237bbb916ebb25f4d1bc3f Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Wed, 29 May 2024 16:21:21 +0200 Subject: [PATCH 25/35] workflows --- .github/workflows/publish-minor.yaml | 144 ++++++++++++++++++ .../workflows/publish-release-candidate.yml | 144 ++++++++++++++++++ 2 files changed, 288 insertions(+) create mode 100644 .github/workflows/publish-minor.yaml create mode 100644 .github/workflows/publish-release-candidate.yml diff --git a/.github/workflows/publish-minor.yaml b/.github/workflows/publish-minor.yaml new file mode 100644 index 0000000..cfc46a7 --- /dev/null +++ b/.github/workflows/publish-minor.yaml @@ -0,0 +1,144 @@ +name: Build and Publish Release Candidate libpq-query ๐Ÿ— + +on: + workflow_dispatch: + +jobs: + make-release-candidate: + runs-on: ubuntu-latest + steps: + - name: Checkout Repository ๐Ÿ“ฅ + uses: actions/checkout@v4 + + - name: Setup Node.js ๐ŸŒ + uses: actions/setup-node@v4 + with: + node-version: '20.x' + cache: 'yarn' + + - name: Configure Git ๐Ÿ›  + run: | + git config user.name "LaunchQL" + git config user.email "developers@launchql.com" + + - name: Minor Version ๐Ÿงช + run: | + git fetch + npm version minor + git push + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + build-artifacts: + needs: make-release-candidate + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [macos-latest, ubuntu-latest] + steps: + - name: Checkout Repository ๐Ÿ“ฅ + uses: actions/checkout@v4 + + - name: Setup Node.js ๐ŸŒ + uses: actions/setup-node@v4 + with: + node-version: '20.x' + cache: 'yarn' + + - name: Install and Build ๐Ÿ“ฆ + run: | + yarn + yarn binary:build + + - name: Save Artifacts For Supabase CDN ๐Ÿ— + uses: actions/upload-artifact@v4 + with: + name: build-supabase-artifact-${{ matrix.os }} + path: './build/stage/libpg-query-node/' + + - name: Save Artifacts For NPM ๐Ÿ— + uses: actions/upload-artifact@v4 + with: + name: build-npm-artifact-${{ matrix.os }} + path: | + ${{ matrix.os == 'macos-latest' && './libpg_query/osx/libpg_query.a' || + matrix.os == 'ubuntu-latest' && './libpg_query/linux/libpg_query.a' }} + + build-wasm: + needs: build-artifacts + runs-on: ubuntu-latest + steps: + - name: Checkout Repository ๐Ÿ“ฅ + uses: actions/checkout@v4 + + - name: Setup Node.js ๐ŸŒ + uses: actions/setup-node@v4 + with: + node-version: '20.x' + cache: 'yarn' + + - name: Install and Build ๐Ÿš€ + run: | + yarn + + - name: Install Emscripten โœ๐Ÿป + run: | + sudo apt-get update + sudo apt-get install cmake python3 python3-pip + git clone --branch 3.1.59 --depth 1 https://github.com/emscripten-core/emsdk.git + cd emsdk + ./emsdk install 3.1.59 + ./emsdk activate 3.1.59 + source ./emsdk_env.sh + + - name: Build with Emscripten ๐Ÿ— + run: | + source ./emsdk/emsdk_env.sh + emmake make + emmake make build + + - name: Archive production artifacts ๐Ÿ› + uses: actions/upload-artifact@v4 + with: + name: wasm-artifacts + path: wasm + + prepare-and-publish: + needs: build-wasm + runs-on: ubuntu-latest + steps: + - name: Checkout Repository ๐Ÿ“ฅ + uses: actions/checkout@v4 + + - name: Get Artifacts ๐Ÿ“š + uses: actions/download-artifact@v4 + with: + path: downloaded-artifacts + + - name: Prepare artifacts ๐Ÿ“ฆ + run: | + find ./downloaded-artifacts/ + cp ./downloaded-artifacts/build-npm-artifact-ubuntu-latest/libpg_query.a ./libpg_query/linux/libpg_query.a + cp ./downloaded-artifacts/build-npm-artifact-macos-latest/libpg_query.a ./libpg_query/osx/libpg_query.a + cp ./downloaded-artifacts/wasm-artifacts/libpg-query.js ./wasm/libpg-query.js + cp ./downloaded-artifacts/wasm-artifacts/libpg-query.wasm ./wasm/libpg-query.wasm + rm -rf ./downloaded-artifacts + + # - name: Setup AWS CLI + # run: sudo apt-get update && sudo apt-get install awscli -y + + # - name: Configure AWS Credentials + # uses: aws-actions/configure-aws-credentials@v4 + # with: + # aws-access-key-id: ${{ secrets.SUPABASE_AWS_KEY }} + # aws-secret-access-key: ${{ secrets.SUPABASE_AWS_SECRET }} + # aws-region: us-east-1 + + # - name: List Bucket Contents + # run: aws s3 ls s3://supabase-public-artifacts-bucket/ + + # - name: Publish to NPM ๐Ÿš€ + # run: | + # npm publish + # env: + # NODE_AUTH_TOKEN: ${{secrets.NPM_API_KEY}} \ No newline at end of file diff --git a/.github/workflows/publish-release-candidate.yml b/.github/workflows/publish-release-candidate.yml new file mode 100644 index 0000000..3f010ac --- /dev/null +++ b/.github/workflows/publish-release-candidate.yml @@ -0,0 +1,144 @@ +name: Build and Publish Release Candidate libpq-query ๐Ÿ— + +on: + workflow_dispatch: + +jobs: + make-release-candidate: + runs-on: ubuntu-latest + steps: + - name: Checkout Repository ๐Ÿ“ฅ + uses: actions/checkout@v4 + + - name: Setup Node.js ๐ŸŒ + uses: actions/setup-node@v4 + with: + node-version: '20.x' + cache: 'yarn' + + - name: Configure Git ๐Ÿ›  + run: | + git config user.name "LaunchQL" + git config user.email "developers@launchql.com" + + - name: Release candidate ๐Ÿงช + run: | + git fetch + npm version prerelease --preid=rc + git push + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + build-artifacts: + needs: make-release-candidate + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [macos-latest, ubuntu-latest] + steps: + - name: Checkout Repository ๐Ÿ“ฅ + uses: actions/checkout@v4 + + - name: Setup Node.js ๐ŸŒ + uses: actions/setup-node@v4 + with: + node-version: '20.x' + cache: 'yarn' + + - name: Install and Build ๐Ÿ“ฆ + run: | + yarn + yarn binary:build + + - name: Save Artifacts For Supabase CDN ๐Ÿ— + uses: actions/upload-artifact@v4 + with: + name: build-supabase-artifact-${{ matrix.os }} + path: './build/stage/libpg-query-node/' + + - name: Save Artifacts For NPM ๐Ÿ— + uses: actions/upload-artifact@v4 + with: + name: build-npm-artifact-${{ matrix.os }} + path: | + ${{ matrix.os == 'macos-latest' && './libpg_query/osx/libpg_query.a' || + matrix.os == 'ubuntu-latest' && './libpg_query/linux/libpg_query.a' }} + + build-wasm: + needs: build-artifacts + runs-on: ubuntu-latest + steps: + - name: Checkout Repository ๐Ÿ“ฅ + uses: actions/checkout@v4 + + - name: Setup Node.js ๐ŸŒ + uses: actions/setup-node@v4 + with: + node-version: '20.x' + cache: 'yarn' + + - name: Install and Build ๐Ÿš€ + run: | + yarn + + - name: Install Emscripten โœ๐Ÿป + run: | + sudo apt-get update + sudo apt-get install cmake python3 python3-pip + git clone --branch 3.1.59 --depth 1 https://github.com/emscripten-core/emsdk.git + cd emsdk + ./emsdk install 3.1.59 + ./emsdk activate 3.1.59 + source ./emsdk_env.sh + + - name: Build with Emscripten ๐Ÿ— + run: | + source ./emsdk/emsdk_env.sh + emmake make + emmake make build + + - name: Archive production artifacts ๐Ÿ› + uses: actions/upload-artifact@v4 + with: + name: wasm-artifacts + path: wasm + + prepare-and-publish: + needs: build-wasm + runs-on: ubuntu-latest + steps: + - name: Checkout Repository ๐Ÿ“ฅ + uses: actions/checkout@v4 + + - name: Get Artifacts ๐Ÿ“š + uses: actions/download-artifact@v4 + with: + path: downloaded-artifacts + + - name: Prepare artifacts ๐Ÿ“ฆ + run: | + find ./downloaded-artifacts/ + cp ./downloaded-artifacts/build-npm-artifact-ubuntu-latest/libpg_query.a ./libpg_query/linux/libpg_query.a + cp ./downloaded-artifacts/build-npm-artifact-macos-latest/libpg_query.a ./libpg_query/osx/libpg_query.a + cp ./downloaded-artifacts/wasm-artifacts/libpg-query.js ./wasm/libpg-query.js + cp ./downloaded-artifacts/wasm-artifacts/libpg-query.wasm ./wasm/libpg-query.wasm + rm -rf ./downloaded-artifacts + + # - name: Setup AWS CLI + # run: sudo apt-get update && sudo apt-get install awscli -y + + # - name: Configure AWS Credentials + # uses: aws-actions/configure-aws-credentials@v4 + # with: + # aws-access-key-id: ${{ secrets.SUPABASE_AWS_KEY }} + # aws-secret-access-key: ${{ secrets.SUPABASE_AWS_SECRET }} + # aws-region: us-east-1 + + # - name: List Bucket Contents + # run: aws s3 ls s3://supabase-public-artifacts-bucket/ + + # - name: Publish to NPM ๐Ÿš€ + # run: | + # npm publish + # env: + # NODE_AUTH_TOKEN: ${{secrets.NPM_API_KEY}} \ No newline at end of file From 407b5026f5c33eac0ec93fa68c8145e8aef3e6e3 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Wed, 29 May 2024 16:21:35 +0200 Subject: [PATCH 26/35] workflows --- .github/workflows/publish-minor.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish-minor.yaml b/.github/workflows/publish-minor.yaml index cfc46a7..f85b872 100644 --- a/.github/workflows/publish-minor.yaml +++ b/.github/workflows/publish-minor.yaml @@ -1,4 +1,4 @@ -name: Build and Publish Release Candidate libpq-query ๐Ÿ— +name: Build and Publish Minor libpq-query ๐Ÿ— on: workflow_dispatch: From 26498fc53df35cf73333fb33ff6a4bea4e57b40a Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Wed, 29 May 2024 16:25:00 +0200 Subject: [PATCH 27/35] dry run workflow --- .github/workflows/publish-dry-run.yml | 131 ++++++++++++++++++++++++++ 1 file changed, 131 insertions(+) create mode 100644 .github/workflows/publish-dry-run.yml diff --git a/.github/workflows/publish-dry-run.yml b/.github/workflows/publish-dry-run.yml new file mode 100644 index 0000000..2452b40 --- /dev/null +++ b/.github/workflows/publish-dry-run.yml @@ -0,0 +1,131 @@ +name: Build and Publish Dry Run libpq-query ๐Ÿ— + +on: + workflow_dispatch: + +jobs: + make-release-candidate: + runs-on: ubuntu-latest + steps: + - name: Checkout Repository ๐Ÿ“ฅ + uses: actions/checkout@v4 + + - name: Setup Node.js ๐ŸŒ + uses: actions/setup-node@v4 + with: + node-version: '20.x' + cache: 'yarn' + + build-artifacts: + needs: make-release-candidate + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [macos-latest, ubuntu-latest] + steps: + - name: Checkout Repository ๐Ÿ“ฅ + uses: actions/checkout@v4 + + - name: Setup Node.js ๐ŸŒ + uses: actions/setup-node@v4 + with: + node-version: '20.x' + cache: 'yarn' + + - name: Install and Build ๐Ÿ“ฆ + run: | + yarn + yarn binary:build + + - name: Save Artifacts For Supabase CDN ๐Ÿ— + uses: actions/upload-artifact@v4 + with: + name: build-supabase-artifact-${{ matrix.os }} + path: './build/stage/libpg-query-node/' + + - name: Save Artifacts For NPM ๐Ÿ— + uses: actions/upload-artifact@v4 + with: + name: build-npm-artifact-${{ matrix.os }} + path: | + ${{ matrix.os == 'macos-latest' && './libpg_query/osx/libpg_query.a' || + matrix.os == 'ubuntu-latest' && './libpg_query/linux/libpg_query.a' }} + + build-wasm: + needs: build-artifacts + runs-on: ubuntu-latest + steps: + - name: Checkout Repository ๐Ÿ“ฅ + uses: actions/checkout@v4 + + - name: Setup Node.js ๐ŸŒ + uses: actions/setup-node@v4 + with: + node-version: '20.x' + cache: 'yarn' + + - name: Install and Build ๐Ÿš€ + run: | + yarn + + - name: Install Emscripten โœ๐Ÿป + run: | + sudo apt-get update + sudo apt-get install cmake python3 python3-pip + git clone --branch 3.1.59 --depth 1 https://github.com/emscripten-core/emsdk.git + cd emsdk + ./emsdk install 3.1.59 + ./emsdk activate 3.1.59 + source ./emsdk_env.sh + + - name: Build with Emscripten ๐Ÿ— + run: | + source ./emsdk/emsdk_env.sh + emmake make + emmake make build + + - name: Archive production artifacts ๐Ÿ› + uses: actions/upload-artifact@v4 + with: + name: wasm-artifacts + path: wasm + + prepare-and-publish: + needs: build-wasm + runs-on: ubuntu-latest + steps: + - name: Checkout Repository ๐Ÿ“ฅ + uses: actions/checkout@v4 + + - name: Get Artifacts ๐Ÿ“š + uses: actions/download-artifact@v4 + with: + path: downloaded-artifacts + + - name: Prepare artifacts ๐Ÿ“ฆ + run: | + find ./downloaded-artifacts/ + cp ./downloaded-artifacts/build-npm-artifact-ubuntu-latest/libpg_query.a ./libpg_query/linux/libpg_query.a + cp ./downloaded-artifacts/build-npm-artifact-macos-latest/libpg_query.a ./libpg_query/osx/libpg_query.a + cp ./downloaded-artifacts/wasm-artifacts/libpg-query.js ./wasm/libpg-query.js + cp ./downloaded-artifacts/wasm-artifacts/libpg-query.wasm ./wasm/libpg-query.wasm + rm -rf ./downloaded-artifacts + + # - name: Setup AWS CLI + # run: sudo apt-get update && sudo apt-get install awscli -y + + # - name: Configure AWS Credentials + # uses: aws-actions/configure-aws-credentials@v4 + # with: + # aws-access-key-id: ${{ secrets.SUPABASE_AWS_KEY }} + # aws-secret-access-key: ${{ secrets.SUPABASE_AWS_SECRET }} + # aws-region: us-east-1 + + # - name: List Bucket Contents + # run: aws s3 ls s3://supabase-public-artifacts-bucket/ + + # - name: Publish to NPM ๐Ÿš€ + # run: | + # npm publish + # env: + # NODE_AUTH_TOKEN: ${{secrets.NPM_API_KEY}} \ No newline at end of file From 9e4627d6dd9e18a34f5dbc9b81dbb9cadbd118d6 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Wed, 29 May 2024 16:46:48 +0200 Subject: [PATCH 28/35] minor version --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index d0f50b4..60d1167 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "libpg-query", - "version": "15.1.1-rc.4", + "version": "15.1.2", "description": "The real PostgreSQL query parser", "homepage": "https://github.com/launchql/libpg-query-node", "main": "index.js", From e255b3f0dd26d78d3b48bda5cb75d961ec80e77f Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Wed, 29 May 2024 19:26:56 +0200 Subject: [PATCH 29/35] export all types --- index.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/index.d.ts b/index.d.ts index d573a05..b5c0b34 100644 --- a/index.d.ts +++ b/index.d.ts @@ -5,3 +5,4 @@ export function parseQuerySync(sql: string): ParseResult; export function parsePlPgSQLSync(funcsSql: string): any; export function fingerprint(sql: string): Promise; export function fingerprintSync(sql: string): string; +export * from '@pgsql/types'; \ No newline at end of file From 1f95e07d9ee6f94adf48725ff485e22e079b4919 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Thu, 30 May 2024 03:25:13 +0200 Subject: [PATCH 30/35] =?UTF-8?q?update=20version=20to=20proper=20@pgsql/t?= =?UTF-8?q?ypes=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 4 ++-- yarn.lock | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 60d1167..8e5160f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "libpg-query", - "version": "15.1.2", + "version": "15.2.0", "description": "The real PostgreSQL query parser", "homepage": "https://github.com/launchql/libpg-query-node", "main": "index.js", @@ -61,7 +61,7 @@ "dependencies": { "@emnapi/runtime": "^0.43.1", "@mapbox/node-pre-gyp": "^1.0.8", - "@pgsql/types": "^15.0.0", + "@pgsql/types": "^15.0.1", "node-addon-api": "^7.0.0", "node-gyp": "^10.0.1" }, diff --git a/yarn.lock b/yarn.lock index d03462b..1e67bd3 100644 --- a/yarn.lock +++ b/yarn.lock @@ -54,10 +54,10 @@ dependencies: semver "^7.3.5" -"@pgsql/types@^15.0.0": - version "15.0.0" - resolved "https://registry.yarnpkg.com/@pgsql/types/-/types-15.0.0.tgz#99d2c1719fe7b93bd36b88c1e9ccbcc18b23d720" - integrity sha512-okesxpqEBQGgSP+4FGX9zivDNWM3r803oNxRIXIrayXN3Gfx9Rjom+5h433YcP6RKmPbkKolXgeuKA2i9MQtOQ== +"@pgsql/types@^15.0.1": + version "15.0.1" + resolved "https://registry.yarnpkg.com/@pgsql/types/-/types-15.0.1.tgz#51d6c550636d3dc6628dad571a340ea7f6bb0b14" + integrity sha512-1pkWXu0criJB+hQPt5HpR8QNEBk4pNTgkA9bMfqEk3FFn6w6DdIVSiHZqoe/xhAKPvWDDDUUKNZIqhSXa5+YeA== "@pkgjs/parseargs@^0.11.0": version "0.11.0" From c5418ef3d01e65b5e79972179ed9353b83839c35 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Sun, 2 Jun 2024 20:46:21 -0700 Subject: [PATCH 31/35] add config generation for multiple PG versions --- .templates/buildAddon.bat | 90 ++++++++++++++++++++++++++ .templates/buildAddon.sh | 84 ++++++++++++++++++++++++ .yamlize/versions/14-latest.yaml | 7 ++ .yamlize/versions/15-latest.yaml | 7 ++ .yamlize/versions/16-latest.yaml | 7 ++ package.json | 6 +- script/buildAddon.bat | 31 +++++++-- script/buildAddon.sh | 28 ++++++-- script/env.generated.json | 11 ++++ script/utils/config.js | 6 ++ script/utils/generate.js | 107 +++++++++++++++++++++++++++++++ script/utils/get-config.js | 35 ++++++++++ script/utils/get-templates.js | 20 ++++++ 13 files changed, 428 insertions(+), 11 deletions(-) create mode 100644 .templates/buildAddon.bat create mode 100644 .templates/buildAddon.sh create mode 100644 .yamlize/versions/14-latest.yaml create mode 100644 .yamlize/versions/15-latest.yaml create mode 100644 .yamlize/versions/16-latest.yaml create mode 100644 script/env.generated.json create mode 100644 script/utils/config.js create mode 100644 script/utils/generate.js create mode 100644 script/utils/get-config.js create mode 100644 script/utils/get-templates.js diff --git a/.templates/buildAddon.bat b/.templates/buildAddon.bat new file mode 100644 index 0000000..c1c8c10 --- /dev/null +++ b/.templates/buildAddon.bat @@ -0,0 +1,90 @@ +@echo off + +set LIBPG_REPO=___LIBPG_REPO___ +set LIBPG_COMMIT=___LIBPG_COMMIT___ +set LIBPG_BRANCH=___LIBPG_BRANCH___ + +:: Check if each required variable is set +if "%LIBPG_REPO%"=="" ( + echo ERROR: LIBPG_REPO variable is not set. + exit /B 1 +) + +if "%LIBPG_COMMIT%"=="" ( + echo ERROR: LIBPG_COMMIT variable is not set. + exit /B 1 +) + +if "%LIBPG_BRANCH%"=="" ( + echo ERROR: LIBPG_BRANCH variable is not set. + exit /B 1 +) + +:: The environment variables must be set +echo Using repository: %LIBPG_REPO% +echo Using commit: %LIBPG_COMMIT% +echo Using branch: %LIBPG_BRANCH% + +setlocal enabledelayedexpansion + +rem Remember current's parent directory and create a new, unique, temporary directory +set buildDir=%cd% +set projectDir=%cd%\.. +set tmpDir=%temp%\tmpdir.libpg_query +rmdir /s /q %tmpDir% +md %tmpDir% + + +rem Define the make target +set makeTarget=build + +rem Change to the newly created temp directory +cd /D %tmpDir% + + +rem Clone the selected branch of the libpg_query Git repo +git clone -b %LIBPG_BRANCH% --single-branch %LIBPG_REPO% +cd libpg_query + +rem Checkout the desired commit +git checkout %LIBPG_COMMIT% + +rem needed if being invoked from within gyp +set MAKEFLAGS= +set MFLAGS= + +rem set path with Windows Developer Command Prompt +echo "please ensure you are running at Windows Developer Command Prompt environments" +nmake /F Makefile.msvc clean +nmake /F Makefile.msvc build + + +rem Terminate if build fails +if %errorlevel% NEQ 0 ( + echo ERROR: 'nmake' command failed +) + +rem Search for pg_query.obj (libpg_query.a), error if not found +for /f "delims=" %%f in ('dir /b /s pg_query.lib') do set file=%%f +if not defined file ( + echo "ERROR: pg_query.lib not found" + +) + +rem Error if pg_query.h is missing +for /f "delims=" %%f in ('dir /b /s pg_query.h') do set file=%%f +if not defined file ( + echo "ERROR: pg_query.h not found" + +) + +rem Copy pg_query.lib to windows dir +copy /Y pg_query.lib "%projectDir%\libpg_query\windows\" + +rem Copy header +copy /Y pg_query.h "%projectDir%\libpg_query\include\" + +rem Cleanup: revert to original directory +cd /D %buildDir% + +exit /B 0 \ No newline at end of file diff --git a/.templates/buildAddon.sh b/.templates/buildAddon.sh new file mode 100644 index 0000000..ee9a574 --- /dev/null +++ b/.templates/buildAddon.sh @@ -0,0 +1,84 @@ +#!/usr/bin/env bash + +LIBPG_REPO=___LIBPG_REPO___ +LIBPG_COMMIT=___LIBPG_COMMIT___ +LIBPG_BRANCH=___LIBPG_BRANCH___ + +# Check if variables are set and exit if not +if [ -z "$LIBPG_COMMIT" ]; then + echo "ERROR: LIBPG_COMMIT variable is not set." + exit 1 +fi + +if [ -z "$LIBPG_BRANCH" ]; then + echo "ERROR: LIBPG_BRANCH variable is not set." + exit 1 +fi + +if [ -z "$LIBPG_REPO" ]; then + echo "ERROR: LIBPG_REPO variable is not set." + exit 1 +fi + +# Remember current directory and create a new, unique, temporary directory +rDIR=$(pwd) +tmpDir=$(mktemp -d 2>/dev/null || mktemp -d -t 'tmpdir.XXXX') + +# Define the make target +makeTarget=build + +# Change to the newly created temp directory +cd "$tmpDir" + +# Clone the selected branch of the libpg_query Git repo +git clone -b $LIBPG_BRANCH --single-branch $LIBPG_REPO +cd libpg_query + +# Checkout the desired commit +git checkout $LIBPG_COMMIT + +# needed if being invoked from within gyp +unset MAKEFLAGS +unset MFLAGS + +# Adaptively build for macOS or Linux +if [ "$(uname)" == "Darwin" ]; then + make CFLAGS='-mmacosx-version-min=10.7' PG_CFLAGS='-mmacosx-version-min=10.7' $makeTarget +elif [ "$(expr substr $(uname -s) 1 5)" == "Linux" ]; then + make CFLAGS='' PG_CFLAGS='' $makeTarget +fi + +# Terminate if build fails +if [ $? -ne 0 ]; then + echo "ERROR: 'make' command failed"; + exit 1; +fi + +# Search for libpg_query.a, error if not found +file=$(ls | grep 'libpg_query.a') +if [ ! $file ]; then + echo "ERROR: libpg_query.a not found"; + exit 1; +fi + +# Error if pg_query.h is missing +file=$(ls | grep 'pg_query.h') +if [ ! $file ]; then + echo "ERROR: pg_query.h not found"; + exit 1; +fi + +# Copy queryparser.cc, binding.gyp to current directory +if [ "$(uname)" == "Darwin" ]; then + cp $(pwd)/libpg_query.a $rDIR/libpg_query/osx/ +elif [ "$(expr substr $(uname -s) 1 5)" == "Linux" ]; then + cp $(pwd)/libpg_query.a $rDIR/libpg_query/linux/ +fi + +# Copy header +cp $(pwd)/pg_query.h $rDIR/libpg_query/include/ +cp $(pwd)/protobuf/*.proto $rDIR/libpg_query/protobuf/ + +# Cleanup: revert to original directory and remove the temp +cd "$rDIR" +rm -rf "$tmpDir" diff --git a/.yamlize/versions/14-latest.yaml b/.yamlize/versions/14-latest.yaml new file mode 100644 index 0000000..a10c101 --- /dev/null +++ b/.yamlize/versions/14-latest.yaml @@ -0,0 +1,7 @@ +env: + JOB: pg-14 + LIBPG_REPO: https://github.com/pganalyze/libpg_query.git + LIBPG_COMMIT: 1577ef7c6c349542149e34ffbfafc244ab942ec6 + LIBPG_BRANCH: 14-latest + PGSQL_TYPES: 14.0.0 + OPERATION_SYSYTEMS: [linux,mac] \ No newline at end of file diff --git a/.yamlize/versions/15-latest.yaml b/.yamlize/versions/15-latest.yaml new file mode 100644 index 0000000..d36227c --- /dev/null +++ b/.yamlize/versions/15-latest.yaml @@ -0,0 +1,7 @@ +env: + JOB: pg-15 + LIBPG_REPO: https://github.com/pganalyze/libpg_query.git + LIBPG_COMMIT: db39825bc7c1ddd45962ec6a626d740b7f8f027a + LIBPG_BRANCH: 15-latest + PGSQL_TYPES: 15.0.2 + OPERATION_SYSYTEMS: [linux,mac] \ No newline at end of file diff --git a/.yamlize/versions/16-latest.yaml b/.yamlize/versions/16-latest.yaml new file mode 100644 index 0000000..5a5367a --- /dev/null +++ b/.yamlize/versions/16-latest.yaml @@ -0,0 +1,7 @@ +env: + JOB: pg-16 + LIBPG_REPO: https://github.com/pganalyze/libpg_query.git + LIBPG_COMMIT: 1ec38940e5c6f09a4c1d17a46d839a881c4f2db7 + LIBPG_BRANCH: 16-latest + PGSQL_TYPES: 16.0.0 + OPERATION_SYSYTEMS: [linux,mac,win] \ No newline at end of file diff --git a/package.json b/package.json index 8e5160f..9e29d6c 100644 --- a/package.json +++ b/package.json @@ -40,6 +40,7 @@ "clean:wasm": "yarn make:wasm clean", "clean-cache:wasm": "yarn make:wasm clean-cache", "workflows": "node script/workflows.js", + "build:generate": "node script/utils/generate.js", "test": "mocha --timeout 5000", "binary:build": "node-pre-gyp rebuild package", "binary:publish": "AWS_PROFILE=supabase-dev node-pre-gyp publish" @@ -54,6 +55,7 @@ "@yamlize/cli": "^0.8.0", "chai": "^3.5.0", "emnapi": "^0.43.1", + "js-yaml": "^4.1.0", "lodash": "^4.17.15", "mocha": "^5.2.0", "rimraf": "5.0.0" @@ -61,7 +63,7 @@ "dependencies": { "@emnapi/runtime": "^0.43.1", "@mapbox/node-pre-gyp": "^1.0.8", - "@pgsql/types": "^15.0.1", + "@pgsql/types": "15.0.2", "node-addon-api": "^7.0.0", "node-gyp": "^10.0.1" }, @@ -80,4 +82,4 @@ "host": "https://supabase-public-artifacts-bucket.s3.amazonaws.com", "remote_path": "./libpg-query-node/" } -} +} \ No newline at end of file diff --git a/script/buildAddon.bat b/script/buildAddon.bat index 66a81e4..31d6c46 100644 --- a/script/buildAddon.bat +++ b/script/buildAddon.bat @@ -1,7 +1,30 @@ +:: this file is auto-generated, use "yarn build:generate " to rebuild with an env (e.g., pg-15) @echo off -set commit=db39825bc7c1ddd45962ec6a626d740b7f8f027a -set branch=15-latest +set LIBPG_REPO=https://github.com/pganalyze/libpg_query.git +set LIBPG_COMMIT=db39825bc7c1ddd45962ec6a626d740b7f8f027a +set LIBPG_BRANCH=15-latest + +:: Check if each required variable is set +if "%LIBPG_REPO%"=="" ( + echo ERROR: LIBPG_REPO variable is not set. + exit /B 1 +) + +if "%LIBPG_COMMIT%"=="" ( + echo ERROR: LIBPG_COMMIT variable is not set. + exit /B 1 +) + +if "%LIBPG_BRANCH%"=="" ( + echo ERROR: LIBPG_BRANCH variable is not set. + exit /B 1 +) + +:: The environment variables must be set +echo Using repository: %LIBPG_REPO% +echo Using commit: %LIBPG_COMMIT% +echo Using branch: %LIBPG_BRANCH% setlocal enabledelayedexpansion @@ -21,11 +44,11 @@ cd /D %tmpDir% rem Clone the selected branch of the libpg_query Git repo -git clone -b %branch% --single-branch https://github.com/pganalyze/libpg_query.git +git clone -b %LIBPG_BRANCH% --single-branch %LIBPG_REPO% cd libpg_query rem Checkout the desired commit -git checkout %commit% +git checkout %LIBPG_COMMIT% rem needed if being invoked from within gyp set MAKEFLAGS= diff --git a/script/buildAddon.sh b/script/buildAddon.sh index e6c1fbf..155fc63 100755 --- a/script/buildAddon.sh +++ b/script/buildAddon.sh @@ -1,8 +1,25 @@ #!/usr/bin/env bash +# this file is auto-generated, use "yarn build:generate " to rebuild with an env (e.g., pg-15) -# Set the desired commit hash and branch -commit=db39825bc7c1ddd45962ec6a626d740b7f8f027a -branch=15-latest +LIBPG_REPO=https://github.com/pganalyze/libpg_query.git +LIBPG_COMMIT=db39825bc7c1ddd45962ec6a626d740b7f8f027a +LIBPG_BRANCH=15-latest + +# Check if variables are set and exit if not +if [ -z "$LIBPG_COMMIT" ]; then + echo "ERROR: LIBPG_COMMIT variable is not set." + exit 1 +fi + +if [ -z "$LIBPG_BRANCH" ]; then + echo "ERROR: LIBPG_BRANCH variable is not set." + exit 1 +fi + +if [ -z "$LIBPG_REPO" ]; then + echo "ERROR: LIBPG_REPO variable is not set." + exit 1 +fi # Remember current directory and create a new, unique, temporary directory rDIR=$(pwd) @@ -15,11 +32,11 @@ makeTarget=build cd "$tmpDir" # Clone the selected branch of the libpg_query Git repo -git clone -b $branch --single-branch https://github.com/pganalyze/libpg_query.git +git clone -b $LIBPG_BRANCH --single-branch $LIBPG_REPO cd libpg_query # Checkout the desired commit -git checkout $commit +git checkout $LIBPG_COMMIT # needed if being invoked from within gyp unset MAKEFLAGS @@ -61,6 +78,7 @@ fi # Copy header cp $(pwd)/pg_query.h $rDIR/libpg_query/include/ +cp $(pwd)/protobuf/*.proto $rDIR/libpg_query/protobuf/ # Cleanup: revert to original directory and remove the temp cd "$rDIR" diff --git a/script/env.generated.json b/script/env.generated.json new file mode 100644 index 0000000..44b3627 --- /dev/null +++ b/script/env.generated.json @@ -0,0 +1,11 @@ +{ + "JOB": "pg-15", + "LIBPG_REPO": "https://github.com/pganalyze/libpg_query.git", + "LIBPG_COMMIT": "db39825bc7c1ddd45962ec6a626d740b7f8f027a", + "LIBPG_BRANCH": "15-latest", + "PGSQL_TYPES": "15.0.2", + "OPERATION_SYSYTEMS": [ + "linux", + "mac" + ] +} \ No newline at end of file diff --git a/script/utils/config.js b/script/utils/config.js new file mode 100644 index 0000000..4f39db3 --- /dev/null +++ b/script/utils/config.js @@ -0,0 +1,6 @@ +const path = require('path'); +const rootDir = path.join(__dirname, '/../../'); +module.exports.rootDir = rootDir; +module.exports.templatesDir = path.join(rootDir, '.templates'); +module.exports.yamlizeDir = path.join(rootDir, '.yamlize'); +module.exports.configDir = path.join(rootDir, '.yamlize/versions'); \ No newline at end of file diff --git a/script/utils/generate.js b/script/utils/generate.js new file mode 100644 index 0000000..27e54d2 --- /dev/null +++ b/script/utils/generate.js @@ -0,0 +1,107 @@ +#!/usr/bin/env node + +const fs = require('fs'); +const path = require('path'); +const { + configDir, + templatesDir, + rootDir +} = require('./config'); + +const { + getConfig +} = require('./get-config'); + +const { + getTemplates +} = require('./get-templates'); + +// Read the JOB from the command line arguments +const jobFilter = process.argv[2]; +console.log({jobFilter}) + +if (!jobFilter) { + console.error('Usage: node script.js '); + console.error('ENV is PG version, e.g. pg-15'); + process.exit(1); +} + +// Load templates and configurations +const templates = getTemplates(templatesDir); +const configs = getConfig(configDir); + +// Filter configurations based on the command line input +const filteredConfigs = configs.filter(config => config.JOB === jobFilter); + +if (filteredConfigs.length === 0) { + console.error(`No configurations found for ENV: ${jobFilter}`); + process.exit(1); +} + +// Directory to output the processed templates +const outputDir = path.join(rootDir, 'script'); +if (!fs.existsSync(outputDir)) { + fs.mkdirSync(outputDir); +} + +// get config +const config = filteredConfigs[0]; + +// update the package.json +const packageJsonPath = path.join(__dirname, '../../package.json'); +let packageJson = fs.readFileSync(packageJsonPath, 'utf8'); +packageJson = JSON.parse(packageJson); +packageJson.dependencies['@pgsql/types'] = config.PGSQL_TYPES; +fs.writeFileSync(packageJsonPath, JSON.stringify(packageJson, null, 2), 'utf8'); + +// Generate build files from the templates +templates.forEach(template => { + // Replace placeholders in the template content + let content = template.content; + // Dynamic replacement for each key in the config + Object.keys(config).forEach(key => { + const placeholder = new RegExp(`___${key.toUpperCase()}___`, 'g'); + content = content.replace(placeholder, config[key]); + }); + + // Define the output path for the processed template + const outputFile = path.join(outputDir, `${template.name}`); + const generatedEnv = path.join(outputDir, `env.generated.json`); + + // Write the processed template to the output directory + fs.writeFileSync(generatedEnv, JSON.stringify(config, null, 2), 'utf8'); + + + // Determine the file extension + const extension = path.extname(outputFile).toLowerCase(); + + // Mapping of file extensions to single-line comment syntax + const commentMap = { + '.bat': '::', + '.sh': '#', + '.js': '//', + '.ts': '//', + }; + + // Determine the comment prefix from the map or use default + const commentPrefix = commentMap.hasOwnProperty(extension) ? commentMap[extension] : defaultComment; + let header = ''; + + let newContent = ''; + + if (commentPrefix) { + const commentLine = `${commentPrefix} this file is auto-generated, use "yarn build:generate " to rebuild with an env (e.g., pg-15)\n`; + if (content.startsWith('#!')) { + // Find the end of the first line (shebang) + const firstLineEnd = content.indexOf('\n') + 1; + newContent = content.substring(0, firstLineEnd) + commentLine + content.substring(firstLineEnd); + } else { + newContent = commentLine + content; + } + } else { + newContent = content; // No comment to add + } + + fs.writeFileSync(outputFile, newContent, 'utf8'); + console.log(`Written: ${outputFile}`); +}); diff --git a/script/utils/get-config.js b/script/utils/get-config.js new file mode 100644 index 0000000..888a0d0 --- /dev/null +++ b/script/utils/get-config.js @@ -0,0 +1,35 @@ +const fs = require('fs'); +const path = require('path'); +const yaml = require('js-yaml'); + +module.exports.getConfig = (directory) => { + let result = [] + + // Read all files in the directory recursively + const readDirectory = (dir) => { + const files = fs.readdirSync(dir, { withFileTypes: true }); + + for (const file of files) { + const fullPath = path.join(dir, file.name); + if (file.isDirectory()) { + // Recursively read subdirectory + readDirectory(fullPath); + } else if (file.name.endsWith('.yaml') || file.name.endsWith('.yml')) { + // Read and parse YAML file + + try { + const fileContents = fs.readFileSync(fullPath, 'utf8'); + const parsedYaml = yaml.load(fileContents); + const key = path.relative(directory, fullPath); // Use relative path as key + result.push(parsedYaml.env); + } catch (error) { + console.error(`Error reading file ${fullPath}:`, error); + } + } + } + }; + + readDirectory(directory); + + return result; +} \ No newline at end of file diff --git a/script/utils/get-templates.js b/script/utils/get-templates.js new file mode 100644 index 0000000..09b9db5 --- /dev/null +++ b/script/utils/get-templates.js @@ -0,0 +1,20 @@ +const fs = require('fs'); +const path = require('path'); + +module.exports.getTemplates = (templatesDir) => { + try { + const files = fs.readdirSync(templatesDir); + return files.map(file => { + const filePath = path.join(templatesDir, file); + const content = fs.readFileSync(filePath, 'utf8'); + return { + name: path.basename(filePath), + filePath, + content + } + }); + } catch (err) { + console.error('Error processing the directory:', err); + } + +}; \ No newline at end of file From 6282d8f16584b056319b3f5dc1d04b172fb6ae5b Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Sun, 2 Jun 2024 21:44:19 -0700 Subject: [PATCH 32/35] generated workflows for windows and no-windows --- .../generated-build-and-test-no-win.yaml | 95 +++++++++++++++++++ .../workflows/generated-build-and-test.yaml | 8 +- .github/workflows/run-tests-linux.yml | 3 +- .github/workflows/run-tests-mac.yml | 3 +- .github/workflows/run-tests-win.yml | 3 +- .../workflows/build-and-publish-no-win.yaml | 16 ++++ .yamlize/workflows/build-and-test-no-win.yaml | 16 ++++ .yamlize/workflows/build-and-test.yaml | 2 +- .../workflows/yaml/artifacts/npm-no-win.yaml | 7 ++ .yamlize/workflows/yaml/artifacts/npm.yaml | 3 +- .../yaml/artifacts/prepare-no-win.yaml | 8 ++ .../yaml/build-artifacts-no-win.yaml | 16 ++++ .yamlize/workflows/yaml/build-artifacts.yaml | 2 +- package.json | 16 ++-- script/buildAddon.bat | 2 +- script/buildAddon.sh | 2 +- script/generate-non-win-workflows.js | 47 +++++++++ .../{workflows.js => generate-workflows.js} | 19 ++++ script/utils/generate.js | 2 +- 19 files changed, 251 insertions(+), 19 deletions(-) create mode 100644 .github/workflows/generated-build-and-test-no-win.yaml create mode 100644 .yamlize/workflows/build-and-publish-no-win.yaml create mode 100644 .yamlize/workflows/build-and-test-no-win.yaml create mode 100644 .yamlize/workflows/yaml/artifacts/npm-no-win.yaml create mode 100644 .yamlize/workflows/yaml/artifacts/prepare-no-win.yaml create mode 100644 .yamlize/workflows/yaml/build-artifacts-no-win.yaml create mode 100644 script/generate-non-win-workflows.js rename script/{workflows.js => generate-workflows.js} (51%) diff --git a/.github/workflows/generated-build-and-test-no-win.yaml b/.github/workflows/generated-build-and-test-no-win.yaml new file mode 100644 index 0000000..d73c3fb --- /dev/null +++ b/.github/workflows/generated-build-and-test-no-win.yaml @@ -0,0 +1,95 @@ +name: Generated Build libpg-query no windows ๐Ÿ›  +'on': + workflow_dispatch: null +jobs: + build-artifacts: + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: + - macos-latest + - ubuntu-latest + steps: + - name: Checkout Repository ๐Ÿ“ฅ + uses: actions/checkout@v4 + - name: Setup Node.js ๐ŸŒ + uses: actions/setup-node@v4 + with: + node-version: 20.x + cache: yarn + - name: Configure Git ๐Ÿ›  + run: | + git config user.name "Cosmology" + git config user.email "developers@cosmology.zone" + - name: Install and Build ๐Ÿ“ฆ + run: | + yarn + yarn binary:build + - name: Save Artifacts For Supabase CDN ๐Ÿ— + uses: actions/upload-artifact@v4 + with: + name: build-supabase-artifact-${{ matrix.os }} + path: ./build/stage/libpg-query-node/ + - name: Save Artifacts For NPM ๐Ÿ— + uses: actions/upload-artifact@v4 + with: + name: build-npm-artifact-${{ matrix.os }} + path: | + ${{ matrix.os == 'macos-latest' && './libpg_query/osx/libpg_query.a' || + matrix.os == 'ubuntu-latest' && './libpg_query/linux/libpg_query.a' }} + build-wasm: + needs: build-artifacts + runs-on: ubuntu-latest + steps: + - name: Checkout Repository ๐Ÿ“ฅ + uses: actions/checkout@v4 + - name: Setup Node.js ๐ŸŒ + uses: actions/setup-node@v4 + with: + node-version: 20.x + cache: yarn + - name: Install and Build ๐Ÿš€ + run: | + yarn + - name: Install Emscripten โœ๐Ÿป + run: | + sudo apt-get update + sudo apt-get install cmake python3 python3-pip + git clone --branch 3.1.59 --depth 1 https://github.com/emscripten-core/emsdk.git + cd emsdk + ./emsdk install 3.1.59 + ./emsdk activate 3.1.59 + source ./emsdk_env.sh + - name: Build with Emscripten ๐Ÿ— + run: | + source ./emsdk/emsdk_env.sh + emmake make + emmake make build + - name: Archive production artifacts ๐Ÿ› + uses: actions/upload-artifact@v4 + with: + name: wasm-artifacts + path: wasm + prepare-and-log: + needs: build-wasm + runs-on: ubuntu-latest + steps: + - name: Checkout Repository ๐Ÿ“ฅ + uses: actions/checkout@v4 + - name: Get Artifacts ๐Ÿ“š + uses: actions/download-artifact@v4 + with: + path: downloaded-artifacts + - name: Prepare artifacts ๐Ÿ“ฆ + run: | + find ./downloaded-artifacts/ + cp ./downloaded-artifacts/build-npm-artifact-windows-latest/pg_query.lib ./libpg_query/windows/queryparser.lib + cp ./downloaded-artifacts/build-npm-artifact-ubuntu-latest/libpg_query.a ./libpg_query/linux/libpg_query.a + cp ./downloaded-artifacts/build-npm-artifact-macos-latest/libpg_query.a ./libpg_query/osx/libpg_query.a + cp ./downloaded-artifacts/wasm-artifacts/libpg-query.js ./wasm/libpg-query.js + cp ./downloaded-artifacts/wasm-artifacts/libpg-query.wasm ./wasm/libpg-query.wasm + rm -rf ./downloaded-artifacts + - name: Log + run: | + find ./libpg_query/ + find ./wasm diff --git a/.github/workflows/generated-build-and-test.yaml b/.github/workflows/generated-build-and-test.yaml index 4d067ca..92682d3 100644 --- a/.github/workflows/generated-build-and-test.yaml +++ b/.github/workflows/generated-build-and-test.yaml @@ -1,4 +1,4 @@ -name: Build and Test ๐Ÿ›  +name: Generated Build libpg-query ๐Ÿ›  'on': workflow_dispatch: null jobs: @@ -7,6 +7,7 @@ jobs: strategy: matrix: os: + - windows-latest - macos-latest - ubuntu-latest steps: @@ -36,7 +37,8 @@ jobs: name: build-npm-artifact-${{ matrix.os }} path: | ${{ matrix.os == 'macos-latest' && './libpg_query/osx/libpg_query.a' || - matrix.os == 'ubuntu-latest' && './libpg_query/linux/libpg_query.a' }} + matrix.os == 'ubuntu-latest' && './libpg_query/linux/libpg_query.a' || + matrix.os == 'windows-latest' && './libpg_query/windows/pg_query.lib' }} build-wasm: needs: build-artifacts runs-on: ubuntu-latest @@ -70,7 +72,7 @@ jobs: with: name: wasm-artifacts path: wasm - prepare-and-publish: + prepare-and-log: needs: build-wasm runs-on: ubuntu-latest steps: diff --git a/.github/workflows/run-tests-linux.yml b/.github/workflows/run-tests-linux.yml index f55b061..21dbbb3 100644 --- a/.github/workflows/run-tests-linux.yml +++ b/.github/workflows/run-tests-linux.yml @@ -1,8 +1,9 @@ name: Linux ๐Ÿงช on: + push: pull_request: - types: [opened, push, reopened] + types: [opened, synchronize, reopened] workflow_dispatch: jobs: diff --git a/.github/workflows/run-tests-mac.yml b/.github/workflows/run-tests-mac.yml index fa26f4a..3bdb102 100644 --- a/.github/workflows/run-tests-mac.yml +++ b/.github/workflows/run-tests-mac.yml @@ -1,8 +1,9 @@ name: Mac ๐Ÿงช on: + push: pull_request: - types: [opened, push, reopened] + types: [opened, synchronize, reopened] workflow_dispatch: jobs: diff --git a/.github/workflows/run-tests-win.yml b/.github/workflows/run-tests-win.yml index 03f1fdc..ac6d83f 100644 --- a/.github/workflows/run-tests-win.yml +++ b/.github/workflows/run-tests-win.yml @@ -1,8 +1,9 @@ name: Windows ๐Ÿ›  on: + push: pull_request: - types: [opened, push, reopened] + types: [opened, synchronize, reopened] workflow_dispatch: jobs: diff --git a/.yamlize/workflows/build-and-publish-no-win.yaml b/.yamlize/workflows/build-and-publish-no-win.yaml new file mode 100644 index 0000000..f1f50bb --- /dev/null +++ b/.yamlize/workflows/build-and-publish-no-win.yaml @@ -0,0 +1,16 @@ +name: Build and Publish ๐Ÿš€ + +on: + workflow_dispatch: + +jobs: + build-artifacts: + import-yaml: yaml/build-artifacts-no-win.yaml + + build-wasm: + needs: build-artifacts + import-yaml: yaml/build-wasm.yaml + + prepare-and-publish: + needs: build-wasm + import-yaml: yaml/prepare-and-publish.yaml \ No newline at end of file diff --git a/.yamlize/workflows/build-and-test-no-win.yaml b/.yamlize/workflows/build-and-test-no-win.yaml new file mode 100644 index 0000000..d81e3e3 --- /dev/null +++ b/.yamlize/workflows/build-and-test-no-win.yaml @@ -0,0 +1,16 @@ +name: Build and Test ๐Ÿ›  + +on: + workflow_dispatch: + +jobs: + build-artifacts: + import-yaml: yaml/build-artifacts-no-win.yaml + + build-wasm: + needs: build-artifacts + import-yaml: yaml/build-wasm.yaml + + prepare-and-log: + needs: build-wasm + import-yaml: yaml/prepare-and-log.yaml \ No newline at end of file diff --git a/.yamlize/workflows/build-and-test.yaml b/.yamlize/workflows/build-and-test.yaml index aaf9a11..db5c5ba 100644 --- a/.yamlize/workflows/build-and-test.yaml +++ b/.yamlize/workflows/build-and-test.yaml @@ -11,6 +11,6 @@ jobs: needs: build-artifacts import-yaml: yaml/build-wasm.yaml - prepare-and-publish: + prepare-and-log: needs: build-wasm import-yaml: yaml/prepare-and-log.yaml \ No newline at end of file diff --git a/.yamlize/workflows/yaml/artifacts/npm-no-win.yaml b/.yamlize/workflows/yaml/artifacts/npm-no-win.yaml new file mode 100644 index 0000000..f9b9fb1 --- /dev/null +++ b/.yamlize/workflows/yaml/artifacts/npm-no-win.yaml @@ -0,0 +1,7 @@ +name: Save Artifacts For NPM ๐Ÿ— +uses: actions/upload-artifact@v4 +with: + name: build-npm-artifact-${{ matrix.os }} + path: | + ${{ matrix.os == 'macos-latest' && './libpg_query/osx/libpg_query.a' || + matrix.os == 'ubuntu-latest' && './libpg_query/linux/libpg_query.a' }} \ No newline at end of file diff --git a/.yamlize/workflows/yaml/artifacts/npm.yaml b/.yamlize/workflows/yaml/artifacts/npm.yaml index f9b9fb1..a43be0d 100644 --- a/.yamlize/workflows/yaml/artifacts/npm.yaml +++ b/.yamlize/workflows/yaml/artifacts/npm.yaml @@ -4,4 +4,5 @@ with: name: build-npm-artifact-${{ matrix.os }} path: | ${{ matrix.os == 'macos-latest' && './libpg_query/osx/libpg_query.a' || - matrix.os == 'ubuntu-latest' && './libpg_query/linux/libpg_query.a' }} \ No newline at end of file + matrix.os == 'ubuntu-latest' && './libpg_query/linux/libpg_query.a' || + matrix.os == 'windows-latest' && './libpg_query/windows/pg_query.lib' }} \ No newline at end of file diff --git a/.yamlize/workflows/yaml/artifacts/prepare-no-win.yaml b/.yamlize/workflows/yaml/artifacts/prepare-no-win.yaml new file mode 100644 index 0000000..63f3305 --- /dev/null +++ b/.yamlize/workflows/yaml/artifacts/prepare-no-win.yaml @@ -0,0 +1,8 @@ +name: Prepare artifacts ๐Ÿ“ฆ +run: | + find ./downloaded-artifacts/ + cp ./downloaded-artifacts/build-npm-artifact-ubuntu-latest/libpg_query.a ./libpg_query/linux/libpg_query.a + cp ./downloaded-artifacts/build-npm-artifact-macos-latest/libpg_query.a ./libpg_query/osx/libpg_query.a + cp ./downloaded-artifacts/wasm-artifacts/libpg-query.js ./wasm/libpg-query.js + cp ./downloaded-artifacts/wasm-artifacts/libpg-query.wasm ./wasm/libpg-query.wasm + rm -rf ./downloaded-artifacts diff --git a/.yamlize/workflows/yaml/build-artifacts-no-win.yaml b/.yamlize/workflows/yaml/build-artifacts-no-win.yaml new file mode 100644 index 0000000..918face --- /dev/null +++ b/.yamlize/workflows/yaml/build-artifacts-no-win.yaml @@ -0,0 +1,16 @@ +runs-on: ${{ matrix.os }} +strategy: + matrix: + os: [macos-latest, ubuntu-latest] +steps: + - import-yaml: git/checkout.yaml + - import-yaml: node/setup.yaml + - import-yaml: git/configure.yaml + + - name: Install and Build ๐Ÿ“ฆ + run: | + yarn + yarn binary:build + + - import-yaml: artifacts/supabase.yaml + - import-yaml: artifacts/npm-no-win.yaml \ No newline at end of file diff --git a/.yamlize/workflows/yaml/build-artifacts.yaml b/.yamlize/workflows/yaml/build-artifacts.yaml index 13e1a9f..22b2723 100644 --- a/.yamlize/workflows/yaml/build-artifacts.yaml +++ b/.yamlize/workflows/yaml/build-artifacts.yaml @@ -1,7 +1,7 @@ runs-on: ${{ matrix.os }} strategy: matrix: - os: [macos-latest, ubuntu-latest] + os: [windows-latest, macos-latest, ubuntu-latest] steps: - import-yaml: git/checkout.yaml - import-yaml: node/setup.yaml diff --git a/package.json b/package.json index 9e29d6c..f9dc6f0 100644 --- a/package.json +++ b/package.json @@ -34,13 +34,15 @@ "configure": "node-pre-gyp configure", "install": "node-pre-gyp install --fallback-to-build --loglevel verbose", "rebuild": "node-pre-gyp rebuild --loglevel verbose", - "make:wasm": "docker run --rm -v $(pwd):/src -u $(id -u):$(id -g) emscripten/emsdk emmake make", - "build:wasm": "yarn make:wasm build", - "rebuild:wasm": "yarn make:wasm rebuild", - "clean:wasm": "yarn make:wasm clean", - "clean-cache:wasm": "yarn make:wasm clean-cache", - "workflows": "node script/workflows.js", - "build:generate": "node script/utils/generate.js", + "wasm:make": "docker run --rm -v $(pwd):/src -u $(id -u):$(id -g) emscripten/emsdk emmake make", + "wasm:build": "yarn wasm:make build", + "wasm:rebuild": "yarn wasm:make rebuild", + "wasm:clean": "yarn wasm:make clean", + "wasm:clean-cache": "yarn wasm:make clean-cache", + "generate:workflows:win": "node script/generate-workflows.js", + "generate:workflows:no-win": "node script/generate-non-win-workflows.js", + "generate:workflows": "npm run generate:workflows:win && npm run generate:workflows:no-win", + "generate:build": "node script/utils/generate.js", "test": "mocha --timeout 5000", "binary:build": "node-pre-gyp rebuild package", "binary:publish": "AWS_PROFILE=supabase-dev node-pre-gyp publish" diff --git a/script/buildAddon.bat b/script/buildAddon.bat index 31d6c46..bc0eb3c 100644 --- a/script/buildAddon.bat +++ b/script/buildAddon.bat @@ -1,4 +1,4 @@ -:: this file is auto-generated, use "yarn build:generate " to rebuild with an env (e.g., pg-15) +:: this file is auto-generated, use "yarn generate:build " to rebuild with an env (e.g., pg-15) @echo off set LIBPG_REPO=https://github.com/pganalyze/libpg_query.git diff --git a/script/buildAddon.sh b/script/buildAddon.sh index 155fc63..eff6309 100755 --- a/script/buildAddon.sh +++ b/script/buildAddon.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# this file is auto-generated, use "yarn build:generate " to rebuild with an env (e.g., pg-15) +# this file is auto-generated, use "yarn generate:build " to rebuild with an env (e.g., pg-15) LIBPG_REPO=https://github.com/pganalyze/libpg_query.git LIBPG_COMMIT=db39825bc7c1ddd45962ec6a626d740b7f8f027a diff --git a/script/generate-non-win-workflows.js b/script/generate-non-win-workflows.js new file mode 100644 index 0000000..766c389 --- /dev/null +++ b/script/generate-non-win-workflows.js @@ -0,0 +1,47 @@ +const { exec } = require('child_process'); +const { join } = require('path'); +const fs = require('fs'); +const yaml = require('js-yaml'); + +// if (typeof process.argv[2] !== 'string') { +// throw new Error('branchName not provided'); +// } + +const yamldir = (s) => join(__dirname, '/../.yamlize/', s); +const workflowDir = (s) => join(__dirname, '/../.github/workflows/', s); + +const cmd = (config, workflow) => ([ + 'yamlize', + '--config', + yamldir(`config/${config}`), + + '--inFile', + yamldir(`workflows/${workflow}`), + + '--outFile', + workflowDir(`generated-${workflow}`), +].join(' ')); + + +exec(cmd('config.yaml', 'build-and-test-no-win.yaml'), (error, _stdout, _stderr) => { + if (error) { + console.error(`Error: ${error.message}`); + return; + } + + // Read the generated YAML file + const outputPath = workflowDir(`generated-build-and-test-no-win.yaml`); + try { + const fileContents = fs.readFileSync(outputPath, 'utf8'); + const data = yaml.load(fileContents); + + // Modify the top-level 'name' property + data.name = 'Generated Build libpg-query no windows ๐Ÿ› '; + + // Write the modified YAML back to the file + const newYamlContent = yaml.dump(data, { lineWidth: -1 }); + fs.writeFileSync(outputPath, newYamlContent, 'utf8'); + } catch (readOrWriteError) { + console.error(`Error processing YAML file: ${readOrWriteError}`); + } +}); \ No newline at end of file diff --git a/script/workflows.js b/script/generate-workflows.js similarity index 51% rename from script/workflows.js rename to script/generate-workflows.js index fe34703..78f3d65 100644 --- a/script/workflows.js +++ b/script/generate-workflows.js @@ -1,5 +1,7 @@ const { exec } = require('child_process'); const { join } = require('path'); +const fs = require('fs'); +const yaml = require('js-yaml'); // if (typeof process.argv[2] !== 'string') { // throw new Error('branchName not provided'); @@ -26,4 +28,21 @@ exec(cmd('config.yaml', 'build-and-test.yaml'), (error, _stdout, _stderr) => { console.error(`Error: ${error.message}`); return; } + + + // Read the generated YAML file + const outputPath = workflowDir(`generated-build-and-test.yaml`); + try { + const fileContents = fs.readFileSync(outputPath, 'utf8'); + const data = yaml.load(fileContents); + + // Modify the top-level 'name' property + data.name = 'Generated Build libpg-query ๐Ÿ› '; + + // Write the modified YAML back to the file + const newYamlContent = yaml.dump(data, { lineWidth: -1 }); + fs.writeFileSync(outputPath, newYamlContent, 'utf8'); + } catch (readOrWriteError) { + console.error(`Error processing YAML file: ${readOrWriteError}`); + } }); \ No newline at end of file diff --git a/script/utils/generate.js b/script/utils/generate.js index 27e54d2..6b8d3e4 100644 --- a/script/utils/generate.js +++ b/script/utils/generate.js @@ -90,7 +90,7 @@ templates.forEach(template => { let newContent = ''; if (commentPrefix) { - const commentLine = `${commentPrefix} this file is auto-generated, use "yarn build:generate " to rebuild with an env (e.g., pg-15)\n`; + const commentLine = `${commentPrefix} this file is auto-generated, use "yarn generate:build " to rebuild with an env (e.g., pg-15)\n`; if (content.startsWith('#!')) { // Find the end of the first line (shebang) const firstLineEnd = content.indexOf('\n') + 1; From 87a02ae7192c1422e189be6297d608118c563c2e Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Sun, 2 Jun 2024 21:52:40 -0700 Subject: [PATCH 33/35] cleanup workflows --- ...l => generated-build-and-publish-no-win.yaml} | 6 +----- ...est.yaml => generated-build-and-publish.yaml} | 6 +----- .yamlize/workflows/build-and-publish-no-win.yaml | 2 +- .yamlize/workflows/build-and-test-no-win.yaml | 16 ---------------- .yamlize/workflows/build-and-test.yaml | 16 ---------------- .../workflows/yaml/build-artifacts-no-win.yaml | 2 +- .yamlize/workflows/yaml/build-artifacts.yaml | 2 +- ...-log.yaml => prepare-and-publish-no-win.yaml} | 6 ++++++ .yamlize/workflows/yaml/prepare-and-publish.yaml | 13 +++++++++---- script/generate-non-win-workflows.js | 4 ++-- script/generate-workflows.js | 4 ++-- 11 files changed, 24 insertions(+), 53 deletions(-) rename .github/workflows/{generated-build-and-test-no-win.yaml => generated-build-and-publish-no-win.yaml} (94%) rename .github/workflows/{generated-build-and-test.yaml => generated-build-and-publish.yaml} (94%) delete mode 100644 .yamlize/workflows/build-and-test-no-win.yaml delete mode 100644 .yamlize/workflows/build-and-test.yaml rename .yamlize/workflows/yaml/{prepare-and-log.yaml => prepare-and-publish-no-win.yaml} (63%) diff --git a/.github/workflows/generated-build-and-test-no-win.yaml b/.github/workflows/generated-build-and-publish-no-win.yaml similarity index 94% rename from .github/workflows/generated-build-and-test-no-win.yaml rename to .github/workflows/generated-build-and-publish-no-win.yaml index d73c3fb..23c32c1 100644 --- a/.github/workflows/generated-build-and-test-no-win.yaml +++ b/.github/workflows/generated-build-and-publish-no-win.yaml @@ -17,10 +17,6 @@ jobs: with: node-version: 20.x cache: yarn - - name: Configure Git ๐Ÿ›  - run: | - git config user.name "Cosmology" - git config user.email "developers@cosmology.zone" - name: Install and Build ๐Ÿ“ฆ run: | yarn @@ -70,7 +66,7 @@ jobs: with: name: wasm-artifacts path: wasm - prepare-and-log: + prepare-and-publish: needs: build-wasm runs-on: ubuntu-latest steps: diff --git a/.github/workflows/generated-build-and-test.yaml b/.github/workflows/generated-build-and-publish.yaml similarity index 94% rename from .github/workflows/generated-build-and-test.yaml rename to .github/workflows/generated-build-and-publish.yaml index 92682d3..dd67718 100644 --- a/.github/workflows/generated-build-and-test.yaml +++ b/.github/workflows/generated-build-and-publish.yaml @@ -18,10 +18,6 @@ jobs: with: node-version: 20.x cache: yarn - - name: Configure Git ๐Ÿ›  - run: | - git config user.name "Cosmology" - git config user.email "developers@cosmology.zone" - name: Install and Build ๐Ÿ“ฆ run: | yarn @@ -72,7 +68,7 @@ jobs: with: name: wasm-artifacts path: wasm - prepare-and-log: + prepare-and-publish: needs: build-wasm runs-on: ubuntu-latest steps: diff --git a/.yamlize/workflows/build-and-publish-no-win.yaml b/.yamlize/workflows/build-and-publish-no-win.yaml index f1f50bb..73958f4 100644 --- a/.yamlize/workflows/build-and-publish-no-win.yaml +++ b/.yamlize/workflows/build-and-publish-no-win.yaml @@ -13,4 +13,4 @@ jobs: prepare-and-publish: needs: build-wasm - import-yaml: yaml/prepare-and-publish.yaml \ No newline at end of file + import-yaml: yaml/prepare-and-publish-no-win.yaml \ No newline at end of file diff --git a/.yamlize/workflows/build-and-test-no-win.yaml b/.yamlize/workflows/build-and-test-no-win.yaml deleted file mode 100644 index d81e3e3..0000000 --- a/.yamlize/workflows/build-and-test-no-win.yaml +++ /dev/null @@ -1,16 +0,0 @@ -name: Build and Test ๐Ÿ›  - -on: - workflow_dispatch: - -jobs: - build-artifacts: - import-yaml: yaml/build-artifacts-no-win.yaml - - build-wasm: - needs: build-artifacts - import-yaml: yaml/build-wasm.yaml - - prepare-and-log: - needs: build-wasm - import-yaml: yaml/prepare-and-log.yaml \ No newline at end of file diff --git a/.yamlize/workflows/build-and-test.yaml b/.yamlize/workflows/build-and-test.yaml deleted file mode 100644 index db5c5ba..0000000 --- a/.yamlize/workflows/build-and-test.yaml +++ /dev/null @@ -1,16 +0,0 @@ -name: Build and Test ๐Ÿ›  - -on: - workflow_dispatch: - -jobs: - build-artifacts: - import-yaml: yaml/build-artifacts.yaml - - build-wasm: - needs: build-artifacts - import-yaml: yaml/build-wasm.yaml - - prepare-and-log: - needs: build-wasm - import-yaml: yaml/prepare-and-log.yaml \ No newline at end of file diff --git a/.yamlize/workflows/yaml/build-artifacts-no-win.yaml b/.yamlize/workflows/yaml/build-artifacts-no-win.yaml index 918face..86cc04e 100644 --- a/.yamlize/workflows/yaml/build-artifacts-no-win.yaml +++ b/.yamlize/workflows/yaml/build-artifacts-no-win.yaml @@ -5,7 +5,7 @@ strategy: steps: - import-yaml: git/checkout.yaml - import-yaml: node/setup.yaml - - import-yaml: git/configure.yaml + # - import-yaml: git/configure.yaml - name: Install and Build ๐Ÿ“ฆ run: | diff --git a/.yamlize/workflows/yaml/build-artifacts.yaml b/.yamlize/workflows/yaml/build-artifacts.yaml index 22b2723..38d1fe0 100644 --- a/.yamlize/workflows/yaml/build-artifacts.yaml +++ b/.yamlize/workflows/yaml/build-artifacts.yaml @@ -5,7 +5,7 @@ strategy: steps: - import-yaml: git/checkout.yaml - import-yaml: node/setup.yaml - - import-yaml: git/configure.yaml + # - import-yaml: git/configure.yaml - name: Install and Build ๐Ÿ“ฆ run: | diff --git a/.yamlize/workflows/yaml/prepare-and-log.yaml b/.yamlize/workflows/yaml/prepare-and-publish-no-win.yaml similarity index 63% rename from .yamlize/workflows/yaml/prepare-and-log.yaml rename to .yamlize/workflows/yaml/prepare-and-publish-no-win.yaml index b47a38c..65c6003 100644 --- a/.yamlize/workflows/yaml/prepare-and-log.yaml +++ b/.yamlize/workflows/yaml/prepare-and-publish-no-win.yaml @@ -10,3 +10,9 @@ steps: run: | find ./libpg_query/ find ./wasm + + # - name: Publish to NPM ๐Ÿš€ + # run: | + # npm publish + # env: + # NODE_AUTH_TOKEN: ${{secrets.NPM_API_KEY}} diff --git a/.yamlize/workflows/yaml/prepare-and-publish.yaml b/.yamlize/workflows/yaml/prepare-and-publish.yaml index 4efd548..65c6003 100644 --- a/.yamlize/workflows/yaml/prepare-and-publish.yaml +++ b/.yamlize/workflows/yaml/prepare-and-publish.yaml @@ -6,8 +6,13 @@ steps: - import-yaml: artifacts/prepare.yaml - - name: Publish to NPM ๐Ÿš€ + - name: Log run: | - npm publish - env: - NODE_AUTH_TOKEN: ${{secrets.NPM_API_KEY}} \ No newline at end of file + find ./libpg_query/ + find ./wasm + + # - name: Publish to NPM ๐Ÿš€ + # run: | + # npm publish + # env: + # NODE_AUTH_TOKEN: ${{secrets.NPM_API_KEY}} diff --git a/script/generate-non-win-workflows.js b/script/generate-non-win-workflows.js index 766c389..6293361 100644 --- a/script/generate-non-win-workflows.js +++ b/script/generate-non-win-workflows.js @@ -23,14 +23,14 @@ const cmd = (config, workflow) => ([ ].join(' ')); -exec(cmd('config.yaml', 'build-and-test-no-win.yaml'), (error, _stdout, _stderr) => { +exec(cmd('config.yaml', 'build-and-publish-no-win.yaml'), (error, _stdout, _stderr) => { if (error) { console.error(`Error: ${error.message}`); return; } // Read the generated YAML file - const outputPath = workflowDir(`generated-build-and-test-no-win.yaml`); + const outputPath = workflowDir(`generated-build-and-publish-no-win.yaml`); try { const fileContents = fs.readFileSync(outputPath, 'utf8'); const data = yaml.load(fileContents); diff --git a/script/generate-workflows.js b/script/generate-workflows.js index 78f3d65..972ca95 100644 --- a/script/generate-workflows.js +++ b/script/generate-workflows.js @@ -23,7 +23,7 @@ const cmd = (config, workflow) => ([ ].join(' ')); -exec(cmd('config.yaml', 'build-and-test.yaml'), (error, _stdout, _stderr) => { +exec(cmd('config.yaml', 'build-and-publish.yaml'), (error, _stdout, _stderr) => { if (error) { console.error(`Error: ${error.message}`); return; @@ -31,7 +31,7 @@ exec(cmd('config.yaml', 'build-and-test.yaml'), (error, _stdout, _stderr) => { // Read the generated YAML file - const outputPath = workflowDir(`generated-build-and-test.yaml`); + const outputPath = workflowDir(`generated-build-and-publish.yaml`); try { const fileContents = fs.readFileSync(outputPath, 'utf8'); const data = yaml.load(fileContents); From d0e13a7fbf396f069de9a5a48c5029d295d3f647 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Sun, 2 Jun 2024 21:58:15 -0700 Subject: [PATCH 34/35] yaml --- .yamlize/versions/14-latest.yaml | 2 +- .yamlize/versions/15-latest.yaml | 2 +- .yamlize/versions/16-latest.yaml | 2 +- script/env.generated.json | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.yamlize/versions/14-latest.yaml b/.yamlize/versions/14-latest.yaml index a10c101..90ac91a 100644 --- a/.yamlize/versions/14-latest.yaml +++ b/.yamlize/versions/14-latest.yaml @@ -4,4 +4,4 @@ env: LIBPG_COMMIT: 1577ef7c6c349542149e34ffbfafc244ab942ec6 LIBPG_BRANCH: 14-latest PGSQL_TYPES: 14.0.0 - OPERATION_SYSYTEMS: [linux,mac] \ No newline at end of file + OPERATING_SYSTEMS: [linux,mac] \ No newline at end of file diff --git a/.yamlize/versions/15-latest.yaml b/.yamlize/versions/15-latest.yaml index d36227c..e587c57 100644 --- a/.yamlize/versions/15-latest.yaml +++ b/.yamlize/versions/15-latest.yaml @@ -4,4 +4,4 @@ env: LIBPG_COMMIT: db39825bc7c1ddd45962ec6a626d740b7f8f027a LIBPG_BRANCH: 15-latest PGSQL_TYPES: 15.0.2 - OPERATION_SYSYTEMS: [linux,mac] \ No newline at end of file + OPERATING_SYSTEMS: [linux,mac] \ No newline at end of file diff --git a/.yamlize/versions/16-latest.yaml b/.yamlize/versions/16-latest.yaml index 5a5367a..b0abbe4 100644 --- a/.yamlize/versions/16-latest.yaml +++ b/.yamlize/versions/16-latest.yaml @@ -4,4 +4,4 @@ env: LIBPG_COMMIT: 1ec38940e5c6f09a4c1d17a46d839a881c4f2db7 LIBPG_BRANCH: 16-latest PGSQL_TYPES: 16.0.0 - OPERATION_SYSYTEMS: [linux,mac,win] \ No newline at end of file + OPERATING_SYSTEMS: [linux,mac,win] \ No newline at end of file diff --git a/script/env.generated.json b/script/env.generated.json index 44b3627..c167d8b 100644 --- a/script/env.generated.json +++ b/script/env.generated.json @@ -4,7 +4,7 @@ "LIBPG_COMMIT": "db39825bc7c1ddd45962ec6a626d740b7f8f027a", "LIBPG_BRANCH": "15-latest", "PGSQL_TYPES": "15.0.2", - "OPERATION_SYSYTEMS": [ + "OPERATING_SYSTEMS": [ "linux", "mac" ] From 1efef64da3a6a78f1a10b522c49aa7987c96e412 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Sun, 2 Jun 2024 23:04:14 -0700 Subject: [PATCH 35/35] added test multi-plexing --- .yamlize/versions/14-latest.yaml | 2 +- .yamlize/versions/15-latest.yaml | 2 +- .yamlize/versions/16-latest.yaml | 2 +- package.json | 15 +- run-tests.js | 26 + script/env.generated.json | 11 - script/utils/generate.js | 18 +- test/{index.js => pg-14.test.js} | 0 test/pg-15.test.js | 143 ++++ test/pg-16.test.js | 143 ++++ yarn-error.log | 1323 ++++++++++++++++++++++++++++++ yarn.lock | 17 +- 12 files changed, 1670 insertions(+), 32 deletions(-) create mode 100644 run-tests.js delete mode 100644 script/env.generated.json rename test/{index.js => pg-14.test.js} (100%) create mode 100644 test/pg-15.test.js create mode 100644 test/pg-16.test.js create mode 100644 yarn-error.log diff --git a/.yamlize/versions/14-latest.yaml b/.yamlize/versions/14-latest.yaml index 90ac91a..d95a2a5 100644 --- a/.yamlize/versions/14-latest.yaml +++ b/.yamlize/versions/14-latest.yaml @@ -1,5 +1,5 @@ env: - JOB: pg-14 + PGENV: pg-14 LIBPG_REPO: https://github.com/pganalyze/libpg_query.git LIBPG_COMMIT: 1577ef7c6c349542149e34ffbfafc244ab942ec6 LIBPG_BRANCH: 14-latest diff --git a/.yamlize/versions/15-latest.yaml b/.yamlize/versions/15-latest.yaml index e587c57..8a93a65 100644 --- a/.yamlize/versions/15-latest.yaml +++ b/.yamlize/versions/15-latest.yaml @@ -1,5 +1,5 @@ env: - JOB: pg-15 + PGENV: pg-15 LIBPG_REPO: https://github.com/pganalyze/libpg_query.git LIBPG_COMMIT: db39825bc7c1ddd45962ec6a626d740b7f8f027a LIBPG_BRANCH: 15-latest diff --git a/.yamlize/versions/16-latest.yaml b/.yamlize/versions/16-latest.yaml index b0abbe4..747b4f1 100644 --- a/.yamlize/versions/16-latest.yaml +++ b/.yamlize/versions/16-latest.yaml @@ -1,5 +1,5 @@ env: - JOB: pg-16 + PGENV: pg-16 LIBPG_REPO: https://github.com/pganalyze/libpg_query.git LIBPG_COMMIT: 1ec38940e5c6f09a4c1d17a46d839a881c4f2db7 LIBPG_BRANCH: 16-latest diff --git a/package.json b/package.json index f9dc6f0..7632ea1 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,7 @@ "generate:workflows:no-win": "node script/generate-non-win-workflows.js", "generate:workflows": "npm run generate:workflows:win && npm run generate:workflows:no-win", "generate:build": "node script/utils/generate.js", - "test": "mocha --timeout 5000", + "test": "node run-tests.js", "binary:build": "node-pre-gyp rebuild package", "binary:publish": "AWS_PROFILE=supabase-dev node-pre-gyp publish" }, @@ -83,5 +83,16 @@ "module_path": "./build/Release/", "host": "https://supabase-public-artifacts-bucket.s3.amazonaws.com", "remote_path": "./libpg-query-node/" + }, + "libpgQueryConfig": { + "PGENV": "pg-15", + "LIBPG_REPO": "https://github.com/pganalyze/libpg_query.git", + "LIBPG_COMMIT": "db39825bc7c1ddd45962ec6a626d740b7f8f027a", + "LIBPG_BRANCH": "15-latest", + "PGSQL_TYPES": "15.0.2", + "OPERATING_SYSTEMS": [ + "linux", + "mac" + ] } -} \ No newline at end of file +} diff --git a/run-tests.js b/run-tests.js new file mode 100644 index 0000000..f4a0eba --- /dev/null +++ b/run-tests.js @@ -0,0 +1,26 @@ +const { exec } = require('child_process'); +const fs = require('fs'); +const path = require('path'); + +const packagePath = path.join(__dirname, 'package.json'); +const package = JSON.parse(fs.readFileSync(packagePath, 'utf8')); +const pgEnv = package.libpgQueryConfig.PGENV; + +// Construct the Mocha command +const testCommand = `mocha --timeout 5000 "test/${pgEnv}.test.js"`; + +console.log(`Running tests: ${pgEnv}`); +console.log(`Executing: ${testCommand}`); + +// Execute the Mocha command +exec(testCommand, (error, stdout, stderr) => { + if (error) { + console.error(`Error: ${error.message}`); + return; + } + if (stderr) { + console.error(`stderr: ${stderr}`); + return; + } + console.log(stdout); +}); diff --git a/script/env.generated.json b/script/env.generated.json deleted file mode 100644 index c167d8b..0000000 --- a/script/env.generated.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "JOB": "pg-15", - "LIBPG_REPO": "https://github.com/pganalyze/libpg_query.git", - "LIBPG_COMMIT": "db39825bc7c1ddd45962ec6a626d740b7f8f027a", - "LIBPG_BRANCH": "15-latest", - "PGSQL_TYPES": "15.0.2", - "OPERATING_SYSTEMS": [ - "linux", - "mac" - ] -} \ No newline at end of file diff --git a/script/utils/generate.js b/script/utils/generate.js index 6b8d3e4..bcc6f2a 100644 --- a/script/utils/generate.js +++ b/script/utils/generate.js @@ -16,11 +16,11 @@ const { getTemplates } = require('./get-templates'); -// Read the JOB from the command line arguments -const jobFilter = process.argv[2]; -console.log({jobFilter}) +// Read the PGENV from the command line arguments +const envFilter = process.argv[2]; +console.log({envFilter}) -if (!jobFilter) { +if (!envFilter) { console.error('Usage: node script.js '); console.error('ENV is PG version, e.g. pg-15'); process.exit(1); @@ -31,10 +31,10 @@ const templates = getTemplates(templatesDir); const configs = getConfig(configDir); // Filter configurations based on the command line input -const filteredConfigs = configs.filter(config => config.JOB === jobFilter); +const filteredConfigs = configs.filter(config => config.PGENV === envFilter); if (filteredConfigs.length === 0) { - console.error(`No configurations found for ENV: ${jobFilter}`); + console.error(`No configurations found for ENV: ${envFilter}`); process.exit(1); } @@ -52,6 +52,7 @@ const packageJsonPath = path.join(__dirname, '../../package.json'); let packageJson = fs.readFileSync(packageJsonPath, 'utf8'); packageJson = JSON.parse(packageJson); packageJson.dependencies['@pgsql/types'] = config.PGSQL_TYPES; +packageJson.libpgQueryConfig = config; fs.writeFileSync(packageJsonPath, JSON.stringify(packageJson, null, 2), 'utf8'); // Generate build files from the templates @@ -66,11 +67,6 @@ templates.forEach(template => { // Define the output path for the processed template const outputFile = path.join(outputDir, `${template.name}`); - const generatedEnv = path.join(outputDir, `env.generated.json`); - - // Write the processed template to the output directory - fs.writeFileSync(generatedEnv, JSON.stringify(config, null, 2), 'utf8'); - // Determine the file extension const extension = path.extname(outputFile).toLowerCase(); diff --git a/test/index.js b/test/pg-14.test.js similarity index 100% rename from test/index.js rename to test/pg-14.test.js diff --git a/test/pg-15.test.js b/test/pg-15.test.js new file mode 100644 index 0000000..1790d88 --- /dev/null +++ b/test/pg-15.test.js @@ -0,0 +1,143 @@ +const query = require("../"); +const { expect } = require("chai"); +const { omit, cloneDeepWith } = require("lodash"); + +describe("Queries", () => { + describe("Sync Parsing", () => { + it("should return a single-item parse result for common queries", () => { + const queries = ["select 1", "select null", "select ''", "select a, b"]; + const results = queries.map(query.parseQuerySync); + results.forEach((res) => { + expect(res.stmts).to.have.lengthOf(1); + }); + + // Do some rough asserting on the shape of the result. + // These tests aren't really meant to test the parsing functionality + // itself, but doing a bit for sanity doesn't hurt. + const selectedDatas = results.map( + (it) => it.stmts[0].stmt.SelectStmt.targetList + ); + + expect(selectedDatas[0][0].ResTarget.val.A_Const.ival.ival).to.eq( + 1 + ); + expect(selectedDatas[1][0].ResTarget.val.A_Const.isnull).to.eq( + true + ); + expect(selectedDatas[2][0].ResTarget.val.A_Const.sval.sval).to.eq( + "" + ); + expect(selectedDatas[3]).to.have.lengthOf(2); + }); + + it("should support parsing multiple queries", () => { + const res = query.parseQuerySync("select 1; select null;"); + const changedProps = [ + "stmt_len", + "stmt_location", + "stmt.SelectStmt.targetList[0].ResTarget.location", + "stmt.SelectStmt.targetList[0].ResTarget.val.A_Const.location", + ]; + const removeChangedProps = (stmt) => omit(stmt, changedProps); + expect(res.stmts.map(removeChangedProps)).to.deep.eq([ + ...query.parseQuerySync("select 1;").stmts.map(removeChangedProps), + ...query.parseQuerySync("select null;").stmts.map(removeChangedProps), + ]); + }); + + it("should not parse a bogus query", () => { + expect(() => query.parseQuerySync("NOT A QUERY")).to.throw(Error); + }); + }); + + describe("Async parsing", () => { + it("should return a promise resolving to same result", async () => { + const testQuery = "select * from john;"; + const resPromise = query.parseQuery(testQuery); + const res = await resPromise; + + expect(resPromise).to.be.instanceof(Promise); + expect(res).to.deep.eq(query.parseQuerySync(testQuery)); + }); + + it("should reject on bogus queries", async () => { + return query.parseQuery("NOT A QUERY").then( + () => { + throw new Error("should have rejected"); + }, + (e) => { + expect(e).instanceof(Error); + expect(e.message).to.match(/NOT/); + } + ); + }); + }); + + describe("Fingerprint", () => { + context("sync", () => { + it("should not fingerprint a bogus query", () => { + expect(() => query.fingerprintSync("NOT A QUERY")).to.throw(Error); + }); + + it("should fingerprint a query", () => { + const queries = ["select 1", "select null", "select ''", "select a, b"]; + const results = queries.map(query.fingerprintSync); + + results.forEach((res) => { + expect(res).to.have.lengthOf(16); + }); + }); + }); + + context("async", () => { + it("should not fingerprint a bogus query", () => { + return query.fingerprint("NOT A QUERY").then( + () => { + throw new Error("should have rejected"); + }, + (e) => { + expect(e).instanceof(Error); + expect(e.message).to.match(/NOT/); + } + ); + }); + + it("should fingerprint a query", async () => { + const queries = ["select 1", "select null", "select ''", "select a, b"]; + const results = await Promise.all(queries.map(query.fingerprint)); + + results.forEach((res) => { + expect(res).to.have.lengthOf(16); + }); + }); + }); + }); +}); + +describe("PlPgSQL (async)", () => { + it("should parse a function", async () => { + const testFunction = ` + CREATE FUNCTION t() RETURNS trigger AS + $BODY$ + DECLARE + resultVal integer; + finalVal integer; + BEGIN + resultVal = 0; + IF (resultVal >= 5) + THEN finalVal = 'Yes'; + ELSE finalVal = 'No'; + END IF; + RETURN finalVal; + END; + $BODY$ + LANGUAGE plpgsql; + `; + + const resPromise = query.parsePlPgSQL(testFunction); + const res = await resPromise; + + expect(resPromise).to.be.instanceof(Promise); + expect(res).to.deep.have.property("0.PLpgSQL_function"); + }); +}); diff --git a/test/pg-16.test.js b/test/pg-16.test.js new file mode 100644 index 0000000..ea456a0 --- /dev/null +++ b/test/pg-16.test.js @@ -0,0 +1,143 @@ +const query = require("../"); +const { expect } = require("chai"); +const { omit, cloneDeepWith } = require("lodash"); + +describe("Queries", () => { + describe("Sync Parsing", () => { + it("should return a single-item parse result for common queries", () => { + const queries = ["select 1", "select null", "select ''", "select a, b"]; + const results = queries.map(query.parseQuerySync); + results.forEach((res) => { + expect(res.stmts).to.have.lengthOf(1); + }); + + // Do some rough asserting on the shape of the result. + // These tests aren't really meant to test the parsing functionality + // itself, but doing a bit for sanity doesn't hurt. + const selectedDatas = results.map( + (it) => it.stmts[0].stmt.SelectStmt.targetList + ); + + expect(selectedDatas[0][0].ResTarget.val.A_Const.ival.ival).to.eq( + 1 + ); + expect(selectedDatas[1][0].ResTarget.val.A_Const.isnull).to.eq( + true + ); + expect(selectedDatas[2][0].ResTarget.val.A_Const.sval.sval).to.eq( + "" + ); + expect(selectedDatas[3]).to.have.lengthOf(2); + }); + + it("should support parsing multiple queries", () => { + const res = query.parseQuerySync("select 1; select null;"); + const changedProps = [ + "stmt_len", + "stmt_location", + "stmt.SelectStmt.targetList[0].ResTarget.location", + "stmt.SelectStmt.targetList[0].ResTarget.val.A_Const.location", + ]; + const removeChangedProps = (stmt) => omit(stmt, changedProps); + expect(res.stmts.map(removeChangedProps)).to.deep.eq([ + ...query.parseQuerySync("select 1;").stmts.map(removeChangedProps), + ...query.parseQuerySync("select null;").stmts.map(removeChangedProps), + ]); + }); + + it("should not parse a bogus query", () => { + expect(() => query.parseQuerySync("NOT A QUERY")).to.throw(Error); + }); + }); + + describe("Async parsing", () => { + it("should return a promise resolving to same result", async () => { + const testQuery = "select * from john;"; + const resPromise = query.parseQuery(testQuery); + const res = await resPromise; + + expect(resPromise).to.be.instanceof(Promise); + expect(res).to.deep.eq(query.parseQuerySync(testQuery)); + }); + + it("should reject on bogus queries", async () => { + return query.parseQuery("NOT A QUERY").then( + () => { + throw new Error("should have rejected"); + }, + (e) => { + expect(e).instanceof(Error); + expect(e.message).to.match(/NOT/); + } + ); + }); + }); + + describe("Fingerprint", () => { + context("sync", () => { + it("should not fingerprint a bogus query", () => { + expect(() => query.fingerprintSync("NOT A QUERY")).to.throw(Error); + }); + + it("should fingerprint a query", () => { + const queries = ["select 1", "select null", "select ''", "select a, b"]; + const results = queries.map(query.fingerprintSync); + + results.forEach((res) => { + expect(res).to.have.lengthOf(16); + }); + }); + }); + + context("async", () => { + it("should not fingerprint a bogus query", () => { + return query.fingerprint("NOT A QUERY").then( + () => { + throw new Error("should have rejected"); + }, + (e) => { + expect(e).instanceof(Error); + expect(e.message).to.match(/NOT/); + } + ); + }); + + it("should fingerprint a query", async () => { + const queries = ["select 1", "select null", "select ''", "select a, b"]; + const results = await Promise.all(queries.map(query.fingerprint)); + + results.forEach((res) => { + expect(res).to.have.lengthOf(16); + }); + }); + }); + }); +}); + +describe("PlPgSQL (async)", () => { + it("should parse a function", async () => { + const testFunction = ` + CREATE FUNCTION t() RETURNS trigger AS + $BODY$ + DECLARE + resultVal integer; + finalVal integer; + BEGIN + resultVal = 0; + IF (resultVal >= 5) + THEN finalVal = 'Yes'; + ELSE finalVal = 'No'; + END IF; + RETURN finalVal; + END; + $BODY$ + LANGUAGE plpgsql; + `; + + const resPromise = query.parsePlPgSQL(testFunction); + const res = await resPromise; + + expect(resPromise).to.be.instanceof(Promise); + expect(res).to.deep.have.property("0.PLpgSQL_function"); + }); +}); \ No newline at end of file diff --git a/yarn-error.log b/yarn-error.log new file mode 100644 index 0000000..7ef6d38 --- /dev/null +++ b/yarn-error.log @@ -0,0 +1,1323 @@ +Arguments: + /usr/local/bin/node /usr/local/bin/yarn test + +PATH: + /opt/homebrew/opt/ruby/bin:/opt/homebrew/opt/libpq/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin:/usr/local/go/bin:/Library/Apple/usr/bin:/opt/homebrew/opt/ruby/bin:/Users/pyramation/.cargo/bin:/opt/homebrew/opt/libpq/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/Users/pyramation/bin:/Users/pyramation/go/bin:/Users/pyramation/bin:/usr/local/go/bin:/Users/pyramation/go/bin + +Yarn version: + 1.22.17 + +Node version: + 20.12.0 + +Platform: + darwin arm64 + +Trace: + SyntaxError: /Users/pyramation/code/launchql/pgsql/15-latest/package.json: Expected ',' or '}' after property value in JSON at position 1574 + at JSON.parse () + at /usr/local/lib/node_modules/yarn/lib/cli.js:1625:59 + at Generator.next () + at step (/usr/local/lib/node_modules/yarn/lib/cli.js:310:30) + at /usr/local/lib/node_modules/yarn/lib/cli.js:321:13 + +npm manifest: + { + "name": "libpg-query", + "version": "15.2.0", + "description": "The real PostgreSQL query parser", + "homepage": "https://github.com/launchql/libpg-query-node", + "main": "index.js", + "typings": "index.d.ts", + "publishConfig": { + "access": "public" + }, + "files": [ + "binding.gyp", + "index.js", + "index.d.ts", + "libpg_query/*", + "script/*", + "src/*", + "wasm/*" + ], + "exports": { + ".": { + "types": "./index.d.ts", + "browser": "./wasm/index.js", + "node": "./index.js", + "default": "./index.js" + }, + "./wasm": { + "types": "./index.d.ts", + "default": "./wasm/index.js" + } + }, + "scripts": { + "clean": "rimraf build", + "configure": "node-pre-gyp configure", + "install": "node-pre-gyp install --fallback-to-build --loglevel verbose", + "rebuild": "node-pre-gyp rebuild --loglevel verbose", + "wasm:make": "docker run --rm -v $(pwd):/src -u $(id -u):$(id -g) emscripten/emsdk emmake make", + "wasm:build": "yarn wasm:make build", + "wasm:rebuild": "yarn wasm:make rebuild", + "wasm:clean": "yarn wasm:make clean", + "wasm:clean-cache": "yarn wasm:make clean-cache", + "generate:workflows:win": "node script/generate-workflows.js", + "generate:workflows:no-win": "node script/generate-non-win-workflows.js", + "generate:workflows": "npm run generate:workflows:win && npm run generate:workflows:no-win", + "generate:build": "node script/utils/generate.js", + "pretest": "node set-env.js", + "test": "cross-env mocha --timeout 5000 \"test/${process.env.PGENV}.test.js\"" + "binary:build": "node-pre-gyp rebuild package", + "binary:publish": "AWS_PROFILE=supabase-dev node-pre-gyp publish" + }, + "author": "Dan Lynch (http://github.com/pyramation)", + "license": "LICENSE IN LICENSE", + "repository": { + "type": "git", + "url": "git://github.com/launchql/libpg-query-node.git" + }, + "devDependencies": { + "@yamlize/cli": "^0.8.0", + "chai": "^3.5.0", + "cross-env": "^7.0.3", + "emnapi": "^0.43.1", + "js-yaml": "^4.1.0", + "lodash": "^4.17.15", + "mocha": "^5.2.0", + "rimraf": "5.0.0" + }, + "dependencies": { + "@emnapi/runtime": "^0.43.1", + "@mapbox/node-pre-gyp": "^1.0.8", + "@pgsql/types": "15.0.2", + "node-addon-api": "^7.0.0", + "node-gyp": "^10.0.1" + }, + "keywords": [ + "sql", + "postgres", + "postgresql", + "pg", + "query", + "plpgsql", + "database" + ], + "binary": { + "module_name": "queryparser", + "module_path": "./build/Release/", + "host": "https://supabase-public-artifacts-bucket.s3.amazonaws.com", + "remote_path": "./libpg-query-node/" + }, + "libpgQueryConfig": { + "PGENV": "pg-15", + "LIBPG_REPO": "https://github.com/pganalyze/libpg_query.git", + "LIBPG_COMMIT": "db39825bc7c1ddd45962ec6a626d740b7f8f027a", + "LIBPG_BRANCH": "15-latest", + "PGSQL_TYPES": "15.0.2", + "OPERATING_SYSTEMS": [ + "linux", + "mac" + ] + } + } + +yarn manifest: + No manifest + +Lockfile: + # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. + # yarn lockfile v1 + + + "@emnapi/runtime@^0.43.1": + version "0.43.1" + resolved "https://registry.yarnpkg.com/@emnapi/runtime/-/runtime-0.43.1.tgz#c72d5e32f9331f313ae6690d8a64454647ab245b" + integrity sha512-Q5sMc4Z4gsD4tlmlyFu+MpNAwpR7Gv2errDhVJ+SOhNjWcx8UTqy+hswb8L31RfC8jBvDgcnT87l3xI2w08rAg== + dependencies: + tslib "^2.4.0" + + "@isaacs/cliui@^8.0.2": + version "8.0.2" + resolved "https://registry.yarnpkg.com/@isaacs/cliui/-/cliui-8.0.2.tgz#b37667b7bc181c168782259bab42474fbf52b550" + integrity sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA== + dependencies: + string-width "^5.1.2" + string-width-cjs "npm:string-width@^4.2.0" + strip-ansi "^7.0.1" + strip-ansi-cjs "npm:strip-ansi@^6.0.1" + wrap-ansi "^8.1.0" + wrap-ansi-cjs "npm:wrap-ansi@^7.0.0" + + "@mapbox/node-pre-gyp@^1.0.8": + version "1.0.11" + resolved "https://registry.yarnpkg.com/@mapbox/node-pre-gyp/-/node-pre-gyp-1.0.11.tgz#417db42b7f5323d79e93b34a6d7a2a12c0df43fa" + integrity sha512-Yhlar6v9WQgUp/He7BdgzOz8lqMQ8sU+jkCq7Wx8Myc5YFJLbEe7lgui/V7G1qB1DJykHSGwreceSaD60Y0PUQ== + dependencies: + detect-libc "^2.0.0" + https-proxy-agent "^5.0.0" + make-dir "^3.1.0" + node-fetch "^2.6.7" + nopt "^5.0.0" + npmlog "^5.0.1" + rimraf "^3.0.2" + semver "^7.3.5" + tar "^6.1.11" + + "@npmcli/agent@^2.0.0": + version "2.2.1" + resolved "https://registry.yarnpkg.com/@npmcli/agent/-/agent-2.2.1.tgz#8aa677d0a4136d57524336a35d5679aedf2d56f7" + integrity sha512-H4FrOVtNyWC8MUwL3UfjOsAihHvT1Pe8POj3JvjXhSTJipsZMtgUALCT4mGyYZNxymkUfOw3PUj6dE4QPp6osQ== + dependencies: + agent-base "^7.1.0" + http-proxy-agent "^7.0.0" + https-proxy-agent "^7.0.1" + lru-cache "^10.0.1" + socks-proxy-agent "^8.0.1" + + "@npmcli/fs@^3.1.0": + version "3.1.0" + resolved "https://registry.yarnpkg.com/@npmcli/fs/-/fs-3.1.0.tgz#233d43a25a91d68c3a863ba0da6a3f00924a173e" + integrity sha512-7kZUAaLscfgbwBQRbvdMYaZOWyMEcPTH/tJjnyAWJ/dvvs9Ef+CERx/qJb9GExJpl1qipaDGn7KqHnFGGixd0w== + dependencies: + semver "^7.3.5" + + "@pgsql/types@15.0.2": + version "15.0.2" + resolved "https://registry.yarnpkg.com/@pgsql/types/-/types-15.0.2.tgz#f407fa6377e72ef47ed88b7801bb03a98b8460dd" + integrity sha512-K3gtnbqbSUuUVmPm143qx5Gy2EmKuooshV95yMD48EUQ1256sgZBriEfY61OWJnlzdREdqHTIOxQqpZAb7XdZg== + + "@pkgjs/parseargs@^0.11.0": + version "0.11.0" + resolved "https://registry.yarnpkg.com/@pkgjs/parseargs/-/parseargs-0.11.0.tgz#a77ea742fab25775145434eb1d2328cf5013ac33" + integrity sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg== + + "@yamlize/cli@^0.8.0": + version "0.8.0" + resolved "https://registry.yarnpkg.com/@yamlize/cli/-/cli-0.8.0.tgz#c86673a6ee59a36f6a5621a073cb688b5db00d77" + integrity sha512-OuhQ/gYLCuMjENdLMF8UXgM32p7blBB0FxwS4R2Mw4jk/9uvv87uCz2ptq9VB7GjNTNbnRTQKw+bAbwCXyngCA== + dependencies: + chalk "4.1.0" + inquirerer "^1.9.0" + js-yaml "^4.1.0" + minimist "1.2.8" + yamlize "^0.8.0" + + abbrev@1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-1.1.1.tgz#f8f2c887ad10bf67f634f005b6987fed3179aac8" + integrity sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q== + + abbrev@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-2.0.0.tgz#cf59829b8b4f03f89dda2771cb7f3653828c89bf" + integrity sha512-6/mh1E2u2YgEsCHdY0Yx5oW+61gZU+1vXaoiHHrpKeuRNNgFvS+/jrwHiQhB5apAf5oB7UB7E19ol2R2LKH8hQ== + + agent-base@6: + version "6.0.2" + resolved "https://registry.yarnpkg.com/agent-base/-/agent-base-6.0.2.tgz#49fff58577cfee3f37176feab4c22e00f86d7f77" + integrity sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ== + dependencies: + debug "4" + + agent-base@^7.0.2, agent-base@^7.1.0: + version "7.1.0" + resolved "https://registry.yarnpkg.com/agent-base/-/agent-base-7.1.0.tgz#536802b76bc0b34aa50195eb2442276d613e3434" + integrity sha512-o/zjMZRhJxny7OyEF+Op8X+efiELC7k7yOjMzgfzVqOzXqkBkWI79YoTdOtsuWd5BWhAGAuOY/Xa6xpiaWXiNg== + dependencies: + debug "^4.3.4" + + aggregate-error@^3.0.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/aggregate-error/-/aggregate-error-3.1.0.tgz#92670ff50f5359bdb7a3e0d40d0ec30c5737687a" + integrity sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA== + dependencies: + clean-stack "^2.0.0" + indent-string "^4.0.0" + + ansi-regex@^5.0.1: + version "5.0.1" + resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-5.0.1.tgz#082cb2c89c9fe8659a311a53bd6a4dc5301db304" + integrity sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ== + + ansi-regex@^6.0.1: + version "6.0.1" + resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-6.0.1.tgz#3183e38fae9a65d7cb5e53945cd5897d0260a06a" + integrity sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA== + + ansi-styles@^4.0.0, ansi-styles@^4.1.0: + version "4.3.0" + resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-4.3.0.tgz#edd803628ae71c04c85ae7a0906edad34b648937" + integrity sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg== + dependencies: + color-convert "^2.0.1" + + ansi-styles@^6.1.0: + version "6.2.1" + resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-6.2.1.tgz#0e62320cf99c21afff3b3012192546aacbfb05c5" + integrity sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug== + + "aproba@^1.0.3 || ^2.0.0": + version "2.0.0" + resolved "https://registry.yarnpkg.com/aproba/-/aproba-2.0.0.tgz#52520b8ae5b569215b354efc0caa3fe1e45a8adc" + integrity sha512-lYe4Gx7QT+MKGbDsA+Z+he/Wtef0BiwDOlK/XkBrdfsh9J/jPPXbX0tE9x9cl27Tmu5gg3QUbUrQYa/y+KOHPQ== + + are-we-there-yet@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/are-we-there-yet/-/are-we-there-yet-2.0.0.tgz#372e0e7bd279d8e94c653aaa1f67200884bf3e1c" + integrity sha512-Ci/qENmwHnsYo9xKIcUJN5LeDKdJ6R1Z1j9V/J5wyq8nh/mYPEpIKJbBZXtZjG04HiK7zV/p6Vs9952MrMeUIw== + dependencies: + delegates "^1.0.0" + readable-stream "^3.6.0" + + argparse@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/argparse/-/argparse-2.0.1.tgz#246f50f3ca78a3240f6c997e8a9bd1eac49e4b38" + integrity sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q== + + assertion-error@^1.0.1: + version "1.1.0" + resolved "https://registry.yarnpkg.com/assertion-error/-/assertion-error-1.1.0.tgz#e60b6b0e8f301bd97e5375215bda406c85118c0b" + integrity sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw== + + balanced-match@^1.0.0: + version "1.0.2" + resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.2.tgz#e83e3a7e3f300b34cb9d87f615fa0cbf357690ee" + integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw== + + brace-expansion@^1.1.7: + version "1.1.11" + resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd" + integrity sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA== + dependencies: + balanced-match "^1.0.0" + concat-map "0.0.1" + + brace-expansion@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-2.0.1.tgz#1edc459e0f0c548486ecf9fc99f2221364b9a0ae" + integrity sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA== + dependencies: + balanced-match "^1.0.0" + + browser-stdout@1.3.1: + version "1.3.1" + resolved "https://registry.yarnpkg.com/browser-stdout/-/browser-stdout-1.3.1.tgz#baa559ee14ced73452229bad7326467c61fabd60" + integrity sha512-qhAVI1+Av2X7qelOfAIYwXONood6XlZE/fXaBSmW/T5SzLAmCgzi+eiWE7fUvbHaeNBQH13UftjpXxsfLkMpgw== + + cacache@^18.0.0: + version "18.0.2" + resolved "https://registry.yarnpkg.com/cacache/-/cacache-18.0.2.tgz#fd527ea0f03a603be5c0da5805635f8eef00c60c" + integrity sha512-r3NU8h/P+4lVUHfeRw1dtgQYar3DZMm4/cm2bZgOvrFC/su7budSOeqh52VJIC4U4iG1WWwV6vRW0znqBvxNuw== + dependencies: + "@npmcli/fs" "^3.1.0" + fs-minipass "^3.0.0" + glob "^10.2.2" + lru-cache "^10.0.1" + minipass "^7.0.3" + minipass-collect "^2.0.1" + minipass-flush "^1.0.5" + minipass-pipeline "^1.2.4" + p-map "^4.0.0" + ssri "^10.0.0" + tar "^6.1.11" + unique-filename "^3.0.0" + + chai@^3.5.0: + version "3.5.0" + resolved "https://registry.yarnpkg.com/chai/-/chai-3.5.0.tgz#4d02637b067fe958bdbfdd3a40ec56fef7373247" + integrity sha512-eRYY0vPS2a9zt5w5Z0aCeWbrXTEyvk7u/Xf71EzNObrjSCPgMm1Nku/D/u2tiqHBX5j40wWhj54YJLtgn8g55A== + dependencies: + assertion-error "^1.0.1" + deep-eql "^0.1.3" + type-detect "^1.0.0" + + chalk@4.1.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/chalk/-/chalk-4.1.0.tgz#4e14870a618d9e2edd97dd8345fd9d9dc315646a" + integrity sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A== + dependencies: + ansi-styles "^4.1.0" + supports-color "^7.1.0" + + chalk@^4.1.0: + version "4.1.2" + resolved "https://registry.yarnpkg.com/chalk/-/chalk-4.1.2.tgz#aac4e2b7734a740867aeb16bf02aad556a1e7a01" + integrity sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA== + dependencies: + ansi-styles "^4.1.0" + supports-color "^7.1.0" + + chownr@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/chownr/-/chownr-2.0.0.tgz#15bfbe53d2eab4cf70f18a8cd68ebe5b3cb1dece" + integrity sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ== + + clean-stack@^2.0.0: + version "2.2.0" + resolved "https://registry.yarnpkg.com/clean-stack/-/clean-stack-2.2.0.tgz#ee8472dbb129e727b31e8a10a427dee9dfe4008b" + integrity sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A== + + color-convert@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-2.0.1.tgz#72d3a68d598c9bdb3af2ad1e84f21d896abd4de3" + integrity sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ== + dependencies: + color-name "~1.1.4" + + color-name@~1.1.4: + version "1.1.4" + resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2" + integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA== + + color-support@^1.1.2: + version "1.1.3" + resolved "https://registry.yarnpkg.com/color-support/-/color-support-1.1.3.tgz#93834379a1cc9a0c61f82f52f0d04322251bd5a2" + integrity sha512-qiBjkpbMLO/HL68y+lh4q0/O1MZFj2RX6X/KmMa3+gJD3z+WwI1ZzDHysvqHGS3mP6mznPckpXmw1nI9cJjyRg== + + commander@2.15.1: + version "2.15.1" + resolved "https://registry.yarnpkg.com/commander/-/commander-2.15.1.tgz#df46e867d0fc2aec66a34662b406a9ccafff5b0f" + integrity sha512-VlfT9F3V0v+jr4yxPc5gg9s62/fIVWsd2Bk2iD435um1NlGMYdVCq+MjcXnhYq2icNOizHr1kK+5TI6H0Hy0ag== + + concat-map@0.0.1: + version "0.0.1" + resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" + integrity sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg== + + console-control-strings@^1.0.0, console-control-strings@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/console-control-strings/-/console-control-strings-1.1.0.tgz#3d7cf4464db6446ea644bf4b39507f9851008e8e" + integrity sha512-ty/fTekppD2fIwRvnZAVdeOiGd1c7YXEixbgJTNzqcxJWKQnjJ/V1bNEEE6hygpM3WjwHFUVK6HTjWSzV4a8sQ== + + cross-env@^7.0.3: + version "7.0.3" + resolved "https://registry.yarnpkg.com/cross-env/-/cross-env-7.0.3.tgz#865264b29677dc015ba8418918965dd232fc54cf" + integrity sha512-+/HKd6EgcQCJGh2PSjZuUitQBQynKor4wrFbRg4DtAgS1aWO+gU52xpH7M9ScGgXSYmAVS9bIJ8EzuaGw0oNAw== + dependencies: + cross-spawn "^7.0.1" + + cross-spawn@^7.0.0, cross-spawn@^7.0.1: + version "7.0.3" + resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6" + integrity sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w== + dependencies: + path-key "^3.1.0" + shebang-command "^2.0.0" + which "^2.0.1" + + debug@3.1.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/debug/-/debug-3.1.0.tgz#5bb5a0672628b64149566ba16819e61518c67261" + integrity sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g== + dependencies: + ms "2.0.0" + + debug@4, debug@^4.3.4: + version "4.3.4" + resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.4.tgz#1319f6579357f2338d3337d2cdd4914bb5dcc865" + integrity sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ== + dependencies: + ms "2.1.2" + + deep-eql@^0.1.3: + version "0.1.3" + resolved "https://registry.yarnpkg.com/deep-eql/-/deep-eql-0.1.3.tgz#ef558acab8de25206cd713906d74e56930eb69f2" + integrity sha512-6sEotTRGBFiNcqVoeHwnfopbSpi5NbH1VWJmYCVkmxMmaVTT0bUTrNaGyBwhgP4MZL012W/mkzIn3Da+iDYweg== + dependencies: + type-detect "0.1.1" + + deepmerge@^4.3.1: + version "4.3.1" + resolved "https://registry.yarnpkg.com/deepmerge/-/deepmerge-4.3.1.tgz#44b5f2147cd3b00d4b56137685966f26fd25dd4a" + integrity sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A== + + delegates@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/delegates/-/delegates-1.0.0.tgz#84c6e159b81904fdca59a0ef44cd870d31250f9a" + integrity sha512-bd2L678uiWATM6m5Z1VzNCErI3jiGzt6HGY8OVICs40JQq/HALfbyNJmp0UDakEY4pMMaN0Ly5om/B1VI/+xfQ== + + detect-libc@^2.0.0: + version "2.0.2" + resolved "https://registry.yarnpkg.com/detect-libc/-/detect-libc-2.0.2.tgz#8ccf2ba9315350e1241b88d0ac3b0e1fbd99605d" + integrity sha512-UX6sGumvvqSaXgdKGUsgZWqcUyIXZ/vZTrlRT/iobiKhGL0zL4d3osHj3uqllWJK+i+sixDS/3COVEOFbupFyw== + + diff@3.5.0: + version "3.5.0" + resolved "https://registry.yarnpkg.com/diff/-/diff-3.5.0.tgz#800c0dd1e0a8bfbc95835c202ad220fe317e5a12" + integrity sha512-A46qtFgd+g7pDZinpnwiRJtxbC1hpgf0uzP3iG89scHk0AUC7A1TGxf5OiiOUv/JMZR8GOt8hL900hV0bOy5xA== + + eastasianwidth@^0.2.0: + version "0.2.0" + resolved "https://registry.yarnpkg.com/eastasianwidth/-/eastasianwidth-0.2.0.tgz#696ce2ec0aa0e6ea93a397ffcf24aa7840c827cb" + integrity sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA== + + emnapi@^0.43.1: + version "0.43.1" + resolved "https://registry.yarnpkg.com/emnapi/-/emnapi-0.43.1.tgz#ce99a639277060cfe99b32b2ddcc9ae6d60c7aa6" + integrity sha512-ZsBeBRBHPdoI4GMM2fer2qYN5He8NMc1wg4qWZRZNptRUTDH0hVl8LFu5/uYL3+Z/3qyp1cV/n1FBf+hHlt5Hg== + + emoji-regex@^8.0.0: + version "8.0.0" + resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-8.0.0.tgz#e818fd69ce5ccfcb404594f842963bf53164cc37" + integrity sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A== + + emoji-regex@^9.2.2: + version "9.2.2" + resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-9.2.2.tgz#840c8803b0d8047f4ff0cf963176b32d4ef3ed72" + integrity sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg== + + encoding@^0.1.13: + version "0.1.13" + resolved "https://registry.yarnpkg.com/encoding/-/encoding-0.1.13.tgz#56574afdd791f54a8e9b2785c0582a2d26210fa9" + integrity sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A== + dependencies: + iconv-lite "^0.6.2" + + env-paths@^2.2.0: + version "2.2.1" + resolved "https://registry.yarnpkg.com/env-paths/-/env-paths-2.2.1.tgz#420399d416ce1fbe9bc0a07c62fa68d67fd0f8f2" + integrity sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A== + + err-code@^2.0.2: + version "2.0.3" + resolved "https://registry.yarnpkg.com/err-code/-/err-code-2.0.3.tgz#23c2f3b756ffdfc608d30e27c9a941024807e7f9" + integrity sha512-2bmlRpNKBxT/CRmPOlyISQpNj+qSeYvcym/uT0Jx2bMOlKLtSy1ZmLuVxSEKKyor/N5yhvp/ZiG1oE3DEYMSFA== + + escape-string-regexp@1.0.5: + version "1.0.5" + resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" + integrity sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg== + + exponential-backoff@^3.1.1: + version "3.1.1" + resolved "https://registry.yarnpkg.com/exponential-backoff/-/exponential-backoff-3.1.1.tgz#64ac7526fe341ab18a39016cd22c787d01e00bf6" + integrity sha512-dX7e/LHVJ6W3DE1MHWi9S1EYzDESENfLrYohG2G++ovZrYOkm4Knwa0mc1cn84xJOR4KEU0WSchhLbd0UklbHw== + + foreground-child@^3.1.0: + version "3.1.1" + resolved "https://registry.yarnpkg.com/foreground-child/-/foreground-child-3.1.1.tgz#1d173e776d75d2772fed08efe4a0de1ea1b12d0d" + integrity sha512-TMKDUnIte6bfb5nWv7V/caI169OHgvwjb7V4WkeUvbQQdjr5rWKqHFiKWb/fcOwB+CzBT+qbWjvj+DVwRskpIg== + dependencies: + cross-spawn "^7.0.0" + signal-exit "^4.0.1" + + fs-minipass@^2.0.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/fs-minipass/-/fs-minipass-2.1.0.tgz#7f5036fdbf12c63c169190cbe4199c852271f9fb" + integrity sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg== + dependencies: + minipass "^3.0.0" + + fs-minipass@^3.0.0: + version "3.0.3" + resolved "https://registry.yarnpkg.com/fs-minipass/-/fs-minipass-3.0.3.tgz#79a85981c4dc120065e96f62086bf6f9dc26cc54" + integrity sha512-XUBA9XClHbnJWSfBzjkm6RvPsyg3sryZt06BEQoXcF7EK/xpGaQYJgQKDJSUH5SGZ76Y7pFx1QBnXz09rU5Fbw== + dependencies: + minipass "^7.0.3" + + fs.realpath@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" + integrity sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw== + + gauge@^3.0.0: + version "3.0.2" + resolved "https://registry.yarnpkg.com/gauge/-/gauge-3.0.2.tgz#03bf4441c044383908bcfa0656ad91803259b395" + integrity sha512-+5J6MS/5XksCuXq++uFRsnUd7Ovu1XenbeuIuNRJxYWjgQbPuFhT14lAvsWfqfAmnwluf1OwMjz39HjfLPci0Q== + dependencies: + aproba "^1.0.3 || ^2.0.0" + color-support "^1.1.2" + console-control-strings "^1.0.0" + has-unicode "^2.0.1" + object-assign "^4.1.1" + signal-exit "^3.0.0" + string-width "^4.2.3" + strip-ansi "^6.0.1" + wide-align "^1.1.2" + + glob@7.1.2: + version "7.1.2" + resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.2.tgz#c19c9df9a028702d678612384a6552404c636d15" + integrity sha512-MJTUg1kjuLeQCJ+ccE4Vpa6kKVXkPYJ2mOCQyUuKLcLQsdrMCpBPUi8qVE6+YuaJkozeA9NusTAw3hLr8Xe5EQ== + dependencies: + fs.realpath "^1.0.0" + inflight "^1.0.4" + inherits "2" + minimatch "^3.0.4" + once "^1.3.0" + path-is-absolute "^1.0.0" + + glob@^10.0.0: + version "10.3.12" + resolved "https://registry.yarnpkg.com/glob/-/glob-10.3.12.tgz#3a65c363c2e9998d220338e88a5f6ac97302960b" + integrity sha512-TCNv8vJ+xz4QiqTpfOJA7HvYv+tNIRHKfUWw/q+v2jdgN4ebz+KY9tGx5J4rHP0o84mNP+ApH66HRX8us3Khqg== + dependencies: + foreground-child "^3.1.0" + jackspeak "^2.3.6" + minimatch "^9.0.1" + minipass "^7.0.4" + path-scurry "^1.10.2" + + glob@^10.2.2, glob@^10.3.10: + version "10.3.10" + resolved "https://registry.yarnpkg.com/glob/-/glob-10.3.10.tgz#0351ebb809fd187fe421ab96af83d3a70715df4b" + integrity sha512-fa46+tv1Ak0UPK1TOy/pZrIybNNt4HCv7SDzwyfiOZkvZLEbjsZkJBPtDHVshZjbecAoAGSC20MjLDG/qr679g== + dependencies: + foreground-child "^3.1.0" + jackspeak "^2.3.5" + minimatch "^9.0.1" + minipass "^5.0.0 || ^6.0.2 || ^7.0.0" + path-scurry "^1.10.1" + + glob@^7.1.3: + version "7.2.3" + resolved "https://registry.yarnpkg.com/glob/-/glob-7.2.3.tgz#b8df0fb802bbfa8e89bd1d938b4e16578ed44f2b" + integrity sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q== + dependencies: + fs.realpath "^1.0.0" + inflight "^1.0.4" + inherits "2" + minimatch "^3.1.1" + once "^1.3.0" + path-is-absolute "^1.0.0" + + graceful-fs@^4.2.6: + version "4.2.11" + resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.11.tgz#4183e4e8bf08bb6e05bbb2f7d2e0c8f712ca40e3" + integrity sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ== + + growl@1.10.5: + version "1.10.5" + resolved "https://registry.yarnpkg.com/growl/-/growl-1.10.5.tgz#f2735dc2283674fa67478b10181059355c369e5e" + integrity sha512-qBr4OuELkhPenW6goKVXiv47US3clb3/IbuWF9KNKEijAy9oeHxU9IgzjvJhHkUzhaj7rOUD7+YGWqUjLp5oSA== + + has-flag@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-3.0.0.tgz#b5d454dc2199ae225699f3467e5a07f3b955bafd" + integrity sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw== + + has-flag@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-4.0.0.tgz#944771fd9c81c81265c4d6941860da06bb59479b" + integrity sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ== + + has-unicode@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/has-unicode/-/has-unicode-2.0.1.tgz#e0e6fe6a28cf51138855e086d1691e771de2a8b9" + integrity sha512-8Rf9Y83NBReMnx0gFzA8JImQACstCYWUplepDa9xprwwtmgEZUF0h/i5xSA625zB/I37EtrswSST6OXxwaaIJQ== + + he@1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/he/-/he-1.1.1.tgz#93410fd21b009735151f8868c2f271f3427e23fd" + integrity sha512-z/GDPjlRMNOa2XJiB4em8wJpuuBfrFOlYKTZxtpkdr1uPdibHI8rYA3MY0KDObpVyaes0e/aunid/t88ZI2EKA== + + http-cache-semantics@^4.1.1: + version "4.1.1" + resolved "https://registry.yarnpkg.com/http-cache-semantics/-/http-cache-semantics-4.1.1.tgz#abe02fcb2985460bf0323be664436ec3476a6d5a" + integrity sha512-er295DKPVsV82j5kw1Gjt+ADA/XYHsajl82cGNQG2eyoPkvgUhX+nDIyelzhIWbbsXP39EHcI6l5tYs2FYqYXQ== + + http-proxy-agent@^7.0.0: + version "7.0.2" + resolved "https://registry.yarnpkg.com/http-proxy-agent/-/http-proxy-agent-7.0.2.tgz#9a8b1f246866c028509486585f62b8f2c18c270e" + integrity sha512-T1gkAiYYDWYx3V5Bmyu7HcfcvL7mUrTWiM6yOfa3PIphViJ/gFPbvidQ+veqSOHci/PxBcDabeUNCzpOODJZig== + dependencies: + agent-base "^7.1.0" + debug "^4.3.4" + + https-proxy-agent@^5.0.0: + version "5.0.1" + resolved "https://registry.yarnpkg.com/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz#c59ef224a04fe8b754f3db0063a25ea30d0005d6" + integrity sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA== + dependencies: + agent-base "6" + debug "4" + + https-proxy-agent@^7.0.1: + version "7.0.4" + resolved "https://registry.yarnpkg.com/https-proxy-agent/-/https-proxy-agent-7.0.4.tgz#8e97b841a029ad8ddc8731f26595bad868cb4168" + integrity sha512-wlwpilI7YdjSkWaQ/7omYBMTliDcmCN8OLihO6I9B86g06lMyAoqgoDpV0XqoaPOKj+0DIdAvnsWfyAAhmimcg== + dependencies: + agent-base "^7.0.2" + debug "4" + + iconv-lite@^0.6.2: + version "0.6.3" + resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.6.3.tgz#a52f80bf38da1952eb5c681790719871a1a72501" + integrity sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw== + dependencies: + safer-buffer ">= 2.1.2 < 3.0.0" + + imurmurhash@^0.1.4: + version "0.1.4" + resolved "https://registry.yarnpkg.com/imurmurhash/-/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea" + integrity sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA== + + indent-string@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/indent-string/-/indent-string-4.0.0.tgz#624f8f4497d619b2d9768531d58f4122854d7251" + integrity sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg== + + inflight@^1.0.4: + version "1.0.6" + resolved "https://registry.yarnpkg.com/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9" + integrity sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA== + dependencies: + once "^1.3.0" + wrappy "1" + + inherits@2, inherits@^2.0.3: + version "2.0.4" + resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c" + integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== + + inquirerer@^1.9.0: + version "1.9.0" + resolved "https://registry.yarnpkg.com/inquirerer/-/inquirerer-1.9.0.tgz#108071773a28ea5b950271572ac3051f34e0c92e" + integrity sha512-/LAn/F70YvRQZWz9r1q1seoO2oRMiSCSK8xKHGlkNebSibx5FppUKZLEjXgkCy1tgccas933q/Y7qNccFxrYkw== + dependencies: + chalk "^4.1.0" + deepmerge "^4.3.1" + js-yaml "^4.1.0" + minimist "^1.2.8" + + ip-address@^9.0.5: + version "9.0.5" + resolved "https://registry.yarnpkg.com/ip-address/-/ip-address-9.0.5.tgz#117a960819b08780c3bd1f14ef3c1cc1d3f3ea5a" + integrity sha512-zHtQzGojZXTwZTHQqra+ETKd4Sn3vgi7uBmlPoXVWZqYvuKmtI0l/VZTjqGmJY9x88GGOaZ9+G9ES8hC4T4X8g== + dependencies: + jsbn "1.1.0" + sprintf-js "^1.1.3" + + is-fullwidth-code-point@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz#f116f8064fe90b3f7844a38997c0b75051269f1d" + integrity sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg== + + is-lambda@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/is-lambda/-/is-lambda-1.0.1.tgz#3d9877899e6a53efc0160504cde15f82e6f061d5" + integrity sha512-z7CMFGNrENq5iFB9Bqo64Xk6Y9sg+epq1myIcdHaGnbMTYOxvzsEtdYqQUylB7LxfkvgrrjP32T6Ywciio9UIQ== + + isexe@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10" + integrity sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw== + + isexe@^3.1.1: + version "3.1.1" + resolved "https://registry.yarnpkg.com/isexe/-/isexe-3.1.1.tgz#4a407e2bd78ddfb14bea0c27c6f7072dde775f0d" + integrity sha512-LpB/54B+/2J5hqQ7imZHfdU31OlgQqx7ZicVlkm9kzg9/w8GKLEcFfJl/t7DCEDueOyBAD6zCCwTO6Fzs0NoEQ== + + jackspeak@^2.3.5, jackspeak@^2.3.6: + version "2.3.6" + resolved "https://registry.yarnpkg.com/jackspeak/-/jackspeak-2.3.6.tgz#647ecc472238aee4b06ac0e461acc21a8c505ca8" + integrity sha512-N3yCS/NegsOBokc8GAdM8UcmfsKiSS8cipheD/nivzr700H+nsMOxJjQnvwOcRYVuFkdH0wGUvW2WbXGmrZGbQ== + dependencies: + "@isaacs/cliui" "^8.0.2" + optionalDependencies: + "@pkgjs/parseargs" "^0.11.0" + + js-yaml@^4.1.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-4.1.0.tgz#c1fb65f8f5017901cdd2c951864ba18458a10602" + integrity sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA== + dependencies: + argparse "^2.0.1" + + jsbn@1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/jsbn/-/jsbn-1.1.0.tgz#b01307cb29b618a1ed26ec79e911f803c4da0040" + integrity sha512-4bYVV3aAMtDTTu4+xsDYa6sy9GyJ69/amsu9sYF2zqjiEoZA5xJi3BrfX3uY+/IekIu7MwdObdbDWpoZdBv3/A== + + lodash@^4.17.15: + version "4.17.21" + resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c" + integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg== + + lru-cache@^10.0.1, "lru-cache@^9.1.1 || ^10.0.0": + version "10.2.0" + resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-10.2.0.tgz#0bd445ca57363465900f4d1f9bd8db343a4d95c3" + integrity sha512-2bIM8x+VAf6JT4bKAljS1qUWgMsqZRPGJS6FSahIMPVvctcNhyVp7AJu7quxOW9jwkryBReKZY5tY5JYv2n/7Q== + + lru-cache@^10.2.0: + version "10.2.2" + resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-10.2.2.tgz#48206bc114c1252940c41b25b41af5b545aca878" + integrity sha512-9hp3Vp2/hFQUiIwKo8XCeFVnrg8Pk3TYNPIR7tJADKi5YfcF7vEaK7avFHTlSy3kOKYaJQaalfEo6YuXdceBOQ== + + lru-cache@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-6.0.0.tgz#6d6fe6570ebd96aaf90fcad1dafa3b2566db3a94" + integrity sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA== + dependencies: + yallist "^4.0.0" + + make-dir@^3.1.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/make-dir/-/make-dir-3.1.0.tgz#415e967046b3a7f1d185277d84aa58203726a13f" + integrity sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw== + dependencies: + semver "^6.0.0" + + make-fetch-happen@^13.0.0: + version "13.0.0" + resolved "https://registry.yarnpkg.com/make-fetch-happen/-/make-fetch-happen-13.0.0.tgz#705d6f6cbd7faecb8eac2432f551e49475bfedf0" + integrity sha512-7ThobcL8brtGo9CavByQrQi+23aIfgYU++wg4B87AIS8Rb2ZBt/MEaDqzA00Xwv/jUjAjYkLHjVolYuTLKda2A== + dependencies: + "@npmcli/agent" "^2.0.0" + cacache "^18.0.0" + http-cache-semantics "^4.1.1" + is-lambda "^1.0.1" + minipass "^7.0.2" + minipass-fetch "^3.0.0" + minipass-flush "^1.0.5" + minipass-pipeline "^1.2.4" + negotiator "^0.6.3" + promise-retry "^2.0.1" + ssri "^10.0.0" + + minimatch@3.0.4: + version "3.0.4" + resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083" + integrity sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA== + dependencies: + brace-expansion "^1.1.7" + + minimatch@^3.0.4, minimatch@^3.1.1: + version "3.1.2" + resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.1.2.tgz#19cd194bfd3e428f049a70817c038d89ab4be35b" + integrity sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw== + dependencies: + brace-expansion "^1.1.7" + + minimatch@^9.0.1: + version "9.0.3" + resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-9.0.3.tgz#a6e00c3de44c3a542bfaae70abfc22420a6da825" + integrity sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg== + dependencies: + brace-expansion "^2.0.1" + + minimist@0.0.8: + version "0.0.8" + resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.8.tgz#857fcabfc3397d2625b8228262e86aa7a011b05d" + integrity sha512-miQKw5Hv4NS1Psg2517mV4e4dYNaO3++hjAvLOAzKqZ61rH8NS1SK+vbfBWZ5PY/Me/bEWhUwqMghEW5Fb9T7Q== + + minimist@1.2.8, minimist@^1.2.8: + version "1.2.8" + resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.8.tgz#c1a464e7693302e082a075cee0c057741ac4772c" + integrity sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA== + + minipass-collect@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/minipass-collect/-/minipass-collect-2.0.1.tgz#1621bc77e12258a12c60d34e2276ec5c20680863" + integrity sha512-D7V8PO9oaz7PWGLbCACuI1qEOsq7UKfLotx/C0Aet43fCUB/wfQ7DYeq2oR/svFJGYDHPr38SHATeaj/ZoKHKw== + dependencies: + minipass "^7.0.3" + + minipass-fetch@^3.0.0: + version "3.0.4" + resolved "https://registry.yarnpkg.com/minipass-fetch/-/minipass-fetch-3.0.4.tgz#4d4d9b9f34053af6c6e597a64be8e66e42bf45b7" + integrity sha512-jHAqnA728uUpIaFm7NWsCnqKT6UqZz7GcI/bDpPATuwYyKwJwW0remxSCxUlKiEty+eopHGa3oc8WxgQ1FFJqg== + dependencies: + minipass "^7.0.3" + minipass-sized "^1.0.3" + minizlib "^2.1.2" + optionalDependencies: + encoding "^0.1.13" + + minipass-flush@^1.0.5: + version "1.0.5" + resolved "https://registry.yarnpkg.com/minipass-flush/-/minipass-flush-1.0.5.tgz#82e7135d7e89a50ffe64610a787953c4c4cbb373" + integrity sha512-JmQSYYpPUqX5Jyn1mXaRwOda1uQ8HP5KAT/oDSLCzt1BYRhQU0/hDtsB1ufZfEEzMZ9aAVmsBw8+FWsIXlClWw== + dependencies: + minipass "^3.0.0" + + minipass-pipeline@^1.2.4: + version "1.2.4" + resolved "https://registry.yarnpkg.com/minipass-pipeline/-/minipass-pipeline-1.2.4.tgz#68472f79711c084657c067c5c6ad93cddea8214c" + integrity sha512-xuIq7cIOt09RPRJ19gdi4b+RiNvDFYe5JH+ggNvBqGqpQXcru3PcRmOZuHBKWK1Txf9+cQ+HMVN4d6z46LZP7A== + dependencies: + minipass "^3.0.0" + + minipass-sized@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/minipass-sized/-/minipass-sized-1.0.3.tgz#70ee5a7c5052070afacfbc22977ea79def353b70" + integrity sha512-MbkQQ2CTiBMlA2Dm/5cY+9SWFEN8pzzOXi6rlM5Xxq0Yqbda5ZQy9sU75a673FE9ZK0Zsbr6Y5iP6u9nktfg2g== + dependencies: + minipass "^3.0.0" + + minipass@^3.0.0: + version "3.3.6" + resolved "https://registry.yarnpkg.com/minipass/-/minipass-3.3.6.tgz#7bba384db3a1520d18c9c0e5251c3444e95dd94a" + integrity sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw== + dependencies: + yallist "^4.0.0" + + minipass@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/minipass/-/minipass-5.0.0.tgz#3e9788ffb90b694a5d0ec94479a45b5d8738133d" + integrity sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ== + + "minipass@^5.0.0 || ^6.0.2 || ^7.0.0", minipass@^7.0.2, minipass@^7.0.3, minipass@^7.0.4: + version "7.0.4" + resolved "https://registry.yarnpkg.com/minipass/-/minipass-7.0.4.tgz#dbce03740f50a4786ba994c1fb908844d27b038c" + integrity sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ== + + minizlib@^2.1.1, minizlib@^2.1.2: + version "2.1.2" + resolved "https://registry.yarnpkg.com/minizlib/-/minizlib-2.1.2.tgz#e90d3466ba209b932451508a11ce3d3632145931" + integrity sha512-bAxsR8BVfj60DWXHE3u30oHzfl4G7khkSuPW+qvpd7jFRHm7dLxOjUk1EHACJ/hxLY8phGJ0YhYHZo7jil7Qdg== + dependencies: + minipass "^3.0.0" + yallist "^4.0.0" + + mkdirp@0.5.1: + version "0.5.1" + resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.1.tgz#30057438eac6cf7f8c4767f38648d6697d75c903" + integrity sha512-SknJC52obPfGQPnjIkXbmA6+5H15E+fR+E4iR2oQ3zzCLbd7/ONua69R/Gw7AgkTLsRG+r5fzksYwWe1AgTyWA== + dependencies: + minimist "0.0.8" + + mkdirp@3.0.1: + version "3.0.1" + resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-3.0.1.tgz#e44e4c5607fb279c168241713cc6e0fea9adcb50" + integrity sha512-+NsyUUAZDmo6YVHzL/stxSu3t9YS1iljliy3BSDrXJ/dkn1KYdmtZODGGjLcc9XLgVVpH4KshHB8XmZgMhaBXg== + + mkdirp@^1.0.3: + version "1.0.4" + resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-1.0.4.tgz#3eb5ed62622756d79a5f0e2a221dfebad75c2f7e" + integrity sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw== + + mocha@^5.2.0: + version "5.2.0" + resolved "https://registry.yarnpkg.com/mocha/-/mocha-5.2.0.tgz#6d8ae508f59167f940f2b5b3c4a612ae50c90ae6" + integrity sha512-2IUgKDhc3J7Uug+FxMXuqIyYzH7gJjXECKe/w43IGgQHTSj3InJi+yAA7T24L9bQMRKiUEHxEX37G5JpVUGLcQ== + dependencies: + browser-stdout "1.3.1" + commander "2.15.1" + debug "3.1.0" + diff "3.5.0" + escape-string-regexp "1.0.5" + glob "7.1.2" + growl "1.10.5" + he "1.1.1" + minimatch "3.0.4" + mkdirp "0.5.1" + supports-color "5.4.0" + + ms@2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8" + integrity sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A== + + ms@2.1.2: + version "2.1.2" + resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009" + integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w== + + negotiator@^0.6.3: + version "0.6.3" + resolved "https://registry.yarnpkg.com/negotiator/-/negotiator-0.6.3.tgz#58e323a72fedc0d6f9cd4d31fe49f51479590ccd" + integrity sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg== + + nested-obj@^0.0.1: + version "0.0.1" + resolved "https://registry.yarnpkg.com/nested-obj/-/nested-obj-0.0.1.tgz#efe1da127c3d00826fa10ec25673e0f9ec1224fd" + integrity sha512-kB1WKTng+IePQhZVs1UXtFaHBx4QEM5a0XKGAzYfCKvdx5DhNjCytNDWMUGpNNpHLotln+tiwcA52kWCIgGq1Q== + + node-addon-api@^7.0.0: + version "7.0.0" + resolved "https://registry.yarnpkg.com/node-addon-api/-/node-addon-api-7.0.0.tgz#8136add2f510997b3b94814f4af1cce0b0e3962e" + integrity sha512-vgbBJTS4m5/KkE16t5Ly0WW9hz46swAstv0hYYwMtbG7AznRhNyfLRe8HZAiWIpcHzoO7HxhLuBQj9rJ/Ho0ZA== + + node-fetch@^2.6.7: + version "2.7.0" + resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.7.0.tgz#d0f0fa6e3e2dc1d27efcd8ad99d550bda94d187d" + integrity sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A== + dependencies: + whatwg-url "^5.0.0" + + node-gyp@^10.0.1: + version "10.0.1" + resolved "https://registry.yarnpkg.com/node-gyp/-/node-gyp-10.0.1.tgz#205514fc19e5830fa991e4a689f9e81af377a966" + integrity sha512-gg3/bHehQfZivQVfqIyy8wTdSymF9yTyP4CJifK73imyNMU8AIGQE2pUa7dNWfmMeG9cDVF2eehiRMv0LC1iAg== + dependencies: + env-paths "^2.2.0" + exponential-backoff "^3.1.1" + glob "^10.3.10" + graceful-fs "^4.2.6" + make-fetch-happen "^13.0.0" + nopt "^7.0.0" + proc-log "^3.0.0" + semver "^7.3.5" + tar "^6.1.2" + which "^4.0.0" + + nopt@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/nopt/-/nopt-5.0.0.tgz#530942bb58a512fccafe53fe210f13a25355dc88" + integrity sha512-Tbj67rffqceeLpcRXrT7vKAN8CwfPeIBgM7E6iBkmKLV7bEMwpGgYLGv0jACUsECaa/vuxP0IjEont6umdMgtQ== + dependencies: + abbrev "1" + + nopt@^7.0.0: + version "7.2.0" + resolved "https://registry.yarnpkg.com/nopt/-/nopt-7.2.0.tgz#067378c68116f602f552876194fd11f1292503d7" + integrity sha512-CVDtwCdhYIvnAzFoJ6NJ6dX3oga9/HyciQDnG1vQDjSLMeKLJ4A93ZqYKDrgYSr1FBY5/hMYC+2VCi24pgpkGA== + dependencies: + abbrev "^2.0.0" + + npmlog@^5.0.1: + version "5.0.1" + resolved "https://registry.yarnpkg.com/npmlog/-/npmlog-5.0.1.tgz#f06678e80e29419ad67ab964e0fa69959c1eb8b0" + integrity sha512-AqZtDUWOMKs1G/8lwylVjrdYgqA4d9nu8hc+0gzRxlDb1I10+FHBGMXs6aiQHFdCUUlqH99MUMuLfzWDNDtfxw== + dependencies: + are-we-there-yet "^2.0.0" + console-control-strings "^1.1.0" + gauge "^3.0.0" + set-blocking "^2.0.0" + + object-assign@^4.1.1: + version "4.1.1" + resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863" + integrity sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg== + + once@^1.3.0: + version "1.4.0" + resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1" + integrity sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w== + dependencies: + wrappy "1" + + p-map@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/p-map/-/p-map-4.0.0.tgz#bb2f95a5eda2ec168ec9274e06a747c3e2904d2b" + integrity sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ== + dependencies: + aggregate-error "^3.0.0" + + path-is-absolute@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f" + integrity sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg== + + path-key@^3.1.0: + version "3.1.1" + resolved "https://registry.yarnpkg.com/path-key/-/path-key-3.1.1.tgz#581f6ade658cbba65a0d3380de7753295054f375" + integrity sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q== + + path-scurry@^1.10.1: + version "1.10.1" + resolved "https://registry.yarnpkg.com/path-scurry/-/path-scurry-1.10.1.tgz#9ba6bf5aa8500fe9fd67df4f0d9483b2b0bfc698" + integrity sha512-MkhCqzzBEpPvxxQ71Md0b1Kk51W01lrYvlMzSUaIzNsODdd7mqhiimSZlr+VegAz5Z6Vzt9Xg2ttE//XBhH3EQ== + dependencies: + lru-cache "^9.1.1 || ^10.0.0" + minipass "^5.0.0 || ^6.0.2 || ^7.0.0" + + path-scurry@^1.10.2: + version "1.10.2" + resolved "https://registry.yarnpkg.com/path-scurry/-/path-scurry-1.10.2.tgz#8f6357eb1239d5fa1da8b9f70e9c080675458ba7" + integrity sha512-7xTavNy5RQXnsjANvVvMkEjvloOinkAjv/Z6Ildz9v2RinZ4SBKTWFOVRbaF8p0vpHnyjV/UwNDdKuUv6M5qcA== + dependencies: + lru-cache "^10.2.0" + minipass "^5.0.0 || ^6.0.2 || ^7.0.0" + + proc-log@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/proc-log/-/proc-log-3.0.0.tgz#fb05ef83ccd64fd7b20bbe9c8c1070fc08338dd8" + integrity sha512-++Vn7NS4Xf9NacaU9Xq3URUuqZETPsf8L4j5/ckhaRYsfPeRyzGw+iDjFhV/Jr3uNmTvvddEJFWh5R1gRgUH8A== + + promise-retry@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/promise-retry/-/promise-retry-2.0.1.tgz#ff747a13620ab57ba688f5fc67855410c370da22" + integrity sha512-y+WKFlBR8BGXnsNlIHFGPZmyDf3DFMoLhaflAnyZgV6rG6xu+JwesTo2Q9R6XwYmtmwAFCkAk3e35jEdoeh/3g== + dependencies: + err-code "^2.0.2" + retry "^0.12.0" + + readable-stream@^3.6.0: + version "3.6.2" + resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-3.6.2.tgz#56a9b36ea965c00c5a93ef31eb111a0f11056967" + integrity sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA== + dependencies: + inherits "^2.0.3" + string_decoder "^1.1.1" + util-deprecate "^1.0.1" + + retry@^0.12.0: + version "0.12.0" + resolved "https://registry.yarnpkg.com/retry/-/retry-0.12.0.tgz#1b42a6266a21f07421d1b0b54b7dc167b01c013b" + integrity sha512-9LkiTwjUh6rT555DtE9rTX+BKByPfrMzEAtnlEtdEwr3Nkffwiihqe2bWADg+OQRjt9gl6ICdmB/ZFDCGAtSow== + + rimraf@5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-5.0.0.tgz#5bda14e410d7e4dd522154891395802ce032c2cb" + integrity sha512-Jf9llaP+RvaEVS5nPShYFhtXIrb3LRKP281ib3So0KkeZKo2wIKyq0Re7TOSwanasA423PSr6CCIL4bP6T040g== + dependencies: + glob "^10.0.0" + + rimraf@^3.0.2: + version "3.0.2" + resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-3.0.2.tgz#f1a5402ba6220ad52cc1282bac1ae3aa49fd061a" + integrity sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA== + dependencies: + glob "^7.1.3" + + safe-buffer@~5.2.0: + version "5.2.1" + resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.2.1.tgz#1eaf9fa9bdb1fdd4ec75f58f9cdb4e6b7827eec6" + integrity sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ== + + "safer-buffer@>= 2.1.2 < 3.0.0": + version "2.1.2" + resolved "https://registry.yarnpkg.com/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a" + integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg== + + semver@^6.0.0: + version "6.3.1" + resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.1.tgz#556d2ef8689146e46dcea4bfdd095f3434dffcb4" + integrity sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA== + + semver@^7.3.5: + version "7.6.0" + resolved "https://registry.yarnpkg.com/semver/-/semver-7.6.0.tgz#1a46a4db4bffcccd97b743b5005c8325f23d4e2d" + integrity sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg== + dependencies: + lru-cache "^6.0.0" + + set-blocking@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7" + integrity sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw== + + shebang-command@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-2.0.0.tgz#ccd0af4f8835fbdc265b82461aaf0c36663f34ea" + integrity sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA== + dependencies: + shebang-regex "^3.0.0" + + shebang-regex@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-3.0.0.tgz#ae16f1644d873ecad843b0307b143362d4c42172" + integrity sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A== + + signal-exit@^3.0.0: + version "3.0.7" + resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.7.tgz#a9a1767f8af84155114eaabd73f99273c8f59ad9" + integrity sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ== + + signal-exit@^4.0.1: + version "4.1.0" + resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-4.1.0.tgz#952188c1cbd546070e2dd20d0f41c0ae0530cb04" + integrity sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw== + + smart-buffer@^4.2.0: + version "4.2.0" + resolved "https://registry.yarnpkg.com/smart-buffer/-/smart-buffer-4.2.0.tgz#6e1d71fa4f18c05f7d0ff216dd16a481d0e8d9ae" + integrity sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg== + + socks-proxy-agent@^8.0.1: + version "8.0.2" + resolved "https://registry.yarnpkg.com/socks-proxy-agent/-/socks-proxy-agent-8.0.2.tgz#5acbd7be7baf18c46a3f293a840109a430a640ad" + integrity sha512-8zuqoLv1aP/66PHF5TqwJ7Czm3Yv32urJQHrVyhD7mmA6d61Zv8cIXQYPTWwmg6qlupnPvs/QKDmfa4P/qct2g== + dependencies: + agent-base "^7.0.2" + debug "^4.3.4" + socks "^2.7.1" + + socks@^2.7.1: + version "2.7.3" + resolved "https://registry.yarnpkg.com/socks/-/socks-2.7.3.tgz#7d8a75d7ce845c0a96f710917174dba0d543a785" + integrity sha512-vfuYK48HXCTFD03G/1/zkIls3Ebr2YNa4qU9gHDZdblHLiqhJrJGkY3+0Nx0JpN9qBhJbVObc1CNciT1bIZJxw== + dependencies: + ip-address "^9.0.5" + smart-buffer "^4.2.0" + + sprintf-js@^1.1.3: + version "1.1.3" + resolved "https://registry.yarnpkg.com/sprintf-js/-/sprintf-js-1.1.3.tgz#4914b903a2f8b685d17fdf78a70e917e872e444a" + integrity sha512-Oo+0REFV59/rz3gfJNKQiBlwfHaSESl1pcGyABQsnnIfWOFt6JNj5gCog2U6MLZ//IGYD+nA8nI+mTShREReaA== + + ssri@^10.0.0: + version "10.0.5" + resolved "https://registry.yarnpkg.com/ssri/-/ssri-10.0.5.tgz#e49efcd6e36385196cb515d3a2ad6c3f0265ef8c" + integrity sha512-bSf16tAFkGeRlUNDjXu8FzaMQt6g2HZJrun7mtMbIPOddxt3GLMSz5VWUWcqTJUPfLEaDIepGxv+bYQW49596A== + dependencies: + minipass "^7.0.3" + + "string-width-cjs@npm:string-width@^4.2.0", "string-width@^1.0.2 || 2 || 3 || 4", string-width@^4.1.0, string-width@^4.2.3: + version "4.2.3" + resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" + integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== + dependencies: + emoji-regex "^8.0.0" + is-fullwidth-code-point "^3.0.0" + strip-ansi "^6.0.1" + + string-width@^5.0.1, string-width@^5.1.2: + version "5.1.2" + resolved "https://registry.yarnpkg.com/string-width/-/string-width-5.1.2.tgz#14f8daec6d81e7221d2a357e668cab73bdbca794" + integrity sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA== + dependencies: + eastasianwidth "^0.2.0" + emoji-regex "^9.2.2" + strip-ansi "^7.0.1" + + string_decoder@^1.1.1: + version "1.3.0" + resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.3.0.tgz#42f114594a46cf1a8e30b0a84f56c78c3edac21e" + integrity sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA== + dependencies: + safe-buffer "~5.2.0" + + "strip-ansi-cjs@npm:strip-ansi@^6.0.1", strip-ansi@^6.0.0, strip-ansi@^6.0.1: + version "6.0.1" + resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" + integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== + dependencies: + ansi-regex "^5.0.1" + + strip-ansi@^7.0.1: + version "7.1.0" + resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-7.1.0.tgz#d5b6568ca689d8561370b0707685d22434faff45" + integrity sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ== + dependencies: + ansi-regex "^6.0.1" + + supports-color@5.4.0: + version "5.4.0" + resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-5.4.0.tgz#1c6b337402c2137605efe19f10fec390f6faab54" + integrity sha512-zjaXglF5nnWpsq470jSv6P9DwPvgLkuapYmfDm3JWOm0vkNTVF2tI4UrN2r6jH1qM/uc/WtxYY1hYoA2dOKj5w== + dependencies: + has-flag "^3.0.0" + + supports-color@^7.1.0: + version "7.2.0" + resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-7.2.0.tgz#1b7dcdcb32b8138801b3e478ba6a51caa89648da" + integrity sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw== + dependencies: + has-flag "^4.0.0" + + tar@^6.1.11, tar@^6.1.2: + version "6.2.1" + resolved "https://registry.yarnpkg.com/tar/-/tar-6.2.1.tgz#717549c541bc3c2af15751bea94b1dd068d4b03a" + integrity sha512-DZ4yORTwrbTj/7MZYq2w+/ZFdI6OZ/f9SFHR+71gIVUZhOQPHzVCLpvRnPgyaMpfWxxk/4ONva3GQSyNIKRv6A== + dependencies: + chownr "^2.0.0" + fs-minipass "^2.0.0" + minipass "^5.0.0" + minizlib "^2.1.1" + mkdirp "^1.0.3" + yallist "^4.0.0" + + tr46@~0.0.3: + version "0.0.3" + resolved "https://registry.yarnpkg.com/tr46/-/tr46-0.0.3.tgz#8184fd347dac9cdc185992f3a6622e14b9d9ab6a" + integrity sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw== + + tslib@^2.4.0: + version "2.6.2" + resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.6.2.tgz#703ac29425e7b37cd6fd456e92404d46d1f3e4ae" + integrity sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q== + + type-detect@0.1.1: + version "0.1.1" + resolved "https://registry.yarnpkg.com/type-detect/-/type-detect-0.1.1.tgz#0ba5ec2a885640e470ea4e8505971900dac58822" + integrity sha512-5rqszGVwYgBoDkIm2oUtvkfZMQ0vk29iDMU0W2qCa3rG0vPDNczCMT4hV/bLBgLg8k8ri6+u3Zbt+S/14eMzlA== + + type-detect@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/type-detect/-/type-detect-1.0.0.tgz#762217cc06db258ec48908a1298e8b95121e8ea2" + integrity sha512-f9Uv6ezcpvCQjJU0Zqbg+65qdcszv3qUQsZfjdRbWiZ7AMenrX1u0lNk9EoWWX6e1F+NULyg27mtdeZ5WhpljA== + + unique-filename@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/unique-filename/-/unique-filename-3.0.0.tgz#48ba7a5a16849f5080d26c760c86cf5cf05770ea" + integrity sha512-afXhuC55wkAmZ0P18QsVE6kp8JaxrEokN2HGIoIVv2ijHQd419H0+6EigAFcIzXeMIkcIkNBpB3L/DXB3cTS/g== + dependencies: + unique-slug "^4.0.0" + + unique-slug@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/unique-slug/-/unique-slug-4.0.0.tgz#6bae6bb16be91351badd24cdce741f892a6532e3" + integrity sha512-WrcA6AyEfqDX5bWige/4NQfPZMtASNVxdmWR76WESYQVAACSgWcR6e9i0mofqqBxYFtL4oAxPIptY73/0YE1DQ== + dependencies: + imurmurhash "^0.1.4" + + util-deprecate@^1.0.1: + version "1.0.2" + resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf" + integrity sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw== + + webidl-conversions@^3.0.0: + version "3.0.1" + resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-3.0.1.tgz#24534275e2a7bc6be7bc86611cc16ae0a5654871" + integrity sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ== + + whatwg-url@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/whatwg-url/-/whatwg-url-5.0.0.tgz#966454e8765462e37644d3626f6742ce8b70965d" + integrity sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw== + dependencies: + tr46 "~0.0.3" + webidl-conversions "^3.0.0" + + which@^2.0.1: + version "2.0.2" + resolved "https://registry.yarnpkg.com/which/-/which-2.0.2.tgz#7c6a8dd0a636a0327e10b59c9286eee93f3f51b1" + integrity sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA== + dependencies: + isexe "^2.0.0" + + which@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/which/-/which-4.0.0.tgz#cd60b5e74503a3fbcfbf6cd6b4138a8bae644c1a" + integrity sha512-GlaYyEb07DPxYCKhKzplCWBJtvxZcZMrL+4UkrTSJHHPyZU4mYYTv3qaOe77H7EODLSSopAUFAc6W8U4yqvscg== + dependencies: + isexe "^3.1.1" + + wide-align@^1.1.2: + version "1.1.5" + resolved "https://registry.yarnpkg.com/wide-align/-/wide-align-1.1.5.tgz#df1d4c206854369ecf3c9a4898f1b23fbd9d15d3" + integrity sha512-eDMORYaPNZ4sQIuuYPDHdQvf4gyCF9rEEV/yPxGfwPkRodwEgiMUUXTx/dex+Me0wxx53S+NgUHaP7y3MGlDmg== + dependencies: + string-width "^1.0.2 || 2 || 3 || 4" + + "wrap-ansi-cjs@npm:wrap-ansi@^7.0.0": + version "7.0.0" + resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" + integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== + dependencies: + ansi-styles "^4.0.0" + string-width "^4.1.0" + strip-ansi "^6.0.0" + + wrap-ansi@^8.1.0: + version "8.1.0" + resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-8.1.0.tgz#56dc22368ee570face1b49819975d9b9a5ead214" + integrity sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ== + dependencies: + ansi-styles "^6.1.0" + string-width "^5.0.1" + strip-ansi "^7.0.1" + + wrappy@1: + version "1.0.2" + resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" + integrity sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ== + + yallist@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72" + integrity sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A== + + yamlize@^0.8.0: + version "0.8.0" + resolved "https://registry.yarnpkg.com/yamlize/-/yamlize-0.8.0.tgz#5d263fff74329b7435ff163eeee8e137298a7f5e" + integrity sha512-2sXxXTr4gZuIP1TmVmm9yJc/WirEKsqctk/gk4MzPGuochfSAY4+OxKXXqFj02HejQmEgAFRun7b0Ec6YjlE7A== + dependencies: + js-yaml "^4.1.0" + mkdirp "3.0.1" + nested-obj "^0.0.1" diff --git a/yarn.lock b/yarn.lock index 1e67bd3..e1a1231 100644 --- a/yarn.lock +++ b/yarn.lock @@ -54,10 +54,10 @@ dependencies: semver "^7.3.5" -"@pgsql/types@^15.0.1": - version "15.0.1" - resolved "https://registry.yarnpkg.com/@pgsql/types/-/types-15.0.1.tgz#51d6c550636d3dc6628dad571a340ea7f6bb0b14" - integrity sha512-1pkWXu0criJB+hQPt5HpR8QNEBk4pNTgkA9bMfqEk3FFn6w6DdIVSiHZqoe/xhAKPvWDDDUUKNZIqhSXa5+YeA== +"@pgsql/types@15.0.2": + version "15.0.2" + resolved "https://registry.yarnpkg.com/@pgsql/types/-/types-15.0.2.tgz#f407fa6377e72ef47ed88b7801bb03a98b8460dd" + integrity sha512-K3gtnbqbSUuUVmPm143qx5Gy2EmKuooshV95yMD48EUQ1256sgZBriEfY61OWJnlzdREdqHTIOxQqpZAb7XdZg== "@pkgjs/parseargs@^0.11.0": version "0.11.0" @@ -262,7 +262,14 @@ console-control-strings@^1.0.0, console-control-strings@^1.1.0: resolved "https://registry.yarnpkg.com/console-control-strings/-/console-control-strings-1.1.0.tgz#3d7cf4464db6446ea644bf4b39507f9851008e8e" integrity sha512-ty/fTekppD2fIwRvnZAVdeOiGd1c7YXEixbgJTNzqcxJWKQnjJ/V1bNEEE6hygpM3WjwHFUVK6HTjWSzV4a8sQ== -cross-spawn@^7.0.0: +cross-env@^7.0.3: + version "7.0.3" + resolved "https://registry.yarnpkg.com/cross-env/-/cross-env-7.0.3.tgz#865264b29677dc015ba8418918965dd232fc54cf" + integrity sha512-+/HKd6EgcQCJGh2PSjZuUitQBQynKor4wrFbRg4DtAgS1aWO+gU52xpH7M9ScGgXSYmAVS9bIJ8EzuaGw0oNAw== + dependencies: + cross-spawn "^7.0.1" + +cross-spawn@^7.0.0, cross-spawn@^7.0.1: version "7.0.3" resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6" integrity sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==