From 5c7b51491921e5abbfad4079f71dc9f1834bcfd1 Mon Sep 17 00:00:00 2001 From: Alex Miller Date: Wed, 11 Sep 2024 13:29:11 +1200 Subject: [PATCH 1/3] Bump packages --- package.json | 10 ++-- pnpm-lock.yaml | 158 ++++++++++++++++++++++++------------------------- 2 files changed, 84 insertions(+), 84 deletions(-) diff --git a/package.json b/package.json index 86f6f58..e6a3297 100644 --- a/package.json +++ b/package.json @@ -25,21 +25,21 @@ ], "license": "MIT", "dependencies": { - "@actions/core": "^1.10.0", + "@actions/core": "^1.10.1", "@actions/exec": "^1.1.1", "@actions/github": "^6.0.0", "js-yaml": "^4.1.0", - "micromatch": "^4.0.5" + "micromatch": "^4.0.8" }, "devDependencies": { "@eslint/compat": "^1.1.1", "@eslint/eslintrc": "^3.1.0", "@eslint/js": "^9.10.0", "@octokit/webhooks-types": "^7.5.1", - "@tsconfig/node20": "^20.1.2", + "@tsconfig/node20": "^20.1.4", "@types/eslint__js": "^8.42.3", "@types/js-yaml": "^4.0.9", - "@types/micromatch": "^4.0.2", + "@types/micromatch": "^4.0.9", "@types/node": "^20.0.0", "@typescript-eslint/eslint-plugin": "^8.5.0", "@typescript-eslint/parser": "^8.5.0", @@ -50,7 +50,7 @@ "eslint-import-resolver-typescript": "^3.6.3", "eslint-plugin-github": "^5.0.1", "prettier": "^3.3.3", - "typescript": "^5.3.3", + "typescript": "^5.6.2", "typescript-eslint": "^8.5.0", "vitest": "^2.0.5" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 322804e..87f5288 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -6,7 +6,7 @@ settings: dependencies: '@actions/core': - specifier: ^1.10.0 + specifier: ^1.10.1 version: 1.10.1 '@actions/exec': specifier: ^1.1.1 @@ -18,8 +18,8 @@ dependencies: specifier: ^4.1.0 version: 4.1.0 micromatch: - specifier: ^4.0.5 - version: 4.0.5 + specifier: ^4.0.8 + version: 4.0.8 devDependencies: '@eslint/compat': @@ -35,8 +35,8 @@ devDependencies: specifier: ^7.5.1 version: 7.5.1 '@tsconfig/node20': - specifier: ^20.1.2 - version: 20.1.2 + specifier: ^20.1.4 + version: 20.1.4 '@types/eslint__js': specifier: ^8.42.3 version: 8.42.3 @@ -44,17 +44,17 @@ devDependencies: specifier: ^4.0.9 version: 4.0.9 '@types/micromatch': - specifier: ^4.0.2 - version: 4.0.6 + specifier: ^4.0.9 + version: 4.0.9 '@types/node': specifier: ^20.0.0 version: 20.11.10 '@typescript-eslint/eslint-plugin': specifier: ^8.5.0 - version: 8.5.0(@typescript-eslint/parser@8.5.0)(eslint@9.10.0)(typescript@5.3.3) + version: 8.5.0(@typescript-eslint/parser@8.5.0)(eslint@9.10.0)(typescript@5.6.2) '@typescript-eslint/parser': specifier: ^8.5.0 - version: 8.5.0(eslint@9.10.0)(typescript@5.3.3) + version: 8.5.0(eslint@9.10.0)(typescript@5.6.2) chalk: specifier: ^5.3.0 version: 5.3.0 @@ -72,16 +72,16 @@ devDependencies: version: 3.6.3(@typescript-eslint/parser@8.5.0)(eslint@9.10.0) eslint-plugin-github: specifier: ^5.0.1 - version: 5.0.1(eslint-import-resolver-typescript@3.6.3)(eslint@9.10.0)(typescript@5.3.3) + version: 5.0.1(eslint-import-resolver-typescript@3.6.3)(eslint@9.10.0)(typescript@5.6.2) prettier: specifier: ^3.3.3 version: 3.3.3 typescript: - specifier: ^5.3.3 - version: 5.3.3 + specifier: ^5.6.2 + version: 5.6.2 typescript-eslint: specifier: ^8.5.0 - version: 8.5.0(eslint@9.10.0)(typescript@5.3.3) + version: 8.5.0(eslint@9.10.0)(typescript@5.6.2) vitest: specifier: ^2.0.5 version: 2.0.5(@types/node@20.11.10) @@ -934,8 +934,8 @@ packages: dev: true optional: true - /@tsconfig/node20@20.1.2: - resolution: {integrity: sha512-madaWq2k+LYMEhmcp0fs+OGaLFk0OenpHa4gmI4VEmCKX4PJntQ6fnnGADVFrVkBj0wIdAlQnK/MrlYTHsa1gQ==} + /@tsconfig/node20@20.1.4: + resolution: {integrity: sha512-sqgsT69YFeLWf5NtJ4Xq/xAF8p4ZQHlmGW74Nu2tD4+g5fAsposc4ZfaaPixVu4y01BEiDCWLRDCvDM5JOsRxg==} dev: true /@types/braces@3.0.4: @@ -971,8 +971,8 @@ packages: resolution: {integrity: sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==} dev: true - /@types/micromatch@4.0.6: - resolution: {integrity: sha512-2eulCHWqjEpk9/vyic4tBhI8a9qQEl6DaK2n/sF7TweX9YESlypgKyhXMDGt4DAOy/jhLPvVrZc8pTDAMsplJA==} + /@types/micromatch@4.0.9: + resolution: {integrity: sha512-7V+8ncr22h4UoYRLnLXSpTxjQrNUXtWHGeMPRJt1nULXI57G9bIcpyrHlmrQ7QK24EyyuXvYcSSWAM8GA9nqCg==} dependencies: '@types/braces': 3.0.4 dev: true @@ -983,7 +983,7 @@ packages: undici-types: 5.26.5 dev: true - /@typescript-eslint/eslint-plugin@7.18.0(@typescript-eslint/parser@7.18.0)(eslint@9.10.0)(typescript@5.3.3): + /@typescript-eslint/eslint-plugin@7.18.0(@typescript-eslint/parser@7.18.0)(eslint@9.10.0)(typescript@5.6.2): resolution: {integrity: sha512-94EQTWZ40mzBc42ATNIBimBEDltSJ9RQHCC8vc/PDbxi4k8dVwUAv4o98dk50M1zB+JGFxp43FP7f8+FP8R6Sw==} engines: {node: ^18.18.0 || >=20.0.0} peerDependencies: @@ -995,22 +995,22 @@ packages: optional: true dependencies: '@eslint-community/regexpp': 4.10.0 - '@typescript-eslint/parser': 7.18.0(eslint@9.10.0)(typescript@5.3.3) + '@typescript-eslint/parser': 7.18.0(eslint@9.10.0)(typescript@5.6.2) '@typescript-eslint/scope-manager': 7.18.0 - '@typescript-eslint/type-utils': 7.18.0(eslint@9.10.0)(typescript@5.3.3) - '@typescript-eslint/utils': 7.18.0(eslint@9.10.0)(typescript@5.3.3) + '@typescript-eslint/type-utils': 7.18.0(eslint@9.10.0)(typescript@5.6.2) + '@typescript-eslint/utils': 7.18.0(eslint@9.10.0)(typescript@5.6.2) '@typescript-eslint/visitor-keys': 7.18.0 eslint: 9.10.0 graphemer: 1.4.0 ignore: 5.3.2 natural-compare: 1.4.0 - ts-api-utils: 1.3.0(typescript@5.3.3) - typescript: 5.3.3 + ts-api-utils: 1.3.0(typescript@5.6.2) + typescript: 5.6.2 transitivePeerDependencies: - supports-color dev: true - /@typescript-eslint/eslint-plugin@8.5.0(@typescript-eslint/parser@8.5.0)(eslint@9.10.0)(typescript@5.3.3): + /@typescript-eslint/eslint-plugin@8.5.0(@typescript-eslint/parser@8.5.0)(eslint@9.10.0)(typescript@5.6.2): resolution: {integrity: sha512-lHS5hvz33iUFQKuPFGheAB84LwcJ60G8vKnEhnfcK1l8kGVLro2SFYW6K0/tj8FUhRJ0VHyg1oAfg50QGbPPHw==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: @@ -1022,22 +1022,22 @@ packages: optional: true dependencies: '@eslint-community/regexpp': 4.10.0 - '@typescript-eslint/parser': 8.5.0(eslint@9.10.0)(typescript@5.3.3) + '@typescript-eslint/parser': 8.5.0(eslint@9.10.0)(typescript@5.6.2) '@typescript-eslint/scope-manager': 8.5.0 - '@typescript-eslint/type-utils': 8.5.0(eslint@9.10.0)(typescript@5.3.3) - '@typescript-eslint/utils': 8.5.0(eslint@9.10.0)(typescript@5.3.3) + '@typescript-eslint/type-utils': 8.5.0(eslint@9.10.0)(typescript@5.6.2) + '@typescript-eslint/utils': 8.5.0(eslint@9.10.0)(typescript@5.6.2) '@typescript-eslint/visitor-keys': 8.5.0 eslint: 9.10.0 graphemer: 1.4.0 ignore: 5.3.2 natural-compare: 1.4.0 - ts-api-utils: 1.3.0(typescript@5.3.3) - typescript: 5.3.3 + ts-api-utils: 1.3.0(typescript@5.6.2) + typescript: 5.6.2 transitivePeerDependencies: - supports-color dev: true - /@typescript-eslint/parser@7.18.0(eslint@9.10.0)(typescript@5.3.3): + /@typescript-eslint/parser@7.18.0(eslint@9.10.0)(typescript@5.6.2): resolution: {integrity: sha512-4Z+L8I2OqhZV8qA132M4wNL30ypZGYOQVBfMgxDH/K5UX0PNqTu1c6za9ST5r9+tavvHiTWmBnKzpCJ/GlVFtg==} engines: {node: ^18.18.0 || >=20.0.0} peerDependencies: @@ -1049,16 +1049,16 @@ packages: dependencies: '@typescript-eslint/scope-manager': 7.18.0 '@typescript-eslint/types': 7.18.0 - '@typescript-eslint/typescript-estree': 7.18.0(typescript@5.3.3) + '@typescript-eslint/typescript-estree': 7.18.0(typescript@5.6.2) '@typescript-eslint/visitor-keys': 7.18.0 debug: 4.3.7 eslint: 9.10.0 - typescript: 5.3.3 + typescript: 5.6.2 transitivePeerDependencies: - supports-color dev: true - /@typescript-eslint/parser@8.5.0(eslint@9.10.0)(typescript@5.3.3): + /@typescript-eslint/parser@8.5.0(eslint@9.10.0)(typescript@5.6.2): resolution: {integrity: sha512-gF77eNv0Xz2UJg/NbpWJ0kqAm35UMsvZf1GHj8D9MRFTj/V3tAciIWXfmPLsAAF/vUlpWPvUDyH1jjsr0cMVWw==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: @@ -1070,11 +1070,11 @@ packages: dependencies: '@typescript-eslint/scope-manager': 8.5.0 '@typescript-eslint/types': 8.5.0 - '@typescript-eslint/typescript-estree': 8.5.0(typescript@5.3.3) + '@typescript-eslint/typescript-estree': 8.5.0(typescript@5.6.2) '@typescript-eslint/visitor-keys': 8.5.0 debug: 4.3.7 eslint: 9.10.0 - typescript: 5.3.3 + typescript: 5.6.2 transitivePeerDependencies: - supports-color dev: true @@ -1095,7 +1095,7 @@ packages: '@typescript-eslint/visitor-keys': 8.5.0 dev: true - /@typescript-eslint/type-utils@7.18.0(eslint@9.10.0)(typescript@5.3.3): + /@typescript-eslint/type-utils@7.18.0(eslint@9.10.0)(typescript@5.6.2): resolution: {integrity: sha512-XL0FJXuCLaDuX2sYqZUUSOJ2sG5/i1AAze+axqmLnSkNEVMVYLF+cbwlB2w8D1tinFuSikHmFta+P+HOofrLeA==} engines: {node: ^18.18.0 || >=20.0.0} peerDependencies: @@ -1105,17 +1105,17 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/typescript-estree': 7.18.0(typescript@5.3.3) - '@typescript-eslint/utils': 7.18.0(eslint@9.10.0)(typescript@5.3.3) + '@typescript-eslint/typescript-estree': 7.18.0(typescript@5.6.2) + '@typescript-eslint/utils': 7.18.0(eslint@9.10.0)(typescript@5.6.2) debug: 4.3.7 eslint: 9.10.0 - ts-api-utils: 1.3.0(typescript@5.3.3) - typescript: 5.3.3 + ts-api-utils: 1.3.0(typescript@5.6.2) + typescript: 5.6.2 transitivePeerDependencies: - supports-color dev: true - /@typescript-eslint/type-utils@8.5.0(eslint@9.10.0)(typescript@5.3.3): + /@typescript-eslint/type-utils@8.5.0(eslint@9.10.0)(typescript@5.6.2): resolution: {integrity: sha512-N1K8Ix+lUM+cIDhL2uekVn/ZD7TZW+9/rwz8DclQpcQ9rk4sIL5CAlBC0CugWKREmDjBzI/kQqU4wkg46jWLYA==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: @@ -1124,11 +1124,11 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/typescript-estree': 8.5.0(typescript@5.3.3) - '@typescript-eslint/utils': 8.5.0(eslint@9.10.0)(typescript@5.3.3) + '@typescript-eslint/typescript-estree': 8.5.0(typescript@5.6.2) + '@typescript-eslint/utils': 8.5.0(eslint@9.10.0)(typescript@5.6.2) debug: 4.3.7 - ts-api-utils: 1.3.0(typescript@5.3.3) - typescript: 5.3.3 + ts-api-utils: 1.3.0(typescript@5.6.2) + typescript: 5.6.2 transitivePeerDependencies: - eslint - supports-color @@ -1144,7 +1144,7 @@ packages: engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} dev: true - /@typescript-eslint/typescript-estree@7.18.0(typescript@5.3.3): + /@typescript-eslint/typescript-estree@7.18.0(typescript@5.6.2): resolution: {integrity: sha512-aP1v/BSPnnyhMHts8cf1qQ6Q1IFwwRvAQGRvBFkWlo3/lH29OXA3Pts+c10nxRxIBrDnoMqzhgdwVe5f2D6OzA==} engines: {node: ^18.18.0 || >=20.0.0} peerDependencies: @@ -1160,13 +1160,13 @@ packages: is-glob: 4.0.3 minimatch: 9.0.5 semver: 7.6.3 - ts-api-utils: 1.3.0(typescript@5.3.3) - typescript: 5.3.3 + ts-api-utils: 1.3.0(typescript@5.6.2) + typescript: 5.6.2 transitivePeerDependencies: - supports-color dev: true - /@typescript-eslint/typescript-estree@8.5.0(typescript@5.3.3): + /@typescript-eslint/typescript-estree@8.5.0(typescript@5.6.2): resolution: {integrity: sha512-vEG2Sf9P8BPQ+d0pxdfndw3xIXaoSjliG0/Ejk7UggByZPKXmJmw3GW5jV2gHNQNawBUyfahoSiCFVov0Ruf7Q==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: @@ -1182,13 +1182,13 @@ packages: is-glob: 4.0.3 minimatch: 9.0.5 semver: 7.6.3 - ts-api-utils: 1.3.0(typescript@5.3.3) - typescript: 5.3.3 + ts-api-utils: 1.3.0(typescript@5.6.2) + typescript: 5.6.2 transitivePeerDependencies: - supports-color dev: true - /@typescript-eslint/utils@7.18.0(eslint@9.10.0)(typescript@5.3.3): + /@typescript-eslint/utils@7.18.0(eslint@9.10.0)(typescript@5.6.2): resolution: {integrity: sha512-kK0/rNa2j74XuHVcoCZxdFBMF+aq/vH83CXAOHieC+2Gis4mF8jJXT5eAfyD3K0sAxtPuwxaIOIOvhwzVDt/kw==} engines: {node: ^18.18.0 || >=20.0.0} peerDependencies: @@ -1197,14 +1197,14 @@ packages: '@eslint-community/eslint-utils': 4.4.0(eslint@9.10.0) '@typescript-eslint/scope-manager': 7.18.0 '@typescript-eslint/types': 7.18.0 - '@typescript-eslint/typescript-estree': 7.18.0(typescript@5.3.3) + '@typescript-eslint/typescript-estree': 7.18.0(typescript@5.6.2) eslint: 9.10.0 transitivePeerDependencies: - supports-color - typescript dev: true - /@typescript-eslint/utils@8.5.0(eslint@9.10.0)(typescript@5.3.3): + /@typescript-eslint/utils@8.5.0(eslint@9.10.0)(typescript@5.6.2): resolution: {integrity: sha512-6yyGYVL0e+VzGYp60wvkBHiqDWOpT63pdMV2CVG4LVDd5uR6q1qQN/7LafBZtAtNIn/mqXjsSeS5ggv/P0iECw==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: @@ -1213,7 +1213,7 @@ packages: '@eslint-community/eslint-utils': 4.4.0(eslint@9.10.0) '@typescript-eslint/scope-manager': 8.5.0 '@typescript-eslint/types': 8.5.0 - '@typescript-eslint/typescript-estree': 8.5.0(typescript@5.3.3) + '@typescript-eslint/typescript-estree': 8.5.0(typescript@5.6.2) eslint: 9.10.0 transitivePeerDependencies: - supports-color @@ -1444,11 +1444,11 @@ packages: balanced-match: 1.0.2 dev: true - /braces@3.0.2: - resolution: {integrity: sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==} + /braces@3.0.3: + resolution: {integrity: sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==} engines: {node: '>=8'} dependencies: - fill-range: 7.0.1 + fill-range: 7.1.1 /browserslist@4.22.3: resolution: {integrity: sha512-UAp55yfwNv0klWNapjs/ktHoguxuQNGnOzxYmfnXIS+8AsRDZkSDxg7R1AX3GKzn078SBI5dzwzj/Yx0Or0e3A==} @@ -1864,7 +1864,7 @@ packages: eslint-import-resolver-webpack: optional: true dependencies: - '@typescript-eslint/parser': 8.5.0(eslint@9.10.0)(typescript@5.3.3) + '@typescript-eslint/parser': 8.5.0(eslint@9.10.0)(typescript@5.6.2) debug: 3.2.7 eslint: 9.10.0 eslint-import-resolver-typescript: 3.6.3(@typescript-eslint/parser@8.5.0)(eslint@9.10.0) @@ -1893,7 +1893,7 @@ packages: eslint-import-resolver-webpack: optional: true dependencies: - '@typescript-eslint/parser': 7.18.0(eslint@9.10.0)(typescript@5.3.3) + '@typescript-eslint/parser': 7.18.0(eslint@9.10.0)(typescript@5.6.2) debug: 3.2.7 eslint: 9.10.0 eslint-import-resolver-node: 0.3.9 @@ -1934,15 +1934,15 @@ packages: lodash.upperfirst: 4.3.1 dev: true - /eslint-plugin-github@5.0.1(eslint-import-resolver-typescript@3.6.3)(eslint@9.10.0)(typescript@5.3.3): + /eslint-plugin-github@5.0.1(eslint-import-resolver-typescript@3.6.3)(eslint@9.10.0)(typescript@5.6.2): resolution: {integrity: sha512-qbXG3wL5Uh2JB92EKeX2hPtO9c/t75qVxQjVLYuTFfhHifLZzv9CBvLCvoaBhLrAC/xTMVht7DK/NofYK8X4Dg==} hasBin: true peerDependencies: eslint: ^8.0.1 dependencies: '@github/browserslist-config': 1.0.0 - '@typescript-eslint/eslint-plugin': 7.18.0(@typescript-eslint/parser@7.18.0)(eslint@9.10.0)(typescript@5.3.3) - '@typescript-eslint/parser': 7.18.0(eslint@9.10.0)(typescript@5.3.3) + '@typescript-eslint/eslint-plugin': 7.18.0(@typescript-eslint/parser@7.18.0)(eslint@9.10.0)(typescript@5.6.2) + '@typescript-eslint/parser': 7.18.0(eslint@9.10.0)(typescript@5.6.2) aria-query: 5.3.0 eslint: 9.10.0 eslint-config-prettier: 9.1.0(eslint@9.10.0) @@ -1984,7 +1984,7 @@ packages: '@typescript-eslint/parser': optional: true dependencies: - '@typescript-eslint/parser': 7.18.0(eslint@9.10.0)(typescript@5.3.3) + '@typescript-eslint/parser': 7.18.0(eslint@9.10.0)(typescript@5.6.2) array-includes: 3.1.7 array.prototype.findlastindex: 1.2.3 array.prototype.flat: 1.3.2 @@ -2201,7 +2201,7 @@ packages: '@nodelib/fs.walk': 1.2.8 glob-parent: 5.1.2 merge2: 1.4.1 - micromatch: 4.0.5 + micromatch: 4.0.8 dev: true /fast-json-stable-stringify@2.1.0: @@ -2225,8 +2225,8 @@ packages: flat-cache: 4.0.1 dev: true - /fill-range@7.0.1: - resolution: {integrity: sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==} + /fill-range@7.1.1: + resolution: {integrity: sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==} engines: {node: '>=8'} dependencies: to-regex-range: 5.0.1 @@ -2733,11 +2733,11 @@ packages: engines: {node: '>= 8'} dev: true - /micromatch@4.0.5: - resolution: {integrity: sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==} + /micromatch@4.0.8: + resolution: {integrity: sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==} engines: {node: '>=8.6'} dependencies: - braces: 3.0.2 + braces: 3.0.3 picomatch: 2.3.1 /mimic-fn@4.0.0: @@ -3247,13 +3247,13 @@ packages: dependencies: is-number: 7.0.0 - /ts-api-utils@1.3.0(typescript@5.3.3): + /ts-api-utils@1.3.0(typescript@5.6.2): resolution: {integrity: sha512-UQMIo7pb8WRomKR1/+MFVLTroIvDVtMX3K6OUir8ynLyzB8Jeriont2bTAtmNPa1ekAgN7YPDyf6V+ygrdU+eQ==} engines: {node: '>=16'} peerDependencies: typescript: '>=4.2.0' dependencies: - typescript: 5.3.3 + typescript: 5.6.2 dev: true /tsconfig-paths@3.15.0: @@ -3319,7 +3319,7 @@ packages: is-typed-array: 1.1.12 dev: true - /typescript-eslint@8.5.0(eslint@9.10.0)(typescript@5.3.3): + /typescript-eslint@8.5.0(eslint@9.10.0)(typescript@5.6.2): resolution: {integrity: sha512-uD+XxEoSIvqtm4KE97etm32Tn5MfaZWgWfMMREStLxR6JzvHkc2Tkj7zhTEK5XmtpTmKHNnG8Sot6qDfhHtR1Q==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: @@ -3328,17 +3328,17 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/eslint-plugin': 8.5.0(@typescript-eslint/parser@8.5.0)(eslint@9.10.0)(typescript@5.3.3) - '@typescript-eslint/parser': 8.5.0(eslint@9.10.0)(typescript@5.3.3) - '@typescript-eslint/utils': 8.5.0(eslint@9.10.0)(typescript@5.3.3) - typescript: 5.3.3 + '@typescript-eslint/eslint-plugin': 8.5.0(@typescript-eslint/parser@8.5.0)(eslint@9.10.0)(typescript@5.6.2) + '@typescript-eslint/parser': 8.5.0(eslint@9.10.0)(typescript@5.6.2) + '@typescript-eslint/utils': 8.5.0(eslint@9.10.0)(typescript@5.6.2) + typescript: 5.6.2 transitivePeerDependencies: - eslint - supports-color dev: true - /typescript@5.3.3: - resolution: {integrity: sha512-pXWcraxM0uxAS+tN0AG/BF2TyqmHO014Z070UsJ+pFvYuRSq8KH8DmWpnbXe0pEPDHXZV3FcAbJkijJ5oNEnWw==} + /typescript@5.6.2: + resolution: {integrity: sha512-NW8ByodCSNCwZeghjN3o+JX5OFH0Ojg6sadjEKY4huZ52TqbJTJnDo5+Tw98lSy63NZvi4n+ez5m2u5d4PkZyw==} engines: {node: '>=14.17'} hasBin: true dev: true From bfc6e4821670011d274dea729ed809dfcfe10143 Mon Sep 17 00:00:00 2001 From: Alex Miller Date: Wed, 11 Sep 2024 13:29:16 +1200 Subject: [PATCH 2/3] Generate new bundle --- dist/index.mjs | 142 ++++++++++++++++++++++++++----------------------- 1 file changed, 76 insertions(+), 66 deletions(-) diff --git a/dist/index.mjs b/dist/index.mjs index 2598436..7897461 100644 --- a/dist/index.mjs +++ b/dist/index.mjs @@ -22815,9 +22815,9 @@ var require_github = __commonJS({ } }); -// node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/utils.js +// node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/utils.js var require_utils5 = __commonJS({ - "node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/utils.js"(exports) { + "node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/utils.js"(exports) { "use strict"; exports.isInteger = (num) => { if (typeof num === "number") { @@ -22835,7 +22835,7 @@ var require_utils5 = __commonJS({ return (Number(max) - Number(min)) / Number(step) >= limit; }; exports.escapeNode = (block, n = 0, type2) => { - let node = block.nodes[n]; + const node = block.nodes[n]; if (!node) return; if (type2 && node.type === type2 || node.type === "open" || node.type === "close") { if (node.escaped !== true) { @@ -22880,8 +22880,14 @@ var require_utils5 = __commonJS({ const result = []; const flat2 = (arr) => { for (let i = 0; i < arr.length; i++) { - let ele = arr[i]; - Array.isArray(ele) ? flat2(ele, result) : ele !== void 0 && result.push(ele); + const ele = arr[i]; + if (Array.isArray(ele)) { + flat2(ele); + continue; + } + if (ele !== void 0) { + result.push(ele); + } } return result; }; @@ -22891,15 +22897,15 @@ var require_utils5 = __commonJS({ } }); -// node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/stringify.js +// node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/stringify.js var require_stringify = __commonJS({ - "node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/stringify.js"(exports, module) { + "node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/stringify.js"(exports, module) { "use strict"; var utils = require_utils5(); module.exports = (ast, options = {}) => { - let stringify2 = (node, parent = {}) => { - let invalidBlock = options.escapeInvalid && utils.isInvalidBrace(parent); - let invalidNode = node.invalid === true && options.escapeInvalid === true; + const stringify2 = (node, parent = {}) => { + const invalidBlock = options.escapeInvalid && utils.isInvalidBrace(parent); + const invalidNode = node.invalid === true && options.escapeInvalid === true; let output = ""; if (node.value) { if ((invalidBlock || invalidNode) && utils.isOpenOrClose(node)) { @@ -22911,7 +22917,7 @@ var require_stringify = __commonJS({ return node.value; } if (node.nodes) { - for (let child of node.nodes) { + for (const child of node.nodes) { output += stringify2(child); } } @@ -23149,9 +23155,9 @@ var require_to_regex_range = __commonJS({ } }); -// node_modules/.pnpm/fill-range@7.0.1/node_modules/fill-range/index.js +// node_modules/.pnpm/fill-range@7.1.1/node_modules/fill-range/index.js var require_fill_range = __commonJS({ - "node_modules/.pnpm/fill-range@7.0.1/node_modules/fill-range/index.js"(exports, module) { + "node_modules/.pnpm/fill-range@7.1.1/node_modules/fill-range/index.js"(exports, module) { "use strict"; var util = __require("util"); var toRegexRange = require_to_regex_range(); @@ -23197,7 +23203,7 @@ var require_fill_range = __commonJS({ while (input.length < maxLength) input = "0" + input; return negative ? "-" + input : input; }; - var toSequence = (parts, options) => { + var toSequence = (parts, options, maxLen) => { parts.negatives.sort((a, b) => a < b ? -1 : a > b ? 1 : 0); parts.positives.sort((a, b) => a < b ? -1 : a > b ? 1 : 0); let prefix = options.capture ? "" : "?:"; @@ -23205,10 +23211,10 @@ var require_fill_range = __commonJS({ let negatives = ""; let result; if (parts.positives.length) { - positives = parts.positives.join("|"); + positives = parts.positives.map((v) => toMaxLen(String(v), maxLen)).join("|"); } if (parts.negatives.length) { - negatives = `-(${prefix}${parts.negatives.join("|")})`; + negatives = `-(${prefix}${parts.negatives.map((v) => toMaxLen(String(v), maxLen)).join("|")})`; } if (positives && negatives) { result = `${positives}|${negatives}`; @@ -23285,7 +23291,7 @@ var require_fill_range = __commonJS({ index++; } if (options.toRegex === true) { - return step > 1 ? toSequence(parts, options) : toRegex(range, null, { wrap: false, ...options }); + return step > 1 ? toSequence(parts, options, maxLen) : toRegex(range, null, { wrap: false, ...options }); } return range; }; @@ -23343,23 +23349,24 @@ var require_fill_range = __commonJS({ } }); -// node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/compile.js +// node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/compile.js var require_compile = __commonJS({ - "node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/compile.js"(exports, module) { + "node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/compile.js"(exports, module) { "use strict"; var fill = require_fill_range(); var utils = require_utils5(); var compile = (ast, options = {}) => { - let walk = (node, parent = {}) => { - let invalidBlock = utils.isInvalidBrace(parent); - let invalidNode = node.invalid === true && options.escapeInvalid === true; - let invalid = invalidBlock === true || invalidNode === true; - let prefix = options.escapeInvalid === true ? "\\" : ""; + const walk = (node, parent = {}) => { + const invalidBlock = utils.isInvalidBrace(parent); + const invalidNode = node.invalid === true && options.escapeInvalid === true; + const invalid = invalidBlock === true || invalidNode === true; + const prefix = options.escapeInvalid === true ? "\\" : ""; let output = ""; if (node.isOpen === true) { return prefix + node.value; } if (node.isClose === true) { + console.log("node.isClose", prefix, node.value); return prefix + node.value; } if (node.type === "open") { @@ -23375,14 +23382,14 @@ var require_compile = __commonJS({ return node.value; } if (node.nodes && node.ranges > 0) { - let args = utils.reduce(node.nodes); - let range = fill(...args, { ...options, wrap: false, toRegex: true }); + const args = utils.reduce(node.nodes); + const range = fill(...args, { ...options, wrap: false, toRegex: true, strictZeros: true }); if (range.length !== 0) { return args.length > 1 && range.length > 1 ? `(${range})` : range; } } if (node.nodes) { - for (let child of node.nodes) { + for (const child of node.nodes) { output += walk(child, node); } } @@ -23394,24 +23401,24 @@ var require_compile = __commonJS({ } }); -// node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/expand.js +// node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/expand.js var require_expand = __commonJS({ - "node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/expand.js"(exports, module) { + "node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/expand.js"(exports, module) { "use strict"; var fill = require_fill_range(); var stringify2 = require_stringify(); var utils = require_utils5(); var append = (queue = "", stash = "", enclose = false) => { - let result = []; + const result = []; queue = [].concat(queue); stash = [].concat(stash); if (!stash.length) return queue; if (!queue.length) { return enclose ? utils.flatten(stash).map((ele) => `{${ele}}`) : stash; } - for (let item of queue) { + for (const item of queue) { if (Array.isArray(item)) { - for (let value of item) { + for (const value of item) { result.push(append(value, stash, enclose)); } } else { @@ -23424,8 +23431,8 @@ var require_expand = __commonJS({ return utils.flatten(result); }; var expand = (ast, options = {}) => { - let rangeLimit = options.rangeLimit === void 0 ? 1e3 : options.rangeLimit; - let walk = (node, parent = {}) => { + const rangeLimit = options.rangeLimit === void 0 ? 1e3 : options.rangeLimit; + const walk = (node, parent = {}) => { node.queue = []; let p = parent; let q = parent.queue; @@ -23442,7 +23449,7 @@ var require_expand = __commonJS({ return; } if (node.nodes && node.ranges > 0) { - let args = utils.reduce(node.nodes); + const args = utils.reduce(node.nodes); if (utils.exceedsLimit(...args, options.step, rangeLimit)) { throw new RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit."); } @@ -23454,7 +23461,7 @@ var require_expand = __commonJS({ node.nodes = []; return; } - let enclose = utils.encloseBrace(node); + const enclose = utils.encloseBrace(node); let queue = node.queue; let block = node; while (block.type !== "brace" && block.type !== "root" && block.parent) { @@ -23462,7 +23469,7 @@ var require_expand = __commonJS({ queue = block.queue; } for (let i = 0; i < node.nodes.length; i++) { - let child = node.nodes[i]; + const child = node.nodes[i]; if (child.type === "comma" && node.type === "brace") { if (i === 1) queue.push(""); queue.push(""); @@ -23488,12 +23495,12 @@ var require_expand = __commonJS({ } }); -// node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/constants.js +// node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/constants.js var require_constants5 = __commonJS({ - "node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/constants.js"(exports, module) { + "node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/constants.js"(exports, module) { "use strict"; module.exports = { - MAX_LENGTH: 1024 * 64, + MAX_LENGTH: 1e4, // Digits CHAR_0: "0", /* 0 */ @@ -23589,9 +23596,9 @@ var require_constants5 = __commonJS({ } }); -// node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/parse.js +// node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/parse.js var require_parse2 = __commonJS({ - "node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/parse.js"(exports, module) { + "node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/parse.js"(exports, module) { "use strict"; var stringify2 = require_stringify(); var { @@ -23627,21 +23634,20 @@ var require_parse2 = __commonJS({ if (typeof input !== "string") { throw new TypeError("Expected a string"); } - let opts = options || {}; - let max = typeof opts.maxLength === "number" ? Math.min(MAX_LENGTH, opts.maxLength) : MAX_LENGTH; + const opts = options || {}; + const max = typeof opts.maxLength === "number" ? Math.min(MAX_LENGTH, opts.maxLength) : MAX_LENGTH; if (input.length > max) { throw new SyntaxError(`Input length (${input.length}), exceeds max characters (${max})`); } - let ast = { type: "root", input, nodes: [] }; - let stack = [ast]; + const ast = { type: "root", input, nodes: [] }; + const stack = [ast]; let block = ast; let prev = ast; let brackets = 0; - let length = input.length; + const length = input.length; let index = 0; let depth = 0; let value; - let memo = {}; const advance = () => input[index++]; const push = (node) => { if (node.type === "text" && prev.type === "dot") { @@ -23674,7 +23680,6 @@ var require_parse2 = __commonJS({ } if (value === CHAR_LEFT_SQUARE_BRACKET2) { brackets++; - let closed = true; let next; while (index < length && (next = advance())) { value += next; @@ -23713,7 +23718,7 @@ var require_parse2 = __commonJS({ continue; } if (value === CHAR_DOUBLE_QUOTE2 || value === CHAR_SINGLE_QUOTE2 || value === CHAR_BACKTICK) { - let open = value; + const open = value; let next; if (options.keepQuotes !== true) { value = ""; @@ -23734,8 +23739,8 @@ var require_parse2 = __commonJS({ } if (value === CHAR_LEFT_CURLY_BRACE) { depth++; - let dollar = prev.value && prev.value.slice(-1) === "$" || block.dollar === true; - let brace = { + const dollar = prev.value && prev.value.slice(-1) === "$" || block.dollar === true; + const brace = { type: "brace", open: true, close: false, @@ -23755,7 +23760,7 @@ var require_parse2 = __commonJS({ push({ type: "text", value }); continue; } - let type2 = "close"; + const type2 = "close"; block = stack.pop(); block.close = true; push({ type: type2, value }); @@ -23766,7 +23771,7 @@ var require_parse2 = __commonJS({ if (value === CHAR_COMMA2 && depth > 0) { if (block.ranges > 0) { block.ranges = 0; - let open = block.nodes.shift(); + const open = block.nodes.shift(); block.nodes = [open, { type: "text", value: stringify2(block) }]; } push({ type: "comma", value }); @@ -23774,7 +23779,7 @@ var require_parse2 = __commonJS({ continue; } if (value === CHAR_DOT && depth > 0 && block.commas === 0) { - let siblings = block.nodes; + const siblings = block.nodes; if (depth === 0 || siblings.length === 0) { push({ type: "text", value }); continue; @@ -23795,7 +23800,7 @@ var require_parse2 = __commonJS({ } if (prev.type === "range") { siblings.pop(); - let before = siblings[siblings.length - 1]; + const before = siblings[siblings.length - 1]; before.value += prev.value + value; prev = before; block.ranges--; @@ -23817,8 +23822,8 @@ var require_parse2 = __commonJS({ node.invalid = true; } }); - let parent = stack[stack.length - 1]; - let index2 = parent.nodes.indexOf(block); + const parent = stack[stack.length - 1]; + const index2 = parent.nodes.indexOf(block); parent.nodes.splice(index2, 1, ...block.nodes); } } while (stack.length > 0); @@ -23829,9 +23834,9 @@ var require_parse2 = __commonJS({ } }); -// node_modules/.pnpm/braces@3.0.2/node_modules/braces/index.js +// node_modules/.pnpm/braces@3.0.3/node_modules/braces/index.js var require_braces = __commonJS({ - "node_modules/.pnpm/braces@3.0.2/node_modules/braces/index.js"(exports, module) { + "node_modules/.pnpm/braces@3.0.3/node_modules/braces/index.js"(exports, module) { "use strict"; var stringify2 = require_stringify(); var compile = require_compile(); @@ -23840,8 +23845,8 @@ var require_braces = __commonJS({ var braces = (input, options = {}) => { let output = []; if (Array.isArray(input)) { - for (let pattern of input) { - let result = braces.create(pattern, options); + for (const pattern of input) { + const result = braces.create(pattern, options); if (Array.isArray(result)) { output.push(...result); } else { @@ -25402,15 +25407,19 @@ var require_picomatch2 = __commonJS({ } }); -// node_modules/.pnpm/micromatch@4.0.5/node_modules/micromatch/index.js +// node_modules/.pnpm/micromatch@4.0.8/node_modules/micromatch/index.js var require_micromatch = __commonJS({ - "node_modules/.pnpm/micromatch@4.0.5/node_modules/micromatch/index.js"(exports, module) { + "node_modules/.pnpm/micromatch@4.0.8/node_modules/micromatch/index.js"(exports, module) { "use strict"; var util = __require("util"); var braces = require_braces(); var picomatch = require_picomatch2(); var utils = require_utils6(); - var isEmptyString = (val) => val === "" || val === "./"; + var isEmptyString = (v) => v === "" || v === "./"; + var hasBraces = (v) => { + const index = v.indexOf("{"); + return index > -1 && v.indexOf("}", index) > -1; + }; var micromatch2 = (list, patterns, options) => { patterns = [].concat(patterns); list = [].concat(list); @@ -25545,7 +25554,7 @@ var require_micromatch = __commonJS({ }; micromatch2.braces = (pattern, options) => { if (typeof pattern !== "string") throw new TypeError("Expected a string"); - if (options && options.nobrace === true || !/\{.*\}/.test(pattern)) { + if (options && options.nobrace === true || !hasBraces(pattern)) { return [pattern]; } return braces(pattern, options); @@ -25554,6 +25563,7 @@ var require_micromatch = __commonJS({ if (typeof pattern !== "string") throw new TypeError("Expected a string"); return micromatch2.braces(pattern, { ...options, expand: true }); }; + micromatch2.hasBraces = hasBraces; module.exports = micromatch2; } }); From 6f1712ff4e3fe6169335615381960f82de22d917 Mon Sep 17 00:00:00 2001 From: Alex Miller Date: Wed, 11 Sep 2024 13:39:37 +1200 Subject: [PATCH 3/3] Bump actions --- .github/workflows/build.yml | 4 ++-- .github/workflows/pull-request-verification.yml | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1526f12..a291144 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -12,7 +12,7 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: volta-cli/action@v4 - run: | pnpm install @@ -21,7 +21,7 @@ jobs: self-test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: ./ id: filter with: diff --git a/.github/workflows/pull-request-verification.yml b/.github/workflows/pull-request-verification.yml index 26118eb..8480cf9 100644 --- a/.github/workflows/pull-request-verification.yml +++ b/.github/workflows/pull-request-verification.yml @@ -34,7 +34,7 @@ jobs: permissions: pull-requests: read steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: ./ id: filter with: @@ -55,7 +55,7 @@ jobs: permissions: pull-requests: read steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: ./ id: filter with: @@ -67,7 +67,7 @@ jobs: test-without-token: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: ./ id: filter with: @@ -80,7 +80,7 @@ jobs: test-wd-without-token: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: path: somewhere - uses: ./somewhere @@ -96,7 +96,7 @@ jobs: test-local-changes: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: echo "NEW FILE" > local - run: git add local - uses: ./