diff --git a/.github/workflows/ci_node16.yaml b/.github/workflows/ci_node16.yaml index 780f390..8dda553 100644 --- a/.github/workflows/ci_node16.yaml +++ b/.github/workflows/ci_node16.yaml @@ -41,7 +41,7 @@ jobs: - name: Configure NPM run: | npm config set registry https://registry.npmjs.org - npm config set '//packages.aliyun.com/6455f7ff81b284e28f4774c4/npm/npm-registry/:_authToken' ${{secrets.NPM_TOKEN}} + npm config set '//packages.aliyun.com/670e108663cd360abfe4be65/npm/npm-registry/:_authToken' ${{secrets.NPM_TOKEN}} - name: NPM install run: | npm install @@ -83,7 +83,7 @@ jobs: - name: Configure NPM run: | npm config set registry https://registry.npmjs.org - npm config set '//packages.aliyun.com/6455f7ff81b284e28f4774c4/npm/npm-registry/:_authToken' ${{secrets.NPM_TOKEN}} + npm config set '//packages.aliyun.com/670e108663cd360abfe4be65/npm/npm-registry/:_authToken' ${{secrets.NPM_TOKEN}} - name: NPM install run: | npm install @@ -124,7 +124,7 @@ jobs: - name: Configure NPM run: | npm config set registry https://registry.npmjs.org - npm config set '//packages.aliyun.com/6455f7ff81b284e28f4774c4/npm/npm-registry/:_authToken' ${{secrets.NPM_TOKEN}} + npm config set '//packages.aliyun.com/670e108663cd360abfe4be65/npm/npm-registry/:_authToken' ${{secrets.NPM_TOKEN}} - name: NPM install run: | npm install diff --git a/.github/workflows/ci_with_docker_linux.yaml b/.github/workflows/ci_with_docker_linux.yaml index 5d49414..d046b79 100644 --- a/.github/workflows/ci_with_docker_linux.yaml +++ b/.github/workflows/ci_with_docker_linux.yaml @@ -39,7 +39,7 @@ jobs: - name: Configure NPM run: | npm config set registry https://registry.npmjs.org - npm config set '//packages.aliyun.com/6455f7ff81b284e28f4774c4/npm/npm-registry/:_authToken' ${{secrets.NPM_TOKEN}} + npm config set '//packages.aliyun.com/670e108663cd360abfe4be65/npm/npm-registry/:_authToken' ${{secrets.NPM_TOKEN}} - name: NPM install run: | npm install diff --git a/.github/workflows/ci_with_docker_macos.yaml b/.github/workflows/ci_with_docker_macos.yaml index c9fb081..a44b21f 100644 --- a/.github/workflows/ci_with_docker_macos.yaml +++ b/.github/workflows/ci_with_docker_macos.yaml @@ -35,7 +35,7 @@ jobs: - name: Configure NPM run: | npm config set registry https://registry.npmjs.org - npm config set '//packages.aliyun.com/6455f7ff81b284e28f4774c4/npm/npm-registry/:_authToken' ${{secrets.NPM_TOKEN}} + npm config set '//packages.aliyun.com/670e108663cd360abfe4be65/npm/npm-registry/:_authToken' ${{secrets.NPM_TOKEN}} - name: NPM install run: | npm install diff --git a/.github/workflows/registry-publish.yaml b/.github/workflows/registry-publish.yaml index 7fbfba5..6f21834 100644 --- a/.github/workflows/registry-publish.yaml +++ b/.github/workflows/registry-publish.yaml @@ -26,7 +26,7 @@ jobs: - name: Configure NPM run: | npm config set registry https://registry.npmjs.org - npm config set '//packages.aliyun.com/6455f7ff81b284e28f4774c4/npm/npm-registry/:_authToken' ${{secrets.NPM_TOKEN}} + npm config set '//packages.aliyun.com/670e108663cd360abfe4be65/npm/npm-registry/:_authToken' ${{secrets.NPM_TOKEN}} - name: release prod run: | make release-prod diff --git a/__tests__/e2e/apt/code/package-lock.json b/__tests__/e2e/apt/code/package-lock.json new file mode 100644 index 0000000..00ea0a2 --- /dev/null +++ b/__tests__/e2e/apt/code/package-lock.json @@ -0,0 +1,131 @@ +{ + "name": "code", + "version": "1.0.0", + "lockfileVersion": 2, + "requires": true, + "packages": { + "": { + "name": "code", + "version": "1.0.0", + "license": "ISC", + "dependencies": { + "chalk": "^4.1.0" + } + }, + "node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://packages.aliyun.com/670e108663cd360abfe4be65/npm/npm-registry/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "license": "MIT", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://packages.aliyun.com/670e108663cd360abfe4be65/npm/npm-registry/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://packages.aliyun.com/670e108663cd360abfe4be65/npm/npm-registry/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "license": "MIT", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://packages.aliyun.com/670e108663cd360abfe4be65/npm/npm-registry/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "license": "MIT" + }, + "node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://packages.aliyun.com/670e108663cd360abfe4be65/npm/npm-registry/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://packages.aliyun.com/670e108663cd360abfe4be65/npm/npm-registry/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "license": "MIT", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + } + }, + "dependencies": { + "ansi-styles": { + "version": "4.3.0", + "resolved": "https://packages.aliyun.com/670e108663cd360abfe4be65/npm/npm-registry/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "requires": { + "color-convert": "^2.0.1" + } + }, + "chalk": { + "version": "4.1.2", + "resolved": "https://packages.aliyun.com/670e108663cd360abfe4be65/npm/npm-registry/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "requires": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + } + }, + "color-convert": { + "version": "2.0.1", + "resolved": "https://packages.aliyun.com/670e108663cd360abfe4be65/npm/npm-registry/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4", + "resolved": "https://packages.aliyun.com/670e108663cd360abfe4be65/npm/npm-registry/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" + }, + "has-flag": { + "version": "4.0.0", + "resolved": "https://packages.aliyun.com/670e108663cd360abfe4be65/npm/npm-registry/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==" + }, + "supports-color": { + "version": "7.2.0", + "resolved": "https://packages.aliyun.com/670e108663cd360abfe4be65/npm/npm-registry/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "requires": { + "has-flag": "^4.0.0" + } + } + } +} diff --git a/__tests__/e2e/nodejs/code/package-lock.json b/__tests__/e2e/nodejs/code/package-lock.json new file mode 100644 index 0000000..00ea0a2 --- /dev/null +++ b/__tests__/e2e/nodejs/code/package-lock.json @@ -0,0 +1,131 @@ +{ + "name": "code", + "version": "1.0.0", + "lockfileVersion": 2, + "requires": true, + "packages": { + "": { + "name": "code", + "version": "1.0.0", + "license": "ISC", + "dependencies": { + "chalk": "^4.1.0" + } + }, + "node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://packages.aliyun.com/670e108663cd360abfe4be65/npm/npm-registry/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "license": "MIT", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://packages.aliyun.com/670e108663cd360abfe4be65/npm/npm-registry/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://packages.aliyun.com/670e108663cd360abfe4be65/npm/npm-registry/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "license": "MIT", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://packages.aliyun.com/670e108663cd360abfe4be65/npm/npm-registry/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "license": "MIT" + }, + "node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://packages.aliyun.com/670e108663cd360abfe4be65/npm/npm-registry/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://packages.aliyun.com/670e108663cd360abfe4be65/npm/npm-registry/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "license": "MIT", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + } + }, + "dependencies": { + "ansi-styles": { + "version": "4.3.0", + "resolved": "https://packages.aliyun.com/670e108663cd360abfe4be65/npm/npm-registry/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "requires": { + "color-convert": "^2.0.1" + } + }, + "chalk": { + "version": "4.1.2", + "resolved": "https://packages.aliyun.com/670e108663cd360abfe4be65/npm/npm-registry/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "requires": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + } + }, + "color-convert": { + "version": "2.0.1", + "resolved": "https://packages.aliyun.com/670e108663cd360abfe4be65/npm/npm-registry/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4", + "resolved": "https://packages.aliyun.com/670e108663cd360abfe4be65/npm/npm-registry/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" + }, + "has-flag": { + "version": "4.0.0", + "resolved": "https://packages.aliyun.com/670e108663cd360abfe4be65/npm/npm-registry/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==" + }, + "supports-color": { + "version": "7.2.0", + "resolved": "https://packages.aliyun.com/670e108663cd360abfe4be65/npm/npm-registry/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "requires": { + "has-flag": "^4.0.0" + } + } + } +} diff --git a/package-lock.json b/package-lock.json index 9f022ef..02e5f3d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,7 +10,7 @@ "hasInstallScript": true, "license": "ISC", "dependencies": { - "@alicloud/devs20230714": "^1.0.4", + "@alicloud/devs20230714": "^1.0.1", "@alicloud/fc2": "^2.6.6", "@alicloud/fc20230330": "^4.1.3", "@alicloud/pop-core": "^1.7.13", @@ -137,7 +137,7 @@ }, "node_modules/@alicloud/devs20230714": { "version": "1.0.4", - "resolved": "https://packages.aliyun.com/6455f7ff81b284e28f4774c4/npm/npm-registry/@alicloud/devs20230714/-/@alicloud/devs20230714-1.0.4.tgz", + "resolved": "https://packages.aliyun.com/670e108663cd360abfe4be65/npm/npm-registry/@alicloud/devs20230714/-/@alicloud/devs20230714-1.0.4.tgz", "integrity": "sha512-CW4jgz14jQYNMmskMxOjLdHkv9V2n4j2c8NiKa4S1O8S0WYkWIObcJTe07kdWHdIlDRR/bR3vwZaylwC7VSbNA==", "license": "Apache-2.0", "dependencies": { @@ -361,7 +361,7 @@ }, "node_modules/@alicloud/sls20191023": { "version": "1.0.0", - "resolved": "https://packages.aliyun.com/6455f7ff81b284e28f4774c4/npm/npm-registry/@alicloud/sls20191023/-/@alicloud/sls20191023-1.0.0.tgz", + "resolved": "https://packages.aliyun.com/670e108663cd360abfe4be65/npm/npm-registry/@alicloud/sls20191023/-/@alicloud/sls20191023-1.0.0.tgz", "integrity": "sha512-AfVPdk1GfNCDFYNZljuvV2txcXOakBPIswJjo6EgwUetMUbgefvzr7bzjR6ystJLp1Fd+0enofh+6a1Si7bEAw==", "license": "Apache-2.0", "dependencies": { @@ -13640,7 +13640,7 @@ }, "@alicloud/devs20230714": { "version": "1.0.4", - "resolved": "https://packages.aliyun.com/6455f7ff81b284e28f4774c4/npm/npm-registry/@alicloud/devs20230714/-/@alicloud/devs20230714-1.0.4.tgz", + "resolved": "https://packages.aliyun.com/670e108663cd360abfe4be65/npm/npm-registry/@alicloud/devs20230714/-/@alicloud/devs20230714-1.0.4.tgz", "integrity": "sha512-CW4jgz14jQYNMmskMxOjLdHkv9V2n4j2c8NiKa4S1O8S0WYkWIObcJTe07kdWHdIlDRR/bR3vwZaylwC7VSbNA==", "requires": { "@alicloud/endpoint-util": "^0.0.1", @@ -13870,7 +13870,7 @@ }, "@alicloud/sls20191023": { "version": "1.0.0", - "resolved": "https://packages.aliyun.com/6455f7ff81b284e28f4774c4/npm/npm-registry/@alicloud/sls20191023/-/@alicloud/sls20191023-1.0.0.tgz", + "resolved": "https://packages.aliyun.com/670e108663cd360abfe4be65/npm/npm-registry/@alicloud/sls20191023/-/@alicloud/sls20191023-1.0.0.tgz", "integrity": "sha512-AfVPdk1GfNCDFYNZljuvV2txcXOakBPIswJjo6EgwUetMUbgefvzr7bzjR6ystJLp1Fd+0enofh+6a1Si7bEAw==", "requires": { "@alicloud/endpoint-util": "^0.0.1", diff --git a/package.json b/package.json index c50c0ee..4c208f2 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ "author": "", "license": "ISC", "dependencies": { - "@alicloud/devs20230714": "^1.0.4", + "@alicloud/devs20230714": "^1.0.1", "@alicloud/fc2": "^2.6.6", "@alicloud/fc20230330": "^4.1.3", "@alicloud/pop-core": "^1.7.13", @@ -73,7 +73,7 @@ }, "resolutions": { "@alicloud/devs20230714": { - "registry": "https://packages.aliyun.com/6455f7ff81b284e28f4774c4/npm/npm-registry/" + "registry": "https://packages.aliyun.com/670e108663cd360abfe4be65/npm/npm-registry/" } } }