diff --git a/.vscode/settings.json b/.vscode/settings.json index 4cbf2af..f341cd0 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,7 +1,5 @@ { - "[javascript]": { - "editor.defaultFormatter": "biomejs.biome" - }, "editor.codeActionsOnSave": { + "editor.codeActionsOnSave": { "source.organizeImports.biome": "always", "source.fixAll.biome": "always" } diff --git a/biome.json b/biome.json index 91b0534..82d602d 100644 --- a/biome.json +++ b/biome.json @@ -1,7 +1,7 @@ { - "$schema": "node_modules/@biomejs/biome/configuration_schema.json", - "extends": [ - "node_modules/p-comuns/Documentos/biome.json" - ], - "files": {} + "$schema": "./node_modules/@biomejs/biome/configuration_schema.json", + "extends": ["./node_modules/p-comuns/Documentos/biome.json"], + "files": { + "includes": ["src/**/*.{js,ts,jsx,tsx}"] + } } diff --git a/package.json b/package.json index b863d49..1b1108a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "p-autenticacao-drive", - "version": "1.36.0", + "version": "1.37.0", "description": "", "main": "./src/index.ts", "exports": { @@ -14,7 +14,7 @@ "scripts": { "at": "pnpm up @biomejs/biome typescript", "build": "pnpm run check && tsup --config ./node_modules/p-comuns/tsup/tsup.config.ts && npm --no-git-tag-version version minor", - "biome": "biome check --write ./src && biome check --write ./package.json", + "biome": "pnpm exec biome check --write", "nodev": "check-node-version --node '>= 20'", "check": "pnpm run biome && tsc --noEmit" }, @@ -25,11 +25,11 @@ "uuid": "11.1.0" }, "devDependencies": { - "@biomejs/biome": "2.0.6", - "@types/node": "^20.19.9", + "@biomejs/biome": "2.1.4", + "@types/node": "^20.19.10", "check-node-version": "^4.2.1", "tsup": "8.5.0", - "typescript": "5.5.4" + "typescript": "~5.9.2" }, "keywords": [], "author": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 2dfce93..566d583 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -13,81 +13,81 @@ importers: version: 4.1.0 p-comuns: specifier: git+https://git2.idz.one/publico/_comuns.git - version: git+https://git2.idz.one/publico/_comuns.git#2dafba786d4174b638660017f42a3f09be5396bd + version: git+https://git2.idz.one/publico/_comuns.git#0dc2d7a0df5ba478f7474eb907c3381719bec5f7 p-respostas: specifier: git+https://git2.idz.one/publico/_respostas.git - version: git+https://git2.idz.one/publico/_respostas.git#3d95862ebbb1f722166105c2ec388c198f9136c5 + version: git+https://git2.idz.one/publico/_respostas.git#d9c575d615f771a32cb80dc29d2a13611ced3418 uuid: specifier: 11.1.0 version: 11.1.0 devDependencies: '@biomejs/biome': - specifier: 2.0.6 - version: 2.0.6 + specifier: 2.1.4 + version: 2.1.4 '@types/node': - specifier: ^20.19.9 - version: 20.19.9 + specifier: ^20.19.10 + version: 20.19.10 check-node-version: specifier: ^4.2.1 version: 4.2.1 tsup: specifier: 8.5.0 - version: 8.5.0(typescript@5.5.4) + version: 8.5.0(typescript@5.9.2) typescript: - specifier: 5.5.4 - version: 5.5.4 + specifier: ~5.9.2 + version: 5.9.2 packages: - '@biomejs/biome@2.0.6': - resolution: {integrity: sha512-RRP+9cdh5qwe2t0gORwXaa27oTOiQRQvrFf49x2PA1tnpsyU7FIHX4ZOFMtBC4QNtyWsN7Dqkf5EDbg4X+9iqA==} + '@biomejs/biome@2.1.4': + resolution: {integrity: sha512-QWlrqyxsU0FCebuMnkvBIkxvPqH89afiJzjMl+z67ybutse590jgeaFdDurE9XYtzpjRGTI1tlUZPGWmbKsElA==} engines: {node: '>=14.21.3'} hasBin: true - '@biomejs/cli-darwin-arm64@2.0.6': - resolution: {integrity: sha512-AzdiNNjNzsE6LfqWyBvcL29uWoIuZUkndu+wwlXW13EKcBHbbKjNQEZIJKYDc6IL+p7bmWGx3v9ZtcRyIoIz5A==} + '@biomejs/cli-darwin-arm64@2.1.4': + resolution: {integrity: sha512-sCrNENE74I9MV090Wq/9Dg7EhPudx3+5OiSoQOkIe3DLPzFARuL1dOwCWhKCpA3I5RHmbrsbNSRfZwCabwd8Qg==} engines: {node: '>=14.21.3'} cpu: [arm64] os: [darwin] - '@biomejs/cli-darwin-x64@2.0.6': - resolution: {integrity: sha512-wJjjP4E7bO4WJmiQaLnsdXMa516dbtC6542qeRkyJg0MqMXP0fvs4gdsHhZ7p9XWTAmGIjZHFKXdsjBvKGIJJQ==} + '@biomejs/cli-darwin-x64@2.1.4': + resolution: {integrity: sha512-gOEICJbTCy6iruBywBDcG4X5rHMbqCPs3clh3UQ+hRKlgvJTk4NHWQAyHOXvaLe+AxD1/TNX1jbZeffBJzcrOw==} engines: {node: '>=14.21.3'} cpu: [x64] os: [darwin] - '@biomejs/cli-linux-arm64-musl@2.0.6': - resolution: {integrity: sha512-CVPEMlin3bW49sBqLBg2x016Pws7eUXA27XYDFlEtponD0luYjg2zQaMJ2nOqlkKG9fqzzkamdYxHdMDc2gZFw==} + '@biomejs/cli-linux-arm64-musl@2.1.4': + resolution: {integrity: sha512-nYr7H0CyAJPaLupFE2cH16KZmRC5Z9PEftiA2vWxk+CsFkPZQ6dBRdcC6RuS+zJlPc/JOd8xw3uCCt9Pv41WvQ==} engines: {node: '>=14.21.3'} cpu: [arm64] os: [linux] - '@biomejs/cli-linux-arm64@2.0.6': - resolution: {integrity: sha512-ZSVf6TYo5rNMUHIW1tww+rs/krol7U5A1Is/yzWyHVZguuB0lBnIodqyFuwCNqG9aJGyk7xIMS8HG0qGUPz0SA==} + '@biomejs/cli-linux-arm64@2.1.4': + resolution: {integrity: sha512-juhEkdkKR4nbUi5k/KRp1ocGPNWLgFRD4NrHZSveYrD6i98pyvuzmS9yFYgOZa5JhaVqo0HPnci0+YuzSwT2fw==} engines: {node: '>=14.21.3'} cpu: [arm64] os: [linux] - '@biomejs/cli-linux-x64-musl@2.0.6': - resolution: {integrity: sha512-mKHE/e954hR/hSnAcJSjkf4xGqZc/53Kh39HVW1EgO5iFi0JutTN07TSjEMg616julRtfSNJi0KNyxvc30Y4rQ==} + '@biomejs/cli-linux-x64-musl@2.1.4': + resolution: {integrity: sha512-lvwvb2SQQHctHUKvBKptR6PLFCM7JfRjpCCrDaTmvB7EeZ5/dQJPhTYBf36BE/B4CRWR2ZiBLRYhK7hhXBCZAg==} engines: {node: '>=14.21.3'} cpu: [x64] os: [linux] - '@biomejs/cli-linux-x64@2.0.6': - resolution: {integrity: sha512-geM1MkHTV1Kh2Cs/Xzot9BOF3WBacihw6bkEmxkz4nSga8B9/hWy5BDiOG3gHDGIBa8WxT0nzsJs2f/hPqQIQw==} + '@biomejs/cli-linux-x64@2.1.4': + resolution: {integrity: sha512-Eoy9ycbhpJVYuR+LskV9s3uyaIkp89+qqgqhGQsWnp/I02Uqg2fXFblHJOpGZR8AxdB9ADy87oFVxn9MpFKUrw==} engines: {node: '>=14.21.3'} cpu: [x64] os: [linux] - '@biomejs/cli-win32-arm64@2.0.6': - resolution: {integrity: sha512-290V4oSFoKaprKE1zkYVsDfAdn0An5DowZ+GIABgjoq1ndhvNxkJcpxPsiYtT7slbVe3xmlT0ncdfOsN7KruzA==} + '@biomejs/cli-win32-arm64@2.1.4': + resolution: {integrity: sha512-3WRYte7orvyi6TRfIZkDN9Jzoogbv+gSvR+b9VOXUg1We1XrjBg6WljADeVEaKTvOcpVdH0a90TwyOQ6ue4fGw==} engines: {node: '>=14.21.3'} cpu: [arm64] os: [win32] - '@biomejs/cli-win32-x64@2.0.6': - resolution: {integrity: sha512-bfM1Bce0d69Ao7pjTjUS+AWSZ02+5UHdiAP85Th8e9yV5xzw6JrHXbL5YWlcEKQ84FIZMdDc7ncuti1wd2sdbw==} + '@biomejs/cli-win32-x64@2.1.4': + resolution: {integrity: sha512-tBc+W7anBPSFXGAoQW+f/+svkpt8/uXfRwDzN1DvnatkRMt16KIYpEi/iw8u9GahJlFv98kgHcIrSsZHZTR0sw==} engines: {node: '>=14.21.3'} cpu: [x64] os: [win32] @@ -372,8 +372,8 @@ packages: '@types/estree@1.0.8': resolution: {integrity: sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==} - '@types/node@20.19.9': - resolution: {integrity: sha512-cuVNgarYWZqxRJDQHEB58GEONhOK79QVR/qYx4S7kcUObQvUwvFnYxJuuHUKm2aieN9X3yZB4LZsuYNU1Qphsw==} + '@types/node@20.19.10': + resolution: {integrity: sha512-iAFpG6DokED3roLSP0K+ybeDdIX6Bc0Vd3mLW5uDqThPWtNos3E+EqOM11mPQHKzfWHqEBuLjIlsBQQ8CsISmQ==} acorn@8.15.0: resolution: {integrity: sha512-NZyJarBfL7nWwIq+FDL6Zp/yHEhePMNnnJ0y3qfieCrmNvYct8uvtiV41UvlSe6apAfk0fY1FbWx+NwfmpvtTg==} @@ -580,13 +580,13 @@ packages: object-filter@1.0.2: resolution: {integrity: sha512-NahvP2vZcy1ZiiYah30CEPw0FpDcSkSePJBMpzl5EQgCmISijiGuJm3SPYp7U+Lf2TljyaIw3E5EgkEx/TNEVA==} - p-comuns@git+https://git2.idz.one/publico/_comuns.git#2dafba786d4174b638660017f42a3f09be5396bd: - resolution: {commit: 2dafba786d4174b638660017f42a3f09be5396bd, repo: https://git2.idz.one/publico/_comuns.git, type: git} - version: 0.206.0 + p-comuns@git+https://git2.idz.one/publico/_comuns.git#0dc2d7a0df5ba478f7474eb907c3381719bec5f7: + resolution: {commit: 0dc2d7a0df5ba478f7474eb907c3381719bec5f7, repo: https://git2.idz.one/publico/_comuns.git, type: git} + version: 0.211.0 - p-respostas@git+https://git2.idz.one/publico/_respostas.git#3d95862ebbb1f722166105c2ec388c198f9136c5: - resolution: {commit: 3d95862ebbb1f722166105c2ec388c198f9136c5, repo: https://git2.idz.one/publico/_respostas.git, type: git} - version: 0.46.0 + p-respostas@git+https://git2.idz.one/publico/_respostas.git#d9c575d615f771a32cb80dc29d2a13611ced3418: + resolution: {commit: d9c575d615f771a32cb80dc29d2a13611ced3418, repo: https://git2.idz.one/publico/_respostas.git, type: git} + version: 0.47.0 package-json-from-dist@1.0.1: resolution: {integrity: sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw==} @@ -749,8 +749,8 @@ packages: typescript: optional: true - typescript@5.5.4: - resolution: {integrity: sha512-Mtq29sKDAEYP7aljRgtPOpTvOfbwRWlS6dPRzwjdE+C0R4brX/GUyhHSecbHMFLNBLcJIPt9nl9yG5TZ1weH+Q==} + typescript@5.9.2: + resolution: {integrity: sha512-CWBzXQrc/qOkhidw1OzBTQuYRbfyxDXJMVJ1XNwUHGROVmuaeiEm3OslpZ1RV96d7SKKjZKrSJu3+t/xlw3R9A==} engines: {node: '>=14.17'} hasBin: true @@ -794,39 +794,39 @@ packages: snapshots: - '@biomejs/biome@2.0.6': + '@biomejs/biome@2.1.4': optionalDependencies: - '@biomejs/cli-darwin-arm64': 2.0.6 - '@biomejs/cli-darwin-x64': 2.0.6 - '@biomejs/cli-linux-arm64': 2.0.6 - '@biomejs/cli-linux-arm64-musl': 2.0.6 - '@biomejs/cli-linux-x64': 2.0.6 - '@biomejs/cli-linux-x64-musl': 2.0.6 - '@biomejs/cli-win32-arm64': 2.0.6 - '@biomejs/cli-win32-x64': 2.0.6 + '@biomejs/cli-darwin-arm64': 2.1.4 + '@biomejs/cli-darwin-x64': 2.1.4 + '@biomejs/cli-linux-arm64': 2.1.4 + '@biomejs/cli-linux-arm64-musl': 2.1.4 + '@biomejs/cli-linux-x64': 2.1.4 + '@biomejs/cli-linux-x64-musl': 2.1.4 + '@biomejs/cli-win32-arm64': 2.1.4 + '@biomejs/cli-win32-x64': 2.1.4 - '@biomejs/cli-darwin-arm64@2.0.6': + '@biomejs/cli-darwin-arm64@2.1.4': optional: true - '@biomejs/cli-darwin-x64@2.0.6': + '@biomejs/cli-darwin-x64@2.1.4': optional: true - '@biomejs/cli-linux-arm64-musl@2.0.6': + '@biomejs/cli-linux-arm64-musl@2.1.4': optional: true - '@biomejs/cli-linux-arm64@2.0.6': + '@biomejs/cli-linux-arm64@2.1.4': optional: true - '@biomejs/cli-linux-x64-musl@2.0.6': + '@biomejs/cli-linux-x64-musl@2.1.4': optional: true - '@biomejs/cli-linux-x64@2.0.6': + '@biomejs/cli-linux-x64@2.1.4': optional: true - '@biomejs/cli-win32-arm64@2.0.6': + '@biomejs/cli-win32-arm64@2.1.4': optional: true - '@biomejs/cli-win32-x64@2.0.6': + '@biomejs/cli-win32-x64@2.1.4': optional: true '@esbuild/aix-ppc64@0.25.8': @@ -995,7 +995,7 @@ snapshots: '@types/estree@1.0.8': {} - '@types/node@20.19.9': + '@types/node@20.19.10': dependencies: undici-types: 6.21.0 @@ -1197,17 +1197,18 @@ snapshots: object-filter@1.0.2: {} - p-comuns@git+https://git2.idz.one/publico/_comuns.git#2dafba786d4174b638660017f42a3f09be5396bd: + p-comuns@git+https://git2.idz.one/publico/_comuns.git#0dc2d7a0df5ba478f7474eb907c3381719bec5f7: dependencies: cross-fetch: 4.1.0 dayjs: 1.11.13 + uuid: 11.1.0 zod: 3.24.1 transitivePeerDependencies: - encoding - p-respostas@git+https://git2.idz.one/publico/_respostas.git#3d95862ebbb1f722166105c2ec388c198f9136c5: + p-respostas@git+https://git2.idz.one/publico/_respostas.git#d9c575d615f771a32cb80dc29d2a13611ced3418: dependencies: - p-comuns: git+https://git2.idz.one/publico/_comuns.git#2dafba786d4174b638660017f42a3f09be5396bd + p-comuns: git+https://git2.idz.one/publico/_comuns.git#0dc2d7a0df5ba478f7474eb907c3381719bec5f7 zod: 3.24.1 transitivePeerDependencies: - encoding @@ -1350,7 +1351,7 @@ snapshots: ts-interface-checker@0.1.13: {} - tsup@8.5.0(typescript@5.5.4): + tsup@8.5.0(typescript@5.9.2): dependencies: bundle-require: 5.1.0(esbuild@0.25.8) cac: 6.7.14 @@ -1370,14 +1371,14 @@ snapshots: tinyglobby: 0.2.14 tree-kill: 1.2.2 optionalDependencies: - typescript: 5.5.4 + typescript: 5.9.2 transitivePeerDependencies: - jiti - supports-color - tsx - yaml - typescript@5.5.4: {} + typescript@5.9.2: {} ufo@1.6.1: {}