From ce9101857fcab2f38f7d09998fb63ac337672374 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=84=86=E8=96=AF=E9=A5=BC?= Date: Thu, 2 Jan 2025 09:17:42 +0800 Subject: [PATCH] chore: bump package version Update package-lock.json Update package.json Update .npmrc --- .npmrc | 2 +- package-lock.json | 185 +++++++++++++++++++++++++++++++++++++++++--- package.json | 3 +- src/request.dev.js | 3 +- src/response.dev.js | 3 +- 5 files changed, 183 insertions(+), 13 deletions(-) diff --git a/.npmrc b/.npmrc index 1b54673..9a38b2b 100644 --- a/.npmrc +++ b/.npmrc @@ -1,3 +1,3 @@ registry=https://registry.npmjs.org/ -@nsnanocat:registry=https://npm.pkg.github.com/ +//@nsnanocat:registry=https://npm.pkg.github.com/ //npm.pkg.github.com/:_authToken=${NODE_AUTH_TOKEN} diff --git a/package-lock.json b/package-lock.json index 017f07b..82f268e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -7,7 +7,8 @@ "name": "@iringo/siri", "license": "Apache-2.0", "dependencies": { - "@nsnanocat/util": "^1.7.6", + "@nsnanocat/grpc": "^1.0.0", + "@nsnanocat/util": "^0.0.0-preview-7be35e5", "@protobuf-ts/runtime": "^2.9.3", "pako": "^2.1.0" }, @@ -355,15 +356,35 @@ "node": ">= 8" } }, - "node_modules/@nsnanocat/util": { - "version": "1.7.6", - "resolved": "https://npm.pkg.github.com/download/@nsnanocat/util/1.7.6/4c7a65d6e991a2bfe1dd19651874bd3b3779d740", - "integrity": "sha512-vttYKFHhpl1O5r6jCXwyQ1n8i6RJ0oMUhTjXV2B6HZI2yucPnxK4ZVlAcM1zxee5+Wm7acGxRZXLGVXg7HV9hA==", + "node_modules/@nsnanocat/grpc": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@nsnanocat/grpc/-/grpc-1.0.0.tgz", + "integrity": "sha512-GGFRjMThHzzK7gFCzTqHpr3HRayLCt60DTU0YS73nDs71GiW21+XvGYFSrqezWziVNJpwBBAVUg5Yx+rSkLetA==", "license": "Apache-2.0", "dependencies": { + "@nsnanocat/util": "^1.8.7", "pako": "^2.1.0" } }, + "node_modules/@nsnanocat/grpc/node_modules/@nsnanocat/util": { + "version": "1.8.9", + "resolved": "https://registry.npmjs.org/@nsnanocat/util/-/util-1.8.9.tgz", + "integrity": "sha512-Q+b/YuY33b397hz+wi2YTlEnqbar0A+gWEZQj4wFBQRgjmIIr56juTj+ZgrSY28hquRz+lQgIx851DXKCkeJaw==", + "license": "Apache-2.0" + }, + "node_modules/@nsnanocat/util": { + "version": "0.0.0-preview-7be35e5", + "resolved": "https://registry.npmjs.org/@nsnanocat/util/-/util-0.0.0-preview-7be35e5.tgz", + "integrity": "sha512-G/fQlP8zC50htV08m+4k1J/P6fVuzHWir1Aidr0l3veCohQQ4a7PBY7FyOyQ6yEhUmZzxyTb+D+aAw4vQi3+Qg==", + "license": "Apache-2.0", + "dependencies": { + "type-fest": "^4.31.0" + }, + "optionalDependencies": { + "fetch-cookie": "^3.1.0", + "node-fetch": "^3.3.2" + } + }, "node_modules/@pkgjs/parseargs": { "version": "0.11.0", "resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz", @@ -3193,6 +3214,41 @@ "pend": "~1.2.0" } }, + "node_modules/fetch-blob": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/fetch-blob/-/fetch-blob-3.2.0.tgz", + "integrity": "sha512-7yAQpD2UMJzLi1Dqv7qFYnPbaPx7ZfFK6PiIxQ4PfkGPyNyl2Ugx+a/umUonmKqjhM4DnfbMvdX6otXq83soQQ==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/jimmywarting" + }, + { + "type": "paypal", + "url": "https://paypal.me/jimmywarting" + } + ], + "license": "MIT", + "optional": true, + "dependencies": { + "node-domexception": "^1.0.0", + "web-streams-polyfill": "^3.0.3" + }, + "engines": { + "node": "^12.20 || >= 14.13" + } + }, + "node_modules/fetch-cookie": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/fetch-cookie/-/fetch-cookie-3.1.0.tgz", + "integrity": "sha512-s/XhhreJpqH0ftkGVcQt8JE9bqk+zRn4jF5mPJXWZeQMCI5odV9K+wEWYbnzFPHgQZlvPSMjS4n4yawWE8RINw==", + "license": "Unlicense", + "optional": true, + "dependencies": { + "set-cookie-parser": "^2.4.8", + "tough-cookie": "^5.0.0" + } + }, "node_modules/fill-range": { "version": "7.1.1", "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", @@ -3303,6 +3359,19 @@ "url": "https://github.com/sponsors/isaacs" } }, + "node_modules/formdata-polyfill": { + "version": "4.0.10", + "resolved": "https://registry.npmjs.org/formdata-polyfill/-/formdata-polyfill-4.0.10.tgz", + "integrity": "sha512-buewHzMvYL29jdeQTVILecSaZKnt/RJWjoZCF5OW60Z67/GmSLBkOFM7qh1PI3zFNtJbaZL5eQu1vLfazOwj4g==", + "license": "MIT", + "optional": true, + "dependencies": { + "fetch-blob": "^3.1.2" + }, + "engines": { + "node": ">=12.20.0" + } + }, "node_modules/forwarded": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz", @@ -4743,6 +4812,55 @@ "node": ">= 0.4.0" } }, + "node_modules/node-domexception": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/node-domexception/-/node-domexception-1.0.0.tgz", + "integrity": "sha512-/jKZoMpw0F8GRwl4/eLROPA3cfcXtLApP0QzLmUT/HuPCZWyB7IY9ZrMeKw2O/nFIqPQB3PVM9aYm0F312AXDQ==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/jimmywarting" + }, + { + "type": "github", + "url": "https://paypal.me/jimmywarting" + } + ], + "license": "MIT", + "optional": true, + "engines": { + "node": ">=10.5.0" + } + }, + "node_modules/node-fetch": { + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-3.3.2.tgz", + "integrity": "sha512-dRB78srN/l6gqWulah9SrxeYnxeddIG30+GOqK/9OlLVyLg3HPnr6SqOWTWOXKRwC2eGYCkZ59NNuSgvSrpgOA==", + "license": "MIT", + "optional": true, + "dependencies": { + "data-uri-to-buffer": "^4.0.0", + "fetch-blob": "^3.1.4", + "formdata-polyfill": "^4.0.10" + }, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/node-fetch" + } + }, + "node_modules/node-fetch/node_modules/data-uri-to-buffer": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/data-uri-to-buffer/-/data-uri-to-buffer-4.0.1.tgz", + "integrity": "sha512-0R9ikRb668HB7QDxT1vkpuUBtqc53YyAwMwGeUFKRojY/NWKvdZ+9UYtRfGmhqNbRkTSVpMbmyhXipFFv2cb/A==", + "license": "MIT", + "optional": true, + "engines": { + "node": ">= 12" + } + }, "node_modules/node-forge": { "version": "1.3.1", "resolved": "https://registry.npmjs.org/node-forge/-/node-forge-1.3.1.tgz", @@ -6090,6 +6208,13 @@ "node": ">= 0.8.0" } }, + "node_modules/set-cookie-parser": { + "version": "2.7.1", + "resolved": "https://registry.npmjs.org/set-cookie-parser/-/set-cookie-parser-2.7.1.tgz", + "integrity": "sha512-IOc8uWeOZgnb3ptbCURJWNjWUPcO3ZnTTdzsurqERrP6nPyv+paC55vJM0LpOlT2ne+Ix+9+CRG1MNLlyZ4GjQ==", + "license": "MIT", + "optional": true + }, "node_modules/set-function-length": { "version": "1.2.2", "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.2.2.tgz", @@ -6746,6 +6871,26 @@ "node": ">=0.6.0" } }, + "node_modules/tldts": { + "version": "6.1.70", + "resolved": "https://registry.npmjs.org/tldts/-/tldts-6.1.70.tgz", + "integrity": "sha512-/W1YVgYVJd9ZDjey5NXadNh0mJXkiUMUue9Zebd0vpdo1sU+H4zFFTaJ1RKD4N6KFoHfcXy6l+Vu7bh+bdWCzA==", + "license": "MIT", + "optional": true, + "dependencies": { + "tldts-core": "^6.1.70" + }, + "bin": { + "tldts": "bin/cli.js" + } + }, + "node_modules/tldts-core": { + "version": "6.1.70", + "resolved": "https://registry.npmjs.org/tldts-core/-/tldts-core-6.1.70.tgz", + "integrity": "sha512-RNnIXDB1FD4T9cpQRErEqw6ZpjLlGdMOitdV+0xtbsnwr4YFka1zpc7D4KD+aAn8oSG5JyFrdasZTE04qDE9Yg==", + "license": "MIT", + "optional": true + }, "node_modules/to-regex-range": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", @@ -6779,6 +6924,19 @@ "node": ">=6" } }, + "node_modules/tough-cookie": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-5.0.0.tgz", + "integrity": "sha512-FRKsF7cz96xIIeMZ82ehjC3xW2E+O2+v11udrDYewUbszngYhsGa8z6YUMMzO9QJZzzyd0nGGXnML/TReX6W8Q==", + "license": "BSD-3-Clause", + "optional": true, + "dependencies": { + "tldts": "^6.1.32" + }, + "engines": { + "node": ">=16" + } + }, "node_modules/tree-dump": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/tree-dump/-/tree-dump-1.0.2.tgz", @@ -6822,10 +6980,9 @@ "license": "MIT" }, "node_modules/type-fest": { - "version": "4.30.0", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.30.0.tgz", - "integrity": "sha512-G6zXWS1dLj6eagy6sVhOMQiLtJdxQBHIA9Z6HFUNLOlr6MFOgzV8wvmidtPONfPtEUv0uZsy77XJNzTAfwPDaA==", - "dev": true, + "version": "4.31.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.31.0.tgz", + "integrity": "sha512-yCxltHW07Nkhv/1F6wWBr8kz+5BGMfP+RbRSYFnegVb0qV/UMT0G0ElBloPVerqn4M2ZV80Ir1FtCcYv1cT6vQ==", "license": "(MIT OR CC0-1.0)", "engines": { "node": ">=16" @@ -7079,6 +7236,16 @@ "defaults": "^1.0.3" } }, + "node_modules/web-streams-polyfill": { + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/web-streams-polyfill/-/web-streams-polyfill-3.3.3.tgz", + "integrity": "sha512-d2JWLCivmZYTSIoge9MsgFCZrt571BikcWGYkjC1khllbTeDlGqZ2D8vD8E/lJa8WGWbb7Plm8/XJYV7IJHZZw==", + "license": "MIT", + "optional": true, + "engines": { + "node": ">= 8" + } + }, "node_modules/webpack": { "version": "5.97.1", "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.97.1.tgz", diff --git a/package.json b/package.json index 458c8bc..31233f0 100644 --- a/package.json +++ b/package.json @@ -45,7 +45,8 @@ "node-polyfill-webpack-plugin": "^4.1.0" }, "dependencies": { - "@nsnanocat/util": "^1.7.6", + "@nsnanocat/grpc": "^1.0.0", + "@nsnanocat/util": "^0.0.0-preview-7be35e5", "@protobuf-ts/runtime": "^2.9.3", "pako": "^2.1.0" } diff --git a/src/request.dev.js b/src/request.dev.js index 22ba1c2..1aa30fa 100644 --- a/src/request.dev.js +++ b/src/request.dev.js @@ -1,4 +1,5 @@ -import { $app, Console, done, gRPC, Lodash as _ } from "@nsnanocat/util"; +import { $app, Console, done, Lodash as _ } from "@nsnanocat/util"; +import gRPC from "@nsnanocat/grpc"; import { MESSAGE_TYPE, reflectionMergePartial, BinaryReader, WireType, UnknownFieldHandler, isJsonObject, typeofJsonValue, jsonWriteOptions, MessageType } from "@protobuf-ts/runtime"; import database from "./function/database.mjs"; import setENV from "./function/setENV.mjs"; diff --git a/src/response.dev.js b/src/response.dev.js index 475879b..07492c1 100644 --- a/src/response.dev.js +++ b/src/response.dev.js @@ -1,4 +1,5 @@ -import { $app, Console, done, gRPC, Lodash as _ } from "@nsnanocat/util"; +import { $app, Console, done, Lodash as _ } from "@nsnanocat/util"; +import gRPC from "@nsnanocat/grpc"; import database from "./function/database.mjs"; import setENV from "./function/setENV.mjs"; /***************** Processing *****************/