From fbb07a6c7c5b35b7e0f7bc5ca8811d9d25e3be3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pol=20Amor=C3=B3s?= Date: Thu, 18 Jan 2024 09:38:16 +0100 Subject: [PATCH] chore: update wing version (#61) - Updates wing to the latest version in each winglib. - Adds a script to update wing (would be nice to do it in a cron job). --- bedrock/package-lock.json | 4 +- containers/package-lock.json | 98 ++++++++++++------------ containers/package.json | 6 +- github/package-lock.json | 4 +- postgres/package-lock.json | 110 +++++++++++++++------------ update-wing.sh | 14 ++++ websockets/package-lock.json | 139 ++++++++++++++++++++++++----------- websockets/package.json | 2 +- 8 files changed, 230 insertions(+), 147 deletions(-) create mode 100755 update-wing.sh diff --git a/bedrock/package-lock.json b/bedrock/package-lock.json index 7ce78efd..e4f73315 100644 --- a/bedrock/package-lock.json +++ b/bedrock/package-lock.json @@ -1,12 +1,12 @@ { "name": "@winglibs/bedrock", - "version": "0.0.2", + "version": "0.0.3", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@winglibs/bedrock", - "version": "0.0.2", + "version": "0.0.3", "license": "MIT", "dependencies": { "@aws-sdk/client-bedrock-runtime": "^3.484.0" diff --git a/containers/package-lock.json b/containers/package-lock.json index 41f4e93d..697ba528 100644 --- a/containers/package-lock.json +++ b/containers/package-lock.json @@ -19,7 +19,7 @@ }, "peerDependencies": { "cdktf": "^0.19.1", - "winglang": "^0.54.13" + "winglang": "^0.54.39" } }, "node_modules/@cdktf/provider-aws": { @@ -827,32 +827,35 @@ } }, "node_modules/@segment/analytics-core": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/@segment/analytics-core/-/analytics-core-1.4.0.tgz", - "integrity": "sha512-rLUv5Se0iDccykxY8bWUuoZT4gg8fNW00zMPqkJN+ONfj5/P1eaGQgygq2EHlR9j20a7tNtp5Y9bZ4rLzViIXQ==", + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/@segment/analytics-core/-/analytics-core-1.4.1.tgz", + "integrity": "sha512-kV0Pf33HnthuBOVdYNani21kYyj118Fn+9757bxqoksiXoZlYvBsFq6giNdCsKcTIE1eAMqNDq3xE1VQ0cfsHA==", "peer": true, "dependencies": { "@lukeed/uuid": "^2.0.0", - "@segment/analytics-generic-utils": "1.1.0", + "@segment/analytics-generic-utils": "1.1.1", "dset": "^3.1.2", "tslib": "^2.4.1" } }, "node_modules/@segment/analytics-generic-utils": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@segment/analytics-generic-utils/-/analytics-generic-utils-1.1.0.tgz", - "integrity": "sha512-nOgmbfsKD0jFzH3df+PtjLq3qTspdcFpIy/F5ziho5qiE+QATM8wY9TpvCNBbcHr2f3OGzT6SgjJLFlmM5Yb+w==", - "peer": true + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@segment/analytics-generic-utils/-/analytics-generic-utils-1.1.1.tgz", + "integrity": "sha512-THTIzBPHnvu1HYJU3fARdJ3qIkukO3zDXsmDm+kAeUks5R9CBXOQ6rPChiASVzSmwAIIo5uFIXXnCraojlq/Gw==", + "peer": true, + "dependencies": { + "tslib": "^2.4.1" + } }, "node_modules/@segment/analytics-node": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/@segment/analytics-node/-/analytics-node-1.1.4.tgz", - "integrity": "sha512-yfhWjos0VKrueIhL7NwwaKJTMmDTDPMeNA9nmCZbbIppxWfgfUdqhkSOktQKTUdxLHOygTwuldvayjuftBsRBA==", + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/@segment/analytics-node/-/analytics-node-1.3.0.tgz", + "integrity": "sha512-lRLz1WZaDokMoUe299yP5JkInc3OgJuqNNlxb6j0q22umCiq6b5iDo2gRmFn93reirIvJxWIicQsGrHd93q8GQ==", "peer": true, "dependencies": { "@lukeed/uuid": "^2.0.0", - "@segment/analytics-core": "1.4.0", - "@segment/analytics-generic-utils": "1.1.0", + "@segment/analytics-core": "1.4.1", + "@segment/analytics-generic-utils": "1.1.1", "buffer": "^6.0.3", "node-fetch": "^2.6.7", "tslib": "^2.4.1" @@ -962,26 +965,26 @@ "optional": true }, "node_modules/@wingconsole/app": { - "version": "0.54.13", - "resolved": "https://registry.npmjs.org/@wingconsole/app/-/app-0.54.13.tgz", - "integrity": "sha512-MgiYQjVfOKNJN/u7PDzSFSdswwD5dNlpB/N0Y5LrDuF4Q0IKlwixO72P1qBfwEQgs9qu68Vn+m2gZwpxxLn9ag==", + "version": "0.54.39", + "resolved": "https://registry.npmjs.org/@wingconsole/app/-/app-0.54.39.tgz", + "integrity": "sha512-jojWSSFWX2i/2+iDM6FkFHLaTs1JG0QHv5fr++nidrErbWVnneTjwLrj/jYidIi64SeYHoEPoJayBS31UrPnzw==", "peer": true, "dependencies": { "@segment/analytics-node": "^1.1.0", - "@wingconsole/server": "0.54.13", + "@wingconsole/server": "0.54.39", "cross-spawn": "^7.0.3", "express": "^4.18.2", "picocolors": "^1.0.0" } }, "node_modules/@wingconsole/server": { - "version": "0.54.13", - "resolved": "https://registry.npmjs.org/@wingconsole/server/-/server-0.54.13.tgz", - "integrity": "sha512-j37vvdraxC10c0SCCxI5cMxaO7E+x2C6RbhYAh4LXaCFw0RTMQV8143XP7Z9uEpw+iIyy4lYOKZxl+7IpH3/cw==", + "version": "0.54.39", + "resolved": "https://registry.npmjs.org/@wingconsole/server/-/server-0.54.39.tgz", + "integrity": "sha512-zUBlxGCNg70xyG4/FXCnDfHh0BGGTi+LcogVO6MMIq7Q5veT9nZxlRWOWN4Zcfi4R93Ov5vLreoI6nNJngfIdQ==", "peer": true, "dependencies": { - "@winglang/compiler": "0.54.13", - "@winglang/sdk": "0.54.13", + "@winglang/compiler": "0.54.39", + "@winglang/sdk": "0.54.39", "codespan-wasm": "^0.4.0", "debug": "^4.3.4", "launch-editor": "^2.6.0", @@ -989,16 +992,16 @@ } }, "node_modules/@winglang/compiler": { - "version": "0.54.13", - "resolved": "https://registry.npmjs.org/@winglang/compiler/-/compiler-0.54.13.tgz", - "integrity": "sha512-nsAV8cJve0utw2xy62qf4OOoLv9P4PP5fOiuVx3wZGm6BTQpBl4JqiP42OfOHyKripGZPzSuJWeCHUZ+k+I1gQ==", + "version": "0.54.39", + "resolved": "https://registry.npmjs.org/@winglang/compiler/-/compiler-0.54.39.tgz", + "integrity": "sha512-dmX3Pk1/Sckz8N53ODu7fU0nyUyJLvRfG7QBwbaP51NJkymMQhNptJx1bpOPp3xxhQjSPn/a5n39lpzwvhGtbg==", "bundleDependencies": [ "wasi-js" ], "peer": true, "dependencies": { - "@winglang/sdk": "0.54.13", - "ts4w": "0.54.13", + "@winglang/sdk": "0.54.39", + "ts4w": "0.54.39", "wasi-js": "^1.7.3" }, "engines": { @@ -1144,9 +1147,9 @@ } }, "node_modules/@winglang/sdk": { - "version": "0.54.13", - "resolved": "https://registry.npmjs.org/@winglang/sdk/-/sdk-0.54.13.tgz", - "integrity": "sha512-x76qhEXrhdYqyUHtlw067M3tFxnv+dVd2+vUy2a80ypmPmbZdOJwr3BgtvzLUQQBHjjXB+XFKlg3CqBrpphYGg==", + "version": "0.54.39", + "resolved": "https://registry.npmjs.org/@winglang/sdk/-/sdk-0.54.39.tgz", + "integrity": "sha512-AZ3mYecyHOhO4yGn4gHdX/4AyouZph6qQDhDg+hRI9BRRe4pZZ694SumKNIgozLIiUAGm4I3I81nZuX6dJpTDg==", "bundleDependencies": [ "@aws-sdk/client-cloudwatch-logs", "@aws-sdk/client-dynamodb", @@ -9845,15 +9848,16 @@ "peer": true }, "node_modules/set-function-length": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.1.1.tgz", - "integrity": "sha512-VoaqjbBJKiWtg4yRcKBQ7g7wnGnLV3M8oLvVWwOk2PdYY6PEFegR1vezXR0tw6fZGF9csVakIRjrJiy2veSBFQ==", + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.2.0.tgz", + "integrity": "sha512-4DBHDoyHlM1IRPGYcoxexgh67y4ueR53FKV1yyxwFMY7aCqcN/38M1+SwZ/qJQ8iLv7+ck385ot4CcisOAPT9w==", "peer": true, "dependencies": { "define-data-property": "^1.1.1", - "get-intrinsic": "^1.2.1", + "function-bind": "^1.1.2", + "get-intrinsic": "^1.2.2", "gopd": "^1.0.1", - "has-property-descriptors": "^1.0.0" + "has-property-descriptors": "^1.0.1" }, "engines": { "node": ">= 0.4" @@ -10297,12 +10301,12 @@ } }, "node_modules/ts4w": { - "version": "0.54.13", - "resolved": "https://registry.npmjs.org/ts4w/-/ts4w-0.54.13.tgz", - "integrity": "sha512-V0Hfcqyk4vp1U0VrUw+uKC4GtNoR3vWPlYbGnx4mEcfrhcJtvAlv52wANEspPJHHvuB3FtcH5OtVJ1+PENfwcA==", + "version": "0.54.39", + "resolved": "https://registry.npmjs.org/ts4w/-/ts4w-0.54.39.tgz", + "integrity": "sha512-qK3oaPBychgKdYGqp38VM5ZLBCFoUAZTbbuUwAj/RMYKQGHygdhB6NogrAh7nmnFW097hMLHb6WJcSauu+yQCg==", "peer": true, "dependencies": { - "@winglang/sdk": "0.54.13", + "@winglang/sdk": "0.54.39", "constructs": "~10.2.69" }, "peerDependencies": { @@ -10572,17 +10576,17 @@ } }, "node_modules/winglang": { - "version": "0.54.13", - "resolved": "https://registry.npmjs.org/winglang/-/winglang-0.54.13.tgz", - "integrity": "sha512-zXS6FftI8SWVF5/+iaXNVw96yN5b87MGrZ8OBEssaFni0Z6eydZfc02sFdZzgJIZBfoqVFeTyjMClUsISLrESg==", + "version": "0.54.39", + "resolved": "https://registry.npmjs.org/winglang/-/winglang-0.54.39.tgz", + "integrity": "sha512-1PAjlb0U+yjNxXDZ4IUYSdCABeYI4D69vi6wqOdCBn0iyil7w77ZJWxJJjEge5Z9TL2OB3Dljyxx6ZfUtEUooA==", "peer": true, "dependencies": { "@npmcli/arborist": "^7.2.0", "@segment/analytics-node": "^1.1.0", - "@wingconsole/app": "0.54.13", - "@wingconsole/server": "0.54.13", - "@winglang/compiler": "0.54.13", - "@winglang/sdk": "0.54.13", + "@wingconsole/app": "0.54.39", + "@wingconsole/server": "0.54.39", + "@winglang/compiler": "0.54.39", + "@winglang/sdk": "0.54.39", "chalk": "^4.1.2", "codespan-wasm": "0.4.0", "commander": "^10.0.1", diff --git a/containers/package.json b/containers/package.json index baee78ca..459a1aa8 100644 --- a/containers/package.json +++ b/containers/package.json @@ -13,8 +13,8 @@ }, "license": "MIT", "peerDependencies": { - "winglang": "^0.54.13", - "cdktf": "^0.19.1" + "cdktf": "^0.19.1", + "winglang": "^0.54.39" }, "dependencies": { "@cdktf/provider-aws": "^18.0.5", @@ -25,4 +25,4 @@ "cdk8s-plus-27": "^2.7.33", "glob": "^10.3.10" } -} \ No newline at end of file +} diff --git a/github/package-lock.json b/github/package-lock.json index 0476f55f..473924a5 100644 --- a/github/package-lock.json +++ b/github/package-lock.json @@ -1,12 +1,12 @@ { "name": "@winglibs/github", - "version": "0.0.2", + "version": "0.0.4", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@winglibs/github", - "version": "0.0.2", + "version": "0.0.4", "license": "MIT", "dependencies": { "@probot/adapter-aws-lambda-serverless": "^3.0.4", diff --git a/postgres/package-lock.json b/postgres/package-lock.json index 8a5f287d..d462ceaa 100644 --- a/postgres/package-lock.json +++ b/postgres/package-lock.json @@ -1,12 +1,12 @@ { "name": "@winglibs/postgres", - "version": "0.0.5", + "version": "0.0.6", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@winglibs/postgres", - "version": "0.0.5", + "version": "0.0.6", "license": "MIT", "dependencies": { "@cdktf/provider-aws": "^18.0.4", @@ -597,6 +597,15 @@ "@octokit/openapi-types": "^12.11.0" } }, + "node_modules/@opentelemetry/api": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/api/-/api-1.7.0.tgz", + "integrity": "sha512-AdY5wvN0P2vXBi3b29hxZgSFvdhdxPB9+f0B6s//P9Q8nibRWeA3cHm8UmLpio9ABigkVHJ5NMPk+Mz8VCCyrw==", + "peer": true, + "engines": { + "node": ">=8.0.0" + } + }, "node_modules/@pkgjs/parseargs": { "version": "0.11.0", "resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz", @@ -616,32 +625,35 @@ } }, "node_modules/@segment/analytics-core": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/@segment/analytics-core/-/analytics-core-1.4.0.tgz", - "integrity": "sha512-rLUv5Se0iDccykxY8bWUuoZT4gg8fNW00zMPqkJN+ONfj5/P1eaGQgygq2EHlR9j20a7tNtp5Y9bZ4rLzViIXQ==", + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/@segment/analytics-core/-/analytics-core-1.4.1.tgz", + "integrity": "sha512-kV0Pf33HnthuBOVdYNani21kYyj118Fn+9757bxqoksiXoZlYvBsFq6giNdCsKcTIE1eAMqNDq3xE1VQ0cfsHA==", "peer": true, "dependencies": { "@lukeed/uuid": "^2.0.0", - "@segment/analytics-generic-utils": "1.1.0", + "@segment/analytics-generic-utils": "1.1.1", "dset": "^3.1.2", "tslib": "^2.4.1" } }, "node_modules/@segment/analytics-generic-utils": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@segment/analytics-generic-utils/-/analytics-generic-utils-1.1.0.tgz", - "integrity": "sha512-nOgmbfsKD0jFzH3df+PtjLq3qTspdcFpIy/F5ziho5qiE+QATM8wY9TpvCNBbcHr2f3OGzT6SgjJLFlmM5Yb+w==", - "peer": true + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@segment/analytics-generic-utils/-/analytics-generic-utils-1.1.1.tgz", + "integrity": "sha512-THTIzBPHnvu1HYJU3fARdJ3qIkukO3zDXsmDm+kAeUks5R9CBXOQ6rPChiASVzSmwAIIo5uFIXXnCraojlq/Gw==", + "peer": true, + "dependencies": { + "tslib": "^2.4.1" + } }, "node_modules/@segment/analytics-node": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/@segment/analytics-node/-/analytics-node-1.1.4.tgz", - "integrity": "sha512-yfhWjos0VKrueIhL7NwwaKJTMmDTDPMeNA9nmCZbbIppxWfgfUdqhkSOktQKTUdxLHOygTwuldvayjuftBsRBA==", + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/@segment/analytics-node/-/analytics-node-1.3.0.tgz", + "integrity": "sha512-lRLz1WZaDokMoUe299yP5JkInc3OgJuqNNlxb6j0q22umCiq6b5iDo2gRmFn93reirIvJxWIicQsGrHd93q8GQ==", "peer": true, "dependencies": { "@lukeed/uuid": "^2.0.0", - "@segment/analytics-core": "1.4.0", - "@segment/analytics-generic-utils": "1.1.0", + "@segment/analytics-core": "1.4.1", + "@segment/analytics-generic-utils": "1.1.1", "buffer": "^6.0.3", "node-fetch": "^2.6.7", "tslib": "^2.4.1" @@ -727,26 +739,26 @@ "optional": true }, "node_modules/@wingconsole/app": { - "version": "0.54.13", - "resolved": "https://registry.npmjs.org/@wingconsole/app/-/app-0.54.13.tgz", - "integrity": "sha512-MgiYQjVfOKNJN/u7PDzSFSdswwD5dNlpB/N0Y5LrDuF4Q0IKlwixO72P1qBfwEQgs9qu68Vn+m2gZwpxxLn9ag==", + "version": "0.54.39", + "resolved": "https://registry.npmjs.org/@wingconsole/app/-/app-0.54.39.tgz", + "integrity": "sha512-jojWSSFWX2i/2+iDM6FkFHLaTs1JG0QHv5fr++nidrErbWVnneTjwLrj/jYidIi64SeYHoEPoJayBS31UrPnzw==", "peer": true, "dependencies": { "@segment/analytics-node": "^1.1.0", - "@wingconsole/server": "0.54.13", + "@wingconsole/server": "0.54.39", "cross-spawn": "^7.0.3", "express": "^4.18.2", "picocolors": "^1.0.0" } }, "node_modules/@wingconsole/server": { - "version": "0.54.13", - "resolved": "https://registry.npmjs.org/@wingconsole/server/-/server-0.54.13.tgz", - "integrity": "sha512-j37vvdraxC10c0SCCxI5cMxaO7E+x2C6RbhYAh4LXaCFw0RTMQV8143XP7Z9uEpw+iIyy4lYOKZxl+7IpH3/cw==", + "version": "0.54.39", + "resolved": "https://registry.npmjs.org/@wingconsole/server/-/server-0.54.39.tgz", + "integrity": "sha512-zUBlxGCNg70xyG4/FXCnDfHh0BGGTi+LcogVO6MMIq7Q5veT9nZxlRWOWN4Zcfi4R93Ov5vLreoI6nNJngfIdQ==", "peer": true, "dependencies": { - "@winglang/compiler": "0.54.13", - "@winglang/sdk": "0.54.13", + "@winglang/compiler": "0.54.39", + "@winglang/sdk": "0.54.39", "codespan-wasm": "^0.4.0", "debug": "^4.3.4", "launch-editor": "^2.6.0", @@ -754,16 +766,16 @@ } }, "node_modules/@winglang/compiler": { - "version": "0.54.13", - "resolved": "https://registry.npmjs.org/@winglang/compiler/-/compiler-0.54.13.tgz", - "integrity": "sha512-nsAV8cJve0utw2xy62qf4OOoLv9P4PP5fOiuVx3wZGm6BTQpBl4JqiP42OfOHyKripGZPzSuJWeCHUZ+k+I1gQ==", + "version": "0.54.39", + "resolved": "https://registry.npmjs.org/@winglang/compiler/-/compiler-0.54.39.tgz", + "integrity": "sha512-dmX3Pk1/Sckz8N53ODu7fU0nyUyJLvRfG7QBwbaP51NJkymMQhNptJx1bpOPp3xxhQjSPn/a5n39lpzwvhGtbg==", "bundleDependencies": [ "wasi-js" ], "peer": true, "dependencies": { - "@winglang/sdk": "0.54.13", - "ts4w": "0.54.13", + "@winglang/sdk": "0.54.39", + "ts4w": "0.54.39", "wasi-js": "^1.7.3" }, "engines": { @@ -909,9 +921,9 @@ } }, "node_modules/@winglang/sdk": { - "version": "0.54.13", - "resolved": "https://registry.npmjs.org/@winglang/sdk/-/sdk-0.54.13.tgz", - "integrity": "sha512-x76qhEXrhdYqyUHtlw067M3tFxnv+dVd2+vUy2a80ypmPmbZdOJwr3BgtvzLUQQBHjjXB+XFKlg3CqBrpphYGg==", + "version": "0.54.39", + "resolved": "https://registry.npmjs.org/@winglang/sdk/-/sdk-0.54.39.tgz", + "integrity": "sha512-AZ3mYecyHOhO4yGn4gHdX/4AyouZph6qQDhDg+hRI9BRRe4pZZ694SumKNIgozLIiUAGm4I3I81nZuX6dJpTDg==", "bundleDependencies": [ "@aws-sdk/client-cloudwatch-logs", "@aws-sdk/client-dynamodb", @@ -9676,6 +9688,7 @@ "version": "2.4.3", "resolved": "https://registry.npmjs.org/safe-stable-stringify/-/safe-stable-stringify-2.4.3.tgz", "integrity": "sha512-e2bDA2WJT0wxseVd4lsDP4+3ONX6HpMXQa1ZhFQ7SU+GjvORCmShbCMltrtIDfkYhVHrOcPtj+KhmDBdPdZD1g==", + "optional": true, "engines": { "node": ">=10" } @@ -9773,15 +9786,16 @@ "peer": true }, "node_modules/set-function-length": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.1.1.tgz", - "integrity": "sha512-VoaqjbBJKiWtg4yRcKBQ7g7wnGnLV3M8oLvVWwOk2PdYY6PEFegR1vezXR0tw6fZGF9csVakIRjrJiy2veSBFQ==", + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.2.0.tgz", + "integrity": "sha512-4DBHDoyHlM1IRPGYcoxexgh67y4ueR53FKV1yyxwFMY7aCqcN/38M1+SwZ/qJQ8iLv7+ck385ot4CcisOAPT9w==", "peer": true, "dependencies": { "define-data-property": "^1.1.1", - "get-intrinsic": "^1.2.1", + "function-bind": "^1.1.2", + "get-intrinsic": "^1.2.2", "gopd": "^1.0.1", - "has-property-descriptors": "^1.0.0" + "has-property-descriptors": "^1.0.1" }, "engines": { "node": ">= 0.4" @@ -10271,12 +10285,12 @@ } }, "node_modules/ts4w": { - "version": "0.54.13", - "resolved": "https://registry.npmjs.org/ts4w/-/ts4w-0.54.13.tgz", - "integrity": "sha512-V0Hfcqyk4vp1U0VrUw+uKC4GtNoR3vWPlYbGnx4mEcfrhcJtvAlv52wANEspPJHHvuB3FtcH5OtVJ1+PENfwcA==", + "version": "0.54.39", + "resolved": "https://registry.npmjs.org/ts4w/-/ts4w-0.54.39.tgz", + "integrity": "sha512-qK3oaPBychgKdYGqp38VM5ZLBCFoUAZTbbuUwAj/RMYKQGHygdhB6NogrAh7nmnFW097hMLHb6WJcSauu+yQCg==", "peer": true, "dependencies": { - "@winglang/sdk": "0.54.13", + "@winglang/sdk": "0.54.39", "constructs": "~10.2.69" }, "peerDependencies": { @@ -10587,17 +10601,17 @@ } }, "node_modules/winglang": { - "version": "0.54.13", - "resolved": "https://registry.npmjs.org/winglang/-/winglang-0.54.13.tgz", - "integrity": "sha512-zXS6FftI8SWVF5/+iaXNVw96yN5b87MGrZ8OBEssaFni0Z6eydZfc02sFdZzgJIZBfoqVFeTyjMClUsISLrESg==", + "version": "0.54.39", + "resolved": "https://registry.npmjs.org/winglang/-/winglang-0.54.39.tgz", + "integrity": "sha512-1PAjlb0U+yjNxXDZ4IUYSdCABeYI4D69vi6wqOdCBn0iyil7w77ZJWxJJjEge5Z9TL2OB3Dljyxx6ZfUtEUooA==", "peer": true, "dependencies": { "@npmcli/arborist": "^7.2.0", "@segment/analytics-node": "^1.1.0", - "@wingconsole/app": "0.54.13", - "@wingconsole/server": "0.54.13", - "@winglang/compiler": "0.54.13", - "@winglang/sdk": "0.54.13", + "@wingconsole/app": "0.54.39", + "@wingconsole/server": "0.54.39", + "@winglang/compiler": "0.54.39", + "@winglang/sdk": "0.54.39", "chalk": "^4.1.2", "codespan-wasm": "0.4.0", "commander": "^10.0.1", diff --git a/update-wing.sh b/update-wing.sh new file mode 100755 index 00000000..053d2ec6 --- /dev/null +++ b/update-wing.sh @@ -0,0 +1,14 @@ +#!/bin/sh + +for dir in */ ; do + if [ -f "$dir/package.json" ]; then + cd "$dir" + if grep -q "\"winglang\"" package.json; then + echo "Updating winglang in '$dir'..." + npm update winglang + else + echo "winglang not found in '$dir'.\n" + fi + cd - + fi +done diff --git a/websockets/package-lock.json b/websockets/package-lock.json index daf5df0c..1b26b609 100644 --- a/websockets/package-lock.json +++ b/websockets/package-lock.json @@ -1,12 +1,12 @@ { "name": "@winglibs/websockets", - "version": "0.0.2", + "version": "0.1.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@winglibs/websockets", - "version": "0.0.2", + "version": "0.1.0", "license": "MIT", "dependencies": { "@aws-sdk/client-apigatewaymanagementapi": "^3.451.0", @@ -20,7 +20,7 @@ }, "peerDependencies": { "cdktf": "^0.19.1", - "winglang": "^0.51.0" + "winglang": "^0.54.39" } }, "node_modules/@aws-cdk/asset-awscli-v1": { @@ -905,32 +905,35 @@ } }, "node_modules/@segment/analytics-core": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/@segment/analytics-core/-/analytics-core-1.4.0.tgz", - "integrity": "sha512-rLUv5Se0iDccykxY8bWUuoZT4gg8fNW00zMPqkJN+ONfj5/P1eaGQgygq2EHlR9j20a7tNtp5Y9bZ4rLzViIXQ==", + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/@segment/analytics-core/-/analytics-core-1.4.1.tgz", + "integrity": "sha512-kV0Pf33HnthuBOVdYNani21kYyj118Fn+9757bxqoksiXoZlYvBsFq6giNdCsKcTIE1eAMqNDq3xE1VQ0cfsHA==", "peer": true, "dependencies": { "@lukeed/uuid": "^2.0.0", - "@segment/analytics-generic-utils": "1.1.0", + "@segment/analytics-generic-utils": "1.1.1", "dset": "^3.1.2", "tslib": "^2.4.1" } }, "node_modules/@segment/analytics-generic-utils": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@segment/analytics-generic-utils/-/analytics-generic-utils-1.1.0.tgz", - "integrity": "sha512-nOgmbfsKD0jFzH3df+PtjLq3qTspdcFpIy/F5ziho5qiE+QATM8wY9TpvCNBbcHr2f3OGzT6SgjJLFlmM5Yb+w==", - "peer": true + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@segment/analytics-generic-utils/-/analytics-generic-utils-1.1.1.tgz", + "integrity": "sha512-THTIzBPHnvu1HYJU3fARdJ3qIkukO3zDXsmDm+kAeUks5R9CBXOQ6rPChiASVzSmwAIIo5uFIXXnCraojlq/Gw==", + "peer": true, + "dependencies": { + "tslib": "^2.4.1" + } }, "node_modules/@segment/analytics-node": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/@segment/analytics-node/-/analytics-node-1.1.4.tgz", - "integrity": "sha512-yfhWjos0VKrueIhL7NwwaKJTMmDTDPMeNA9nmCZbbIppxWfgfUdqhkSOktQKTUdxLHOygTwuldvayjuftBsRBA==", + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/@segment/analytics-node/-/analytics-node-1.3.0.tgz", + "integrity": "sha512-lRLz1WZaDokMoUe299yP5JkInc3OgJuqNNlxb6j0q22umCiq6b5iDo2gRmFn93reirIvJxWIicQsGrHd93q8GQ==", "peer": true, "dependencies": { "@lukeed/uuid": "^2.0.0", - "@segment/analytics-core": "1.4.0", - "@segment/analytics-generic-utils": "1.1.0", + "@segment/analytics-core": "1.4.1", + "@segment/analytics-generic-utils": "1.1.1", "buffer": "^6.0.3", "node-fetch": "^2.6.7", "tslib": "^2.4.1" @@ -1530,26 +1533,26 @@ } }, "node_modules/@wingconsole/app": { - "version": "0.51.16", - "resolved": "https://registry.npmjs.org/@wingconsole/app/-/app-0.51.16.tgz", - "integrity": "sha512-S/GfAGsM7IjjZaR9h5m6V8xFkJ+P+d3orMIX8EoBtiKunpo94Q7V+na3xnBVAJ9InOxBgMgwCPsBX3VRkBhzjg==", + "version": "0.54.39", + "resolved": "https://registry.npmjs.org/@wingconsole/app/-/app-0.54.39.tgz", + "integrity": "sha512-jojWSSFWX2i/2+iDM6FkFHLaTs1JG0QHv5fr++nidrErbWVnneTjwLrj/jYidIi64SeYHoEPoJayBS31UrPnzw==", "peer": true, "dependencies": { "@segment/analytics-node": "^1.1.0", - "@wingconsole/server": "0.51.16", + "@wingconsole/server": "0.54.39", "cross-spawn": "^7.0.3", "express": "^4.18.2", "picocolors": "^1.0.0" } }, "node_modules/@wingconsole/server": { - "version": "0.51.16", - "resolved": "https://registry.npmjs.org/@wingconsole/server/-/server-0.51.16.tgz", - "integrity": "sha512-m6F7oLYHXh+SM32Ce8izD0FJ47erxmspMABElRbaC01RrgM0EoMvLW9Xatu/enhZ5H/+t+XGZizdm2U+xLWDvA==", + "version": "0.54.39", + "resolved": "https://registry.npmjs.org/@wingconsole/server/-/server-0.54.39.tgz", + "integrity": "sha512-zUBlxGCNg70xyG4/FXCnDfHh0BGGTi+LcogVO6MMIq7Q5veT9nZxlRWOWN4Zcfi4R93Ov5vLreoI6nNJngfIdQ==", "peer": true, "dependencies": { - "@winglang/compiler": "0.51.16", - "@winglang/sdk": "0.51.16", + "@winglang/compiler": "0.54.39", + "@winglang/sdk": "0.54.39", "codespan-wasm": "^0.4.0", "debug": "^4.3.4", "launch-editor": "^2.6.0", @@ -1557,15 +1560,16 @@ } }, "node_modules/@winglang/compiler": { - "version": "0.51.16", - "resolved": "https://registry.npmjs.org/@winglang/compiler/-/compiler-0.51.16.tgz", - "integrity": "sha512-UryQ2LKar8gtU61KhTMhvVulHmitgGd7/R8XbdWT4sRi8hohBwKGkXARMGsVXJid8/MCXVsKdXQxWa9y6O4yQw==", + "version": "0.54.39", + "resolved": "https://registry.npmjs.org/@winglang/compiler/-/compiler-0.54.39.tgz", + "integrity": "sha512-dmX3Pk1/Sckz8N53ODu7fU0nyUyJLvRfG7QBwbaP51NJkymMQhNptJx1bpOPp3xxhQjSPn/a5n39lpzwvhGtbg==", "bundleDependencies": [ "wasi-js" ], "peer": true, "dependencies": { - "@winglang/sdk": "0.51.16", + "@winglang/sdk": "0.54.39", + "ts4w": "0.54.39", "wasi-js": "^1.7.3" }, "engines": { @@ -1711,9 +1715,9 @@ } }, "node_modules/@winglang/sdk": { - "version": "0.51.16", - "resolved": "https://registry.npmjs.org/@winglang/sdk/-/sdk-0.51.16.tgz", - "integrity": "sha512-gFJ4jcmPJ820g9DBXgPHKIgWNF5U3rqj7ArEoC8lQH17vcRHQjQ6Rkv+YejGxiPGEEBHLE+K12Ku5XNEwiJyHg==", + "version": "0.54.39", + "resolved": "https://registry.npmjs.org/@winglang/sdk/-/sdk-0.54.39.tgz", + "integrity": "sha512-AZ3mYecyHOhO4yGn4gHdX/4AyouZph6qQDhDg+hRI9BRRe4pZZ694SumKNIgozLIiUAGm4I3I81nZuX6dJpTDg==", "bundleDependencies": [ "@aws-sdk/client-cloudwatch-logs", "@aws-sdk/client-dynamodb", @@ -1745,6 +1749,7 @@ "nanoid", "safe-stable-stringify", "stacktracey", + "ulid", "undici", "uuid", "yaml" @@ -1782,6 +1787,7 @@ "nanoid": "^3.3.6", "safe-stable-stringify": "^2.4.3", "stacktracey": "^2.1.8", + "ulid": "^2.3.0", "undici": "^5.25.4", "uuid": "^8.3.2", "yaml": "^2.3.2" @@ -6161,6 +6167,15 @@ "node": ">= 0.6" } }, + "node_modules/@winglang/sdk/node_modules/ulid": { + "version": "2.3.0", + "inBundle": true, + "license": "MIT", + "peer": true, + "bin": { + "ulid": "bin/cli.js" + } + }, "node_modules/@winglang/sdk/node_modules/undici": { "version": "5.25.4", "inBundle": true, @@ -9688,15 +9703,16 @@ "peer": true }, "node_modules/set-function-length": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.1.1.tgz", - "integrity": "sha512-VoaqjbBJKiWtg4yRcKBQ7g7wnGnLV3M8oLvVWwOk2PdYY6PEFegR1vezXR0tw6fZGF9csVakIRjrJiy2veSBFQ==", + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.2.0.tgz", + "integrity": "sha512-4DBHDoyHlM1IRPGYcoxexgh67y4ueR53FKV1yyxwFMY7aCqcN/38M1+SwZ/qJQ8iLv7+ck385ot4CcisOAPT9w==", "peer": true, "dependencies": { "define-data-property": "^1.1.1", - "get-intrinsic": "^1.2.1", + "function-bind": "^1.1.2", + "get-intrinsic": "^1.2.2", "gopd": "^1.0.1", - "has-property-descriptors": "^1.0.0" + "has-property-descriptors": "^1.0.1" }, "engines": { "node": ">= 0.4" @@ -10083,6 +10099,28 @@ "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, + "node_modules/ts4w": { + "version": "0.54.39", + "resolved": "https://registry.npmjs.org/ts4w/-/ts4w-0.54.39.tgz", + "integrity": "sha512-qK3oaPBychgKdYGqp38VM5ZLBCFoUAZTbbuUwAj/RMYKQGHygdhB6NogrAh7nmnFW097hMLHb6WJcSauu+yQCg==", + "peer": true, + "dependencies": { + "@winglang/sdk": "0.54.39", + "constructs": "~10.2.69" + }, + "peerDependencies": { + "typescript": "^5.3.3" + } + }, + "node_modules/ts4w/node_modules/constructs": { + "version": "10.2.70", + "resolved": "https://registry.npmjs.org/constructs/-/constructs-10.2.70.tgz", + "integrity": "sha512-z6zr1E8K/9tzJbCQzY0UGX0/oVKPFKu9C/mzEnghCG6TAJINnvlq0CMKm63XqqeMleadZYm5T3sZGJKcxJS/Pg==", + "peer": true, + "engines": { + "node": ">= 16.14.0" + } + }, "node_modules/tslib": { "version": "2.6.2", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", @@ -10115,6 +10153,19 @@ "node": ">= 0.6" } }, + "node_modules/typescript": { + "version": "5.3.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.3.3.tgz", + "integrity": "sha512-pXWcraxM0uxAS+tN0AG/BF2TyqmHO014Z070UsJ+pFvYuRSq8KH8DmWpnbXe0pEPDHXZV3FcAbJkijJ5oNEnWw==", + "peer": true, + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=14.17" + } + }, "node_modules/undici-types": { "version": "5.26.5", "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz", @@ -10348,17 +10399,17 @@ } }, "node_modules/winglang": { - "version": "0.51.16", - "resolved": "https://registry.npmjs.org/winglang/-/winglang-0.51.16.tgz", - "integrity": "sha512-9AS5HkB9aXQuxl0N3nlkXmY7gf9I6/ONcMfu88zZmGF0byCcrHPv1E+8tnkg7S+Y3oDZLRcItZca7mSmEmVCTQ==", + "version": "0.54.39", + "resolved": "https://registry.npmjs.org/winglang/-/winglang-0.54.39.tgz", + "integrity": "sha512-1PAjlb0U+yjNxXDZ4IUYSdCABeYI4D69vi6wqOdCBn0iyil7w77ZJWxJJjEge5Z9TL2OB3Dljyxx6ZfUtEUooA==", "peer": true, "dependencies": { "@npmcli/arborist": "^7.2.0", "@segment/analytics-node": "^1.1.0", - "@wingconsole/app": "0.51.16", - "@wingconsole/server": "0.51.16", - "@winglang/compiler": "0.51.16", - "@winglang/sdk": "0.51.16", + "@wingconsole/app": "0.54.39", + "@wingconsole/server": "0.54.39", + "@winglang/compiler": "0.54.39", + "@winglang/sdk": "0.54.39", "chalk": "^4.1.2", "codespan-wasm": "0.4.0", "commander": "^10.0.1", diff --git a/websockets/package.json b/websockets/package.json index 4ebe1f2d..de4efd0a 100644 --- a/websockets/package.json +++ b/websockets/package.json @@ -14,7 +14,7 @@ }, "peerDependencies": { "cdktf": "^0.19.1", - "winglang": "^0.51.0" + "winglang": "^0.54.39" }, "dependencies": { "@aws-sdk/client-apigatewaymanagementapi": "^3.451.0",