From db42a4e1ba00a2c5f2da21908232bdca5a0c9d03 Mon Sep 17 00:00:00 2001 From: David Boyne Date: Mon, 24 Jun 2024 13:34:01 +0300 Subject: [PATCH 01/17] fix(docs): remove inflight modifier to docs example (#6769) [This page](https://www.winglang.io/docs/concepts/inflights#combining-preflight-and-inflight-code) shows an example of a inflight class. The example shows an inflight modifier in the class although the class it defined within an inflight closure. Removing the modifier to clean up the example. ## Checklist - [] Title matches [Winglang's style guide](https://www.winglang.io/contributing/start-here/pull_requests#how-are-pull-request-titles-formatted) - [ ] Description explains motivation and solution - [ ] Tests added (always) - [ ] Docs updated (only required for features) - [ ] Added `pr/e2e-full` label if this feature requires end-to-end testing *By submitting this pull request, I confirm that my contribution is made under the terms of the [Wing Cloud Contribution License](https://github.com/winglang/wing/blob/main/CONTRIBUTION_LICENSE.md)*. --- docs/docs/02-concepts/01-preflight-and-inflight.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/02-concepts/01-preflight-and-inflight.md b/docs/docs/02-concepts/01-preflight-and-inflight.md index 73f019797ea..aa79d4d590c 100644 --- a/docs/docs/02-concepts/01-preflight-and-inflight.md +++ b/docs/docs/02-concepts/01-preflight-and-inflight.md @@ -213,7 +213,7 @@ inflight () => { this.age = age; } - pub inflight greet() { + pub greet() { log("Hello, {this.name}!"); } } From 1402fab69e0b42181ad4b2e518c890a5da85715f Mon Sep 17 00:00:00 2001 From: David Boyne Date: Mon, 24 Jun 2024 13:40:19 +0300 Subject: [PATCH 02/17] fix(docs): fix typo in preflight and inflight docs (#6770) Minor typo fix. ## Checklist - [ ] Title matches [Winglang's style guide](https://www.winglang.io/contributing/start-here/pull_requests#how-are-pull-request-titles-formatted) - [ ] Description explains motivation and solution - [ ] Tests added (always) - [ ] Docs updated (only required for features) - [ ] Added `pr/e2e-full` label if this feature requires end-to-end testing *By submitting this pull request, I confirm that my contribution is made under the terms of the [Wing Cloud Contribution License](https://github.com/winglang/wing/blob/main/CONTRIBUTION_LICENSE.md)*. --- docs/docs/02-concepts/01-preflight-and-inflight.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/02-concepts/01-preflight-and-inflight.md b/docs/docs/02-concepts/01-preflight-and-inflight.md index aa79d4d590c..54dc3cc3e30 100644 --- a/docs/docs/02-concepts/01-preflight-and-inflight.md +++ b/docs/docs/02-concepts/01-preflight-and-inflight.md @@ -279,7 +279,7 @@ inflight () => { ``` During the lifting process the compiler tries to figure out in what way the lifted objects are being used. -This is how Winglang generats least privilage permissions. Consider the case of lifting a [`cloud.Bucket`](../04-standard-library/cloud/bucket.md) object: +This is how Winglang generates least privilage permissions. Consider the case of lifting a [`cloud.Bucket`](../04-standard-library/cloud/bucket.md) object: ```js playground example bring cloud; From 6b1f264e20df325d6bebd1b84bb107111bf1234f Mon Sep 17 00:00:00 2001 From: Mark McCulloh Date: Mon, 24 Jun 2024 15:47:10 +0300 Subject: [PATCH 03/17] chore: docs changes now go through build workflow (#6773) --- .github/workflows/build.yml | 2 -- .mergify.yml | 7 +------ docs/turbo.json | 2 +- .../valid/01-preflight-and-inflight.md_example_10/main.w | 2 +- 4 files changed, 3 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cfbaa76ae34..db5334f9c43 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -6,12 +6,10 @@ on: - opened - synchronize paths-ignore: - - "docs/**" - "logo/**" push: branches: - main - - dev workflow_dispatch: {} concurrency: diff --git a/.mergify.yml b/.mergify.yml index d1f74cd2f13..433aa10c071 100644 --- a/.mergify.yml +++ b/.mergify.yml @@ -28,13 +28,8 @@ pull_request_rules: - "#review-threads-unresolved=0" - -approved-reviews-by~=author - check-success=Validate PR title + - check-success=Quality Gate - base=main - - or: - - check-success=Quality Gate - - and: - - -files~=^(?!docs/|logo/) - # These files must be generated via wingsdk build - - -files~=^docs/docs/04-standard-library/[^/]+/[^/]+\.md$ - name: requires manual merge conditions: diff --git a/docs/turbo.json b/docs/turbo.json index 37f8ad2ee68..69aaab09a05 100644 --- a/docs/turbo.json +++ b/docs/turbo.json @@ -4,7 +4,7 @@ "pipeline": { "compile": { "inputs": [ - "./docs/**/*.md" + "docs/**/*.md" ], "outputs": [ "../examples/tests/doc_examples/**/*.w" diff --git a/examples/tests/doc_examples/valid/01-preflight-and-inflight.md_example_10/main.w b/examples/tests/doc_examples/valid/01-preflight-and-inflight.md_example_10/main.w index f6748316a40..cb559e3ffc3 100644 --- a/examples/tests/doc_examples/valid/01-preflight-and-inflight.md_example_10/main.w +++ b/examples/tests/doc_examples/valid/01-preflight-and-inflight.md_example_10/main.w @@ -10,7 +10,7 @@ inflight () => { this.age = age; } - pub inflight greet() { + pub greet() { log("Hello, {this.name}!"); } } From 380c4b5580075d9204677aecb0c7c55b8244bf13 Mon Sep 17 00:00:00 2001 From: Chris Rybicki Date: Mon, 24 Jun 2024 11:24:14 -0400 Subject: [PATCH 04/17] chore: update language roadmap items for optionality (#6775) One of the bullets referenced an outdated issue, and another was accidentally repeated. ## Checklist - [x] Title matches [Winglang's style guide](https://www.winglang.io/contributing/start-here/pull_requests#how-are-pull-request-titles-formatted) - [x] Description explains motivation and solution - [ ] Tests added (always) - [ x Docs updated (only required for features) - [ ] Added `pr/e2e-full` label if this feature requires end-to-end testing *By submitting this pull request, I confirm that my contribution is made under the terms of the [Wing Cloud Contribution License](https://github.com/winglang/wing/blob/main/CONTRIBUTION_LICENSE.md)*. --- docs/docs/03-language-reference.md | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/docs/docs/03-language-reference.md b/docs/docs/03-language-reference.md index 26dcf996773..b7a8ec65c3b 100644 --- a/docs/docs/03-language-reference.md +++ b/docs/docs/03-language-reference.md @@ -1085,13 +1085,9 @@ The following features are not yet implemented, but we are planning to add them * Default value: the default value notation (`= y`) may appear in declarations of struct fields, class fields or function arguments. See https://github.com/winglang/wing/issues/3121 to track. -* Chaining `??` operations: the `x ?? y ?? z` notation will return the value in `x` if there is one, `y` otherwise or `z`. The last expression in a `??` chain (e.g. `z`) must be of type `T` (not `T?`). - See https://github.com/winglang/wing/issues/1875 to track. -* The `x ??= y` notation returns `x` if it has a value or assigns `x` with `y` and returns the value of `y`. - See https://github.com/winglang/wing/issues/2103 to track. * `x ?? throw("message")` to unwrap `x` or throw if `x` is not defined. See https://github.com/winglang/wing/issues/2103 to track. -* `x ??= value` returns `x` or assigns a value to it and returns it to support lazy +* `x ??= value` assigns `value` to `x` if `x` is nil, and returns the resulting value of `x`, to support lazy evaluation/memoization (inspired by [Nullish coalescing assignment](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Nullish_coalescing_assignment)). See https://github.com/winglang/wing/issues/2103 to track. From 1a813ea4b95fa009c686106fb48960dc88f2dff5 Mon Sep 17 00:00:00 2001 From: Elad Ben-Israel Date: Tue, 25 Jun 2024 01:48:39 +0300 Subject: [PATCH 05/17] chore(repo): fix excess newline in placeholder (#6778) image *By submitting this pull request, I confirm that my contribution is made under the terms of the [Wing Cloud Contribution License](https://github.com/winglang/wing/blob/main/CONTRIBUTION_LICENSE.md)*. --- .github/ISSUE_TEMPLATE/feature.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/feature.yml b/.github/ISSUE_TEMPLATE/feature.yml index ae627be601d..2f846040c79 100644 --- a/.github/ISSUE_TEMPLATE/feature.yml +++ b/.github/ISSUE_TEMPLATE/feature.yml @@ -16,9 +16,7 @@ body: id: use-cases attributes: label: Use Case - placeholder: | - What problem are you trying to solve? Describe a *concrete* example of something you are trying to do and as many details as possible - about your motivation, the environment, etc. + placeholder: What problem are you trying to solve? Describe a *concrete* example of something you are trying to do and as many details as possible about your motivation, the environment, etc. validations: required: true From 7b3093d53b41611b2d84eca311acd767cbe8e951 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cristian=20Pallar=C3=A9s?= Date: Tue, 25 Jun 2024 09:44:54 +0200 Subject: [PATCH 06/17] feat(console): implement resource running state indicators (#6643) Closes #6622. --- apps/wing-console/console/app/demo/main.w | 9 + .../design-system/src/headless/tree-item.tsx | 4 +- .../console/server/src/expressServer.ts | 1 - apps/wing-console/console/server/src/index.ts | 11 +- .../app.get-hierarchichal-running-state.ts | 47 +++ .../console/server/src/router/app.ts | 101 +++--- apps/wing-console/console/server/src/types.ts | 1 + .../server/src/utils/constructTreeNodeMap.ts | 12 +- .../console/server/src/utils/simulator.ts | 8 +- apps/wing-console/console/ui/src/Console.tsx | 4 +- .../src/features/explorer-pane/map-view.tsx | 204 +++++++----- .../ui/src/features/explorer-pane/use-map.ts | 16 +- .../src/features/hierarchy-pane/hierarchy.tsx | 26 +- .../features/hierarchy-pane/use-hierarchy.tsx | 43 ++- .../resource-panes/custom-resource-item.tsx | 25 +- .../resource-panes/edge-metadata.tsx | 12 +- .../resource-panes/resource-metadata.tsx | 307 ++++++++++-------- .../running-state-indicator.tsx | 26 ++ .../selection-context/selection-context.tsx | 44 ++- libs/wingsdk/src/simulator/simulator.ts | 109 +++++-- .../src/target-sim/resource.inflight.ts | 2 +- libs/wingsdk/test/target-sim/api.test.ts | 1 + libs/wingsdk/test/target-sim/bucket.test.ts | 1 + libs/wingsdk/test/target-sim/function.test.ts | 1 + .../wingsdk/test/target-sim/on-deploy.test.ts | 1 + libs/wingsdk/test/target-sim/queue.test.ts | 1 + libs/wingsdk/test/target-sim/redis.test.ts | 1 + libs/wingsdk/test/target-sim/schedule.test.ts | 3 + libs/wingsdk/test/target-sim/secret.test.ts | 1 + libs/wingsdk/test/target-sim/service.test.ts | 3 + libs/wingsdk/test/target-sim/table.test.ts | 7 + libs/wingsdk/test/target-sim/test.test.ts | 1 + libs/wingsdk/test/target-sim/topic.test.ts | 2 +- libs/wingsdk/test/target-sim/website.test.ts | 2 + .../resource/on-start.test.w_test_sim.md | 1 + 35 files changed, 660 insertions(+), 378 deletions(-) create mode 100644 apps/wing-console/console/server/src/router/app.get-hierarchichal-running-state.ts create mode 100644 apps/wing-console/console/ui/src/features/running-state-indicator/running-state-indicator.tsx diff --git a/apps/wing-console/console/app/demo/main.w b/apps/wing-console/console/app/demo/main.w index b0209cc3ddc..9fd35ac4d44 100644 --- a/apps/wing-console/console/app/demo/main.w +++ b/apps/wing-console/console/app/demo/main.w @@ -1,6 +1,15 @@ bring cloud; bring ex; bring ui; +bring util; +bring sim; + +let errorService = new cloud.Service(inflight () => {}) as "ErrorService"; + +let errorResource = new sim.Resource(inflight () => { + util.sleep(5s); + throw "Oops"; +}) as "ErrorResource" in errorService; // @see https://github.com/winglang/wing/issues/4237 it crashes the Console preview env. //let secret = new cloud.Secret(name: "my-secret"); diff --git a/apps/wing-console/console/design-system/src/headless/tree-item.tsx b/apps/wing-console/console/design-system/src/headless/tree-item.tsx index e30b4891ead..5a731334ef7 100644 --- a/apps/wing-console/console/design-system/src/headless/tree-item.tsx +++ b/apps/wing-console/console/design-system/src/headless/tree-item.tsx @@ -123,7 +123,9 @@ export const TreeItem = ({ useEffect(() => { if (selected) { - ref.current?.scrollIntoView(); + ref.current?.scrollIntoView({ + block: "nearest", + }); } }, [selected, ref]); diff --git a/apps/wing-console/console/server/src/expressServer.ts b/apps/wing-console/console/server/src/expressServer.ts index 803002cdef4..ac21414d0b8 100644 --- a/apps/wing-console/console/server/src/expressServer.ts +++ b/apps/wing-console/console/server/src/expressServer.ts @@ -125,7 +125,6 @@ export const createExpressServer = async ({ "/trpc", trpcExpress.createExpressMiddleware({ router, - batching: { enabled: false }, createContext, }), ); diff --git a/apps/wing-console/console/server/src/index.ts b/apps/wing-console/console/server/src/index.ts index 031dd2bb721..9e2312a4788 100644 --- a/apps/wing-console/console/server/src/index.ts +++ b/apps/wing-console/console/server/src/index.ts @@ -36,7 +36,7 @@ export type { export type { Trace, State } from "./types.js"; export type { LogInterface } from "./utils/LogInterface.js"; export type { LogEntry, LogLevel } from "./consoleLogger.js"; -export type { ExplorerItem } from "./router/app.js"; +export type { ExplorerItem, MapItem } from "./router/app.js"; export type { WingSimulatorSchema, BaseResourceSchema } from "./wingsdk.js"; export type { Updater, UpdaterStatus } from "./updater.js"; export type { Config } from "./config.js"; @@ -44,7 +44,7 @@ export type { Router } from "./router/index.js"; export type { HostUtils } from "./hostUtils.js"; export type { RouterContext } from "./utils/createRouter.js"; export type { RouterMeta } from "./utils/createRouter.js"; -export type { MapNode, MapEdge } from "./router/app.js"; +export type { MapEdge } from "./router/app.js"; export type { InternalTestResult } from "./router/test.js"; export type { Column } from "./router/table.js"; export type { NodeDisplay } from "./utils/constructTreeNodeMap.js"; @@ -149,6 +149,13 @@ export const createConsoleServer = async ({ if (onTrace) { simulator.on("trace", onTrace); } + simulator.on("resourceLifecycleEvent", async (event) => { + await Promise.all([ + invalidateQuery("app.map"), + invalidateQuery("app.explorerTree"), + invalidateQuery("app.nodeMetadata"), + ]); + }); compiler.on("compiled", ({ simfile }) => { if (!isStarting) { simulator.start(simfile); diff --git a/apps/wing-console/console/server/src/router/app.get-hierarchichal-running-state.ts b/apps/wing-console/console/server/src/router/app.get-hierarchichal-running-state.ts new file mode 100644 index 00000000000..eec5ca40ef3 --- /dev/null +++ b/apps/wing-console/console/server/src/router/app.get-hierarchichal-running-state.ts @@ -0,0 +1,47 @@ +import type { ConstructTreeNodeMap } from "../utils/constructTreeNodeMap.js"; + +type RunningState = "starting" | "started" | "stopping" | "stopped" | "error"; + +const RunningStateOrder = { + started: 0, + stopped: 1, + starting: 2, + stopping: 3, + error: 4, +} as const; + +export const getHierarchichalRunningState = ( + path: string, + nodeMap: ConstructTreeNodeMap, +): RunningState => { + const node = nodeMap.get(path); + if (!node) { + return "stopped"; + } + + const runningState = (node?.resourceConfig?.attrs?.["runningState"] ?? + "started") as RunningState; + + if (node.children?.length > 0) { + const childrenRunningStates = node.children.map((child) => + getHierarchichalRunningState(child, nodeMap), + ); + + // eslint-disable-next-line unicorn/no-array-reduce + const highestRunningState = childrenRunningStates.reduce( + (highest, current) => { + return RunningStateOrder[current] > RunningStateOrder[highest] + ? current + : highest; + }, + "started", + ); + + return RunningStateOrder[highestRunningState] > + RunningStateOrder[runningState] + ? highestRunningState + : runningState; + } + + return runningState; +}; diff --git a/apps/wing-console/console/server/src/router/app.ts b/apps/wing-console/console/server/src/router/app.ts index 0b1da9c121f..8c3c56c0966 100644 --- a/apps/wing-console/console/server/src/router/app.ts +++ b/apps/wing-console/console/server/src/router/app.ts @@ -1,5 +1,7 @@ import { TRPCError } from "@trpc/server"; import { observable } from "@trpc/server/observable"; +import type { UIComponent } from "@winglang/sdk/lib/core/tree.js"; +import type { ResourceRunningState } from "@winglang/sdk/lib/simulator/simulator.js"; import uniqby from "lodash.uniqby"; import { z } from "zod"; @@ -16,6 +18,8 @@ import type { FileLink } from "../utils/createRouter.js"; import { createProcedure, createRouter } from "../utils/createRouter.js"; import type { Simulator } from "../wingsdk.js"; +import { getHierarchichalRunningState } from "./app.get-hierarchichal-running-state.js"; + const isTest = /(\/test$|\/test:([^/\\])+$)/; const isTestHandler = /(\/test$|\/test:.*\/Handler$)/; @@ -29,6 +33,12 @@ export interface ExplorerItem { type?: string; childItems?: ExplorerItem[]; display?: NodeDisplay; + hierarchichalRunningState: ResourceRunningState; +} + +export interface MapItem extends ConstructTreeNode { + hierarchichalRunningState: ResourceRunningState; + children?: Record; } const shakeTree = (tree: ConstructTreeNode): ConstructTreeNode => { @@ -159,9 +169,11 @@ export const createAppRouter = () => { .query(async ({ ctx, input }) => { const simulator = await ctx.simulator(); const { tree } = simulator.tree().rawData(); + const nodeMap = buildConstructTreeNodeMap(shakeTree(tree), simulator); return createExplorerItemFromConstructTreeNode( shakeTree(tree), simulator, + nodeMap, input?.showTests, input?.includeHiddens, ); @@ -177,9 +189,11 @@ export const createAppRouter = () => { .query(async ({ ctx, input }) => { const simulator = await ctx.simulator(); const { tree } = simulator.tree().rawData(); + const nodeMap = buildConstructTreeNodeMap(shakeTree(tree), simulator); const node = createExplorerItemFromConstructTreeNode( shakeTree(tree), simulator, + nodeMap, input?.showTests, ); @@ -202,7 +216,7 @@ export const createAppRouter = () => { .query(async ({ ctx, input }) => { const simulator = await ctx.simulator(); const { tree } = simulator.tree().rawData(); - const nodeMap = buildConstructTreeNodeMap(shakeTree(tree)); + const nodeMap = buildConstructTreeNodeMap(shakeTree(tree), simulator); let breadcrumbs: Array<{ id: string; @@ -230,7 +244,7 @@ export const createAppRouter = () => { .query(async ({ ctx, input }) => { const simulator = await ctx.simulator(); const { tree } = simulator.tree().rawData(); - const nodeMap = buildConstructTreeNodeMap(shakeTree(tree)); + const nodeMap = buildConstructTreeNodeMap(shakeTree(tree), simulator); const node = nodeMap.get(input.path); if (!node) { throw new TRPCError({ @@ -268,7 +282,7 @@ export const createAppRouter = () => { const simulator = await ctx.simulator(); const { tree } = simulator.tree().rawData(); - const nodeMap = buildConstructTreeNodeMap(shakeTree(tree)); + const nodeMap = buildConstructTreeNodeMap(shakeTree(tree), simulator); const node = nodeMap.get(path); if (!node) { throw new TRPCError({ @@ -298,6 +312,10 @@ export const createAppRouter = () => { type: getResourceType(node, simulator), props: config?.props, attributes: config?.attrs, + hierarchichalRunningState: getHierarchichalRunningState( + node.path, + nodeMap, + ), }, inbound: connections .filter(({ target }) => { @@ -354,7 +372,7 @@ export const createAppRouter = () => { const simulator = await ctx.simulator(); const { tree } = simulator.tree().rawData(); - const nodeMap = buildConstructTreeNodeMap(shakeTree(tree)); + const nodeMap = buildConstructTreeNodeMap(shakeTree(tree), simulator); let [, sourcePath, _sourceInflight, , targetPath, targetInflight] = edgeId.match(/^(.+?)#(.*?)#(.*?)#(.+?)#(.*?)#(.*?)$/i) ?? []; @@ -422,9 +440,29 @@ export const createAppRouter = () => { const { tree } = simulator.tree().rawData(); const connections = simulator.connections(); + const nodeMap = buildConstructTreeNodeMap(shakeTree(tree), simulator); + + const enrichTreeNode = (node: ConstructTreeNode): MapItem => { + const children: Record | undefined = node.children + ? {} + : undefined; + if (children) { + for (const [childId, child] of Object.entries(node.children ?? {})) { + children[childId] = enrichTreeNode(child); + } + } + return { + ...node, + hierarchichalRunningState: getHierarchichalRunningState( + node.path, + nodeMap, + ), + children, + } as MapItem; + }; return { - tree, + tree: enrichTreeNode(tree), connections, }; }), @@ -470,11 +508,7 @@ export const createAppRouter = () => { .query(async ({ input, ctx }) => { const simulator = await ctx.simulator(); const ui = simulator.getResourceUI(input.resourcePath); - return ui as Array<{ - kind: string; - label: string; - handler: string | Record; - }>; + return ui as Array; }), "app.analytics": createProcedure.query(async ({ ctx }) => { @@ -523,6 +557,7 @@ export const createAppRouter = () => { function createExplorerItemFromConstructTreeNode( node: ConstructTreeNode, simulator: Simulator, + nodeMap: ConstructTreeNodeMap, showTests = false, includeHiddens = false, ): ExplorerItem { @@ -538,6 +573,7 @@ function createExplorerItemFromConstructTreeNode( label, type: getResourceType(node, simulator), display: node.display, + hierarchichalRunningState: getHierarchichalRunningState(node.path, nodeMap), childItems: node.children ? Object.values(node.children) .filter((node) => { @@ -550,6 +586,7 @@ function createExplorerItemFromConstructTreeNode( createExplorerItemFromConstructTreeNode( node, simulator, + nodeMap, showTests, includeHiddens, ), @@ -558,50 +595,6 @@ function createExplorerItemFromConstructTreeNode( }; } -export interface MapNode { - id: string; - data: { - label?: string; - type?: string; - path?: string; - display?: NodeDisplay; - }; - children?: MapNode[]; -} - -function createMapNodeFromConstructTreeNode( - node: ConstructTreeNode, - simulator: Simulator, - showTests = false, -): MapNode { - return { - id: node.path, - data: { - label: node.id, - type: getResourceType(node, simulator), - path: node.path, - display: node.display, - }, - children: node.children - ? Object.values(node.children) - .filter((node) => { - if (node.display?.hidden) { - return false; - } - - if (!showTests && matchTest(node.path)) { - return false; - } - - return true; - }) - .map((node) => - createMapNodeFromConstructTreeNode(node, simulator, showTests), - ) - : undefined, - }; -} - export interface MapEdge { id: string; source: string; diff --git a/apps/wing-console/console/server/src/types.ts b/apps/wing-console/console/server/src/types.ts index 4dd272f8085..584e1e9f3b3 100644 --- a/apps/wing-console/console/server/src/types.ts +++ b/apps/wing-console/console/server/src/types.ts @@ -1,3 +1,4 @@ export type { Trace } from "@winglang/sdk/lib/std/test-runner.js"; +export type { ResourceLifecycleEvent } from "@winglang/sdk/lib/simulator/simulator.js"; export type State = "compiling" | "loadingSimulator" | "success" | "error"; diff --git a/apps/wing-console/console/server/src/utils/constructTreeNodeMap.ts b/apps/wing-console/console/server/src/utils/constructTreeNodeMap.ts index e1a620f4d1d..06dc343bba6 100644 --- a/apps/wing-console/console/server/src/utils/constructTreeNodeMap.ts +++ b/apps/wing-console/console/server/src/utils/constructTreeNodeMap.ts @@ -1,3 +1,5 @@ +import type { BaseResourceSchema, Simulator } from "../wingsdk.js"; + import type { ConstructInfo, ConstructTreeNode } from "./construct-tree.js"; export interface NodeDisplay { @@ -7,6 +9,7 @@ export interface NodeDisplay { hidden?: boolean; color?: string; icon?: string; + expanded?: boolean; } export interface NodeConnection { @@ -23,6 +26,7 @@ export interface Node { attributes: Record | undefined; children: string[]; display?: NodeDisplay; + resourceConfig?: BaseResourceSchema; } export interface ConstructTreeNodeRecord { @@ -51,7 +55,7 @@ function visitChildren( } } -function buildNodeMapFromRecord( +export function buildNodeMapFromRecord( nodeRecord: ConstructTreeNodeRecord, ): ConstructTreeNodeMap { return { @@ -74,7 +78,10 @@ function buildNodeMapFromRecord( }; } -export function buildConstructTreeNodeMap(node: ConstructTreeNode) { +export function buildConstructTreeNodeMap( + node: ConstructTreeNode, + simulator: Simulator, +) { let nodeRecord: ConstructTreeNodeRecord = {}; visitChildren(undefined, node, (parent, node) => { @@ -88,6 +95,7 @@ export function buildConstructTreeNodeMap(node: ConstructTreeNode) { attributes: node.attributes, constructInfo: node.constructInfo, display: node.display, + resourceConfig: simulator.tryGetResourceConfig(node.path), }; if (!parent) { diff --git a/apps/wing-console/console/server/src/utils/simulator.ts b/apps/wing-console/console/server/src/utils/simulator.ts index b418af988d9..0cfe50efb52 100644 --- a/apps/wing-console/console/server/src/utils/simulator.ts +++ b/apps/wing-console/console/server/src/utils/simulator.ts @@ -1,7 +1,7 @@ import { simulator } from "@winglang/sdk"; import Emittery from "emittery"; -import type { Trace } from "../types.js"; +import type { ResourceLifecycleEvent, Trace } from "../types.js"; import { formatWingError } from "./format-wing-error.js"; @@ -11,6 +11,7 @@ export interface SimulatorEvents { error: Error; stopping: undefined; trace: Trace; + resourceLifecycleEvent: ResourceLifecycleEvent; } export interface Simulator { @@ -76,6 +77,11 @@ export const createSimulator = (props?: CreateSimulatorProps): Simulator => { events.emit("trace", trace); }, }); + instance.onResourceLifecycleEvent({ + callback(event) { + events.emit("resourceLifecycleEvent", event); + }, + }); await events.emit("starting", { instance }); await instance.start(); await events.emit("started"); diff --git a/apps/wing-console/console/ui/src/Console.tsx b/apps/wing-console/console/ui/src/Console.tsx index f50f5460d62..5e4ec7cfc92 100644 --- a/apps/wing-console/console/ui/src/Console.tsx +++ b/apps/wing-console/console/ui/src/Console.tsx @@ -1,5 +1,5 @@ import { QueryClient, QueryClientProvider } from "@tanstack/react-query"; -import { httpLink, wsLink, splitLink, createWSClient } from "@trpc/client"; +import { httpBatchLink, wsLink, splitLink, createWSClient } from "@trpc/client"; import type { Mode } from "@wingconsole/design-system"; import type { Trace } from "@wingconsole/server"; import { useEffect, useMemo, useState } from "react"; @@ -61,7 +61,7 @@ export const Console = ({ true: wsLink({ client: wsClient, }), - false: httpLink({ + false: httpBatchLink({ url: trpcUrl, }), }), diff --git a/apps/wing-console/console/ui/src/features/explorer-pane/map-view.tsx b/apps/wing-console/console/ui/src/features/explorer-pane/map-view.tsx index f2550b41fb7..4a0fe5561d8 100644 --- a/apps/wing-console/console/ui/src/features/explorer-pane/map-view.tsx +++ b/apps/wing-console/console/ui/src/features/explorer-pane/map-view.tsx @@ -4,13 +4,16 @@ import { SpinnerLoader, useTheme, } from "@wingconsole/design-system"; -import type { ConstructTreeNode } from "@winglang/sdk/lib/core/index.js"; +import type { MapItem } from "@wingconsole/server"; +import type { ResourceRunningState } from "@winglang/sdk/lib/simulator/index.js"; import clsx from "classnames"; import { type ElkPoint, type LayoutOptions } from "elkjs"; import type { FunctionComponent, PropsWithChildren } from "react"; import { memo, useCallback, useMemo } from "react"; import { useKeyPressEvent } from "react-use"; +import { RunningStateIndicator } from "../running-state-indicator/running-state-indicator.js"; + import { assert } from "./elk-flow/assert.js"; import { Graph } from "./elk-flow/graph.js"; import { NodeChildren } from "./elk-flow/node-children.js"; @@ -45,6 +48,7 @@ interface WrapperProps { icon?: string; collapsed?: boolean; onCollapse?: (value: boolean) => void; + hierarchichalRunningState: ResourceRunningState; } const Wrapper: FunctionComponent> = memo( @@ -58,6 +62,7 @@ const Wrapper: FunctionComponent> = memo( children, color, icon, + hierarchichalRunningState, }) => { /* eslint-disable jsx-a11y/no-static-element-interactions */ /* eslint-disable jsx-a11y/click-events-have-key-events */ @@ -81,52 +86,55 @@ const Wrapper: FunctionComponent> = memo( onClick?.(); }} > -
- - - +
- {name} - -
-
{ - onCollapse(!collapsed); - }} - > - {collapsed && ( - - )} - {!collapsed && ( - + + + + {name} + + +
+
{ + onCollapse(!collapsed); + }} + > + {collapsed && ( + + )} + {!collapsed && ( + + )} +
@@ -147,6 +155,7 @@ interface ContainerNodeProps { onCollapse?: (value: boolean) => void; color?: string; icon?: string; + hierarchichalRunningState: ResourceRunningState; } const ContainerNode: FunctionComponent> = @@ -172,6 +181,7 @@ const ContainerNode: FunctionComponent> = collapsed={props.collapsed} color={props.color} icon={props.icon} + hierarchichalRunningState={props.hierarchichalRunningState} >
@@ -201,6 +211,7 @@ interface ConstructNodeProps { onCollapse: (value: boolean) => void; collapsed: boolean; icon?: string; + hierarchichalRunningState: ResourceRunningState; } const ConstructNode: FunctionComponent> = @@ -218,12 +229,15 @@ const ConstructNode: FunctionComponent> = onCollapse, collapsed, icon, + hierarchichalRunningState, }) => { const select = useCallback( () => onSelectedNodeIdChange(id), [onSelectedNodeIdChange, id], ); + const hasError = hierarchichalRunningState === "error"; + const renderedNode = ( > = "bg-white dark:bg-slate-700", highlight && "bg-sky-50 dark:bg-sky-900", "border", - "outline outline-0 outline-sky-200/50 dark:outline-sky-500/50", - !highlight && "border-slate-200 dark:border-slate-800", - highlight && "outline-4 border-sky-400 dark:border-sky-500", + "outline outline-0", + !highlight && + !hasError && + "border-slate-200 dark:border-slate-800", + highlight && !hasError && "border-sky-400 dark:border-sky-500", + highlight && "outline-4", + !hasError && "outline-sky-200/50 dark:outline-sky-500/50", + hasError && + "border-red-500 dark:border-red-500 outline-red-200/50 dark:outline-red-500/50", "shadow", "transition-all", ], @@ -283,47 +303,59 @@ const ConstructNode: FunctionComponent> = /> {!hasChildNodes && ( - // eslint-disable-next-line jsx-a11y/click-events-have-key-events, jsx-a11y/no-static-element-interactions -
0 && - "border-b border-slate-200 dark:border-slate-800", - )} - > - - - +
0 && + "border-b border-slate-200 dark:border-slate-800", )} > - {name} - - {collapsed && ( -
{ - if (collapsed) { - onCollapse(false); - } - }} + + + - -
- )} + {name} + + + + + {collapsed && ( +
{ + if (collapsed) { + onCollapse(false); + } + }} + > + +
+ )} +
)} @@ -394,6 +426,7 @@ const ConstructNode: FunctionComponent> = collapsed={collapsed} color={color} icon={icon} + hierarchichalRunningState={hierarchichalRunningState} > {inflights.length > 0 && renderedNode} @@ -641,7 +674,7 @@ export const MapView = memo( const RenderNode = useCallback< FunctionComponent<{ - constructTreeNode: ConstructTreeNode; + constructTreeNode: MapItem; selectedNodeId: string | undefined; onSelectedNodeIdChange: (id: string | undefined) => void; }> @@ -694,6 +727,9 @@ export const MapView = memo( onExpand(node.path); } }} + hierarchichalRunningState={ + props.constructTreeNode.hierarchichalRunningState + } > {childNodes.map((child) => ( { if (node.constructInfo?.fqn === "@winglang/sdk.cloud.Function") { @@ -70,7 +70,7 @@ const getNodeType = ( }; const getNodeInflights = ( - node: ConstructTreeNode, + node: MapItem, connections: { source: { id: string; operation: string | undefined }; target: { id: string; operation: string | undefined }; @@ -123,7 +123,7 @@ export const useMap = ({ expandedItems }: UseMapOptions) => { } const nodeTypes = new Map(); - const processNode = (node: ConstructTreeNode) => { + const processNode = (node: MapItem) => { nodeTypes.set(node.path, node.constructInfo?.fqn); for (const child of Object.values(node.children ?? {})) { processNode(child); @@ -139,7 +139,7 @@ export const useMap = ({ expandedItems }: UseMapOptions) => { } const nodeTypes = new Map(); - const processNode = (node: ConstructTreeNode) => { + const processNode = (node: MapItem) => { nodeTypes.set( node.path, getNodeType( @@ -161,7 +161,7 @@ export const useMap = ({ expandedItems }: UseMapOptions) => { const hiddenMap = useMemo(() => { const hiddenMap = new Map(); - const traverse = (node: ConstructTreeNode, forceHidden?: boolean) => { + const traverse = (node: MapItem, forceHidden?: boolean) => { const hidden = forceHidden || node.display?.hidden || false; hiddenMap.set(node.path, hidden); @@ -218,7 +218,7 @@ export const useMap = ({ expandedItems }: UseMapOptions) => { } const children = rawTree?.children?.["Default"]?.children; - return children ? (Object.values(children) as ConstructTreeNode[]) : []; + return children ? (Object.values(children) as MapItem[]) : []; }, [rawTree]); const connections = useMemo(() => { @@ -339,7 +339,7 @@ export const useMap = ({ expandedItems }: UseMapOptions) => { } const nodeMap = new Map(); - const processNode = (node: ConstructTreeNode) => { + const processNode = (node: MapItem) => { const nodeType = getNodeType( node, connections?.some( diff --git a/apps/wing-console/console/ui/src/features/hierarchy-pane/hierarchy.tsx b/apps/wing-console/console/ui/src/features/hierarchy-pane/hierarchy.tsx index edc805d55b2..f9f96d56caa 100644 --- a/apps/wing-console/console/ui/src/features/hierarchy-pane/hierarchy.tsx +++ b/apps/wing-console/console/ui/src/features/hierarchy-pane/hierarchy.tsx @@ -6,10 +6,8 @@ import { TreeItem, TreeView, useTheme, - ResourceIcon, ScrollableArea, } from "@wingconsole/design-system"; -import type { ExplorerItem } from "@wingconsole/server"; import classNames from "classnames"; import { memo } from "react"; @@ -26,6 +24,7 @@ const renderTreeItems = (items: TreeMenuItem[]) => { itemId={item.id} label={item.label} icon={item.icon} + secondaryLabel={item.secondaryLabel} > {item.children && item.children.length > 0 && @@ -35,28 +34,7 @@ const renderTreeItems = (items: TreeMenuItem[]) => { }); }; -const createTreeMenuItemFromExplorerTreeItem = ( - item: ExplorerItem, -): TreeMenuItem => { - return { - id: item.id, - label: item.label, - icon: item.type ? ( - - ) : undefined, - children: item.childItems?.map((item) => - createTreeMenuItemFromExplorerTreeItem(item), - ), - }; -}; - -export interface HierarchyProps { +export interface ExplorerProps { loading?: boolean; "data-testid"?: string; } diff --git a/apps/wing-console/console/ui/src/features/hierarchy-pane/use-hierarchy.tsx b/apps/wing-console/console/ui/src/features/hierarchy-pane/use-hierarchy.tsx index 755e1f14b6d..5ef7f7e2d32 100644 --- a/apps/wing-console/console/ui/src/features/hierarchy-pane/use-hierarchy.tsx +++ b/apps/wing-console/console/ui/src/features/hierarchy-pane/use-hierarchy.tsx @@ -1,16 +1,18 @@ import { ResourceIcon } from "@wingconsole/design-system"; import type { ExplorerItem } from "@wingconsole/server"; -import { useCallback, useEffect, useState } from "react"; +import uniqBy from "lodash.uniqby"; import type { ReactNode } from "react"; +import { useCallback, useEffect, useMemo, useRef, useState } from "react"; import { trpc } from "../../trpc.js"; +import { RunningStateIndicator } from "../running-state-indicator/running-state-indicator.js"; import { useSelectionContext } from "../selection-context/selection-context.js"; export interface TreeMenuItem { id: string; icon?: React.ReactNode; label: string; - secondaryLabel?: string | ReactNode | ((item: TreeMenuItem) => ReactNode); + secondaryLabel?: string | ReactNode | (() => ReactNode); children?: TreeMenuItem[]; expanded?: boolean; } @@ -31,6 +33,9 @@ const createTreeMenuItemFromExplorerTreeItem = ( /> ) : undefined, expanded: item.display?.expanded, + secondaryLabel: ( + + ), children: item.childItems?.map((item) => createTreeMenuItemFromExplorerTreeItem(item), ), @@ -79,30 +84,44 @@ export const useHierarchy = () => { setSelectedItems([selectedNode]); }, [selectedNode, setSelectedItems]); + // Expand items that are marked as expanded in the source code (only the first time they appear here). + // The rest of the time, the user's interaction with the tree menu will be handled by the useTreeMenuItems hook. + const processedItems = useRef(new Array()); useEffect(() => { - // Expand automatically if there is only one item and it is not explicitly set to be collapsed. - if (items?.length === 1 && items[0] && items[0].expanded !== false) { - setExpandedItems([items[0].id]); - return; - } - const getExpandedNodes = (items: TreeMenuItem[]): string[] => { + const getDefaultExpandedItems = (items: TreeMenuItem[]): string[] => { let expandedNodes: string[] = []; for (const item of items) { - if (item.expanded === true) { + // Expand if explicitely set to be expanded, or if there is only one item and it is not explicitly set to be collapsed. + if ( + item.expanded === true || + (items.length === 1 && item.expanded !== false) + ) { expandedNodes.push(item.id); } if (item.children && item.children.length > 0) { expandedNodes = [ ...expandedNodes, - ...getExpandedNodes(item.children), + ...getDefaultExpandedItems(item.children), ]; } } return expandedNodes; }; + const defaultExpandedItems = getDefaultExpandedItems(items ?? []); + + const shouldExpandItems = defaultExpandedItems.filter( + (id) => !processedItems.current.includes(id), + ); + + setExpandedItems((expandedItems) => + uniqBy([...expandedItems, ...shouldExpandItems], (id) => id), + ); - setExpandedItems(getExpandedNodes(items ?? [])); - }, [items, setExpandedItems]); + processedItems.current = uniqBy( + [...processedItems.current, ...shouldExpandItems], + (id) => id, + ); + }, [items, processedItems, setExpandedItems]); return { items, diff --git a/apps/wing-console/console/ui/src/features/inspector-pane/resource-panes/custom-resource-item.tsx b/apps/wing-console/console/ui/src/features/inspector-pane/resource-panes/custom-resource-item.tsx index 81f1dce8e56..41501b1a3d8 100644 --- a/apps/wing-console/console/ui/src/features/inspector-pane/resource-panes/custom-resource-item.tsx +++ b/apps/wing-console/console/ui/src/features/inspector-pane/resource-panes/custom-resource-item.tsx @@ -3,19 +3,22 @@ import type { UIField, UIButton, UISection, -} from "@winglang/sdk/lib/core"; - -import type { UIFileBrowser, UIHttpClient, -} from "../../../../../../libs/wingsdk/lib/core/index.js"; +} from "@winglang/sdk/lib/core"; import { CustomResourceFileBrowser } from "./custom-resource-file-browser.js"; import { CustomResourceHttpClientItem } from "./custom-resource-http-client.js"; import { CustomResourceUiButtonItem } from "./custom-resource-ui-button.js"; import { CustomResourceUiFieldItem } from "./custom-resource-ui-field.js"; -const getUiComponent = (item: UIComponent) => { +export interface UIComponentLike { + readonly kind: string; + readonly label?: string | undefined; + readonly handler?: string | undefined; +} + +const getUiComponent = (item: UIComponentLike) => { if (item.kind === "field") { return item as UIField; } @@ -23,18 +26,18 @@ const getUiComponent = (item: UIComponent) => { return item as UIButton; } if (item.kind === "section") { - return item as UISection; + return item as unknown as UISection; } if (item.kind === "file-browser") { - return item as UIFileBrowser; + return item as unknown as UIFileBrowser; } if (item.kind === "http-client") { - return item as UIHttpClient; + return item as unknown as UIHttpClient; } - return item; + return item as UIComponent; }; -export const CustomResourceUiItem = ({ item }: { item: UIComponent }) => { +export const CustomResourceUiItem = ({ item }: { item: UIComponentLike }) => { const uiComponent = getUiComponent(item); return ( <> @@ -42,7 +45,7 @@ export const CustomResourceUiItem = ({ item }: { item: UIComponent }) => { )} {uiComponent.kind === "button" && ( diff --git a/apps/wing-console/console/ui/src/features/inspector-pane/resource-panes/edge-metadata.tsx b/apps/wing-console/console/ui/src/features/inspector-pane/resource-panes/edge-metadata.tsx index c64b3cdf881..bcfcc73899b 100644 --- a/apps/wing-console/console/ui/src/features/inspector-pane/resource-panes/edge-metadata.tsx +++ b/apps/wing-console/console/ui/src/features/inspector-pane/resource-panes/edge-metadata.tsx @@ -11,14 +11,22 @@ import { Tree, Attribute, } from "@wingconsole/design-system"; +import type { NodeDisplay } from "@wingconsole/server"; import classNames from "classnames"; import { useCallback, useMemo, useState } from "react"; import type { MetadataNode } from "./resource-metadata.js"; +interface EdgeMetadataNode { + id: string; + path: string; + type: string; + display?: NodeDisplay; +} + export interface EdgeMetadataProps { - source: MetadataNode; - target: MetadataNode; + source: EdgeMetadataNode; + target: EdgeMetadataNode; inflights: { name: string }[]; onConnectionNodeClick?: (path: string) => void; } diff --git a/apps/wing-console/console/ui/src/features/inspector-pane/resource-panes/resource-metadata.tsx b/apps/wing-console/console/ui/src/features/inspector-pane/resource-panes/resource-metadata.tsx index 48fe84d1e8d..502c7d0b35e 100644 --- a/apps/wing-console/console/ui/src/features/inspector-pane/resource-panes/resource-metadata.tsx +++ b/apps/wing-console/console/ui/src/features/inspector-pane/resource-panes/resource-metadata.tsx @@ -14,10 +14,13 @@ import { ScrollableArea, } from "@wingconsole/design-system"; import type { NodeDisplay } from "@wingconsole/server"; +import type { ResourceRunningState } from "@winglang/sdk/lib/simulator/simulator.js"; import classNames from "classnames"; +import type { FunctionComponent } from "react"; import { memo, useCallback, useMemo, useState } from "react"; import { trpc } from "../../../trpc.js"; +import { RunningStateIndicator } from "../../running-state-indicator/running-state-indicator.js"; import { BucketMetadata } from "./bucket-metadata.js"; import { CounterMetadata } from "./counter-metadata.js"; @@ -27,6 +30,26 @@ import { QueueMetadataView } from "./queue-metadata-view.js"; import { ResourceInteractionView } from "./resource-interaction-view.js"; import { ScheduleMetadata } from "./schedule-metadata.js"; +const runningStateToText = (runningState: ResourceRunningState) => { + switch (runningState) { + case "error": { + return "Error"; + } + case "started": { + return "Started"; + } + case "starting": { + return "Starting"; + } + case "stopped": { + return "Stopped"; + } + case "stopping": { + return "Stopping"; + } + } +}; + interface AttributeGroup { groupName: string; actionName?: string; @@ -60,6 +83,7 @@ export interface MetadataNode { [key: string]: any; } | undefined; + hierarchichalRunningState: ResourceRunningState; } export interface MetadataProps { @@ -239,131 +263,54 @@ export const ResourceMetadata = memo( return ( -
-
- -
- -
-
{nodeLabel}
-
- {node.type} +
+
+
+
-
-
- {resourceUI.data && resourceUI.data.length > 0 && ( - toggleInspectorSection("resourceUI")} - headingClassName="pl-2" - > -
-
- {resourceUI.data.map((item, index) => ( - - ))} + +
+
{nodeLabel}
+
+ {node.type}
- - )} +
- {(node.type.startsWith("@winglang/sdk.cloud") || - node.type.startsWith("@winglang/sdk.redis") || - node.type.startsWith("@winglang/sdk.ex")) && ( - <> - toggleInspectorSection("interact")} - headingClassName="pl-2" - > -
- {resourceGroup?.groupName && ( - <> - {node.type === "@winglang/sdk.cloud.Function" && ( - - )} - {node.type === "@winglang/sdk.cloud.Queue" && ( - - )} - {node.type === "@winglang/sdk.cloud.Bucket" && ( - - )} - {node.type === "@winglang/sdk.cloud.Counter" && ( - - )} - {node.type === "@winglang/sdk.cloud.Schedule" && ( - - )} - {resourceGroup?.actionName && ( - - toggleInspectorSection("interact-actions") - } - subection - headingClassName="pl-2" - > -
- -
-
- )} - - )} - {(!resourceGroup?.groupName || !resourceGroup?.actionName) && ( -
- -
- )} +
+ +
+ + {runningStateToText(node.hierarchichalRunningState)} + +
- - - )} +
+
+
- {node && ( - <> +
+ {resourceUI.data && resourceUI.data.length > 0 && ( toggleInspectorSection("node")} + icon={icon ?? CubeIcon} + text={nodeLabel ?? "Properties"} + open={openInspectorSections.includes("resourceUI")} + onClick={() => toggleInspectorSection("resourceUI")} headingClassName="pl-2" >
@@ -374,21 +321,120 @@ export const ResourceMetadata = memo( theme.text1, )} > - - - - {node.display?.description && ( - - )} + {resourceUI.data.map((item, index) => ( + + ))}
+ )} - {/* Need to fix the relationships data. */} - {/* {connectionsGroups && connectionsGroups.length > 0 && ( + {(node.type.startsWith("@winglang/sdk.cloud") || + node.type.startsWith("@winglang/sdk.redis") || + node.type.startsWith("@winglang/sdk.ex")) && ( + <> + toggleInspectorSection("interact")} + headingClassName="pl-2" + > +
+ {resourceGroup?.groupName && ( + <> + {node.type === "@winglang/sdk.cloud.Function" && ( + + )} + {node.type === "@winglang/sdk.cloud.Queue" && ( + + )} + {node.type === "@winglang/sdk.cloud.Bucket" && ( + + )} + {node.type === "@winglang/sdk.cloud.Counter" && ( + + )} + {node.type === "@winglang/sdk.cloud.Schedule" && ( + + )} + {resourceGroup?.actionName && ( + + toggleInspectorSection("interact-actions") + } + subection + headingClassName="pl-2" + > +
+ +
+
+ )} + + )} + {(!resourceGroup?.groupName || + !resourceGroup?.actionName) && ( +
+ +
+ )} +
+
+ + )} + + {node && ( + <> + toggleInspectorSection("node")} + headingClassName="pl-2" + > +
+
+ + + + {node.display?.description && ( + + )} +
+
+
+ + {/* Need to fix the relationships data. */} + {/* {connectionsGroups && connectionsGroups.length > 0 && ( )} */} -
- - )} +
+ + )} +
); }, diff --git a/apps/wing-console/console/ui/src/features/running-state-indicator/running-state-indicator.tsx b/apps/wing-console/console/ui/src/features/running-state-indicator/running-state-indicator.tsx new file mode 100644 index 00000000000..fd8d84dab08 --- /dev/null +++ b/apps/wing-console/console/ui/src/features/running-state-indicator/running-state-indicator.tsx @@ -0,0 +1,26 @@ +import type { ResourceRunningState } from "@winglang/sdk/lib/simulator/simulator.js"; +import type { FunctionComponent } from "react"; + +export interface RunningStateIndicatorProps { + runningState: ResourceRunningState; +} + +export const RunningStateIndicator: FunctionComponent< + RunningStateIndicatorProps +> = ({ runningState }) => { + if (runningState === "error") { + return
; + } + if (runningState === "starting" || runningState === "stopping") { + return ( +
+
+
+
+ ); + } + if (runningState === "stopped") { + return
; + } + return
; +}; diff --git a/apps/wing-console/console/ui/src/features/selection-context/selection-context.tsx b/apps/wing-console/console/ui/src/features/selection-context/selection-context.tsx index c50436ceaab..2060a2dcacf 100644 --- a/apps/wing-console/console/ui/src/features/selection-context/selection-context.tsx +++ b/apps/wing-console/console/ui/src/features/selection-context/selection-context.tsx @@ -1,4 +1,9 @@ -import type { FunctionComponent, PropsWithChildren } from "react"; +import type { + FunctionComponent, + PropsWithChildren, + Dispatch, + SetStateAction, +} from "react"; import { createContext, useCallback, @@ -12,19 +17,34 @@ export interface SelectionItem { children?: SelectionItem[]; } -const Context = createContext({ - setAvailableItems(items: SelectionItem[]) {}, - selectedItems: new Array(), - setSelectedItems(items: string[]) {}, - expandedItems: new Array(), - setExpandedItems(items: string[]) {}, - toggle(itemId: string) {}, +export interface SelectionContext { + setAvailableItems(items: SelectionItem[]): void; + selectedItems: string[]; + setSelectedItems(items: string[]): void; + expandedItems: string[]; + setExpandedItems: Dispatch>; + toggle(itemId: string): void; + expandAll(): void; + collapseAll(): void; + expand(itemId: string): void; + collapse(itemId: string): void; + selectedEdgeId: string | undefined; + setSelectedEdgeId(edgeId: string | undefined): void; +} + +const Context = createContext({ + setAvailableItems() {}, + selectedItems: [], + setSelectedItems() {}, + expandedItems: [], + setExpandedItems() {}, + toggle() {}, expandAll() {}, collapseAll() {}, - expand(itemId: string) {}, - collapse(itemId: string) {}, - selectedEdgeId: undefined as string | undefined, - setSelectedEdgeId(edgeId: string | undefined) {}, + expand() {}, + collapse() {}, + selectedEdgeId: undefined, + setSelectedEdgeId() {}, }); export const SelectionContextProvider: FunctionComponent = ( diff --git a/libs/wingsdk/src/simulator/simulator.ts b/libs/wingsdk/src/simulator/simulator.ts index d3177d06cc9..7980b34e1a9 100644 --- a/libs/wingsdk/src/simulator/simulator.ts +++ b/libs/wingsdk/src/simulator/simulator.ts @@ -17,6 +17,7 @@ import { PolicySchema } from "../target-sim/schema-resources"; const LOCALHOST_ADDRESS = "127.0.0.1"; const HANDLE_ATTRIBUTE = "handle"; +const RUNNING_STATE_ATTRIBUTE = "runningState"; /** * If an API call is made to a resource with name as the caller, any permissions @@ -49,25 +50,6 @@ export interface SimulatorProps { readonly factory?: ISimulatorFactory; } -/** - * A collection of callbacks that are invoked at key lifecycle events of the - * simulator. - */ -export interface ISimulatorLifecycleHooks { - /** - * A function to run whenever a trace is emitted. - */ - onTrace?(event: Trace): void; -} - -// Since we are using JSII we cannot use generics to type this right now: -// -// export interface WithTraceProps { -// readonly activity: () => Promise; -// } -// ... -// withTrace(event: WithTraceProps): Promise; - /** * Props for `ISimulatorContext.withTrace`. */ @@ -159,6 +141,32 @@ export interface ITraceSubscriber { callback(event: Trace): void; } +/** + * Represents a resource lifecycle event. + */ +export interface ResourceLifecycleEvent { + /** + * The path of the resource that changed. + */ + readonly path: string; + + /** + * The current running state of the resource. + */ + readonly runningState: ResourceRunningState; +} + +/** + * A subscriber that can listen for resource lifecycle events emitted by the + * simulator. + */ +export interface IResourceLifecycleSubscriber { + /** + * Called when a resource lifecycle event is emitted. + */ + callback(event: ResourceLifecycleEvent): void; +} + /** * The simulator can transition between these states: * ┌─────────┐ ┌─────────┐ @@ -172,6 +180,13 @@ export interface ITraceSubscriber { */ type RunningState = "starting" | "running" | "stopping" | "stopped"; +export type ResourceRunningState = + | "starting" + | "started" + | "stopping" + | "stopped" + | "error"; + interface Model { simdir: string; tree: Tree; @@ -198,6 +213,7 @@ export class Simulator { private readonly _handles: HandleManager; private _traces: Array; private readonly _traceSubscribers: Array; + private readonly _resourceLifecyleSubscribers: Array; private _serverUrl: string | undefined; private _server: Server | undefined; private _model: Model; @@ -217,6 +233,7 @@ export class Simulator { this._policyRegistry = new PolicyRegistry(); this._traces = new Array(); this._traceSubscribers = new Array(); + this._resourceLifecyleSubscribers = new Array(); } private _loadApp(simdir: string): Model { @@ -392,6 +409,20 @@ export class Simulator { return path in this.state; } + private setResourceRunningState( + path: string, + runningState: ResourceRunningState + ) { + this.state[path].attrs = { + ...this.state[path].attrs, + [RUNNING_STATE_ATTRIBUTE]: runningState, + }; + + for (const subscriber of this._resourceLifecyleSubscribers) { + subscriber.callback({ path, runningState }); + } + } + private async stopResource(path: string) { if (!this.isStarted(path)) { return; // resource is already stopped @@ -409,6 +440,8 @@ export class Simulator { ); } + this.setResourceRunningState(path, "stopping"); + try { const resource = this._handles.find(handle); await this.ensureStateDirExists(path); @@ -422,6 +455,8 @@ export class Simulator { // remove the resource's policy from the policy registry this._policyRegistry.deregister(path); + this.setResourceRunningState(path, "stopped"); + this.addSimulatorTrace( path, { message: `${path} stopped` }, @@ -611,6 +646,14 @@ export class Simulator { this._traceSubscribers.push(subscriber); } + /** + * Register a subscriber that will be notified when a resource's lifecycle + * state changes. + */ + public onResourceLifecycleEvent(subscriber: IResourceLifecycleSubscriber) { + this._resourceLifecyleSubscribers.push(subscriber); + } + /** * Obtain information about the application's construct tree. */ @@ -843,6 +886,7 @@ export class Simulator { attrs: {}, policy: resolvedPolicy, }; + this.setResourceRunningState(path, "starting"); // create the resource based on its type // eslint-disable-next-line @typescript-eslint/no-require-imports @@ -867,7 +911,17 @@ export class Simulator { // initialize the resource with the simulator context const context = this.createContext(resourceConfig, handle); - const attrs = await resourceObject.init(context); + let initError: any; + try { + const attrs = await resourceObject.init(context); + + this.state[path].attrs = { + ...this.state[path].attrs, + ...attrs, + }; + } catch (error: any) { + initError = error; + } // save the current state await resourceObject.save(); @@ -875,17 +929,18 @@ export class Simulator { // merge the attributes this.state[path].attrs = { ...this.state[path].attrs, - ...attrs, [HANDLE_ATTRIBUTE]: handle, }; + this.setResourceRunningState(path, initError ? "error" : "started"); - // trace the resource creation this.addSimulatorTrace( path, { - message: `${resourceConfig.path} started`, + message: initError + ? `${resourceConfig.path} failed to start: ${initError}` + : `${resourceConfig.path} started`, }, - LogLevel.VERBOSE + initError ? LogLevel.ERROR : LogLevel.VERBOSE ); } @@ -1255,12 +1310,6 @@ export interface BaseResourceSchema extends ToSimulatorOutput { readonly deps?: string[]; } -/** Schema for resource attributes */ -export interface BaseResourceAttributes { - /** The resource's simulator-unique id. */ - readonly [HANDLE_ATTRIBUTE]: string; -} - /** A policy statement that defines a permission for a resource. */ export interface PolicyStatement { /** The operation that can be performed. */ diff --git a/libs/wingsdk/src/target-sim/resource.inflight.ts b/libs/wingsdk/src/target-sim/resource.inflight.ts index b208c5ba78c..e591146b7cd 100644 --- a/libs/wingsdk/src/target-sim/resource.inflight.ts +++ b/libs/wingsdk/src/target-sim/resource.inflight.ts @@ -92,7 +92,7 @@ export class Resource implements IResourceClient, ISimulatorResourceInstance { sourceType: SIM_RESOURCE_FQN, timestamp: new Date().toISOString(), }); - return {}; + throw err; } } diff --git a/libs/wingsdk/test/target-sim/api.test.ts b/libs/wingsdk/test/target-sim/api.test.ts index 128c674b144..ab8ac82b375 100644 --- a/libs/wingsdk/test/target-sim/api.test.ts +++ b/libs/wingsdk/test/target-sim/api.test.ts @@ -67,6 +67,7 @@ test("create an api", async () => { expect(s.getResourceConfig("/my_api")).toEqual({ attrs: { handle: expect.any(String), + runningState: expect.any(String), url: expect.any(String), }, path: "root/my_api", diff --git a/libs/wingsdk/test/target-sim/bucket.test.ts b/libs/wingsdk/test/target-sim/bucket.test.ts index 9c3f8a93105..2258ac720b2 100644 --- a/libs/wingsdk/test/target-sim/bucket.test.ts +++ b/libs/wingsdk/test/target-sim/bucket.test.ts @@ -20,6 +20,7 @@ test("create a bucket", async () => { expect(s.getResourceConfig("/my_bucket")).toEqual({ attrs: { handle: expect.any(String), + runningState: expect.any(String), }, path: "root/my_bucket", addr: expect.any(String), diff --git a/libs/wingsdk/test/target-sim/function.test.ts b/libs/wingsdk/test/target-sim/function.test.ts index 5a0dc50a1b2..5fe6a93d6b6 100644 --- a/libs/wingsdk/test/target-sim/function.test.ts +++ b/libs/wingsdk/test/target-sim/function.test.ts @@ -37,6 +37,7 @@ test("create a function", async () => { expect(s.getResourceConfig("/my_function")).toEqual({ attrs: { handle: expect.any(String), + runningState: expect.any(String), }, path: "root/my_function", addr: expect.any(String), diff --git a/libs/wingsdk/test/target-sim/on-deploy.test.ts b/libs/wingsdk/test/target-sim/on-deploy.test.ts index ee70b066897..094039415ff 100644 --- a/libs/wingsdk/test/target-sim/on-deploy.test.ts +++ b/libs/wingsdk/test/target-sim/on-deploy.test.ts @@ -16,6 +16,7 @@ test("create an OnDeploy", async () => { expect(s.getResourceConfig("/my_on_deploy")).toEqual({ attrs: { handle: expect.any(String), + runningState: expect.any(String), }, deps: ["root/my_on_deploy/Function"], path: "root/my_on_deploy", diff --git a/libs/wingsdk/test/target-sim/queue.test.ts b/libs/wingsdk/test/target-sim/queue.test.ts index 788bee2610d..014554ca93f 100644 --- a/libs/wingsdk/test/target-sim/queue.test.ts +++ b/libs/wingsdk/test/target-sim/queue.test.ts @@ -27,6 +27,7 @@ test("create a queue", async () => { expect(s.getResourceConfig("/my_queue")).toEqual({ attrs: { handle: expect.any(String), + runningState: expect.any(String), }, path: "root/my_queue", addr: expect.any(String), diff --git a/libs/wingsdk/test/target-sim/redis.test.ts b/libs/wingsdk/test/target-sim/redis.test.ts index e4bf2e9c0d5..3f2fb897756 100644 --- a/libs/wingsdk/test/target-sim/redis.test.ts +++ b/libs/wingsdk/test/target-sim/redis.test.ts @@ -16,6 +16,7 @@ test("create a Redis resource", async () => { expect(redisResource).toEqual({ attrs: { handle: expect.any(String), + runningState: expect.any(String), }, path: "root/my_redis", addr: expect.any(String), diff --git a/libs/wingsdk/test/target-sim/schedule.test.ts b/libs/wingsdk/test/target-sim/schedule.test.ts index e2dfd0d99dd..33f087c1560 100644 --- a/libs/wingsdk/test/target-sim/schedule.test.ts +++ b/libs/wingsdk/test/target-sim/schedule.test.ts @@ -19,6 +19,7 @@ test("create a schedule", async () => { expect(s.getResourceConfig("/my_schedule")).toEqual({ attrs: { handle: expect.any(String), + runningState: expect.any(String), }, path: "root/my_schedule", addr: expect.any(String), @@ -66,6 +67,7 @@ test("schedule with one task using rate of 10m", async () => { expect(s.getResourceConfig("/my_schedule")).toEqual({ attrs: { handle: expect.any(String), + runningState: expect.any(String), }, path: "root/my_schedule", addr: expect.any(String), @@ -94,6 +96,7 @@ test("schedule with one task using rate of 3h", async () => { expect(s.getResourceConfig("/my_schedule")).toEqual({ attrs: { handle: expect.any(String), + runningState: expect.any(String), }, path: "root/my_schedule", addr: expect.any(String), diff --git a/libs/wingsdk/test/target-sim/secret.test.ts b/libs/wingsdk/test/target-sim/secret.test.ts index a0a94ceb83b..cfb70816636 100644 --- a/libs/wingsdk/test/target-sim/secret.test.ts +++ b/libs/wingsdk/test/target-sim/secret.test.ts @@ -25,6 +25,7 @@ describe("secrets", () => { expect(s.getResourceConfig("/my_secret")).toEqual({ attrs: { handle: expect.any(String), + runningState: expect.any(String), }, path: "root/my_secret", addr: expect.any(String), diff --git a/libs/wingsdk/test/target-sim/service.test.ts b/libs/wingsdk/test/target-sim/service.test.ts index dcc1c8fd0f9..92794d4c9d0 100644 --- a/libs/wingsdk/test/target-sim/service.test.ts +++ b/libs/wingsdk/test/target-sim/service.test.ts @@ -24,6 +24,7 @@ test("create a service with on start method", async () => { expect(s.getResourceConfig("/my_service")).toEqual({ attrs: { handle: expect.any(String), + runningState: expect.any(String), }, path: "root/my_service", addr: expect.any(String), @@ -52,6 +53,7 @@ test("create a service with a on stop method", async () => { expect(s.getResourceConfig("/my_service")).toEqual({ attrs: { handle: expect.any(String), + runningState: expect.any(String), }, path: "root/my_service", addr: expect.any(String), @@ -93,6 +95,7 @@ test("create a service without autostart", async () => { expect(s.getResourceConfig("/my_service")).toEqual({ attrs: { handle: expect.any(String), + runningState: expect.any(String), }, path: "root/my_service", addr: expect.any(String), diff --git a/libs/wingsdk/test/target-sim/table.test.ts b/libs/wingsdk/test/target-sim/table.test.ts index 6eda65e0710..57436375544 100644 --- a/libs/wingsdk/test/target-sim/table.test.ts +++ b/libs/wingsdk/test/target-sim/table.test.ts @@ -19,6 +19,7 @@ test("create a table", async () => { expect(s.getResourceConfig("/my_table")).toEqual({ attrs: { handle: expect.any(String), + runningState: expect.any(String), }, path: "root/my_table", addr: expect.any(String), @@ -58,6 +59,7 @@ test("insert row", async () => { expect(s.getResourceConfig("/my_table")).toEqual({ attrs: { handle: expect.any(String), + runningState: expect.any(String), }, path: "root/my_table", addr: expect.any(String), @@ -105,6 +107,7 @@ test("get row", async () => { expect(s.getResourceConfig("/my_table")).toEqual({ attrs: { handle: expect.any(String), + runningState: expect.any(String), }, path: "root/my_table", addr: expect.any(String), @@ -151,6 +154,7 @@ test("tryGet row", async () => { expect(s.getResourceConfig("/my_table")).toEqual({ attrs: { handle: expect.any(String), + runningState: expect.any(String), }, path: "root/my_table", addr: expect.any(String), @@ -196,6 +200,7 @@ test("update row", async () => { expect(s.getResourceConfig("/my_table")).toEqual({ attrs: { handle: expect.any(String), + runningState: expect.any(String), }, path: "root/my_table", addr: expect.any(String), @@ -240,6 +245,7 @@ test("list table", async () => { expect(s.getResourceConfig("/my_table")).toEqual({ attrs: { handle: expect.any(String), + runningState: expect.any(String), }, path: "root/my_table", addr: expect.any(String), @@ -346,6 +352,7 @@ test("can add row in preflight", async () => { expect(s.getResourceConfig("/my_table")).toEqual({ attrs: { handle: expect.any(String), + runningState: expect.any(String), }, path: "root/my_table", addr: expect.any(String), diff --git a/libs/wingsdk/test/target-sim/test.test.ts b/libs/wingsdk/test/target-sim/test.test.ts index d5825de5688..d9914a5c0b6 100644 --- a/libs/wingsdk/test/target-sim/test.test.ts +++ b/libs/wingsdk/test/target-sim/test.test.ts @@ -25,6 +25,7 @@ test("create a test", async () => { expect(s.getResourceConfig("/env0/test:my_test/Handler")).toEqual({ attrs: { handle: expect.any(String), + runningState: expect.any(String), }, path: "root/env0/test:my_test/Handler", addr: expect.any(String), diff --git a/libs/wingsdk/test/target-sim/topic.test.ts b/libs/wingsdk/test/target-sim/topic.test.ts index 6533dcafd8c..25400b375a2 100644 --- a/libs/wingsdk/test/target-sim/topic.test.ts +++ b/libs/wingsdk/test/target-sim/topic.test.ts @@ -2,7 +2,6 @@ import { test, expect } from "vitest"; import { treeJsonOf, waitUntilTrace } from "./util"; import * as cloud from "../../src/cloud"; import { inflight } from "../../src/core"; -import { Testing } from "../../src/simulator"; import { Node } from "../../src/std"; import { SimApp } from "../sim-app"; @@ -16,6 +15,7 @@ test("create a topic", async () => { expect(s.getResourceConfig("/my_topic")).toEqual({ attrs: { handle: expect.any(String), + runningState: expect.any(String), }, path: "root/my_topic", addr: expect.any(String), diff --git a/libs/wingsdk/test/target-sim/website.test.ts b/libs/wingsdk/test/target-sim/website.test.ts index 5ce4f8e3644..286505f4a3d 100644 --- a/libs/wingsdk/test/target-sim/website.test.ts +++ b/libs/wingsdk/test/target-sim/website.test.ts @@ -106,6 +106,7 @@ test("api.url is resolved in website config", async () => { expect(s.getResourceConfig("/website")).toEqual({ attrs: { handle: expect.any(String), + runningState: expect.any(String), url: expect.any(String), }, path: "root/website", @@ -143,6 +144,7 @@ test("multiple tokens are resolved in website config", async () => { expect(s.getResourceConfig("/website")).toEqual({ attrs: { handle: expect.any(String), + runningState: expect.any(String), url: expect.any(String), }, path: "root/website", diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/resource/on-start.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/resource/on-start.test.w_test_sim.md index d14f7e85add..17189551c43 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/resource/on-start.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/resource/on-start.test.w_test_sim.md @@ -11,6 +11,7 @@ | ^ at $inflight_init /on-start.test.w:6:5 at /on-start.test.w:17:18 +[ERROR] method calls fail if the resource fails to start | Error: root/env0/OnStartThrower/Resource failed to start: Error: unexpected error! [ERROR] method calls fail if the resource fails to start | Error: Resource is not running (it may have crashed or stopped) pass ─ on-start.test.wsim » root/env0/test:method calls fail if the resource fails to start From 5df11f84447af729785b60d67b5634d55c443344 Mon Sep 17 00:00:00 2001 From: Mark McCulloh Date: Tue, 25 Jun 2024 11:59:05 +0300 Subject: [PATCH 07/17] chore: update minor/patch across repo (#6760) Resolves all audit/dependabot notices (except 1, which will be ignored anyways) Updating typescript caused an interesting error in the SDK (see changes to AssertionError) but otherwise the update was uneventful. As part of this update I made changes to hangar to ignore cdktf version number changes in the future since it's not an interesting change. *By submitting this pull request, I confirm that my contribution is made under the terms of the [Wing Cloud Contribution License](https://github.com/winglang/wing/blob/main/CONTRIBUTION_LICENSE.md)*. --- apps/jsii-docgen/.projen/deps.json | 2 +- apps/jsii-docgen/.projenrc.ts | 2 +- apps/jsii-docgen/package.json | 20 +- .../libraries/construct-library/package.json | 6 +- apps/vscode-wing/package.json | 20 +- apps/wing-api-checker/package.json | 16 +- apps/wing-console/console/app/package.json | 36 +- .../console/design-system/package.json | 36 +- apps/wing-console/console/server/package.json | 32 +- apps/wing-console/console/ui/package.json | 68 +- .../packages/error-message/package.json | 2 +- .../packages/use-loading/package.json | 4 +- .../use-persistent-state/package.json | 4 +- .../tools/eslint-plugin/package.json | 14 +- apps/wing-console/tools/tsconfig/package.json | 2 +- apps/wing/package.json | 44 +- .../test/fixtures/main.w.tf-aws.snap.md | 2 +- docs/package.json | 6 +- examples/jsii-fixture/package.json | 2 +- examples/tests/invalid/package.json | 4 +- examples/tests/sdk_tests/package.json | 4 +- examples/tests/valid/package.json | 22 +- examples/ts-fixture/package.json | 2 +- libs/@wingcloud/framework/package.json | 2 +- libs/awscdk/package.json | 12 +- .../test/__snapshots__/bucket.test.ts.snap | 18 +- .../test/__snapshots__/on-deploy.test.ts.snap | 357 +- libs/compatibility-spy/package.json | 8 +- libs/tree-sitter-wing/package.json | 2 +- libs/wingcompiler/package.json | 6 +- libs/wingsdk/.projen/deps.json | 10 +- libs/wingsdk/.projenrc.ts | 8 +- libs/wingsdk/package.json | 42 +- libs/wingsdk/src/expect/expect.ts | 6 +- libs/wingsdk/test/expect/assertions.test.ts | 6 +- .../__snapshots__/bucket.test.ts.snap | 284 +- .../__snapshots__/counter.test.ts.snap | 160 +- .../__snapshots__/domain.test.ts.snap | 60 +- .../__snapshots__/function.test.ts.snap | 190 +- .../__snapshots__/on-deploy.test.ts.snap | 82 +- .../__snapshots__/queue.test.ts.snap | 144 +- .../__snapshots__/schedule.test.ts.snap | 180 +- .../__snapshots__/secret.test.ts.snap | 12 +- .../__snapshots__/table.test.ts.snap | 26 +- .../__snapshots__/topic.test.ts.snap | 60 +- .../__snapshots__/website.test.ts.snap | 88 +- .../__snapshots__/bucket.test.ts.snap | 94 +- .../__snapshots__/counter.test.ts.snap | 202 +- .../__snapshots__/function.test.ts.snap | 84 +- .../__snapshots__/bucket.test.ts.snap | 96 +- .../__snapshots__/counter.test.ts.snap | 202 +- .../__snapshots__/function.test.ts.snap | 112 +- .../__snapshots__/schedule.test.ts.snap | 34 +- libs/wingtunnels/package.json | 12 +- package.json | 7 +- .../{jsii@5.3.11.patch => jsii@5.3.39.patch} | 15 +- pnpm-lock.yaml | 14586 +++++++--------- tools/bump-pack/package.json | 20 +- .../package.json | 6 +- tools/generate-workspace/package.json | 14 +- tools/hangar/__snapshots__/platform.ts.snap | 6 - .../api/404.test.w_compile_tf-aws.md | 3 +- .../api/aws-api.test.w_compile_tf-aws.md | 3 +- .../api/cors.test.w_compile_tf-aws.md | 3 +- .../api/cycle.test.w_compile_tf-aws.md | 3 +- .../api/delete.test.w_compile_tf-aws.md | 3 +- .../api/env.test.w_compile_tf-aws.md | 3 +- .../api/get.test.w_compile_tf-aws.md | 3 +- .../api/options.test.w_compile_tf-aws.md | 3 +- .../api/patch.test.w_compile_tf-aws.md | 3 +- .../api/path_vars.test.w_compile_tf-aws.md | 3 +- .../api/post.test.w_compile_tf-aws.md | 3 +- .../api/put.test.w_compile_tf-aws.md | 3 +- .../root_path_vars.test.w_compile_tf-aws.md | 3 +- .../bucket/add_file.test.w_compile_tf-aws.md | 3 +- .../add_object.test.w_compile_tf-aws.md | 3 +- .../aws-bucket.test.w_compile_tf-aws.md | 3 +- .../bucket-ref.test.w_compile_tf-aws.md | 3 +- .../bucket_list.test.w_compile_tf-aws.md | 3 +- .../bucket/copy.test.w_compile_tf-aws.md | 3 +- .../bucket/delete.test.w_compile_tf-aws.md | 3 +- .../bucket/events.test.w_compile_tf-aws.md | 3 +- .../bucket/exists.test.w_compile_tf-aws.md | 3 +- .../bucket/get.test.w_compile_tf-aws.md | 3 +- .../bucket/load_test.test.w_compile_tf-aws.md | 3 +- .../bucket/metadata.test.w_compile_tf-aws.md | 3 +- .../public_url.test.w_compile_tf-aws.md | 3 +- .../bucket/put.test.w_compile_tf-aws.md | 3 +- .../bucket/put_json.test.w_compile_tf-aws.md | 3 +- .../bucket/rename.test.w_compile_tf-aws.md | 3 +- .../signed_url.test.w_compile_tf-aws.md | 3 +- .../try_delete.test.w_compile_tf-aws.md | 3 +- .../bucket/try_get.test.w_compile_tf-aws.md | 3 +- .../try_get_json.test.w_compile_tf-aws.md | 3 +- .../build-failure.test.w_compile_tf-aws.md | 3 +- .../container.test.w_compile_tf-aws.md | 3 +- .../entrypoint.test.w_compile_tf-aws.md | 3 +- .../container/mount.test.w_compile_tf-aws.md | 3 +- .../network.test.w_compile_tf-aws.md | 3 +- .../pull-failure.test.w_compile_tf-aws.md | 3 +- .../aws-counter.test.w_compile_tf-aws.md | 3 +- .../counter/dec.test.w_compile_tf-aws.md | 3 +- .../counter/inc.test.w_compile_tf-aws.md | 3 +- .../counter/initial.test.w_compile_tf-aws.md | 3 +- .../counter/peek.test.w_compile_tf-aws.md | 3 +- .../counter/set.test.w_compile_tf-aws.md | 3 +- .../endpoint/url.test.w_compile_tf-aws.md | 3 +- .../expect/assert.test.w_compile_tf-aws.md | 3 +- .../fs/basic.test.w_compile_tf-aws.md | 3 +- .../fs/directory.test.w_compile_tf-aws.md | 3 +- .../fs/json.test.w_compile_tf-aws.md | 3 +- .../fs/options.test.w_compile_tf-aws.md | 3 +- .../fs/path.test.w_compile_tf-aws.md | 3 +- .../fs/stat.test.w_compile_tf-aws.md | 3 +- .../fs/temp_dir.test.w_compile_tf-aws.md | 3 +- .../fs/yaml.test.w_compile_tf-aws.md | 3 +- .../aws-function.test.w_compile_tf-aws.md | 3 +- .../concurrency.test.w_compile_tf-aws.md | 3 +- .../function/env.test.w_compile_tf-aws.md | 3 +- .../function-ref.test.w_compile_tf-aws.md | 3 +- .../function/invoke.test.w_compile_tf-aws.md | 3 +- .../invoke_async.test.w_compile_tf-aws.md | 3 +- .../function/logging.test.w_compile_tf-aws.md | 3 +- .../memory_and_env.test.w_compile_tf-aws.md | 3 +- .../function/timeout.test.w_compile_tf-aws.md | 3 +- .../http/fetch.test.w_compile_tf-aws.md | 3 +- .../http/url.test.w_compile_tf-aws.md | 3 +- .../math/abs.test.w_compile_tf-aws.md | 3 +- .../math/acos.test.w_compile_tf-aws.md | 3 +- .../math/acot.test.w_compile_tf-aws.md | 3 +- .../math/acsc.test.w_compile_tf-aws.md | 3 +- ...ngular_conversion.test.w_compile_tf-aws.md | 3 +- .../math/asec.test.w_compile_tf-aws.md | 3 +- .../math/asin.test.w_compile_tf-aws.md | 3 +- .../math/atan.test.w_compile_tf-aws.md | 3 +- .../math/atan2.test.w_compile_tf-aws.md | 3 +- .../combinations.test.w_compile_tf-aws.md | 3 +- .../math/cos.test.w_compile_tf-aws.md | 3 +- .../math/cot.test.w_compile_tf-aws.md | 3 +- .../math/csc.test.w_compile_tf-aws.md | 3 +- .../math/euler.test.w_compile_tf-aws.md | 3 +- .../math/factorial.test.w_compile_tf-aws.md | 3 +- .../math/fibonacci.test.w_compile_tf-aws.md | 3 +- .../floor_ceil_round.test.w_compile_tf-aws.md | 3 +- .../math/hypot.test.w_compile_tf-aws.md | 3 +- .../math/log.test.w_compile_tf-aws.md | 3 +- .../math/log10.test.w_compile_tf-aws.md | 3 +- .../math/log2.test.w_compile_tf-aws.md | 3 +- .../median_mode_mean.test.w_compile_tf-aws.md | 3 +- .../math/min_max.test.w_compile_tf-aws.md | 3 +- .../math/pi.test.w_compile_tf-aws.md | 3 +- .../math/prime.test.w_compile_tf-aws.md | 3 +- .../math/random.test.w_compile_tf-aws.md | 3 +- .../math/sec.test.w_compile_tf-aws.md | 3 +- .../math/sign.test.w_compile_tf-aws.md | 3 +- .../math/sin.test.w_compile_tf-aws.md | 3 +- .../math/sqrt.test.w_compile_tf-aws.md | 3 +- .../math/tan.test.w_compile_tf-aws.md | 3 +- .../math/tau.test.w_compile_tf-aws.md | 3 +- .../math/toradix.test.w_compile_tf-aws.md | 3 +- .../empty-actions.test.w_compile_tf-aws.md | 3 +- .../execute_after.test.w_compile_tf-aws.md | 3 +- .../queue/aws-queue.test.w_compile_tf-aws.md | 3 +- ...dead-letter-queue.test.w_compile_tf-aws.md | 3 +- .../queue/pop.test.w_compile_tf-aws.md | 3 +- .../queue/purge.test.w_compile_tf-aws.md | 3 +- .../queue/push.test.w_compile_tf-aws.md | 3 +- .../queue/queue-ref.test.w_compile_tf-aws.md | 3 +- .../retention_period.main.w_compile_tf-aws.md | 3 +- .../set_consumer.test.w_compile_tf-aws.md | 3 +- .../resource/call.test.w_compile_tf-aws.md | 3 +- .../resource/no-stop.test.w_compile_tf-aws.md | 3 +- .../on-start.test.w_compile_tf-aws.md | 3 +- .../resource/on-stop.test.w_compile_tf-aws.md | 3 +- .../resource.test.w_compile_tf-aws.md | 3 +- .../resource/state.test.w_compile_tf-aws.md | 3 +- .../resource/tokens.test.w_compile_tf-aws.md | 3 +- .../schedule/on_tick.test.w_compile_tf-aws.md | 3 +- .../secret-ref.test.w_compile_tf-aws.md | 3 +- .../callbacks.test.w_compile_tf-aws.md | 3 +- .../http-server.test.w_compile_tf-aws.md | 3 +- .../service/minimal.test.w_compile_tf-aws.md | 3 +- .../service/stateful.test.w_compile_tf-aws.md | 3 +- .../service/tokens.test.w_compile_tf-aws.md | 3 +- .../state/get.test.w_compile_tf-aws.md | 3 +- .../state/set.test.w_compile_tf-aws.md | 3 +- .../std/array.test.w_compile_tf-aws.md | 3 +- .../std/bool.test.w_compile_tf-aws.md | 3 +- .../std/datetime.test.w_compile_tf-aws.md | 3 +- .../std/duration.test.w_compile_tf-aws.md | 3 +- .../std/json.test.w_compile_tf-aws.md | 3 +- .../std/map.test.w_compile_tf-aws.md | 3 +- .../std/node.test.w_compile_tf-aws.md | 3 +- .../std/number.test.w_compile_tf-aws.md | 3 +- .../std/range.test.w_compile_tf-aws.md | 3 +- .../std/regex.test.w_compile_tf-aws.md | 3 +- .../std/set.test.w_compile_tf-aws.md | 3 +- .../std/string.test.w_compile_tf-aws.md | 3 +- .../std/struct.test.w_compile_tf-aws.md | 3 +- .../table/add_row.test.w_compile_tf-aws.md | 3 +- .../table/aws-table.test.w_compile_tf-aws.md | 3 +- .../table/get.test.w_compile_tf-aws.md | 3 +- .../table/list.test.w_compile_tf-aws.md | 3 +- .../table/try_get.test.w_compile_tf-aws.md | 3 +- .../table/upsert.test.w_compile_tf-aws.md | 3 +- .../topic/aws-topic.test.w_compile_tf-aws.md | 3 +- .../no_blocking.test.w_compile_tf-aws.md | 3 +- .../topic/on_message.test.w_compile_tf-aws.md | 3 +- .../subscribe-queue.test.w_compile_tf-aws.md | 3 +- ...ariadic-parameter.test.w_compile_tf-aws.md | 3 +- .../ui/section.test.w_compile_tf-aws.md | 3 +- .../util/base64.test.w_compile_tf-aws.md | 3 +- .../util/env.test.w_compile_tf-aws.md | 3 +- .../util/exec.test.w_compile_tf-aws.md | 3 +- .../util/nanoid.test.w_compile_tf-aws.md | 3 +- .../util/os.test.w_compile_tf-aws.md | 3 +- .../util/sha256.test.w_compile_tf-aws.md | 3 +- .../util/shell.test.w_compile_tf-aws.md | 3 +- .../util/sleep.test.w_compile_tf-aws.md | 3 +- .../util/spawn.test.w_compile_tf-aws.md | 3 +- .../util/uuidv4.test.w_compile_tf-aws.md | 3 +- .../util/wait-until.test.w_compile_tf-aws.md | 3 +- .../aws-website.test.w_compile_tf-aws.md | 3 +- .../two_websites.test.w_compile_tf-aws.md | 3 +- .../website/website.test.w_compile_tf-aws.md | 3 +- .../anon_function.test.w_compile_tf-aws.md | 3 +- .../valid/api.test.w_compile_tf-aws.md | 3 +- .../api_cors_custom.test.w_compile_tf-aws.md | 3 +- .../api_cors_default.test.w_compile_tf-aws.md | 3 +- .../api_valid_path.test.w_compile_tf-aws.md | 3 +- .../valid/assert.test.w_compile_tf-aws.md | 3 +- ...wait_in_functions.test.w_compile_tf-aws.md | 3 +- .../bring_alias.test.w_compile_tf-aws.md | 3 +- .../bring_awscdk.test.w_compile_tf-aws.md | 3 +- .../bring_cdk8s.test.w_compile_tf-aws.md | 3 +- .../bring_cdktf.test.w_compile_tf-aws.md | 3 +- ..._extend_non_entry.test.w_compile_tf-aws.md | 3 +- .../valid/bring_jsii.test.w_compile_tf-aws.md | 3 +- .../bring_local.test.w_compile_tf-aws.md | 3 +- .../bring_local_dir.test.w_compile_tf-aws.md | 3 +- ...cal_normalization.test.w_compile_tf-aws.md | 3 +- .../bring_projen.test.w_compile_tf-aws.md | 3 +- ...ring_wing_library.test.w_compile_tf-aws.md | 3 +- .../bucket_keys.test.w_compile_tf-aws.md | 3 +- .../bypass_return.test.w_compile_tf-aws.md | 3 +- ..._static_of_myself.test.w_compile_tf-aws.md | 3 +- ...inflight_variants.test.w_compile_tf-aws.md | 3 +- ...apture_containers.test.w_compile_tf-aws.md | 3 +- ...capture_in_binary.test.w_compile_tf-aws.md | 3 +- .../capture_mutables.test.w_compile_tf-aws.md | 3 +- ...apture_primitives.test.w_compile_tf-aws.md | 3 +- ...gable_class_field.test.w_compile_tf-aws.md | 3 +- ...ture_reassignable.test.w_compile_tf-aws.md | 3 +- ...resource_and_data.test.w_compile_tf-aws.md | 3 +- ..._with_no_inflight.test.w_compile_tf-aws.md | 3 +- .../capture_tokens.test.w_compile_tf-aws.md | 3 +- .../valid/captures.test.w_compile_tf-aws.md | 3 +- .../valid/casting.test.w_compile_tf-aws.md | 3 +- .../valid/class.test.w_compile_tf-aws.md | 3 +- .../closure_class.test.w_compile_tf-aws.md | 3 +- .../construct-base.test.w_compile_tf-aws.md | 3 +- .../container_types.test.w_compile_tf-aws.md | 3 +- .../custom_obj_id.test.w_compile_tf-aws.md | 3 +- .../valid/debug_env.test.w_compile_tf-aws.md | 3 +- .../deep_equality.test.w_compile_tf-aws.md | 3 +- .../double_reference.test.w_compile_tf-aws.md | 3 +- .../valid/doubler.test.w_compile_tf-aws.md | 3 +- .../valid/enums.test.w_compile_tf-aws.md | 3 +- ...ift_qualification.test.w_compile_tf-aws.md | 3 +- ..._binary_operators.test.w_compile_tf-aws.md | 3 +- ...ing_interpolation.test.w_compile_tf-aws.md | 3 +- ...rn_implementation.test.w_compile_tf-aws.md | 3 +- .../file_counter.test.w_compile_tf-aws.md | 3 +- .../valid/for_loop.test.w_compile_tf-aws.md | 3 +- .../forward_decl.test.w_compile_tf-aws.md | 3 +- ...ptional_arguments.test.w_compile_tf-aws.md | 3 +- ..._returns_function.test.w_compile_tf-aws.md | 3 +- .../function_type.test.w_compile_tf-aws.md | 3 +- ...ariadic_arguments.test.w_compile_tf-aws.md | 3 +- .../valid/hello.test.w_compile_tf-aws.md | 3 +- ...entical_inflights.test.w_compile_tf-aws.md | 3 +- .../impl_interface.test.w_compile_tf-aws.md | 3 +- .../implicit_std.test.w_compile_tf-aws.md | 3 +- ...n_scope_construct.test.w_compile_tf-aws.md | 3 +- .../valid/indexing.test.w_compile_tf-aws.md | 3 +- .../valid/inference.test.w_compile_tf-aws.md | 3 +- ...light-subscribers.test.w_compile_tf-aws.md | 3 +- ...ht_capture_static.test.w_compile_tf-aws.md | 3 +- ...as_struct_members.test.w_compile_tf-aws.md | 3 +- ...ass_capture_const.test.w_compile_tf-aws.md | 3 +- ..._preflight_object.test.w_compile_tf-aws.md | 3 +- ...class_definitions.test.w_compile_tf-aws.md | 3 +- ...r_capture_mutable.test.w_compile_tf-aws.md | 3 +- ..._inflight_closure.test.w_compile_tf-aws.md | 3 +- ...t_class_modifiers.test.w_compile_tf-aws.md | 3 +- ..._inflight_closure.test.w_compile_tf-aws.md | 3 +- ..._interace_handler.test.w_compile_tf-aws.md | 3 +- ...lass_without_init.test.w_compile_tf-aws.md | 3 +- ...re_as_super_param.test.w_compile_tf-aws.md | 3 +- ...ht_closure_autoid.test.w_compile_tf-aws.md | 3 +- ...preflight_closure.test.w_compile_tf-aws.md | 3 +- .../inflight_concat.test.w_compile_tf-aws.md | 3 +- ...handler_singleton.test.w_compile_tf-aws.md | 3 +- .../inflight_init.test.w_compile_tf-aws.md | 3 +- ...calling_inflights.test.w_compile_tf-aws.md | 3 +- ...erit_stdlib_class.test.w_compile_tf-aws.md | 3 +- ...ce_class_inflight.test.w_compile_tf-aws.md | 3 +- ...e_class_preflight.test.w_compile_tf-aws.md | 3 +- ...ritance_interface.test.w_compile_tf-aws.md | 3 +- .../valid/interface.test.w_compile_tf-aws.md | 3 +- .../valid/intrinsics.test.w_compile_tf-aws.md | 3 +- .../valid/issue_2889.test.w_compile_tf-aws.md | 3 +- .../valid/json.test.w_compile_tf-aws.md | 3 +- .../json_bucket.test.w_compile_tf-aws.md | 3 +- .../json_static.test.w_compile_tf-aws.md | 3 +- ...ing_interpolation.test.w_compile_tf-aws.md | 3 +- ...ft_expr_with_this.test.w_compile_tf-aws.md | 3 +- ...losure_collection.test.w_compile_tf-aws.md | 3 +- ..._object_issue6501.test.w_compile_tf-aws.md | 3 +- ...ift_parent_fields.test.w_compile_tf-aws.md | 3 +- ...lift_redefinition.test.w_compile_tf-aws.md | 3 +- ...t_shared_resource.test.w_compile_tf-aws.md | 3 +- .../valid/lift_this.test.w_compile_tf-aws.md | 3 +- .../lift_via_closure.test.w_compile_tf-aws.md | 3 +- ..._closure_explicit.test.w_compile_tf-aws.md | 3 +- .../lift_weird_order.test.w_compile_tf-aws.md | 3 +- ...ft_with_phase_ind.test.w_compile_tf-aws.md | 3 +- .../map_entries.test.w_compile_tf-aws.md | 3 +- ...t_container_types.test.w_compile_tf-aws.md | 3 +- ..._after_class_init.test.w_compile_tf-aws.md | 3 +- .../new_in_static.test.w_compile_tf-aws.md | 3 +- .../valid/new_jsii.test.w_compile_tf-aws.md | 3 +- .../valid/nil.test.w_compile_tf-aws.md | 3 +- .../valid/on_lift.test.w_compile_tf-aws.md | 3 +- .../valid/optionals.test.w_compile_tf-aws.md | 3 +- .../parameters.test.w_compile_tf-aws.md | 3 +- .../parameters.test.w_compile_tf-aws.md | 3 +- ..._method_on_string.test.w_compile_tf-aws.md | 3 +- ...primitive_methods.test.w_compile_tf-aws.md | 3 +- .../valid/print.test.w_compile_tf-aws.md | 3 +- .../reassignment.test.w_compile_tf-aws.md | 3 +- .../valid/redis.test.w_compile_tf-aws.md | 3 +- .../valid/resource.test.w_compile_tf-aws.md | 3 +- ..._inflight_literal.test.w_compile_tf-aws.md | 3 +- ...ource_call_static.test.w_compile_tf-aws.md | 3 +- ...resource_captures.test.w_compile_tf-aws.md | 3 +- ..._captures_globals.test.w_compile_tf-aws.md | 3 +- .../valid/service.test.w_compile_tf-aws.md | 3 +- .../valid/shadowing.test.w_compile_tf-aws.md | 3 +- .../sim_resource.test.w_compile_tf-aws.md | 3 +- .../statements_if.test.w_compile_tf-aws.md | 3 +- ...able_declarations.test.w_compile_tf-aws.md | 3 +- .../static_members.test.w_compile_tf-aws.md | 3 +- .../std_containers.test.w_compile_tf-aws.md | 3 +- .../valid/std_string.test.w_compile_tf-aws.md | 3 +- .../valid/stringify.test.w_compile_tf-aws.md | 3 +- .../struct_from_json.test.w_compile_tf-aws.md | 3 +- .../valid/structs.test.w_compile_tf-aws.md | 3 +- .../valid/super_call.test.w_compile_tf-aws.md | 3 +- .../symbol_shadow.test.w_compile_tf-aws.md | 3 +- .../valid/table.test.w_compile_tf-aws.md | 3 +- .../test_bucket.test.w_compile_tf-aws.md | 3 +- ...est_without_bring.test.w_compile_tf-aws.md | 3 +- .../valid/this.test.w_compile_tf-aws.md | 3 +- .../to_inflight.test.w_compile_tf-aws.md | 3 +- .../valid/try_catch.test.w_compile_tf-aws.md | 3 +- .../unused_lift.test.w_compile_tf-aws.md | 3 +- ...side_init_closure.test.w_compile_tf-aws.md | 3 +- .../website_with_api.test.w_compile_tf-aws.md | 3 +- .../valid/while.test.w_compile_tf-aws.md | 3 +- .../while_loop_await.test.w_compile_tf-aws.md | 3 +- tools/hangar/__snapshots__/tree_json.ts.snap | 80 +- tools/hangar/package.json | 16 +- tools/hangar/src/tree_json.test.ts | 4 +- tools/hangar/src/utils.ts | 2 + 375 files changed, 8772 insertions(+), 9863 deletions(-) rename patches/{jsii@5.3.11.patch => jsii@5.3.39.patch} (83%) diff --git a/apps/jsii-docgen/.projen/deps.json b/apps/jsii-docgen/.projen/deps.json index d6c94e81f49..f29ac59239f 100644 --- a/apps/jsii-docgen/.projen/deps.json +++ b/apps/jsii-docgen/.projen/deps.json @@ -59,7 +59,7 @@ }, { "name": "jsii", - "version": "~5.3.11", + "version": "~5.3.39", "type": "build" }, { diff --git a/apps/jsii-docgen/.projenrc.ts b/apps/jsii-docgen/.projenrc.ts index 4b9cd2c79ba..1ed4935f1e4 100644 --- a/apps/jsii-docgen/.projenrc.ts +++ b/apps/jsii-docgen/.projenrc.ts @@ -17,7 +17,7 @@ const project = new typescript.TypeScriptProject({ devDeps: [ "vitest", "tsx", - "jsii@~5.3.11", + "jsii@~5.3.39", "@types/fs-extra", "@types/semver", "@types/yargs@^16", diff --git a/apps/jsii-docgen/package.json b/apps/jsii-docgen/package.json index 4a477f16c6d..46780de2d51 100644 --- a/apps/jsii-docgen/package.json +++ b/apps/jsii-docgen/package.json @@ -31,32 +31,32 @@ "devDependencies": { "@types/fs-extra": "^9.0.13", "@types/node": "^20.11.0", - "@types/semver": "^7.5.1", + "@types/semver": "^7.5.8", "@types/yargs": "^16", "@typescript-eslint/eslint-plugin": "^5", "@typescript-eslint/parser": "^5", - "constructs": "^10.3", + "constructs": "^10.3.0", "eslint": "^8", "eslint-config-prettier": "^8.10.0", "eslint-import-resolver-node": "^0.3.9", - "eslint-import-resolver-typescript": "^3.6.0", - "eslint-plugin-import": "^2.28.1", + "eslint-import-resolver-typescript": "^3.6.1", + "eslint-plugin-import": "^2.29.1", "eslint-plugin-prettier": "^4.2.1", - "jsii": "~5.3.11", + "jsii": "~5.3.39", "prettier": "^2.8.8", "projen": "^0.71.163", - "tsx": "^4.7.0", + "tsx": "^4.15.7", "typescript": "~5.3.3", "vitest": "^1.6.0" }, "dependencies": { - "@jsii/spec": "^1.94.0", + "@jsii/spec": "^1.100.0", "case": "^1.6.3", "fs-extra": "^10.1.0", "glob": "^8.1.0", - "glob-promise": "^6.0.3", - "jsii-reflect": "^1.94.0", - "semver": "^7.5.4", + "glob-promise": "^6.0.7", + "jsii-reflect": "^1.100.0", + "semver": "^7.6.2", "yargs": "^16" }, "main": "lib/index.js", diff --git a/apps/jsii-docgen/test/__fixtures__/libraries/construct-library/package.json b/apps/jsii-docgen/test/__fixtures__/libraries/construct-library/package.json index f82a836e72a..646bacfca2a 100644 --- a/apps/jsii-docgen/test/__fixtures__/libraries/construct-library/package.json +++ b/apps/jsii-docgen/test/__fixtures__/libraries/construct-library/package.json @@ -40,11 +40,11 @@ "@aws-cdk/aws-s3": "1.204.0", "@aws-cdk/cloud-assembly-schema": "1.204.0", "@aws-cdk/core": "1.204.0", - "constructs": "3.4.344", "@types/node": "^20.11.0", "@types/prettier": "2.6.0", - "jsii": "~5.3.11", - "typescript": "^5.3.3" + "constructs": "3.4.344", + "jsii": "~5.3.39", + "typescript": "^5.5.2" }, "license": "Apache-2.0", "version": "0.0.0" diff --git a/apps/vscode-wing/package.json b/apps/vscode-wing/package.json index a54c41344e5..54671d0f417 100644 --- a/apps/vscode-wing/package.json +++ b/apps/vscode-wing/package.json @@ -29,30 +29,30 @@ "devDependencies": { "@trpc/client": "^10.45.2", "@types/node": "^20.11.0", - "@types/node-fetch": "^2.6.4", + "@types/node-fetch": "^2.6.11", "@types/vscode": "^1.70.0", - "@types/which": "^3.0.0", - "@types/ws": "^8.5.5", + "@types/which": "^3.0.4", + "@types/ws": "^8.5.10", "@typescript-eslint/eslint-plugin": "^5", "@typescript-eslint/parser": "^5", - "@vscode/vsce": "^2.21.0", + "@vscode/vsce": "^2.29.0", "eslint": "^8", "eslint-config-prettier": "^8.10.0", "eslint-import-resolver-node": "^0.3.9", - "eslint-import-resolver-typescript": "^3.6.0", - "eslint-plugin-import": "^2.28.1", + "eslint-import-resolver-typescript": "^3.6.1", + "eslint-plugin-import": "^2.29.1", "eslint-plugin-prettier": "^4.2.1", "node-fetch": "^2.6.7", "open": "^8.4.2", "prettier": "^2.8.8", "projen": "^0.71.163", - "tsup": "^8.0.2", - "tsx": "^4.7.0", - "typescript": "^5.3.3", + "tsup": "^8.1.0", + "tsx": "^4.15.7", + "typescript": "^5.5.2", "vscode-languageclient": "^8.1.0", "which": "^4.0.0", "winglang": "workspace:^", - "ws": "^8.13.0" + "ws": "^8.17.1" }, "keywords": [ "cdk", diff --git a/apps/wing-api-checker/package.json b/apps/wing-api-checker/package.json index c482999bf96..25b409800e9 100644 --- a/apps/wing-api-checker/package.json +++ b/apps/wing-api-checker/package.json @@ -32,26 +32,26 @@ }, "devDependencies": { "@types/node": "^20.11.0", - "@types/yargs": "^16.0.5", + "@types/yargs": "^16.0.9", "@typescript-eslint/eslint-plugin": "^5", "@typescript-eslint/parser": "^5", "eslint": "^8", "eslint-config-prettier": "^8.10.0", "eslint-import-resolver-node": "^0.3.9", - "eslint-import-resolver-typescript": "^3.6.0", - "eslint-plugin-import": "^2.28.1", + "eslint-import-resolver-typescript": "^3.6.1", + "eslint-plugin-import": "^2.29.1", "eslint-plugin-prettier": "^4.2.1", "prettier": "^2.8.8", "projen": "^0.71.163", "standard-version": "^9", - "tsx": "^4.7.0", - "typescript": "^5.3.3" + "tsx": "^4.15.7", + "typescript": "^5.5.2" }, "dependencies": { "chalk": "^4.1.2", - "chokidar": "^3.5.3", - "glob-promise": "^6.0.3", - "jsii-reflect": "^1.94.0", + "chokidar": "^3.6.0", + "glob-promise": "^6.0.7", + "jsii-reflect": "^1.100.0", "yargs": "^17.7.2" }, "main": "lib/index.js", diff --git a/apps/wing-console/console/app/package.json b/apps/wing-console/console/app/package.json index 4ffde93d2f5..e44008fdebe 100644 --- a/apps/wing-console/console/app/package.json +++ b/apps/wing-console/console/app/package.json @@ -19,38 +19,38 @@ "package": "bump-pack -b" }, "dependencies": { - "@segment/analytics-node": "^1.1.0", + "@segment/analytics-node": "^1.3.0", "@wingconsole/server": "workspace:^", "cross-spawn": "^7.0.3", "express": "^4.19.2", "open": "^8.4.2", - "picocolors": "^1.0.0" + "picocolors": "^1.0.1" }, "devDependencies": { - "@ibm/plex": "^6.3.0", - "@playwright/test": "^1.37.1", + "@ibm/plex": "^6.4.1", + "@playwright/test": "^1.44.1", "@tailwindcss/forms": "^0.5.7", "@types/cross-spawn": "^6.0.6", - "@types/express": "^4.17.17", - "@types/react": "^18.2.21", - "@types/react-dom": "^18.2.7", - "@vitejs/plugin-react": "^4.2.1", + "@types/express": "^4.17.21", + "@types/react": "^18.3.3", + "@types/react-dom": "^18.3.0", + "@vitejs/plugin-react": "^4.3.1", "@vitest/coverage-v8": "^1.6.0", "@wingconsole/eslint-plugin": "workspace:^", "@wingconsole/tsconfig": "workspace:^", "@wingconsole/ui": "workspace:^", - "autoprefixer": "^10.4.15", + "autoprefixer": "^10.4.19", "bump-pack": "workspace:^", - "dotenv": "^16.3.1", - "eslint": "^8.48.0", + "dotenv": "^16.4.5", + "eslint": "^8.57.0", "nanoid": "^4.0.2", - "react": "^18.2.0", - "react-dom": "^18.2.0", - "tailwindcss": "^3.4.3", - "tsup": "^8.0.2", - "tsx": "^4.7.0", - "typescript": "^5.2.2", - "vite": "^4.5.2" + "react": "^18.3.1", + "react-dom": "^18.3.1", + "tailwindcss": "^3.4.4", + "tsup": "^8.1.0", + "tsx": "^4.15.7", + "typescript": "^5.5.2", + "vite": "^4.5.3" }, "volta": { "extends": "../../../../package.json" diff --git a/apps/wing-console/console/design-system/package.json b/apps/wing-console/console/design-system/package.json index c08958d447a..82018417c4d 100644 --- a/apps/wing-console/console/design-system/package.json +++ b/apps/wing-console/console/design-system/package.json @@ -28,38 +28,38 @@ "package": "bump-pack -b" }, "dependencies": { - "@headlessui/react": "^1.7.17", - "@heroicons/react": "^2.0.18", + "@headlessui/react": "^1.7.19", + "@heroicons/react": "^2.1.4", "@popperjs/core": "^2.11.8", "@tailwindcss/forms": "^0.5.7", - "@tailwindcss/typography": "^0.5.12", + "@tailwindcss/typography": "^0.5.13", "classnames": "^2.5.1", "lodash.uniq": "^4.5.0", "nanoid": "^4.0.2", - "react": "^18.2.0", - "react-dom": "^18.2.0", + "react": "^18.3.1", + "react-dom": "^18.3.1", "react-popper": "^2.3.0", - "tailwindcss": "^3.4.3" + "tailwindcss": "^3.4.4" }, "devDependencies": { - "@babel/core": "^7.23.9", - "@storybook/react": "^7.4.0", - "@testing-library/react": "^14.0.0", - "@types/lodash.uniq": "^4.5.7", - "@types/react": "^18.2.21", - "@types/react-dom": "^18.2.7", - "@vitejs/plugin-react": "^4.2.1", + "@babel/core": "^7.24.7", + "@storybook/react": "^7.6.19", + "@testing-library/react": "^14.3.1", + "@types/lodash.uniq": "^4.5.9", + "@types/react": "^18.3.3", + "@types/react-dom": "^18.3.0", + "@vitejs/plugin-react": "^4.3.1", "@vitest/coverage-v8": "^1.6.0", "@wingconsole/eslint-plugin": "workspace:^", "@wingconsole/tsconfig": "workspace:^", "bump-pack": "workspace:^", - "eslint": "^8.48.0", + "eslint": "^8.57.0", "happy-dom": "^9.20.3", - "tsup": "^8.0.2", - "typescript": "^5.2.2", - "vite": "^4.5.2", + "tsup": "^8.1.0", + "typescript": "^5.5.2", + "vite": "^4.5.3", "vitest": "^1.6.0", - "webpack": "^5.88.2" + "webpack": "^5.92.1" }, "volta": { "extends": "../../../../package.json" diff --git a/apps/wing-console/console/server/package.json b/apps/wing-console/console/server/package.json index d716f8dd72e..97b4e62ade9 100644 --- a/apps/wing-console/console/server/package.json +++ b/apps/wing-console/console/server/package.json @@ -21,39 +21,39 @@ "@winglang/compiler": "workspace:^", "@winglang/sdk": "workspace:^", "codespan-wasm": "^0.4.0", - "debug": "^4.3.4", - "launch-editor": "^2.6.0", + "debug": "^4.3.5", + "launch-editor": "^2.8.0", "ms": "^2.1.3" }, "devDependencies": { "@trpc/server": "^10.45.2", - "@types/cors": "^2.8.13", - "@types/express": "^4.17.17", - "@types/lodash.uniqby": "^4.7.7", - "@types/ws": "^8.5.5", + "@types/cors": "^2.8.17", + "@types/express": "^4.17.21", + "@types/lodash.uniqby": "^4.7.9", + "@types/ws": "^8.5.10", "@vitest/coverage-v8": "^1.6.0", "@wingconsole/error-message": "workspace:^", "@wingconsole/eslint-plugin": "workspace:^", "@wingconsole/tsconfig": "workspace:^", "bump-pack": "workspace:^", - "chokidar": "^3.5.3", - "constructs": "^10.3", + "chokidar": "^3.6.0", + "constructs": "^10.3.0", "cors": "^2.8.5", - "emittery": "^1.0.1", + "emittery": "^1.0.3", "env-paths": "^3.0.0", - "esbuild-plugin-raw": "^0.1.7", - "eslint": "^8.48.0", + "esbuild-plugin-raw": "^0.1.8", + "eslint": "^8.57.0", "express": "^4.19.2", "get-port": "^6.1.2", "lodash.uniqby": "^4.7.0", "nanoid": "^4.0.2", "node-fetch": "^3.3.2", - "redis": "^4.6.8", - "tsup": "^8.0.2", - "typescript": "^5.2.2", + "redis": "^4.6.14", + "tsup": "^8.1.0", + "typescript": "^5.5.2", "vitest": "^1.6.0", - "ws": "^8.13.0", - "zod": "^3.22.2" + "ws": "^8.17.1", + "zod": "^3.23.8" }, "volta": { "extends": "../../../../package.json" diff --git a/apps/wing-console/console/ui/package.json b/apps/wing-console/console/ui/package.json index e895f67dd32..db0a3a42404 100644 --- a/apps/wing-console/console/ui/package.json +++ b/apps/wing-console/console/ui/package.json @@ -29,47 +29,47 @@ "package": "bump-pack -b" }, "dependencies": { - "@headlessui/react": "^1.7.17", - "@heroicons/react": "^2.0.18", + "@headlessui/react": "^1.7.19", + "@heroicons/react": "^2.1.4", "@popperjs/core": "^2.11.8", - "@tanstack/react-query": "^4.33.0", + "@tanstack/react-query": "^4.36.1", "@trpc/client": "^10.45.2", "@trpc/react-query": "^10.45.2", "@trpc/server": "^10.45.2", "@wingconsole/design-system": "workspace:^", "classnames": "^2.5.1", "elkjs": "^0.8.2", - "framer-motion": "^10.16.2", + "framer-motion": "^10.18.0", "jszip": "^3.10.1", - "linkify-react": "^4.1.1", - "linkifyjs": "^4.1.1", + "linkify-react": "^4.1.3", + "linkifyjs": "^4.1.3", "lodash.debounce": "^4.0.8", "lodash.throttle": "^4.1.1", "lodash.uniqby": "^4.7.0", "nanoid": "^4.0.2", - "react-dom": "^18.2.0", + "react-dom": "^18.3.1", "react-markdown": "^9.0.1", - "react-use": "^17.4.2", - "zod": "^3.22.2" + "react-use": "^17.5.0", + "zod": "^3.23.8" }, "devDependencies": { - "@babel/core": "^7.23.9", - "@storybook/addon-essentials": "^7.4.0", - "@storybook/addon-interactions": "^7.4.0", - "@storybook/addon-links": "^7.4.0", - "@storybook/blocks": "^7.4.0", - "@storybook/react": "^7.4.0", - "@storybook/react-vite": "^7.4.0", + "@babel/core": "^7.24.7", + "@storybook/addon-essentials": "^7.6.19", + "@storybook/addon-interactions": "^7.6.19", + "@storybook/addon-links": "^7.6.19", + "@storybook/blocks": "^7.6.19", + "@storybook/react": "^7.6.19", + "@storybook/react-vite": "^7.6.19", "@storybook/testing-library": "^0.1.0", - "@types/cors": "^2.8.13", - "@types/d3-selection": "^3.0.6", - "@types/d3-zoom": "^3.0.4", - "@types/lodash.debounce": "^4.0.7", - "@types/lodash.throttle": "^4.1.7", - "@types/lodash.uniqby": "^4.7.7", - "@types/react": "^18.2.21", - "@types/react-dom": "^18.2.7", - "@vitejs/plugin-react-swc": "^3.6.0", + "@types/cors": "^2.8.17", + "@types/d3-selection": "^3.0.10", + "@types/d3-zoom": "^3.0.8", + "@types/lodash.debounce": "^4.0.9", + "@types/lodash.throttle": "^4.1.9", + "@types/lodash.uniqby": "^4.7.9", + "@types/react": "^18.3.3", + "@types/react-dom": "^18.3.0", + "@vitejs/plugin-react-swc": "^3.7.0", "@wingconsole/design-system": "workspace:^", "@wingconsole/eslint-plugin": "workspace:^", "@wingconsole/server": "workspace:^", @@ -77,17 +77,17 @@ "@wingconsole/use-loading": "workspace:^", "@wingconsole/use-persistent-state": "workspace:^", "@winglang/sdk": "workspace:^", - "autoprefixer": "^10.4.15", + "autoprefixer": "^10.4.19", "bump-pack": "workspace:^", - "eslint": "^8.48.0", - "react": "^18.2.0", - "storybook": "^7.4.0", - "tailwindcss": "^3.4.3", - "tsup": "^8.0.2", - "typescript": "^5.2.2", - "vite": "^4.5.2", + "eslint": "^8.57.0", + "react": "^18.3.1", + "storybook": "^7.6.19", + "tailwindcss": "^3.4.4", + "tsup": "^8.1.0", + "typescript": "^5.5.2", + "vite": "^4.5.3", "vitest": "^1.6.0", - "webpack": "^5.88.2" + "webpack": "^5.92.1" }, "volta": { "extends": "../../../../package.json" diff --git a/apps/wing-console/packages/error-message/package.json b/apps/wing-console/packages/error-message/package.json index 21afa19781c..26746901350 100644 --- a/apps/wing-console/packages/error-message/package.json +++ b/apps/wing-console/packages/error-message/package.json @@ -16,7 +16,7 @@ "devDependencies": { "@wingconsole/eslint-plugin": "workspace:^", "@wingconsole/tsconfig": "workspace:^", - "typescript": "^5.2.2" + "typescript": "^5.5.2" }, "volta": { "extends": "../../../../package.json" diff --git a/apps/wing-console/packages/use-loading/package.json b/apps/wing-console/packages/use-loading/package.json index 4d3af354bce..79b58f17e9e 100644 --- a/apps/wing-console/packages/use-loading/package.json +++ b/apps/wing-console/packages/use-loading/package.json @@ -14,10 +14,10 @@ "eslint": "eslint --ext .js,.cjs,.ts,.cts,.mts,.tsx --no-error-on-unmatched-pattern . --fix" }, "devDependencies": { - "@types/react": "^18.2.21", + "@types/react": "^18.3.3", "@wingconsole/eslint-plugin": "workspace:^", "@wingconsole/tsconfig": "workspace:^", - "typescript": "^5.2.2" + "typescript": "^5.5.2" }, "volta": { "extends": "../../../../package.json" diff --git a/apps/wing-console/packages/use-persistent-state/package.json b/apps/wing-console/packages/use-persistent-state/package.json index ac8981ae15d..03e8a7bead5 100644 --- a/apps/wing-console/packages/use-persistent-state/package.json +++ b/apps/wing-console/packages/use-persistent-state/package.json @@ -14,10 +14,10 @@ "eslint": "eslint --ext .js,.cjs,.ts,.cts,.mts,.tsx --no-error-on-unmatched-pattern . --fix" }, "devDependencies": { - "@types/react": "^18.2.12", + "@types/react": "^18.3.3", "@wingconsole/eslint-plugin": "workspace:^", "@wingconsole/tsconfig": "workspace:^", - "typescript": "^5.1.3" + "typescript": "^5.5.2" }, "volta": { "extends": "../../../../package.json" diff --git a/apps/wing-console/tools/eslint-plugin/package.json b/apps/wing-console/tools/eslint-plugin/package.json index 014e9026341..08e89f10b6b 100644 --- a/apps/wing-console/tools/eslint-plugin/package.json +++ b/apps/wing-console/tools/eslint-plugin/package.json @@ -16,12 +16,12 @@ "@typescript-eslint/parser": "^5.62.0", "eslint-config-prettier": "^8.10.0", "eslint-import-resolver-node": "^0.3.9", - "eslint-import-resolver-typescript": "^3.6.0", - "eslint-plugin-import": "^2.28.1", - "eslint-plugin-jsx-a11y": "^6.7.1", + "eslint-import-resolver-typescript": "^3.6.1", + "eslint-plugin-import": "^2.29.1", + "eslint-plugin-jsx-a11y": "^6.9.0", "eslint-plugin-prettier": "^4.2.1", - "eslint-plugin-react": "^7.33.2", - "eslint-plugin-react-hooks": "^4.6.0", + "eslint-plugin-react": "^7.34.3", + "eslint-plugin-react-hooks": "^4.6.2", "eslint-plugin-unicorn": "^47.0.0" }, "peerDependencies": { @@ -30,9 +30,9 @@ "typescript": "^4.9.4" }, "devDependencies": { - "eslint": "^8.48.0", + "eslint": "^8.57.0", "prettier": "^2.8.8", - "typescript": "^5.2.2" + "typescript": "^5.5.2" }, "volta": { "extends": "../../../../package.json" diff --git a/apps/wing-console/tools/tsconfig/package.json b/apps/wing-console/tools/tsconfig/package.json index fd4cba9e831..3b2af5db939 100644 --- a/apps/wing-console/tools/tsconfig/package.json +++ b/apps/wing-console/tools/tsconfig/package.json @@ -11,7 +11,7 @@ "typescript": "^4.9.4" }, "devDependencies": { - "typescript": "^5.2.2" + "typescript": "^5.5.2" }, "volta": { "extends": "../../../../package.json" diff --git a/apps/wing/package.json b/apps/wing/package.json index c253d0329a6..556a07ea242 100644 --- a/apps/wing/package.json +++ b/apps/wing/package.json @@ -32,8 +32,8 @@ "package": "bump-pack -b" }, "dependencies": { - "@npmcli/arborist": "^7.2.0", - "@segment/analytics-node": "^1.1.0", + "@npmcli/arborist": "^7.5.3", + "@segment/analytics-node": "^1.3.0", "@supercharge/promise-pool": "^3.2.0", "@wingconsole/app": "workspace:^", "@wingconsole/server": "workspace:^", @@ -43,42 +43,42 @@ "codespan-wasm": "0.4.0", "commander": "^10.0.1", "compare-versions": "^5.0.3", - "debug": "^4.3.4", - "dotenv": "^16.3.1", + "debug": "^4.3.5", + "dotenv": "^16.4.5", "dotenv-expand": "^10.0.0", - "glob": "^10.3.10", - "inquirer": "^8", + "glob": "^10.4.2", + "inquirer": "^8.2.6", "lodash.once": "^4.1.1", - "nanoid": "^3.3.6", - "npm-packlist": "^8.0.0", + "nanoid": "^3.3.7", + "npm-packlist": "^8.0.2", "open": "^8.4.2", "ora": "^5.4.1", - "tar": "^6.2.0", - "tiny-updater": "^3.5.1", + "tar": "^6.2.1", + "tiny-updater": "^3.5.2", "uuid": "^8.3.2", "vscode-languageserver": "^8.1.0" }, "devDependencies": { - "@types/debug": "^4.1.8", + "@types/debug": "^4.1.12", "@types/inquirer": "^9.0.7", "@types/lodash.once": "^4.1.9", "@types/node": "^20.11.0", - "@types/node-persist": "^3.1.4", - "@types/npm-packlist": "^7.0.1", - "@types/npmcli__arborist": "^5.6.2", - "@types/semver-utils": "^1.1.1", - "@types/tar": "^6.1.6", + "@types/node-persist": "^3.1.8", + "@types/npm-packlist": "^7.0.3", + "@types/npmcli__arborist": "^5.6.9", + "@types/semver-utils": "^1.1.3", + "@types/tar": "^6.1.13", "@types/uuid": "^8.3.4", - "@typescript-eslint/eslint-plugin": "^6.7.4", - "@typescript-eslint/parser": "^6.7.4", + "@typescript-eslint/eslint-plugin": "^6.21.0", + "@typescript-eslint/parser": "^6.21.0", "bump-pack": "workspace:^", - "eslint": "^8.50.0", + "eslint": "^8.57.0", "eslint-config-prettier": "^8.10.0", "eslint-import-resolver-node": "^0.3.9", - "eslint-import-resolver-typescript": "^3.6.0", - "eslint-plugin-import": "^2.28.1", + "eslint-import-resolver-typescript": "^3.6.1", + "eslint-plugin-import": "^2.29.1", "eslint-plugin-prettier": "^4.2.1", - "typescript": "^5.3.3", + "typescript": "^5.5.2", "vitest": "^1.6.0" }, "volta": { diff --git a/apps/wing/src/commands/test/fixtures/main.w.tf-aws.snap.md b/apps/wing/src/commands/test/fixtures/main.w.tf-aws.snap.md index 2e5ede67ab4..429b04fe663 100644 --- a/apps/wing/src/commands/test/fixtures/main.w.tf-aws.snap.md +++ b/apps/wing/src/commands/test/fixtures/main.w.tf-aws.snap.md @@ -8,7 +8,7 @@ "metadata": { "backend": "local", "stackName": "root", - "version": "0.20.3" + "version": "0.20.7" }, "outputs": { } diff --git a/docs/package.json b/docs/package.json index 6a0f5406386..9dae5139dcb 100644 --- a/docs/package.json +++ b/docs/package.json @@ -10,8 +10,8 @@ "compile": "tsx src/generate_examples_files.ts" }, "devDependencies": { - "@types/node": "^20.14.0", - "tsx": "^4.11.2", - "typescript": "^5.4.5" + "@types/node": "^20.11.0", + "tsx": "^4.15.7", + "typescript": "^5.5.2" } } diff --git a/examples/jsii-fixture/package.json b/examples/jsii-fixture/package.json index 82258a88cec..50e1e9f2993 100644 --- a/examples/jsii-fixture/package.json +++ b/examples/jsii-fixture/package.json @@ -30,7 +30,7 @@ "private": true, "homepage": "https://github.com/winglang/wing", "devDependencies": { - "jsii": "~5.3.11" + "jsii": "~5.3.39" }, "volta": { "extends": "../../package.json" diff --git a/examples/tests/invalid/package.json b/examples/tests/invalid/package.json index b5877f9cfc8..1816c1ceec4 100644 --- a/examples/tests/invalid/package.json +++ b/examples/tests/invalid/package.json @@ -1,8 +1,8 @@ { "name": "examples-invalid", "dependencies": { - "cdktf": "0.20.3", - "constructs": "^10.3", + "cdktf": "0.20.7", + "constructs": "^10.3.0", "jsii-code-samples": "1.7.0", "jsii-fixture": "workspace:^" }, diff --git a/examples/tests/sdk_tests/package.json b/examples/tests/sdk_tests/package.json index 94f1180f0c4..88962302d61 100644 --- a/examples/tests/sdk_tests/package.json +++ b/examples/tests/sdk_tests/package.json @@ -1,8 +1,8 @@ { "name": "examples-sdk", "dependencies": { - "uuid": "^9.0.0", - "nanoid": "^3.3.6" + "nanoid": "^3.3.7", + "uuid": "^9.0.1" }, "volta": { "extends": "../../../package.json" diff --git a/examples/tests/valid/package.json b/examples/tests/valid/package.json index 6ca50358cba..911dfec898a 100644 --- a/examples/tests/valid/package.json +++ b/examples/tests/valid/package.json @@ -3,19 +3,19 @@ "dependencies": { "@aws-cdk/asset-awscli-v1": "^2.2.202", "@aws-cdk/asset-kubectl-v20": "^2.1.2", - "@aws-cdk/asset-node-proxy-agent-v6": "^2.0.1", - "@aws-sdk/client-dynamodb": "^3.503.1", - "@cdktf/provider-aws": "^19", - "aws-cdk-lib": "^2.124.0", - "cdk8s": "^2.68.43", - "cdk8s-plus-27": "^2.7.81", - "cdktf": "0.20.3", - "constructs": "^10.3", + "@aws-cdk/asset-node-proxy-agent-v6": "^2.0.3", + "@aws-sdk/client-dynamodb": "^3.602.0", + "@cdktf/provider-aws": "^19.23.0", + "@winglibs/testfixture": "workspace:^", + "aws-cdk-lib": "^2.147.0", + "cdk8s": "^2.68.81", + "cdk8s-plus-27": "^2.9.5", + "cdktf": "0.20.7", + "constructs": "^10.3.0", "jsii-code-samples": "1.7.0", + "jsii-fixture": "workspace:^", "projen": "^0.71.163", - "uuid": "^9.0.0", - "@winglibs/testfixture": "workspace:^", - "jsii-fixture": "workspace:^" + "uuid": "^9.0.1" }, "volta": { "extends": "../../../package.json" diff --git a/examples/ts-fixture/package.json b/examples/ts-fixture/package.json index 6eb487d9095..1713e779351 100644 --- a/examples/ts-fixture/package.json +++ b/examples/ts-fixture/package.json @@ -10,7 +10,7 @@ "@winglibs/testfixture": "workspace:^" }, "devDependencies": { - "@types/node": "^20", + "@types/node": "^20.11.0", "winglang": "workspace:^" }, "volta": { diff --git a/libs/@wingcloud/framework/package.json b/libs/@wingcloud/framework/package.json index ebebb45033d..68ac0a88e5b 100644 --- a/libs/@wingcloud/framework/package.json +++ b/libs/@wingcloud/framework/package.json @@ -32,7 +32,7 @@ "@types/node": "^20.11.0", "@winglang/sdk": "workspace:^", "bump-pack": "workspace:^", - "tsup": "^8.0.2", + "tsup": "^8.1.0", "vitest": "^1.6.0" }, "files": [ diff --git a/libs/awscdk/package.json b/libs/awscdk/package.json index 82d50aafdb4..f385f3844db 100644 --- a/libs/awscdk/package.json +++ b/libs/awscdk/package.json @@ -20,15 +20,15 @@ "main": "index.js", "license": "MIT", "dependencies": { - "aws-cdk-lib": "^2.124.0", - "constructs": "^10.3", - "safe-stable-stringify": "^2.4.3", - "@winglang/sdk": "workspace:^" + "@winglang/sdk": "workspace:^", + "aws-cdk-lib": "^2.147.0", + "constructs": "^10.3.0", + "safe-stable-stringify": "^2.4.3" }, "devDependencies": { "bump-pack": "workspace:^", - "typescript": "^5.3.3", - "tsup": "^8.0.2", + "tsup": "^8.1.0", + "typescript": "^5.5.2", "vitest": "^1.6.0" }, "scripts": { diff --git a/libs/awscdk/test/__snapshots__/bucket.test.ts.snap b/libs/awscdk/test/__snapshots__/bucket.test.ts.snap index 71ef09fa5ab..fe3ad839e4a 100644 --- a/libs/awscdk/test/__snapshots__/bucket.test.ts.snap +++ b/libs/awscdk/test/__snapshots__/bucket.test.ts.snap @@ -162,6 +162,8 @@ def handle_unmanaged(bucket, stack_id, request_type, notification_configuration, ids = [with_id(n) for n in old.get(t, [])] old_incoming_ids = [n['Id'] for n in ids] external_notifications[t] = [n for n in existing_notifications.get(t, []) if not n['Id'] in old_incoming_ids] + elif request_type == 'Delete': + external_notifications[t] = [n for n in existing_notifications.get(t, []) if not n['Id'].startswith(f"{stack_id}-")] elif request_type == 'Create': external_notifications[t] = [n for n in existing_notifications.get(t, [])] if EVENTBRIDGE_CONFIGURATION in existing_notifications: @@ -213,7 +215,7 @@ def submit_response(event: dict, context, response_status: str, error_message: s "Arn", ], }, - "Runtime": "python3.9", + "Runtime": "python3.11", "Timeout": 300, }, "Type": "AWS::Lambda::Function", @@ -519,6 +521,8 @@ def handle_unmanaged(bucket, stack_id, request_type, notification_configuration, ids = [with_id(n) for n in old.get(t, [])] old_incoming_ids = [n['Id'] for n in ids] external_notifications[t] = [n for n in existing_notifications.get(t, []) if not n['Id'] in old_incoming_ids] + elif request_type == 'Delete': + external_notifications[t] = [n for n in existing_notifications.get(t, []) if not n['Id'].startswith(f"{stack_id}-")] elif request_type == 'Create': external_notifications[t] = [n for n in existing_notifications.get(t, [])] if EVENTBRIDGE_CONFIGURATION in existing_notifications: @@ -570,7 +574,7 @@ def submit_response(event: dict, context, response_status: str, error_message: s "Arn", ], }, - "Runtime": "python3.9", + "Runtime": "python3.11", "Timeout": 300, }, "Type": "AWS::Lambda::Function", @@ -876,6 +880,8 @@ def handle_unmanaged(bucket, stack_id, request_type, notification_configuration, ids = [with_id(n) for n in old.get(t, [])] old_incoming_ids = [n['Id'] for n in ids] external_notifications[t] = [n for n in existing_notifications.get(t, []) if not n['Id'] in old_incoming_ids] + elif request_type == 'Delete': + external_notifications[t] = [n for n in existing_notifications.get(t, []) if not n['Id'].startswith(f"{stack_id}-")] elif request_type == 'Create': external_notifications[t] = [n for n in existing_notifications.get(t, [])] if EVENTBRIDGE_CONFIGURATION in existing_notifications: @@ -927,7 +933,7 @@ def submit_response(event: dict, context, response_status: str, error_message: s "Arn", ], }, - "Runtime": "python3.9", + "Runtime": "python3.11", "Timeout": 300, }, "Type": "AWS::Lambda::Function", @@ -1453,6 +1459,8 @@ def handle_unmanaged(bucket, stack_id, request_type, notification_configuration, ids = [with_id(n) for n in old.get(t, [])] old_incoming_ids = [n['Id'] for n in ids] external_notifications[t] = [n for n in existing_notifications.get(t, []) if not n['Id'] in old_incoming_ids] + elif request_type == 'Delete': + external_notifications[t] = [n for n in existing_notifications.get(t, []) if not n['Id'].startswith(f"{stack_id}-")] elif request_type == 'Create': external_notifications[t] = [n for n in existing_notifications.get(t, [])] if EVENTBRIDGE_CONFIGURATION in existing_notifications: @@ -1504,7 +1512,7 @@ def submit_response(event: dict, context, response_status: str, error_message: s "Arn", ], }, - "Runtime": "python3.9", + "Runtime": "python3.11", "Timeout": 300, }, "Type": "AWS::Lambda::Function", @@ -1765,7 +1773,7 @@ exports[`bucket with two preflight files 1`] = ` "S3Bucket": { "Fn::Sub": "cdk-hnb659fds-assets-\${AWS::AccountId}-\${AWS::Region}", }, - "S3Key": "e976a796f036a5efbf44b99e44cfb5a961df08d8dbf7cd37e60bf216fb982a00.zip", + "S3Key": "2d56e153cac88d3e0c2f842e8e6f6783b8725bf91f95e0673b4725448a56e96d.zip", }, "Environment": { "Variables": { diff --git a/libs/awscdk/test/__snapshots__/on-deploy.test.ts.snap b/libs/awscdk/test/__snapshots__/on-deploy.test.ts.snap index fc744c95b3f..5e42c70b0e0 100644 --- a/libs/awscdk/test/__snapshots__/on-deploy.test.ts.snap +++ b/libs/awscdk/test/__snapshots__/on-deploy.test.ts.snap @@ -2,6 +2,115 @@ exports[`create an OnDeploy 1`] = ` { + "Mappings": { + "LatestNodeRuntimeMap": { + "af-south-1": { + "value": "nodejs20.x", + }, + "ap-east-1": { + "value": "nodejs20.x", + }, + "ap-northeast-1": { + "value": "nodejs20.x", + }, + "ap-northeast-2": { + "value": "nodejs20.x", + }, + "ap-northeast-3": { + "value": "nodejs20.x", + }, + "ap-south-1": { + "value": "nodejs20.x", + }, + "ap-south-2": { + "value": "nodejs20.x", + }, + "ap-southeast-1": { + "value": "nodejs20.x", + }, + "ap-southeast-2": { + "value": "nodejs20.x", + }, + "ap-southeast-3": { + "value": "nodejs20.x", + }, + "ap-southeast-4": { + "value": "nodejs20.x", + }, + "ca-central-1": { + "value": "nodejs20.x", + }, + "cn-north-1": { + "value": "nodejs18.x", + }, + "cn-northwest-1": { + "value": "nodejs18.x", + }, + "eu-central-1": { + "value": "nodejs20.x", + }, + "eu-central-2": { + "value": "nodejs20.x", + }, + "eu-north-1": { + "value": "nodejs20.x", + }, + "eu-south-1": { + "value": "nodejs20.x", + }, + "eu-south-2": { + "value": "nodejs20.x", + }, + "eu-west-1": { + "value": "nodejs20.x", + }, + "eu-west-2": { + "value": "nodejs20.x", + }, + "eu-west-3": { + "value": "nodejs20.x", + }, + "il-central-1": { + "value": "nodejs20.x", + }, + "me-central-1": { + "value": "nodejs20.x", + }, + "me-south-1": { + "value": "nodejs20.x", + }, + "sa-east-1": { + "value": "nodejs20.x", + }, + "us-east-1": { + "value": "nodejs20.x", + }, + "us-east-2": { + "value": "nodejs20.x", + }, + "us-gov-east-1": { + "value": "nodejs18.x", + }, + "us-gov-west-1": { + "value": "nodejs18.x", + }, + "us-iso-east-1": { + "value": "nodejs18.x", + }, + "us-iso-west-1": { + "value": "nodejs18.x", + }, + "us-isob-east-1": { + "value": "nodejs18.x", + }, + "us-west-1": { + "value": "nodejs20.x", + }, + "us-west-2": { + "value": "nodejs20.x", + }, + }, + }, "Parameters": { "BootstrapVersion": { "Default": "/cdk-bootstrap/hnb659fds/version", @@ -29,7 +138,15 @@ exports[`create an OnDeploy 1`] = ` "Arn", ], }, - "Runtime": "nodejs18.x", + "Runtime": { + "Fn::FindInMap": [ + "LatestNodeRuntimeMap", + { + "Ref": "AWS::Region", + }, + "value", + ], + }, "Timeout": 900, }, "Type": "AWS::Lambda::Function", @@ -224,6 +341,115 @@ exports[`create an OnDeploy 1`] = ` exports[`execute OnDeploy after other resources 1`] = ` { + "Mappings": { + "LatestNodeRuntimeMap": { + "af-south-1": { + "value": "nodejs20.x", + }, + "ap-east-1": { + "value": "nodejs20.x", + }, + "ap-northeast-1": { + "value": "nodejs20.x", + }, + "ap-northeast-2": { + "value": "nodejs20.x", + }, + "ap-northeast-3": { + "value": "nodejs20.x", + }, + "ap-south-1": { + "value": "nodejs20.x", + }, + "ap-south-2": { + "value": "nodejs20.x", + }, + "ap-southeast-1": { + "value": "nodejs20.x", + }, + "ap-southeast-2": { + "value": "nodejs20.x", + }, + "ap-southeast-3": { + "value": "nodejs20.x", + }, + "ap-southeast-4": { + "value": "nodejs20.x", + }, + "ca-central-1": { + "value": "nodejs20.x", + }, + "cn-north-1": { + "value": "nodejs18.x", + }, + "cn-northwest-1": { + "value": "nodejs18.x", + }, + "eu-central-1": { + "value": "nodejs20.x", + }, + "eu-central-2": { + "value": "nodejs20.x", + }, + "eu-north-1": { + "value": "nodejs20.x", + }, + "eu-south-1": { + "value": "nodejs20.x", + }, + "eu-south-2": { + "value": "nodejs20.x", + }, + "eu-west-1": { + "value": "nodejs20.x", + }, + "eu-west-2": { + "value": "nodejs20.x", + }, + "eu-west-3": { + "value": "nodejs20.x", + }, + "il-central-1": { + "value": "nodejs20.x", + }, + "me-central-1": { + "value": "nodejs20.x", + }, + "me-south-1": { + "value": "nodejs20.x", + }, + "sa-east-1": { + "value": "nodejs20.x", + }, + "us-east-1": { + "value": "nodejs20.x", + }, + "us-east-2": { + "value": "nodejs20.x", + }, + "us-gov-east-1": { + "value": "nodejs18.x", + }, + "us-gov-west-1": { + "value": "nodejs18.x", + }, + "us-iso-east-1": { + "value": "nodejs18.x", + }, + "us-iso-west-1": { + "value": "nodejs18.x", + }, + "us-isob-east-1": { + "value": "nodejs18.x", + }, + "us-west-1": { + "value": "nodejs20.x", + }, + "us-west-2": { + "value": "nodejs20.x", + }, + }, + }, "Parameters": { "BootstrapVersion": { "Default": "/cdk-bootstrap/hnb659fds/version", @@ -251,7 +477,15 @@ exports[`execute OnDeploy after other resources 1`] = ` "Arn", ], }, - "Runtime": "nodejs18.x", + "Runtime": { + "Fn::FindInMap": [ + "LatestNodeRuntimeMap", + { + "Ref": "AWS::Region", + }, + "value", + ], + }, "Timeout": 900, }, "Type": "AWS::Lambda::Function", @@ -471,6 +705,115 @@ exports[`execute OnDeploy after other resources 1`] = ` exports[`execute OnDeploy before other resources 1`] = ` { + "Mappings": { + "LatestNodeRuntimeMap": { + "af-south-1": { + "value": "nodejs20.x", + }, + "ap-east-1": { + "value": "nodejs20.x", + }, + "ap-northeast-1": { + "value": "nodejs20.x", + }, + "ap-northeast-2": { + "value": "nodejs20.x", + }, + "ap-northeast-3": { + "value": "nodejs20.x", + }, + "ap-south-1": { + "value": "nodejs20.x", + }, + "ap-south-2": { + "value": "nodejs20.x", + }, + "ap-southeast-1": { + "value": "nodejs20.x", + }, + "ap-southeast-2": { + "value": "nodejs20.x", + }, + "ap-southeast-3": { + "value": "nodejs20.x", + }, + "ap-southeast-4": { + "value": "nodejs20.x", + }, + "ca-central-1": { + "value": "nodejs20.x", + }, + "cn-north-1": { + "value": "nodejs18.x", + }, + "cn-northwest-1": { + "value": "nodejs18.x", + }, + "eu-central-1": { + "value": "nodejs20.x", + }, + "eu-central-2": { + "value": "nodejs20.x", + }, + "eu-north-1": { + "value": "nodejs20.x", + }, + "eu-south-1": { + "value": "nodejs20.x", + }, + "eu-south-2": { + "value": "nodejs20.x", + }, + "eu-west-1": { + "value": "nodejs20.x", + }, + "eu-west-2": { + "value": "nodejs20.x", + }, + "eu-west-3": { + "value": "nodejs20.x", + }, + "il-central-1": { + "value": "nodejs20.x", + }, + "me-central-1": { + "value": "nodejs20.x", + }, + "me-south-1": { + "value": "nodejs20.x", + }, + "sa-east-1": { + "value": "nodejs20.x", + }, + "us-east-1": { + "value": "nodejs20.x", + }, + "us-east-2": { + "value": "nodejs20.x", + }, + "us-gov-east-1": { + "value": "nodejs18.x", + }, + "us-gov-west-1": { + "value": "nodejs18.x", + }, + "us-iso-east-1": { + "value": "nodejs18.x", + }, + "us-iso-west-1": { + "value": "nodejs18.x", + }, + "us-isob-east-1": { + "value": "nodejs18.x", + }, + "us-west-1": { + "value": "nodejs20.x", + }, + "us-west-2": { + "value": "nodejs20.x", + }, + }, + }, "Parameters": { "BootstrapVersion": { "Default": "/cdk-bootstrap/hnb659fds/version", @@ -498,7 +841,15 @@ exports[`execute OnDeploy before other resources 1`] = ` "Arn", ], }, - "Runtime": "nodejs18.x", + "Runtime": { + "Fn::FindInMap": [ + "LatestNodeRuntimeMap", + { + "Ref": "AWS::Region", + }, + "value", + ], + }, "Timeout": 900, }, "Type": "AWS::Lambda::Function", diff --git a/libs/compatibility-spy/package.json b/libs/compatibility-spy/package.json index 829bafc38bf..fcceb80d554 100644 --- a/libs/compatibility-spy/package.json +++ b/libs/compatibility-spy/package.json @@ -20,13 +20,13 @@ "main": "lib/index.js", "license": "MIT", "dependencies": { - "constructs": "^10.3", - "@winglang/sdk": "workspace:^" + "@winglang/sdk": "workspace:^", + "constructs": "^10.3.0" }, "devDependencies": { "bump-pack": "workspace:^", - "typescript": "^5.3.3", - "tsup": "^8.0.2", + "tsup": "^8.1.0", + "typescript": "^5.5.2", "vitest": "^1.6.0" }, "scripts": { diff --git a/libs/tree-sitter-wing/package.json b/libs/tree-sitter-wing/package.json index 9ca9f834105..e949a35cce8 100644 --- a/libs/tree-sitter-wing/package.json +++ b/libs/tree-sitter-wing/package.json @@ -51,7 +51,7 @@ "extends": "../../package.json" }, "devDependencies": { - "nodemon": "^3.1.0", + "nodemon": "^3.1.4", "tree-sitter-cli": "0.22.5" } } diff --git a/libs/wingcompiler/package.json b/libs/wingcompiler/package.json index 4585116a06e..2ef510a7067 100644 --- a/libs/wingcompiler/package.json +++ b/libs/wingcompiler/package.json @@ -26,7 +26,7 @@ "dependencies": { "@wingcloud/framework": "workspace:^", "@winglang/sdk": "workspace:^", - "jiti": "^1.21.0", + "jiti": "^1.21.6", "wasi-js": "^1.7.3" }, "bundledDependencies": [ @@ -36,8 +36,8 @@ "@types/node": "^20.11.0", "@winglang/wingc": "workspace:^", "bump-pack": "workspace:^", - "tsup": "^8.0.2", - "typescript": "^5.3.3", + "tsup": "^8.1.0", + "typescript": "^5.5.2", "vitest": "^1.6.0", "wasi-js": "^1.7.3" }, diff --git a/libs/wingsdk/.projen/deps.json b/libs/wingsdk/.projen/deps.json index bd21866776f..ccd8d655e75 100644 --- a/libs/wingsdk/.projen/deps.json +++ b/libs/wingsdk/.projen/deps.json @@ -64,7 +64,7 @@ }, { "name": "cdktf-cli", - "version": "0.20.3", + "version": "0.20.7", "type": "build" }, { @@ -119,7 +119,7 @@ }, { "name": "jsii", - "version": "~5.3.11", + "version": "~5.3.39", "type": "build" }, { @@ -225,7 +225,7 @@ }, { "name": "@azure/identity", - "version": "4.0.1", + "version": "4.3.0", "type": "bundled" }, { @@ -268,7 +268,7 @@ }, { "name": "cdktf", - "version": "0.20.3", + "version": "0.20.7", "type": "bundled" }, { @@ -310,7 +310,7 @@ }, { "name": "nanoid", - "version": "^3.3.6", + "version": "^3.3.7", "type": "bundled" }, { diff --git a/libs/wingsdk/.projenrc.ts b/libs/wingsdk/.projenrc.ts index 3ebe2dcbaf8..37fede52f21 100644 --- a/libs/wingsdk/.projenrc.ts +++ b/libs/wingsdk/.projenrc.ts @@ -1,7 +1,7 @@ import { JsonFile, cdk, javascript, DependencyType } from "projen"; const JSII_DEPS = ["constructs@^10.3"]; -const CDKTF_VERSION = "0.20.3"; +const CDKTF_VERSION = "0.20.7"; const AWS_SDK_VERSION = "3.577.0"; const CDKTF_PROVIDERS = [ @@ -66,7 +66,7 @@ const project = new cdk.JsiiProject({ // azure client dependencies "@azure/storage-blob@12.14.0", "@azure/data-tables@13.2.2", - "@azure/identity@4.0.1", + "@azure/identity@4.3.0", "@azure/core-paging", // gcp client dependencies "@google-cloud/storage@6.9.5", @@ -77,7 +77,7 @@ const project = new cdk.JsiiProject({ "express", "uuid", // using version 3 because starting from version 4, it no longer works with CommonJS. - "nanoid@^3.3.6", + "nanoid@^3.3.7", "cron-parser", // shared client dependencies "ioredis", @@ -132,7 +132,7 @@ const project = new cdk.JsiiProject({ codeCovTokenSecret: "CODECOV_TOKEN", github: false, projenrcTs: true, - jsiiVersion: "~5.3.11", + jsiiVersion: "~5.3.39", }); project.defaultTask!.reset("tsx --tsconfig tsconfig.dev.json .projenrc.ts"); project.deps.removeDependency("ts-node"); diff --git a/libs/wingsdk/package.json b/libs/wingsdk/package.json index 548be28fb39..cb69e40e7ab 100644 --- a/libs/wingsdk/package.json +++ b/libs/wingsdk/package.json @@ -37,39 +37,39 @@ "devDependencies": { "@cdktf/provider-aws": "^19", "@types/aws-lambda": "^8.10.109", - "@types/express": "^4.17.17", - "@types/fs-extra": "^11.0.1", + "@types/express": "^4.17.21", + "@types/fs-extra": "^11.0.4", "@types/glob": "^7.2.0", - "@types/mime-types": "^2.1.2", + "@types/mime-types": "^2.1.4", "@types/node": "^20.11.0", - "@types/uuid": "^9.0.3", + "@types/uuid": "^9.0.8", "@typescript-eslint/eslint-plugin": "^7", "@typescript-eslint/parser": "^7", "@winglang/jsii-docgen": "workspace:^", "aws-sdk-client-mock": "3.0.0", "aws-sdk-client-mock-jest": "3.0.0", "bump-pack": "workspace:^", - "cdktf-cli": "0.20.3", + "cdktf-cli": "0.20.7", "chalk": "^4.1.2", "constructs": "^10.3", "eslint": "^8.56.0", "eslint-config-prettier": "^8.10.0", "eslint-import-resolver-node": "^0.3.9", - "eslint-import-resolver-typescript": "^3.6.0", - "eslint-plugin-import": "^2.28.1", + "eslint-import-resolver-typescript": "^3.6.1", + "eslint-plugin-import": "^2.29.1", "eslint-plugin-prettier": "^4.2.1", "eslint-plugin-sort-exports": "^0.8.0", "fs-extra": "^10.1.0", - "jsii": "~5.3.11", - "jsii-diff": "^1.94.0", - "jsii-pacmak": "^1.94.0", + "jsii": "~5.3.39", + "jsii-diff": "^1.100.0", + "jsii-pacmak": "^1.100.0", "mock-gcs": "^1.2.0", "nanoid": "^3.3.4", "prettier": "^2.8.8", "projen": "^0.71.163", "standard-version": "^9", - "tsx": "^4.7.0", - "typescript": "^5.3.3", + "tsx": "^4.15.7", + "typescript": "^5.5.2", "vitest": "^1.6.0", "wing-api-checker": "workspace:^" }, @@ -88,29 +88,29 @@ "@aws-sdk/s3-request-presigner": "3.577.0", "@aws-sdk/types": "3.449.0", "@aws-sdk/util-dynamodb": "3.577.0", - "@azure/core-paging": "^1.5.0", + "@azure/core-paging": "^1.6.2", "@azure/data-tables": "13.2.2", - "@azure/identity": "4.0.1", + "@azure/identity": "4.3.0", "@azure/storage-blob": "12.14.0", "@google-cloud/datastore": "8.4.0", "@google-cloud/storage": "6.9.5", "@smithy/util-stream": "2.0.17", "@smithy/util-utf8": "2.0.0", - "@types/aws-lambda": "^8.10.119", + "@types/aws-lambda": "^8.10.140", "@winglang/wingtunnels": "workspace:^", - "ajv": "^8.12.0", - "cdktf": "0.20.3", + "ajv": "^8.16.0", + "cdktf": "0.20.7", "constructs": "^10.3", "cron-parser": "^4.9.0", "cron-validator": "^1.3.1", "express": "^4.19.2", "glob": "^8.1.0", "google-auth-library": "^8.9.0", - "ioredis": "^5.3.2", - "jiti": "^1.21.0", + "ioredis": "^5.4.1", + "jiti": "^1.21.6", "mime": "^3.0.0", "mime-types": "^2.1.35", - "nanoid": "^3.3.6", + "nanoid": "^3.3.7", "protobufjs": "7.2.5", "safe-stable-stringify": "^2.4.3", "stacktracey": "^2.1.8", @@ -118,7 +118,7 @@ "ulid": "^2.3.0", "uuid": "^8.3.2", "vlq": "^2.0.4", - "yaml": "^2.3.2" + "yaml": "^2.4.5" }, "bundledDependencies": [ "@aws-sdk/client-cloudwatch-logs", diff --git a/libs/wingsdk/src/expect/expect.ts b/libs/wingsdk/src/expect/expect.ts index d7432ed033e..087f67cacb5 100644 --- a/libs/wingsdk/src/expect/expect.ts +++ b/libs/wingsdk/src/expect/expect.ts @@ -1,4 +1,4 @@ -import nodeAssert, { AssertionError } from "node:assert/strict"; +import nodeAssert from "node:assert/strict"; import { InflightClient } from "../core"; import { Regex } from "../std"; @@ -74,7 +74,7 @@ export class Util { const regex = Regex.compile(expected); const matches = regex.test(actual); if (!matches) { - throw new AssertionError({ + throw new nodeAssert.AssertionError({ message: `The input did not match the regular expression ${expected}`, }); } @@ -91,7 +91,7 @@ export class Util { const regex = Regex.compile(expected); const matches = regex.test(actual); if (matches) { - throw new AssertionError({ + throw new nodeAssert.AssertionError({ message: `The input should not match the regular expression ${expected}`, }); } diff --git a/libs/wingsdk/test/expect/assertions.test.ts b/libs/wingsdk/test/expect/assertions.test.ts index ec13bbeb8ae..fad242e46da 100644 --- a/libs/wingsdk/test/expect/assertions.test.ts +++ b/libs/wingsdk/test/expect/assertions.test.ts @@ -2,7 +2,7 @@ // to a bug in `v8-to-istanbul` that causes it to // exit with a non-zero code when trying to generate // coverage reports. See https://github.com/istanbuljs/v8-to-istanbul/issues/198 -import { AssertionError } from "node:assert/strict"; +import nodeAssert from "node:assert/strict"; import { test, describe, expect } from "vitest"; import { Util as Assert } from "../../src/expect"; @@ -195,7 +195,7 @@ describe("match", () => { expect(() => { Assert.match("abc", "def"); }).toThrow( - new AssertionError({ + new nodeAssert.AssertionError({ message: "The input did not match the regular expression def", }) ); @@ -207,7 +207,7 @@ describe("does not match", () => { expect(() => { Assert.doesNotMatch("abc", "abc"); }).toThrow( - new AssertionError({ + new nodeAssert.AssertionError({ message: "The input should not match the regular expression abc", }) ); diff --git a/libs/wingsdk/test/target-tf-aws/__snapshots__/bucket.test.ts.snap b/libs/wingsdk/test/target-tf-aws/__snapshots__/bucket.test.ts.snap index 2457f05f584..9e6b998fd45 100644 --- a/libs/wingsdk/test/target-tf-aws/__snapshots__/bucket.test.ts.snap +++ b/libs/wingsdk/test/target-tf-aws/__snapshots__/bucket.test.ts.snap @@ -42,7 +42,7 @@ exports[`bucket is public 2`] = ` "aws": { "constructInfo": { "fqn": "cdktf.TerraformProvider", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "aws", @@ -53,7 +53,7 @@ exports[`bucket is public 2`] = ` "Default": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Default", @@ -62,7 +62,7 @@ exports[`bucket is public 2`] = ` "PublicAccessBlock": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "PublicAccessBlock", @@ -71,7 +71,7 @@ exports[`bucket is public 2`] = ` "PublicPolicy": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "PublicPolicy", @@ -101,7 +101,7 @@ exports[`bucket is public 2`] = ` "backend": { "constructInfo": { "fqn": "cdktf.LocalBackend", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "backend", @@ -110,7 +110,7 @@ exports[`bucket is public 2`] = ` }, "constructInfo": { "fqn": "cdktf.TerraformStack", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "root", @@ -119,7 +119,7 @@ exports[`bucket is public 2`] = ` }, "constructInfo": { "fqn": "cdktf.App", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "App", @@ -155,7 +155,7 @@ exports[`bucket prefix must be lowercase 2`] = ` "Default": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Default", @@ -176,7 +176,7 @@ exports[`bucket prefix must be lowercase 2`] = ` "aws": { "constructInfo": { "fqn": "cdktf.TerraformProvider", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "aws", @@ -194,7 +194,7 @@ exports[`bucket prefix must be lowercase 2`] = ` "backend": { "constructInfo": { "fqn": "cdktf.LocalBackend", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "backend", @@ -203,7 +203,7 @@ exports[`bucket prefix must be lowercase 2`] = ` }, "constructInfo": { "fqn": "cdktf.TerraformStack", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "root", @@ -212,7 +212,7 @@ exports[`bucket prefix must be lowercase 2`] = ` }, "constructInfo": { "fqn": "cdktf.App", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "App", @@ -246,7 +246,7 @@ exports[`bucket prefix valid 2`] = ` "aws": { "constructInfo": { "fqn": "cdktf.TerraformProvider", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "aws", @@ -257,7 +257,7 @@ exports[`bucket prefix valid 2`] = ` "Default": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Default", @@ -287,7 +287,7 @@ exports[`bucket prefix valid 2`] = ` "backend": { "constructInfo": { "fqn": "cdktf.LocalBackend", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "backend", @@ -296,7 +296,7 @@ exports[`bucket prefix valid 2`] = ` }, "constructInfo": { "fqn": "cdktf.TerraformStack", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "root", @@ -305,7 +305,7 @@ exports[`bucket prefix valid 2`] = ` }, "constructInfo": { "fqn": "cdktf.App", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "App", @@ -459,7 +459,7 @@ exports[`bucket with onCreate method 2`] = ` "Code": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Code", @@ -479,7 +479,7 @@ exports[`bucket with onCreate method 2`] = ` "aws": { "constructInfo": { "fqn": "cdktf.TerraformProvider", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "aws", @@ -490,7 +490,7 @@ exports[`bucket with onCreate method 2`] = ` "Default": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Default", @@ -501,7 +501,7 @@ exports[`bucket with onCreate method 2`] = ` "Default": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Default", @@ -510,7 +510,7 @@ exports[`bucket with onCreate method 2`] = ` "PublishPermission-c8045fccc85a7ef42d5391d87958e5ce36c53a401a": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "PublishPermission-c8045fccc85a7ef42d5391d87958e5ce36c53a401a", @@ -519,7 +519,7 @@ exports[`bucket with onCreate method 2`] = ` "TopicSubscription0": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "TopicSubscription0", @@ -542,7 +542,7 @@ exports[`bucket with onCreate method 2`] = ` "Asset": { "constructInfo": { "fqn": "cdktf.TerraformAsset", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Asset", @@ -551,7 +551,7 @@ exports[`bucket with onCreate method 2`] = ` "CloudwatchLogGroup": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "CloudwatchLogGroup", @@ -560,7 +560,7 @@ exports[`bucket with onCreate method 2`] = ` "Default": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Default", @@ -569,7 +569,7 @@ exports[`bucket with onCreate method 2`] = ` "IamRole": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamRole", @@ -578,7 +578,7 @@ exports[`bucket with onCreate method 2`] = ` "IamRolePolicy": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamRolePolicy", @@ -587,7 +587,7 @@ exports[`bucket with onCreate method 2`] = ` "IamRolePolicyAttachment": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamRolePolicyAttachment", @@ -596,7 +596,7 @@ exports[`bucket with onCreate method 2`] = ` "InvokePermission-c88b8dd64481dc3b326d5e0afc3b583852a5c383f8": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "InvokePermission-c88b8dd64481dc3b326d5e0afc3b583852a5c383f8", @@ -605,7 +605,7 @@ exports[`bucket with onCreate method 2`] = ` "S3Object": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "S3Object", @@ -626,7 +626,7 @@ exports[`bucket with onCreate method 2`] = ` "PublicAccessBlock": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "PublicAccessBlock", @@ -635,7 +635,7 @@ exports[`bucket with onCreate method 2`] = ` "PublicPolicy": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "PublicPolicy", @@ -644,7 +644,7 @@ exports[`bucket with onCreate method 2`] = ` "S3BucketNotification": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "S3BucketNotification", @@ -674,7 +674,7 @@ exports[`bucket with onCreate method 2`] = ` "backend": { "constructInfo": { "fqn": "cdktf.LocalBackend", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "backend", @@ -683,7 +683,7 @@ exports[`bucket with onCreate method 2`] = ` }, "constructInfo": { "fqn": "cdktf.TerraformStack", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "root", @@ -692,7 +692,7 @@ exports[`bucket with onCreate method 2`] = ` }, "constructInfo": { "fqn": "cdktf.App", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "App", @@ -846,7 +846,7 @@ exports[`bucket with onDelete method 2`] = ` "Code": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Code", @@ -866,7 +866,7 @@ exports[`bucket with onDelete method 2`] = ` "aws": { "constructInfo": { "fqn": "cdktf.TerraformProvider", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "aws", @@ -877,7 +877,7 @@ exports[`bucket with onDelete method 2`] = ` "Default": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Default", @@ -888,7 +888,7 @@ exports[`bucket with onDelete method 2`] = ` "Default": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Default", @@ -897,7 +897,7 @@ exports[`bucket with onDelete method 2`] = ` "PublishPermission-c8045fccc85a7ef42d5391d87958e5ce36c53a401a": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "PublishPermission-c8045fccc85a7ef42d5391d87958e5ce36c53a401a", @@ -906,7 +906,7 @@ exports[`bucket with onDelete method 2`] = ` "TopicSubscription0": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "TopicSubscription0", @@ -929,7 +929,7 @@ exports[`bucket with onDelete method 2`] = ` "Asset": { "constructInfo": { "fqn": "cdktf.TerraformAsset", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Asset", @@ -938,7 +938,7 @@ exports[`bucket with onDelete method 2`] = ` "CloudwatchLogGroup": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "CloudwatchLogGroup", @@ -947,7 +947,7 @@ exports[`bucket with onDelete method 2`] = ` "Default": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Default", @@ -956,7 +956,7 @@ exports[`bucket with onDelete method 2`] = ` "IamRole": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamRole", @@ -965,7 +965,7 @@ exports[`bucket with onDelete method 2`] = ` "IamRolePolicy": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamRolePolicy", @@ -974,7 +974,7 @@ exports[`bucket with onDelete method 2`] = ` "IamRolePolicyAttachment": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamRolePolicyAttachment", @@ -983,7 +983,7 @@ exports[`bucket with onDelete method 2`] = ` "InvokePermission-c818f13827fc0721db2eca69eab078997f6f9a8c7a": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "InvokePermission-c818f13827fc0721db2eca69eab078997f6f9a8c7a", @@ -992,7 +992,7 @@ exports[`bucket with onDelete method 2`] = ` "S3Object": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "S3Object", @@ -1013,7 +1013,7 @@ exports[`bucket with onDelete method 2`] = ` "PublicAccessBlock": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "PublicAccessBlock", @@ -1022,7 +1022,7 @@ exports[`bucket with onDelete method 2`] = ` "PublicPolicy": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "PublicPolicy", @@ -1031,7 +1031,7 @@ exports[`bucket with onDelete method 2`] = ` "S3BucketNotification": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "S3BucketNotification", @@ -1061,7 +1061,7 @@ exports[`bucket with onDelete method 2`] = ` "backend": { "constructInfo": { "fqn": "cdktf.LocalBackend", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "backend", @@ -1070,7 +1070,7 @@ exports[`bucket with onDelete method 2`] = ` }, "constructInfo": { "fqn": "cdktf.TerraformStack", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "root", @@ -1079,7 +1079,7 @@ exports[`bucket with onDelete method 2`] = ` }, "constructInfo": { "fqn": "cdktf.App", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "App", @@ -1373,7 +1373,7 @@ exports[`bucket with onEvent method 2`] = ` "Code": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Code", @@ -1393,7 +1393,7 @@ exports[`bucket with onEvent method 2`] = ` "aws": { "constructInfo": { "fqn": "cdktf.TerraformProvider", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "aws", @@ -1404,7 +1404,7 @@ exports[`bucket with onEvent method 2`] = ` "Default": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Default", @@ -1415,7 +1415,7 @@ exports[`bucket with onEvent method 2`] = ` "Default": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Default", @@ -1424,7 +1424,7 @@ exports[`bucket with onEvent method 2`] = ` "PublishPermission-c8045fccc85a7ef42d5391d87958e5ce36c53a401a": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "PublishPermission-c8045fccc85a7ef42d5391d87958e5ce36c53a401a", @@ -1433,7 +1433,7 @@ exports[`bucket with onEvent method 2`] = ` "TopicSubscription0": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "TopicSubscription0", @@ -1456,7 +1456,7 @@ exports[`bucket with onEvent method 2`] = ` "Asset": { "constructInfo": { "fqn": "cdktf.TerraformAsset", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Asset", @@ -1465,7 +1465,7 @@ exports[`bucket with onEvent method 2`] = ` "CloudwatchLogGroup": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "CloudwatchLogGroup", @@ -1474,7 +1474,7 @@ exports[`bucket with onEvent method 2`] = ` "Default": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Default", @@ -1483,7 +1483,7 @@ exports[`bucket with onEvent method 2`] = ` "IamRole": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamRole", @@ -1492,7 +1492,7 @@ exports[`bucket with onEvent method 2`] = ` "IamRolePolicy": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamRolePolicy", @@ -1501,7 +1501,7 @@ exports[`bucket with onEvent method 2`] = ` "IamRolePolicyAttachment": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamRolePolicyAttachment", @@ -1510,7 +1510,7 @@ exports[`bucket with onEvent method 2`] = ` "InvokePermission-c88b8dd64481dc3b326d5e0afc3b583852a5c383f8": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "InvokePermission-c88b8dd64481dc3b326d5e0afc3b583852a5c383f8", @@ -1519,7 +1519,7 @@ exports[`bucket with onEvent method 2`] = ` "S3Object": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "S3Object", @@ -1542,7 +1542,7 @@ exports[`bucket with onEvent method 2`] = ` "Default": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Default", @@ -1551,7 +1551,7 @@ exports[`bucket with onEvent method 2`] = ` "PublishPermission-c8045fccc85a7ef42d5391d87958e5ce36c53a401a": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "PublishPermission-c8045fccc85a7ef42d5391d87958e5ce36c53a401a", @@ -1560,7 +1560,7 @@ exports[`bucket with onEvent method 2`] = ` "TopicSubscription0": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "TopicSubscription0", @@ -1583,7 +1583,7 @@ exports[`bucket with onEvent method 2`] = ` "Asset": { "constructInfo": { "fqn": "cdktf.TerraformAsset", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Asset", @@ -1592,7 +1592,7 @@ exports[`bucket with onEvent method 2`] = ` "CloudwatchLogGroup": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "CloudwatchLogGroup", @@ -1601,7 +1601,7 @@ exports[`bucket with onEvent method 2`] = ` "Default": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Default", @@ -1610,7 +1610,7 @@ exports[`bucket with onEvent method 2`] = ` "IamRole": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamRole", @@ -1619,7 +1619,7 @@ exports[`bucket with onEvent method 2`] = ` "IamRolePolicy": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamRolePolicy", @@ -1628,7 +1628,7 @@ exports[`bucket with onEvent method 2`] = ` "IamRolePolicyAttachment": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamRolePolicyAttachment", @@ -1637,7 +1637,7 @@ exports[`bucket with onEvent method 2`] = ` "InvokePermission-c818f13827fc0721db2eca69eab078997f6f9a8c7a": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "InvokePermission-c818f13827fc0721db2eca69eab078997f6f9a8c7a", @@ -1646,7 +1646,7 @@ exports[`bucket with onEvent method 2`] = ` "S3Object": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "S3Object", @@ -1669,7 +1669,7 @@ exports[`bucket with onEvent method 2`] = ` "Default": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Default", @@ -1678,7 +1678,7 @@ exports[`bucket with onEvent method 2`] = ` "PublishPermission-c8045fccc85a7ef42d5391d87958e5ce36c53a401a": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "PublishPermission-c8045fccc85a7ef42d5391d87958e5ce36c53a401a", @@ -1687,7 +1687,7 @@ exports[`bucket with onEvent method 2`] = ` "TopicSubscription0": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "TopicSubscription0", @@ -1710,7 +1710,7 @@ exports[`bucket with onEvent method 2`] = ` "Asset": { "constructInfo": { "fqn": "cdktf.TerraformAsset", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Asset", @@ -1719,7 +1719,7 @@ exports[`bucket with onEvent method 2`] = ` "CloudwatchLogGroup": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "CloudwatchLogGroup", @@ -1728,7 +1728,7 @@ exports[`bucket with onEvent method 2`] = ` "Default": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Default", @@ -1737,7 +1737,7 @@ exports[`bucket with onEvent method 2`] = ` "IamRole": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamRole", @@ -1746,7 +1746,7 @@ exports[`bucket with onEvent method 2`] = ` "IamRolePolicy": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamRolePolicy", @@ -1755,7 +1755,7 @@ exports[`bucket with onEvent method 2`] = ` "IamRolePolicyAttachment": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamRolePolicyAttachment", @@ -1764,7 +1764,7 @@ exports[`bucket with onEvent method 2`] = ` "InvokePermission-c84ec84688efaa3bd78e7099e53e40fb2fe4ca5229": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "InvokePermission-c84ec84688efaa3bd78e7099e53e40fb2fe4ca5229", @@ -1773,7 +1773,7 @@ exports[`bucket with onEvent method 2`] = ` "S3Object": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "S3Object", @@ -1794,7 +1794,7 @@ exports[`bucket with onEvent method 2`] = ` "PublicAccessBlock": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "PublicAccessBlock", @@ -1803,7 +1803,7 @@ exports[`bucket with onEvent method 2`] = ` "PublicPolicy": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "PublicPolicy", @@ -1812,7 +1812,7 @@ exports[`bucket with onEvent method 2`] = ` "S3BucketNotification": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "S3BucketNotification", @@ -1842,7 +1842,7 @@ exports[`bucket with onEvent method 2`] = ` "backend": { "constructInfo": { "fqn": "cdktf.LocalBackend", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "backend", @@ -1851,7 +1851,7 @@ exports[`bucket with onEvent method 2`] = ` }, "constructInfo": { "fqn": "cdktf.TerraformStack", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "root", @@ -1860,7 +1860,7 @@ exports[`bucket with onEvent method 2`] = ` }, "constructInfo": { "fqn": "cdktf.App", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "App", @@ -2014,7 +2014,7 @@ exports[`bucket with onUpdate method 2`] = ` "Code": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Code", @@ -2034,7 +2034,7 @@ exports[`bucket with onUpdate method 2`] = ` "aws": { "constructInfo": { "fqn": "cdktf.TerraformProvider", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "aws", @@ -2045,7 +2045,7 @@ exports[`bucket with onUpdate method 2`] = ` "Default": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Default", @@ -2056,7 +2056,7 @@ exports[`bucket with onUpdate method 2`] = ` "Default": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Default", @@ -2065,7 +2065,7 @@ exports[`bucket with onUpdate method 2`] = ` "PublishPermission-c8045fccc85a7ef42d5391d87958e5ce36c53a401a": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "PublishPermission-c8045fccc85a7ef42d5391d87958e5ce36c53a401a", @@ -2074,7 +2074,7 @@ exports[`bucket with onUpdate method 2`] = ` "TopicSubscription0": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "TopicSubscription0", @@ -2097,7 +2097,7 @@ exports[`bucket with onUpdate method 2`] = ` "Asset": { "constructInfo": { "fqn": "cdktf.TerraformAsset", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Asset", @@ -2106,7 +2106,7 @@ exports[`bucket with onUpdate method 2`] = ` "CloudwatchLogGroup": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "CloudwatchLogGroup", @@ -2115,7 +2115,7 @@ exports[`bucket with onUpdate method 2`] = ` "Default": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Default", @@ -2124,7 +2124,7 @@ exports[`bucket with onUpdate method 2`] = ` "IamRole": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamRole", @@ -2133,7 +2133,7 @@ exports[`bucket with onUpdate method 2`] = ` "IamRolePolicy": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamRolePolicy", @@ -2142,7 +2142,7 @@ exports[`bucket with onUpdate method 2`] = ` "IamRolePolicyAttachment": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamRolePolicyAttachment", @@ -2151,7 +2151,7 @@ exports[`bucket with onUpdate method 2`] = ` "InvokePermission-c84ec84688efaa3bd78e7099e53e40fb2fe4ca5229": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "InvokePermission-c84ec84688efaa3bd78e7099e53e40fb2fe4ca5229", @@ -2160,7 +2160,7 @@ exports[`bucket with onUpdate method 2`] = ` "S3Object": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "S3Object", @@ -2181,7 +2181,7 @@ exports[`bucket with onUpdate method 2`] = ` "PublicAccessBlock": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "PublicAccessBlock", @@ -2190,7 +2190,7 @@ exports[`bucket with onUpdate method 2`] = ` "PublicPolicy": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "PublicPolicy", @@ -2199,7 +2199,7 @@ exports[`bucket with onUpdate method 2`] = ` "S3BucketNotification": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "S3BucketNotification", @@ -2229,7 +2229,7 @@ exports[`bucket with onUpdate method 2`] = ` "backend": { "constructInfo": { "fqn": "cdktf.LocalBackend", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "backend", @@ -2238,7 +2238,7 @@ exports[`bucket with onUpdate method 2`] = ` }, "constructInfo": { "fqn": "cdktf.TerraformStack", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "root", @@ -2247,7 +2247,7 @@ exports[`bucket with onUpdate method 2`] = ` }, "constructInfo": { "fqn": "cdktf.App", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "App", @@ -2311,7 +2311,7 @@ exports[`bucket with two preflight files 2`] = ` "aws": { "constructInfo": { "fqn": "cdktf.TerraformProvider", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "aws", @@ -2322,7 +2322,7 @@ exports[`bucket with two preflight files 2`] = ` "Default": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Default", @@ -2331,7 +2331,7 @@ exports[`bucket with two preflight files 2`] = ` "PublicAccessBlock": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "PublicAccessBlock", @@ -2340,7 +2340,7 @@ exports[`bucket with two preflight files 2`] = ` "PublicPolicy": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "PublicPolicy", @@ -2349,7 +2349,7 @@ exports[`bucket with two preflight files 2`] = ` "S3Object-file1.txt": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "S3Object-file1.txt", @@ -2358,7 +2358,7 @@ exports[`bucket with two preflight files 2`] = ` "S3Object-file2.txt": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "S3Object-file2.txt", @@ -2388,7 +2388,7 @@ exports[`bucket with two preflight files 2`] = ` "backend": { "constructInfo": { "fqn": "cdktf.LocalBackend", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "backend", @@ -2397,7 +2397,7 @@ exports[`bucket with two preflight files 2`] = ` }, "constructInfo": { "fqn": "cdktf.TerraformStack", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "root", @@ -2406,7 +2406,7 @@ exports[`bucket with two preflight files 2`] = ` }, "constructInfo": { "fqn": "cdktf.App", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "App", @@ -2470,7 +2470,7 @@ exports[`bucket with two preflight objects 2`] = ` "aws": { "constructInfo": { "fqn": "cdktf.TerraformProvider", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "aws", @@ -2481,7 +2481,7 @@ exports[`bucket with two preflight objects 2`] = ` "Default": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Default", @@ -2490,7 +2490,7 @@ exports[`bucket with two preflight objects 2`] = ` "PublicAccessBlock": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "PublicAccessBlock", @@ -2499,7 +2499,7 @@ exports[`bucket with two preflight objects 2`] = ` "PublicPolicy": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "PublicPolicy", @@ -2508,7 +2508,7 @@ exports[`bucket with two preflight objects 2`] = ` "S3Object-file1.txt": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "S3Object-file1.txt", @@ -2517,7 +2517,7 @@ exports[`bucket with two preflight objects 2`] = ` "S3Object-file2.txt": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "S3Object-file2.txt", @@ -2547,7 +2547,7 @@ exports[`bucket with two preflight objects 2`] = ` "backend": { "constructInfo": { "fqn": "cdktf.LocalBackend", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "backend", @@ -2556,7 +2556,7 @@ exports[`bucket with two preflight objects 2`] = ` }, "constructInfo": { "fqn": "cdktf.TerraformStack", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "root", @@ -2565,7 +2565,7 @@ exports[`bucket with two preflight objects 2`] = ` }, "constructInfo": { "fqn": "cdktf.App", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "App", @@ -2599,7 +2599,7 @@ exports[`create a bucket 2`] = ` "aws": { "constructInfo": { "fqn": "cdktf.TerraformProvider", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "aws", @@ -2610,7 +2610,7 @@ exports[`create a bucket 2`] = ` "Default": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Default", @@ -2640,7 +2640,7 @@ exports[`create a bucket 2`] = ` "backend": { "constructInfo": { "fqn": "cdktf.LocalBackend", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "backend", @@ -2649,7 +2649,7 @@ exports[`create a bucket 2`] = ` }, "constructInfo": { "fqn": "cdktf.TerraformStack", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "root", @@ -2658,7 +2658,7 @@ exports[`create a bucket 2`] = ` }, "constructInfo": { "fqn": "cdktf.App", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "App", diff --git a/libs/wingsdk/test/target-tf-aws/__snapshots__/counter.test.ts.snap b/libs/wingsdk/test/target-tf-aws/__snapshots__/counter.test.ts.snap index 7bdbc856367..5cf76d44c65 100644 --- a/libs/wingsdk/test/target-tf-aws/__snapshots__/counter.test.ts.snap +++ b/libs/wingsdk/test/target-tf-aws/__snapshots__/counter.test.ts.snap @@ -33,7 +33,7 @@ exports[`counter name valid 2`] = ` "Default": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Default", @@ -54,7 +54,7 @@ exports[`counter name valid 2`] = ` "aws": { "constructInfo": { "fqn": "cdktf.TerraformProvider", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "aws", @@ -72,7 +72,7 @@ exports[`counter name valid 2`] = ` "backend": { "constructInfo": { "fqn": "cdktf.LocalBackend", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "backend", @@ -81,7 +81,7 @@ exports[`counter name valid 2`] = ` }, "constructInfo": { "fqn": "cdktf.TerraformStack", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "root", @@ -90,7 +90,7 @@ exports[`counter name valid 2`] = ` }, "constructInfo": { "fqn": "cdktf.App", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "App", @@ -133,7 +133,7 @@ exports[`counter with initial value 2`] = ` "Default": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Default", @@ -154,7 +154,7 @@ exports[`counter with initial value 2`] = ` "aws": { "constructInfo": { "fqn": "cdktf.TerraformProvider", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "aws", @@ -172,7 +172,7 @@ exports[`counter with initial value 2`] = ` "backend": { "constructInfo": { "fqn": "cdktf.LocalBackend", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "backend", @@ -181,7 +181,7 @@ exports[`counter with initial value 2`] = ` }, "constructInfo": { "fqn": "cdktf.TerraformStack", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "root", @@ -190,7 +190,7 @@ exports[`counter with initial value 2`] = ` }, "constructInfo": { "fqn": "cdktf.App", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "App", @@ -293,7 +293,7 @@ exports[`dec() policy statement 2`] = ` "Code": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Code", @@ -304,7 +304,7 @@ exports[`dec() policy statement 2`] = ` "Default": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Default", @@ -327,7 +327,7 @@ exports[`dec() policy statement 2`] = ` "Asset": { "constructInfo": { "fqn": "cdktf.TerraformAsset", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Asset", @@ -336,7 +336,7 @@ exports[`dec() policy statement 2`] = ` "CloudwatchLogGroup": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "CloudwatchLogGroup", @@ -345,7 +345,7 @@ exports[`dec() policy statement 2`] = ` "Default": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Default", @@ -354,7 +354,7 @@ exports[`dec() policy statement 2`] = ` "IamRole": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamRole", @@ -363,7 +363,7 @@ exports[`dec() policy statement 2`] = ` "IamRolePolicy": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamRolePolicy", @@ -372,7 +372,7 @@ exports[`dec() policy statement 2`] = ` "IamRolePolicyAttachment": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamRolePolicyAttachment", @@ -381,7 +381,7 @@ exports[`dec() policy statement 2`] = ` "S3Object": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "S3Object", @@ -413,7 +413,7 @@ exports[`dec() policy statement 2`] = ` "aws": { "constructInfo": { "fqn": "cdktf.TerraformProvider", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "aws", @@ -431,7 +431,7 @@ exports[`dec() policy statement 2`] = ` "backend": { "constructInfo": { "fqn": "cdktf.LocalBackend", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "backend", @@ -440,7 +440,7 @@ exports[`dec() policy statement 2`] = ` }, "constructInfo": { "fqn": "cdktf.TerraformStack", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "root", @@ -449,7 +449,7 @@ exports[`dec() policy statement 2`] = ` }, "constructInfo": { "fqn": "cdktf.App", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "App", @@ -590,7 +590,7 @@ exports[`function with a counter binding 3`] = ` "Code": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Code", @@ -601,7 +601,7 @@ exports[`function with a counter binding 3`] = ` "Default": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Default", @@ -624,7 +624,7 @@ exports[`function with a counter binding 3`] = ` "Asset": { "constructInfo": { "fqn": "cdktf.TerraformAsset", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Asset", @@ -633,7 +633,7 @@ exports[`function with a counter binding 3`] = ` "CloudwatchLogGroup": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "CloudwatchLogGroup", @@ -642,7 +642,7 @@ exports[`function with a counter binding 3`] = ` "Default": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Default", @@ -651,7 +651,7 @@ exports[`function with a counter binding 3`] = ` "IamRole": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamRole", @@ -660,7 +660,7 @@ exports[`function with a counter binding 3`] = ` "IamRolePolicy": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamRolePolicy", @@ -669,7 +669,7 @@ exports[`function with a counter binding 3`] = ` "IamRolePolicyAttachment": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamRolePolicyAttachment", @@ -678,7 +678,7 @@ exports[`function with a counter binding 3`] = ` "S3Object": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "S3Object", @@ -710,7 +710,7 @@ exports[`function with a counter binding 3`] = ` "aws": { "constructInfo": { "fqn": "cdktf.TerraformProvider", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "aws", @@ -728,7 +728,7 @@ exports[`function with a counter binding 3`] = ` "backend": { "constructInfo": { "fqn": "cdktf.LocalBackend", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "backend", @@ -737,7 +737,7 @@ exports[`function with a counter binding 3`] = ` }, "constructInfo": { "fqn": "cdktf.TerraformStack", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "root", @@ -746,7 +746,7 @@ exports[`function with a counter binding 3`] = ` }, "constructInfo": { "fqn": "cdktf.App", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "App", @@ -849,7 +849,7 @@ exports[`inc() policy statement 2`] = ` "Code": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Code", @@ -860,7 +860,7 @@ exports[`inc() policy statement 2`] = ` "Default": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Default", @@ -883,7 +883,7 @@ exports[`inc() policy statement 2`] = ` "Asset": { "constructInfo": { "fqn": "cdktf.TerraformAsset", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Asset", @@ -892,7 +892,7 @@ exports[`inc() policy statement 2`] = ` "CloudwatchLogGroup": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "CloudwatchLogGroup", @@ -901,7 +901,7 @@ exports[`inc() policy statement 2`] = ` "Default": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Default", @@ -910,7 +910,7 @@ exports[`inc() policy statement 2`] = ` "IamRole": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamRole", @@ -919,7 +919,7 @@ exports[`inc() policy statement 2`] = ` "IamRolePolicy": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamRolePolicy", @@ -928,7 +928,7 @@ exports[`inc() policy statement 2`] = ` "IamRolePolicyAttachment": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamRolePolicyAttachment", @@ -937,7 +937,7 @@ exports[`inc() policy statement 2`] = ` "S3Object": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "S3Object", @@ -969,7 +969,7 @@ exports[`inc() policy statement 2`] = ` "aws": { "constructInfo": { "fqn": "cdktf.TerraformProvider", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "aws", @@ -987,7 +987,7 @@ exports[`inc() policy statement 2`] = ` "backend": { "constructInfo": { "fqn": "cdktf.LocalBackend", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "backend", @@ -996,7 +996,7 @@ exports[`inc() policy statement 2`] = ` }, "constructInfo": { "fqn": "cdktf.TerraformStack", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "root", @@ -1005,7 +1005,7 @@ exports[`inc() policy statement 2`] = ` }, "constructInfo": { "fqn": "cdktf.App", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "App", @@ -1108,7 +1108,7 @@ exports[`peek() policy statement 2`] = ` "Code": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Code", @@ -1119,7 +1119,7 @@ exports[`peek() policy statement 2`] = ` "Default": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Default", @@ -1142,7 +1142,7 @@ exports[`peek() policy statement 2`] = ` "Asset": { "constructInfo": { "fqn": "cdktf.TerraformAsset", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Asset", @@ -1151,7 +1151,7 @@ exports[`peek() policy statement 2`] = ` "CloudwatchLogGroup": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "CloudwatchLogGroup", @@ -1160,7 +1160,7 @@ exports[`peek() policy statement 2`] = ` "Default": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Default", @@ -1169,7 +1169,7 @@ exports[`peek() policy statement 2`] = ` "IamRole": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamRole", @@ -1178,7 +1178,7 @@ exports[`peek() policy statement 2`] = ` "IamRolePolicy": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamRolePolicy", @@ -1187,7 +1187,7 @@ exports[`peek() policy statement 2`] = ` "IamRolePolicyAttachment": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamRolePolicyAttachment", @@ -1196,7 +1196,7 @@ exports[`peek() policy statement 2`] = ` "S3Object": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "S3Object", @@ -1228,7 +1228,7 @@ exports[`peek() policy statement 2`] = ` "aws": { "constructInfo": { "fqn": "cdktf.TerraformProvider", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "aws", @@ -1246,7 +1246,7 @@ exports[`peek() policy statement 2`] = ` "backend": { "constructInfo": { "fqn": "cdktf.LocalBackend", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "backend", @@ -1255,7 +1255,7 @@ exports[`peek() policy statement 2`] = ` }, "constructInfo": { "fqn": "cdktf.TerraformStack", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "root", @@ -1264,7 +1264,7 @@ exports[`peek() policy statement 2`] = ` }, "constructInfo": { "fqn": "cdktf.App", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "App", @@ -1307,7 +1307,7 @@ exports[`replace invalid character from counter name 2`] = ` "Default": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Default", @@ -1328,7 +1328,7 @@ exports[`replace invalid character from counter name 2`] = ` "aws": { "constructInfo": { "fqn": "cdktf.TerraformProvider", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "aws", @@ -1346,7 +1346,7 @@ exports[`replace invalid character from counter name 2`] = ` "backend": { "constructInfo": { "fqn": "cdktf.LocalBackend", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "backend", @@ -1355,7 +1355,7 @@ exports[`replace invalid character from counter name 2`] = ` }, "constructInfo": { "fqn": "cdktf.TerraformStack", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "root", @@ -1364,7 +1364,7 @@ exports[`replace invalid character from counter name 2`] = ` }, "constructInfo": { "fqn": "cdktf.App", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "App", @@ -1467,7 +1467,7 @@ exports[`set() policy statement 2`] = ` "Code": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Code", @@ -1478,7 +1478,7 @@ exports[`set() policy statement 2`] = ` "Default": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Default", @@ -1501,7 +1501,7 @@ exports[`set() policy statement 2`] = ` "Asset": { "constructInfo": { "fqn": "cdktf.TerraformAsset", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Asset", @@ -1510,7 +1510,7 @@ exports[`set() policy statement 2`] = ` "CloudwatchLogGroup": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "CloudwatchLogGroup", @@ -1519,7 +1519,7 @@ exports[`set() policy statement 2`] = ` "Default": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Default", @@ -1528,7 +1528,7 @@ exports[`set() policy statement 2`] = ` "IamRole": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamRole", @@ -1537,7 +1537,7 @@ exports[`set() policy statement 2`] = ` "IamRolePolicy": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamRolePolicy", @@ -1546,7 +1546,7 @@ exports[`set() policy statement 2`] = ` "IamRolePolicyAttachment": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamRolePolicyAttachment", @@ -1555,7 +1555,7 @@ exports[`set() policy statement 2`] = ` "S3Object": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "S3Object", @@ -1587,7 +1587,7 @@ exports[`set() policy statement 2`] = ` "aws": { "constructInfo": { "fqn": "cdktf.TerraformProvider", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "aws", @@ -1605,7 +1605,7 @@ exports[`set() policy statement 2`] = ` "backend": { "constructInfo": { "fqn": "cdktf.LocalBackend", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "backend", @@ -1614,7 +1614,7 @@ exports[`set() policy statement 2`] = ` }, "constructInfo": { "fqn": "cdktf.TerraformStack", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "root", @@ -1623,7 +1623,7 @@ exports[`set() policy statement 2`] = ` }, "constructInfo": { "fqn": "cdktf.App", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "App", diff --git a/libs/wingsdk/test/target-tf-aws/__snapshots__/domain.test.ts.snap b/libs/wingsdk/test/target-tf-aws/__snapshots__/domain.test.ts.snap index a3179f13cc1..5dc056e4a24 100644 --- a/libs/wingsdk/test/target-tf-aws/__snapshots__/domain.test.ts.snap +++ b/libs/wingsdk/test/target-tf-aws/__snapshots__/domain.test.ts.snap @@ -203,7 +203,7 @@ exports[`cloud.Domain for tf-aws > website with a domain when passing values fro "AllowDistributionReadOnly": { "constructInfo": { "fqn": "cdktf.TerraformDataSource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "AllowDistributionReadOnly", @@ -212,7 +212,7 @@ exports[`cloud.Domain for tf-aws > website with a domain when passing values fro "BucketWebsiteConfiguration": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "BucketWebsiteConfiguration", @@ -221,7 +221,7 @@ exports[`cloud.Domain for tf-aws > website with a domain when passing values fro "CloudfrontOac": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "CloudfrontOac", @@ -230,7 +230,7 @@ exports[`cloud.Domain for tf-aws > website with a domain when passing values fro "Distribution": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Distribution", @@ -239,7 +239,7 @@ exports[`cloud.Domain for tf-aws > website with a domain when passing values fro "DistributionS3BucketPolicy": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "DistributionS3BucketPolicy", @@ -250,7 +250,7 @@ exports[`cloud.Domain for tf-aws > website with a domain when passing values fro "Url": { "constructInfo": { "fqn": "cdktf.TerraformOutput", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Url", @@ -272,7 +272,7 @@ exports[`cloud.Domain for tf-aws > website with a domain when passing values fro "File--b.html": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "File--b.html", @@ -281,7 +281,7 @@ exports[`cloud.Domain for tf-aws > website with a domain when passing values fro "File--index.html": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "File--index.html", @@ -290,7 +290,7 @@ exports[`cloud.Domain for tf-aws > website with a domain when passing values fro "File--inner-folder--a.html": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "File--inner-folder--a.html", @@ -299,7 +299,7 @@ exports[`cloud.Domain for tf-aws > website with a domain when passing values fro "Route53Record": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Route53Record", @@ -308,7 +308,7 @@ exports[`cloud.Domain for tf-aws > website with a domain when passing values fro "WebsiteBucket": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "WebsiteBucket", @@ -329,7 +329,7 @@ exports[`cloud.Domain for tf-aws > website with a domain when passing values fro "aws": { "constructInfo": { "fqn": "cdktf.TerraformProvider", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "aws", @@ -347,7 +347,7 @@ exports[`cloud.Domain for tf-aws > website with a domain when passing values fro "backend": { "constructInfo": { "fqn": "cdktf.LocalBackend", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "backend", @@ -356,7 +356,7 @@ exports[`cloud.Domain for tf-aws > website with a domain when passing values fro }, "constructInfo": { "fqn": "cdktf.TerraformStack", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "root", @@ -365,7 +365,7 @@ exports[`cloud.Domain for tf-aws > website with a domain when passing values fro }, "constructInfo": { "fqn": "cdktf.App", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "App", @@ -578,7 +578,7 @@ exports[`cloud.Domain for tf-aws > website with a domain when passing values on "AllowDistributionReadOnly": { "constructInfo": { "fqn": "cdktf.TerraformDataSource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "AllowDistributionReadOnly", @@ -587,7 +587,7 @@ exports[`cloud.Domain for tf-aws > website with a domain when passing values on "BucketWebsiteConfiguration": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "BucketWebsiteConfiguration", @@ -596,7 +596,7 @@ exports[`cloud.Domain for tf-aws > website with a domain when passing values on "CloudfrontOac": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "CloudfrontOac", @@ -605,7 +605,7 @@ exports[`cloud.Domain for tf-aws > website with a domain when passing values on "Distribution": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Distribution", @@ -614,7 +614,7 @@ exports[`cloud.Domain for tf-aws > website with a domain when passing values on "DistributionS3BucketPolicy": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "DistributionS3BucketPolicy", @@ -625,7 +625,7 @@ exports[`cloud.Domain for tf-aws > website with a domain when passing values on "Url": { "constructInfo": { "fqn": "cdktf.TerraformOutput", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Url", @@ -647,7 +647,7 @@ exports[`cloud.Domain for tf-aws > website with a domain when passing values on "File--b.html": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "File--b.html", @@ -656,7 +656,7 @@ exports[`cloud.Domain for tf-aws > website with a domain when passing values on "File--index.html": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "File--index.html", @@ -665,7 +665,7 @@ exports[`cloud.Domain for tf-aws > website with a domain when passing values on "File--inner-folder--a.html": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "File--inner-folder--a.html", @@ -674,7 +674,7 @@ exports[`cloud.Domain for tf-aws > website with a domain when passing values on "Route53Record": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Route53Record", @@ -683,7 +683,7 @@ exports[`cloud.Domain for tf-aws > website with a domain when passing values on "WebsiteBucket": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "WebsiteBucket", @@ -704,7 +704,7 @@ exports[`cloud.Domain for tf-aws > website with a domain when passing values on "aws": { "constructInfo": { "fqn": "cdktf.TerraformProvider", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "aws", @@ -722,7 +722,7 @@ exports[`cloud.Domain for tf-aws > website with a domain when passing values on "backend": { "constructInfo": { "fqn": "cdktf.LocalBackend", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "backend", @@ -731,7 +731,7 @@ exports[`cloud.Domain for tf-aws > website with a domain when passing values on }, "constructInfo": { "fqn": "cdktf.TerraformStack", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "root", @@ -740,7 +740,7 @@ exports[`cloud.Domain for tf-aws > website with a domain when passing values on }, "constructInfo": { "fqn": "cdktf.App", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "App", diff --git a/libs/wingsdk/test/target-tf-aws/__snapshots__/function.test.ts.snap b/libs/wingsdk/test/target-tf-aws/__snapshots__/function.test.ts.snap index 979dfb79b63..3627a2df749 100644 --- a/libs/wingsdk/test/target-tf-aws/__snapshots__/function.test.ts.snap +++ b/libs/wingsdk/test/target-tf-aws/__snapshots__/function.test.ts.snap @@ -79,7 +79,7 @@ exports[`basic function 2`] = ` "Code": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Code", @@ -90,7 +90,7 @@ exports[`basic function 2`] = ` "Asset": { "constructInfo": { "fqn": "cdktf.TerraformAsset", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Asset", @@ -99,7 +99,7 @@ exports[`basic function 2`] = ` "CloudwatchLogGroup": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "CloudwatchLogGroup", @@ -108,7 +108,7 @@ exports[`basic function 2`] = ` "Default": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Default", @@ -117,7 +117,7 @@ exports[`basic function 2`] = ` "IamRole": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamRole", @@ -126,7 +126,7 @@ exports[`basic function 2`] = ` "IamRolePolicy": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamRolePolicy", @@ -135,7 +135,7 @@ exports[`basic function 2`] = ` "IamRolePolicyAttachment": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamRolePolicyAttachment", @@ -144,7 +144,7 @@ exports[`basic function 2`] = ` "S3Object": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "S3Object", @@ -176,7 +176,7 @@ exports[`basic function 2`] = ` "aws": { "constructInfo": { "fqn": "cdktf.TerraformProvider", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "aws", @@ -194,7 +194,7 @@ exports[`basic function 2`] = ` "backend": { "constructInfo": { "fqn": "cdktf.LocalBackend", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "backend", @@ -203,7 +203,7 @@ exports[`basic function 2`] = ` }, "constructInfo": { "fqn": "cdktf.TerraformStack", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "root", @@ -212,7 +212,7 @@ exports[`basic function 2`] = ` }, "constructInfo": { "fqn": "cdktf.App", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "App", @@ -301,7 +301,7 @@ exports[`basic function with custom log retention 2`] = ` "Code": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Code", @@ -312,7 +312,7 @@ exports[`basic function with custom log retention 2`] = ` "Asset": { "constructInfo": { "fqn": "cdktf.TerraformAsset", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Asset", @@ -321,7 +321,7 @@ exports[`basic function with custom log retention 2`] = ` "CloudwatchLogGroup": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "CloudwatchLogGroup", @@ -330,7 +330,7 @@ exports[`basic function with custom log retention 2`] = ` "Default": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Default", @@ -339,7 +339,7 @@ exports[`basic function with custom log retention 2`] = ` "IamRole": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamRole", @@ -348,7 +348,7 @@ exports[`basic function with custom log retention 2`] = ` "IamRolePolicy": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamRolePolicy", @@ -357,7 +357,7 @@ exports[`basic function with custom log retention 2`] = ` "IamRolePolicyAttachment": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamRolePolicyAttachment", @@ -366,7 +366,7 @@ exports[`basic function with custom log retention 2`] = ` "S3Object": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "S3Object", @@ -398,7 +398,7 @@ exports[`basic function with custom log retention 2`] = ` "aws": { "constructInfo": { "fqn": "cdktf.TerraformProvider", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "aws", @@ -416,7 +416,7 @@ exports[`basic function with custom log retention 2`] = ` "backend": { "constructInfo": { "fqn": "cdktf.LocalBackend", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "backend", @@ -425,7 +425,7 @@ exports[`basic function with custom log retention 2`] = ` }, "constructInfo": { "fqn": "cdktf.TerraformStack", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "root", @@ -434,7 +434,7 @@ exports[`basic function with custom log retention 2`] = ` }, "constructInfo": { "fqn": "cdktf.App", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "App", @@ -525,7 +525,7 @@ exports[`basic function with environment variables 2`] = ` "Code": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Code", @@ -536,7 +536,7 @@ exports[`basic function with environment variables 2`] = ` "Asset": { "constructInfo": { "fqn": "cdktf.TerraformAsset", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Asset", @@ -545,7 +545,7 @@ exports[`basic function with environment variables 2`] = ` "CloudwatchLogGroup": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "CloudwatchLogGroup", @@ -554,7 +554,7 @@ exports[`basic function with environment variables 2`] = ` "Default": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Default", @@ -563,7 +563,7 @@ exports[`basic function with environment variables 2`] = ` "IamRole": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamRole", @@ -572,7 +572,7 @@ exports[`basic function with environment variables 2`] = ` "IamRolePolicy": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamRolePolicy", @@ -581,7 +581,7 @@ exports[`basic function with environment variables 2`] = ` "IamRolePolicyAttachment": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamRolePolicyAttachment", @@ -590,7 +590,7 @@ exports[`basic function with environment variables 2`] = ` "S3Object": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "S3Object", @@ -622,7 +622,7 @@ exports[`basic function with environment variables 2`] = ` "aws": { "constructInfo": { "fqn": "cdktf.TerraformProvider", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "aws", @@ -640,7 +640,7 @@ exports[`basic function with environment variables 2`] = ` "backend": { "constructInfo": { "fqn": "cdktf.LocalBackend", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "backend", @@ -649,7 +649,7 @@ exports[`basic function with environment variables 2`] = ` }, "constructInfo": { "fqn": "cdktf.TerraformStack", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "root", @@ -658,7 +658,7 @@ exports[`basic function with environment variables 2`] = ` }, "constructInfo": { "fqn": "cdktf.App", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "App", @@ -741,7 +741,7 @@ exports[`basic function with infinite log retention 2`] = ` "Code": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Code", @@ -752,7 +752,7 @@ exports[`basic function with infinite log retention 2`] = ` "Asset": { "constructInfo": { "fqn": "cdktf.TerraformAsset", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Asset", @@ -761,7 +761,7 @@ exports[`basic function with infinite log retention 2`] = ` "Default": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Default", @@ -770,7 +770,7 @@ exports[`basic function with infinite log retention 2`] = ` "IamRole": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamRole", @@ -779,7 +779,7 @@ exports[`basic function with infinite log retention 2`] = ` "IamRolePolicy": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamRolePolicy", @@ -788,7 +788,7 @@ exports[`basic function with infinite log retention 2`] = ` "IamRolePolicyAttachment": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamRolePolicyAttachment", @@ -797,7 +797,7 @@ exports[`basic function with infinite log retention 2`] = ` "S3Object": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "S3Object", @@ -829,7 +829,7 @@ exports[`basic function with infinite log retention 2`] = ` "aws": { "constructInfo": { "fqn": "cdktf.TerraformProvider", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "aws", @@ -847,7 +847,7 @@ exports[`basic function with infinite log retention 2`] = ` "backend": { "constructInfo": { "fqn": "cdktf.LocalBackend", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "backend", @@ -856,7 +856,7 @@ exports[`basic function with infinite log retention 2`] = ` }, "constructInfo": { "fqn": "cdktf.TerraformStack", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "root", @@ -865,7 +865,7 @@ exports[`basic function with infinite log retention 2`] = ` }, "constructInfo": { "fqn": "cdktf.App", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "App", @@ -954,7 +954,7 @@ exports[`basic function with memory size specified 2`] = ` "Code": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Code", @@ -965,7 +965,7 @@ exports[`basic function with memory size specified 2`] = ` "Asset": { "constructInfo": { "fqn": "cdktf.TerraformAsset", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Asset", @@ -974,7 +974,7 @@ exports[`basic function with memory size specified 2`] = ` "CloudwatchLogGroup": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "CloudwatchLogGroup", @@ -983,7 +983,7 @@ exports[`basic function with memory size specified 2`] = ` "Default": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Default", @@ -992,7 +992,7 @@ exports[`basic function with memory size specified 2`] = ` "IamRole": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamRole", @@ -1001,7 +1001,7 @@ exports[`basic function with memory size specified 2`] = ` "IamRolePolicy": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamRolePolicy", @@ -1010,7 +1010,7 @@ exports[`basic function with memory size specified 2`] = ` "IamRolePolicyAttachment": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamRolePolicyAttachment", @@ -1019,7 +1019,7 @@ exports[`basic function with memory size specified 2`] = ` "S3Object": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "S3Object", @@ -1051,7 +1051,7 @@ exports[`basic function with memory size specified 2`] = ` "aws": { "constructInfo": { "fqn": "cdktf.TerraformProvider", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "aws", @@ -1069,7 +1069,7 @@ exports[`basic function with memory size specified 2`] = ` "backend": { "constructInfo": { "fqn": "cdktf.LocalBackend", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "backend", @@ -1078,7 +1078,7 @@ exports[`basic function with memory size specified 2`] = ` }, "constructInfo": { "fqn": "cdktf.TerraformStack", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "root", @@ -1087,7 +1087,7 @@ exports[`basic function with memory size specified 2`] = ` }, "constructInfo": { "fqn": "cdktf.App", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "App", @@ -1176,7 +1176,7 @@ exports[`basic function with timeout explicitly set 2`] = ` "Code": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Code", @@ -1187,7 +1187,7 @@ exports[`basic function with timeout explicitly set 2`] = ` "Asset": { "constructInfo": { "fqn": "cdktf.TerraformAsset", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Asset", @@ -1196,7 +1196,7 @@ exports[`basic function with timeout explicitly set 2`] = ` "CloudwatchLogGroup": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "CloudwatchLogGroup", @@ -1205,7 +1205,7 @@ exports[`basic function with timeout explicitly set 2`] = ` "Default": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Default", @@ -1214,7 +1214,7 @@ exports[`basic function with timeout explicitly set 2`] = ` "IamRole": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamRole", @@ -1223,7 +1223,7 @@ exports[`basic function with timeout explicitly set 2`] = ` "IamRolePolicy": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamRolePolicy", @@ -1232,7 +1232,7 @@ exports[`basic function with timeout explicitly set 2`] = ` "IamRolePolicyAttachment": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamRolePolicyAttachment", @@ -1241,7 +1241,7 @@ exports[`basic function with timeout explicitly set 2`] = ` "S3Object": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "S3Object", @@ -1273,7 +1273,7 @@ exports[`basic function with timeout explicitly set 2`] = ` "aws": { "constructInfo": { "fqn": "cdktf.TerraformProvider", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "aws", @@ -1291,7 +1291,7 @@ exports[`basic function with timeout explicitly set 2`] = ` "backend": { "constructInfo": { "fqn": "cdktf.LocalBackend", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "backend", @@ -1300,7 +1300,7 @@ exports[`basic function with timeout explicitly set 2`] = ` }, "constructInfo": { "fqn": "cdktf.TerraformStack", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "root", @@ -1309,7 +1309,7 @@ exports[`basic function with timeout explicitly set 2`] = ` }, "constructInfo": { "fqn": "cdktf.App", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "App", @@ -1398,7 +1398,7 @@ exports[`function name valid 2`] = ` "Code": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Code", @@ -1420,7 +1420,7 @@ exports[`function name valid 2`] = ` "Asset": { "constructInfo": { "fqn": "cdktf.TerraformAsset", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Asset", @@ -1429,7 +1429,7 @@ exports[`function name valid 2`] = ` "CloudwatchLogGroup": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "CloudwatchLogGroup", @@ -1438,7 +1438,7 @@ exports[`function name valid 2`] = ` "Default": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Default", @@ -1447,7 +1447,7 @@ exports[`function name valid 2`] = ` "IamRole": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamRole", @@ -1456,7 +1456,7 @@ exports[`function name valid 2`] = ` "IamRolePolicy": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamRolePolicy", @@ -1465,7 +1465,7 @@ exports[`function name valid 2`] = ` "IamRolePolicyAttachment": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamRolePolicyAttachment", @@ -1474,7 +1474,7 @@ exports[`function name valid 2`] = ` "S3Object": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "S3Object", @@ -1495,7 +1495,7 @@ exports[`function name valid 2`] = ` "aws": { "constructInfo": { "fqn": "cdktf.TerraformProvider", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "aws", @@ -1513,7 +1513,7 @@ exports[`function name valid 2`] = ` "backend": { "constructInfo": { "fqn": "cdktf.LocalBackend", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "backend", @@ -1522,7 +1522,7 @@ exports[`function name valid 2`] = ` }, "constructInfo": { "fqn": "cdktf.TerraformStack", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "root", @@ -1531,7 +1531,7 @@ exports[`function name valid 2`] = ` }, "constructInfo": { "fqn": "cdktf.App", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "App", @@ -1859,7 +1859,7 @@ exports[`replace invalid character from function name 2`] = ` "Code": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Code", @@ -1881,7 +1881,7 @@ exports[`replace invalid character from function name 2`] = ` "Asset": { "constructInfo": { "fqn": "cdktf.TerraformAsset", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Asset", @@ -1890,7 +1890,7 @@ exports[`replace invalid character from function name 2`] = ` "CloudwatchLogGroup": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "CloudwatchLogGroup", @@ -1899,7 +1899,7 @@ exports[`replace invalid character from function name 2`] = ` "Default": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Default", @@ -1908,7 +1908,7 @@ exports[`replace invalid character from function name 2`] = ` "IamRole": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamRole", @@ -1917,7 +1917,7 @@ exports[`replace invalid character from function name 2`] = ` "IamRolePolicy": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamRolePolicy", @@ -1926,7 +1926,7 @@ exports[`replace invalid character from function name 2`] = ` "IamRolePolicyAttachment": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamRolePolicyAttachment", @@ -1935,7 +1935,7 @@ exports[`replace invalid character from function name 2`] = ` "S3Object": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "S3Object", @@ -1956,7 +1956,7 @@ exports[`replace invalid character from function name 2`] = ` "aws": { "constructInfo": { "fqn": "cdktf.TerraformProvider", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "aws", @@ -1974,7 +1974,7 @@ exports[`replace invalid character from function name 2`] = ` "backend": { "constructInfo": { "fqn": "cdktf.LocalBackend", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "backend", @@ -1983,7 +1983,7 @@ exports[`replace invalid character from function name 2`] = ` }, "constructInfo": { "fqn": "cdktf.TerraformStack", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "root", @@ -1992,7 +1992,7 @@ exports[`replace invalid character from function name 2`] = ` }, "constructInfo": { "fqn": "cdktf.App", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "App", diff --git a/libs/wingsdk/test/target-tf-aws/__snapshots__/on-deploy.test.ts.snap b/libs/wingsdk/test/target-tf-aws/__snapshots__/on-deploy.test.ts.snap index 2452a0ec5c4..dce4cbba056 100644 --- a/libs/wingsdk/test/target-tf-aws/__snapshots__/on-deploy.test.ts.snap +++ b/libs/wingsdk/test/target-tf-aws/__snapshots__/on-deploy.test.ts.snap @@ -88,7 +88,7 @@ exports[`create an OnDeploy 2`] = ` "Code": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Code", @@ -108,7 +108,7 @@ exports[`create an OnDeploy 2`] = ` "aws": { "constructInfo": { "fqn": "cdktf.TerraformProvider", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "aws", @@ -121,7 +121,7 @@ exports[`create an OnDeploy 2`] = ` "Asset": { "constructInfo": { "fqn": "cdktf.TerraformAsset", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Asset", @@ -130,7 +130,7 @@ exports[`create an OnDeploy 2`] = ` "CloudwatchLogGroup": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "CloudwatchLogGroup", @@ -139,7 +139,7 @@ exports[`create an OnDeploy 2`] = ` "Default": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Default", @@ -148,7 +148,7 @@ exports[`create an OnDeploy 2`] = ` "IamRole": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamRole", @@ -157,7 +157,7 @@ exports[`create an OnDeploy 2`] = ` "IamRolePolicy": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamRolePolicy", @@ -166,7 +166,7 @@ exports[`create an OnDeploy 2`] = ` "IamRolePolicyAttachment": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamRolePolicyAttachment", @@ -175,7 +175,7 @@ exports[`create an OnDeploy 2`] = ` "S3Object": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "S3Object", @@ -196,7 +196,7 @@ exports[`create an OnDeploy 2`] = ` "Invocation": { "constructInfo": { "fqn": "cdktf.TerraformDataSource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Invocation", @@ -226,7 +226,7 @@ exports[`create an OnDeploy 2`] = ` "backend": { "constructInfo": { "fqn": "cdktf.LocalBackend", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "backend", @@ -235,7 +235,7 @@ exports[`create an OnDeploy 2`] = ` }, "constructInfo": { "fqn": "cdktf.TerraformStack", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "root", @@ -244,7 +244,7 @@ exports[`create an OnDeploy 2`] = ` }, "constructInfo": { "fqn": "cdktf.App", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "App", @@ -348,7 +348,7 @@ exports[`execute OnDeploy after other resources 2`] = ` "Code": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Code", @@ -368,7 +368,7 @@ exports[`execute OnDeploy after other resources 2`] = ` "aws": { "constructInfo": { "fqn": "cdktf.TerraformProvider", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "aws", @@ -379,7 +379,7 @@ exports[`execute OnDeploy after other resources 2`] = ` "Default": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Default", @@ -404,7 +404,7 @@ exports[`execute OnDeploy after other resources 2`] = ` "Asset": { "constructInfo": { "fqn": "cdktf.TerraformAsset", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Asset", @@ -413,7 +413,7 @@ exports[`execute OnDeploy after other resources 2`] = ` "CloudwatchLogGroup": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "CloudwatchLogGroup", @@ -422,7 +422,7 @@ exports[`execute OnDeploy after other resources 2`] = ` "Default": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Default", @@ -431,7 +431,7 @@ exports[`execute OnDeploy after other resources 2`] = ` "IamRole": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamRole", @@ -440,7 +440,7 @@ exports[`execute OnDeploy after other resources 2`] = ` "IamRolePolicy": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamRolePolicy", @@ -449,7 +449,7 @@ exports[`execute OnDeploy after other resources 2`] = ` "IamRolePolicyAttachment": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamRolePolicyAttachment", @@ -458,7 +458,7 @@ exports[`execute OnDeploy after other resources 2`] = ` "S3Object": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "S3Object", @@ -479,7 +479,7 @@ exports[`execute OnDeploy after other resources 2`] = ` "Invocation": { "constructInfo": { "fqn": "cdktf.TerraformDataSource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Invocation", @@ -509,7 +509,7 @@ exports[`execute OnDeploy after other resources 2`] = ` "backend": { "constructInfo": { "fqn": "cdktf.LocalBackend", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "backend", @@ -518,7 +518,7 @@ exports[`execute OnDeploy after other resources 2`] = ` }, "constructInfo": { "fqn": "cdktf.TerraformStack", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "root", @@ -527,7 +527,7 @@ exports[`execute OnDeploy after other resources 2`] = ` }, "constructInfo": { "fqn": "cdktf.App", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "App", @@ -632,7 +632,7 @@ exports[`execute OnDeploy before other resources 2`] = ` "Code": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Code", @@ -652,7 +652,7 @@ exports[`execute OnDeploy before other resources 2`] = ` "aws": { "constructInfo": { "fqn": "cdktf.TerraformProvider", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "aws", @@ -663,7 +663,7 @@ exports[`execute OnDeploy before other resources 2`] = ` "Default": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Default", @@ -688,7 +688,7 @@ exports[`execute OnDeploy before other resources 2`] = ` "Asset": { "constructInfo": { "fqn": "cdktf.TerraformAsset", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Asset", @@ -697,7 +697,7 @@ exports[`execute OnDeploy before other resources 2`] = ` "CloudwatchLogGroup": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "CloudwatchLogGroup", @@ -706,7 +706,7 @@ exports[`execute OnDeploy before other resources 2`] = ` "Default": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Default", @@ -715,7 +715,7 @@ exports[`execute OnDeploy before other resources 2`] = ` "IamRole": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamRole", @@ -724,7 +724,7 @@ exports[`execute OnDeploy before other resources 2`] = ` "IamRolePolicy": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamRolePolicy", @@ -733,7 +733,7 @@ exports[`execute OnDeploy before other resources 2`] = ` "IamRolePolicyAttachment": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamRolePolicyAttachment", @@ -742,7 +742,7 @@ exports[`execute OnDeploy before other resources 2`] = ` "S3Object": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "S3Object", @@ -763,7 +763,7 @@ exports[`execute OnDeploy before other resources 2`] = ` "Invocation": { "constructInfo": { "fqn": "cdktf.TerraformDataSource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Invocation", @@ -793,7 +793,7 @@ exports[`execute OnDeploy before other resources 2`] = ` "backend": { "constructInfo": { "fqn": "cdktf.LocalBackend", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "backend", @@ -802,7 +802,7 @@ exports[`execute OnDeploy before other resources 2`] = ` }, "constructInfo": { "fqn": "cdktf.TerraformStack", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "root", @@ -811,7 +811,7 @@ exports[`execute OnDeploy before other resources 2`] = ` }, "constructInfo": { "fqn": "cdktf.App", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "App", diff --git a/libs/wingsdk/test/target-tf-aws/__snapshots__/queue.test.ts.snap b/libs/wingsdk/test/target-tf-aws/__snapshots__/queue.test.ts.snap index aee851cbec8..e7fbac38e3d 100644 --- a/libs/wingsdk/test/target-tf-aws/__snapshots__/queue.test.ts.snap +++ b/libs/wingsdk/test/target-tf-aws/__snapshots__/queue.test.ts.snap @@ -214,7 +214,7 @@ exports[`QueueRef in an TFAWS app can be used to reference an existing queue 2`] "Code": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Code", @@ -225,7 +225,7 @@ exports[`QueueRef in an TFAWS app can be used to reference an existing queue 2`] "Asset": { "constructInfo": { "fqn": "cdktf.TerraformAsset", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Asset", @@ -234,7 +234,7 @@ exports[`QueueRef in an TFAWS app can be used to reference an existing queue 2`] "CloudwatchLogGroup": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "CloudwatchLogGroup", @@ -243,7 +243,7 @@ exports[`QueueRef in an TFAWS app can be used to reference an existing queue 2`] "Default": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Default", @@ -252,7 +252,7 @@ exports[`QueueRef in an TFAWS app can be used to reference an existing queue 2`] "IamRole": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamRole", @@ -261,7 +261,7 @@ exports[`QueueRef in an TFAWS app can be used to reference an existing queue 2`] "IamRolePolicy": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamRolePolicy", @@ -270,7 +270,7 @@ exports[`QueueRef in an TFAWS app can be used to reference an existing queue 2`] "IamRolePolicyAttachment": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamRolePolicyAttachment", @@ -279,7 +279,7 @@ exports[`QueueRef in an TFAWS app can be used to reference an existing queue 2`] "S3Object": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "S3Object", @@ -317,7 +317,7 @@ exports[`QueueRef in an TFAWS app can be used to reference an existing queue 2`] "Asset": { "constructInfo": { "fqn": "cdktf.TerraformAsset", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Asset", @@ -326,7 +326,7 @@ exports[`QueueRef in an TFAWS app can be used to reference an existing queue 2`] "CloudwatchLogGroup": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "CloudwatchLogGroup", @@ -335,7 +335,7 @@ exports[`QueueRef in an TFAWS app can be used to reference an existing queue 2`] "Default": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Default", @@ -344,7 +344,7 @@ exports[`QueueRef in an TFAWS app can be used to reference an existing queue 2`] "IamRole": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamRole", @@ -353,7 +353,7 @@ exports[`QueueRef in an TFAWS app can be used to reference an existing queue 2`] "IamRolePolicy": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamRolePolicy", @@ -362,7 +362,7 @@ exports[`QueueRef in an TFAWS app can be used to reference an existing queue 2`] "IamRolePolicyAttachment": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamRolePolicyAttachment", @@ -371,7 +371,7 @@ exports[`QueueRef in an TFAWS app can be used to reference an existing queue 2`] "S3Object": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "S3Object", @@ -407,7 +407,7 @@ exports[`QueueRef in an TFAWS app can be used to reference an existing queue 2`] "Asset": { "constructInfo": { "fqn": "cdktf.TerraformAsset", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Asset", @@ -416,7 +416,7 @@ exports[`QueueRef in an TFAWS app can be used to reference an existing queue 2`] "CloudwatchLogGroup": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "CloudwatchLogGroup", @@ -425,7 +425,7 @@ exports[`QueueRef in an TFAWS app can be used to reference an existing queue 2`] "Default": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Default", @@ -434,7 +434,7 @@ exports[`QueueRef in an TFAWS app can be used to reference an existing queue 2`] "IamRole": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamRole", @@ -443,7 +443,7 @@ exports[`QueueRef in an TFAWS app can be used to reference an existing queue 2`] "IamRolePolicy": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamRolePolicy", @@ -452,7 +452,7 @@ exports[`QueueRef in an TFAWS app can be used to reference an existing queue 2`] "IamRolePolicyAttachment": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamRolePolicyAttachment", @@ -461,7 +461,7 @@ exports[`QueueRef in an TFAWS app can be used to reference an existing queue 2`] "S3Object": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "S3Object", @@ -497,7 +497,7 @@ exports[`QueueRef in an TFAWS app can be used to reference an existing queue 2`] "Asset": { "constructInfo": { "fqn": "cdktf.TerraformAsset", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Asset", @@ -506,7 +506,7 @@ exports[`QueueRef in an TFAWS app can be used to reference an existing queue 2`] "CloudwatchLogGroup": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "CloudwatchLogGroup", @@ -515,7 +515,7 @@ exports[`QueueRef in an TFAWS app can be used to reference an existing queue 2`] "Default": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Default", @@ -524,7 +524,7 @@ exports[`QueueRef in an TFAWS app can be used to reference an existing queue 2`] "IamRole": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamRole", @@ -533,7 +533,7 @@ exports[`QueueRef in an TFAWS app can be used to reference an existing queue 2`] "IamRolePolicy": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamRolePolicy", @@ -542,7 +542,7 @@ exports[`QueueRef in an TFAWS app can be used to reference an existing queue 2`] "IamRolePolicyAttachment": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamRolePolicyAttachment", @@ -551,7 +551,7 @@ exports[`QueueRef in an TFAWS app can be used to reference an existing queue 2`] "S3Object": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "S3Object", @@ -613,7 +613,7 @@ exports[`QueueRef in an TFAWS app can be used to reference an existing queue 2`] "aws": { "constructInfo": { "fqn": "cdktf.TerraformProvider", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "aws", @@ -631,7 +631,7 @@ exports[`QueueRef in an TFAWS app can be used to reference an existing queue 2`] "backend": { "constructInfo": { "fqn": "cdktf.LocalBackend", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "backend", @@ -640,7 +640,7 @@ exports[`QueueRef in an TFAWS app can be used to reference an existing queue 2`] }, "constructInfo": { "fqn": "cdktf.TerraformStack", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "root", @@ -649,7 +649,7 @@ exports[`QueueRef in an TFAWS app can be used to reference an existing queue 2`] }, "constructInfo": { "fqn": "cdktf.App", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "App", @@ -686,7 +686,7 @@ exports[`default queue behavior 2`] = ` "Default": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Default", @@ -707,7 +707,7 @@ exports[`default queue behavior 2`] = ` "aws": { "constructInfo": { "fqn": "cdktf.TerraformProvider", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "aws", @@ -725,7 +725,7 @@ exports[`default queue behavior 2`] = ` "backend": { "constructInfo": { "fqn": "cdktf.LocalBackend", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "backend", @@ -734,7 +734,7 @@ exports[`default queue behavior 2`] = ` }, "constructInfo": { "fqn": "cdktf.TerraformStack", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "root", @@ -743,7 +743,7 @@ exports[`default queue behavior 2`] = ` }, "constructInfo": { "fqn": "cdktf.App", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "App", @@ -780,7 +780,7 @@ exports[`queue name valid 2`] = ` "Default": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Default", @@ -801,7 +801,7 @@ exports[`queue name valid 2`] = ` "aws": { "constructInfo": { "fqn": "cdktf.TerraformProvider", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "aws", @@ -819,7 +819,7 @@ exports[`queue name valid 2`] = ` "backend": { "constructInfo": { "fqn": "cdktf.LocalBackend", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "backend", @@ -828,7 +828,7 @@ exports[`queue name valid 2`] = ` }, "constructInfo": { "fqn": "cdktf.TerraformStack", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "root", @@ -837,7 +837,7 @@ exports[`queue name valid 2`] = ` }, "constructInfo": { "fqn": "cdktf.App", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "App", @@ -945,7 +945,7 @@ exports[`queue with a consumer function 3`] = ` "Code": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Code", @@ -967,7 +967,7 @@ exports[`queue with a consumer function 3`] = ` "Default": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Default", @@ -976,7 +976,7 @@ exports[`queue with a consumer function 3`] = ` "EventSourceMapping": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "EventSourceMapping", @@ -999,7 +999,7 @@ exports[`queue with a consumer function 3`] = ` "Asset": { "constructInfo": { "fqn": "cdktf.TerraformAsset", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Asset", @@ -1008,7 +1008,7 @@ exports[`queue with a consumer function 3`] = ` "CloudwatchLogGroup": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "CloudwatchLogGroup", @@ -1017,7 +1017,7 @@ exports[`queue with a consumer function 3`] = ` "Default": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Default", @@ -1026,7 +1026,7 @@ exports[`queue with a consumer function 3`] = ` "IamRole": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamRole", @@ -1035,7 +1035,7 @@ exports[`queue with a consumer function 3`] = ` "IamRolePolicy": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamRolePolicy", @@ -1044,7 +1044,7 @@ exports[`queue with a consumer function 3`] = ` "IamRolePolicyAttachment": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamRolePolicyAttachment", @@ -1053,7 +1053,7 @@ exports[`queue with a consumer function 3`] = ` "S3Object": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "S3Object", @@ -1074,7 +1074,7 @@ exports[`queue with a consumer function 3`] = ` "aws": { "constructInfo": { "fqn": "cdktf.TerraformProvider", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "aws", @@ -1092,7 +1092,7 @@ exports[`queue with a consumer function 3`] = ` "backend": { "constructInfo": { "fqn": "cdktf.LocalBackend", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "backend", @@ -1101,7 +1101,7 @@ exports[`queue with a consumer function 3`] = ` }, "constructInfo": { "fqn": "cdktf.TerraformStack", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "root", @@ -1110,7 +1110,7 @@ exports[`queue with a consumer function 3`] = ` }, "constructInfo": { "fqn": "cdktf.App", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "App", @@ -1147,7 +1147,7 @@ exports[`queue with custom retention 2`] = ` "Default": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Default", @@ -1168,7 +1168,7 @@ exports[`queue with custom retention 2`] = ` "aws": { "constructInfo": { "fqn": "cdktf.TerraformProvider", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "aws", @@ -1186,7 +1186,7 @@ exports[`queue with custom retention 2`] = ` "backend": { "constructInfo": { "fqn": "cdktf.LocalBackend", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "backend", @@ -1195,7 +1195,7 @@ exports[`queue with custom retention 2`] = ` }, "constructInfo": { "fqn": "cdktf.TerraformStack", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "root", @@ -1204,7 +1204,7 @@ exports[`queue with custom retention 2`] = ` }, "constructInfo": { "fqn": "cdktf.App", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "App", @@ -1241,7 +1241,7 @@ exports[`queue with custom timeout 2`] = ` "Default": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Default", @@ -1262,7 +1262,7 @@ exports[`queue with custom timeout 2`] = ` "aws": { "constructInfo": { "fqn": "cdktf.TerraformProvider", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "aws", @@ -1280,7 +1280,7 @@ exports[`queue with custom timeout 2`] = ` "backend": { "constructInfo": { "fqn": "cdktf.LocalBackend", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "backend", @@ -1289,7 +1289,7 @@ exports[`queue with custom timeout 2`] = ` }, "constructInfo": { "fqn": "cdktf.TerraformStack", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "root", @@ -1298,7 +1298,7 @@ exports[`queue with custom timeout 2`] = ` }, "constructInfo": { "fqn": "cdktf.App", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "App", @@ -1335,7 +1335,7 @@ exports[`replace invalid character from queue name 2`] = ` "Default": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Default", @@ -1356,7 +1356,7 @@ exports[`replace invalid character from queue name 2`] = ` "aws": { "constructInfo": { "fqn": "cdktf.TerraformProvider", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "aws", @@ -1374,7 +1374,7 @@ exports[`replace invalid character from queue name 2`] = ` "backend": { "constructInfo": { "fqn": "cdktf.LocalBackend", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "backend", @@ -1383,7 +1383,7 @@ exports[`replace invalid character from queue name 2`] = ` }, "constructInfo": { "fqn": "cdktf.TerraformStack", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "root", @@ -1392,7 +1392,7 @@ exports[`replace invalid character from queue name 2`] = ` }, "constructInfo": { "fqn": "cdktf.App", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "App", diff --git a/libs/wingsdk/test/target-tf-aws/__snapshots__/schedule.test.ts.snap b/libs/wingsdk/test/target-tf-aws/__snapshots__/schedule.test.ts.snap index 4ad855ffa6c..d6108f1c004 100644 --- a/libs/wingsdk/test/target-tf-aws/__snapshots__/schedule.test.ts.snap +++ b/libs/wingsdk/test/target-tf-aws/__snapshots__/schedule.test.ts.snap @@ -99,7 +99,7 @@ exports[`convert single dayOfWeek from Unix to AWS 2`] = ` "Code": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Code", @@ -123,7 +123,7 @@ exports[`convert single dayOfWeek from Unix to AWS 2`] = ` "Asset": { "constructInfo": { "fqn": "cdktf.TerraformAsset", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Asset", @@ -132,7 +132,7 @@ exports[`convert single dayOfWeek from Unix to AWS 2`] = ` "CloudwatchLogGroup": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "CloudwatchLogGroup", @@ -141,7 +141,7 @@ exports[`convert single dayOfWeek from Unix to AWS 2`] = ` "Default": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Default", @@ -150,7 +150,7 @@ exports[`convert single dayOfWeek from Unix to AWS 2`] = ` "IamRole": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamRole", @@ -159,7 +159,7 @@ exports[`convert single dayOfWeek from Unix to AWS 2`] = ` "IamRolePolicy": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamRolePolicy", @@ -168,7 +168,7 @@ exports[`convert single dayOfWeek from Unix to AWS 2`] = ` "IamRolePolicyAttachment": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamRolePolicyAttachment", @@ -177,7 +177,7 @@ exports[`convert single dayOfWeek from Unix to AWS 2`] = ` "InvokePermission-c8b3fc394731d07e61c00e422c6b234372c09bc3b3": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "InvokePermission-c8b3fc394731d07e61c00e422c6b234372c09bc3b3", @@ -186,7 +186,7 @@ exports[`convert single dayOfWeek from Unix to AWS 2`] = ` "S3Object": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "S3Object", @@ -207,7 +207,7 @@ exports[`convert single dayOfWeek from Unix to AWS 2`] = ` "Schedule": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Schedule", @@ -216,7 +216,7 @@ exports[`convert single dayOfWeek from Unix to AWS 2`] = ` "ScheduleTarget0": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "ScheduleTarget0", @@ -237,7 +237,7 @@ exports[`convert single dayOfWeek from Unix to AWS 2`] = ` "aws": { "constructInfo": { "fqn": "cdktf.TerraformProvider", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "aws", @@ -255,7 +255,7 @@ exports[`convert single dayOfWeek from Unix to AWS 2`] = ` "backend": { "constructInfo": { "fqn": "cdktf.LocalBackend", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "backend", @@ -264,7 +264,7 @@ exports[`convert single dayOfWeek from Unix to AWS 2`] = ` }, "constructInfo": { "fqn": "cdktf.TerraformStack", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "root", @@ -273,7 +273,7 @@ exports[`convert single dayOfWeek from Unix to AWS 2`] = ` }, "constructInfo": { "fqn": "cdktf.App", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "App", @@ -382,7 +382,7 @@ exports[`convert the list of dayOfWeek from Unix to AWS 2`] = ` "Code": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Code", @@ -406,7 +406,7 @@ exports[`convert the list of dayOfWeek from Unix to AWS 2`] = ` "Asset": { "constructInfo": { "fqn": "cdktf.TerraformAsset", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Asset", @@ -415,7 +415,7 @@ exports[`convert the list of dayOfWeek from Unix to AWS 2`] = ` "CloudwatchLogGroup": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "CloudwatchLogGroup", @@ -424,7 +424,7 @@ exports[`convert the list of dayOfWeek from Unix to AWS 2`] = ` "Default": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Default", @@ -433,7 +433,7 @@ exports[`convert the list of dayOfWeek from Unix to AWS 2`] = ` "IamRole": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamRole", @@ -442,7 +442,7 @@ exports[`convert the list of dayOfWeek from Unix to AWS 2`] = ` "IamRolePolicy": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamRolePolicy", @@ -451,7 +451,7 @@ exports[`convert the list of dayOfWeek from Unix to AWS 2`] = ` "IamRolePolicyAttachment": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamRolePolicyAttachment", @@ -460,7 +460,7 @@ exports[`convert the list of dayOfWeek from Unix to AWS 2`] = ` "InvokePermission-c8b3fc394731d07e61c00e422c6b234372c09bc3b3": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "InvokePermission-c8b3fc394731d07e61c00e422c6b234372c09bc3b3", @@ -469,7 +469,7 @@ exports[`convert the list of dayOfWeek from Unix to AWS 2`] = ` "S3Object": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "S3Object", @@ -490,7 +490,7 @@ exports[`convert the list of dayOfWeek from Unix to AWS 2`] = ` "Schedule": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Schedule", @@ -499,7 +499,7 @@ exports[`convert the list of dayOfWeek from Unix to AWS 2`] = ` "ScheduleTarget0": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "ScheduleTarget0", @@ -520,7 +520,7 @@ exports[`convert the list of dayOfWeek from Unix to AWS 2`] = ` "aws": { "constructInfo": { "fqn": "cdktf.TerraformProvider", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "aws", @@ -538,7 +538,7 @@ exports[`convert the list of dayOfWeek from Unix to AWS 2`] = ` "backend": { "constructInfo": { "fqn": "cdktf.LocalBackend", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "backend", @@ -547,7 +547,7 @@ exports[`convert the list of dayOfWeek from Unix to AWS 2`] = ` }, "constructInfo": { "fqn": "cdktf.TerraformStack", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "root", @@ -556,7 +556,7 @@ exports[`convert the list of dayOfWeek from Unix to AWS 2`] = ` }, "constructInfo": { "fqn": "cdktf.App", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "App", @@ -665,7 +665,7 @@ exports[`convert the range of dayOfWeek from Unix to AWS 2`] = ` "Code": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Code", @@ -689,7 +689,7 @@ exports[`convert the range of dayOfWeek from Unix to AWS 2`] = ` "Asset": { "constructInfo": { "fqn": "cdktf.TerraformAsset", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Asset", @@ -698,7 +698,7 @@ exports[`convert the range of dayOfWeek from Unix to AWS 2`] = ` "CloudwatchLogGroup": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "CloudwatchLogGroup", @@ -707,7 +707,7 @@ exports[`convert the range of dayOfWeek from Unix to AWS 2`] = ` "Default": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Default", @@ -716,7 +716,7 @@ exports[`convert the range of dayOfWeek from Unix to AWS 2`] = ` "IamRole": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamRole", @@ -725,7 +725,7 @@ exports[`convert the range of dayOfWeek from Unix to AWS 2`] = ` "IamRolePolicy": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamRolePolicy", @@ -734,7 +734,7 @@ exports[`convert the range of dayOfWeek from Unix to AWS 2`] = ` "IamRolePolicyAttachment": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamRolePolicyAttachment", @@ -743,7 +743,7 @@ exports[`convert the range of dayOfWeek from Unix to AWS 2`] = ` "InvokePermission-c8b3fc394731d07e61c00e422c6b234372c09bc3b3": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "InvokePermission-c8b3fc394731d07e61c00e422c6b234372c09bc3b3", @@ -752,7 +752,7 @@ exports[`convert the range of dayOfWeek from Unix to AWS 2`] = ` "S3Object": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "S3Object", @@ -773,7 +773,7 @@ exports[`convert the range of dayOfWeek from Unix to AWS 2`] = ` "Schedule": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Schedule", @@ -782,7 +782,7 @@ exports[`convert the range of dayOfWeek from Unix to AWS 2`] = ` "ScheduleTarget0": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "ScheduleTarget0", @@ -803,7 +803,7 @@ exports[`convert the range of dayOfWeek from Unix to AWS 2`] = ` "aws": { "constructInfo": { "fqn": "cdktf.TerraformProvider", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "aws", @@ -821,7 +821,7 @@ exports[`convert the range of dayOfWeek from Unix to AWS 2`] = ` "backend": { "constructInfo": { "fqn": "cdktf.LocalBackend", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "backend", @@ -830,7 +830,7 @@ exports[`convert the range of dayOfWeek from Unix to AWS 2`] = ` }, "constructInfo": { "fqn": "cdktf.TerraformStack", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "root", @@ -839,7 +839,7 @@ exports[`convert the range of dayOfWeek from Unix to AWS 2`] = ` }, "constructInfo": { "fqn": "cdktf.App", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "App", @@ -948,7 +948,7 @@ exports[`schedule behavior with cron 2`] = ` "Code": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Code", @@ -972,7 +972,7 @@ exports[`schedule behavior with cron 2`] = ` "Asset": { "constructInfo": { "fqn": "cdktf.TerraformAsset", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Asset", @@ -981,7 +981,7 @@ exports[`schedule behavior with cron 2`] = ` "CloudwatchLogGroup": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "CloudwatchLogGroup", @@ -990,7 +990,7 @@ exports[`schedule behavior with cron 2`] = ` "Default": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Default", @@ -999,7 +999,7 @@ exports[`schedule behavior with cron 2`] = ` "IamRole": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamRole", @@ -1008,7 +1008,7 @@ exports[`schedule behavior with cron 2`] = ` "IamRolePolicy": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamRolePolicy", @@ -1017,7 +1017,7 @@ exports[`schedule behavior with cron 2`] = ` "IamRolePolicyAttachment": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamRolePolicyAttachment", @@ -1026,7 +1026,7 @@ exports[`schedule behavior with cron 2`] = ` "InvokePermission-c8b3fc394731d07e61c00e422c6b234372c09bc3b3": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "InvokePermission-c8b3fc394731d07e61c00e422c6b234372c09bc3b3", @@ -1035,7 +1035,7 @@ exports[`schedule behavior with cron 2`] = ` "S3Object": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "S3Object", @@ -1056,7 +1056,7 @@ exports[`schedule behavior with cron 2`] = ` "Schedule": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Schedule", @@ -1065,7 +1065,7 @@ exports[`schedule behavior with cron 2`] = ` "ScheduleTarget0": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "ScheduleTarget0", @@ -1086,7 +1086,7 @@ exports[`schedule behavior with cron 2`] = ` "aws": { "constructInfo": { "fqn": "cdktf.TerraformProvider", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "aws", @@ -1104,7 +1104,7 @@ exports[`schedule behavior with cron 2`] = ` "backend": { "constructInfo": { "fqn": "cdktf.LocalBackend", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "backend", @@ -1113,7 +1113,7 @@ exports[`schedule behavior with cron 2`] = ` }, "constructInfo": { "fqn": "cdktf.TerraformStack", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "root", @@ -1122,7 +1122,7 @@ exports[`schedule behavior with cron 2`] = ` }, "constructInfo": { "fqn": "cdktf.App", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "App", @@ -1231,7 +1231,7 @@ exports[`schedule behavior with rate 2`] = ` "Code": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Code", @@ -1255,7 +1255,7 @@ exports[`schedule behavior with rate 2`] = ` "Asset": { "constructInfo": { "fqn": "cdktf.TerraformAsset", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Asset", @@ -1264,7 +1264,7 @@ exports[`schedule behavior with rate 2`] = ` "CloudwatchLogGroup": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "CloudwatchLogGroup", @@ -1273,7 +1273,7 @@ exports[`schedule behavior with rate 2`] = ` "Default": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Default", @@ -1282,7 +1282,7 @@ exports[`schedule behavior with rate 2`] = ` "IamRole": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamRole", @@ -1291,7 +1291,7 @@ exports[`schedule behavior with rate 2`] = ` "IamRolePolicy": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamRolePolicy", @@ -1300,7 +1300,7 @@ exports[`schedule behavior with rate 2`] = ` "IamRolePolicyAttachment": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamRolePolicyAttachment", @@ -1309,7 +1309,7 @@ exports[`schedule behavior with rate 2`] = ` "InvokePermission-c8b3fc394731d07e61c00e422c6b234372c09bc3b3": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "InvokePermission-c8b3fc394731d07e61c00e422c6b234372c09bc3b3", @@ -1318,7 +1318,7 @@ exports[`schedule behavior with rate 2`] = ` "S3Object": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "S3Object", @@ -1339,7 +1339,7 @@ exports[`schedule behavior with rate 2`] = ` "Schedule": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Schedule", @@ -1348,7 +1348,7 @@ exports[`schedule behavior with rate 2`] = ` "ScheduleTarget0": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "ScheduleTarget0", @@ -1369,7 +1369,7 @@ exports[`schedule behavior with rate 2`] = ` "aws": { "constructInfo": { "fqn": "cdktf.TerraformProvider", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "aws", @@ -1387,7 +1387,7 @@ exports[`schedule behavior with rate 2`] = ` "backend": { "constructInfo": { "fqn": "cdktf.LocalBackend", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "backend", @@ -1396,7 +1396,7 @@ exports[`schedule behavior with rate 2`] = ` }, "constructInfo": { "fqn": "cdktf.TerraformStack", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "root", @@ -1405,7 +1405,7 @@ exports[`schedule behavior with rate 2`] = ` }, "constructInfo": { "fqn": "cdktf.App", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "App", @@ -1514,7 +1514,7 @@ exports[`schedule with two functions 2`] = ` "Code": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Code", @@ -1538,7 +1538,7 @@ exports[`schedule with two functions 2`] = ` "Asset": { "constructInfo": { "fqn": "cdktf.TerraformAsset", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Asset", @@ -1547,7 +1547,7 @@ exports[`schedule with two functions 2`] = ` "CloudwatchLogGroup": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "CloudwatchLogGroup", @@ -1556,7 +1556,7 @@ exports[`schedule with two functions 2`] = ` "Default": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Default", @@ -1565,7 +1565,7 @@ exports[`schedule with two functions 2`] = ` "IamRole": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamRole", @@ -1574,7 +1574,7 @@ exports[`schedule with two functions 2`] = ` "IamRolePolicy": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamRolePolicy", @@ -1583,7 +1583,7 @@ exports[`schedule with two functions 2`] = ` "IamRolePolicyAttachment": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamRolePolicyAttachment", @@ -1592,7 +1592,7 @@ exports[`schedule with two functions 2`] = ` "InvokePermission-c8b3fc394731d07e61c00e422c6b234372c09bc3b3": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "InvokePermission-c8b3fc394731d07e61c00e422c6b234372c09bc3b3", @@ -1601,7 +1601,7 @@ exports[`schedule with two functions 2`] = ` "S3Object": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "S3Object", @@ -1622,7 +1622,7 @@ exports[`schedule with two functions 2`] = ` "Schedule": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Schedule", @@ -1631,7 +1631,7 @@ exports[`schedule with two functions 2`] = ` "ScheduleTarget0": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "ScheduleTarget0", @@ -1652,7 +1652,7 @@ exports[`schedule with two functions 2`] = ` "aws": { "constructInfo": { "fqn": "cdktf.TerraformProvider", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "aws", @@ -1670,7 +1670,7 @@ exports[`schedule with two functions 2`] = ` "backend": { "constructInfo": { "fqn": "cdktf.LocalBackend", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "backend", @@ -1679,7 +1679,7 @@ exports[`schedule with two functions 2`] = ` }, "constructInfo": { "fqn": "cdktf.TerraformStack", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "root", @@ -1688,7 +1688,7 @@ exports[`schedule with two functions 2`] = ` }, "constructInfo": { "fqn": "cdktf.App", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "App", diff --git a/libs/wingsdk/test/target-tf-aws/__snapshots__/secret.test.ts.snap b/libs/wingsdk/test/target-tf-aws/__snapshots__/secret.test.ts.snap index 0d8e49866e0..6b0cdddd5ea 100644 --- a/libs/wingsdk/test/target-tf-aws/__snapshots__/secret.test.ts.snap +++ b/libs/wingsdk/test/target-tf-aws/__snapshots__/secret.test.ts.snap @@ -30,7 +30,7 @@ exports[`default secret behavior 2`] = ` "Default": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Default", @@ -39,7 +39,7 @@ exports[`default secret behavior 2`] = ` "SecretArn": { "constructInfo": { "fqn": "cdktf.TerraformOutput", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "SecretArn", @@ -60,7 +60,7 @@ exports[`default secret behavior 2`] = ` "aws": { "constructInfo": { "fqn": "cdktf.TerraformProvider", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "aws", @@ -78,7 +78,7 @@ exports[`default secret behavior 2`] = ` "backend": { "constructInfo": { "fqn": "cdktf.LocalBackend", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "backend", @@ -87,7 +87,7 @@ exports[`default secret behavior 2`] = ` }, "constructInfo": { "fqn": "cdktf.TerraformStack", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "root", @@ -96,7 +96,7 @@ exports[`default secret behavior 2`] = ` }, "constructInfo": { "fqn": "cdktf.App", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "App", diff --git a/libs/wingsdk/test/target-tf-aws/__snapshots__/table.test.ts.snap b/libs/wingsdk/test/target-tf-aws/__snapshots__/table.test.ts.snap index 4947dc17c3c..62954e1a399 100644 --- a/libs/wingsdk/test/target-tf-aws/__snapshots__/table.test.ts.snap +++ b/libs/wingsdk/test/target-tf-aws/__snapshots__/table.test.ts.snap @@ -138,7 +138,7 @@ exports[`function with a table binding 3`] = ` "Code": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Code", @@ -149,7 +149,7 @@ exports[`function with a table binding 3`] = ` "Asset": { "constructInfo": { "fqn": "cdktf.TerraformAsset", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Asset", @@ -158,7 +158,7 @@ exports[`function with a table binding 3`] = ` "CloudwatchLogGroup": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "CloudwatchLogGroup", @@ -167,7 +167,7 @@ exports[`function with a table binding 3`] = ` "Default": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Default", @@ -176,7 +176,7 @@ exports[`function with a table binding 3`] = ` "IamRole": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamRole", @@ -185,7 +185,7 @@ exports[`function with a table binding 3`] = ` "IamRolePolicy": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamRolePolicy", @@ -194,7 +194,7 @@ exports[`function with a table binding 3`] = ` "IamRolePolicyAttachment": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamRolePolicyAttachment", @@ -203,7 +203,7 @@ exports[`function with a table binding 3`] = ` "S3Object": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "S3Object", @@ -237,7 +237,7 @@ exports[`function with a table binding 3`] = ` "Default": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Default", @@ -258,7 +258,7 @@ exports[`function with a table binding 3`] = ` "aws": { "constructInfo": { "fqn": "cdktf.TerraformProvider", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "aws", @@ -276,7 +276,7 @@ exports[`function with a table binding 3`] = ` "backend": { "constructInfo": { "fqn": "cdktf.LocalBackend", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "backend", @@ -285,7 +285,7 @@ exports[`function with a table binding 3`] = ` }, "constructInfo": { "fqn": "cdktf.TerraformStack", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "root", @@ -294,7 +294,7 @@ exports[`function with a table binding 3`] = ` }, "constructInfo": { "fqn": "cdktf.App", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "App", diff --git a/libs/wingsdk/test/target-tf-aws/__snapshots__/topic.test.ts.snap b/libs/wingsdk/test/target-tf-aws/__snapshots__/topic.test.ts.snap index 8360ba7c65e..2993dcb76ec 100644 --- a/libs/wingsdk/test/target-tf-aws/__snapshots__/topic.test.ts.snap +++ b/libs/wingsdk/test/target-tf-aws/__snapshots__/topic.test.ts.snap @@ -25,7 +25,7 @@ exports[`default topic behavior 2`] = ` "Default": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Default", @@ -46,7 +46,7 @@ exports[`default topic behavior 2`] = ` "aws": { "constructInfo": { "fqn": "cdktf.TerraformProvider", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "aws", @@ -64,7 +64,7 @@ exports[`default topic behavior 2`] = ` "backend": { "constructInfo": { "fqn": "cdktf.LocalBackend", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "backend", @@ -73,7 +73,7 @@ exports[`default topic behavior 2`] = ` }, "constructInfo": { "fqn": "cdktf.TerraformStack", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "root", @@ -82,7 +82,7 @@ exports[`default topic behavior 2`] = ` }, "constructInfo": { "fqn": "cdktf.App", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "App", @@ -117,7 +117,7 @@ exports[`replace invalid character from queue name 2`] = ` "Default": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Default", @@ -138,7 +138,7 @@ exports[`replace invalid character from queue name 2`] = ` "aws": { "constructInfo": { "fqn": "cdktf.TerraformProvider", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "aws", @@ -156,7 +156,7 @@ exports[`replace invalid character from queue name 2`] = ` "backend": { "constructInfo": { "fqn": "cdktf.LocalBackend", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "backend", @@ -165,7 +165,7 @@ exports[`replace invalid character from queue name 2`] = ` }, "constructInfo": { "fqn": "cdktf.TerraformStack", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "root", @@ -174,7 +174,7 @@ exports[`replace invalid character from queue name 2`] = ` }, "constructInfo": { "fqn": "cdktf.App", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "App", @@ -209,7 +209,7 @@ exports[`topic name valid 2`] = ` "Default": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Default", @@ -230,7 +230,7 @@ exports[`topic name valid 2`] = ` "aws": { "constructInfo": { "fqn": "cdktf.TerraformProvider", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "aws", @@ -248,7 +248,7 @@ exports[`topic name valid 2`] = ` "backend": { "constructInfo": { "fqn": "cdktf.LocalBackend", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "backend", @@ -257,7 +257,7 @@ exports[`topic name valid 2`] = ` }, "constructInfo": { "fqn": "cdktf.TerraformStack", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "root", @@ -266,7 +266,7 @@ exports[`topic name valid 2`] = ` }, "constructInfo": { "fqn": "cdktf.App", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "App", @@ -392,7 +392,7 @@ exports[`topic with subscriber function 3`] = ` "Code": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Code", @@ -414,7 +414,7 @@ exports[`topic with subscriber function 3`] = ` "Default": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Default", @@ -423,7 +423,7 @@ exports[`topic with subscriber function 3`] = ` "TopicSubscription0": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "TopicSubscription0", @@ -446,7 +446,7 @@ exports[`topic with subscriber function 3`] = ` "Asset": { "constructInfo": { "fqn": "cdktf.TerraformAsset", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Asset", @@ -455,7 +455,7 @@ exports[`topic with subscriber function 3`] = ` "CloudwatchLogGroup": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "CloudwatchLogGroup", @@ -464,7 +464,7 @@ exports[`topic with subscriber function 3`] = ` "Default": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Default", @@ -473,7 +473,7 @@ exports[`topic with subscriber function 3`] = ` "IamRole": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamRole", @@ -482,7 +482,7 @@ exports[`topic with subscriber function 3`] = ` "IamRolePolicy": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamRolePolicy", @@ -491,7 +491,7 @@ exports[`topic with subscriber function 3`] = ` "IamRolePolicyAttachment": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamRolePolicyAttachment", @@ -500,7 +500,7 @@ exports[`topic with subscriber function 3`] = ` "InvokePermission-c8228fb70d825c2a5610c610e5246d5313ea6bd1a2": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "InvokePermission-c8228fb70d825c2a5610c610e5246d5313ea6bd1a2", @@ -509,7 +509,7 @@ exports[`topic with subscriber function 3`] = ` "S3Object": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "S3Object", @@ -530,7 +530,7 @@ exports[`topic with subscriber function 3`] = ` "aws": { "constructInfo": { "fqn": "cdktf.TerraformProvider", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "aws", @@ -548,7 +548,7 @@ exports[`topic with subscriber function 3`] = ` "backend": { "constructInfo": { "fqn": "cdktf.LocalBackend", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "backend", @@ -557,7 +557,7 @@ exports[`topic with subscriber function 3`] = ` }, "constructInfo": { "fqn": "cdktf.TerraformStack", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "root", @@ -566,7 +566,7 @@ exports[`topic with subscriber function 3`] = ` }, "constructInfo": { "fqn": "cdktf.App", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "App", diff --git a/libs/wingsdk/test/target-tf-aws/__snapshots__/website.test.ts.snap b/libs/wingsdk/test/target-tf-aws/__snapshots__/website.test.ts.snap index 3f898f2311d..0d964c8f95c 100644 --- a/libs/wingsdk/test/target-tf-aws/__snapshots__/website.test.ts.snap +++ b/libs/wingsdk/test/target-tf-aws/__snapshots__/website.test.ts.snap @@ -328,7 +328,7 @@ exports[`default website behavior 2`] = ` "AllowDistributionReadOnly": { "constructInfo": { "fqn": "cdktf.TerraformDataSource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "AllowDistributionReadOnly", @@ -337,7 +337,7 @@ exports[`default website behavior 2`] = ` "BucketWebsiteConfiguration": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "BucketWebsiteConfiguration", @@ -346,7 +346,7 @@ exports[`default website behavior 2`] = ` "CloudfrontOac": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "CloudfrontOac", @@ -355,7 +355,7 @@ exports[`default website behavior 2`] = ` "Distribution": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Distribution", @@ -364,7 +364,7 @@ exports[`default website behavior 2`] = ` "DistributionS3BucketPolicy": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "DistributionS3BucketPolicy", @@ -375,7 +375,7 @@ exports[`default website behavior 2`] = ` "Url": { "constructInfo": { "fqn": "cdktf.TerraformOutput", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Url", @@ -397,7 +397,7 @@ exports[`default website behavior 2`] = ` "File--b.html": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "File--b.html", @@ -406,7 +406,7 @@ exports[`default website behavior 2`] = ` "File--index.html": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "File--index.html", @@ -415,7 +415,7 @@ exports[`default website behavior 2`] = ` "File--inner-folder--a.html": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "File--inner-folder--a.html", @@ -424,7 +424,7 @@ exports[`default website behavior 2`] = ` "WebsiteBucket": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "WebsiteBucket", @@ -445,7 +445,7 @@ exports[`default website behavior 2`] = ` "aws": { "constructInfo": { "fqn": "cdktf.TerraformProvider", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "aws", @@ -463,7 +463,7 @@ exports[`default website behavior 2`] = ` "backend": { "constructInfo": { "fqn": "cdktf.LocalBackend", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "backend", @@ -472,7 +472,7 @@ exports[`default website behavior 2`] = ` }, "constructInfo": { "fqn": "cdktf.TerraformStack", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "root", @@ -481,7 +481,7 @@ exports[`default website behavior 2`] = ` }, "constructInfo": { "fqn": "cdktf.App", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "App", @@ -663,7 +663,7 @@ exports[`website with addFile 2`] = ` "AllowDistributionReadOnly": { "constructInfo": { "fqn": "cdktf.TerraformDataSource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "AllowDistributionReadOnly", @@ -672,7 +672,7 @@ exports[`website with addFile 2`] = ` "BucketWebsiteConfiguration": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "BucketWebsiteConfiguration", @@ -681,7 +681,7 @@ exports[`website with addFile 2`] = ` "CloudfrontOac": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "CloudfrontOac", @@ -690,7 +690,7 @@ exports[`website with addFile 2`] = ` "Distribution": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Distribution", @@ -699,7 +699,7 @@ exports[`website with addFile 2`] = ` "DistributionS3BucketPolicy": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "DistributionS3BucketPolicy", @@ -710,7 +710,7 @@ exports[`website with addFile 2`] = ` "Url": { "constructInfo": { "fqn": "cdktf.TerraformOutput", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Url", @@ -732,7 +732,7 @@ exports[`website with addFile 2`] = ` "File--b.html": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "File--b.html", @@ -741,7 +741,7 @@ exports[`website with addFile 2`] = ` "File--index.html": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "File--index.html", @@ -750,7 +750,7 @@ exports[`website with addFile 2`] = ` "File--inner-folder--a.html": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "File--inner-folder--a.html", @@ -759,7 +759,7 @@ exports[`website with addFile 2`] = ` "File-addition.html": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "File-addition.html", @@ -768,7 +768,7 @@ exports[`website with addFile 2`] = ` "WebsiteBucket": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "WebsiteBucket", @@ -789,7 +789,7 @@ exports[`website with addFile 2`] = ` "aws": { "constructInfo": { "fqn": "cdktf.TerraformProvider", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "aws", @@ -807,7 +807,7 @@ exports[`website with addFile 2`] = ` "backend": { "constructInfo": { "fqn": "cdktf.LocalBackend", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "backend", @@ -816,7 +816,7 @@ exports[`website with addFile 2`] = ` }, "constructInfo": { "fqn": "cdktf.TerraformStack", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "root", @@ -825,7 +825,7 @@ exports[`website with addFile 2`] = ` }, "constructInfo": { "fqn": "cdktf.App", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "App", @@ -1007,7 +1007,7 @@ exports[`website with addJson 2`] = ` "AllowDistributionReadOnly": { "constructInfo": { "fqn": "cdktf.TerraformDataSource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "AllowDistributionReadOnly", @@ -1016,7 +1016,7 @@ exports[`website with addJson 2`] = ` "BucketWebsiteConfiguration": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "BucketWebsiteConfiguration", @@ -1025,7 +1025,7 @@ exports[`website with addJson 2`] = ` "CloudfrontOac": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "CloudfrontOac", @@ -1034,7 +1034,7 @@ exports[`website with addJson 2`] = ` "Distribution": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Distribution", @@ -1043,7 +1043,7 @@ exports[`website with addJson 2`] = ` "DistributionS3BucketPolicy": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "DistributionS3BucketPolicy", @@ -1054,7 +1054,7 @@ exports[`website with addJson 2`] = ` "Url": { "constructInfo": { "fqn": "cdktf.TerraformOutput", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Url", @@ -1076,7 +1076,7 @@ exports[`website with addJson 2`] = ` "File--b.html": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "File--b.html", @@ -1085,7 +1085,7 @@ exports[`website with addJson 2`] = ` "File--index.html": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "File--index.html", @@ -1094,7 +1094,7 @@ exports[`website with addJson 2`] = ` "File--inner-folder--a.html": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "File--inner-folder--a.html", @@ -1103,7 +1103,7 @@ exports[`website with addJson 2`] = ` "File-config.json": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "File-config.json", @@ -1112,7 +1112,7 @@ exports[`website with addJson 2`] = ` "WebsiteBucket": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "WebsiteBucket", @@ -1133,7 +1133,7 @@ exports[`website with addJson 2`] = ` "aws": { "constructInfo": { "fqn": "cdktf.TerraformProvider", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "aws", @@ -1151,7 +1151,7 @@ exports[`website with addJson 2`] = ` "backend": { "constructInfo": { "fqn": "cdktf.LocalBackend", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "backend", @@ -1160,7 +1160,7 @@ exports[`website with addJson 2`] = ` }, "constructInfo": { "fqn": "cdktf.TerraformStack", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "root", @@ -1169,7 +1169,7 @@ exports[`website with addJson 2`] = ` }, "constructInfo": { "fqn": "cdktf.App", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "App", diff --git a/libs/wingsdk/test/target-tf-azure/__snapshots__/bucket.test.ts.snap b/libs/wingsdk/test/target-tf-azure/__snapshots__/bucket.test.ts.snap index 2ba9e697c62..271d417bcaf 100644 --- a/libs/wingsdk/test/target-tf-azure/__snapshots__/bucket.test.ts.snap +++ b/libs/wingsdk/test/target-tf-azure/__snapshots__/bucket.test.ts.snap @@ -40,7 +40,7 @@ exports[`bucket is public 2`] = ` "ResourceGroup": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "ResourceGroup", @@ -49,7 +49,7 @@ exports[`bucket is public 2`] = ` "StorageAccount": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "StorageAccount", @@ -58,7 +58,7 @@ exports[`bucket is public 2`] = ` "azure": { "constructInfo": { "fqn": "cdktf.TerraformProvider", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "azure", @@ -69,7 +69,7 @@ exports[`bucket is public 2`] = ` "Bucket": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Bucket", @@ -99,7 +99,7 @@ exports[`bucket is public 2`] = ` "backend": { "constructInfo": { "fqn": "cdktf.LocalBackend", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "backend", @@ -108,7 +108,7 @@ exports[`bucket is public 2`] = ` }, "constructInfo": { "fqn": "cdktf.TerraformStack", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "root", @@ -117,7 +117,7 @@ exports[`bucket is public 2`] = ` }, "constructInfo": { "fqn": "cdktf.App", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "App", @@ -167,7 +167,7 @@ exports[`bucket name valid 2`] = ` "ResourceGroup": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "ResourceGroup", @@ -176,7 +176,7 @@ exports[`bucket name valid 2`] = ` "StorageAccount": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "StorageAccount", @@ -187,7 +187,7 @@ exports[`bucket name valid 2`] = ` "Bucket": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Bucket", @@ -208,7 +208,7 @@ exports[`bucket name valid 2`] = ` "azure": { "constructInfo": { "fqn": "cdktf.TerraformProvider", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "azure", @@ -226,7 +226,7 @@ exports[`bucket name valid 2`] = ` "backend": { "constructInfo": { "fqn": "cdktf.LocalBackend", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "backend", @@ -235,7 +235,7 @@ exports[`bucket name valid 2`] = ` }, "constructInfo": { "fqn": "cdktf.TerraformStack", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "root", @@ -244,7 +244,7 @@ exports[`bucket name valid 2`] = ` }, "constructInfo": { "fqn": "cdktf.App", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "App", @@ -310,7 +310,7 @@ exports[`bucket with two preflight files 2`] = ` "ResourceGroup": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "ResourceGroup", @@ -319,7 +319,7 @@ exports[`bucket with two preflight files 2`] = ` "StorageAccount": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "StorageAccount", @@ -328,7 +328,7 @@ exports[`bucket with two preflight files 2`] = ` "azure": { "constructInfo": { "fqn": "cdktf.TerraformProvider", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "azure", @@ -339,7 +339,7 @@ exports[`bucket with two preflight files 2`] = ` "Blob-file1.txt": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Blob-file1.txt", @@ -348,7 +348,7 @@ exports[`bucket with two preflight files 2`] = ` "Blob-file2.txt": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Blob-file2.txt", @@ -357,7 +357,7 @@ exports[`bucket with two preflight files 2`] = ` "Bucket": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Bucket", @@ -387,7 +387,7 @@ exports[`bucket with two preflight files 2`] = ` "backend": { "constructInfo": { "fqn": "cdktf.LocalBackend", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "backend", @@ -396,7 +396,7 @@ exports[`bucket with two preflight files 2`] = ` }, "constructInfo": { "fqn": "cdktf.TerraformStack", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "root", @@ -405,7 +405,7 @@ exports[`bucket with two preflight files 2`] = ` }, "constructInfo": { "fqn": "cdktf.App", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "App", @@ -471,7 +471,7 @@ exports[`bucket with two preflight objects 2`] = ` "ResourceGroup": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "ResourceGroup", @@ -480,7 +480,7 @@ exports[`bucket with two preflight objects 2`] = ` "StorageAccount": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "StorageAccount", @@ -489,7 +489,7 @@ exports[`bucket with two preflight objects 2`] = ` "azure": { "constructInfo": { "fqn": "cdktf.TerraformProvider", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "azure", @@ -500,7 +500,7 @@ exports[`bucket with two preflight objects 2`] = ` "Blob-file1.txt": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Blob-file1.txt", @@ -509,7 +509,7 @@ exports[`bucket with two preflight objects 2`] = ` "Blob-file2.txt": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Blob-file2.txt", @@ -518,7 +518,7 @@ exports[`bucket with two preflight objects 2`] = ` "Bucket": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Bucket", @@ -548,7 +548,7 @@ exports[`bucket with two preflight objects 2`] = ` "backend": { "constructInfo": { "fqn": "cdktf.LocalBackend", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "backend", @@ -557,7 +557,7 @@ exports[`bucket with two preflight objects 2`] = ` }, "constructInfo": { "fqn": "cdktf.TerraformStack", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "root", @@ -566,7 +566,7 @@ exports[`bucket with two preflight objects 2`] = ` }, "constructInfo": { "fqn": "cdktf.App", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "App", @@ -616,7 +616,7 @@ exports[`create a bucket 2`] = ` "ResourceGroup": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "ResourceGroup", @@ -625,7 +625,7 @@ exports[`create a bucket 2`] = ` "StorageAccount": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "StorageAccount", @@ -634,7 +634,7 @@ exports[`create a bucket 2`] = ` "azure": { "constructInfo": { "fqn": "cdktf.TerraformProvider", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "azure", @@ -645,7 +645,7 @@ exports[`create a bucket 2`] = ` "Bucket": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Bucket", @@ -675,7 +675,7 @@ exports[`create a bucket 2`] = ` "backend": { "constructInfo": { "fqn": "cdktf.LocalBackend", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "backend", @@ -684,7 +684,7 @@ exports[`create a bucket 2`] = ` }, "constructInfo": { "fqn": "cdktf.TerraformStack", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "root", @@ -693,7 +693,7 @@ exports[`create a bucket 2`] = ` }, "constructInfo": { "fqn": "cdktf.App", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "App", @@ -748,7 +748,7 @@ exports[`create multiple buckets 2`] = ` "ResourceGroup": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "ResourceGroup", @@ -757,7 +757,7 @@ exports[`create multiple buckets 2`] = ` "StorageAccount": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "StorageAccount", @@ -766,7 +766,7 @@ exports[`create multiple buckets 2`] = ` "azure": { "constructInfo": { "fqn": "cdktf.TerraformProvider", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "azure", @@ -777,7 +777,7 @@ exports[`create multiple buckets 2`] = ` "Bucket": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Bucket", @@ -800,7 +800,7 @@ exports[`create multiple buckets 2`] = ` "Bucket": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Bucket", @@ -830,7 +830,7 @@ exports[`create multiple buckets 2`] = ` "backend": { "constructInfo": { "fqn": "cdktf.LocalBackend", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "backend", @@ -839,7 +839,7 @@ exports[`create multiple buckets 2`] = ` }, "constructInfo": { "fqn": "cdktf.TerraformStack", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "root", @@ -848,7 +848,7 @@ exports[`create multiple buckets 2`] = ` }, "constructInfo": { "fqn": "cdktf.App", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "App", diff --git a/libs/wingsdk/test/target-tf-azure/__snapshots__/counter.test.ts.snap b/libs/wingsdk/test/target-tf-azure/__snapshots__/counter.test.ts.snap index 791ed49db60..1bc30904a0a 100644 --- a/libs/wingsdk/test/target-tf-azure/__snapshots__/counter.test.ts.snap +++ b/libs/wingsdk/test/target-tf-azure/__snapshots__/counter.test.ts.snap @@ -39,7 +39,7 @@ exports[`counter name valid 2`] = ` "ResourceGroup": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "ResourceGroup", @@ -48,7 +48,7 @@ exports[`counter name valid 2`] = ` "StorageAccount": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "StorageAccount", @@ -57,7 +57,7 @@ exports[`counter name valid 2`] = ` "azure": { "constructInfo": { "fqn": "cdktf.TerraformProvider", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "azure", @@ -68,7 +68,7 @@ exports[`counter name valid 2`] = ` "CounterTable": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "CounterTable", @@ -98,7 +98,7 @@ exports[`counter name valid 2`] = ` "backend": { "constructInfo": { "fqn": "cdktf.LocalBackend", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "backend", @@ -107,7 +107,7 @@ exports[`counter name valid 2`] = ` }, "constructInfo": { "fqn": "cdktf.TerraformStack", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "root", @@ -116,7 +116,7 @@ exports[`counter name valid 2`] = ` }, "constructInfo": { "fqn": "cdktf.App", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "App", @@ -167,7 +167,7 @@ exports[`counter with initial value 2`] = ` "CounterTable": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "CounterTable", @@ -188,7 +188,7 @@ exports[`counter with initial value 2`] = ` "ResourceGroup": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "ResourceGroup", @@ -197,7 +197,7 @@ exports[`counter with initial value 2`] = ` "StorageAccount": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "StorageAccount", @@ -206,7 +206,7 @@ exports[`counter with initial value 2`] = ` "azure": { "constructInfo": { "fqn": "cdktf.TerraformProvider", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "azure", @@ -224,7 +224,7 @@ exports[`counter with initial value 2`] = ` "backend": { "constructInfo": { "fqn": "cdktf.LocalBackend", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "backend", @@ -233,7 +233,7 @@ exports[`counter with initial value 2`] = ` }, "constructInfo": { "fqn": "cdktf.TerraformStack", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "root", @@ -242,7 +242,7 @@ exports[`counter with initial value 2`] = ` }, "constructInfo": { "fqn": "cdktf.App", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "App", @@ -372,7 +372,7 @@ exports[`dec() policy statement 2`] = ` "ApplicationInsights": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "ApplicationInsights", @@ -383,7 +383,7 @@ exports[`dec() policy statement 2`] = ` "CounterTable": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "CounterTable", @@ -406,7 +406,7 @@ exports[`dec() policy statement 2`] = ` "Asset": { "constructInfo": { "fqn": "cdktf.TerraformAsset", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Asset", @@ -415,7 +415,7 @@ exports[`dec() policy statement 2`] = ` "CodeBlob": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "CodeBlob", @@ -424,7 +424,7 @@ exports[`dec() policy statement 2`] = ` "Function": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Function", @@ -435,7 +435,7 @@ exports[`dec() policy statement 2`] = ` "Bucket": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Bucket", @@ -456,7 +456,7 @@ exports[`dec() policy statement 2`] = ` "ReadLambdaCodeAssignment": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "ReadLambdaCodeAssignment", @@ -465,7 +465,7 @@ exports[`dec() policy statement 2`] = ` "RoleAssignmentc8e1d35875c13ca650f2fed5dbae08291b89c185ec_Storage Table Data Contributor": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "RoleAssignmentc8e1d35875c13ca650f2fed5dbae08291b89c185ec_Storage Table Data Contributor", @@ -486,7 +486,7 @@ exports[`dec() policy statement 2`] = ` "LogAnalyticsWorkspace": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "LogAnalyticsWorkspace", @@ -495,7 +495,7 @@ exports[`dec() policy statement 2`] = ` "ResourceGroup": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "ResourceGroup", @@ -504,7 +504,7 @@ exports[`dec() policy statement 2`] = ` "ServicePlan": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "ServicePlan", @@ -513,7 +513,7 @@ exports[`dec() policy statement 2`] = ` "StorageAccount": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "StorageAccount", @@ -522,7 +522,7 @@ exports[`dec() policy statement 2`] = ` "azure": { "constructInfo": { "fqn": "cdktf.TerraformProvider", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "azure", @@ -540,7 +540,7 @@ exports[`dec() policy statement 2`] = ` "backend": { "constructInfo": { "fqn": "cdktf.LocalBackend", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "backend", @@ -549,7 +549,7 @@ exports[`dec() policy statement 2`] = ` }, "constructInfo": { "fqn": "cdktf.TerraformStack", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "root", @@ -558,7 +558,7 @@ exports[`dec() policy statement 2`] = ` }, "constructInfo": { "fqn": "cdktf.App", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "App", @@ -716,7 +716,7 @@ exports[`function with a counter binding 2`] = ` "ApplicationInsights": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "ApplicationInsights", @@ -727,7 +727,7 @@ exports[`function with a counter binding 2`] = ` "CounterTable": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "CounterTable", @@ -750,7 +750,7 @@ exports[`function with a counter binding 2`] = ` "Asset": { "constructInfo": { "fqn": "cdktf.TerraformAsset", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Asset", @@ -759,7 +759,7 @@ exports[`function with a counter binding 2`] = ` "CodeBlob": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "CodeBlob", @@ -768,7 +768,7 @@ exports[`function with a counter binding 2`] = ` "Function": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Function", @@ -779,7 +779,7 @@ exports[`function with a counter binding 2`] = ` "Bucket": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Bucket", @@ -800,7 +800,7 @@ exports[`function with a counter binding 2`] = ` "ReadLambdaCodeAssignment": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "ReadLambdaCodeAssignment", @@ -809,7 +809,7 @@ exports[`function with a counter binding 2`] = ` "RoleAssignmentc8e1d35875c13ca650f2fed5dbae08291b89c185ec_Storage Table Data Contributor": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "RoleAssignmentc8e1d35875c13ca650f2fed5dbae08291b89c185ec_Storage Table Data Contributor", @@ -830,7 +830,7 @@ exports[`function with a counter binding 2`] = ` "LogAnalyticsWorkspace": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "LogAnalyticsWorkspace", @@ -839,7 +839,7 @@ exports[`function with a counter binding 2`] = ` "ResourceGroup": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "ResourceGroup", @@ -848,7 +848,7 @@ exports[`function with a counter binding 2`] = ` "ServicePlan": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "ServicePlan", @@ -857,7 +857,7 @@ exports[`function with a counter binding 2`] = ` "StorageAccount": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "StorageAccount", @@ -866,7 +866,7 @@ exports[`function with a counter binding 2`] = ` "azure": { "constructInfo": { "fqn": "cdktf.TerraformProvider", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "azure", @@ -884,7 +884,7 @@ exports[`function with a counter binding 2`] = ` "backend": { "constructInfo": { "fqn": "cdktf.LocalBackend", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "backend", @@ -893,7 +893,7 @@ exports[`function with a counter binding 2`] = ` }, "constructInfo": { "fqn": "cdktf.TerraformStack", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "root", @@ -902,7 +902,7 @@ exports[`function with a counter binding 2`] = ` }, "constructInfo": { "fqn": "cdktf.App", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "App", @@ -1032,7 +1032,7 @@ exports[`inc() policy statement 2`] = ` "ApplicationInsights": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "ApplicationInsights", @@ -1043,7 +1043,7 @@ exports[`inc() policy statement 2`] = ` "CounterTable": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "CounterTable", @@ -1066,7 +1066,7 @@ exports[`inc() policy statement 2`] = ` "Asset": { "constructInfo": { "fqn": "cdktf.TerraformAsset", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Asset", @@ -1075,7 +1075,7 @@ exports[`inc() policy statement 2`] = ` "CodeBlob": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "CodeBlob", @@ -1084,7 +1084,7 @@ exports[`inc() policy statement 2`] = ` "Function": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Function", @@ -1095,7 +1095,7 @@ exports[`inc() policy statement 2`] = ` "Bucket": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Bucket", @@ -1116,7 +1116,7 @@ exports[`inc() policy statement 2`] = ` "ReadLambdaCodeAssignment": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "ReadLambdaCodeAssignment", @@ -1125,7 +1125,7 @@ exports[`inc() policy statement 2`] = ` "RoleAssignmentc8e1d35875c13ca650f2fed5dbae08291b89c185ec_Storage Table Data Contributor": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "RoleAssignmentc8e1d35875c13ca650f2fed5dbae08291b89c185ec_Storage Table Data Contributor", @@ -1146,7 +1146,7 @@ exports[`inc() policy statement 2`] = ` "LogAnalyticsWorkspace": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "LogAnalyticsWorkspace", @@ -1155,7 +1155,7 @@ exports[`inc() policy statement 2`] = ` "ResourceGroup": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "ResourceGroup", @@ -1164,7 +1164,7 @@ exports[`inc() policy statement 2`] = ` "ServicePlan": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "ServicePlan", @@ -1173,7 +1173,7 @@ exports[`inc() policy statement 2`] = ` "StorageAccount": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "StorageAccount", @@ -1182,7 +1182,7 @@ exports[`inc() policy statement 2`] = ` "azure": { "constructInfo": { "fqn": "cdktf.TerraformProvider", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "azure", @@ -1200,7 +1200,7 @@ exports[`inc() policy statement 2`] = ` "backend": { "constructInfo": { "fqn": "cdktf.LocalBackend", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "backend", @@ -1209,7 +1209,7 @@ exports[`inc() policy statement 2`] = ` }, "constructInfo": { "fqn": "cdktf.TerraformStack", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "root", @@ -1218,7 +1218,7 @@ exports[`inc() policy statement 2`] = ` }, "constructInfo": { "fqn": "cdktf.App", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "App", @@ -1348,7 +1348,7 @@ exports[`peek() policy statement 2`] = ` "ApplicationInsights": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "ApplicationInsights", @@ -1359,7 +1359,7 @@ exports[`peek() policy statement 2`] = ` "CounterTable": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "CounterTable", @@ -1382,7 +1382,7 @@ exports[`peek() policy statement 2`] = ` "Asset": { "constructInfo": { "fqn": "cdktf.TerraformAsset", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Asset", @@ -1391,7 +1391,7 @@ exports[`peek() policy statement 2`] = ` "CodeBlob": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "CodeBlob", @@ -1400,7 +1400,7 @@ exports[`peek() policy statement 2`] = ` "Function": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Function", @@ -1411,7 +1411,7 @@ exports[`peek() policy statement 2`] = ` "Bucket": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Bucket", @@ -1432,7 +1432,7 @@ exports[`peek() policy statement 2`] = ` "ReadLambdaCodeAssignment": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "ReadLambdaCodeAssignment", @@ -1441,7 +1441,7 @@ exports[`peek() policy statement 2`] = ` "RoleAssignmentc8e1d35875c13ca650f2fed5dbae08291b89c185ec_Storage Table Data Reader": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "RoleAssignmentc8e1d35875c13ca650f2fed5dbae08291b89c185ec_Storage Table Data Reader", @@ -1462,7 +1462,7 @@ exports[`peek() policy statement 2`] = ` "LogAnalyticsWorkspace": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "LogAnalyticsWorkspace", @@ -1471,7 +1471,7 @@ exports[`peek() policy statement 2`] = ` "ResourceGroup": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "ResourceGroup", @@ -1480,7 +1480,7 @@ exports[`peek() policy statement 2`] = ` "ServicePlan": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "ServicePlan", @@ -1489,7 +1489,7 @@ exports[`peek() policy statement 2`] = ` "StorageAccount": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "StorageAccount", @@ -1498,7 +1498,7 @@ exports[`peek() policy statement 2`] = ` "azure": { "constructInfo": { "fqn": "cdktf.TerraformProvider", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "azure", @@ -1516,7 +1516,7 @@ exports[`peek() policy statement 2`] = ` "backend": { "constructInfo": { "fqn": "cdktf.LocalBackend", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "backend", @@ -1525,7 +1525,7 @@ exports[`peek() policy statement 2`] = ` }, "constructInfo": { "fqn": "cdktf.TerraformStack", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "root", @@ -1534,7 +1534,7 @@ exports[`peek() policy statement 2`] = ` }, "constructInfo": { "fqn": "cdktf.App", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "App", @@ -1583,7 +1583,7 @@ exports[`replace invalid character from counter name 2`] = ` "ResourceGroup": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "ResourceGroup", @@ -1592,7 +1592,7 @@ exports[`replace invalid character from counter name 2`] = ` "StorageAccount": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "StorageAccount", @@ -1603,7 +1603,7 @@ exports[`replace invalid character from counter name 2`] = ` "CounterTable": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "CounterTable", @@ -1624,7 +1624,7 @@ exports[`replace invalid character from counter name 2`] = ` "azure": { "constructInfo": { "fqn": "cdktf.TerraformProvider", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "azure", @@ -1642,7 +1642,7 @@ exports[`replace invalid character from counter name 2`] = ` "backend": { "constructInfo": { "fqn": "cdktf.LocalBackend", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "backend", @@ -1651,7 +1651,7 @@ exports[`replace invalid character from counter name 2`] = ` }, "constructInfo": { "fqn": "cdktf.TerraformStack", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "root", @@ -1660,7 +1660,7 @@ exports[`replace invalid character from counter name 2`] = ` }, "constructInfo": { "fqn": "cdktf.App", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "App", @@ -1790,7 +1790,7 @@ exports[`set() policy statement 2`] = ` "ApplicationInsights": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "ApplicationInsights", @@ -1801,7 +1801,7 @@ exports[`set() policy statement 2`] = ` "CounterTable": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "CounterTable", @@ -1824,7 +1824,7 @@ exports[`set() policy statement 2`] = ` "Asset": { "constructInfo": { "fqn": "cdktf.TerraformAsset", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Asset", @@ -1833,7 +1833,7 @@ exports[`set() policy statement 2`] = ` "CodeBlob": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "CodeBlob", @@ -1842,7 +1842,7 @@ exports[`set() policy statement 2`] = ` "Function": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Function", @@ -1853,7 +1853,7 @@ exports[`set() policy statement 2`] = ` "Bucket": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Bucket", @@ -1874,7 +1874,7 @@ exports[`set() policy statement 2`] = ` "ReadLambdaCodeAssignment": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "ReadLambdaCodeAssignment", @@ -1883,7 +1883,7 @@ exports[`set() policy statement 2`] = ` "RoleAssignmentc8e1d35875c13ca650f2fed5dbae08291b89c185ec_Storage Table Data Contributor": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "RoleAssignmentc8e1d35875c13ca650f2fed5dbae08291b89c185ec_Storage Table Data Contributor", @@ -1904,7 +1904,7 @@ exports[`set() policy statement 2`] = ` "LogAnalyticsWorkspace": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "LogAnalyticsWorkspace", @@ -1913,7 +1913,7 @@ exports[`set() policy statement 2`] = ` "ResourceGroup": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "ResourceGroup", @@ -1922,7 +1922,7 @@ exports[`set() policy statement 2`] = ` "ServicePlan": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "ServicePlan", @@ -1931,7 +1931,7 @@ exports[`set() policy statement 2`] = ` "StorageAccount": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "StorageAccount", @@ -1940,7 +1940,7 @@ exports[`set() policy statement 2`] = ` "azure": { "constructInfo": { "fqn": "cdktf.TerraformProvider", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "azure", @@ -1958,7 +1958,7 @@ exports[`set() policy statement 2`] = ` "backend": { "constructInfo": { "fqn": "cdktf.LocalBackend", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "backend", @@ -1967,7 +1967,7 @@ exports[`set() policy statement 2`] = ` }, "constructInfo": { "fqn": "cdktf.TerraformStack", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "root", @@ -1976,7 +1976,7 @@ exports[`set() policy statement 2`] = ` }, "constructInfo": { "fqn": "cdktf.App", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "App", diff --git a/libs/wingsdk/test/target-tf-azure/__snapshots__/function.test.ts.snap b/libs/wingsdk/test/target-tf-azure/__snapshots__/function.test.ts.snap index 139e32c4013..43ccb187550 100644 --- a/libs/wingsdk/test/target-tf-azure/__snapshots__/function.test.ts.snap +++ b/libs/wingsdk/test/target-tf-azure/__snapshots__/function.test.ts.snap @@ -106,7 +106,7 @@ exports[`basic function 2`] = ` "ApplicationInsights": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "ApplicationInsights", @@ -117,7 +117,7 @@ exports[`basic function 2`] = ` "Asset": { "constructInfo": { "fqn": "cdktf.TerraformAsset", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Asset", @@ -126,7 +126,7 @@ exports[`basic function 2`] = ` "CodeBlob": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "CodeBlob", @@ -135,7 +135,7 @@ exports[`basic function 2`] = ` "Function": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Function", @@ -146,7 +146,7 @@ exports[`basic function 2`] = ` "Bucket": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Bucket", @@ -167,7 +167,7 @@ exports[`basic function 2`] = ` "ReadLambdaCodeAssignment": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "ReadLambdaCodeAssignment", @@ -188,7 +188,7 @@ exports[`basic function 2`] = ` "LogAnalyticsWorkspace": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "LogAnalyticsWorkspace", @@ -197,7 +197,7 @@ exports[`basic function 2`] = ` "ResourceGroup": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "ResourceGroup", @@ -206,7 +206,7 @@ exports[`basic function 2`] = ` "ServicePlan": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "ServicePlan", @@ -215,7 +215,7 @@ exports[`basic function 2`] = ` "StorageAccount": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "StorageAccount", @@ -224,7 +224,7 @@ exports[`basic function 2`] = ` "azure": { "constructInfo": { "fqn": "cdktf.TerraformProvider", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "azure", @@ -242,7 +242,7 @@ exports[`basic function 2`] = ` "backend": { "constructInfo": { "fqn": "cdktf.LocalBackend", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "backend", @@ -251,7 +251,7 @@ exports[`basic function 2`] = ` }, "constructInfo": { "fqn": "cdktf.TerraformStack", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "root", @@ -260,7 +260,7 @@ exports[`basic function 2`] = ` }, "constructInfo": { "fqn": "cdktf.App", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "App", @@ -378,7 +378,7 @@ exports[`basic function with environment variables 2`] = ` "ApplicationInsights": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "ApplicationInsights", @@ -389,7 +389,7 @@ exports[`basic function with environment variables 2`] = ` "Asset": { "constructInfo": { "fqn": "cdktf.TerraformAsset", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Asset", @@ -398,7 +398,7 @@ exports[`basic function with environment variables 2`] = ` "CodeBlob": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "CodeBlob", @@ -407,7 +407,7 @@ exports[`basic function with environment variables 2`] = ` "Function": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Function", @@ -418,7 +418,7 @@ exports[`basic function with environment variables 2`] = ` "Bucket": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Bucket", @@ -439,7 +439,7 @@ exports[`basic function with environment variables 2`] = ` "ReadLambdaCodeAssignment": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "ReadLambdaCodeAssignment", @@ -460,7 +460,7 @@ exports[`basic function with environment variables 2`] = ` "LogAnalyticsWorkspace": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "LogAnalyticsWorkspace", @@ -469,7 +469,7 @@ exports[`basic function with environment variables 2`] = ` "ResourceGroup": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "ResourceGroup", @@ -478,7 +478,7 @@ exports[`basic function with environment variables 2`] = ` "ServicePlan": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "ServicePlan", @@ -487,7 +487,7 @@ exports[`basic function with environment variables 2`] = ` "StorageAccount": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "StorageAccount", @@ -496,7 +496,7 @@ exports[`basic function with environment variables 2`] = ` "azure": { "constructInfo": { "fqn": "cdktf.TerraformProvider", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "azure", @@ -514,7 +514,7 @@ exports[`basic function with environment variables 2`] = ` "backend": { "constructInfo": { "fqn": "cdktf.LocalBackend", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "backend", @@ -523,7 +523,7 @@ exports[`basic function with environment variables 2`] = ` }, "constructInfo": { "fqn": "cdktf.TerraformStack", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "root", @@ -532,7 +532,7 @@ exports[`basic function with environment variables 2`] = ` }, "constructInfo": { "fqn": "cdktf.App", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "App", @@ -648,7 +648,7 @@ exports[`replace invalid character from function name 2`] = ` "ApplicationInsights": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "ApplicationInsights", @@ -657,7 +657,7 @@ exports[`replace invalid character from function name 2`] = ` "LogAnalyticsWorkspace": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "LogAnalyticsWorkspace", @@ -666,7 +666,7 @@ exports[`replace invalid character from function name 2`] = ` "ResourceGroup": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "ResourceGroup", @@ -675,7 +675,7 @@ exports[`replace invalid character from function name 2`] = ` "ServicePlan": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "ServicePlan", @@ -684,7 +684,7 @@ exports[`replace invalid character from function name 2`] = ` "StorageAccount": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "StorageAccount", @@ -693,7 +693,7 @@ exports[`replace invalid character from function name 2`] = ` "azure": { "constructInfo": { "fqn": "cdktf.TerraformProvider", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "azure", @@ -704,7 +704,7 @@ exports[`replace invalid character from function name 2`] = ` "Asset": { "constructInfo": { "fqn": "cdktf.TerraformAsset", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Asset", @@ -713,7 +713,7 @@ exports[`replace invalid character from function name 2`] = ` "CodeBlob": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "CodeBlob", @@ -722,7 +722,7 @@ exports[`replace invalid character from function name 2`] = ` "Function": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Function", @@ -733,7 +733,7 @@ exports[`replace invalid character from function name 2`] = ` "Bucket": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Bucket", @@ -754,7 +754,7 @@ exports[`replace invalid character from function name 2`] = ` "ReadLambdaCodeAssignment": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "ReadLambdaCodeAssignment", @@ -784,7 +784,7 @@ exports[`replace invalid character from function name 2`] = ` "backend": { "constructInfo": { "fqn": "cdktf.LocalBackend", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "backend", @@ -793,7 +793,7 @@ exports[`replace invalid character from function name 2`] = ` }, "constructInfo": { "fqn": "cdktf.TerraformStack", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "root", @@ -802,7 +802,7 @@ exports[`replace invalid character from function name 2`] = ` }, "constructInfo": { "fqn": "cdktf.App", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "App", diff --git a/libs/wingsdk/test/target-tf-gcp/__snapshots__/bucket.test.ts.snap b/libs/wingsdk/test/target-tf-gcp/__snapshots__/bucket.test.ts.snap index 0857f557e4d..b1ea25775c2 100644 --- a/libs/wingsdk/test/target-tf-gcp/__snapshots__/bucket.test.ts.snap +++ b/libs/wingsdk/test/target-tf-gcp/__snapshots__/bucket.test.ts.snap @@ -49,7 +49,7 @@ exports[`bucket is public 2`] = ` "google": { "constructInfo": { "fqn": "cdktf.TerraformProvider", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "google", @@ -60,7 +60,7 @@ exports[`bucket is public 2`] = ` "Default": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Default", @@ -69,7 +69,7 @@ exports[`bucket is public 2`] = ` "IamServiceAccountCredentialsApi": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamServiceAccountCredentialsApi", @@ -78,7 +78,7 @@ exports[`bucket is public 2`] = ` "Id": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Id", @@ -87,7 +87,7 @@ exports[`bucket is public 2`] = ` "PublicAccessIamMember": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "PublicAccessIamMember", @@ -108,7 +108,7 @@ exports[`bucket is public 2`] = ` "random": { "constructInfo": { "fqn": "cdktf.TerraformProvider", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "random", @@ -126,7 +126,7 @@ exports[`bucket is public 2`] = ` "backend": { "constructInfo": { "fqn": "cdktf.LocalBackend", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "backend", @@ -135,7 +135,7 @@ exports[`bucket is public 2`] = ` }, "constructInfo": { "fqn": "cdktf.TerraformStack", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "root", @@ -144,7 +144,7 @@ exports[`bucket is public 2`] = ` }, "constructInfo": { "fqn": "cdktf.App", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "App", @@ -208,7 +208,7 @@ exports[`bucket with two preflight files 2`] = ` "google": { "constructInfo": { "fqn": "cdktf.TerraformProvider", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "google", @@ -219,7 +219,7 @@ exports[`bucket with two preflight files 2`] = ` "Default": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Default", @@ -228,7 +228,7 @@ exports[`bucket with two preflight files 2`] = ` "IamServiceAccountCredentialsApi": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamServiceAccountCredentialsApi", @@ -237,7 +237,7 @@ exports[`bucket with two preflight files 2`] = ` "Id": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Id", @@ -246,7 +246,7 @@ exports[`bucket with two preflight files 2`] = ` "Object-file1.txt": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Object-file1.txt", @@ -255,7 +255,7 @@ exports[`bucket with two preflight files 2`] = ` "Object-file2.txt": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Object-file2.txt", @@ -276,7 +276,7 @@ exports[`bucket with two preflight files 2`] = ` "random": { "constructInfo": { "fqn": "cdktf.TerraformProvider", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "random", @@ -294,7 +294,7 @@ exports[`bucket with two preflight files 2`] = ` "backend": { "constructInfo": { "fqn": "cdktf.LocalBackend", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "backend", @@ -303,7 +303,7 @@ exports[`bucket with two preflight files 2`] = ` }, "constructInfo": { "fqn": "cdktf.TerraformStack", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "root", @@ -312,7 +312,7 @@ exports[`bucket with two preflight files 2`] = ` }, "constructInfo": { "fqn": "cdktf.App", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "App", @@ -376,7 +376,7 @@ exports[`bucket with two preflight objects 2`] = ` "google": { "constructInfo": { "fqn": "cdktf.TerraformProvider", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "google", @@ -387,7 +387,7 @@ exports[`bucket with two preflight objects 2`] = ` "Default": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Default", @@ -396,7 +396,7 @@ exports[`bucket with two preflight objects 2`] = ` "IamServiceAccountCredentialsApi": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamServiceAccountCredentialsApi", @@ -405,7 +405,7 @@ exports[`bucket with two preflight objects 2`] = ` "Id": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Id", @@ -414,7 +414,7 @@ exports[`bucket with two preflight objects 2`] = ` "Object-file1.txt": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Object-file1.txt", @@ -423,7 +423,7 @@ exports[`bucket with two preflight objects 2`] = ` "Object-file2.txt": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Object-file2.txt", @@ -444,7 +444,7 @@ exports[`bucket with two preflight objects 2`] = ` "random": { "constructInfo": { "fqn": "cdktf.TerraformProvider", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "random", @@ -462,7 +462,7 @@ exports[`bucket with two preflight objects 2`] = ` "backend": { "constructInfo": { "fqn": "cdktf.LocalBackend", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "backend", @@ -471,7 +471,7 @@ exports[`bucket with two preflight objects 2`] = ` }, "constructInfo": { "fqn": "cdktf.TerraformStack", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "root", @@ -480,7 +480,7 @@ exports[`bucket with two preflight objects 2`] = ` }, "constructInfo": { "fqn": "cdktf.App", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "App", @@ -532,7 +532,7 @@ exports[`create a bucket 2`] = ` "google": { "constructInfo": { "fqn": "cdktf.TerraformProvider", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "google", @@ -543,7 +543,7 @@ exports[`create a bucket 2`] = ` "Default": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Default", @@ -552,7 +552,7 @@ exports[`create a bucket 2`] = ` "IamServiceAccountCredentialsApi": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamServiceAccountCredentialsApi", @@ -561,7 +561,7 @@ exports[`create a bucket 2`] = ` "Id": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Id", @@ -582,7 +582,7 @@ exports[`create a bucket 2`] = ` "random": { "constructInfo": { "fqn": "cdktf.TerraformProvider", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "random", @@ -600,7 +600,7 @@ exports[`create a bucket 2`] = ` "backend": { "constructInfo": { "fqn": "cdktf.LocalBackend", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "backend", @@ -609,7 +609,7 @@ exports[`create a bucket 2`] = ` }, "constructInfo": { "fqn": "cdktf.TerraformStack", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "root", @@ -618,7 +618,7 @@ exports[`create a bucket 2`] = ` }, "constructInfo": { "fqn": "cdktf.App", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "App", @@ -688,7 +688,7 @@ exports[`two buckets 2`] = ` "google": { "constructInfo": { "fqn": "cdktf.TerraformProvider", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "google", @@ -699,7 +699,7 @@ exports[`two buckets 2`] = ` "Default": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Default", @@ -708,7 +708,7 @@ exports[`two buckets 2`] = ` "IamServiceAccountCredentialsApi": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamServiceAccountCredentialsApi", @@ -717,7 +717,7 @@ exports[`two buckets 2`] = ` "Id": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Id", @@ -740,7 +740,7 @@ exports[`two buckets 2`] = ` "Default": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Default", @@ -749,7 +749,7 @@ exports[`two buckets 2`] = ` "IamServiceAccountCredentialsApi": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamServiceAccountCredentialsApi", @@ -758,7 +758,7 @@ exports[`two buckets 2`] = ` "Id": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Id", @@ -779,7 +779,7 @@ exports[`two buckets 2`] = ` "random": { "constructInfo": { "fqn": "cdktf.TerraformProvider", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "random", @@ -797,7 +797,7 @@ exports[`two buckets 2`] = ` "backend": { "constructInfo": { "fqn": "cdktf.LocalBackend", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "backend", @@ -806,7 +806,7 @@ exports[`two buckets 2`] = ` }, "constructInfo": { "fqn": "cdktf.TerraformStack", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "root", @@ -815,7 +815,7 @@ exports[`two buckets 2`] = ` }, "constructInfo": { "fqn": "cdktf.App", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "App", diff --git a/libs/wingsdk/test/target-tf-gcp/__snapshots__/counter.test.ts.snap b/libs/wingsdk/test/target-tf-gcp/__snapshots__/counter.test.ts.snap index d9ac684ad2c..0035b919c4d 100644 --- a/libs/wingsdk/test/target-tf-gcp/__snapshots__/counter.test.ts.snap +++ b/libs/wingsdk/test/target-tf-gcp/__snapshots__/counter.test.ts.snap @@ -41,7 +41,7 @@ exports[`counter name valid 2`] = ` "CloudFirestoreAPI": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "CloudFirestoreAPI", @@ -50,7 +50,7 @@ exports[`counter name valid 2`] = ` "Default": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Default", @@ -71,7 +71,7 @@ exports[`counter name valid 2`] = ` "google": { "constructInfo": { "fqn": "cdktf.TerraformProvider", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "google", @@ -80,7 +80,7 @@ exports[`counter name valid 2`] = ` "random": { "constructInfo": { "fqn": "cdktf.TerraformProvider", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "random", @@ -98,7 +98,7 @@ exports[`counter name valid 2`] = ` "backend": { "constructInfo": { "fqn": "cdktf.LocalBackend", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "backend", @@ -107,7 +107,7 @@ exports[`counter name valid 2`] = ` }, "constructInfo": { "fqn": "cdktf.TerraformStack", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "root", @@ -116,7 +116,7 @@ exports[`counter name valid 2`] = ` }, "constructInfo": { "fqn": "cdktf.App", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "App", @@ -167,7 +167,7 @@ exports[`counter with initial value 2`] = ` "CloudFirestoreAPI": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "CloudFirestoreAPI", @@ -176,7 +176,7 @@ exports[`counter with initial value 2`] = ` "Default": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Default", @@ -197,7 +197,7 @@ exports[`counter with initial value 2`] = ` "google": { "constructInfo": { "fqn": "cdktf.TerraformProvider", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "google", @@ -206,7 +206,7 @@ exports[`counter with initial value 2`] = ` "random": { "constructInfo": { "fqn": "cdktf.TerraformProvider", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "random", @@ -224,7 +224,7 @@ exports[`counter with initial value 2`] = ` "backend": { "constructInfo": { "fqn": "cdktf.LocalBackend", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "backend", @@ -233,7 +233,7 @@ exports[`counter with initial value 2`] = ` }, "constructInfo": { "fqn": "cdktf.TerraformStack", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "root", @@ -242,7 +242,7 @@ exports[`counter with initial value 2`] = ` }, "constructInfo": { "fqn": "cdktf.App", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "App", @@ -367,7 +367,7 @@ exports[`dec() IAM permissions 2`] = ` "CloudFirestoreAPI": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "CloudFirestoreAPI", @@ -376,7 +376,7 @@ exports[`dec() IAM permissions 2`] = ` "Default": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Default", @@ -399,7 +399,7 @@ exports[`dec() IAM permissions 2`] = ` "Asset": { "constructInfo": { "fqn": "cdktf.TerraformAsset", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Asset", @@ -408,7 +408,7 @@ exports[`dec() IAM permissions 2`] = ` "CustomRolec852aba6d7cbe50c86bbedd1463b05db52425574b5": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "CustomRolec852aba6d7cbe50c86bbedd1463b05db52425574b5", @@ -417,7 +417,7 @@ exports[`dec() IAM permissions 2`] = ` "DefaultFunction": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "DefaultFunction", @@ -428,7 +428,7 @@ exports[`dec() IAM permissions 2`] = ` "Default": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Default", @@ -437,7 +437,7 @@ exports[`dec() IAM permissions 2`] = ` "IamServiceAccountCredentialsApi": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamServiceAccountCredentialsApi", @@ -446,7 +446,7 @@ exports[`dec() IAM permissions 2`] = ` "Id": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Id", @@ -467,7 +467,7 @@ exports[`dec() IAM permissions 2`] = ` "FunctionObjectBucket": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "FunctionObjectBucket", @@ -476,7 +476,7 @@ exports[`dec() IAM permissions 2`] = ` "ProjectIamMember": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "ProjectIamMember", @@ -485,7 +485,7 @@ exports[`dec() IAM permissions 2`] = ` "ServiceAccountc852aba6d7cbe50c86bbedd1463b05db52425574b5": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "ServiceAccountc852aba6d7cbe50c86bbedd1463b05db52425574b5", @@ -506,7 +506,7 @@ exports[`dec() IAM permissions 2`] = ` "google": { "constructInfo": { "fqn": "cdktf.TerraformProvider", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "google", @@ -515,7 +515,7 @@ exports[`dec() IAM permissions 2`] = ` "random": { "constructInfo": { "fqn": "cdktf.TerraformProvider", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "random", @@ -533,7 +533,7 @@ exports[`dec() IAM permissions 2`] = ` "backend": { "constructInfo": { "fqn": "cdktf.LocalBackend", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "backend", @@ -542,7 +542,7 @@ exports[`dec() IAM permissions 2`] = ` }, "constructInfo": { "fqn": "cdktf.TerraformStack", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "root", @@ -551,7 +551,7 @@ exports[`dec() IAM permissions 2`] = ` }, "constructInfo": { "fqn": "cdktf.App", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "App", @@ -722,7 +722,7 @@ exports[`function with a counter binding 3`] = ` "CloudFirestoreAPI": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "CloudFirestoreAPI", @@ -731,7 +731,7 @@ exports[`function with a counter binding 3`] = ` "Default": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Default", @@ -754,7 +754,7 @@ exports[`function with a counter binding 3`] = ` "Asset": { "constructInfo": { "fqn": "cdktf.TerraformAsset", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Asset", @@ -763,7 +763,7 @@ exports[`function with a counter binding 3`] = ` "CustomRolec852aba6d7cbe50c86bbedd1463b05db52425574b5": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "CustomRolec852aba6d7cbe50c86bbedd1463b05db52425574b5", @@ -772,7 +772,7 @@ exports[`function with a counter binding 3`] = ` "DefaultFunction": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "DefaultFunction", @@ -783,7 +783,7 @@ exports[`function with a counter binding 3`] = ` "Default": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Default", @@ -792,7 +792,7 @@ exports[`function with a counter binding 3`] = ` "IamServiceAccountCredentialsApi": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamServiceAccountCredentialsApi", @@ -801,7 +801,7 @@ exports[`function with a counter binding 3`] = ` "Id": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Id", @@ -822,7 +822,7 @@ exports[`function with a counter binding 3`] = ` "FunctionObjectBucket": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "FunctionObjectBucket", @@ -831,7 +831,7 @@ exports[`function with a counter binding 3`] = ` "ProjectIamMember": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "ProjectIamMember", @@ -840,7 +840,7 @@ exports[`function with a counter binding 3`] = ` "ServiceAccountc852aba6d7cbe50c86bbedd1463b05db52425574b5": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "ServiceAccountc852aba6d7cbe50c86bbedd1463b05db52425574b5", @@ -861,7 +861,7 @@ exports[`function with a counter binding 3`] = ` "google": { "constructInfo": { "fqn": "cdktf.TerraformProvider", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "google", @@ -870,7 +870,7 @@ exports[`function with a counter binding 3`] = ` "random": { "constructInfo": { "fqn": "cdktf.TerraformProvider", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "random", @@ -888,7 +888,7 @@ exports[`function with a counter binding 3`] = ` "backend": { "constructInfo": { "fqn": "cdktf.LocalBackend", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "backend", @@ -897,7 +897,7 @@ exports[`function with a counter binding 3`] = ` }, "constructInfo": { "fqn": "cdktf.TerraformStack", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "root", @@ -906,7 +906,7 @@ exports[`function with a counter binding 3`] = ` }, "constructInfo": { "fqn": "cdktf.App", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "App", @@ -1031,7 +1031,7 @@ exports[`inc() IAM permissions 2`] = ` "CloudFirestoreAPI": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "CloudFirestoreAPI", @@ -1040,7 +1040,7 @@ exports[`inc() IAM permissions 2`] = ` "Default": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Default", @@ -1063,7 +1063,7 @@ exports[`inc() IAM permissions 2`] = ` "Asset": { "constructInfo": { "fqn": "cdktf.TerraformAsset", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Asset", @@ -1072,7 +1072,7 @@ exports[`inc() IAM permissions 2`] = ` "CustomRolec852aba6d7cbe50c86bbedd1463b05db52425574b5": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "CustomRolec852aba6d7cbe50c86bbedd1463b05db52425574b5", @@ -1081,7 +1081,7 @@ exports[`inc() IAM permissions 2`] = ` "DefaultFunction": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "DefaultFunction", @@ -1092,7 +1092,7 @@ exports[`inc() IAM permissions 2`] = ` "Default": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Default", @@ -1101,7 +1101,7 @@ exports[`inc() IAM permissions 2`] = ` "IamServiceAccountCredentialsApi": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamServiceAccountCredentialsApi", @@ -1110,7 +1110,7 @@ exports[`inc() IAM permissions 2`] = ` "Id": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Id", @@ -1131,7 +1131,7 @@ exports[`inc() IAM permissions 2`] = ` "FunctionObjectBucket": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "FunctionObjectBucket", @@ -1140,7 +1140,7 @@ exports[`inc() IAM permissions 2`] = ` "ProjectIamMember": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "ProjectIamMember", @@ -1149,7 +1149,7 @@ exports[`inc() IAM permissions 2`] = ` "ServiceAccountc852aba6d7cbe50c86bbedd1463b05db52425574b5": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "ServiceAccountc852aba6d7cbe50c86bbedd1463b05db52425574b5", @@ -1170,7 +1170,7 @@ exports[`inc() IAM permissions 2`] = ` "google": { "constructInfo": { "fqn": "cdktf.TerraformProvider", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "google", @@ -1179,7 +1179,7 @@ exports[`inc() IAM permissions 2`] = ` "random": { "constructInfo": { "fqn": "cdktf.TerraformProvider", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "random", @@ -1197,7 +1197,7 @@ exports[`inc() IAM permissions 2`] = ` "backend": { "constructInfo": { "fqn": "cdktf.LocalBackend", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "backend", @@ -1206,7 +1206,7 @@ exports[`inc() IAM permissions 2`] = ` }, "constructInfo": { "fqn": "cdktf.TerraformStack", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "root", @@ -1215,7 +1215,7 @@ exports[`inc() IAM permissions 2`] = ` }, "constructInfo": { "fqn": "cdktf.App", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "App", @@ -1339,7 +1339,7 @@ exports[`peek() IAM permissions 2`] = ` "CloudFirestoreAPI": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "CloudFirestoreAPI", @@ -1348,7 +1348,7 @@ exports[`peek() IAM permissions 2`] = ` "Default": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Default", @@ -1371,7 +1371,7 @@ exports[`peek() IAM permissions 2`] = ` "Asset": { "constructInfo": { "fqn": "cdktf.TerraformAsset", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Asset", @@ -1380,7 +1380,7 @@ exports[`peek() IAM permissions 2`] = ` "CustomRolec852aba6d7cbe50c86bbedd1463b05db52425574b5": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "CustomRolec852aba6d7cbe50c86bbedd1463b05db52425574b5", @@ -1389,7 +1389,7 @@ exports[`peek() IAM permissions 2`] = ` "DefaultFunction": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "DefaultFunction", @@ -1400,7 +1400,7 @@ exports[`peek() IAM permissions 2`] = ` "Default": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Default", @@ -1409,7 +1409,7 @@ exports[`peek() IAM permissions 2`] = ` "IamServiceAccountCredentialsApi": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamServiceAccountCredentialsApi", @@ -1418,7 +1418,7 @@ exports[`peek() IAM permissions 2`] = ` "Id": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Id", @@ -1439,7 +1439,7 @@ exports[`peek() IAM permissions 2`] = ` "FunctionObjectBucket": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "FunctionObjectBucket", @@ -1448,7 +1448,7 @@ exports[`peek() IAM permissions 2`] = ` "ProjectIamMember": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "ProjectIamMember", @@ -1457,7 +1457,7 @@ exports[`peek() IAM permissions 2`] = ` "ServiceAccountc852aba6d7cbe50c86bbedd1463b05db52425574b5": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "ServiceAccountc852aba6d7cbe50c86bbedd1463b05db52425574b5", @@ -1478,7 +1478,7 @@ exports[`peek() IAM permissions 2`] = ` "google": { "constructInfo": { "fqn": "cdktf.TerraformProvider", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "google", @@ -1487,7 +1487,7 @@ exports[`peek() IAM permissions 2`] = ` "random": { "constructInfo": { "fqn": "cdktf.TerraformProvider", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "random", @@ -1505,7 +1505,7 @@ exports[`peek() IAM permissions 2`] = ` "backend": { "constructInfo": { "fqn": "cdktf.LocalBackend", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "backend", @@ -1514,7 +1514,7 @@ exports[`peek() IAM permissions 2`] = ` }, "constructInfo": { "fqn": "cdktf.TerraformStack", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "root", @@ -1523,7 +1523,7 @@ exports[`peek() IAM permissions 2`] = ` }, "constructInfo": { "fqn": "cdktf.App", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "App", @@ -1574,7 +1574,7 @@ exports[`replace invalid character from counter name 2`] = ` "CloudFirestoreAPI": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "CloudFirestoreAPI", @@ -1583,7 +1583,7 @@ exports[`replace invalid character from counter name 2`] = ` "Default": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Default", @@ -1604,7 +1604,7 @@ exports[`replace invalid character from counter name 2`] = ` "google": { "constructInfo": { "fqn": "cdktf.TerraformProvider", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "google", @@ -1613,7 +1613,7 @@ exports[`replace invalid character from counter name 2`] = ` "random": { "constructInfo": { "fqn": "cdktf.TerraformProvider", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "random", @@ -1631,7 +1631,7 @@ exports[`replace invalid character from counter name 2`] = ` "backend": { "constructInfo": { "fqn": "cdktf.LocalBackend", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "backend", @@ -1640,7 +1640,7 @@ exports[`replace invalid character from counter name 2`] = ` }, "constructInfo": { "fqn": "cdktf.TerraformStack", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "root", @@ -1649,7 +1649,7 @@ exports[`replace invalid character from counter name 2`] = ` }, "constructInfo": { "fqn": "cdktf.App", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "App", @@ -1773,7 +1773,7 @@ exports[`set() IAM permissions 2`] = ` "CloudFirestoreAPI": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "CloudFirestoreAPI", @@ -1782,7 +1782,7 @@ exports[`set() IAM permissions 2`] = ` "Default": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Default", @@ -1805,7 +1805,7 @@ exports[`set() IAM permissions 2`] = ` "Asset": { "constructInfo": { "fqn": "cdktf.TerraformAsset", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Asset", @@ -1814,7 +1814,7 @@ exports[`set() IAM permissions 2`] = ` "CustomRolec852aba6d7cbe50c86bbedd1463b05db52425574b5": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "CustomRolec852aba6d7cbe50c86bbedd1463b05db52425574b5", @@ -1823,7 +1823,7 @@ exports[`set() IAM permissions 2`] = ` "DefaultFunction": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "DefaultFunction", @@ -1834,7 +1834,7 @@ exports[`set() IAM permissions 2`] = ` "Default": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Default", @@ -1843,7 +1843,7 @@ exports[`set() IAM permissions 2`] = ` "IamServiceAccountCredentialsApi": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamServiceAccountCredentialsApi", @@ -1852,7 +1852,7 @@ exports[`set() IAM permissions 2`] = ` "Id": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Id", @@ -1873,7 +1873,7 @@ exports[`set() IAM permissions 2`] = ` "FunctionObjectBucket": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "FunctionObjectBucket", @@ -1882,7 +1882,7 @@ exports[`set() IAM permissions 2`] = ` "ProjectIamMember": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "ProjectIamMember", @@ -1891,7 +1891,7 @@ exports[`set() IAM permissions 2`] = ` "ServiceAccountc852aba6d7cbe50c86bbedd1463b05db52425574b5": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "ServiceAccountc852aba6d7cbe50c86bbedd1463b05db52425574b5", @@ -1912,7 +1912,7 @@ exports[`set() IAM permissions 2`] = ` "google": { "constructInfo": { "fqn": "cdktf.TerraformProvider", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "google", @@ -1921,7 +1921,7 @@ exports[`set() IAM permissions 2`] = ` "random": { "constructInfo": { "fqn": "cdktf.TerraformProvider", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "random", @@ -1939,7 +1939,7 @@ exports[`set() IAM permissions 2`] = ` "backend": { "constructInfo": { "fqn": "cdktf.LocalBackend", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "backend", @@ -1948,7 +1948,7 @@ exports[`set() IAM permissions 2`] = ` }, "constructInfo": { "fqn": "cdktf.TerraformStack", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "root", @@ -1957,7 +1957,7 @@ exports[`set() IAM permissions 2`] = ` }, "constructInfo": { "fqn": "cdktf.App", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "App", diff --git a/libs/wingsdk/test/target-tf-gcp/__snapshots__/function.test.ts.snap b/libs/wingsdk/test/target-tf-gcp/__snapshots__/function.test.ts.snap index e86b896a57a..d003d3a7b36 100644 --- a/libs/wingsdk/test/target-tf-gcp/__snapshots__/function.test.ts.snap +++ b/libs/wingsdk/test/target-tf-gcp/__snapshots__/function.test.ts.snap @@ -91,7 +91,7 @@ exports[`basic function 2`] = ` "Asset": { "constructInfo": { "fqn": "cdktf.TerraformAsset", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Asset", @@ -100,7 +100,7 @@ exports[`basic function 2`] = ` "CustomRolec852aba6d7cbe50c86bbedd1463b05db52425574b5": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "CustomRolec852aba6d7cbe50c86bbedd1463b05db52425574b5", @@ -109,7 +109,7 @@ exports[`basic function 2`] = ` "DefaultFunction": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "DefaultFunction", @@ -120,7 +120,7 @@ exports[`basic function 2`] = ` "Default": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Default", @@ -129,7 +129,7 @@ exports[`basic function 2`] = ` "IamServiceAccountCredentialsApi": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamServiceAccountCredentialsApi", @@ -138,7 +138,7 @@ exports[`basic function 2`] = ` "Id": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Id", @@ -159,7 +159,7 @@ exports[`basic function 2`] = ` "FunctionObjectBucket": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "FunctionObjectBucket", @@ -168,7 +168,7 @@ exports[`basic function 2`] = ` "ProjectIamMember": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "ProjectIamMember", @@ -177,7 +177,7 @@ exports[`basic function 2`] = ` "ServiceAccountc852aba6d7cbe50c86bbedd1463b05db52425574b5": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "ServiceAccountc852aba6d7cbe50c86bbedd1463b05db52425574b5", @@ -198,7 +198,7 @@ exports[`basic function 2`] = ` "google": { "constructInfo": { "fqn": "cdktf.TerraformProvider", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "google", @@ -207,7 +207,7 @@ exports[`basic function 2`] = ` "random": { "constructInfo": { "fqn": "cdktf.TerraformProvider", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "random", @@ -225,7 +225,7 @@ exports[`basic function 2`] = ` "backend": { "constructInfo": { "fqn": "cdktf.LocalBackend", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "backend", @@ -234,7 +234,7 @@ exports[`basic function 2`] = ` }, "constructInfo": { "fqn": "cdktf.TerraformStack", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "root", @@ -243,7 +243,7 @@ exports[`basic function 2`] = ` }, "constructInfo": { "fqn": "cdktf.App", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "App", @@ -347,7 +347,7 @@ exports[`basic function with environment variables 2`] = ` "Asset": { "constructInfo": { "fqn": "cdktf.TerraformAsset", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Asset", @@ -356,7 +356,7 @@ exports[`basic function with environment variables 2`] = ` "CustomRolec852aba6d7cbe50c86bbedd1463b05db52425574b5": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "CustomRolec852aba6d7cbe50c86bbedd1463b05db52425574b5", @@ -365,7 +365,7 @@ exports[`basic function with environment variables 2`] = ` "DefaultFunction": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "DefaultFunction", @@ -376,7 +376,7 @@ exports[`basic function with environment variables 2`] = ` "Default": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Default", @@ -385,7 +385,7 @@ exports[`basic function with environment variables 2`] = ` "IamServiceAccountCredentialsApi": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamServiceAccountCredentialsApi", @@ -394,7 +394,7 @@ exports[`basic function with environment variables 2`] = ` "Id": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Id", @@ -415,7 +415,7 @@ exports[`basic function with environment variables 2`] = ` "FunctionObjectBucket": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "FunctionObjectBucket", @@ -424,7 +424,7 @@ exports[`basic function with environment variables 2`] = ` "ProjectIamMember": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "ProjectIamMember", @@ -433,7 +433,7 @@ exports[`basic function with environment variables 2`] = ` "ServiceAccountc852aba6d7cbe50c86bbedd1463b05db52425574b5": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "ServiceAccountc852aba6d7cbe50c86bbedd1463b05db52425574b5", @@ -454,7 +454,7 @@ exports[`basic function with environment variables 2`] = ` "google": { "constructInfo": { "fqn": "cdktf.TerraformProvider", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "google", @@ -463,7 +463,7 @@ exports[`basic function with environment variables 2`] = ` "random": { "constructInfo": { "fqn": "cdktf.TerraformProvider", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "random", @@ -481,7 +481,7 @@ exports[`basic function with environment variables 2`] = ` "backend": { "constructInfo": { "fqn": "cdktf.LocalBackend", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "backend", @@ -490,7 +490,7 @@ exports[`basic function with environment variables 2`] = ` }, "constructInfo": { "fqn": "cdktf.TerraformStack", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "root", @@ -499,7 +499,7 @@ exports[`basic function with environment variables 2`] = ` }, "constructInfo": { "fqn": "cdktf.App", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "App", @@ -602,7 +602,7 @@ exports[`basic function with memory size specified 2`] = ` "Asset": { "constructInfo": { "fqn": "cdktf.TerraformAsset", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Asset", @@ -611,7 +611,7 @@ exports[`basic function with memory size specified 2`] = ` "CustomRolec852aba6d7cbe50c86bbedd1463b05db52425574b5": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "CustomRolec852aba6d7cbe50c86bbedd1463b05db52425574b5", @@ -620,7 +620,7 @@ exports[`basic function with memory size specified 2`] = ` "DefaultFunction": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "DefaultFunction", @@ -631,7 +631,7 @@ exports[`basic function with memory size specified 2`] = ` "Default": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Default", @@ -640,7 +640,7 @@ exports[`basic function with memory size specified 2`] = ` "IamServiceAccountCredentialsApi": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamServiceAccountCredentialsApi", @@ -649,7 +649,7 @@ exports[`basic function with memory size specified 2`] = ` "Id": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Id", @@ -670,7 +670,7 @@ exports[`basic function with memory size specified 2`] = ` "FunctionObjectBucket": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "FunctionObjectBucket", @@ -679,7 +679,7 @@ exports[`basic function with memory size specified 2`] = ` "ProjectIamMember": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "ProjectIamMember", @@ -688,7 +688,7 @@ exports[`basic function with memory size specified 2`] = ` "ServiceAccountc852aba6d7cbe50c86bbedd1463b05db52425574b5": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "ServiceAccountc852aba6d7cbe50c86bbedd1463b05db52425574b5", @@ -709,7 +709,7 @@ exports[`basic function with memory size specified 2`] = ` "google": { "constructInfo": { "fqn": "cdktf.TerraformProvider", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "google", @@ -718,7 +718,7 @@ exports[`basic function with memory size specified 2`] = ` "random": { "constructInfo": { "fqn": "cdktf.TerraformProvider", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "random", @@ -736,7 +736,7 @@ exports[`basic function with memory size specified 2`] = ` "backend": { "constructInfo": { "fqn": "cdktf.LocalBackend", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "backend", @@ -745,7 +745,7 @@ exports[`basic function with memory size specified 2`] = ` }, "constructInfo": { "fqn": "cdktf.TerraformStack", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "root", @@ -754,7 +754,7 @@ exports[`basic function with memory size specified 2`] = ` }, "constructInfo": { "fqn": "cdktf.App", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "App", @@ -857,7 +857,7 @@ exports[`basic function with timeout explicitly set 2`] = ` "Asset": { "constructInfo": { "fqn": "cdktf.TerraformAsset", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Asset", @@ -866,7 +866,7 @@ exports[`basic function with timeout explicitly set 2`] = ` "CustomRolec852aba6d7cbe50c86bbedd1463b05db52425574b5": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "CustomRolec852aba6d7cbe50c86bbedd1463b05db52425574b5", @@ -875,7 +875,7 @@ exports[`basic function with timeout explicitly set 2`] = ` "DefaultFunction": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "DefaultFunction", @@ -886,7 +886,7 @@ exports[`basic function with timeout explicitly set 2`] = ` "Default": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Default", @@ -895,7 +895,7 @@ exports[`basic function with timeout explicitly set 2`] = ` "IamServiceAccountCredentialsApi": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamServiceAccountCredentialsApi", @@ -904,7 +904,7 @@ exports[`basic function with timeout explicitly set 2`] = ` "Id": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Id", @@ -925,7 +925,7 @@ exports[`basic function with timeout explicitly set 2`] = ` "FunctionObjectBucket": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "FunctionObjectBucket", @@ -934,7 +934,7 @@ exports[`basic function with timeout explicitly set 2`] = ` "ProjectIamMember": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "ProjectIamMember", @@ -943,7 +943,7 @@ exports[`basic function with timeout explicitly set 2`] = ` "ServiceAccountc852aba6d7cbe50c86bbedd1463b05db52425574b5": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "ServiceAccountc852aba6d7cbe50c86bbedd1463b05db52425574b5", @@ -964,7 +964,7 @@ exports[`basic function with timeout explicitly set 2`] = ` "google": { "constructInfo": { "fqn": "cdktf.TerraformProvider", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "google", @@ -973,7 +973,7 @@ exports[`basic function with timeout explicitly set 2`] = ` "random": { "constructInfo": { "fqn": "cdktf.TerraformProvider", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "random", @@ -991,7 +991,7 @@ exports[`basic function with timeout explicitly set 2`] = ` "backend": { "constructInfo": { "fqn": "cdktf.LocalBackend", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "backend", @@ -1000,7 +1000,7 @@ exports[`basic function with timeout explicitly set 2`] = ` }, "constructInfo": { "fqn": "cdktf.TerraformStack", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "root", @@ -1009,7 +1009,7 @@ exports[`basic function with timeout explicitly set 2`] = ` }, "constructInfo": { "fqn": "cdktf.App", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "App", diff --git a/libs/wingsdk/test/target-tf-gcp/__snapshots__/schedule.test.ts.snap b/libs/wingsdk/test/target-tf-gcp/__snapshots__/schedule.test.ts.snap index 2ff99b9284c..68fcfaf339c 100644 --- a/libs/wingsdk/test/target-tf-gcp/__snapshots__/schedule.test.ts.snap +++ b/libs/wingsdk/test/target-tf-gcp/__snapshots__/schedule.test.ts.snap @@ -122,7 +122,7 @@ exports[`create a schedule 2`] = ` "Asset": { "constructInfo": { "fqn": "cdktf.TerraformAsset", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Asset", @@ -131,7 +131,7 @@ exports[`create a schedule 2`] = ` "CustomRolec8e1d4a853a6dfc6d497de76ef87d4c5a00da4ae0a": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "CustomRolec8e1d4a853a6dfc6d497de76ef87d4c5a00da4ae0a", @@ -140,7 +140,7 @@ exports[`create a schedule 2`] = ` "DefaultFunction": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "DefaultFunction", @@ -151,7 +151,7 @@ exports[`create a schedule 2`] = ` "Default": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Default", @@ -160,7 +160,7 @@ exports[`create a schedule 2`] = ` "IamServiceAccountCredentialsApi": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "IamServiceAccountCredentialsApi", @@ -169,7 +169,7 @@ exports[`create a schedule 2`] = ` "Id": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Id", @@ -190,7 +190,7 @@ exports[`create a schedule 2`] = ` "FunctionObjectBucket": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "FunctionObjectBucket", @@ -199,7 +199,7 @@ exports[`create a schedule 2`] = ` "ProjectIamMember": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "ProjectIamMember", @@ -208,7 +208,7 @@ exports[`create a schedule 2`] = ` "ServiceAccountc8e1d4a853a6dfc6d497de76ef87d4c5a00da4ae0a": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "ServiceAccountc8e1d4a853a6dfc6d497de76ef87d4c5a00da4ae0a", @@ -217,7 +217,7 @@ exports[`create a schedule 2`] = ` "invoker-permission-KEN.11]}": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "invoker-permission-KEN.11]}", @@ -238,7 +238,7 @@ exports[`create a schedule 2`] = ` "Scheduler": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "Scheduler", @@ -247,7 +247,7 @@ exports[`create a schedule 2`] = ` "SchedulerServiceAccount": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "SchedulerServiceAccount", @@ -268,7 +268,7 @@ exports[`create a schedule 2`] = ` "google": { "constructInfo": { "fqn": "cdktf.TerraformProvider", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "google", @@ -277,7 +277,7 @@ exports[`create a schedule 2`] = ` "random": { "constructInfo": { "fqn": "cdktf.TerraformProvider", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "random", @@ -295,7 +295,7 @@ exports[`create a schedule 2`] = ` "backend": { "constructInfo": { "fqn": "cdktf.LocalBackend", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "backend", @@ -304,7 +304,7 @@ exports[`create a schedule 2`] = ` }, "constructInfo": { "fqn": "cdktf.TerraformStack", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "root", @@ -313,7 +313,7 @@ exports[`create a schedule 2`] = ` }, "constructInfo": { "fqn": "cdktf.App", - "version": "0.20.3", + "version": "0.20.7", }, "display": {}, "id": "App", diff --git a/libs/wingtunnels/package.json b/libs/wingtunnels/package.json index 94036fc3f14..649d9f6a718 100644 --- a/libs/wingtunnels/package.json +++ b/libs/wingtunnels/package.json @@ -21,16 +21,16 @@ "types": "lib/index.d.ts", "license": "MIT", "dependencies": { - "@types/debug": "^4.1.9", - "@types/node": "^20.11.19", - "@types/ws": "^8.5.7", - "debug": "^4.3.4", - "ws": "^8.14.2" + "@types/debug": "^4.1.12", + "@types/node": "^20.11.0", + "@types/ws": "^8.5.10", + "debug": "^4.3.5", + "ws": "^8.17.1" }, "devDependencies": { "bump-pack": "workspace:^", - "typescript": "^5.3.3", "tsup": "^6.7.0", + "typescript": "^5.5.2", "vitest": "^1.6.0" }, "scripts": { diff --git a/package.json b/package.json index a3d93692d8f..c257dff08f5 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "@winglang/compatibility-spy": "workspace:^", "bump-pack": "workspace:^", "generate-workspace": "workspace:^", - "turbo": "^1.13.3" + "turbo": "^1.13.4" }, "scripts": { "build": "turbo compile post-compile lint eslint test package", @@ -25,13 +25,14 @@ }, "pnpm": { "overrides": { - "mime": "^3.0.0" + "mime": "^3.0.0", + "axios@>=0.8.1 <0.28.0": ">=0.28.0" }, "patchedDependencies": { "wasi-js@1.7.3": "patches/wasi-js@1.7.3.patch", "mime@3.0.0": "patches/mime@3.0.0.patch", "protobufjs@7.2.5": "patches/protobufjs@7.2.5.patch", - "jsii@5.3.11": "patches/jsii@5.3.11.patch" + "jsii@5.3.39": "patches/jsii@5.3.39.patch" } } } diff --git a/patches/jsii@5.3.11.patch b/patches/jsii@5.3.39.patch similarity index 83% rename from patches/jsii@5.3.11.patch rename to patches/jsii@5.3.39.patch index 236ab083470..163c10f3166 100644 --- a/patches/jsii@5.3.11.patch +++ b/patches/jsii@5.3.39.patch @@ -29,17 +29,18 @@ index 75fbc9583eb98336f94f3245cc656ba786021472..aee348079ebcffa71d12a412fe32766a } const fqn = this._getFQN(type, declaration, purpose, isThisType); if (fqn == null) { -diff --git a/lib/compiler.js b/lib/compiler.js -index 242bb9f2049ee58814e641109afa3e0942ae5fe2..447237ff4ca734a95b62e260ec8cfdfc8b10a37a 100644 ---- a/lib/compiler.js -+++ b/lib/compiler.js -@@ -18,7 +18,8 @@ const BASE_COMPILER_OPTIONS = { +diff --git a/lib/tsconfig/compiler-options.js b/lib/tsconfig/compiler-options.js +index e97343ab6ec9cfccda4b5a0c3780796755eb2b0a..2c1eaad9288c2951cba6410fd344647ebce884b5 100644 +--- a/lib/tsconfig/compiler-options.js ++++ b/lib/tsconfig/compiler-options.js +@@ -8,8 +8,9 @@ exports.BASE_COMPILER_OPTIONS = { declaration: true, experimentalDecorators: true, incremental: true, - lib: ['lib.es2020.d.ts'], + lib: ['lib.es2020.d.ts','lib.dom.d.ts'], -+ esModuleInterop: true, module: ts.ModuleKind.CommonJS, ++ esModuleInterop: true, noEmitOnError: true, - noFallthroughCasesInSwitch: true, \ No newline at end of file + noFallthroughCasesInSwitch: true, + noImplicitAny: true, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 7c82bd5f5af..b33ced0127d 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -6,11 +6,12 @@ settings: overrides: mime: ^3.0.0 + axios@>=0.8.1 <0.28.0: '>=0.28.0' patchedDependencies: - jsii@5.3.11: - hash: ckgthkljzwfnfbd5qz6x7vtvme - path: patches/jsii@5.3.11.patch + jsii@5.3.39: + hash: wolfkkypbs5h5o2e2c4c7vi7xu + path: patches/jsii@5.3.39.patch mime@3.0.0: hash: 2he2uszztbibyal6zfzmv2a2oa path: patches/mime@3.0.0.patch @@ -35,14 +36,14 @@ importers: specifier: workspace:^ version: link:tools/generate-workspace turbo: - specifier: ^1.13.3 - version: 1.13.3 + specifier: ^1.13.4 + version: 1.13.4 apps/jsii-docgen: dependencies: '@jsii/spec': - specifier: ^1.94.0 - version: 1.94.0 + specifier: ^1.100.0 + version: 1.100.0 case: specifier: ^1.6.3 version: 1.6.3 @@ -53,14 +54,14 @@ importers: specifier: ^8.1.0 version: 8.1.0 glob-promise: - specifier: ^6.0.3 - version: 6.0.5(glob@8.1.0) + specifier: ^6.0.7 + version: 6.0.7(glob@8.1.0) jsii-reflect: - specifier: ^1.94.0 - version: 1.94.0 + specifier: ^1.100.0 + version: 1.100.0 semver: - specifier: ^7.5.4 - version: 7.5.4 + specifier: ^7.6.2 + version: 7.6.2 yargs: specifier: ^16 version: 16.2.0 @@ -70,43 +71,43 @@ importers: version: 9.0.13 '@types/node': specifier: ^20.11.0 - version: 20.11.0 + version: 20.14.8 '@types/semver': - specifier: ^7.5.1 - version: 7.5.3 + specifier: ^7.5.8 + version: 7.5.8 '@types/yargs': specifier: ^16 - version: 16.0.6 + version: 16.0.9 '@typescript-eslint/eslint-plugin': specifier: ^5 - version: 5.62.0(@typescript-eslint/parser@5.62.0)(eslint@8.51.0)(typescript@5.3.3) + version: 5.62.0(@typescript-eslint/parser@5.62.0)(eslint@8.57.0)(typescript@5.3.3) '@typescript-eslint/parser': specifier: ^5 - version: 5.62.0(eslint@8.51.0)(typescript@5.3.3) + version: 5.62.0(eslint@8.57.0)(typescript@5.3.3) constructs: - specifier: ^10.3 + specifier: ^10.3.0 version: 10.3.0 eslint: specifier: ^8 - version: 8.51.0 + version: 8.57.0 eslint-config-prettier: specifier: ^8.10.0 - version: 8.10.0(eslint@8.51.0) + version: 8.10.0(eslint@8.57.0) eslint-import-resolver-node: specifier: ^0.3.9 version: 0.3.9 eslint-import-resolver-typescript: - specifier: ^3.6.0 - version: 3.6.1(@typescript-eslint/parser@5.62.0)(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.28.1)(eslint@8.51.0) + specifier: ^3.6.1 + version: 3.6.1(@typescript-eslint/parser@5.62.0)(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.29.1)(eslint@8.57.0) eslint-plugin-import: - specifier: ^2.28.1 - version: 2.28.1(@typescript-eslint/parser@5.62.0)(eslint-import-resolver-typescript@3.6.1)(eslint@8.51.0) + specifier: ^2.29.1 + version: 2.29.1(@typescript-eslint/parser@5.62.0)(eslint-import-resolver-typescript@3.6.1)(eslint@8.57.0) eslint-plugin-prettier: specifier: ^4.2.1 - version: 4.2.1(eslint-config-prettier@8.10.0)(eslint@8.51.0)(prettier@2.8.8) + version: 4.2.1(eslint-config-prettier@8.10.0)(eslint@8.57.0)(prettier@2.8.8) jsii: - specifier: ~5.3.11 - version: 5.3.11(patch_hash=ckgthkljzwfnfbd5qz6x7vtvme) + specifier: ~5.3.39 + version: 5.3.39(patch_hash=wolfkkypbs5h5o2e2c4c7vi7xu) prettier: specifier: ^2.8.8 version: 2.8.8 @@ -114,14 +115,14 @@ importers: specifier: ^0.71.163 version: 0.71.163 tsx: - specifier: ^4.7.0 - version: 4.7.0 + specifier: ^4.15.7 + version: 4.15.7 typescript: specifier: ~5.3.3 version: 5.3.3 vitest: specifier: ^1.6.0 - version: 1.6.0(@types/node@20.11.0) + version: 1.6.0(@types/node@20.14.8) apps/jsii-docgen/test/__fixtures__/libraries/construct-library: devDependencies: @@ -145,7 +146,7 @@ importers: version: 1.204.0(@aws-cdk/cloud-assembly-schema@1.204.0)(@aws-cdk/cx-api@1.204.0)(@aws-cdk/region-info@1.204.0)(constructs@3.4.344) '@types/node': specifier: ^20.11.0 - version: 20.11.0 + version: 20.14.8 '@types/prettier': specifier: 2.6.0 version: 2.6.0 @@ -153,11 +154,11 @@ importers: specifier: 3.4.344 version: 3.4.344 jsii: - specifier: ~5.3.11 - version: 5.3.11(patch_hash=ckgthkljzwfnfbd5qz6x7vtvme) + specifier: ~5.3.39 + version: 5.3.39(patch_hash=wolfkkypbs5h5o2e2c4c7vi7xu) typescript: - specifier: ^5.3.3 - version: 5.3.3 + specifier: ^5.5.2 + version: 5.5.2 apps/vscode-wing: devDependencies: @@ -166,46 +167,46 @@ importers: version: 10.45.2(@trpc/server@10.45.2) '@types/node': specifier: ^20.11.0 - version: 20.11.0 + version: 20.14.8 '@types/node-fetch': - specifier: ^2.6.4 - version: 2.6.6 + specifier: ^2.6.11 + version: 2.6.11 '@types/vscode': specifier: ^1.70.0 - version: 1.83.0 + version: 1.90.0 '@types/which': - specifier: ^3.0.0 - version: 3.0.0 + specifier: ^3.0.4 + version: 3.0.4 '@types/ws': - specifier: ^8.5.5 - version: 8.5.6 + specifier: ^8.5.10 + version: 8.5.10 '@typescript-eslint/eslint-plugin': specifier: ^5 - version: 5.62.0(@typescript-eslint/parser@5.62.0)(eslint@8.51.0)(typescript@5.3.3) + version: 5.62.0(@typescript-eslint/parser@5.62.0)(eslint@8.57.0)(typescript@5.5.2) '@typescript-eslint/parser': specifier: ^5 - version: 5.62.0(eslint@8.51.0)(typescript@5.3.3) + version: 5.62.0(eslint@8.57.0)(typescript@5.5.2) '@vscode/vsce': - specifier: ^2.21.0 - version: 2.21.1 + specifier: ^2.29.0 + version: 2.29.0 eslint: specifier: ^8 - version: 8.51.0 + version: 8.57.0 eslint-config-prettier: specifier: ^8.10.0 - version: 8.10.0(eslint@8.51.0) + version: 8.10.0(eslint@8.57.0) eslint-import-resolver-node: specifier: ^0.3.9 version: 0.3.9 eslint-import-resolver-typescript: - specifier: ^3.6.0 - version: 3.6.1(@typescript-eslint/parser@5.62.0)(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.28.1)(eslint@8.51.0) + specifier: ^3.6.1 + version: 3.6.1(@typescript-eslint/parser@5.62.0)(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.29.1)(eslint@8.57.0) eslint-plugin-import: - specifier: ^2.28.1 - version: 2.28.1(@typescript-eslint/parser@5.62.0)(eslint-import-resolver-typescript@3.6.1)(eslint@8.51.0) + specifier: ^2.29.1 + version: 2.29.1(@typescript-eslint/parser@5.62.0)(eslint-import-resolver-typescript@3.6.1)(eslint@8.57.0) eslint-plugin-prettier: specifier: ^4.2.1 - version: 4.2.1(eslint-config-prettier@8.10.0)(eslint@8.51.0)(prettier@2.8.8) + version: 4.2.1(eslint-config-prettier@8.10.0)(eslint@8.57.0)(prettier@2.8.8) node-fetch: specifier: ^2.6.7 version: 2.7.0 @@ -219,14 +220,14 @@ importers: specifier: ^0.71.163 version: 0.71.163 tsup: - specifier: ^8.0.2 - version: 8.0.2(typescript@5.3.3) + specifier: ^8.1.0 + version: 8.1.0(postcss@8.4.38)(typescript@5.5.2) tsx: - specifier: ^4.7.0 - version: 4.7.0 + specifier: ^4.15.7 + version: 4.15.7 typescript: - specifier: ^5.3.3 - version: 5.3.3 + specifier: ^5.5.2 + version: 5.5.2 vscode-languageclient: specifier: ^8.1.0 version: 8.1.0 @@ -237,17 +238,17 @@ importers: specifier: workspace:^ version: link:../wing ws: - specifier: ^8.13.0 - version: 8.14.2 + specifier: ^8.17.1 + version: 8.17.1 apps/wing: dependencies: '@npmcli/arborist': - specifier: ^7.2.0 - version: 7.2.0 + specifier: ^7.5.3 + version: 7.5.3 '@segment/analytics-node': - specifier: ^1.1.0 - version: 1.1.1 + specifier: ^1.3.0 + version: 1.3.0 '@supercharge/promise-pool': specifier: ^3.2.0 version: 3.2.0 @@ -276,29 +277,29 @@ importers: specifier: ^5.0.3 version: 5.0.3 debug: - specifier: ^4.3.4 - version: 4.3.4(supports-color@5.5.0) + specifier: ^4.3.5 + version: 4.3.5(supports-color@5.5.0) dotenv: - specifier: ^16.3.1 - version: 16.3.1 + specifier: ^16.4.5 + version: 16.4.5 dotenv-expand: specifier: ^10.0.0 version: 10.0.0 glob: - specifier: ^10.3.10 - version: 10.3.10 + specifier: ^10.4.2 + version: 10.4.2 inquirer: - specifier: ^8 + specifier: ^8.2.6 version: 8.2.6 lodash.once: specifier: ^4.1.1 version: 4.1.1 nanoid: - specifier: ^3.3.6 - version: 3.3.6 + specifier: ^3.3.7 + version: 3.3.7 npm-packlist: - specifier: ^8.0.0 - version: 8.0.0 + specifier: ^8.0.2 + version: 8.0.2 open: specifier: ^8.4.2 version: 8.4.2 @@ -306,11 +307,11 @@ importers: specifier: ^5.4.1 version: 5.4.1 tar: - specifier: ^6.2.0 - version: 6.2.0 + specifier: ^6.2.1 + version: 6.2.1 tiny-updater: - specifier: ^3.5.1 - version: 3.5.1 + specifier: ^3.5.2 + version: 3.5.2 uuid: specifier: ^8.3.2 version: 8.3.2 @@ -319,8 +320,8 @@ importers: version: 8.1.0 devDependencies: '@types/debug': - specifier: ^4.1.8 - version: 4.1.9 + specifier: ^4.1.12 + version: 4.1.12 '@types/inquirer': specifier: ^9.0.7 version: 9.0.7 @@ -329,58 +330,58 @@ importers: version: 4.1.9 '@types/node': specifier: ^20.11.0 - version: 20.11.0 + version: 20.14.8 '@types/node-persist': - specifier: ^3.1.4 - version: 3.1.4 + specifier: ^3.1.8 + version: 3.1.8 '@types/npm-packlist': - specifier: ^7.0.1 - version: 7.0.1 + specifier: ^7.0.3 + version: 7.0.3 '@types/npmcli__arborist': - specifier: ^5.6.2 - version: 5.6.2 + specifier: ^5.6.9 + version: 5.6.9 '@types/semver-utils': - specifier: ^1.1.1 - version: 1.1.1 + specifier: ^1.1.3 + version: 1.1.3 '@types/tar': - specifier: ^6.1.6 - version: 6.1.6 + specifier: ^6.1.13 + version: 6.1.13 '@types/uuid': specifier: ^8.3.4 version: 8.3.4 '@typescript-eslint/eslint-plugin': - specifier: ^6.7.4 - version: 6.7.4(@typescript-eslint/parser@6.7.4)(eslint@8.51.0)(typescript@5.3.3) + specifier: ^6.21.0 + version: 6.21.0(@typescript-eslint/parser@6.21.0)(eslint@8.57.0)(typescript@5.5.2) '@typescript-eslint/parser': - specifier: ^6.7.4 - version: 6.7.4(eslint@8.51.0)(typescript@5.3.3) + specifier: ^6.21.0 + version: 6.21.0(eslint@8.57.0)(typescript@5.5.2) bump-pack: specifier: workspace:^ version: link:../../tools/bump-pack eslint: - specifier: ^8.50.0 - version: 8.51.0 + specifier: ^8.57.0 + version: 8.57.0 eslint-config-prettier: specifier: ^8.10.0 - version: 8.10.0(eslint@8.51.0) + version: 8.10.0(eslint@8.57.0) eslint-import-resolver-node: specifier: ^0.3.9 version: 0.3.9 eslint-import-resolver-typescript: - specifier: ^3.6.0 - version: 3.6.1(@typescript-eslint/parser@6.7.4)(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.28.1)(eslint@8.51.0) + specifier: ^3.6.1 + version: 3.6.1(@typescript-eslint/parser@6.21.0)(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.29.1)(eslint@8.57.0) eslint-plugin-import: - specifier: ^2.28.1 - version: 2.28.1(@typescript-eslint/parser@6.7.4)(eslint-import-resolver-typescript@3.6.1)(eslint@8.51.0) + specifier: ^2.29.1 + version: 2.29.1(@typescript-eslint/parser@6.21.0)(eslint-import-resolver-typescript@3.6.1)(eslint@8.57.0) eslint-plugin-prettier: specifier: ^4.2.1 - version: 4.2.1(eslint-config-prettier@8.10.0)(eslint@8.51.0)(prettier@2.8.8) + version: 4.2.1(eslint-config-prettier@8.10.0)(eslint@8.57.0)(prettier@2.8.8) typescript: - specifier: ^5.3.3 - version: 5.3.3 + specifier: ^5.5.2 + version: 5.5.2 vitest: specifier: ^1.6.0 - version: 1.6.0(@types/node@20.11.0) + version: 1.6.0(@types/node@20.14.8) apps/wing-api-checker: dependencies: @@ -388,48 +389,48 @@ importers: specifier: ^4.1.2 version: 4.1.2 chokidar: - specifier: ^3.5.3 - version: 3.5.3 + specifier: ^3.6.0 + version: 3.6.0 glob-promise: - specifier: ^6.0.3 - version: 6.0.5(glob@8.1.0) + specifier: ^6.0.7 + version: 6.0.7(glob@8.1.0) jsii-reflect: - specifier: ^1.94.0 - version: 1.94.0 + specifier: ^1.100.0 + version: 1.100.0 yargs: specifier: ^17.7.2 version: 17.7.2 devDependencies: '@types/node': specifier: ^20.11.0 - version: 20.11.0 + version: 20.14.8 '@types/yargs': - specifier: ^16.0.5 - version: 16.0.6 + specifier: ^16.0.9 + version: 16.0.9 '@typescript-eslint/eslint-plugin': specifier: ^5 - version: 5.62.0(@typescript-eslint/parser@5.62.0)(eslint@8.51.0)(typescript@5.3.3) + version: 5.62.0(@typescript-eslint/parser@5.62.0)(eslint@8.57.0)(typescript@5.5.2) '@typescript-eslint/parser': specifier: ^5 - version: 5.62.0(eslint@8.51.0)(typescript@5.3.3) + version: 5.62.0(eslint@8.57.0)(typescript@5.5.2) eslint: specifier: ^8 - version: 8.51.0 + version: 8.57.0 eslint-config-prettier: specifier: ^8.10.0 - version: 8.10.0(eslint@8.51.0) + version: 8.10.0(eslint@8.57.0) eslint-import-resolver-node: specifier: ^0.3.9 version: 0.3.9 eslint-import-resolver-typescript: - specifier: ^3.6.0 - version: 3.6.1(@typescript-eslint/parser@5.62.0)(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.28.1)(eslint@8.51.0) + specifier: ^3.6.1 + version: 3.6.1(@typescript-eslint/parser@5.62.0)(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.29.1)(eslint@8.57.0) eslint-plugin-import: - specifier: ^2.28.1 - version: 2.28.1(@typescript-eslint/parser@5.62.0)(eslint-import-resolver-typescript@3.6.1)(eslint@8.51.0) + specifier: ^2.29.1 + version: 2.29.1(@typescript-eslint/parser@5.62.0)(eslint-import-resolver-typescript@3.6.1)(eslint@8.57.0) eslint-plugin-prettier: specifier: ^4.2.1 - version: 4.2.1(eslint-config-prettier@8.10.0)(eslint@8.51.0)(prettier@2.8.8) + version: 4.2.1(eslint-config-prettier@8.10.0)(eslint@8.57.0)(prettier@2.8.8) prettier: specifier: ^2.8.8 version: 2.8.8 @@ -440,17 +441,17 @@ importers: specifier: ^9 version: 9.5.0 tsx: - specifier: ^4.7.0 - version: 4.7.0 + specifier: ^4.15.7 + version: 4.15.7 typescript: - specifier: ^5.3.3 - version: 5.3.3 + specifier: ^5.5.2 + version: 5.5.2 apps/wing-console/console/app: dependencies: '@segment/analytics-node': - specifier: ^1.1.0 - version: 1.1.1 + specifier: ^1.3.0 + version: 1.3.0 '@wingconsole/server': specifier: workspace:^ version: link:../server @@ -464,33 +465,33 @@ importers: specifier: ^8.4.2 version: 8.4.2 picocolors: - specifier: ^1.0.0 - version: 1.0.0 + specifier: ^1.0.1 + version: 1.0.1 devDependencies: '@ibm/plex': - specifier: ^6.3.0 - version: 6.3.0 + specifier: ^6.4.1 + version: 6.4.1 '@playwright/test': - specifier: ^1.37.1 - version: 1.38.1 + specifier: ^1.44.1 + version: 1.44.1 '@tailwindcss/forms': specifier: ^0.5.7 - version: 0.5.7(tailwindcss@3.4.3) + version: 0.5.7(tailwindcss@3.4.4) '@types/cross-spawn': specifier: ^6.0.6 version: 6.0.6 '@types/express': - specifier: ^4.17.17 - version: 4.17.18 + specifier: ^4.17.21 + version: 4.17.21 '@types/react': - specifier: ^18.2.21 - version: 18.2.25 + specifier: ^18.3.3 + version: 18.3.3 '@types/react-dom': - specifier: ^18.2.7 - version: 18.2.11 + specifier: ^18.3.0 + version: 18.3.0 '@vitejs/plugin-react': - specifier: ^4.2.1 - version: 4.2.1(vite@4.5.2) + specifier: ^4.3.1 + version: 4.3.1(vite@4.5.3) '@vitest/coverage-v8': specifier: ^1.6.0 version: 1.6.0(vitest@1.6.0) @@ -504,59 +505,59 @@ importers: specifier: workspace:^ version: link:../ui autoprefixer: - specifier: ^10.4.15 - version: 10.4.16(postcss@8.4.38) + specifier: ^10.4.19 + version: 10.4.19(postcss@8.4.38) bump-pack: specifier: workspace:^ version: link:../../../../tools/bump-pack dotenv: - specifier: ^16.3.1 - version: 16.3.1 + specifier: ^16.4.5 + version: 16.4.5 eslint: - specifier: ^8.48.0 - version: 8.51.0 + specifier: ^8.57.0 + version: 8.57.0 nanoid: specifier: ^4.0.2 version: 4.0.2 react: - specifier: ^18.2.0 - version: 18.2.0 + specifier: ^18.3.1 + version: 18.3.1 react-dom: - specifier: ^18.2.0 - version: 18.2.0(react@18.2.0) + specifier: ^18.3.1 + version: 18.3.1(react@18.3.1) tailwindcss: - specifier: ^3.4.3 - version: 3.4.3 + specifier: ^3.4.4 + version: 3.4.4 tsup: - specifier: ^8.0.2 - version: 8.0.2(postcss@8.4.38)(typescript@5.2.2) + specifier: ^8.1.0 + version: 8.1.0(postcss@8.4.38)(typescript@5.5.2) tsx: - specifier: ^4.7.0 - version: 4.7.0 + specifier: ^4.15.7 + version: 4.15.7 typescript: - specifier: ^5.2.2 - version: 5.2.2 + specifier: ^5.5.2 + version: 5.5.2 vite: - specifier: ^4.5.2 - version: 4.5.2 + specifier: ^4.5.3 + version: 4.5.3 apps/wing-console/console/design-system: dependencies: '@headlessui/react': - specifier: ^1.7.17 - version: 1.7.17(react-dom@18.2.0)(react@18.2.0) + specifier: ^1.7.19 + version: 1.7.19(react-dom@18.3.1)(react@18.3.1) '@heroicons/react': - specifier: ^2.0.18 - version: 2.0.18(react@18.2.0) + specifier: ^2.1.4 + version: 2.1.4(react@18.3.1) '@popperjs/core': specifier: ^2.11.8 version: 2.11.8 '@tailwindcss/forms': specifier: ^0.5.7 - version: 0.5.7(tailwindcss@3.4.3) + version: 0.5.7(tailwindcss@3.4.4) '@tailwindcss/typography': - specifier: ^0.5.12 - version: 0.5.12(tailwindcss@3.4.3) + specifier: ^0.5.13 + version: 0.5.13(tailwindcss@3.4.4) classnames: specifier: ^2.5.1 version: 2.5.1 @@ -567,39 +568,39 @@ importers: specifier: ^4.0.2 version: 4.0.2 react: - specifier: ^18.2.0 - version: 18.2.0 + specifier: ^18.3.1 + version: 18.3.1 react-dom: - specifier: ^18.2.0 - version: 18.2.0(react@18.2.0) + specifier: ^18.3.1 + version: 18.3.1(react@18.3.1) react-popper: specifier: ^2.3.0 - version: 2.3.0(@popperjs/core@2.11.8)(react-dom@18.2.0)(react@18.2.0) + version: 2.3.0(@popperjs/core@2.11.8)(react-dom@18.3.1)(react@18.3.1) tailwindcss: - specifier: ^3.4.3 - version: 3.4.3 + specifier: ^3.4.4 + version: 3.4.4 devDependencies: '@babel/core': - specifier: ^7.23.9 - version: 7.23.9 + specifier: ^7.24.7 + version: 7.24.7 '@storybook/react': - specifier: ^7.4.0 - version: 7.4.6(react-dom@18.2.0)(react@18.2.0)(typescript@5.2.2) + specifier: ^7.6.19 + version: 7.6.19(react-dom@18.3.1)(react@18.3.1)(typescript@5.5.2) '@testing-library/react': - specifier: ^14.0.0 - version: 14.0.0(react-dom@18.2.0)(react@18.2.0) + specifier: ^14.3.1 + version: 14.3.1(react-dom@18.3.1)(react@18.3.1) '@types/lodash.uniq': - specifier: ^4.5.7 - version: 4.5.7 + specifier: ^4.5.9 + version: 4.5.9 '@types/react': - specifier: ^18.2.21 - version: 18.2.25 + specifier: ^18.3.3 + version: 18.3.3 '@types/react-dom': - specifier: ^18.2.7 - version: 18.2.11 + specifier: ^18.3.0 + version: 18.3.0 '@vitejs/plugin-react': - specifier: ^4.2.1 - version: 4.2.1(vite@4.5.2) + specifier: ^4.3.1 + version: 4.3.1(vite@4.5.3) '@vitest/coverage-v8': specifier: ^1.6.0 version: 1.6.0(vitest@1.6.0) @@ -613,26 +614,26 @@ importers: specifier: workspace:^ version: link:../../../../tools/bump-pack eslint: - specifier: ^8.48.0 - version: 8.51.0 + specifier: ^8.57.0 + version: 8.57.0 happy-dom: specifier: ^9.20.3 version: 9.20.3 tsup: - specifier: ^8.0.2 - version: 8.0.2(postcss@8.4.38)(typescript@5.2.2) + specifier: ^8.1.0 + version: 8.1.0(postcss@8.4.38)(typescript@5.5.2) typescript: - specifier: ^5.2.2 - version: 5.2.2 + specifier: ^5.5.2 + version: 5.5.2 vite: - specifier: ^4.5.2 - version: 4.5.2 + specifier: ^4.5.3 + version: 4.5.3 vitest: specifier: ^1.6.0 version: 1.6.0(happy-dom@9.20.3) webpack: - specifier: ^5.88.2 - version: 5.88.2(esbuild@0.19.12) + specifier: ^5.92.1 + version: 5.92.1(esbuild@0.21.5) apps/wing-console/console/server: dependencies: @@ -646,11 +647,11 @@ importers: specifier: ^0.4.0 version: 0.4.0 debug: - specifier: ^4.3.4 - version: 4.3.4(supports-color@5.5.0) + specifier: ^4.3.5 + version: 4.3.5(supports-color@5.5.0) launch-editor: - specifier: ^2.6.0 - version: 2.6.1 + specifier: ^2.8.0 + version: 2.8.0 ms: specifier: ^2.1.3 version: 2.1.3 @@ -659,17 +660,17 @@ importers: specifier: ^10.45.2 version: 10.45.2 '@types/cors': - specifier: ^2.8.13 - version: 2.8.14 + specifier: ^2.8.17 + version: 2.8.17 '@types/express': - specifier: ^4.17.17 - version: 4.17.18 + specifier: ^4.17.21 + version: 4.17.21 '@types/lodash.uniqby': - specifier: ^4.7.7 - version: 4.7.7 + specifier: ^4.7.9 + version: 4.7.9 '@types/ws': - specifier: ^8.5.5 - version: 8.5.6 + specifier: ^8.5.10 + version: 8.5.10 '@vitest/coverage-v8': specifier: ^1.6.0 version: 1.6.0(vitest@1.6.0) @@ -686,26 +687,26 @@ importers: specifier: workspace:^ version: link:../../../../tools/bump-pack chokidar: - specifier: ^3.5.3 - version: 3.5.3 + specifier: ^3.6.0 + version: 3.6.0 constructs: - specifier: ^10.3 + specifier: ^10.3.0 version: 10.3.0 cors: specifier: ^2.8.5 version: 2.8.5 emittery: - specifier: ^1.0.1 - version: 1.0.1 + specifier: ^1.0.3 + version: 1.0.3 env-paths: specifier: ^3.0.0 version: 3.0.0 esbuild-plugin-raw: - specifier: ^0.1.7 - version: 0.1.7(esbuild@0.15.18) + specifier: ^0.1.8 + version: 0.1.8(esbuild@0.19.12) eslint: - specifier: ^8.48.0 - version: 8.51.0 + specifier: ^8.57.0 + version: 8.57.0 express: specifier: ^4.19.2 version: 4.19.2 @@ -722,44 +723,44 @@ importers: specifier: ^3.3.2 version: 3.3.2 redis: - specifier: ^4.6.8 - version: 4.6.10 + specifier: ^4.6.14 + version: 4.6.14 tsup: - specifier: ^8.0.2 - version: 8.0.2(postcss@8.4.38)(typescript@5.2.2) + specifier: ^8.1.0 + version: 8.1.0(postcss@8.4.38)(typescript@5.5.2) typescript: - specifier: ^5.2.2 - version: 5.2.2 + specifier: ^5.5.2 + version: 5.5.2 vitest: specifier: ^1.6.0 version: 1.6.0(happy-dom@9.20.3) ws: - specifier: ^8.13.0 - version: 8.14.2 + specifier: ^8.17.1 + version: 8.17.1 zod: - specifier: ^3.22.2 - version: 3.22.4 + specifier: ^3.23.8 + version: 3.23.8 apps/wing-console/console/ui: dependencies: '@headlessui/react': - specifier: ^1.7.17 - version: 1.7.17(react-dom@18.2.0)(react@18.2.0) + specifier: ^1.7.19 + version: 1.7.19(react-dom@18.3.1)(react@18.3.1) '@heroicons/react': - specifier: ^2.0.18 - version: 2.0.18(react@18.2.0) + specifier: ^2.1.4 + version: 2.1.4(react@18.3.1) '@popperjs/core': specifier: ^2.11.8 version: 2.11.8 '@tanstack/react-query': - specifier: ^4.33.0 - version: 4.36.1(react-dom@18.2.0)(react@18.2.0) + specifier: ^4.36.1 + version: 4.36.1(react-dom@18.3.1)(react@18.3.1) '@trpc/client': specifier: ^10.45.2 version: 10.45.2(@trpc/server@10.45.2) '@trpc/react-query': specifier: ^10.45.2 - version: 10.45.2(@tanstack/react-query@4.36.1)(@trpc/client@10.45.2)(@trpc/server@10.45.2)(react-dom@18.2.0)(react@18.2.0) + version: 10.45.2(@tanstack/react-query@4.36.1)(@trpc/client@10.45.2)(@trpc/server@10.45.2)(react-dom@18.3.1)(react@18.3.1) '@trpc/server': specifier: ^10.45.2 version: 10.45.2 @@ -773,17 +774,17 @@ importers: specifier: ^0.8.2 version: 0.8.2 framer-motion: - specifier: ^10.16.2 - version: 10.16.4(react-dom@18.2.0)(react@18.2.0) + specifier: ^10.18.0 + version: 10.18.0(react-dom@18.3.1)(react@18.3.1) jszip: specifier: ^3.10.1 version: 3.10.1 linkify-react: - specifier: ^4.1.1 - version: 4.1.1(linkifyjs@4.1.1)(react@18.2.0) + specifier: ^4.1.3 + version: 4.1.3(linkifyjs@4.1.3)(react@18.3.1) linkifyjs: - specifier: ^4.1.1 - version: 4.1.1 + specifier: ^4.1.3 + version: 4.1.3 lodash.debounce: specifier: ^4.0.8 version: 4.0.8 @@ -797,69 +798,69 @@ importers: specifier: ^4.0.2 version: 4.0.2 react-dom: - specifier: ^18.2.0 - version: 18.2.0(react@18.2.0) + specifier: ^18.3.1 + version: 18.3.1(react@18.3.1) react-markdown: specifier: ^9.0.1 - version: 9.0.1(@types/react@18.2.25)(react@18.2.0) + version: 9.0.1(@types/react@18.3.3)(react@18.3.1) react-use: - specifier: ^17.4.2 - version: 17.4.2(react-dom@18.2.0)(react@18.2.0) + specifier: ^17.5.0 + version: 17.5.0(react-dom@18.3.1)(react@18.3.1) zod: - specifier: ^3.22.2 - version: 3.22.4 + specifier: ^3.23.8 + version: 3.23.8 devDependencies: '@babel/core': - specifier: ^7.23.9 - version: 7.23.9 + specifier: ^7.24.7 + version: 7.24.7 '@storybook/addon-essentials': - specifier: ^7.4.0 - version: 7.4.6(@types/react-dom@18.2.11)(@types/react@18.2.25)(react-dom@18.2.0)(react@18.2.0) + specifier: ^7.6.19 + version: 7.6.19(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) '@storybook/addon-interactions': - specifier: ^7.4.0 - version: 7.4.6(@types/react-dom@18.2.11)(@types/react@18.2.25)(react-dom@18.2.0)(react@18.2.0) + specifier: ^7.6.19 + version: 7.6.19 '@storybook/addon-links': - specifier: ^7.4.0 - version: 7.4.6(react-dom@18.2.0)(react@18.2.0) + specifier: ^7.6.19 + version: 7.6.19(react@18.3.1) '@storybook/blocks': - specifier: ^7.4.0 - version: 7.4.6(@types/react-dom@18.2.11)(@types/react@18.2.25)(react-dom@18.2.0)(react@18.2.0) + specifier: ^7.6.19 + version: 7.6.19(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) '@storybook/react': - specifier: ^7.4.0 - version: 7.4.6(react-dom@18.2.0)(react@18.2.0)(typescript@5.2.2) + specifier: ^7.6.19 + version: 7.6.19(react-dom@18.3.1)(react@18.3.1)(typescript@5.5.2) '@storybook/react-vite': - specifier: ^7.4.0 - version: 7.4.6(react-dom@18.2.0)(react@18.2.0)(typescript@5.2.2)(vite@4.5.2) + specifier: ^7.6.19 + version: 7.6.19(react-dom@18.3.1)(react@18.3.1)(typescript@5.5.2)(vite@4.5.3) '@storybook/testing-library': specifier: ^0.1.0 version: 0.1.0 '@types/cors': - specifier: ^2.8.13 - version: 2.8.14 + specifier: ^2.8.17 + version: 2.8.17 '@types/d3-selection': - specifier: ^3.0.6 - version: 3.0.7 + specifier: ^3.0.10 + version: 3.0.10 '@types/d3-zoom': - specifier: ^3.0.4 - version: 3.0.5 + specifier: ^3.0.8 + version: 3.0.8 '@types/lodash.debounce': - specifier: ^4.0.7 - version: 4.0.7 + specifier: ^4.0.9 + version: 4.0.9 '@types/lodash.throttle': - specifier: ^4.1.7 - version: 4.1.7 + specifier: ^4.1.9 + version: 4.1.9 '@types/lodash.uniqby': - specifier: ^4.7.7 - version: 4.7.7 + specifier: ^4.7.9 + version: 4.7.9 '@types/react': - specifier: ^18.2.21 - version: 18.2.25 + specifier: ^18.3.3 + version: 18.3.3 '@types/react-dom': - specifier: ^18.2.7 - version: 18.2.11 + specifier: ^18.3.0 + version: 18.3.0 '@vitejs/plugin-react-swc': - specifier: ^3.6.0 - version: 3.6.0(vite@4.5.2) + specifier: ^3.7.0 + version: 3.7.0(vite@4.5.3) '@wingconsole/eslint-plugin': specifier: workspace:^ version: link:../../tools/eslint-plugin @@ -879,38 +880,38 @@ importers: specifier: workspace:^ version: link:../../../../libs/wingsdk autoprefixer: - specifier: ^10.4.15 - version: 10.4.16(postcss@8.4.38) + specifier: ^10.4.19 + version: 10.4.19(postcss@8.4.38) bump-pack: specifier: workspace:^ version: link:../../../../tools/bump-pack eslint: - specifier: ^8.48.0 - version: 8.51.0 + specifier: ^8.57.0 + version: 8.57.0 react: - specifier: ^18.2.0 - version: 18.2.0 + specifier: ^18.3.1 + version: 18.3.1 storybook: - specifier: ^7.4.0 - version: 7.4.6 + specifier: ^7.6.19 + version: 7.6.19 tailwindcss: - specifier: ^3.4.3 - version: 3.4.3 + specifier: ^3.4.4 + version: 3.4.4 tsup: - specifier: ^8.0.2 - version: 8.0.2(postcss@8.4.38)(typescript@5.2.2) + specifier: ^8.1.0 + version: 8.1.0(postcss@8.4.38)(typescript@5.5.2) typescript: - specifier: ^5.2.2 - version: 5.2.2 + specifier: ^5.5.2 + version: 5.5.2 vite: - specifier: ^4.5.2 - version: 4.5.2 + specifier: ^4.5.3 + version: 4.5.3 vitest: specifier: ^1.6.0 version: 1.6.0(happy-dom@9.20.3) webpack: - specifier: ^5.88.2 - version: 5.88.2(esbuild@0.19.12) + specifier: ^5.92.1 + version: 5.92.1(esbuild@0.21.5) apps/wing-console/packages/error-message: devDependencies: @@ -921,14 +922,14 @@ importers: specifier: workspace:^ version: link:../../tools/tsconfig typescript: - specifier: ^5.2.2 - version: 5.2.2 + specifier: ^5.5.2 + version: 5.5.2 apps/wing-console/packages/use-loading: devDependencies: '@types/react': - specifier: ^18.2.21 - version: 18.2.25 + specifier: ^18.3.3 + version: 18.3.3 '@wingconsole/eslint-plugin': specifier: workspace:^ version: link:../../tools/eslint-plugin @@ -936,14 +937,14 @@ importers: specifier: workspace:^ version: link:../../tools/tsconfig typescript: - specifier: ^5.2.2 - version: 5.2.2 + specifier: ^5.5.2 + version: 5.5.2 apps/wing-console/packages/use-persistent-state: devDependencies: '@types/react': - specifier: ^18.2.12 - version: 18.2.25 + specifier: ^18.3.3 + version: 18.3.3 '@wingconsole/eslint-plugin': specifier: workspace:^ version: link:../../tools/eslint-plugin @@ -951,63 +952,63 @@ importers: specifier: workspace:^ version: link:../../tools/tsconfig typescript: - specifier: ^5.1.3 - version: 5.2.2 + specifier: ^5.5.2 + version: 5.5.2 apps/wing-console/tools/eslint-plugin: dependencies: '@cloudy-ts/eslint-plugin': specifier: ^0.0.260 - version: 0.0.260(eslint@8.51.0) + version: 0.0.260(eslint@8.57.0) '@typescript-eslint/eslint-plugin': specifier: ^5.62.0 - version: 5.62.0(@typescript-eslint/parser@5.62.0)(eslint@8.51.0)(typescript@5.2.2) + version: 5.62.0(@typescript-eslint/parser@5.62.0)(eslint@8.57.0)(typescript@5.5.2) '@typescript-eslint/parser': specifier: ^5.62.0 - version: 5.62.0(eslint@8.51.0)(typescript@5.2.2) + version: 5.62.0(eslint@8.57.0)(typescript@5.5.2) eslint-config-prettier: specifier: ^8.10.0 - version: 8.10.0(eslint@8.51.0) + version: 8.10.0(eslint@8.57.0) eslint-import-resolver-node: specifier: ^0.3.9 version: 0.3.9 eslint-import-resolver-typescript: - specifier: ^3.6.0 - version: 3.6.1(@typescript-eslint/parser@5.62.0)(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.28.1)(eslint@8.51.0) + specifier: ^3.6.1 + version: 3.6.1(@typescript-eslint/parser@5.62.0)(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.29.1)(eslint@8.57.0) eslint-plugin-import: - specifier: ^2.28.1 - version: 2.28.1(@typescript-eslint/parser@5.62.0)(eslint-import-resolver-typescript@3.6.1)(eslint@8.51.0) + specifier: ^2.29.1 + version: 2.29.1(@typescript-eslint/parser@5.62.0)(eslint-import-resolver-typescript@3.6.1)(eslint@8.57.0) eslint-plugin-jsx-a11y: - specifier: ^6.7.1 - version: 6.7.1(eslint@8.51.0) + specifier: ^6.9.0 + version: 6.9.0(eslint@8.57.0) eslint-plugin-prettier: specifier: ^4.2.1 - version: 4.2.1(eslint-config-prettier@8.10.0)(eslint@8.51.0)(prettier@2.8.8) + version: 4.2.1(eslint-config-prettier@8.10.0)(eslint@8.57.0)(prettier@2.8.8) eslint-plugin-react: - specifier: ^7.33.2 - version: 7.33.2(eslint@8.51.0) + specifier: ^7.34.3 + version: 7.34.3(eslint@8.57.0) eslint-plugin-react-hooks: - specifier: ^4.6.0 - version: 4.6.0(eslint@8.51.0) + specifier: ^4.6.2 + version: 4.6.2(eslint@8.57.0) eslint-plugin-unicorn: specifier: ^47.0.0 - version: 47.0.0(eslint@8.51.0) + version: 47.0.0(eslint@8.57.0) devDependencies: eslint: - specifier: ^8.48.0 - version: 8.51.0 + specifier: ^8.57.0 + version: 8.57.0 prettier: specifier: ^2.8.8 version: 2.8.8 typescript: - specifier: ^5.2.2 - version: 5.2.2 + specifier: ^5.5.2 + version: 5.5.2 apps/wing-console/tools/tsconfig: devDependencies: typescript: - specifier: ^5.2.2 - version: 5.2.2 + specifier: ^5.5.2 + version: 5.5.2 apps/wingcli-v2: dependencies: @@ -1024,22 +1025,22 @@ importers: docs: devDependencies: '@types/node': - specifier: ^20.14.0 - version: 20.14.2 + specifier: ^20.11.0 + version: 20.14.8 tsx: - specifier: ^4.11.2 - version: 4.15.2 + specifier: ^4.15.7 + version: 4.15.7 typescript: - specifier: ^5.4.5 - version: 5.4.5 + specifier: ^5.5.2 + version: 5.5.2 docs/docs: {} examples/jsii-fixture: devDependencies: jsii: - specifier: ~5.3.11 - version: 5.3.11(patch_hash=ckgthkljzwfnfbd5qz6x7vtvme) + specifier: ~5.3.39 + version: 5.3.39(patch_hash=wolfkkypbs5h5o2e2c4c7vi7xu) examples/tests/doc_examples: {} @@ -1048,10 +1049,10 @@ importers: examples/tests/invalid: dependencies: cdktf: - specifier: 0.20.3 - version: 0.20.3(constructs@10.3.0) + specifier: 0.20.7 + version: 0.20.7(constructs@10.3.0) constructs: - specifier: ^10.3 + specifier: ^10.3.0 version: 10.3.0 jsii-code-samples: specifier: 1.7.0 @@ -1063,10 +1064,10 @@ importers: examples/tests/sdk_tests: dependencies: nanoid: - specifier: ^3.3.6 - version: 3.3.6 + specifier: ^3.3.7 + version: 3.3.7 uuid: - specifier: ^9.0.0 + specifier: ^9.0.1 version: 9.0.1 examples/tests/valid: @@ -1078,31 +1079,31 @@ importers: specifier: ^2.1.2 version: 2.1.2 '@aws-cdk/asset-node-proxy-agent-v6': - specifier: ^2.0.1 - version: 2.0.1 + specifier: ^2.0.3 + version: 2.0.3 '@aws-sdk/client-dynamodb': - specifier: ^3.503.1 - version: 3.503.1 + specifier: ^3.602.0 + version: 3.602.0 '@cdktf/provider-aws': - specifier: ^19 - version: 19.3.0(cdktf@0.20.3)(constructs@10.3.0) + specifier: ^19.23.0 + version: 19.23.0(cdktf@0.20.7)(constructs@10.3.0) '@winglibs/testfixture': specifier: workspace:^ version: link:../../wing-fixture aws-cdk-lib: - specifier: ^2.124.0 - version: 2.124.0(constructs@10.3.0) + specifier: ^2.147.0 + version: 2.147.0(constructs@10.3.0) cdk8s: - specifier: ^2.68.43 - version: 2.68.43(constructs@10.3.0) + specifier: ^2.68.81 + version: 2.68.81(constructs@10.3.0) cdk8s-plus-27: - specifier: ^2.7.81 - version: 2.7.81(cdk8s@2.68.43)(constructs@10.3.0) + specifier: ^2.9.5 + version: 2.9.5(cdk8s@2.68.81)(constructs@10.3.0) cdktf: - specifier: 0.20.3 - version: 0.20.3(constructs@10.3.0) + specifier: 0.20.7 + version: 0.20.7(constructs@10.3.0) constructs: - specifier: ^10.3 + specifier: ^10.3.0 version: 10.3.0 jsii-code-samples: specifier: 1.7.0 @@ -1114,7 +1115,7 @@ importers: specifier: ^0.71.163 version: 0.71.163 uuid: - specifier: ^9.0.0 + specifier: ^9.0.1 version: 9.0.1 examples/ts-fixture: @@ -1127,8 +1128,8 @@ importers: version: link:../wing-fixture devDependencies: '@types/node': - specifier: ^20 - version: 20.11.0 + specifier: ^20.11.0 + version: 20.14.8 winglang: specifier: workspace:^ version: link:../../apps/wing @@ -1146,11 +1147,11 @@ importers: dependencies: typescript: specifier: ^5.3.3 - version: 5.3.3 + version: 5.5.2 devDependencies: '@types/node': specifier: ^20.11.0 - version: 20.11.0 + version: 20.14.8 '@winglang/sdk': specifier: workspace:^ version: link:../../wingsdk @@ -1158,11 +1159,11 @@ importers: specifier: workspace:^ version: link:../../../tools/bump-pack tsup: - specifier: ^8.0.2 - version: 8.0.2(typescript@5.3.3) + specifier: ^8.1.0 + version: 8.1.0(postcss@8.4.38)(typescript@5.5.2) vitest: specifier: ^1.6.0 - version: 1.6.0(@types/node@20.11.0) + version: 1.6.0(@types/node@20.14.8) libs/awscdk: dependencies: @@ -1170,10 +1171,10 @@ importers: specifier: workspace:^ version: link:../wingsdk aws-cdk-lib: - specifier: ^2.124.0 - version: 2.124.0(constructs@10.3.0) + specifier: ^2.147.0 + version: 2.147.0(constructs@10.3.0) constructs: - specifier: ^10.3 + specifier: ^10.3.0 version: 10.3.0 safe-stable-stringify: specifier: ^2.4.3 @@ -1183,11 +1184,11 @@ importers: specifier: workspace:^ version: link:../../tools/bump-pack tsup: - specifier: ^8.0.2 - version: 8.0.2(typescript@5.3.3) + specifier: ^8.1.0 + version: 8.1.0(postcss@8.4.38)(typescript@5.5.2) typescript: - specifier: ^5.3.3 - version: 5.3.3 + specifier: ^5.5.2 + version: 5.5.2 vitest: specifier: ^1.6.0 version: 1.6.0(happy-dom@9.20.3) @@ -1198,18 +1199,18 @@ importers: specifier: workspace:^ version: link:../wingsdk constructs: - specifier: ^10.3 + specifier: ^10.3.0 version: 10.3.0 devDependencies: bump-pack: specifier: workspace:^ version: link:../../tools/bump-pack tsup: - specifier: ^8.0.2 - version: 8.0.2(typescript@5.3.3) + specifier: ^8.1.0 + version: 8.1.0(postcss@8.4.38)(typescript@5.5.2) typescript: - specifier: ^5.3.3 - version: 5.3.3 + specifier: ^5.5.2 + version: 5.5.2 vitest: specifier: ^1.6.0 version: 1.6.0(happy-dom@9.20.3) @@ -1224,8 +1225,8 @@ importers: version: 0.21.1 devDependencies: nodemon: - specifier: ^3.1.0 - version: 3.1.0 + specifier: ^3.1.4 + version: 3.1.4 tree-sitter-cli: specifier: 0.22.5 version: 0.22.5 @@ -1251,15 +1252,15 @@ importers: specifier: workspace:^ version: link:../wingsdk jiti: - specifier: ^1.21.0 - version: 1.21.0 + specifier: ^1.21.6 + version: 1.21.6 wasi-js: specifier: ^1.7.3 version: 1.7.3(patch_hash=rmwvp46j2ligfusbdx5dzh4a3q) devDependencies: '@types/node': specifier: ^20.11.0 - version: 20.11.0 + version: 20.14.8 '@winglang/wingc': specifier: workspace:^ version: link:../wingc @@ -1267,14 +1268,14 @@ importers: specifier: workspace:^ version: link:../../tools/bump-pack tsup: - specifier: ^8.0.2 - version: 8.0.2(typescript@5.3.3) + specifier: ^8.1.0 + version: 8.1.0(postcss@8.4.38)(typescript@5.5.2) typescript: - specifier: ^5.3.3 - version: 5.3.3 + specifier: ^5.5.2 + version: 5.5.2 vitest: specifier: ^1.6.0 - version: 1.6.0(@types/node@20.11.0) + version: 1.6.0(@types/node@20.14.8) libs/wingii: {} @@ -1314,14 +1315,14 @@ importers: specifier: 3.577.0 version: 3.577.0(@aws-sdk/client-dynamodb@3.577.0) '@azure/core-paging': - specifier: ^1.5.0 - version: 1.5.0 + specifier: ^1.6.2 + version: 1.6.2 '@azure/data-tables': specifier: 13.2.2 version: 13.2.2 '@azure/identity': - specifier: 4.0.1 - version: 4.0.1 + specifier: 4.3.0 + version: 4.3.0 '@azure/storage-blob': specifier: 12.14.0 version: 12.14.0 @@ -1338,17 +1339,17 @@ importers: specifier: 2.0.0 version: 2.0.0 '@types/aws-lambda': - specifier: ^8.10.119 - version: 8.10.124 + specifier: ^8.10.140 + version: 8.10.140 '@winglang/wingtunnels': specifier: workspace:^ version: link:../wingtunnels ajv: - specifier: ^8.12.0 - version: 8.12.0 + specifier: ^8.16.0 + version: 8.16.0 cdktf: - specifier: 0.20.3 - version: 0.20.3(constructs@10.3.0) + specifier: 0.20.7 + version: 0.20.7(constructs@10.3.0) constructs: specifier: ^10.3 version: 10.3.0 @@ -1368,11 +1369,11 @@ importers: specifier: ^8.9.0 version: 8.9.0 ioredis: - specifier: ^5.3.2 - version: 5.3.2 + specifier: ^5.4.1 + version: 5.4.1 jiti: - specifier: ^1.21.0 - version: 1.21.0 + specifier: ^1.21.6 + version: 1.21.6 mime: specifier: ^3.0.0 version: 3.0.0(patch_hash=2he2uszztbibyal6zfzmv2a2oa) @@ -1380,8 +1381,8 @@ importers: specifier: ^2.1.35 version: 2.1.35 nanoid: - specifier: ^3.3.6 - version: 3.3.6 + specifier: ^3.3.7 + version: 3.3.7 protobufjs: specifier: 7.2.5 version: 7.2.5(patch_hash=plkkb5oxv62w7nyvt6cqmvgk4q) @@ -1404,8 +1405,8 @@ importers: specifier: ^2.0.4 version: 2.0.4 yaml: - specifier: ^2.3.2 - version: 2.3.2 + specifier: ^2.4.5 + version: 2.4.5 optionalDependencies: esbuild: specifier: ^0.19.12 @@ -1413,31 +1414,31 @@ importers: devDependencies: '@cdktf/provider-aws': specifier: ^19 - version: 19.3.0(cdktf@0.20.3)(constructs@10.3.0) + version: 19.23.0(cdktf@0.20.7)(constructs@10.3.0) '@types/express': - specifier: ^4.17.17 - version: 4.17.18 + specifier: ^4.17.21 + version: 4.17.21 '@types/fs-extra': - specifier: ^11.0.1 - version: 11.0.2 + specifier: ^11.0.4 + version: 11.0.4 '@types/glob': specifier: ^7.2.0 version: 7.2.0 '@types/mime-types': - specifier: ^2.1.2 - version: 2.1.2 + specifier: ^2.1.4 + version: 2.1.4 '@types/node': specifier: ^20.11.0 - version: 20.11.0 + version: 20.14.8 '@types/uuid': - specifier: ^9.0.3 - version: 9.0.5 + specifier: ^9.0.8 + version: 9.0.8 '@typescript-eslint/eslint-plugin': specifier: ^7 - version: 7.0.2(@typescript-eslint/parser@7.0.2)(eslint@8.56.0)(typescript@5.3.3) + version: 7.13.1(@typescript-eslint/parser@7.13.1)(eslint@8.57.0)(typescript@5.5.2) '@typescript-eslint/parser': specifier: ^7 - version: 7.0.2(eslint@8.56.0)(typescript@5.3.3) + version: 7.13.1(eslint@8.57.0)(typescript@5.5.2) '@winglang/jsii-docgen': specifier: workspace:^ version: link:../../apps/jsii-docgen @@ -1451,44 +1452,44 @@ importers: specifier: workspace:^ version: link:../../tools/bump-pack cdktf-cli: - specifier: 0.20.3 - version: 0.20.3(ink@3.2.0)(react@17.0.2) + specifier: 0.20.7 + version: 0.20.7(ink@3.2.0)(jsii-rosetta@5.4.23)(react@17.0.2) chalk: specifier: ^4.1.2 version: 4.1.2 eslint: specifier: ^8.56.0 - version: 8.56.0 + version: 8.57.0 eslint-config-prettier: specifier: ^8.10.0 - version: 8.10.0(eslint@8.56.0) + version: 8.10.0(eslint@8.57.0) eslint-import-resolver-node: specifier: ^0.3.9 version: 0.3.9 eslint-import-resolver-typescript: - specifier: ^3.6.0 - version: 3.6.1(@typescript-eslint/parser@7.0.2)(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.28.1)(eslint@8.56.0) + specifier: ^3.6.1 + version: 3.6.1(@typescript-eslint/parser@7.13.1)(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.29.1)(eslint@8.57.0) eslint-plugin-import: - specifier: ^2.28.1 - version: 2.28.1(@typescript-eslint/parser@7.0.2)(eslint-import-resolver-typescript@3.6.1)(eslint@8.56.0) + specifier: ^2.29.1 + version: 2.29.1(@typescript-eslint/parser@7.13.1)(eslint-import-resolver-typescript@3.6.1)(eslint@8.57.0) eslint-plugin-prettier: specifier: ^4.2.1 - version: 4.2.1(eslint-config-prettier@8.10.0)(eslint@8.56.0)(prettier@2.8.8) + version: 4.2.1(eslint-config-prettier@8.10.0)(eslint@8.57.0)(prettier@2.8.8) eslint-plugin-sort-exports: specifier: ^0.8.0 - version: 0.8.0(eslint@8.56.0) + version: 0.8.0(eslint@8.57.0) fs-extra: specifier: ^10.1.0 version: 10.1.0 jsii: - specifier: ~5.3.11 - version: 5.3.11(patch_hash=ckgthkljzwfnfbd5qz6x7vtvme) + specifier: ~5.3.39 + version: 5.3.39(patch_hash=wolfkkypbs5h5o2e2c4c7vi7xu) jsii-diff: - specifier: ^1.94.0 - version: 1.94.0 + specifier: ^1.100.0 + version: 1.100.0 jsii-pacmak: - specifier: ^1.94.0 - version: 1.94.0 + specifier: ^1.100.0 + version: 1.100.0(jsii-rosetta@5.4.23) mock-gcs: specifier: ^1.2.0 version: 1.2.0 @@ -1502,14 +1503,14 @@ importers: specifier: ^9 version: 9.5.0 tsx: - specifier: ^4.7.0 - version: 4.7.0 + specifier: ^4.15.7 + version: 4.15.7 typescript: - specifier: ^5.3.3 - version: 5.3.3 + specifier: ^5.5.2 + version: 5.5.2 vitest: specifier: ^1.6.0 - version: 1.6.0(@types/node@20.11.0) + version: 1.6.0(@types/node@20.14.8) wing-api-checker: specifier: workspace:^ version: link:../../apps/wing-api-checker @@ -1517,33 +1518,33 @@ importers: libs/wingtunnels: dependencies: '@types/debug': - specifier: ^4.1.9 + specifier: ^4.1.12 version: 4.1.12 '@types/node': - specifier: ^20.11.19 - version: 20.11.20 + specifier: ^20.11.0 + version: 20.14.8 '@types/ws': - specifier: ^8.5.7 + specifier: ^8.5.10 version: 8.5.10 debug: - specifier: ^4.3.4 - version: 4.3.4(supports-color@5.5.0) + specifier: ^4.3.5 + version: 4.3.5(supports-color@5.5.0) ws: - specifier: ^8.14.2 - version: 8.14.2 + specifier: ^8.17.1 + version: 8.17.1 devDependencies: bump-pack: specifier: workspace:^ version: link:../../tools/bump-pack tsup: specifier: ^6.7.0 - version: 6.7.0(typescript@5.3.3) + version: 6.7.0(typescript@5.5.2) typescript: - specifier: ^5.3.3 - version: 5.3.3 + specifier: ^5.5.2 + version: 5.5.2 vitest: specifier: ^1.6.0 - version: 1.6.0(@types/node@20.11.20) + version: 1.6.0(@types/node@20.14.8) tools/bump-pack: dependencies: @@ -1551,48 +1552,48 @@ importers: specifier: ^1.10.1 version: 1.10.1 '@pnpm/find-workspace-dir': - specifier: ^6.0.2 - version: 6.0.2 + specifier: ^6.0.3 + version: 6.0.3 '@pnpm/reviewing.dependencies-hierarchy': - specifier: ^2.0.10 - version: 2.1.1(@pnpm/logger@5.0.0) + specifier: ^2.1.11 + version: 2.1.11(@pnpm/logger@5.0.0) '@pnpm/workspace.find-packages': - specifier: ^1.0.5 - version: 1.0.13(@pnpm/logger@5.0.0) + specifier: ^1.1.12 + version: 1.1.12(@pnpm/logger@5.0.0) changelogen: specifier: ^0.5.5 version: 0.5.5 fs-extra: - specifier: ^11.1.1 - version: 11.1.1 + specifier: ^11.2.0 + version: 11.2.0 minimatch: - specifier: ^9.0.3 - version: 9.0.3 + specifier: ^9.0.4 + version: 9.0.4 npm-which: specifier: ^3.0.1 version: 3.0.1 semver: - specifier: ^7.5.4 - version: 7.5.4 + specifier: ^7.6.2 + version: 7.6.2 tsx: - specifier: ^4.7.0 - version: 4.7.0 + specifier: ^4.15.7 + version: 4.15.7 devDependencies: '@types/fs-extra': - specifier: ^11.0.1 - version: 11.0.2 + specifier: ^11.0.4 + version: 11.0.4 '@types/node': specifier: ^20.11.0 - version: 20.11.0 + version: 20.14.8 '@types/semver': - specifier: ^7.5.1 - version: 7.5.3 + specifier: ^7.5.8 + version: 7.5.8 typescript: - specifier: ^5.2.2 - version: 5.2.2 + specifier: ^5.5.2 + version: 5.5.2 vitest: specifier: ^1.6.0 - version: 1.6.0(@types/node@20.11.0) + version: 1.6.0(@types/node@20.14.8) tools/compatibility-matrix-automation: dependencies: @@ -1605,47 +1606,47 @@ importers: devDependencies: '@types/node': specifier: ^20.11.0 - version: 20.11.0 + version: 20.14.8 npm-which: specifier: ^3.0.1 version: 3.0.1 tsx: - specifier: ^4.7.0 - version: 4.7.0 + specifier: ^4.15.7 + version: 4.15.7 typescript: - specifier: ^5.3.3 - version: 5.3.3 + specifier: ^5.5.2 + version: 5.5.2 vitest: specifier: ^1.6.0 - version: 1.6.0(@types/node@20.11.0) + version: 1.6.0(@types/node@20.14.8) tools/generate-workspace: dependencies: '@pnpm/find-workspace-dir': - specifier: ^6.0.2 - version: 6.0.2 + specifier: ^6.0.3 + version: 6.0.3 '@pnpm/workspace.find-packages': - specifier: ^1.0.1 - version: 1.0.13(@pnpm/logger@5.0.0) + specifier: ^1.1.12 + version: 1.1.12(@pnpm/logger@5.0.0) npm-which: specifier: ^3.0.1 version: 3.0.1 tsx: - specifier: ^4.7.0 - version: 4.7.0 + specifier: ^4.15.7 + version: 4.15.7 devDependencies: '@types/fs-extra': - specifier: ^11 - version: 11.0.2 + specifier: ^11.0.4 + version: 11.0.4 '@types/node': specifier: ^20.11.0 - version: 20.11.0 + version: 20.14.8 '@types/semver': - specifier: ^7.5.0 - version: 7.5.3 + specifier: ^7.5.8 + version: 7.5.8 typescript: - specifier: ^5.1.3 - version: 5.2.2 + specifier: ^5.5.2 + version: 5.5.2 tools/hangar: devDependencies: @@ -1674,23 +1675,23 @@ importers: specifier: workspace:^ version: link:../../libs/wingsdk cdktf: - specifier: ^0.20.3 - version: 0.20.3(constructs@10.3.0) + specifier: ^0.20.7 + version: 0.20.7(constructs@10.3.0) execa: specifier: ^7.2.0 version: 7.2.0 fflate: - specifier: ^0.8.1 - version: 0.8.1 + specifier: ^0.8.2 + version: 0.8.2 npm: - specifier: ^9.8.1 - version: 9.9.0 + specifier: ^9.9.3 + version: 9.9.3 octokit: - specifier: ^3.1.2 - version: 3.1.2 + specifier: ^3.2.1 + version: 3.2.1 tsx: - specifier: ^4.7.0 - version: 4.7.0 + specifier: ^4.15.7 + version: 4.15.7 vitest: specifier: ^1.6.0 version: 1.6.0(happy-dom@9.20.3) @@ -1698,35 +1699,31 @@ importers: specifier: workspace:^ version: link:../../apps/wing yaml: - specifier: ^2.3.2 - version: 2.3.2 + specifier: ^2.4.5 + version: 2.4.5 packages: - /@aashutoshrathi/word-wrap@1.2.6: - resolution: {integrity: sha512-1Yjs2SvM8TflER/OD3cOjhWWOZb58A2t7wpE2S9XfBYTiIl+XFhQG2bjy4Pu1I+EAlCNUzRDYDdFwFYUKvXcIA==} - engines: {node: '>=0.10.0'} - /@actions/core@1.10.1: resolution: {integrity: sha512-3lBR9EDAY+iYIpTnTIXmWcNbX3T2kCkAEQGIQx4NVQ0575nk2k3GRZDTPQG+vVtS2izSLmINlxXf0uLtnrTP+g==} dependencies: - '@actions/http-client': 2.2.0 + '@actions/http-client': 2.2.1 uuid: 8.3.2 dev: false - /@actions/http-client@2.2.0: - resolution: {integrity: sha512-q+epW0trjVUUHboliPb4UF9g2msf+w61b32tAkFEwL/IwP0DQWgbCMM0Hbe3e3WXSKz5VcUXbzJQgy8Hkra/Lg==} + /@actions/http-client@2.2.1: + resolution: {integrity: sha512-KhC/cZsq7f8I4LfZSJKgCvEwfkE8o1538VoBeoGzokVLLnbFDEAdFD3UhoMklxo2un9NJVBdANOresx7vTHlHw==} dependencies: tunnel: 0.0.6 - undici: 5.25.4 + undici: 5.28.4 dev: false /@alloc/quick-lru@5.2.0: resolution: {integrity: sha512-UrcABB+4bUrFABwbluTIBErXwvbsU/V7TZWfmbgJfbkwiBuziS9gxdODUyuiecfdGQ85jglMW6juS3+z5TsKLw==} engines: {node: '>=10'} - /@ampproject/remapping@2.2.1: - resolution: {integrity: sha512-lFMjJTrFL3j7L9yBxwYfCq2k6qqwHyzuUl/XBnif78PWTJYyL/dfowQHWE3sp6U6ZzqWiiIZnpTMO96zhkjwtg==} + /@ampproject/remapping@2.3.0: + resolution: {integrity: sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw==} engines: {node: '>=6.0.0'} dependencies: '@jridgewell/gen-mapping': 0.3.5 @@ -1748,8 +1745,8 @@ packages: resolution: {integrity: sha512-3M2tELJOxQv0apCIiuKQ4pAbncz9GuLwnKFqxifWfe77wuMxyTRPmxssYHs42ePqzap1LT6GDcPygGs+hHstLg==} dev: false - /@aws-cdk/asset-node-proxy-agent-v6@2.0.1: - resolution: {integrity: sha512-DDt4SLdLOwWCjGtltH4VCST7hpOI5DzieuhGZsBpZ+AgJdSI2GCjklCXm0GCTwJG/SolkL5dtQXyUKgg9luBDg==} + /@aws-cdk/asset-node-proxy-agent-v6@2.0.3: + resolution: {integrity: sha512-twhuEG+JPOYCYPx/xy5uH2+VUsIEhPTzDY0F1KuB+ocjWWB/KEDiOVL19nHvbPCB6fhWnkykXEMJ4HHcKvjtvg==} dev: false /@aws-cdk/aws-events@1.204.0(@aws-cdk/aws-iam@1.204.0)(@aws-cdk/core@1.204.0)(constructs@3.4.344): @@ -1758,6 +1755,7 @@ packages: deprecated: |- AWS CDK v1 has reached End-of-Support on 2023-06-01. This package is no longer being updated, and users should migrate to AWS CDK v2. + For more information on how to migrate, see https://docs.aws.amazon.com/cdk/v2/guide/migrating-v2.html peerDependencies: '@aws-cdk/aws-iam': 1.204.0 @@ -1775,6 +1773,7 @@ packages: deprecated: |- AWS CDK v1 has reached End-of-Support on 2023-06-01. This package is no longer being updated, and users should migrate to AWS CDK v2. + For more information on how to migrate, see https://docs.aws.amazon.com/cdk/v2/guide/migrating-v2.html peerDependencies: '@aws-cdk/core': 1.204.0 @@ -1795,6 +1794,7 @@ packages: deprecated: |- AWS CDK v1 has reached End-of-Support on 2023-06-01. This package is no longer being updated, and users should migrate to AWS CDK v2. + For more information on how to migrate, see https://docs.aws.amazon.com/cdk/v2/guide/migrating-v2.html peerDependencies: '@aws-cdk/aws-iam': 1.204.0 @@ -1816,6 +1816,7 @@ packages: deprecated: |- AWS CDK v1 has reached End-of-Support on 2023-06-01. This package is no longer being updated, and users should migrate to AWS CDK v2. + For more information on how to migrate, see https://docs.aws.amazon.com/cdk/v2/guide/migrating-v2.html peerDependencies: '@aws-cdk/aws-events': 1.204.0 @@ -1839,6 +1840,7 @@ packages: deprecated: |- AWS CDK v1 has reached End-of-Support on 2023-06-01. This package is no longer being updated, and users should migrate to AWS CDK v2. + For more information on how to migrate, see https://docs.aws.amazon.com/cdk/v2/guide/migrating-v2.html dependencies: jsonschema: 1.4.1 @@ -1854,6 +1856,7 @@ packages: deprecated: |- AWS CDK v1 has reached End-of-Support on 2023-06-01. This package is no longer being updated, and users should migrate to AWS CDK v2. + For more information on how to migrate, see https://docs.aws.amazon.com/cdk/v2/guide/migrating-v2.html peerDependencies: '@aws-cdk/cloud-assembly-schema': 1.204.0 @@ -1878,6 +1881,7 @@ packages: deprecated: |- AWS CDK v1 has reached End-of-Support on 2023-06-01. This package is no longer being updated, and users should migrate to AWS CDK v2. + For more information on how to migrate, see https://docs.aws.amazon.com/cdk/v2/guide/migrating-v2.html peerDependencies: '@aws-cdk/cloud-assembly-schema': 1.204.0 @@ -1902,15 +1906,24 @@ packages: resolution: {integrity: sha512-IzSgsrxUcsrejQbPVilIKy16kAT52EwB6zSaI+M3xxIhKh5+aldEyvI+z6erM7TCLB2BJsFrtHjp6/4/sr+3dA==} dependencies: '@aws-crypto/util': 3.0.0 - '@aws-sdk/types': 3.449.0 + '@aws-sdk/types': 3.577.0 tslib: 1.14.1 dev: false + /@aws-crypto/crc32@5.2.0: + resolution: {integrity: sha512-nLbCWqQNgUiwwtFsen1AdzAtvuLRsQS8rYgMuxCrdKf9kOssamGLuPwyTY9wyYblNr9+1XM8v6zoDTPPSIeANg==} + engines: {node: '>=16.0.0'} + dependencies: + '@aws-crypto/util': 5.2.0 + '@aws-sdk/types': 3.577.0 + tslib: 2.6.3 + dev: false + /@aws-crypto/crc32c@3.0.0: resolution: {integrity: sha512-ENNPPManmnVJ4BTXlOjAgD7URidbAznURqD0KvfREyc4o20DPYdEldU1f5cQ7Jbj0CJJSPaMIk/9ZshdB3210w==} dependencies: '@aws-crypto/util': 3.0.0 - '@aws-sdk/types': 3.449.0 + '@aws-sdk/types': 3.577.0 tslib: 1.14.1 dev: false @@ -1926,8 +1939,8 @@ packages: '@aws-crypto/ie11-detection': 3.0.0 '@aws-crypto/supports-web-crypto': 3.0.0 '@aws-crypto/util': 3.0.0 - '@aws-sdk/types': 3.449.0 - '@aws-sdk/util-locate-window': 3.310.0 + '@aws-sdk/types': 3.577.0 + '@aws-sdk/util-locate-window': 3.568.0 '@aws-sdk/util-utf8-browser': 3.259.0 tslib: 1.14.1 dev: false @@ -1939,34 +1952,69 @@ packages: '@aws-crypto/sha256-js': 3.0.0 '@aws-crypto/supports-web-crypto': 3.0.0 '@aws-crypto/util': 3.0.0 - '@aws-sdk/types': 3.449.0 - '@aws-sdk/util-locate-window': 3.310.0 + '@aws-sdk/types': 3.577.0 + '@aws-sdk/util-locate-window': 3.568.0 '@aws-sdk/util-utf8-browser': 3.259.0 tslib: 1.14.1 dev: false + /@aws-crypto/sha256-browser@5.2.0: + resolution: {integrity: sha512-AXfN/lGotSQwu6HNcEsIASo7kWXZ5HYWvfOmSNKDsEqC4OashTp8alTmaz+F7TC2L083SFv5RdB+qU3Vs1kZqw==} + dependencies: + '@aws-crypto/sha256-js': 5.2.0 + '@aws-crypto/supports-web-crypto': 5.2.0 + '@aws-crypto/util': 5.2.0 + '@aws-sdk/types': 3.598.0 + '@aws-sdk/util-locate-window': 3.568.0 + '@smithy/util-utf8': 2.3.0 + tslib: 2.6.3 + dev: false + /@aws-crypto/sha256-js@3.0.0: resolution: {integrity: sha512-PnNN7os0+yd1XvXAy23CFOmTbMaDxgxXtTKHybrJ39Y8kGzBATgBFibWJKH6BhytLI/Zyszs87xCOBNyBig6vQ==} dependencies: '@aws-crypto/util': 3.0.0 - '@aws-sdk/types': 3.449.0 + '@aws-sdk/types': 3.577.0 tslib: 1.14.1 dev: false + /@aws-crypto/sha256-js@5.2.0: + resolution: {integrity: sha512-FFQQyu7edu4ufvIZ+OadFpHHOt+eSTBaYaki44c+akjg7qZg9oOQeLlk77F6tSYqjDAFClrHJk9tMf0HdVyOvA==} + engines: {node: '>=16.0.0'} + dependencies: + '@aws-crypto/util': 5.2.0 + '@aws-sdk/types': 3.598.0 + tslib: 2.6.3 + dev: false + /@aws-crypto/supports-web-crypto@3.0.0: resolution: {integrity: sha512-06hBdMwUAb2WFTuGG73LSC0wfPu93xWwo5vL2et9eymgmu3Id5vFAHBbajVWiGhPO37qcsdCap/FqXvJGJWPIg==} dependencies: tslib: 1.14.1 dev: false + /@aws-crypto/supports-web-crypto@5.2.0: + resolution: {integrity: sha512-iAvUotm021kM33eCdNfwIN//F77/IADDSs58i+MDaOqFrVjZo9bAal0NK7HurRuWLLpF1iLX7gbWrjHjeo+YFg==} + dependencies: + tslib: 2.6.3 + dev: false + /@aws-crypto/util@3.0.0: resolution: {integrity: sha512-2OJlpeJpCR48CC8r+uKVChzs9Iungj9wkZrl8Z041DWEWvyIHILYKCPNzJghKsivj+S3mLo6BVc7mBNzdxA46w==} dependencies: - '@aws-sdk/types': 3.449.0 + '@aws-sdk/types': 3.577.0 '@aws-sdk/util-utf8-browser': 3.259.0 tslib: 1.14.1 dev: false + /@aws-crypto/util@5.2.0: + resolution: {integrity: sha512-4RkU9EsI6ZpBve5fseQlGNUWKMa1RLPQ1dnjnQoe07ldfIzcsGb5hC5W0Dm7u423KWzawlrpbjXBrXCEv9zazQ==} + dependencies: + '@aws-sdk/types': 3.598.0 + '@smithy/util-utf8': 2.3.0 + tslib: 2.6.3 + dev: false + /@aws-sdk/client-cloudwatch-logs@3.577.0: resolution: {integrity: sha512-boUa2GIE4JHzVH6bx1GZuddk9y+QWe8lhX7vydlduAkTgSjaoxUluC3kLi1P0m5qKP2oTQA2/K26OOnZ9Hv74Q==} engines: {node: '>=16.0.0'} @@ -1986,91 +2034,40 @@ packages: '@aws-sdk/util-endpoints': 3.577.0 '@aws-sdk/util-user-agent-browser': 3.577.0 '@aws-sdk/util-user-agent-node': 3.577.0 - '@smithy/config-resolver': 3.0.0 - '@smithy/core': 2.0.1 - '@smithy/eventstream-serde-browser': 3.0.0 - '@smithy/eventstream-serde-config-resolver': 3.0.0 - '@smithy/eventstream-serde-node': 3.0.0 - '@smithy/fetch-http-handler': 3.0.1 - '@smithy/hash-node': 3.0.0 - '@smithy/invalid-dependency': 3.0.0 - '@smithy/middleware-content-length': 3.0.0 - '@smithy/middleware-endpoint': 3.0.0 - '@smithy/middleware-retry': 3.0.1 - '@smithy/middleware-serde': 3.0.0 - '@smithy/middleware-stack': 3.0.0 - '@smithy/node-config-provider': 3.0.0 - '@smithy/node-http-handler': 3.0.0 - '@smithy/protocol-http': 4.0.0 - '@smithy/smithy-client': 3.0.1 - '@smithy/types': 3.0.0 - '@smithy/url-parser': 3.0.0 + '@smithy/config-resolver': 3.0.3 + '@smithy/core': 2.2.3 + '@smithy/eventstream-serde-browser': 3.0.3 + '@smithy/eventstream-serde-config-resolver': 3.0.2 + '@smithy/eventstream-serde-node': 3.0.3 + '@smithy/fetch-http-handler': 3.1.0 + '@smithy/hash-node': 3.0.2 + '@smithy/invalid-dependency': 3.0.2 + '@smithy/middleware-content-length': 3.0.2 + '@smithy/middleware-endpoint': 3.0.3 + '@smithy/middleware-retry': 3.0.6 + '@smithy/middleware-serde': 3.0.2 + '@smithy/middleware-stack': 3.0.2 + '@smithy/node-config-provider': 3.1.2 + '@smithy/node-http-handler': 3.1.0 + '@smithy/protocol-http': 4.0.2 + '@smithy/smithy-client': 3.1.4 + '@smithy/types': 3.2.0 + '@smithy/url-parser': 3.0.2 '@smithy/util-base64': 3.0.0 '@smithy/util-body-length-browser': 3.0.0 '@smithy/util-body-length-node': 3.0.0 - '@smithy/util-defaults-mode-browser': 3.0.1 - '@smithy/util-defaults-mode-node': 3.0.1 - '@smithy/util-endpoints': 2.0.0 - '@smithy/util-middleware': 3.0.0 - '@smithy/util-retry': 3.0.0 + '@smithy/util-defaults-mode-browser': 3.0.6 + '@smithy/util-defaults-mode-node': 3.0.6 + '@smithy/util-endpoints': 2.0.3 + '@smithy/util-middleware': 3.0.2 + '@smithy/util-retry': 3.0.2 '@smithy/util-utf8': 3.0.0 - tslib: 2.6.2 + tslib: 2.6.3 uuid: 9.0.1 transitivePeerDependencies: - aws-crt dev: false - /@aws-sdk/client-dynamodb@3.503.1: - resolution: {integrity: sha512-u0ELAHn3QDcD3VkM1QEZGk7kYFdvSyEHxdA0Gnrg/jSRKmm24z3VmluT2i4tGntjEaD51jTC7e70s1wC1fgldg==} - engines: {node: '>=14.0.0'} - dependencies: - '@aws-crypto/sha256-browser': 3.0.0 - '@aws-crypto/sha256-js': 3.0.0 - '@aws-sdk/client-sts': 3.502.0(@aws-sdk/credential-provider-node@3.503.1) - '@aws-sdk/core': 3.496.0 - '@aws-sdk/credential-provider-node': 3.503.1 - '@aws-sdk/middleware-endpoint-discovery': 3.502.0 - '@aws-sdk/middleware-host-header': 3.502.0 - '@aws-sdk/middleware-logger': 3.502.0 - '@aws-sdk/middleware-recursion-detection': 3.502.0 - '@aws-sdk/middleware-user-agent': 3.502.0 - '@aws-sdk/region-config-resolver': 3.502.0 - '@aws-sdk/types': 3.502.0 - '@aws-sdk/util-endpoints': 3.502.0 - '@aws-sdk/util-user-agent-browser': 3.502.0 - '@aws-sdk/util-user-agent-node': 3.502.0 - '@smithy/config-resolver': 2.1.1 - '@smithy/core': 1.3.1 - '@smithy/fetch-http-handler': 2.4.1 - '@smithy/hash-node': 2.1.1 - '@smithy/invalid-dependency': 2.1.1 - '@smithy/middleware-content-length': 2.1.1 - '@smithy/middleware-endpoint': 2.4.1 - '@smithy/middleware-retry': 2.1.1 - '@smithy/middleware-serde': 2.1.1 - '@smithy/middleware-stack': 2.1.1 - '@smithy/node-config-provider': 2.2.1 - '@smithy/node-http-handler': 2.3.1 - '@smithy/protocol-http': 3.1.1 - '@smithy/smithy-client': 2.3.1 - '@smithy/types': 2.9.1 - '@smithy/url-parser': 2.1.1 - '@smithy/util-base64': 2.1.1 - '@smithy/util-body-length-browser': 2.1.1 - '@smithy/util-body-length-node': 2.2.1 - '@smithy/util-defaults-mode-browser': 2.1.1 - '@smithy/util-defaults-mode-node': 2.1.1 - '@smithy/util-endpoints': 1.1.1 - '@smithy/util-middleware': 2.1.1 - '@smithy/util-retry': 2.1.1 - '@smithy/util-utf8': 2.1.1 - '@smithy/util-waiter': 2.1.1 - tslib: 2.6.2 - uuid: 8.3.2 - transitivePeerDependencies: - - aws-crt - dev: false - /@aws-sdk/client-dynamodb@3.577.0: resolution: {integrity: sha512-jR+rhYz25aPcMQgQy9tyQS9bsZ2bUKf7gaJ89jvhrrt61dcvw2iXzoO++2SCJWTx8WE1nsT6Vcw70RYpc5y71g==} engines: {node: '>=16.0.0'} @@ -2091,33 +2088,85 @@ packages: '@aws-sdk/util-endpoints': 3.577.0 '@aws-sdk/util-user-agent-browser': 3.577.0 '@aws-sdk/util-user-agent-node': 3.577.0 - '@smithy/config-resolver': 3.0.0 - '@smithy/core': 2.0.1 - '@smithy/fetch-http-handler': 3.0.1 - '@smithy/hash-node': 3.0.0 - '@smithy/invalid-dependency': 3.0.0 - '@smithy/middleware-content-length': 3.0.0 - '@smithy/middleware-endpoint': 3.0.0 - '@smithy/middleware-retry': 3.0.1 - '@smithy/middleware-serde': 3.0.0 - '@smithy/middleware-stack': 3.0.0 - '@smithy/node-config-provider': 3.0.0 - '@smithy/node-http-handler': 3.0.0 - '@smithy/protocol-http': 4.0.0 - '@smithy/smithy-client': 3.0.1 - '@smithy/types': 3.0.0 - '@smithy/url-parser': 3.0.0 + '@smithy/config-resolver': 3.0.3 + '@smithy/core': 2.2.3 + '@smithy/fetch-http-handler': 3.1.0 + '@smithy/hash-node': 3.0.2 + '@smithy/invalid-dependency': 3.0.2 + '@smithy/middleware-content-length': 3.0.2 + '@smithy/middleware-endpoint': 3.0.3 + '@smithy/middleware-retry': 3.0.6 + '@smithy/middleware-serde': 3.0.2 + '@smithy/middleware-stack': 3.0.2 + '@smithy/node-config-provider': 3.1.2 + '@smithy/node-http-handler': 3.1.0 + '@smithy/protocol-http': 4.0.2 + '@smithy/smithy-client': 3.1.4 + '@smithy/types': 3.2.0 + '@smithy/url-parser': 3.0.2 + '@smithy/util-base64': 3.0.0 + '@smithy/util-body-length-browser': 3.0.0 + '@smithy/util-body-length-node': 3.0.0 + '@smithy/util-defaults-mode-browser': 3.0.6 + '@smithy/util-defaults-mode-node': 3.0.6 + '@smithy/util-endpoints': 2.0.3 + '@smithy/util-middleware': 3.0.2 + '@smithy/util-retry': 3.0.2 + '@smithy/util-utf8': 3.0.0 + '@smithy/util-waiter': 3.1.1 + tslib: 2.6.3 + uuid: 9.0.1 + transitivePeerDependencies: + - aws-crt + dev: false + + /@aws-sdk/client-dynamodb@3.602.0: + resolution: {integrity: sha512-q7lH7YD9KvHLF3tyAG1UqaPv4a6KiHLunqKYh8vt3d1WJK7t4wzE97Vf19MfNpza1MuZ0OF/SK8Kl69vEMrtOA==} + engines: {node: '>=16.0.0'} + dependencies: + '@aws-crypto/sha256-browser': 5.2.0 + '@aws-crypto/sha256-js': 5.2.0 + '@aws-sdk/client-sso-oidc': 3.600.0(@aws-sdk/client-sts@3.600.0) + '@aws-sdk/client-sts': 3.600.0 + '@aws-sdk/core': 3.598.0 + '@aws-sdk/credential-provider-node': 3.600.0(@aws-sdk/client-sso-oidc@3.600.0)(@aws-sdk/client-sts@3.600.0) + '@aws-sdk/middleware-endpoint-discovery': 3.598.0 + '@aws-sdk/middleware-host-header': 3.598.0 + '@aws-sdk/middleware-logger': 3.598.0 + '@aws-sdk/middleware-recursion-detection': 3.598.0 + '@aws-sdk/middleware-user-agent': 3.598.0 + '@aws-sdk/region-config-resolver': 3.598.0 + '@aws-sdk/types': 3.598.0 + '@aws-sdk/util-endpoints': 3.598.0 + '@aws-sdk/util-user-agent-browser': 3.598.0 + '@aws-sdk/util-user-agent-node': 3.598.0 + '@smithy/config-resolver': 3.0.3 + '@smithy/core': 2.2.3 + '@smithy/fetch-http-handler': 3.1.0 + '@smithy/hash-node': 3.0.2 + '@smithy/invalid-dependency': 3.0.2 + '@smithy/middleware-content-length': 3.0.2 + '@smithy/middleware-endpoint': 3.0.3 + '@smithy/middleware-retry': 3.0.6 + '@smithy/middleware-serde': 3.0.2 + '@smithy/middleware-stack': 3.0.2 + '@smithy/node-config-provider': 3.1.2 + '@smithy/node-http-handler': 3.1.0 + '@smithy/protocol-http': 4.0.2 + '@smithy/smithy-client': 3.1.4 + '@smithy/types': 3.2.0 + '@smithy/url-parser': 3.0.2 '@smithy/util-base64': 3.0.0 '@smithy/util-body-length-browser': 3.0.0 '@smithy/util-body-length-node': 3.0.0 - '@smithy/util-defaults-mode-browser': 3.0.1 - '@smithy/util-defaults-mode-node': 3.0.1 - '@smithy/util-endpoints': 2.0.0 - '@smithy/util-middleware': 3.0.0 - '@smithy/util-retry': 3.0.0 + '@smithy/util-defaults-mode-browser': 3.0.6 + '@smithy/util-defaults-mode-node': 3.0.6 + '@smithy/util-endpoints': 2.0.3 + '@smithy/util-middleware': 3.0.2 + '@smithy/util-retry': 3.0.2 '@smithy/util-utf8': 3.0.0 - '@smithy/util-waiter': 3.0.0 - tslib: 2.6.2 + '@smithy/util-waiter': 3.1.1 + tslib: 2.6.3 uuid: 9.0.1 transitivePeerDependencies: - aws-crt @@ -2142,33 +2191,33 @@ packages: '@aws-sdk/util-endpoints': 3.577.0 '@aws-sdk/util-user-agent-browser': 3.577.0 '@aws-sdk/util-user-agent-node': 3.577.0 - '@smithy/config-resolver': 3.0.0 - '@smithy/core': 2.0.1 - '@smithy/fetch-http-handler': 3.0.1 - '@smithy/hash-node': 3.0.0 - '@smithy/invalid-dependency': 3.0.0 - '@smithy/middleware-content-length': 3.0.0 - '@smithy/middleware-endpoint': 3.0.0 - '@smithy/middleware-retry': 3.0.1 - '@smithy/middleware-serde': 3.0.0 - '@smithy/middleware-stack': 3.0.0 - '@smithy/node-config-provider': 3.0.0 - '@smithy/node-http-handler': 3.0.0 - '@smithy/protocol-http': 4.0.0 - '@smithy/smithy-client': 3.0.1 - '@smithy/types': 3.0.0 - '@smithy/url-parser': 3.0.0 + '@smithy/config-resolver': 3.0.3 + '@smithy/core': 2.2.3 + '@smithy/fetch-http-handler': 3.1.0 + '@smithy/hash-node': 3.0.2 + '@smithy/invalid-dependency': 3.0.2 + '@smithy/middleware-content-length': 3.0.2 + '@smithy/middleware-endpoint': 3.0.3 + '@smithy/middleware-retry': 3.0.6 + '@smithy/middleware-serde': 3.0.2 + '@smithy/middleware-stack': 3.0.2 + '@smithy/node-config-provider': 3.1.2 + '@smithy/node-http-handler': 3.1.0 + '@smithy/protocol-http': 4.0.2 + '@smithy/smithy-client': 3.1.4 + '@smithy/types': 3.2.0 + '@smithy/url-parser': 3.0.2 '@smithy/util-base64': 3.0.0 '@smithy/util-body-length-browser': 3.0.0 '@smithy/util-body-length-node': 3.0.0 - '@smithy/util-defaults-mode-browser': 3.0.1 - '@smithy/util-defaults-mode-node': 3.0.1 - '@smithy/util-endpoints': 2.0.0 - '@smithy/util-middleware': 3.0.0 - '@smithy/util-retry': 3.0.0 + '@smithy/util-defaults-mode-browser': 3.0.6 + '@smithy/util-defaults-mode-node': 3.0.6 + '@smithy/util-endpoints': 2.0.3 + '@smithy/util-middleware': 3.0.2 + '@smithy/util-retry': 3.0.2 '@smithy/util-utf8': 3.0.0 - '@smithy/util-waiter': 3.0.0 - tslib: 2.6.2 + '@smithy/util-waiter': 3.1.1 + tslib: 2.6.3 transitivePeerDependencies: - aws-crt dev: false @@ -2192,37 +2241,37 @@ packages: '@aws-sdk/util-endpoints': 3.577.0 '@aws-sdk/util-user-agent-browser': 3.577.0 '@aws-sdk/util-user-agent-node': 3.577.0 - '@smithy/config-resolver': 3.0.0 - '@smithy/core': 2.0.1 - '@smithy/eventstream-serde-browser': 3.0.0 - '@smithy/eventstream-serde-config-resolver': 3.0.0 - '@smithy/eventstream-serde-node': 3.0.0 - '@smithy/fetch-http-handler': 3.0.1 - '@smithy/hash-node': 3.0.0 - '@smithy/invalid-dependency': 3.0.0 - '@smithy/middleware-content-length': 3.0.0 - '@smithy/middleware-endpoint': 3.0.0 - '@smithy/middleware-retry': 3.0.1 - '@smithy/middleware-serde': 3.0.0 - '@smithy/middleware-stack': 3.0.0 - '@smithy/node-config-provider': 3.0.0 - '@smithy/node-http-handler': 3.0.0 - '@smithy/protocol-http': 4.0.0 - '@smithy/smithy-client': 3.0.1 - '@smithy/types': 3.0.0 - '@smithy/url-parser': 3.0.0 + '@smithy/config-resolver': 3.0.3 + '@smithy/core': 2.2.3 + '@smithy/eventstream-serde-browser': 3.0.3 + '@smithy/eventstream-serde-config-resolver': 3.0.2 + '@smithy/eventstream-serde-node': 3.0.3 + '@smithy/fetch-http-handler': 3.1.0 + '@smithy/hash-node': 3.0.2 + '@smithy/invalid-dependency': 3.0.2 + '@smithy/middleware-content-length': 3.0.2 + '@smithy/middleware-endpoint': 3.0.3 + '@smithy/middleware-retry': 3.0.6 + '@smithy/middleware-serde': 3.0.2 + '@smithy/middleware-stack': 3.0.2 + '@smithy/node-config-provider': 3.1.2 + '@smithy/node-http-handler': 3.1.0 + '@smithy/protocol-http': 4.0.2 + '@smithy/smithy-client': 3.1.4 + '@smithy/types': 3.2.0 + '@smithy/url-parser': 3.0.2 '@smithy/util-base64': 3.0.0 '@smithy/util-body-length-browser': 3.0.0 '@smithy/util-body-length-node': 3.0.0 - '@smithy/util-defaults-mode-browser': 3.0.1 - '@smithy/util-defaults-mode-node': 3.0.1 - '@smithy/util-endpoints': 2.0.0 - '@smithy/util-middleware': 3.0.0 - '@smithy/util-retry': 3.0.0 - '@smithy/util-stream': 3.0.1 + '@smithy/util-defaults-mode-browser': 3.0.6 + '@smithy/util-defaults-mode-node': 3.0.6 + '@smithy/util-endpoints': 2.0.3 + '@smithy/util-middleware': 3.0.2 + '@smithy/util-retry': 3.0.2 + '@smithy/util-stream': 3.0.4 '@smithy/util-utf8': 3.0.0 - '@smithy/util-waiter': 3.0.0 - tslib: 2.6.2 + '@smithy/util-waiter': 3.1.1 + tslib: 2.6.3 transitivePeerDependencies: - aws-crt dev: false @@ -2256,39 +2305,39 @@ packages: '@aws-sdk/util-user-agent-browser': 3.577.0 '@aws-sdk/util-user-agent-node': 3.577.0 '@aws-sdk/xml-builder': 3.575.0 - '@smithy/config-resolver': 3.0.0 - '@smithy/core': 2.0.1 - '@smithy/eventstream-serde-browser': 3.0.0 - '@smithy/eventstream-serde-config-resolver': 3.0.0 - '@smithy/eventstream-serde-node': 3.0.0 - '@smithy/fetch-http-handler': 3.0.1 - '@smithy/hash-blob-browser': 3.0.0 - '@smithy/hash-node': 3.0.0 - '@smithy/hash-stream-node': 3.0.0 - '@smithy/invalid-dependency': 3.0.0 - '@smithy/md5-js': 3.0.0 - '@smithy/middleware-content-length': 3.0.0 - '@smithy/middleware-endpoint': 3.0.0 - '@smithy/middleware-retry': 3.0.1 - '@smithy/middleware-serde': 3.0.0 - '@smithy/middleware-stack': 3.0.0 - '@smithy/node-config-provider': 3.0.0 - '@smithy/node-http-handler': 3.0.0 - '@smithy/protocol-http': 4.0.0 - '@smithy/smithy-client': 3.0.1 - '@smithy/types': 3.0.0 - '@smithy/url-parser': 3.0.0 + '@smithy/config-resolver': 3.0.3 + '@smithy/core': 2.2.3 + '@smithy/eventstream-serde-browser': 3.0.3 + '@smithy/eventstream-serde-config-resolver': 3.0.2 + '@smithy/eventstream-serde-node': 3.0.3 + '@smithy/fetch-http-handler': 3.1.0 + '@smithy/hash-blob-browser': 3.1.1 + '@smithy/hash-node': 3.0.2 + '@smithy/hash-stream-node': 3.1.1 + '@smithy/invalid-dependency': 3.0.2 + '@smithy/md5-js': 3.0.2 + '@smithy/middleware-content-length': 3.0.2 + '@smithy/middleware-endpoint': 3.0.3 + '@smithy/middleware-retry': 3.0.6 + '@smithy/middleware-serde': 3.0.2 + '@smithy/middleware-stack': 3.0.2 + '@smithy/node-config-provider': 3.1.2 + '@smithy/node-http-handler': 3.1.0 + '@smithy/protocol-http': 4.0.2 + '@smithy/smithy-client': 3.1.4 + '@smithy/types': 3.2.0 + '@smithy/url-parser': 3.0.2 '@smithy/util-base64': 3.0.0 '@smithy/util-body-length-browser': 3.0.0 '@smithy/util-body-length-node': 3.0.0 - '@smithy/util-defaults-mode-browser': 3.0.1 - '@smithy/util-defaults-mode-node': 3.0.1 - '@smithy/util-endpoints': 2.0.0 - '@smithy/util-retry': 3.0.0 - '@smithy/util-stream': 3.0.1 + '@smithy/util-defaults-mode-browser': 3.0.6 + '@smithy/util-defaults-mode-node': 3.0.6 + '@smithy/util-endpoints': 2.0.3 + '@smithy/util-retry': 3.0.2 + '@smithy/util-stream': 3.0.4 '@smithy/util-utf8': 3.0.0 - '@smithy/util-waiter': 3.0.0 - tslib: 2.6.2 + '@smithy/util-waiter': 3.1.1 + tslib: 2.6.3 transitivePeerDependencies: - aws-crt dev: false @@ -2312,32 +2361,32 @@ packages: '@aws-sdk/util-endpoints': 3.577.0 '@aws-sdk/util-user-agent-browser': 3.577.0 '@aws-sdk/util-user-agent-node': 3.577.0 - '@smithy/config-resolver': 3.0.0 - '@smithy/core': 2.0.1 - '@smithy/fetch-http-handler': 3.0.1 - '@smithy/hash-node': 3.0.0 - '@smithy/invalid-dependency': 3.0.0 - '@smithy/middleware-content-length': 3.0.0 - '@smithy/middleware-endpoint': 3.0.0 - '@smithy/middleware-retry': 3.0.1 - '@smithy/middleware-serde': 3.0.0 - '@smithy/middleware-stack': 3.0.0 - '@smithy/node-config-provider': 3.0.0 - '@smithy/node-http-handler': 3.0.0 - '@smithy/protocol-http': 4.0.0 - '@smithy/smithy-client': 3.0.1 - '@smithy/types': 3.0.0 - '@smithy/url-parser': 3.0.0 + '@smithy/config-resolver': 3.0.3 + '@smithy/core': 2.2.3 + '@smithy/fetch-http-handler': 3.1.0 + '@smithy/hash-node': 3.0.2 + '@smithy/invalid-dependency': 3.0.2 + '@smithy/middleware-content-length': 3.0.2 + '@smithy/middleware-endpoint': 3.0.3 + '@smithy/middleware-retry': 3.0.6 + '@smithy/middleware-serde': 3.0.2 + '@smithy/middleware-stack': 3.0.2 + '@smithy/node-config-provider': 3.1.2 + '@smithy/node-http-handler': 3.1.0 + '@smithy/protocol-http': 4.0.2 + '@smithy/smithy-client': 3.1.4 + '@smithy/types': 3.2.0 + '@smithy/url-parser': 3.0.2 '@smithy/util-base64': 3.0.0 '@smithy/util-body-length-browser': 3.0.0 '@smithy/util-body-length-node': 3.0.0 - '@smithy/util-defaults-mode-browser': 3.0.1 - '@smithy/util-defaults-mode-node': 3.0.1 - '@smithy/util-endpoints': 2.0.0 - '@smithy/util-middleware': 3.0.0 - '@smithy/util-retry': 3.0.0 + '@smithy/util-defaults-mode-browser': 3.0.6 + '@smithy/util-defaults-mode-node': 3.0.6 + '@smithy/util-endpoints': 2.0.3 + '@smithy/util-middleware': 3.0.2 + '@smithy/util-retry': 3.0.2 '@smithy/util-utf8': 3.0.0 - tslib: 2.6.2 + tslib: 2.6.3 uuid: 9.0.1 transitivePeerDependencies: - aws-crt @@ -2362,32 +2411,32 @@ packages: '@aws-sdk/util-endpoints': 3.577.0 '@aws-sdk/util-user-agent-browser': 3.577.0 '@aws-sdk/util-user-agent-node': 3.577.0 - '@smithy/config-resolver': 3.0.0 - '@smithy/core': 2.0.1 - '@smithy/fetch-http-handler': 3.0.1 - '@smithy/hash-node': 3.0.0 - '@smithy/invalid-dependency': 3.0.0 - '@smithy/middleware-content-length': 3.0.0 - '@smithy/middleware-endpoint': 3.0.0 - '@smithy/middleware-retry': 3.0.1 - '@smithy/middleware-serde': 3.0.0 - '@smithy/middleware-stack': 3.0.0 - '@smithy/node-config-provider': 3.0.0 - '@smithy/node-http-handler': 3.0.0 - '@smithy/protocol-http': 4.0.0 - '@smithy/smithy-client': 3.0.1 - '@smithy/types': 3.0.0 - '@smithy/url-parser': 3.0.0 + '@smithy/config-resolver': 3.0.3 + '@smithy/core': 2.2.3 + '@smithy/fetch-http-handler': 3.1.0 + '@smithy/hash-node': 3.0.2 + '@smithy/invalid-dependency': 3.0.2 + '@smithy/middleware-content-length': 3.0.2 + '@smithy/middleware-endpoint': 3.0.3 + '@smithy/middleware-retry': 3.0.6 + '@smithy/middleware-serde': 3.0.2 + '@smithy/middleware-stack': 3.0.2 + '@smithy/node-config-provider': 3.1.2 + '@smithy/node-http-handler': 3.1.0 + '@smithy/protocol-http': 4.0.2 + '@smithy/smithy-client': 3.1.4 + '@smithy/types': 3.2.0 + '@smithy/url-parser': 3.0.2 '@smithy/util-base64': 3.0.0 '@smithy/util-body-length-browser': 3.0.0 '@smithy/util-body-length-node': 3.0.0 - '@smithy/util-defaults-mode-browser': 3.0.1 - '@smithy/util-defaults-mode-node': 3.0.1 - '@smithy/util-endpoints': 2.0.0 - '@smithy/util-middleware': 3.0.0 - '@smithy/util-retry': 3.0.0 + '@smithy/util-defaults-mode-browser': 3.0.6 + '@smithy/util-defaults-mode-node': 3.0.6 + '@smithy/util-endpoints': 2.0.3 + '@smithy/util-middleware': 3.0.2 + '@smithy/util-retry': 3.0.2 '@smithy/util-utf8': 3.0.0 - tslib: 2.6.2 + tslib: 2.6.3 transitivePeerDependencies: - aws-crt dev: false @@ -2412,83 +2461,33 @@ packages: '@aws-sdk/util-endpoints': 3.577.0 '@aws-sdk/util-user-agent-browser': 3.577.0 '@aws-sdk/util-user-agent-node': 3.577.0 - '@smithy/config-resolver': 3.0.0 - '@smithy/core': 2.0.1 - '@smithy/fetch-http-handler': 3.0.1 - '@smithy/hash-node': 3.0.0 - '@smithy/invalid-dependency': 3.0.0 - '@smithy/md5-js': 3.0.0 - '@smithy/middleware-content-length': 3.0.0 - '@smithy/middleware-endpoint': 3.0.0 - '@smithy/middleware-retry': 3.0.1 - '@smithy/middleware-serde': 3.0.0 - '@smithy/middleware-stack': 3.0.0 - '@smithy/node-config-provider': 3.0.0 - '@smithy/node-http-handler': 3.0.0 - '@smithy/protocol-http': 4.0.0 - '@smithy/smithy-client': 3.0.1 - '@smithy/types': 3.0.0 - '@smithy/url-parser': 3.0.0 + '@smithy/config-resolver': 3.0.3 + '@smithy/core': 2.2.3 + '@smithy/fetch-http-handler': 3.1.0 + '@smithy/hash-node': 3.0.2 + '@smithy/invalid-dependency': 3.0.2 + '@smithy/md5-js': 3.0.2 + '@smithy/middleware-content-length': 3.0.2 + '@smithy/middleware-endpoint': 3.0.3 + '@smithy/middleware-retry': 3.0.6 + '@smithy/middleware-serde': 3.0.2 + '@smithy/middleware-stack': 3.0.2 + '@smithy/node-config-provider': 3.1.2 + '@smithy/node-http-handler': 3.1.0 + '@smithy/protocol-http': 4.0.2 + '@smithy/smithy-client': 3.1.4 + '@smithy/types': 3.2.0 + '@smithy/url-parser': 3.0.2 '@smithy/util-base64': 3.0.0 '@smithy/util-body-length-browser': 3.0.0 '@smithy/util-body-length-node': 3.0.0 - '@smithy/util-defaults-mode-browser': 3.0.1 - '@smithy/util-defaults-mode-node': 3.0.1 - '@smithy/util-endpoints': 2.0.0 - '@smithy/util-middleware': 3.0.0 - '@smithy/util-retry': 3.0.0 + '@smithy/util-defaults-mode-browser': 3.0.6 + '@smithy/util-defaults-mode-node': 3.0.6 + '@smithy/util-endpoints': 2.0.3 + '@smithy/util-middleware': 3.0.2 + '@smithy/util-retry': 3.0.2 '@smithy/util-utf8': 3.0.0 - tslib: 2.6.2 - transitivePeerDependencies: - - aws-crt - dev: false - - /@aws-sdk/client-sso-oidc@3.502.0(@aws-sdk/credential-provider-node@3.503.1): - resolution: {integrity: sha512-Yc9tZqTOMWtdgpkrdjKShgWb9oKNsFQrItfoiN1xWDllaFFRPi2KTiZiR0AbSTrNasJy13d210DOxrIdte+kWQ==} - engines: {node: '>=14.0.0'} - peerDependencies: - '@aws-sdk/credential-provider-node': '*' - dependencies: - '@aws-crypto/sha256-browser': 3.0.0 - '@aws-crypto/sha256-js': 3.0.0 - '@aws-sdk/client-sts': 3.502.0(@aws-sdk/credential-provider-node@3.503.1) - '@aws-sdk/core': 3.496.0 - '@aws-sdk/credential-provider-node': 3.503.1 - '@aws-sdk/middleware-host-header': 3.502.0 - '@aws-sdk/middleware-logger': 3.502.0 - '@aws-sdk/middleware-recursion-detection': 3.502.0 - '@aws-sdk/middleware-signing': 3.502.0 - '@aws-sdk/middleware-user-agent': 3.502.0 - '@aws-sdk/region-config-resolver': 3.502.0 - '@aws-sdk/types': 3.502.0 - '@aws-sdk/util-endpoints': 3.502.0 - '@aws-sdk/util-user-agent-browser': 3.502.0 - '@aws-sdk/util-user-agent-node': 3.502.0 - '@smithy/config-resolver': 2.1.1 - '@smithy/core': 1.3.1 - '@smithy/fetch-http-handler': 2.4.1 - '@smithy/hash-node': 2.1.1 - '@smithy/invalid-dependency': 2.1.1 - '@smithy/middleware-content-length': 2.1.1 - '@smithy/middleware-endpoint': 2.4.1 - '@smithy/middleware-retry': 2.1.1 - '@smithy/middleware-serde': 2.1.1 - '@smithy/middleware-stack': 2.1.1 - '@smithy/node-config-provider': 2.2.1 - '@smithy/node-http-handler': 2.3.1 - '@smithy/protocol-http': 3.1.1 - '@smithy/smithy-client': 2.3.1 - '@smithy/types': 2.9.1 - '@smithy/url-parser': 2.1.1 - '@smithy/util-base64': 2.1.1 - '@smithy/util-body-length-browser': 2.1.1 - '@smithy/util-body-length-node': 2.2.1 - '@smithy/util-defaults-mode-browser': 2.1.1 - '@smithy/util-defaults-mode-node': 2.1.1 - '@smithy/util-endpoints': 1.1.1 - '@smithy/util-retry': 2.1.1 - '@smithy/util-utf8': 2.1.1 - tslib: 2.6.2 + tslib: 2.6.3 transitivePeerDependencies: - aws-crt dev: false @@ -2511,79 +2510,83 @@ packages: '@aws-sdk/util-endpoints': 3.577.0 '@aws-sdk/util-user-agent-browser': 3.577.0 '@aws-sdk/util-user-agent-node': 3.577.0 - '@smithy/config-resolver': 3.0.0 - '@smithy/core': 2.0.1 - '@smithy/fetch-http-handler': 3.0.1 - '@smithy/hash-node': 3.0.0 - '@smithy/invalid-dependency': 3.0.0 - '@smithy/middleware-content-length': 3.0.0 - '@smithy/middleware-endpoint': 3.0.0 - '@smithy/middleware-retry': 3.0.1 - '@smithy/middleware-serde': 3.0.0 - '@smithy/middleware-stack': 3.0.0 - '@smithy/node-config-provider': 3.0.0 - '@smithy/node-http-handler': 3.0.0 - '@smithy/protocol-http': 4.0.0 - '@smithy/smithy-client': 3.0.1 - '@smithy/types': 3.0.0 - '@smithy/url-parser': 3.0.0 + '@smithy/config-resolver': 3.0.3 + '@smithy/core': 2.2.3 + '@smithy/fetch-http-handler': 3.1.0 + '@smithy/hash-node': 3.0.2 + '@smithy/invalid-dependency': 3.0.2 + '@smithy/middleware-content-length': 3.0.2 + '@smithy/middleware-endpoint': 3.0.3 + '@smithy/middleware-retry': 3.0.6 + '@smithy/middleware-serde': 3.0.2 + '@smithy/middleware-stack': 3.0.2 + '@smithy/node-config-provider': 3.1.2 + '@smithy/node-http-handler': 3.1.0 + '@smithy/protocol-http': 4.0.2 + '@smithy/smithy-client': 3.1.4 + '@smithy/types': 3.2.0 + '@smithy/url-parser': 3.0.2 '@smithy/util-base64': 3.0.0 '@smithy/util-body-length-browser': 3.0.0 '@smithy/util-body-length-node': 3.0.0 - '@smithy/util-defaults-mode-browser': 3.0.1 - '@smithy/util-defaults-mode-node': 3.0.1 - '@smithy/util-endpoints': 2.0.0 - '@smithy/util-middleware': 3.0.0 - '@smithy/util-retry': 3.0.0 + '@smithy/util-defaults-mode-browser': 3.0.6 + '@smithy/util-defaults-mode-node': 3.0.6 + '@smithy/util-endpoints': 2.0.3 + '@smithy/util-middleware': 3.0.2 + '@smithy/util-retry': 3.0.2 '@smithy/util-utf8': 3.0.0 - tslib: 2.6.2 + tslib: 2.6.3 transitivePeerDependencies: - '@aws-sdk/client-sts' - aws-crt dev: false - /@aws-sdk/client-sso@3.502.0: - resolution: {integrity: sha512-OZAYal1+PQgUUtWiHhRayDtX0OD+XpXHKAhjYgEIPbyhQaCMp3/Bq1xDX151piWXvXqXLJHFKb8DUEqzwGO9QA==} - engines: {node: '>=14.0.0'} + /@aws-sdk/client-sso-oidc@3.600.0(@aws-sdk/client-sts@3.600.0): + resolution: {integrity: sha512-7+I8RWURGfzvChyNQSyj5/tKrqRbzRl7H+BnTOf/4Vsw1nFOi5ROhlhD4X/Y0QCTacxnaoNcIrqnY7uGGvVRzw==} + engines: {node: '>=16.0.0'} dependencies: - '@aws-crypto/sha256-browser': 3.0.0 - '@aws-crypto/sha256-js': 3.0.0 - '@aws-sdk/core': 3.496.0 - '@aws-sdk/middleware-host-header': 3.502.0 - '@aws-sdk/middleware-logger': 3.502.0 - '@aws-sdk/middleware-recursion-detection': 3.502.0 - '@aws-sdk/middleware-user-agent': 3.502.0 - '@aws-sdk/region-config-resolver': 3.502.0 - '@aws-sdk/types': 3.502.0 - '@aws-sdk/util-endpoints': 3.502.0 - '@aws-sdk/util-user-agent-browser': 3.502.0 - '@aws-sdk/util-user-agent-node': 3.502.0 - '@smithy/config-resolver': 2.1.1 - '@smithy/core': 1.3.1 - '@smithy/fetch-http-handler': 2.4.1 - '@smithy/hash-node': 2.1.1 - '@smithy/invalid-dependency': 2.1.1 - '@smithy/middleware-content-length': 2.1.1 - '@smithy/middleware-endpoint': 2.4.1 - '@smithy/middleware-retry': 2.1.1 - '@smithy/middleware-serde': 2.1.1 - '@smithy/middleware-stack': 2.1.1 - '@smithy/node-config-provider': 2.2.1 - '@smithy/node-http-handler': 2.3.1 - '@smithy/protocol-http': 3.1.1 - '@smithy/smithy-client': 2.3.1 - '@smithy/types': 2.9.1 - '@smithy/url-parser': 2.1.1 - '@smithy/util-base64': 2.1.1 - '@smithy/util-body-length-browser': 2.1.1 - '@smithy/util-body-length-node': 2.2.1 - '@smithy/util-defaults-mode-browser': 2.1.1 - '@smithy/util-defaults-mode-node': 2.1.1 - '@smithy/util-endpoints': 1.1.1 - '@smithy/util-retry': 2.1.1 - '@smithy/util-utf8': 2.1.1 - tslib: 2.6.2 + '@aws-crypto/sha256-browser': 5.2.0 + '@aws-crypto/sha256-js': 5.2.0 + '@aws-sdk/client-sts': 3.600.0 + '@aws-sdk/core': 3.598.0 + '@aws-sdk/credential-provider-node': 3.600.0(@aws-sdk/client-sso-oidc@3.600.0)(@aws-sdk/client-sts@3.600.0) + '@aws-sdk/middleware-host-header': 3.598.0 + '@aws-sdk/middleware-logger': 3.598.0 + '@aws-sdk/middleware-recursion-detection': 3.598.0 + '@aws-sdk/middleware-user-agent': 3.598.0 + '@aws-sdk/region-config-resolver': 3.598.0 + '@aws-sdk/types': 3.598.0 + '@aws-sdk/util-endpoints': 3.598.0 + '@aws-sdk/util-user-agent-browser': 3.598.0 + '@aws-sdk/util-user-agent-node': 3.598.0 + '@smithy/config-resolver': 3.0.3 + '@smithy/core': 2.2.3 + '@smithy/fetch-http-handler': 3.1.0 + '@smithy/hash-node': 3.0.2 + '@smithy/invalid-dependency': 3.0.2 + '@smithy/middleware-content-length': 3.0.2 + '@smithy/middleware-endpoint': 3.0.3 + '@smithy/middleware-retry': 3.0.6 + '@smithy/middleware-serde': 3.0.2 + '@smithy/middleware-stack': 3.0.2 + '@smithy/node-config-provider': 3.1.2 + '@smithy/node-http-handler': 3.1.0 + '@smithy/protocol-http': 4.0.2 + '@smithy/smithy-client': 3.1.4 + '@smithy/types': 3.2.0 + '@smithy/url-parser': 3.0.2 + '@smithy/util-base64': 3.0.0 + '@smithy/util-body-length-browser': 3.0.0 + '@smithy/util-body-length-node': 3.0.0 + '@smithy/util-defaults-mode-browser': 3.0.6 + '@smithy/util-defaults-mode-node': 3.0.6 + '@smithy/util-endpoints': 2.0.3 + '@smithy/util-middleware': 3.0.2 + '@smithy/util-retry': 3.0.2 + '@smithy/util-utf8': 3.0.0 + tslib: 2.6.3 transitivePeerDependencies: + - '@aws-sdk/client-sts' - aws-crt dev: false @@ -2603,82 +2606,78 @@ packages: '@aws-sdk/util-endpoints': 3.577.0 '@aws-sdk/util-user-agent-browser': 3.577.0 '@aws-sdk/util-user-agent-node': 3.577.0 - '@smithy/config-resolver': 3.0.0 - '@smithy/core': 2.0.1 - '@smithy/fetch-http-handler': 3.0.1 - '@smithy/hash-node': 3.0.0 - '@smithy/invalid-dependency': 3.0.0 - '@smithy/middleware-content-length': 3.0.0 - '@smithy/middleware-endpoint': 3.0.0 - '@smithy/middleware-retry': 3.0.1 - '@smithy/middleware-serde': 3.0.0 - '@smithy/middleware-stack': 3.0.0 - '@smithy/node-config-provider': 3.0.0 - '@smithy/node-http-handler': 3.0.0 - '@smithy/protocol-http': 4.0.0 - '@smithy/smithy-client': 3.0.1 - '@smithy/types': 3.0.0 - '@smithy/url-parser': 3.0.0 + '@smithy/config-resolver': 3.0.3 + '@smithy/core': 2.2.3 + '@smithy/fetch-http-handler': 3.1.0 + '@smithy/hash-node': 3.0.2 + '@smithy/invalid-dependency': 3.0.2 + '@smithy/middleware-content-length': 3.0.2 + '@smithy/middleware-endpoint': 3.0.3 + '@smithy/middleware-retry': 3.0.6 + '@smithy/middleware-serde': 3.0.2 + '@smithy/middleware-stack': 3.0.2 + '@smithy/node-config-provider': 3.1.2 + '@smithy/node-http-handler': 3.1.0 + '@smithy/protocol-http': 4.0.2 + '@smithy/smithy-client': 3.1.4 + '@smithy/types': 3.2.0 + '@smithy/url-parser': 3.0.2 '@smithy/util-base64': 3.0.0 '@smithy/util-body-length-browser': 3.0.0 '@smithy/util-body-length-node': 3.0.0 - '@smithy/util-defaults-mode-browser': 3.0.1 - '@smithy/util-defaults-mode-node': 3.0.1 - '@smithy/util-endpoints': 2.0.0 - '@smithy/util-middleware': 3.0.0 - '@smithy/util-retry': 3.0.0 + '@smithy/util-defaults-mode-browser': 3.0.6 + '@smithy/util-defaults-mode-node': 3.0.6 + '@smithy/util-endpoints': 2.0.3 + '@smithy/util-middleware': 3.0.2 + '@smithy/util-retry': 3.0.2 '@smithy/util-utf8': 3.0.0 - tslib: 2.6.2 + tslib: 2.6.3 transitivePeerDependencies: - aws-crt dev: false - /@aws-sdk/client-sts@3.502.0(@aws-sdk/credential-provider-node@3.503.1): - resolution: {integrity: sha512-0q08gsvn6nuRqjK+i/e30PT/t7vvYwmGJS0PhJikZWv5yRDNSUxSYG0uDwKSbLDzmc2UX5+mLeyjPHlL4hbGlA==} - engines: {node: '>=14.0.0'} - peerDependencies: - '@aws-sdk/credential-provider-node': '*' + /@aws-sdk/client-sso@3.598.0: + resolution: {integrity: sha512-nOI5lqPYa+YZlrrzwAJywJSw3MKVjvu6Ge2fCqQUNYMfxFB0NAaDFnl0EPjXi+sEbtCuz/uWE77poHbqiZ+7Iw==} + engines: {node: '>=16.0.0'} dependencies: - '@aws-crypto/sha256-browser': 3.0.0 - '@aws-crypto/sha256-js': 3.0.0 - '@aws-sdk/core': 3.496.0 - '@aws-sdk/credential-provider-node': 3.503.1 - '@aws-sdk/middleware-host-header': 3.502.0 - '@aws-sdk/middleware-logger': 3.502.0 - '@aws-sdk/middleware-recursion-detection': 3.502.0 - '@aws-sdk/middleware-user-agent': 3.502.0 - '@aws-sdk/region-config-resolver': 3.502.0 - '@aws-sdk/types': 3.502.0 - '@aws-sdk/util-endpoints': 3.502.0 - '@aws-sdk/util-user-agent-browser': 3.502.0 - '@aws-sdk/util-user-agent-node': 3.502.0 - '@smithy/config-resolver': 2.1.1 - '@smithy/core': 1.3.1 - '@smithy/fetch-http-handler': 2.4.1 - '@smithy/hash-node': 2.1.1 - '@smithy/invalid-dependency': 2.1.1 - '@smithy/middleware-content-length': 2.1.1 - '@smithy/middleware-endpoint': 2.4.1 - '@smithy/middleware-retry': 2.1.1 - '@smithy/middleware-serde': 2.1.1 - '@smithy/middleware-stack': 2.1.1 - '@smithy/node-config-provider': 2.2.1 - '@smithy/node-http-handler': 2.3.1 - '@smithy/protocol-http': 3.1.1 - '@smithy/smithy-client': 2.3.1 - '@smithy/types': 2.9.1 - '@smithy/url-parser': 2.1.1 - '@smithy/util-base64': 2.1.1 - '@smithy/util-body-length-browser': 2.1.1 - '@smithy/util-body-length-node': 2.2.1 - '@smithy/util-defaults-mode-browser': 2.1.1 - '@smithy/util-defaults-mode-node': 2.1.1 - '@smithy/util-endpoints': 1.1.1 - '@smithy/util-middleware': 2.1.1 - '@smithy/util-retry': 2.1.1 - '@smithy/util-utf8': 2.1.1 - fast-xml-parser: 4.2.5 - tslib: 2.6.2 + '@aws-crypto/sha256-browser': 5.2.0 + '@aws-crypto/sha256-js': 5.2.0 + '@aws-sdk/core': 3.598.0 + '@aws-sdk/middleware-host-header': 3.598.0 + '@aws-sdk/middleware-logger': 3.598.0 + '@aws-sdk/middleware-recursion-detection': 3.598.0 + '@aws-sdk/middleware-user-agent': 3.598.0 + '@aws-sdk/region-config-resolver': 3.598.0 + '@aws-sdk/types': 3.598.0 + '@aws-sdk/util-endpoints': 3.598.0 + '@aws-sdk/util-user-agent-browser': 3.598.0 + '@aws-sdk/util-user-agent-node': 3.598.0 + '@smithy/config-resolver': 3.0.3 + '@smithy/core': 2.2.3 + '@smithy/fetch-http-handler': 3.1.0 + '@smithy/hash-node': 3.0.2 + '@smithy/invalid-dependency': 3.0.2 + '@smithy/middleware-content-length': 3.0.2 + '@smithy/middleware-endpoint': 3.0.3 + '@smithy/middleware-retry': 3.0.6 + '@smithy/middleware-serde': 3.0.2 + '@smithy/middleware-stack': 3.0.2 + '@smithy/node-config-provider': 3.1.2 + '@smithy/node-http-handler': 3.1.0 + '@smithy/protocol-http': 4.0.2 + '@smithy/smithy-client': 3.1.4 + '@smithy/types': 3.2.0 + '@smithy/url-parser': 3.0.2 + '@smithy/util-base64': 3.0.0 + '@smithy/util-body-length-browser': 3.0.0 + '@smithy/util-body-length-node': 3.0.0 + '@smithy/util-defaults-mode-browser': 3.0.6 + '@smithy/util-defaults-mode-node': 3.0.6 + '@smithy/util-endpoints': 2.0.3 + '@smithy/util-middleware': 3.0.2 + '@smithy/util-retry': 3.0.2 + '@smithy/util-utf8': 3.0.0 + tslib: 2.6.3 transitivePeerDependencies: - aws-crt dev: false @@ -2701,69 +2700,108 @@ packages: '@aws-sdk/util-endpoints': 3.577.0 '@aws-sdk/util-user-agent-browser': 3.577.0 '@aws-sdk/util-user-agent-node': 3.577.0 - '@smithy/config-resolver': 3.0.0 - '@smithy/core': 2.0.1 - '@smithy/fetch-http-handler': 3.0.1 - '@smithy/hash-node': 3.0.0 - '@smithy/invalid-dependency': 3.0.0 - '@smithy/middleware-content-length': 3.0.0 - '@smithy/middleware-endpoint': 3.0.0 - '@smithy/middleware-retry': 3.0.1 - '@smithy/middleware-serde': 3.0.0 - '@smithy/middleware-stack': 3.0.0 - '@smithy/node-config-provider': 3.0.0 - '@smithy/node-http-handler': 3.0.0 - '@smithy/protocol-http': 4.0.0 - '@smithy/smithy-client': 3.0.1 - '@smithy/types': 3.0.0 - '@smithy/url-parser': 3.0.0 + '@smithy/config-resolver': 3.0.3 + '@smithy/core': 2.2.3 + '@smithy/fetch-http-handler': 3.1.0 + '@smithy/hash-node': 3.0.2 + '@smithy/invalid-dependency': 3.0.2 + '@smithy/middleware-content-length': 3.0.2 + '@smithy/middleware-endpoint': 3.0.3 + '@smithy/middleware-retry': 3.0.6 + '@smithy/middleware-serde': 3.0.2 + '@smithy/middleware-stack': 3.0.2 + '@smithy/node-config-provider': 3.1.2 + '@smithy/node-http-handler': 3.1.0 + '@smithy/protocol-http': 4.0.2 + '@smithy/smithy-client': 3.1.4 + '@smithy/types': 3.2.0 + '@smithy/url-parser': 3.0.2 '@smithy/util-base64': 3.0.0 '@smithy/util-body-length-browser': 3.0.0 '@smithy/util-body-length-node': 3.0.0 - '@smithy/util-defaults-mode-browser': 3.0.1 - '@smithy/util-defaults-mode-node': 3.0.1 - '@smithy/util-endpoints': 2.0.0 - '@smithy/util-middleware': 3.0.0 - '@smithy/util-retry': 3.0.0 + '@smithy/util-defaults-mode-browser': 3.0.6 + '@smithy/util-defaults-mode-node': 3.0.6 + '@smithy/util-endpoints': 2.0.3 + '@smithy/util-middleware': 3.0.2 + '@smithy/util-retry': 3.0.2 '@smithy/util-utf8': 3.0.0 - tslib: 2.6.2 + tslib: 2.6.3 transitivePeerDependencies: - aws-crt dev: false - /@aws-sdk/core@3.496.0: - resolution: {integrity: sha512-yT+ug7Cw/3eJi7x2es0+46x12+cIJm5Xv+GPWsrTFD1TKgqO/VPEgfDtHFagDNbFmjNQA65Ygc/kEdIX9ICX/A==} - engines: {node: '>=14.0.0'} + /@aws-sdk/client-sts@3.600.0: + resolution: {integrity: sha512-KQG97B7LvTtTiGmjlrG1LRAY8wUvCQzrmZVV5bjrJ/1oXAU7DITYwVbSJeX9NWg6hDuSk0VE3MFwIXS2SvfLIA==} + engines: {node: '>=16.0.0'} dependencies: - '@smithy/core': 1.3.1 - '@smithy/protocol-http': 3.1.1 - '@smithy/signature-v4': 2.1.1 - '@smithy/smithy-client': 2.3.1 - '@smithy/types': 2.9.1 - tslib: 2.6.2 + '@aws-crypto/sha256-browser': 5.2.0 + '@aws-crypto/sha256-js': 5.2.0 + '@aws-sdk/client-sso-oidc': 3.600.0(@aws-sdk/client-sts@3.600.0) + '@aws-sdk/core': 3.598.0 + '@aws-sdk/credential-provider-node': 3.600.0(@aws-sdk/client-sso-oidc@3.600.0)(@aws-sdk/client-sts@3.600.0) + '@aws-sdk/middleware-host-header': 3.598.0 + '@aws-sdk/middleware-logger': 3.598.0 + '@aws-sdk/middleware-recursion-detection': 3.598.0 + '@aws-sdk/middleware-user-agent': 3.598.0 + '@aws-sdk/region-config-resolver': 3.598.0 + '@aws-sdk/types': 3.598.0 + '@aws-sdk/util-endpoints': 3.598.0 + '@aws-sdk/util-user-agent-browser': 3.598.0 + '@aws-sdk/util-user-agent-node': 3.598.0 + '@smithy/config-resolver': 3.0.3 + '@smithy/core': 2.2.3 + '@smithy/fetch-http-handler': 3.1.0 + '@smithy/hash-node': 3.0.2 + '@smithy/invalid-dependency': 3.0.2 + '@smithy/middleware-content-length': 3.0.2 + '@smithy/middleware-endpoint': 3.0.3 + '@smithy/middleware-retry': 3.0.6 + '@smithy/middleware-serde': 3.0.2 + '@smithy/middleware-stack': 3.0.2 + '@smithy/node-config-provider': 3.1.2 + '@smithy/node-http-handler': 3.1.0 + '@smithy/protocol-http': 4.0.2 + '@smithy/smithy-client': 3.1.4 + '@smithy/types': 3.2.0 + '@smithy/url-parser': 3.0.2 + '@smithy/util-base64': 3.0.0 + '@smithy/util-body-length-browser': 3.0.0 + '@smithy/util-body-length-node': 3.0.0 + '@smithy/util-defaults-mode-browser': 3.0.6 + '@smithy/util-defaults-mode-node': 3.0.6 + '@smithy/util-endpoints': 2.0.3 + '@smithy/util-middleware': 3.0.2 + '@smithy/util-retry': 3.0.2 + '@smithy/util-utf8': 3.0.0 + tslib: 2.6.3 + transitivePeerDependencies: + - aws-crt dev: false /@aws-sdk/core@3.576.0: resolution: {integrity: sha512-KDvDlbeipSTIf+ffKtTg1m419TK7s9mZSWC8bvuZ9qx6/sjQFOXIKOVqyuli6DnfxGbvRcwoRuY99OcCH1N/0w==} engines: {node: '>=16.0.0'} dependencies: - '@smithy/core': 2.0.1 - '@smithy/protocol-http': 4.0.0 - '@smithy/signature-v4': 3.0.0 - '@smithy/smithy-client': 3.0.1 - '@smithy/types': 3.0.0 + '@smithy/core': 2.2.3 + '@smithy/protocol-http': 4.0.2 + '@smithy/signature-v4': 3.1.1 + '@smithy/smithy-client': 3.1.4 + '@smithy/types': 3.2.0 fast-xml-parser: 4.2.5 - tslib: 2.6.2 + tslib: 2.6.3 dev: false - /@aws-sdk/credential-provider-env@3.502.0: - resolution: {integrity: sha512-KIB8Ae1Z7domMU/jU4KiIgK4tmYgvuXlhR54ehwlVHxnEoFPoPuGHFZU7oFn79jhhSLUFQ1lRYMxP0cEwb7XeQ==} - engines: {node: '>=14.0.0'} + /@aws-sdk/core@3.598.0: + resolution: {integrity: sha512-HaSjt7puO5Cc7cOlrXFCW0rtA0BM9lvzjl56x0A20Pt+0wxXGeTOZZOkXQIepbrFkV2e/HYukuT9e99vXDm59g==} + engines: {node: '>=16.0.0'} dependencies: - '@aws-sdk/types': 3.502.0 - '@smithy/property-provider': 2.1.1 - '@smithy/types': 2.9.1 - tslib: 2.6.2 + '@smithy/core': 2.2.3 + '@smithy/protocol-http': 4.0.2 + '@smithy/signature-v4': 3.1.1 + '@smithy/smithy-client': 3.1.4 + '@smithy/types': 3.2.0 + fast-xml-parser: 4.2.5 + tslib: 2.6.3 dev: false /@aws-sdk/credential-provider-env@3.577.0: @@ -2771,24 +2809,19 @@ packages: engines: {node: '>=16.0.0'} dependencies: '@aws-sdk/types': 3.577.0 - '@smithy/property-provider': 3.0.0 - '@smithy/types': 3.0.0 - tslib: 2.6.2 + '@smithy/property-provider': 3.1.2 + '@smithy/types': 3.2.0 + tslib: 2.6.3 dev: false - /@aws-sdk/credential-provider-http@3.503.1: - resolution: {integrity: sha512-rTdlFFGoPPFMF2YjtlfRuSgKI+XsF49u7d98255hySwhsbwd3Xp+utTTPquxP+CwDxMHbDlI7NxDzFiFdsoZug==} - engines: {node: '>=14.0.0'} + /@aws-sdk/credential-provider-env@3.598.0: + resolution: {integrity: sha512-vi1khgn7yXzLCcgSIzQrrtd2ilUM0dWodxj3PQ6BLfP0O+q1imO3hG1nq7DVyJtq7rFHs6+9N8G4mYvTkxby2w==} + engines: {node: '>=16.0.0'} dependencies: - '@aws-sdk/types': 3.502.0 - '@smithy/fetch-http-handler': 2.4.1 - '@smithy/node-http-handler': 2.3.1 - '@smithy/property-provider': 2.1.1 - '@smithy/protocol-http': 3.1.1 - '@smithy/smithy-client': 2.3.1 - '@smithy/types': 2.9.1 - '@smithy/util-stream': 2.1.1 - tslib: 2.6.2 + '@aws-sdk/types': 3.598.0 + '@smithy/property-provider': 3.1.2 + '@smithy/types': 3.2.0 + tslib: 2.6.3 dev: false /@aws-sdk/credential-provider-http@3.577.0: @@ -2796,34 +2829,29 @@ packages: engines: {node: '>=16.0.0'} dependencies: '@aws-sdk/types': 3.577.0 - '@smithy/fetch-http-handler': 3.0.1 - '@smithy/node-http-handler': 3.0.0 - '@smithy/property-provider': 3.0.0 - '@smithy/protocol-http': 4.0.0 - '@smithy/smithy-client': 3.0.1 - '@smithy/types': 3.0.0 - '@smithy/util-stream': 3.0.1 - tslib: 2.6.2 - dev: false - - /@aws-sdk/credential-provider-ini@3.503.1(@aws-sdk/credential-provider-node@3.503.1): - resolution: {integrity: sha512-1RiC72NdWJ5w2IaX/91Fku+FrrChzaHuMCD5wbjk5TMHjwiDZ622wvMKYVmn30biW0RbJidaw38Y9PAGivdZxw==} - engines: {node: '>=14.0.0'} + '@smithy/fetch-http-handler': 3.1.0 + '@smithy/node-http-handler': 3.1.0 + '@smithy/property-provider': 3.1.2 + '@smithy/protocol-http': 4.0.2 + '@smithy/smithy-client': 3.1.4 + '@smithy/types': 3.2.0 + '@smithy/util-stream': 3.0.4 + tslib: 2.6.3 + dev: false + + /@aws-sdk/credential-provider-http@3.598.0: + resolution: {integrity: sha512-N7cIafi4HVlQvEgvZSo1G4T9qb/JMLGMdBsDCT5XkeJrF0aptQWzTFH0jIdZcLrMYvzPcuEyO3yCBe6cy/ba0g==} + engines: {node: '>=16.0.0'} dependencies: - '@aws-sdk/client-sts': 3.502.0(@aws-sdk/credential-provider-node@3.503.1) - '@aws-sdk/credential-provider-env': 3.502.0 - '@aws-sdk/credential-provider-process': 3.502.0 - '@aws-sdk/credential-provider-sso': 3.503.1(@aws-sdk/credential-provider-node@3.503.1) - '@aws-sdk/credential-provider-web-identity': 3.502.0(@aws-sdk/credential-provider-node@3.503.1) - '@aws-sdk/types': 3.502.0 - '@smithy/credential-provider-imds': 2.2.1 - '@smithy/property-provider': 2.1.1 - '@smithy/shared-ini-file-loader': 2.3.1 - '@smithy/types': 2.9.1 - tslib: 2.6.2 - transitivePeerDependencies: - - '@aws-sdk/credential-provider-node' - - aws-crt + '@aws-sdk/types': 3.598.0 + '@smithy/fetch-http-handler': 3.1.0 + '@smithy/node-http-handler': 3.1.0 + '@smithy/property-provider': 3.1.2 + '@smithy/protocol-http': 4.0.2 + '@smithy/smithy-client': 3.1.4 + '@smithy/types': 3.2.0 + '@smithy/util-stream': 3.0.4 + tslib: 2.6.3 dev: false /@aws-sdk/credential-provider-ini@3.577.0(@aws-sdk/client-sso-oidc@3.577.0)(@aws-sdk/client-sts@3.577.0): @@ -2838,33 +2866,36 @@ packages: '@aws-sdk/credential-provider-sso': 3.577.0(@aws-sdk/client-sso-oidc@3.577.0) '@aws-sdk/credential-provider-web-identity': 3.577.0(@aws-sdk/client-sts@3.577.0) '@aws-sdk/types': 3.577.0 - '@smithy/credential-provider-imds': 3.0.0 - '@smithy/property-provider': 3.0.0 - '@smithy/shared-ini-file-loader': 3.0.0 - '@smithy/types': 3.0.0 - tslib: 2.6.2 + '@smithy/credential-provider-imds': 3.1.2 + '@smithy/property-provider': 3.1.2 + '@smithy/shared-ini-file-loader': 3.1.2 + '@smithy/types': 3.2.0 + tslib: 2.6.3 transitivePeerDependencies: - '@aws-sdk/client-sso-oidc' - aws-crt dev: false - /@aws-sdk/credential-provider-node@3.503.1: - resolution: {integrity: sha512-1qsRWnXl8OUZEDpUFF/gjCGjePjZB6fIpX+XQuTpKokeDzYZk0HwQSakPspfmzT8MkyB9IBJVWb7KbFCjKNt0A==} - engines: {node: '>=14.0.0'} - dependencies: - '@aws-sdk/credential-provider-env': 3.502.0 - '@aws-sdk/credential-provider-http': 3.503.1 - '@aws-sdk/credential-provider-ini': 3.503.1(@aws-sdk/credential-provider-node@3.503.1) - '@aws-sdk/credential-provider-process': 3.502.0 - '@aws-sdk/credential-provider-sso': 3.503.1(@aws-sdk/credential-provider-node@3.503.1) - '@aws-sdk/credential-provider-web-identity': 3.502.0(@aws-sdk/credential-provider-node@3.503.1) - '@aws-sdk/types': 3.502.0 - '@smithy/credential-provider-imds': 2.2.1 - '@smithy/property-provider': 2.1.1 - '@smithy/shared-ini-file-loader': 2.3.1 - '@smithy/types': 2.9.1 - tslib: 2.6.2 + /@aws-sdk/credential-provider-ini@3.598.0(@aws-sdk/client-sso-oidc@3.600.0)(@aws-sdk/client-sts@3.600.0): + resolution: {integrity: sha512-/ppcIVUbRwDIwJDoYfp90X3+AuJo2mvE52Y1t2VSrvUovYn6N4v95/vXj6LS8CNDhz2jvEJYmu+0cTMHdhI6eA==} + engines: {node: '>=16.0.0'} + peerDependencies: + '@aws-sdk/client-sts': ^3.598.0 + dependencies: + '@aws-sdk/client-sts': 3.600.0 + '@aws-sdk/credential-provider-env': 3.598.0 + '@aws-sdk/credential-provider-http': 3.598.0 + '@aws-sdk/credential-provider-process': 3.598.0 + '@aws-sdk/credential-provider-sso': 3.598.0(@aws-sdk/client-sso-oidc@3.600.0) + '@aws-sdk/credential-provider-web-identity': 3.598.0(@aws-sdk/client-sts@3.600.0) + '@aws-sdk/types': 3.598.0 + '@smithy/credential-provider-imds': 3.1.2 + '@smithy/property-provider': 3.1.2 + '@smithy/shared-ini-file-loader': 3.1.2 + '@smithy/types': 3.2.0 + tslib: 2.6.3 transitivePeerDependencies: + - '@aws-sdk/client-sso-oidc' - aws-crt dev: false @@ -2879,26 +2910,37 @@ packages: '@aws-sdk/credential-provider-sso': 3.577.0(@aws-sdk/client-sso-oidc@3.577.0) '@aws-sdk/credential-provider-web-identity': 3.577.0(@aws-sdk/client-sts@3.577.0) '@aws-sdk/types': 3.577.0 - '@smithy/credential-provider-imds': 3.0.0 - '@smithy/property-provider': 3.0.0 - '@smithy/shared-ini-file-loader': 3.0.0 - '@smithy/types': 3.0.0 - tslib: 2.6.2 + '@smithy/credential-provider-imds': 3.1.2 + '@smithy/property-provider': 3.1.2 + '@smithy/shared-ini-file-loader': 3.1.2 + '@smithy/types': 3.2.0 + tslib: 2.6.3 transitivePeerDependencies: - '@aws-sdk/client-sso-oidc' - '@aws-sdk/client-sts' - aws-crt dev: false - /@aws-sdk/credential-provider-process@3.502.0: - resolution: {integrity: sha512-fJJowOjQ4infYQX0E1J3xFVlmuwEYJAFk0Mo1qwafWmEthsBJs+6BR2RiWDELHKrSK35u4Pf3fu3RkYuCtmQFw==} - engines: {node: '>=14.0.0'} + /@aws-sdk/credential-provider-node@3.600.0(@aws-sdk/client-sso-oidc@3.600.0)(@aws-sdk/client-sts@3.600.0): + resolution: {integrity: sha512-1pC7MPMYD45J7yFjA90SxpR0yaSvy+yZiq23aXhAPZLYgJBAxHLu0s0mDCk/piWGPh8+UGur5K0bVdx4B1D5hw==} + engines: {node: '>=16.0.0'} dependencies: - '@aws-sdk/types': 3.502.0 - '@smithy/property-provider': 2.1.1 - '@smithy/shared-ini-file-loader': 2.3.1 - '@smithy/types': 2.9.1 - tslib: 2.6.2 + '@aws-sdk/credential-provider-env': 3.598.0 + '@aws-sdk/credential-provider-http': 3.598.0 + '@aws-sdk/credential-provider-ini': 3.598.0(@aws-sdk/client-sso-oidc@3.600.0)(@aws-sdk/client-sts@3.600.0) + '@aws-sdk/credential-provider-process': 3.598.0 + '@aws-sdk/credential-provider-sso': 3.598.0(@aws-sdk/client-sso-oidc@3.600.0) + '@aws-sdk/credential-provider-web-identity': 3.598.0(@aws-sdk/client-sts@3.600.0) + '@aws-sdk/types': 3.598.0 + '@smithy/credential-provider-imds': 3.1.2 + '@smithy/property-provider': 3.1.2 + '@smithy/shared-ini-file-loader': 3.1.2 + '@smithy/types': 3.2.0 + tslib: 2.6.3 + transitivePeerDependencies: + - '@aws-sdk/client-sso-oidc' + - '@aws-sdk/client-sts' + - aws-crt dev: false /@aws-sdk/credential-provider-process@3.577.0: @@ -2906,26 +2948,21 @@ packages: engines: {node: '>=16.0.0'} dependencies: '@aws-sdk/types': 3.577.0 - '@smithy/property-provider': 3.0.0 - '@smithy/shared-ini-file-loader': 3.0.0 - '@smithy/types': 3.0.0 - tslib: 2.6.2 + '@smithy/property-provider': 3.1.2 + '@smithy/shared-ini-file-loader': 3.1.2 + '@smithy/types': 3.2.0 + tslib: 2.6.3 dev: false - /@aws-sdk/credential-provider-sso@3.503.1(@aws-sdk/credential-provider-node@3.503.1): - resolution: {integrity: sha512-Wj+rgpD4EcGB+j6mMYPD4SPNEN0sUSq7UMTTfdzZ+1MSTnbPDC9rgde0D3yJPrJ1le/0j+sXPALvr5RKSpENbg==} - engines: {node: '>=14.0.0'} + /@aws-sdk/credential-provider-process@3.598.0: + resolution: {integrity: sha512-rM707XbLW8huMk722AgjVyxu2tMZee++fNA8TJVNgs1Ma02Wx6bBrfIvlyK0rCcIRb0WdQYP6fe3Xhiu4e8IBA==} + engines: {node: '>=16.0.0'} dependencies: - '@aws-sdk/client-sso': 3.502.0 - '@aws-sdk/token-providers': 3.502.0(@aws-sdk/credential-provider-node@3.503.1) - '@aws-sdk/types': 3.502.0 - '@smithy/property-provider': 2.1.1 - '@smithy/shared-ini-file-loader': 2.3.1 - '@smithy/types': 2.9.1 - tslib: 2.6.2 - transitivePeerDependencies: - - '@aws-sdk/credential-provider-node' - - aws-crt + '@aws-sdk/types': 3.598.0 + '@smithy/property-provider': 3.1.2 + '@smithy/shared-ini-file-loader': 3.1.2 + '@smithy/types': 3.2.0 + tslib: 2.6.3 dev: false /@aws-sdk/credential-provider-sso@3.577.0(@aws-sdk/client-sso-oidc@3.577.0): @@ -2935,26 +2972,28 @@ packages: '@aws-sdk/client-sso': 3.577.0 '@aws-sdk/token-providers': 3.577.0(@aws-sdk/client-sso-oidc@3.577.0) '@aws-sdk/types': 3.577.0 - '@smithy/property-provider': 3.0.0 - '@smithy/shared-ini-file-loader': 3.0.0 - '@smithy/types': 3.0.0 - tslib: 2.6.2 + '@smithy/property-provider': 3.1.2 + '@smithy/shared-ini-file-loader': 3.1.2 + '@smithy/types': 3.2.0 + tslib: 2.6.3 transitivePeerDependencies: - '@aws-sdk/client-sso-oidc' - aws-crt dev: false - /@aws-sdk/credential-provider-web-identity@3.502.0(@aws-sdk/credential-provider-node@3.503.1): - resolution: {integrity: sha512-veBAjDqjMMgA2Qxxf9ywDfHYLeJpaeHWLWCQ9XCHwJJ6ZIGWmAZPTq3he/UMr5JIQXooIccqqyqXMDIXPenXpA==} - engines: {node: '>=14.0.0'} + /@aws-sdk/credential-provider-sso@3.598.0(@aws-sdk/client-sso-oidc@3.600.0): + resolution: {integrity: sha512-5InwUmrAuqQdOOgxTccRayMMkSmekdLk6s+az9tmikq0QFAHUCtofI+/fllMXSR9iL6JbGYi1940+EUmS4pHJA==} + engines: {node: '>=16.0.0'} dependencies: - '@aws-sdk/client-sts': 3.502.0(@aws-sdk/credential-provider-node@3.503.1) - '@aws-sdk/types': 3.502.0 - '@smithy/property-provider': 2.1.1 - '@smithy/types': 2.9.1 - tslib: 2.6.2 + '@aws-sdk/client-sso': 3.598.0 + '@aws-sdk/token-providers': 3.598.0(@aws-sdk/client-sso-oidc@3.600.0) + '@aws-sdk/types': 3.598.0 + '@smithy/property-provider': 3.1.2 + '@smithy/shared-ini-file-loader': 3.1.2 + '@smithy/types': 3.2.0 + tslib: 2.6.3 transitivePeerDependencies: - - '@aws-sdk/credential-provider-node' + - '@aws-sdk/client-sso-oidc' - aws-crt dev: false @@ -2966,17 +3005,22 @@ packages: dependencies: '@aws-sdk/client-sts': 3.577.0 '@aws-sdk/types': 3.577.0 - '@smithy/property-provider': 3.0.0 - '@smithy/types': 3.0.0 - tslib: 2.6.2 + '@smithy/property-provider': 3.1.2 + '@smithy/types': 3.2.0 + tslib: 2.6.3 dev: false - /@aws-sdk/endpoint-cache@3.495.0: - resolution: {integrity: sha512-XCDrpiS50WaPzPzp7FwsChPHtX9PQQUU4nRzcn2N7IkUtpcFCUx8m1PAZe086VQr6hrbdeE4Z4j8hUPNwVdJGQ==} - engines: {node: '>=14.0.0'} + /@aws-sdk/credential-provider-web-identity@3.598.0(@aws-sdk/client-sts@3.600.0): + resolution: {integrity: sha512-GV5GdiMbz5Tz9JO4NJtRoFXjW0GPEujA0j+5J/B723rTN+REHthJu48HdBKouHGhdzkDWkkh1bu52V02Wprw8w==} + engines: {node: '>=16.0.0'} + peerDependencies: + '@aws-sdk/client-sts': ^3.598.0 dependencies: - mnemonist: 0.38.3 - tslib: 2.6.2 + '@aws-sdk/client-sts': 3.600.0 + '@aws-sdk/types': 3.598.0 + '@smithy/property-provider': 3.1.2 + '@smithy/types': 3.2.0 + tslib: 2.6.3 dev: false /@aws-sdk/endpoint-cache@3.572.0: @@ -2984,7 +3028,7 @@ packages: engines: {node: '>=16.0.0'} dependencies: mnemonist: 0.38.3 - tslib: 2.6.2 + tslib: 2.6.3 dev: false /@aws-sdk/middleware-bucket-endpoint@3.577.0: @@ -2993,23 +3037,11 @@ packages: dependencies: '@aws-sdk/types': 3.577.0 '@aws-sdk/util-arn-parser': 3.568.0 - '@smithy/node-config-provider': 3.0.0 - '@smithy/protocol-http': 4.0.0 - '@smithy/types': 3.0.0 + '@smithy/node-config-provider': 3.1.2 + '@smithy/protocol-http': 4.0.2 + '@smithy/types': 3.2.0 '@smithy/util-config-provider': 3.0.0 - tslib: 2.6.2 - dev: false - - /@aws-sdk/middleware-endpoint-discovery@3.502.0: - resolution: {integrity: sha512-DQBbyelebBshYPTb5ah25sAdMTQKYBUYE0If66sXHNUQAdUg28z076kE4E8p8RxyfGHqESN2MrqfIjQpEnjcqg==} - engines: {node: '>=14.0.0'} - dependencies: - '@aws-sdk/endpoint-cache': 3.495.0 - '@aws-sdk/types': 3.502.0 - '@smithy/node-config-provider': 2.2.1 - '@smithy/protocol-http': 3.1.1 - '@smithy/types': 2.9.1 - tslib: 2.6.2 + tslib: 2.6.3 dev: false /@aws-sdk/middleware-endpoint-discovery@3.577.0: @@ -3018,10 +3050,22 @@ packages: dependencies: '@aws-sdk/endpoint-cache': 3.572.0 '@aws-sdk/types': 3.577.0 - '@smithy/node-config-provider': 3.0.0 - '@smithy/protocol-http': 4.0.0 - '@smithy/types': 3.0.0 - tslib: 2.6.2 + '@smithy/node-config-provider': 3.1.2 + '@smithy/protocol-http': 4.0.2 + '@smithy/types': 3.2.0 + tslib: 2.6.3 + dev: false + + /@aws-sdk/middleware-endpoint-discovery@3.598.0: + resolution: {integrity: sha512-TaFo3rfapVP0FiddH2zDyA5R5XNk2M+zMeUZaBRveYamSQ11F+fMGcedBgbOsv7yNESvaZvjlcw2K+cx3jOchA==} + engines: {node: '>=16.0.0'} + dependencies: + '@aws-sdk/endpoint-cache': 3.572.0 + '@aws-sdk/types': 3.598.0 + '@smithy/node-config-provider': 3.1.2 + '@smithy/protocol-http': 4.0.2 + '@smithy/types': 3.2.0 + tslib: 2.6.3 dev: false /@aws-sdk/middleware-expect-continue@3.577.0: @@ -3029,9 +3073,9 @@ packages: engines: {node: '>=16.0.0'} dependencies: '@aws-sdk/types': 3.577.0 - '@smithy/protocol-http': 4.0.0 - '@smithy/types': 3.0.0 - tslib: 2.6.2 + '@smithy/protocol-http': 4.0.2 + '@smithy/types': 3.2.0 + tslib: 2.6.3 dev: false /@aws-sdk/middleware-flexible-checksums@3.577.0: @@ -3042,20 +3086,10 @@ packages: '@aws-crypto/crc32c': 3.0.0 '@aws-sdk/types': 3.577.0 '@smithy/is-array-buffer': 3.0.0 - '@smithy/protocol-http': 4.0.0 - '@smithy/types': 3.0.0 + '@smithy/protocol-http': 4.0.2 + '@smithy/types': 3.2.0 '@smithy/util-utf8': 3.0.0 - tslib: 2.6.2 - dev: false - - /@aws-sdk/middleware-host-header@3.502.0: - resolution: {integrity: sha512-EjnG0GTYXT/wJBmm5/mTjDcAkzU8L7wQjOzd3FTXuTCNNyvAvwrszbOj5FlarEw5XJBbQiZtBs+I5u9+zy560w==} - engines: {node: '>=14.0.0'} - dependencies: - '@aws-sdk/types': 3.502.0 - '@smithy/protocol-http': 3.1.1 - '@smithy/types': 2.9.1 - tslib: 2.6.2 + tslib: 2.6.3 dev: false /@aws-sdk/middleware-host-header@3.577.0: @@ -3063,27 +3097,28 @@ packages: engines: {node: '>=16.0.0'} dependencies: '@aws-sdk/types': 3.577.0 - '@smithy/protocol-http': 4.0.0 - '@smithy/types': 3.0.0 - tslib: 2.6.2 + '@smithy/protocol-http': 4.0.2 + '@smithy/types': 3.2.0 + tslib: 2.6.3 dev: false - /@aws-sdk/middleware-location-constraint@3.577.0: - resolution: {integrity: sha512-DKPTD2D2s+t2QUo/IXYtVa/6Un8GZ+phSTBkyBNx2kfZz4Kwavhl/JJzSqTV3GfCXkVdFu7CrjoX7BZ6qWeTUA==} + /@aws-sdk/middleware-host-header@3.598.0: + resolution: {integrity: sha512-WiaG059YBQwQraNejLIi0gMNkX7dfPZ8hDIhvMr5aVPRbaHH8AYF3iNSsXYCHvA2Cfa1O9haYXsuMF9flXnCmA==} engines: {node: '>=16.0.0'} dependencies: - '@aws-sdk/types': 3.577.0 - '@smithy/types': 3.0.0 - tslib: 2.6.2 + '@aws-sdk/types': 3.598.0 + '@smithy/protocol-http': 4.0.2 + '@smithy/types': 3.2.0 + tslib: 2.6.3 dev: false - /@aws-sdk/middleware-logger@3.502.0: - resolution: {integrity: sha512-FDyv6K4nCoHxbjLGS2H8ex8I0KDIiu4FJgVRPs140ZJy6gE5Pwxzv6YTzZGLMrnqcIs9gh065Lf6DjwMelZqaw==} - engines: {node: '>=14.0.0'} + /@aws-sdk/middleware-location-constraint@3.577.0: + resolution: {integrity: sha512-DKPTD2D2s+t2QUo/IXYtVa/6Un8GZ+phSTBkyBNx2kfZz4Kwavhl/JJzSqTV3GfCXkVdFu7CrjoX7BZ6qWeTUA==} + engines: {node: '>=16.0.0'} dependencies: - '@aws-sdk/types': 3.502.0 - '@smithy/types': 2.9.1 - tslib: 2.6.2 + '@aws-sdk/types': 3.577.0 + '@smithy/types': 3.2.0 + tslib: 2.6.3 dev: false /@aws-sdk/middleware-logger@3.577.0: @@ -3091,18 +3126,17 @@ packages: engines: {node: '>=16.0.0'} dependencies: '@aws-sdk/types': 3.577.0 - '@smithy/types': 3.0.0 - tslib: 2.6.2 + '@smithy/types': 3.2.0 + tslib: 2.6.3 dev: false - /@aws-sdk/middleware-recursion-detection@3.502.0: - resolution: {integrity: sha512-hvbyGJbxeuezxOu8VfFmcV4ql1hKXLxHTe5FNYfEBat2KaZXVhc1Hg+4TvB06/53p+E8J99Afmumkqbxs2esUA==} - engines: {node: '>=14.0.0'} + /@aws-sdk/middleware-logger@3.598.0: + resolution: {integrity: sha512-bxBjf/VYiu3zfu8SYM2S9dQQc3tz5uBAOcPz/Bt8DyyK3GgOpjhschH/2XuUErsoUO1gDJqZSdGOmuHGZQn00Q==} + engines: {node: '>=16.0.0'} dependencies: - '@aws-sdk/types': 3.502.0 - '@smithy/protocol-http': 3.1.1 - '@smithy/types': 2.9.1 - tslib: 2.6.2 + '@aws-sdk/types': 3.598.0 + '@smithy/types': 3.2.0 + tslib: 2.6.3 dev: false /@aws-sdk/middleware-recursion-detection@3.577.0: @@ -3110,9 +3144,19 @@ packages: engines: {node: '>=16.0.0'} dependencies: '@aws-sdk/types': 3.577.0 - '@smithy/protocol-http': 4.0.0 - '@smithy/types': 3.0.0 - tslib: 2.6.2 + '@smithy/protocol-http': 4.0.2 + '@smithy/types': 3.2.0 + tslib: 2.6.3 + dev: false + + /@aws-sdk/middleware-recursion-detection@3.598.0: + resolution: {integrity: sha512-vjT9BeFY9FeN0f8hm2l6F53tI0N5bUq6RcDkQXKNabXBnQxKptJRad6oP2X5y3FoVfBLOuDkQgiC2940GIPxtQ==} + engines: {node: '>=16.0.0'} + dependencies: + '@aws-sdk/types': 3.598.0 + '@smithy/protocol-http': 4.0.2 + '@smithy/types': 3.2.0 + tslib: 2.6.3 dev: false /@aws-sdk/middleware-sdk-s3@3.577.0: @@ -3121,13 +3165,13 @@ packages: dependencies: '@aws-sdk/types': 3.577.0 '@aws-sdk/util-arn-parser': 3.568.0 - '@smithy/node-config-provider': 3.0.0 - '@smithy/protocol-http': 4.0.0 - '@smithy/signature-v4': 3.0.0 - '@smithy/smithy-client': 3.0.1 - '@smithy/types': 3.0.0 + '@smithy/node-config-provider': 3.1.2 + '@smithy/protocol-http': 4.0.2 + '@smithy/signature-v4': 3.1.1 + '@smithy/smithy-client': 3.1.4 + '@smithy/types': 3.2.0 '@smithy/util-config-provider': 3.0.0 - tslib: 2.6.2 + tslib: 2.6.3 dev: false /@aws-sdk/middleware-sdk-sqs@3.577.0: @@ -3135,24 +3179,11 @@ packages: engines: {node: '>=16.0.0'} dependencies: '@aws-sdk/types': 3.577.0 - '@smithy/smithy-client': 3.0.1 - '@smithy/types': 3.0.0 + '@smithy/smithy-client': 3.1.4 + '@smithy/types': 3.2.0 '@smithy/util-hex-encoding': 3.0.0 '@smithy/util-utf8': 3.0.0 - tslib: 2.6.2 - dev: false - - /@aws-sdk/middleware-signing@3.502.0: - resolution: {integrity: sha512-4hF08vSzJ7L6sB+393gOFj3s2N6nLusYS0XrMW6wYNFU10IDdbf8Z3TZ7gysDJJHEGQPmTAesPEDBsasGWcMxg==} - engines: {node: '>=14.0.0'} - dependencies: - '@aws-sdk/types': 3.502.0 - '@smithy/property-provider': 2.1.1 - '@smithy/protocol-http': 3.1.1 - '@smithy/signature-v4': 2.1.1 - '@smithy/types': 2.9.1 - '@smithy/util-middleware': 2.1.1 - tslib: 2.6.2 + tslib: 2.6.3 dev: false /@aws-sdk/middleware-signing@3.577.0: @@ -3160,12 +3191,12 @@ packages: engines: {node: '>=16.0.0'} dependencies: '@aws-sdk/types': 3.577.0 - '@smithy/property-provider': 3.0.0 - '@smithy/protocol-http': 4.0.0 - '@smithy/signature-v4': 3.0.0 - '@smithy/types': 3.0.0 - '@smithy/util-middleware': 3.0.0 - tslib: 2.6.2 + '@smithy/property-provider': 3.1.2 + '@smithy/protocol-http': 4.0.2 + '@smithy/signature-v4': 3.1.1 + '@smithy/types': 3.2.0 + '@smithy/util-middleware': 3.0.2 + tslib: 2.6.3 dev: false /@aws-sdk/middleware-ssec@3.577.0: @@ -3173,19 +3204,8 @@ packages: engines: {node: '>=16.0.0'} dependencies: '@aws-sdk/types': 3.577.0 - '@smithy/types': 3.0.0 - tslib: 2.6.2 - dev: false - - /@aws-sdk/middleware-user-agent@3.502.0: - resolution: {integrity: sha512-TxbBZbRiXPH0AUxegqiNd9aM9zNSbfjtBs5MEfcBsweeT/B2O7K1EjP9+CkB8Xmk/5FLKhAKLr19b1TNoE27rw==} - engines: {node: '>=14.0.0'} - dependencies: - '@aws-sdk/types': 3.502.0 - '@aws-sdk/util-endpoints': 3.502.0 - '@smithy/protocol-http': 3.1.1 - '@smithy/types': 2.9.1 - tslib: 2.6.2 + '@smithy/types': 3.2.0 + tslib: 2.6.3 dev: false /@aws-sdk/middleware-user-agent@3.577.0: @@ -3194,21 +3214,20 @@ packages: dependencies: '@aws-sdk/types': 3.577.0 '@aws-sdk/util-endpoints': 3.577.0 - '@smithy/protocol-http': 4.0.0 - '@smithy/types': 3.0.0 - tslib: 2.6.2 + '@smithy/protocol-http': 4.0.2 + '@smithy/types': 3.2.0 + tslib: 2.6.3 dev: false - /@aws-sdk/region-config-resolver@3.502.0: - resolution: {integrity: sha512-mxmsX2AGgnSM+Sah7mcQCIneOsJQNiLX0COwEttuf8eO+6cLMAZvVudH3BnWTfea4/A9nuri9DLCqBvEmPrilg==} - engines: {node: '>=14.0.0'} + /@aws-sdk/middleware-user-agent@3.598.0: + resolution: {integrity: sha512-4tjESlHG5B5MdjUaLK7tQs/miUtHbb6deauQx8ryqSBYOhfHVgb1ZnzvQR0bTrhpqUg0WlybSkDaZAICf9xctg==} + engines: {node: '>=16.0.0'} dependencies: - '@aws-sdk/types': 3.502.0 - '@smithy/node-config-provider': 2.2.1 - '@smithy/types': 2.9.1 - '@smithy/util-config-provider': 2.2.1 - '@smithy/util-middleware': 2.1.1 - tslib: 2.6.2 + '@aws-sdk/types': 3.598.0 + '@aws-sdk/util-endpoints': 3.598.0 + '@smithy/protocol-http': 4.0.2 + '@smithy/types': 3.2.0 + tslib: 2.6.3 dev: false /@aws-sdk/region-config-resolver@3.577.0: @@ -3216,11 +3235,23 @@ packages: engines: {node: '>=16.0.0'} dependencies: '@aws-sdk/types': 3.577.0 - '@smithy/node-config-provider': 3.0.0 - '@smithy/types': 3.0.0 + '@smithy/node-config-provider': 3.1.2 + '@smithy/types': 3.2.0 '@smithy/util-config-provider': 3.0.0 - '@smithy/util-middleware': 3.0.0 - tslib: 2.6.2 + '@smithy/util-middleware': 3.0.2 + tslib: 2.6.3 + dev: false + + /@aws-sdk/region-config-resolver@3.598.0: + resolution: {integrity: sha512-oYXhmTokSav4ytmWleCr3rs/1nyvZW/S0tdi6X7u+dLNL5Jee+uMxWGzgOrWK6wrQOzucLVjS4E/wA11Kv2GTw==} + engines: {node: '>=16.0.0'} + dependencies: + '@aws-sdk/types': 3.598.0 + '@smithy/node-config-provider': 3.1.2 + '@smithy/types': 3.2.0 + '@smithy/util-config-provider': 3.0.0 + '@smithy/util-middleware': 3.0.2 + tslib: 2.6.3 dev: false /@aws-sdk/s3-request-presigner@3.577.0: @@ -3230,11 +3261,11 @@ packages: '@aws-sdk/signature-v4-multi-region': 3.577.0 '@aws-sdk/types': 3.577.0 '@aws-sdk/util-format-url': 3.577.0 - '@smithy/middleware-endpoint': 3.0.0 - '@smithy/protocol-http': 4.0.0 - '@smithy/smithy-client': 3.0.1 - '@smithy/types': 3.0.0 - tslib: 2.6.2 + '@smithy/middleware-endpoint': 3.0.3 + '@smithy/protocol-http': 4.0.2 + '@smithy/smithy-client': 3.1.4 + '@smithy/types': 3.2.0 + tslib: 2.6.3 dev: false /@aws-sdk/signature-v4-multi-region@3.577.0: @@ -3243,25 +3274,10 @@ packages: dependencies: '@aws-sdk/middleware-sdk-s3': 3.577.0 '@aws-sdk/types': 3.577.0 - '@smithy/protocol-http': 4.0.0 - '@smithy/signature-v4': 3.0.0 - '@smithy/types': 3.0.0 - tslib: 2.6.2 - dev: false - - /@aws-sdk/token-providers@3.502.0(@aws-sdk/credential-provider-node@3.503.1): - resolution: {integrity: sha512-RQgMgIXYlSf0xGl6EUeD+pqIPBlb7e29dbqHOBFc66hJVYUC2ULZX7Y+jLvcGIEaMiIaTPyvntZRFip+U+9hag==} - engines: {node: '>=14.0.0'} - dependencies: - '@aws-sdk/client-sso-oidc': 3.502.0(@aws-sdk/credential-provider-node@3.503.1) - '@aws-sdk/types': 3.502.0 - '@smithy/property-provider': 2.1.1 - '@smithy/shared-ini-file-loader': 2.3.1 - '@smithy/types': 2.9.1 - tslib: 2.6.2 - transitivePeerDependencies: - - '@aws-sdk/credential-provider-node' - - aws-crt + '@smithy/protocol-http': 4.0.2 + '@smithy/signature-v4': 3.1.1 + '@smithy/types': 3.2.0 + tslib: 2.6.3 dev: false /@aws-sdk/token-providers@3.577.0(@aws-sdk/client-sso-oidc@3.577.0): @@ -3272,41 +3288,55 @@ packages: dependencies: '@aws-sdk/client-sso-oidc': 3.577.0(@aws-sdk/client-sts@3.577.0) '@aws-sdk/types': 3.577.0 - '@smithy/property-provider': 3.0.0 - '@smithy/shared-ini-file-loader': 3.0.0 - '@smithy/types': 3.0.0 - tslib: 2.6.2 + '@smithy/property-provider': 3.1.2 + '@smithy/shared-ini-file-loader': 3.1.2 + '@smithy/types': 3.2.0 + tslib: 2.6.3 dev: false - /@aws-sdk/types@3.449.0: - resolution: {integrity: sha512-tSQPAvknheB6XnRoc+AuEgdzn2KhY447hddeVW0Mbg8Yl9es4u4TKVINloKDEyUrCKhB/1f93Hb5uJkPe/e/Ww==} - engines: {node: '>=14.0.0'} + /@aws-sdk/token-providers@3.598.0(@aws-sdk/client-sso-oidc@3.600.0): + resolution: {integrity: sha512-TKY1EVdHVBnZqpyxyTHdpZpa1tUpb6nxVeRNn1zWG8QB5MvH4ALLd/jR+gtmWDNQbIG4cVuBOZFVL8hIYicKTA==} + engines: {node: '>=16.0.0'} + peerDependencies: + '@aws-sdk/client-sso-oidc': ^3.598.0 dependencies: - '@smithy/types': 2.9.1 - tslib: 2.6.2 + '@aws-sdk/client-sso-oidc': 3.600.0(@aws-sdk/client-sts@3.600.0) + '@aws-sdk/types': 3.598.0 + '@smithy/property-provider': 3.1.2 + '@smithy/shared-ini-file-loader': 3.1.2 + '@smithy/types': 3.2.0 + tslib: 2.6.3 dev: false - /@aws-sdk/types@3.502.0: - resolution: {integrity: sha512-M0DSPYe/gXhwD2QHgoukaZv5oDxhW3FfvYIrJptyqUq3OnPJBcDbihHjrE0PBtfh/9kgMZT60/fQ2NVFANfa2g==} + /@aws-sdk/types@3.449.0: + resolution: {integrity: sha512-tSQPAvknheB6XnRoc+AuEgdzn2KhY447hddeVW0Mbg8Yl9es4u4TKVINloKDEyUrCKhB/1f93Hb5uJkPe/e/Ww==} engines: {node: '>=14.0.0'} dependencies: - '@smithy/types': 2.9.1 - tslib: 2.6.2 + '@smithy/types': 2.12.0 + tslib: 2.6.3 dev: false /@aws-sdk/types@3.577.0: resolution: {integrity: sha512-FT2JZES3wBKN/alfmhlo+3ZOq/XJ0C7QOZcDNrpKjB0kqYoKjhVKZ/Hx6ArR0czkKfHzBBEs6y40ebIHx2nSmA==} engines: {node: '>=16.0.0'} dependencies: - '@smithy/types': 3.0.0 - tslib: 2.6.2 + '@smithy/types': 3.2.0 + tslib: 2.6.3 + dev: false + + /@aws-sdk/types@3.598.0: + resolution: {integrity: sha512-742uRl6z7u0LFmZwDrFP6r1wlZcgVPw+/TilluDJmCAR8BgRw3IR+743kUXKBGd8QZDRW2n6v/PYsi/AWCDDMQ==} + engines: {node: '>=16.0.0'} + dependencies: + '@smithy/types': 3.2.0 + tslib: 2.6.3 dev: false /@aws-sdk/util-arn-parser@3.568.0: resolution: {integrity: sha512-XUKJWWo+KOB7fbnPP0+g/o5Ulku/X53t7i/h+sPHr5xxYTJJ9CYnbToo95mzxe7xWvkLrsNtJ8L+MnNn9INs2w==} engines: {node: '>=16.0.0'} dependencies: - tslib: 2.6.2 + tslib: 2.6.3 dev: false /@aws-sdk/util-dynamodb@3.577.0(@aws-sdk/client-dynamodb@3.577.0): @@ -3316,17 +3346,7 @@ packages: '@aws-sdk/client-dynamodb': ^3.577.0 dependencies: '@aws-sdk/client-dynamodb': 3.577.0 - tslib: 2.6.2 - dev: false - - /@aws-sdk/util-endpoints@3.502.0: - resolution: {integrity: sha512-6LKFlJPp2J24r1Kpfoz5ESQn+1v5fEjDB3mtUKRdpwarhm3syu7HbKlHCF3KbcCOyahobvLvhoedT78rJFEeeg==} - engines: {node: '>=14.0.0'} - dependencies: - '@aws-sdk/types': 3.502.0 - '@smithy/types': 2.9.1 - '@smithy/util-endpoints': 1.1.1 - tslib: 2.6.2 + tslib: 2.6.3 dev: false /@aws-sdk/util-endpoints@3.577.0: @@ -3334,9 +3354,19 @@ packages: engines: {node: '>=16.0.0'} dependencies: '@aws-sdk/types': 3.577.0 - '@smithy/types': 3.0.0 - '@smithy/util-endpoints': 2.0.0 - tslib: 2.6.2 + '@smithy/types': 3.2.0 + '@smithy/util-endpoints': 2.0.3 + tslib: 2.6.3 + dev: false + + /@aws-sdk/util-endpoints@3.598.0: + resolution: {integrity: sha512-Qo9UoiVVZxcOEdiOMZg3xb1mzkTxrhd4qSlg5QQrfWPJVx/QOg+Iy0NtGxPtHtVZNHZxohYwDwV/tfsnDSE2gQ==} + engines: {node: '>=16.0.0'} + dependencies: + '@aws-sdk/types': 3.598.0 + '@smithy/types': 3.2.0 + '@smithy/util-endpoints': 2.0.3 + tslib: 2.6.3 dev: false /@aws-sdk/util-format-url@3.577.0: @@ -3344,53 +3374,53 @@ packages: engines: {node: '>=16.0.0'} dependencies: '@aws-sdk/types': 3.577.0 - '@smithy/querystring-builder': 3.0.0 - '@smithy/types': 3.0.0 - tslib: 2.6.2 + '@smithy/querystring-builder': 3.0.2 + '@smithy/types': 3.2.0 + tslib: 2.6.3 dev: false - /@aws-sdk/util-locate-window@3.310.0: - resolution: {integrity: sha512-qo2t/vBTnoXpjKxlsC2e1gBrRm80M3bId27r0BRB2VniSSe7bL1mmzM+/HFtujm0iAxtPM+aLEflLJlJeDPg0w==} - engines: {node: '>=14.0.0'} + /@aws-sdk/util-locate-window@3.568.0: + resolution: {integrity: sha512-3nh4TINkXYr+H41QaPelCceEB2FXP3fxp93YZXB/kqJvX0U9j0N0Uk45gvsjmEPzG8XxkPEeLIfT2I1M7A6Lig==} + engines: {node: '>=16.0.0'} dependencies: - tslib: 2.6.2 + tslib: 2.6.3 dev: false - /@aws-sdk/util-user-agent-browser@3.502.0: - resolution: {integrity: sha512-v8gKyCs2obXoIkLETAeEQ3AM+QmhHhst9xbM1cJtKUGsRlVIak/XyyD+kVE6kmMm1cjfudHpHKABWk9apQcIZQ==} + /@aws-sdk/util-user-agent-browser@3.577.0: + resolution: {integrity: sha512-zEAzHgR6HWpZOH7xFgeJLc6/CzMcx4nxeQolZxVZoB5pPaJd3CjyRhZN0xXeZB0XIRCWmb4yJBgyiugXLNMkLA==} dependencies: - '@aws-sdk/types': 3.502.0 - '@smithy/types': 2.9.1 + '@aws-sdk/types': 3.577.0 + '@smithy/types': 3.2.0 bowser: 2.11.0 - tslib: 2.6.2 + tslib: 2.6.3 dev: false - /@aws-sdk/util-user-agent-browser@3.577.0: - resolution: {integrity: sha512-zEAzHgR6HWpZOH7xFgeJLc6/CzMcx4nxeQolZxVZoB5pPaJd3CjyRhZN0xXeZB0XIRCWmb4yJBgyiugXLNMkLA==} + /@aws-sdk/util-user-agent-browser@3.598.0: + resolution: {integrity: sha512-36Sxo6F+ykElaL1mWzWjlg+1epMpSe8obwhCN1yGE7Js9ywy5U6k6l+A3q3YM9YRbm740sNxncbwLklMvuhTKw==} dependencies: - '@aws-sdk/types': 3.577.0 - '@smithy/types': 3.0.0 + '@aws-sdk/types': 3.598.0 + '@smithy/types': 3.2.0 bowser: 2.11.0 - tslib: 2.6.2 + tslib: 2.6.3 dev: false - /@aws-sdk/util-user-agent-node@3.502.0: - resolution: {integrity: sha512-9RjxpkGZKbTdl96tIJvAo+vZoz4P/cQh36SBUt9xfRfW0BtsaLyvSrvlR5wyUYhvRcC12Axqh/8JtnAPq//+Vw==} - engines: {node: '>=14.0.0'} + /@aws-sdk/util-user-agent-node@3.577.0: + resolution: {integrity: sha512-XqvtFjbSMtycZTWVwDe8DRWovuoMbA54nhUoZwVU6rW9OSD6NZWGR512BUGHFaWzW0Wg8++Dj10FrKTG2XtqfA==} + engines: {node: '>=16.0.0'} peerDependencies: aws-crt: '>=1.0.0' peerDependenciesMeta: aws-crt: optional: true dependencies: - '@aws-sdk/types': 3.502.0 - '@smithy/node-config-provider': 2.2.1 - '@smithy/types': 2.9.1 - tslib: 2.6.2 + '@aws-sdk/types': 3.577.0 + '@smithy/node-config-provider': 3.1.2 + '@smithy/types': 3.2.0 + tslib: 2.6.3 dev: false - /@aws-sdk/util-user-agent-node@3.577.0: - resolution: {integrity: sha512-XqvtFjbSMtycZTWVwDe8DRWovuoMbA54nhUoZwVU6rW9OSD6NZWGR512BUGHFaWzW0Wg8++Dj10FrKTG2XtqfA==} + /@aws-sdk/util-user-agent-node@3.598.0: + resolution: {integrity: sha512-oyWGcOlfTdzkC6SVplyr0AGh54IMrDxbhg5RxJ5P+V4BKfcDoDcZV9xenUk9NsOi9MuUjxMumb9UJGkDhM1m0A==} engines: {node: '>=16.0.0'} peerDependencies: aws-crt: '>=1.0.0' @@ -3398,72 +3428,75 @@ packages: aws-crt: optional: true dependencies: - '@aws-sdk/types': 3.577.0 - '@smithy/node-config-provider': 3.0.0 - '@smithy/types': 3.0.0 - tslib: 2.6.2 + '@aws-sdk/types': 3.598.0 + '@smithy/node-config-provider': 3.1.2 + '@smithy/types': 3.2.0 + tslib: 2.6.3 dev: false /@aws-sdk/util-utf8-browser@3.259.0: resolution: {integrity: sha512-UvFa/vR+e19XookZF8RzFZBrw2EUkQWxiBW0yYQAhvk3C+QVGl0H3ouca8LDBlBfQKXwmW3huo/59H8rwb1wJw==} dependencies: - tslib: 2.6.2 + tslib: 2.6.3 dev: false /@aws-sdk/xml-builder@3.575.0: resolution: {integrity: sha512-cWgAwmbFYNCFzPwxL705+lWps0F3ZvOckufd2KKoEZUmtpVw9/txUXNrPySUXSmRTSRhoatIMABNfStWR043bQ==} engines: {node: '>=16.0.0'} dependencies: - '@smithy/types': 3.0.0 - tslib: 2.6.2 + '@smithy/types': 3.2.0 + tslib: 2.6.3 dev: false /@azure/abort-controller@1.1.0: resolution: {integrity: sha512-TrRLIoSQVzfAJX9H1JeFjzAoDGcoK1IYX1UImfceTZpsyYfWr09Ss1aHW1y5TrrR3iq6RZLBwJ3E24uwPhwahw==} engines: {node: '>=12.0.0'} dependencies: - tslib: 2.6.2 - dev: false + tslib: 2.6.3 - /@azure/core-auth@1.5.0: - resolution: {integrity: sha512-udzoBuYG1VBoHVohDTrvKjyzel34zt77Bhp7dQntVGGD0ehVq48owENbBG8fIgkHRNUBQH5k1r0hpoMu5L8+kw==} - engines: {node: '>=14.0.0'} + /@azure/abort-controller@2.1.2: + resolution: {integrity: sha512-nBrLsEWm4J2u5LpAPjxADTlq3trDgVZZXHNKabeXZtpq3d3AbN/KGO82R87rdDz5/lYB024rtEf10/q0urNgsA==} + engines: {node: '>=18.0.0'} dependencies: - '@azure/abort-controller': 1.1.0 - '@azure/core-util': 1.5.0 - tslib: 2.6.2 - dev: false + tslib: 2.6.3 - /@azure/core-client@1.7.3: - resolution: {integrity: sha512-kleJ1iUTxcO32Y06dH9Pfi9K4U+Tlb111WXEnbt7R/ne+NLRwppZiTGJuTD5VVoxTMK5NTbEtm5t2vcdNCFe2g==} - engines: {node: '>=14.0.0'} + /@azure/core-auth@1.7.2: + resolution: {integrity: sha512-Igm/S3fDYmnMq1uKS38Ae1/m37B3zigdlZw+kocwEhh5GjyKjPrXKO2J6rzpC1wAxrNil/jX9BJRqBshyjnF3g==} + engines: {node: '>=18.0.0'} dependencies: - '@azure/abort-controller': 1.1.0 - '@azure/core-auth': 1.5.0 - '@azure/core-rest-pipeline': 1.12.1 - '@azure/core-tracing': 1.0.1 - '@azure/core-util': 1.5.0 - '@azure/logger': 1.0.4 - tslib: 2.6.2 + '@azure/abort-controller': 2.1.2 + '@azure/core-util': 1.9.0 + tslib: 2.6.3 + + /@azure/core-client@1.9.2: + resolution: {integrity: sha512-kRdry/rav3fUKHl/aDLd/pDLcB+4pOFwPPTVEExuMyaI5r+JBbMWqRbCY1pn5BniDaU3lRxO9eaQ1AmSMehl/w==} + engines: {node: '>=18.0.0'} + dependencies: + '@azure/abort-controller': 2.1.2 + '@azure/core-auth': 1.7.2 + '@azure/core-rest-pipeline': 1.16.0 + '@azure/core-tracing': 1.1.2 + '@azure/core-util': 1.9.0 + '@azure/logger': 1.1.2 + tslib: 2.6.3 transitivePeerDependencies: - supports-color - dev: false - /@azure/core-http@3.0.3: - resolution: {integrity: sha512-QMib3wXotJMFhHgmJBPUF9YsyErw34H0XDFQd9CauH7TPB+RGcyl9Ayy7iURtJB04ngXhE6YwrQsWDXlSLrilg==} + /@azure/core-http@3.0.4: + resolution: {integrity: sha512-Fok9VVhMdxAFOtqiiAtg74fL0UJkt0z3D+ouUUxcRLzZNBioPRAMJFVxiWoJljYpXsRi4GDQHzQHDc9AiYaIUQ==} engines: {node: '>=14.0.0'} dependencies: '@azure/abort-controller': 1.1.0 - '@azure/core-auth': 1.5.0 + '@azure/core-auth': 1.7.2 '@azure/core-tracing': 1.0.0-preview.13 - '@azure/core-util': 1.5.0 - '@azure/logger': 1.0.4 - '@types/node-fetch': 2.6.6 + '@azure/core-util': 1.9.0 + '@azure/logger': 1.1.2 + '@types/node-fetch': 2.6.11 '@types/tunnel': 0.0.3 form-data: 4.0.0 node-fetch: 2.7.0 process: 0.11.10 - tslib: 2.6.2 + tslib: 2.6.3 tunnel: 0.0.6 uuid: 8.3.2 xml2js: 0.5.0 @@ -3471,195 +3504,173 @@ packages: - encoding dev: false - /@azure/core-lro@2.5.4: - resolution: {integrity: sha512-3GJiMVH7/10bulzOKGrrLeG/uCBH/9VtxqaMcB9lIqAeamI/xYQSHJL/KcsLDuH+yTjYpro/u6D/MuRe4dN70Q==} - engines: {node: '>=14.0.0'} + /@azure/core-lro@2.7.2: + resolution: {integrity: sha512-0YIpccoX8m/k00O7mDDMdJpbr6mf1yWo2dfmxt5A8XVZVVMz2SSKaEbMCeJRvgQ0IaSlqhjT47p4hVIRRy90xw==} + engines: {node: '>=18.0.0'} dependencies: - '@azure/abort-controller': 1.1.0 - '@azure/core-util': 1.5.0 - '@azure/logger': 1.0.4 - tslib: 2.6.2 + '@azure/abort-controller': 2.1.2 + '@azure/core-util': 1.9.0 + '@azure/logger': 1.1.2 + tslib: 2.6.3 dev: false - /@azure/core-paging@1.5.0: - resolution: {integrity: sha512-zqWdVIt+2Z+3wqxEOGzR5hXFZ8MGKK52x4vFLw8n58pR6ZfKRx3EXYTxTaYxYHc/PexPUTyimcTWFJbji9Z6Iw==} - engines: {node: '>=14.0.0'} + /@azure/core-paging@1.6.2: + resolution: {integrity: sha512-YKWi9YuCU04B55h25cnOYZHxXYtEvQEbKST5vqRga7hWY9ydd3FZHdeQF8pyh+acWZvppw13M/LMGx0LABUVMA==} + engines: {node: '>=18.0.0'} dependencies: - tslib: 2.6.2 + tslib: 2.6.3 dev: false - /@azure/core-rest-pipeline@1.12.1: - resolution: {integrity: sha512-SsyWQ+T5MFQRX+M8H/66AlaI6HyCbQStGfFngx2fuiW+vKI2DkhtOvbYodPyf9fOe/ARLWWc3ohX54lQ5Kmaog==} - engines: {node: '>=14.0.0'} + /@azure/core-rest-pipeline@1.16.0: + resolution: {integrity: sha512-CeuTvsXxCUmEuxH5g/aceuSl6w2EugvNHKAtKKVdiX915EjJJxAwfzNNWZreNnbxHZ2fi0zaM6wwS23x2JVqSQ==} + engines: {node: '>=18.0.0'} dependencies: - '@azure/abort-controller': 1.1.0 - '@azure/core-auth': 1.5.0 - '@azure/core-tracing': 1.0.1 - '@azure/core-util': 1.5.0 - '@azure/logger': 1.0.4 - form-data: 4.0.0 - http-proxy-agent: 5.0.0 - https-proxy-agent: 5.0.1 - tslib: 2.6.2 + '@azure/abort-controller': 2.1.2 + '@azure/core-auth': 1.7.2 + '@azure/core-tracing': 1.1.2 + '@azure/core-util': 1.9.0 + '@azure/logger': 1.1.2 + http-proxy-agent: 7.0.2 + https-proxy-agent: 7.0.4 + tslib: 2.6.3 transitivePeerDependencies: - supports-color - dev: false /@azure/core-tracing@1.0.0-preview.13: resolution: {integrity: sha512-KxDlhXyMlh2Jhj2ykX6vNEU0Vou4nHr025KoSEiz7cS3BNiHNaZcdECk/DmLkEB0as5T7b/TpRcehJ5yV6NeXQ==} engines: {node: '>=12.0.0'} dependencies: - '@opentelemetry/api': 1.6.0 - tslib: 2.6.2 + '@opentelemetry/api': 1.9.0 + tslib: 2.6.3 dev: false - /@azure/core-tracing@1.0.1: - resolution: {integrity: sha512-I5CGMoLtX+pI17ZdiFJZgxMJApsK6jjfm85hpgp3oazCdq5Wxgh4wMr7ge/TTWW1B5WBuvIOI1fMU/FrOAMKrw==} - engines: {node: '>=12.0.0'} + /@azure/core-tracing@1.1.2: + resolution: {integrity: sha512-dawW9ifvWAWmUm9/h+/UQ2jrdvjCJ7VJEuCJ6XVNudzcOwm53BFZH4Q845vjfgoUAM8ZxokvVNxNxAITc502YA==} + engines: {node: '>=18.0.0'} dependencies: - tslib: 2.6.2 - dev: false + tslib: 2.6.3 - /@azure/core-util@1.5.0: - resolution: {integrity: sha512-GZBpVFDtQ/15hW1OgBcRdT4Bl7AEpcEZqLfbAvOtm1CQUncKWiYapFHVD588hmlV27NbOOtSm3cnLF3lvoHi4g==} - engines: {node: '>=14.0.0'} + /@azure/core-util@1.9.0: + resolution: {integrity: sha512-AfalUQ1ZppaKuxPPMsFEUdX6GZPB3d9paR9d/TTL7Ow2De8cJaC7ibi7kWVlFAVPCYo31OcnGymc0R89DX8Oaw==} + engines: {node: '>=18.0.0'} dependencies: - '@azure/abort-controller': 1.1.0 - tslib: 2.6.2 - dev: false + '@azure/abort-controller': 2.1.2 + tslib: 2.6.3 - /@azure/core-xml@1.3.4: - resolution: {integrity: sha512-B1xI79Ur/u+KR69fGTcsMNj8KDjBSqAy0Ys6Byy4Qm1CqoUy7gCT5A7Pej0EBWRskuH6bpCwrAnosfmQEalkcg==} - engines: {node: '>=14.0.0'} + /@azure/core-xml@1.4.2: + resolution: {integrity: sha512-CW3MZhApe/S4iikbYKE7s83fjDBPIr2kpidX+hlGRwh7N4o1nIpQ/PfJTeioqhfqdMvRtheEl+ft64fyTaLNaA==} + engines: {node: '>=18.0.0'} dependencies: - fast-xml-parser: 4.2.5 - tslib: 2.6.2 + fast-xml-parser: 4.4.0 + tslib: 2.6.3 dev: false /@azure/data-tables@13.2.2: resolution: {integrity: sha512-Dq2Aq0mMMF0BPzYQKdBY/OtO7VemP/foh6z+mJpUO1hRL+65C1rGQUJf20LJHotSyU8wHb4HJzOs+Z50GXSy1w==} engines: {node: '>=14.0.0'} dependencies: - '@azure/core-auth': 1.5.0 - '@azure/core-client': 1.7.3 - '@azure/core-paging': 1.5.0 - '@azure/core-rest-pipeline': 1.12.1 - '@azure/core-tracing': 1.0.1 - '@azure/core-xml': 1.3.4 - '@azure/logger': 1.0.4 - tslib: 2.6.2 + '@azure/core-auth': 1.7.2 + '@azure/core-client': 1.9.2 + '@azure/core-paging': 1.6.2 + '@azure/core-rest-pipeline': 1.16.0 + '@azure/core-tracing': 1.1.2 + '@azure/core-xml': 1.4.2 + '@azure/logger': 1.1.2 + tslib: 2.6.3 uuid: 8.3.2 transitivePeerDependencies: - supports-color dev: false - /@azure/identity@4.0.1: - resolution: {integrity: sha512-yRdgF03SFLqUMZZ1gKWt0cs0fvrDIkq2bJ6Oidqcoo5uM85YMBnXWMzYKK30XqIT76lkFyAaoAAy5knXhrG4Lw==} + /@azure/identity@4.3.0: + resolution: {integrity: sha512-LHZ58/RsIpIWa4hrrE2YuJ/vzG1Jv9f774RfTTAVDZDriubvJ0/S5u4pnw4akJDlS0TiJb6VMphmVUFsWmgodQ==} engines: {node: '>=18.0.0'} dependencies: '@azure/abort-controller': 1.1.0 - '@azure/core-auth': 1.5.0 - '@azure/core-client': 1.7.3 - '@azure/core-rest-pipeline': 1.12.1 - '@azure/core-tracing': 1.0.1 - '@azure/core-util': 1.5.0 - '@azure/logger': 1.0.4 - '@azure/msal-browser': 3.7.1 - '@azure/msal-node': 2.6.2 + '@azure/core-auth': 1.7.2 + '@azure/core-client': 1.9.2 + '@azure/core-rest-pipeline': 1.16.0 + '@azure/core-tracing': 1.1.2 + '@azure/core-util': 1.9.0 + '@azure/logger': 1.1.2 + '@azure/msal-browser': 3.17.0 + '@azure/msal-node': 2.9.2 events: 3.3.0 jws: 4.0.0 open: 8.4.2 stoppable: 1.1.0 - tslib: 2.6.2 + tslib: 2.6.3 transitivePeerDependencies: - supports-color - dev: false - /@azure/logger@1.0.4: - resolution: {integrity: sha512-ustrPY8MryhloQj7OWGe+HrYx+aoiOxzbXTtgblbV3xwCqpzUK36phH3XNHQKj3EPonyFUuDTfR3qFhTEAuZEg==} - engines: {node: '>=14.0.0'} + /@azure/logger@1.1.2: + resolution: {integrity: sha512-l170uE7bsKpIU6B/giRc9i4NI0Mj+tANMMMxf7Zi/5cKzEqPayP7+X1WPrG7e+91JgY8N+7K7nF2WOi7iVhXvg==} + engines: {node: '>=18.0.0'} dependencies: - tslib: 2.6.2 - dev: false + tslib: 2.6.3 - /@azure/msal-browser@3.7.1: - resolution: {integrity: sha512-EZnk81zn1/5/jv/VVN2Tp+dUVchHmwbbt7pn654Eqa+ua7wtEIg1btuW/mowB13BV2nGYcvniY9Mf+3Sbe0cCg==} + /@azure/msal-browser@3.17.0: + resolution: {integrity: sha512-csccKXmW2z7EkZ0I3yAoW/offQt+JECdTIV/KrnRoZyM7wCSsQWODpwod8ZhYy7iOyamcHApR9uCh0oD1M+0/A==} engines: {node: '>=0.8.0'} dependencies: - '@azure/msal-common': 14.6.1 - dev: false + '@azure/msal-common': 14.12.0 - /@azure/msal-common@14.6.1: - resolution: {integrity: sha512-yL97p2La0WrgU3MdXThOLOpdmBMvH8J69vwQ/skOqORYwOW/UYPdp9nZpvvfBO+zFZB5M3JkqA2NKtn4GfVBHw==} + /@azure/msal-common@14.12.0: + resolution: {integrity: sha512-IDDXmzfdwmDkv4SSmMEyAniJf6fDu3FJ7ncOjlxkDuT85uSnLEhZi3fGZpoR7T4XZpOMx9teM9GXBgrfJgyeBw==} engines: {node: '>=0.8.0'} - dev: false - /@azure/msal-node@2.6.2: - resolution: {integrity: sha512-XyP+5lUZxTpWpLCC2wAFGA9wXrUhHp1t4NLmQW0mQZzUdcSay3rG7kGGqxxeLf8mRdwoR0B70TCLmIGX6cfK/g==} + /@azure/msal-node@2.9.2: + resolution: {integrity: sha512-8tvi6Cos3m+0KmRbPjgkySXi+UQU/QiuVRFnrxIwt5xZlEEFa69O04RTaNESGgImyBBlYbo2mfE8/U8Bbdk1WQ==} engines: {node: '>=16'} dependencies: - '@azure/msal-common': 14.6.1 + '@azure/msal-common': 14.12.0 jsonwebtoken: 9.0.2 uuid: 8.3.2 - dev: false /@azure/storage-blob@12.14.0: resolution: {integrity: sha512-g8GNUDpMisGXzBeD+sKphhH5yLwesB4JkHr1U6be/X3F+cAMcyGLPD1P89g2M7wbEtUJWoikry1rlr83nNRBzg==} engines: {node: '>=14.0.0'} dependencies: '@azure/abort-controller': 1.1.0 - '@azure/core-http': 3.0.3 - '@azure/core-lro': 2.5.4 - '@azure/core-paging': 1.5.0 + '@azure/core-http': 3.0.4 + '@azure/core-lro': 2.7.2 + '@azure/core-paging': 1.6.2 '@azure/core-tracing': 1.0.0-preview.13 - '@azure/logger': 1.0.4 + '@azure/logger': 1.1.2 events: 3.3.0 - tslib: 2.6.2 + tslib: 2.6.3 transitivePeerDependencies: - encoding dev: false - /@babel/code-frame@7.22.13: - resolution: {integrity: sha512-XktuhWlJ5g+3TJXc5upd9Ks1HutSArik6jf2eAjYFyIOf4ej3RN+184cZbzDvbPnuTJIUhPKKJE3cIsYTiAT3w==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/highlight': 7.22.20 - chalk: 2.4.2 - dev: true - - /@babel/code-frame@7.23.5: - resolution: {integrity: sha512-CgH3s1a96LipHCmSUmYFPwY7MNx8C3avkq7i4Wl3cfa662ldtUe4VM1TPXX70pfmrlWTb6jLqTYrZyT2ZTJBgA==} + /@babel/code-frame@7.24.7: + resolution: {integrity: sha512-BcYH1CVJBO9tvyIZ2jVeXgSIMvGZ2FDRvDdOIVQyuklNKSsx+eppDEBq/g47Ayw+RqNFE+URvOShmf+f/qwAlA==} engines: {node: '>=6.9.0'} dependencies: - '@babel/highlight': 7.23.4 - chalk: 2.4.2 - - /@babel/compat-data@7.22.20: - resolution: {integrity: sha512-BQYjKbpXjoXwFW5jGqiizJQQT/aC7pFm9Ok1OWssonuguICi264lbgMzRp2ZMmRSlfkX6DsWDDcsrctK8Rwfiw==} - engines: {node: '>=6.9.0'} - dev: true + '@babel/highlight': 7.24.7 + picocolors: 1.0.1 - /@babel/compat-data@7.23.5: - resolution: {integrity: sha512-uU27kfDRlhfKl+w1U6vp16IuvSLtjAxdArVXPa9BvLkrr7CYIsxH5adpHObeAGY/41+syctUWOZ140a2Rvkgjw==} + /@babel/compat-data@7.24.7: + resolution: {integrity: sha512-qJzAIcv03PyaWqxRgO4mSU3lihncDT296vnyuE2O8uA4w3UHWI4S3hgeZd1L8W1Bft40w9JxJ2b412iDUFFRhw==} engines: {node: '>=6.9.0'} dev: true - /@babel/core@7.23.9: - resolution: {integrity: sha512-5q0175NOjddqpvvzU+kDiSOAk4PfdO6FvwCWoQ6RO7rTzEe8vlo+4HVfcnAREhD4npMs0e9uZypjTwzZPCf/cw==} + /@babel/core@7.24.7: + resolution: {integrity: sha512-nykK+LEK86ahTkX/3TgauT0ikKoNCfKHEaZYTUVupJdTLzGNvrblu4u6fa7DhZONAltdf8e662t/abY8idrd/g==} engines: {node: '>=6.9.0'} dependencies: - '@ampproject/remapping': 2.2.1 - '@babel/code-frame': 7.23.5 - '@babel/generator': 7.23.6 - '@babel/helper-compilation-targets': 7.23.6 - '@babel/helper-module-transforms': 7.23.3(@babel/core@7.23.9) - '@babel/helpers': 7.23.9 - '@babel/parser': 7.23.9 - '@babel/template': 7.23.9 - '@babel/traverse': 7.23.9 - '@babel/types': 7.23.9 + '@ampproject/remapping': 2.3.0 + '@babel/code-frame': 7.24.7 + '@babel/generator': 7.24.7 + '@babel/helper-compilation-targets': 7.24.7 + '@babel/helper-module-transforms': 7.24.7(@babel/core@7.24.7) + '@babel/helpers': 7.24.7 + '@babel/parser': 7.24.7 + '@babel/template': 7.24.7 + '@babel/traverse': 7.24.7 + '@babel/types': 7.24.7 convert-source-map: 2.0.0 - debug: 4.3.4(supports-color@5.5.0) + debug: 4.3.5(supports-color@5.5.0) gensync: 1.0.0-beta.2 json5: 2.2.3 semver: 6.3.1 @@ -3667,209 +3678,224 @@ packages: - supports-color dev: true - /@babel/generator@7.23.0: - resolution: {integrity: sha512-lN85QRR+5IbYrMWM6Y4pE/noaQtg4pNiqeNGX60eqOfo6gtEj6uw/JagelB8vVztSd7R6M5n1+PQkDbHbBRU4g==} + /@babel/generator@7.24.4: + resolution: {integrity: sha512-Xd6+v6SnjWVx/nus+y0l1sxMOTOMBkyL4+BIdbALyatQnAe/SRVjANeDPSCYaX+i1iJmuGSKf3Z+E+V/va1Hvw==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.23.9 - '@jridgewell/gen-mapping': 0.3.3 - '@jridgewell/trace-mapping': 0.3.20 + '@babel/types': 7.24.7 + '@jridgewell/gen-mapping': 0.3.5 + '@jridgewell/trace-mapping': 0.3.25 jsesc: 2.5.2 dev: true - /@babel/generator@7.23.6: - resolution: {integrity: sha512-qrSfCYxYQB5owCmGLbl8XRpX1ytXlpueOb0N0UmQwA073KZxejgQTzAmJezxvpwQD9uGtK2shHdi55QT+MbjIw==} + /@babel/generator@7.24.7: + resolution: {integrity: sha512-oipXieGC3i45Y1A41t4tAqpnEZWgB/lC6Ehh6+rOviR5XWpTtMmLN+fGjz9vOiNRt0p6RtO6DtD0pdU3vpqdSA==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.23.9 - '@jridgewell/gen-mapping': 0.3.3 - '@jridgewell/trace-mapping': 0.3.20 + '@babel/types': 7.24.7 + '@jridgewell/gen-mapping': 0.3.5 + '@jridgewell/trace-mapping': 0.3.25 jsesc: 2.5.2 dev: true - /@babel/helper-annotate-as-pure@7.22.5: - resolution: {integrity: sha512-LvBTxu8bQSQkcyKOU+a1btnNFQ1dMAd0R6PyW3arXes06F6QLWLIrd681bxRPIXlrMGR3XYnW9JyML7dP3qgxg==} + /@babel/helper-annotate-as-pure@7.24.7: + resolution: {integrity: sha512-BaDeOonYvhdKw+JoMVkAixAAJzG2jVPIwWoKBPdYuY9b452e2rPuI9QPYh3KpofZ3pW2akOmwZLOiOsHMiqRAg==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.23.9 + '@babel/types': 7.24.7 dev: true - /@babel/helper-builder-binary-assignment-operator-visitor@7.22.15: - resolution: {integrity: sha512-QkBXwGgaoC2GtGZRoma6kv7Szfv06khvhFav67ZExau2RaXzy8MpHSMO2PNoP2XtmQphJQRHFfg77Bq731Yizw==} + /@babel/helper-builder-binary-assignment-operator-visitor@7.24.7: + resolution: {integrity: sha512-xZeCVVdwb4MsDBkkyZ64tReWYrLRHlMN72vP7Bdm3OUOuyFZExhsHUUnuWnm2/XOlAJzR0LfPpB56WXZn0X/lA==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.23.9 + '@babel/traverse': 7.24.7 + '@babel/types': 7.24.7 + transitivePeerDependencies: + - supports-color dev: true - /@babel/helper-compilation-targets@7.23.6: - resolution: {integrity: sha512-9JB548GZoQVmzrFgp8o7KxdgkTGm6xs9DW0o/Pim72UDjzr5ObUQ6ZzYPqA+g9OTS2bBQoctLJrky0RDCAWRgQ==} + /@babel/helper-compilation-targets@7.24.7: + resolution: {integrity: sha512-ctSdRHBi20qWOfy27RUb4Fhp07KSJ3sXcuSvTrXrc4aG8NSYDo1ici3Vhg9bg69y5bj0Mr1lh0aeEgTvc12rMg==} engines: {node: '>=6.9.0'} dependencies: - '@babel/compat-data': 7.23.5 - '@babel/helper-validator-option': 7.23.5 - browserslist: 4.23.0 + '@babel/compat-data': 7.24.7 + '@babel/helper-validator-option': 7.24.7 + browserslist: 4.23.1 lru-cache: 5.1.1 semver: 6.3.1 dev: true - /@babel/helper-create-class-features-plugin@7.22.15(@babel/core@7.23.9): - resolution: {integrity: sha512-jKkwA59IXcvSaiK2UN45kKwSC9o+KuoXsBDvHvU/7BecYIp8GQ2UwrVvFgJASUT+hBnwJx6MhvMCuMzwZZ7jlg==} + /@babel/helper-create-class-features-plugin@7.24.7(@babel/core@7.24.7): + resolution: {integrity: sha512-kTkaDl7c9vO80zeX1rJxnuRpEsD5tA81yh11X1gQo+PhSti3JS+7qeZo9U4RHobKRiFPKaGK3svUAeb8D0Q7eg==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-annotate-as-pure': 7.22.5 - '@babel/helper-environment-visitor': 7.22.20 - '@babel/helper-function-name': 7.23.0 - '@babel/helper-member-expression-to-functions': 7.23.0 - '@babel/helper-optimise-call-expression': 7.22.5 - '@babel/helper-replace-supers': 7.22.20(@babel/core@7.23.9) - '@babel/helper-skip-transparent-expression-wrappers': 7.22.5 - '@babel/helper-split-export-declaration': 7.22.6 + '@babel/core': 7.24.7 + '@babel/helper-annotate-as-pure': 7.24.7 + '@babel/helper-environment-visitor': 7.24.7 + '@babel/helper-function-name': 7.24.7 + '@babel/helper-member-expression-to-functions': 7.24.7 + '@babel/helper-optimise-call-expression': 7.24.7 + '@babel/helper-replace-supers': 7.24.7(@babel/core@7.24.7) + '@babel/helper-skip-transparent-expression-wrappers': 7.24.7 + '@babel/helper-split-export-declaration': 7.24.7 semver: 6.3.1 + transitivePeerDependencies: + - supports-color dev: true - /@babel/helper-create-regexp-features-plugin@7.22.15(@babel/core@7.23.9): - resolution: {integrity: sha512-29FkPLFjn4TPEa3RE7GpW+qbE8tlsu3jntNYNfcGsc49LphF1PQIiD+vMZ1z1xVOKt+93khA9tc2JBs3kBjA7w==} + /@babel/helper-create-regexp-features-plugin@7.24.7(@babel/core@7.24.7): + resolution: {integrity: sha512-03TCmXy2FtXJEZfbXDTSqq1fRJArk7lX9DOFC/47VthYcxyIOx+eXQmdo6DOQvrbpIix+KfXwvuXdFDZHxt+rA==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-annotate-as-pure': 7.22.5 + '@babel/core': 7.24.7 + '@babel/helper-annotate-as-pure': 7.24.7 regexpu-core: 5.3.2 semver: 6.3.1 dev: true - /@babel/helper-define-polyfill-provider@0.4.2(@babel/core@7.23.9): - resolution: {integrity: sha512-k0qnnOqHn5dK9pZpfD5XXZ9SojAITdCKRn2Lp6rnDGzIbaP0rHyMPk/4wsSxVBVz4RfN0q6VpXWP2pDGIoQ7hw==} + /@babel/helper-define-polyfill-provider@0.6.2(@babel/core@7.24.7): + resolution: {integrity: sha512-LV76g+C502biUK6AyZ3LK10vDpDyCzZnhZFXkH1L75zHPj68+qc8Zfpx2th+gzwA2MzyK+1g/3EPl62yFnVttQ==} peerDependencies: '@babel/core': ^7.4.0 || ^8.0.0-0 <8.0.0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-compilation-targets': 7.23.6 - '@babel/helper-plugin-utils': 7.22.5 - debug: 4.3.4(supports-color@5.5.0) + '@babel/core': 7.24.7 + '@babel/helper-compilation-targets': 7.24.7 + '@babel/helper-plugin-utils': 7.24.7 + debug: 4.3.5(supports-color@5.5.0) lodash.debounce: 4.0.8 resolve: 1.22.8 transitivePeerDependencies: - supports-color dev: true - /@babel/helper-environment-visitor@7.22.20: - resolution: {integrity: sha512-zfedSIzFhat/gFhWfHtgWvlec0nqB9YEIVrpuwjruLlXfUSnA8cJB0miHKwqDnQ7d32aKo2xt88/xZptwxbfhA==} + /@babel/helper-environment-visitor@7.24.7: + resolution: {integrity: sha512-DoiN84+4Gnd0ncbBOM9AZENV4a5ZiL39HYMyZJGZ/AZEykHYdJw0wW3kdcsh9/Kn+BRXHLkkklZ51ecPKmI1CQ==} engines: {node: '>=6.9.0'} + dependencies: + '@babel/types': 7.24.7 dev: true - /@babel/helper-function-name@7.23.0: - resolution: {integrity: sha512-OErEqsrxjZTJciZ4Oo+eoZqeW9UIiOcuYKRJA4ZAgV9myA+pOXhhmpfNCKjEH/auVfEYVFJ6y1Tc4r0eIApqiw==} + /@babel/helper-function-name@7.24.7: + resolution: {integrity: sha512-FyoJTsj/PEUWu1/TYRiXTIHc8lbw+TDYkZuoE43opPS5TrI7MyONBE1oNvfguEXAD9yhQRrVBnXdXzSLQl9XnA==} engines: {node: '>=6.9.0'} dependencies: - '@babel/template': 7.23.9 - '@babel/types': 7.23.9 + '@babel/template': 7.24.7 + '@babel/types': 7.24.7 dev: true - /@babel/helper-hoist-variables@7.22.5: - resolution: {integrity: sha512-wGjk9QZVzvknA6yKIUURb8zY3grXCcOZt+/7Wcy8O2uctxhplmUPkOdlgoNhmdVee2c92JXbf1xpMtVNbfoxRw==} + /@babel/helper-hoist-variables@7.24.7: + resolution: {integrity: sha512-MJJwhkoGy5c4ehfoRyrJ/owKeMl19U54h27YYftT0o2teQ3FJ3nQUf/I3LlJsX4l3qlw7WRXUmiyajvHXoTubQ==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.23.9 + '@babel/types': 7.24.7 dev: true - /@babel/helper-member-expression-to-functions@7.23.0: - resolution: {integrity: sha512-6gfrPwh7OuT6gZyJZvd6WbTfrqAo7vm4xCzAXOusKqq/vWdKXphTpj5klHKNmRUU6/QRGlBsyU9mAIPaWHlqJA==} + /@babel/helper-member-expression-to-functions@7.24.7: + resolution: {integrity: sha512-LGeMaf5JN4hAT471eJdBs/GK1DoYIJ5GCtZN/EsL6KUiiDZOvO/eKE11AMZJa2zP4zk4qe9V2O/hxAmkRc8p6w==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.23.9 + '@babel/traverse': 7.24.7 + '@babel/types': 7.24.7 + transitivePeerDependencies: + - supports-color dev: true - /@babel/helper-module-imports@7.22.15: - resolution: {integrity: sha512-0pYVBnDKZO2fnSPCrgM/6WMc7eS20Fbok+0r88fp+YtWVLZrp4CkafFGIp+W0VKw4a22sgebPT99y+FDNMdP4w==} + /@babel/helper-module-imports@7.24.7: + resolution: {integrity: sha512-8AyH3C+74cgCVVXow/myrynrAGv+nTVg5vKu2nZph9x7RcRwzmh0VFallJuFTZ9mx6u4eSdXZfcOzSqTUm0HCA==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.23.9 + '@babel/traverse': 7.24.7 + '@babel/types': 7.24.7 + transitivePeerDependencies: + - supports-color dev: true - /@babel/helper-module-transforms@7.23.3(@babel/core@7.23.9): - resolution: {integrity: sha512-7bBs4ED9OmswdfDzpz4MpWgSrV7FXlc3zIagvLFjS5H+Mk7Snr21vQ6QwrsoCGMfNC4e4LQPdoULEt4ykz0SRQ==} + /@babel/helper-module-transforms@7.24.7(@babel/core@7.24.7): + resolution: {integrity: sha512-1fuJEwIrp+97rM4RWdO+qrRsZlAeL1lQJoPqtCYWv0NL115XM93hIH4CSRln2w52SqvmY5hqdtauB6QFCDiZNQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-environment-visitor': 7.22.20 - '@babel/helper-module-imports': 7.22.15 - '@babel/helper-simple-access': 7.22.5 - '@babel/helper-split-export-declaration': 7.22.6 - '@babel/helper-validator-identifier': 7.22.20 + '@babel/core': 7.24.7 + '@babel/helper-environment-visitor': 7.24.7 + '@babel/helper-module-imports': 7.24.7 + '@babel/helper-simple-access': 7.24.7 + '@babel/helper-split-export-declaration': 7.24.7 + '@babel/helper-validator-identifier': 7.24.7 + transitivePeerDependencies: + - supports-color dev: true - /@babel/helper-optimise-call-expression@7.22.5: - resolution: {integrity: sha512-HBwaojN0xFRx4yIvpwGqxiV2tUfl7401jlok564NgB9EHS1y6QT17FmKWm4ztqjeVdXLuC4fSvHc5ePpQjoTbw==} + /@babel/helper-optimise-call-expression@7.24.7: + resolution: {integrity: sha512-jKiTsW2xmWwxT1ixIdfXUZp+P5yURx2suzLZr5Hi64rURpDYdMW0pv+Uf17EYk2Rd428Lx4tLsnjGJzYKDM/6A==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.23.9 + '@babel/types': 7.24.7 dev: true - /@babel/helper-plugin-utils@7.22.5: - resolution: {integrity: sha512-uLls06UVKgFG9QD4OeFYLEGteMIAa5kpTPcFL28yuCIIzsf6ZyKZMllKVOCZFhiZ5ptnwX4mtKdWCBE/uT4amg==} + /@babel/helper-plugin-utils@7.24.7: + resolution: {integrity: sha512-Rq76wjt7yz9AAc1KnlRKNAi/dMSVWgDRx43FHoJEbcYU6xOWaE2dVPwcdTukJrjxS65GITyfbvEYHvkirZ6uEg==} engines: {node: '>=6.9.0'} dev: true - /@babel/helper-remap-async-to-generator@7.22.20(@babel/core@7.23.9): - resolution: {integrity: sha512-pBGyV4uBqOns+0UvhsTO8qgl8hO89PmiDYv+/COyp1aeMcmfrfruz+/nCMFiYyFF/Knn0yfrC85ZzNFjembFTw==} + /@babel/helper-remap-async-to-generator@7.24.7(@babel/core@7.24.7): + resolution: {integrity: sha512-9pKLcTlZ92hNZMQfGCHImUpDOlAgkkpqalWEeftW5FBya75k8Li2ilerxkM/uBEj01iBZXcCIB/bwvDYgWyibA==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-annotate-as-pure': 7.22.5 - '@babel/helper-environment-visitor': 7.22.20 - '@babel/helper-wrap-function': 7.22.20 + '@babel/core': 7.24.7 + '@babel/helper-annotate-as-pure': 7.24.7 + '@babel/helper-environment-visitor': 7.24.7 + '@babel/helper-wrap-function': 7.24.7 + transitivePeerDependencies: + - supports-color dev: true - /@babel/helper-replace-supers@7.22.20(@babel/core@7.23.9): - resolution: {integrity: sha512-qsW0In3dbwQUbK8kejJ4R7IHVGwHJlV6lpG6UA7a9hSa2YEiAib+N1T2kr6PEeUT+Fl7najmSOS6SmAwCHK6Tw==} + /@babel/helper-replace-supers@7.24.7(@babel/core@7.24.7): + resolution: {integrity: sha512-qTAxxBM81VEyoAY0TtLrx1oAEJc09ZK67Q9ljQToqCnA+55eNwCORaxlKyu+rNfX86o8OXRUSNUnrtsAZXM9sg==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-environment-visitor': 7.22.20 - '@babel/helper-member-expression-to-functions': 7.23.0 - '@babel/helper-optimise-call-expression': 7.22.5 + '@babel/core': 7.24.7 + '@babel/helper-environment-visitor': 7.24.7 + '@babel/helper-member-expression-to-functions': 7.24.7 + '@babel/helper-optimise-call-expression': 7.24.7 + transitivePeerDependencies: + - supports-color dev: true - /@babel/helper-simple-access@7.22.5: - resolution: {integrity: sha512-n0H99E/K+Bika3++WNL17POvo4rKWZ7lZEp1Q+fStVbUi8nxPQEBOlTmCOxW/0JsS56SKKQ+ojAe2pHKJHN35w==} + /@babel/helper-simple-access@7.24.7: + resolution: {integrity: sha512-zBAIvbCMh5Ts+b86r/CjU+4XGYIs+R1j951gxI3KmmxBMhCg4oQMsv6ZXQ64XOm/cvzfU1FmoCyt6+owc5QMYg==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.23.9 + '@babel/traverse': 7.24.7 + '@babel/types': 7.24.7 + transitivePeerDependencies: + - supports-color dev: true - /@babel/helper-skip-transparent-expression-wrappers@7.22.5: - resolution: {integrity: sha512-tK14r66JZKiC43p8Ki33yLBVJKlQDFoA8GYN67lWCDCqoL6EMMSuM9b+Iff2jHaM/RRFYl7K+iiru7hbRqNx8Q==} + /@babel/helper-skip-transparent-expression-wrappers@7.24.7: + resolution: {integrity: sha512-IO+DLT3LQUElMbpzlatRASEyQtfhSE0+m465v++3jyyXeBTBUjtVZg28/gHeV5mrTJqvEKhKroBGAvhW+qPHiQ==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.23.9 + '@babel/traverse': 7.24.7 + '@babel/types': 7.24.7 + transitivePeerDependencies: + - supports-color dev: true - /@babel/helper-split-export-declaration@7.22.6: - resolution: {integrity: sha512-AsUnxuLhRYsisFiaJwvp1QF+I3KjD5FOxut14q/GzovUe6orHLesW2C7d754kRm53h5gqrz6sFl6sxc4BVtE/g==} + /@babel/helper-split-export-declaration@7.24.7: + resolution: {integrity: sha512-oy5V7pD+UvfkEATUKvIjvIAH/xCzfsFVw7ygW2SI6NClZzquT+mwdTfgfdbUiceh6iQO0CHtCPsyze/MZ2YbAA==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.23.9 - dev: true - - /@babel/helper-string-parser@7.22.5: - resolution: {integrity: sha512-mM4COjgZox8U+JcXQwPijIZLElkgEpO5rsERVDJTc2qfCDfERyob6k5WegS14SX18IIjv+XD+GrqNumY5JRCDw==} - engines: {node: '>=6.9.0'} - dev: true - - /@babel/helper-string-parser@7.23.4: - resolution: {integrity: sha512-803gmbQdqwdf4olxrX4AJyFBV/RTr3rSmOj0rKwesmzlfhYNDEs+/iOcznzpNWlJlIlTJC2QfPFcHB6DlzdVLQ==} - engines: {node: '>=6.9.0'} + '@babel/types': 7.24.7 dev: true /@babel/helper-string-parser@7.24.7: @@ -3877,77 +3903,43 @@ packages: engines: {node: '>=6.9.0'} dev: true - /@babel/helper-validator-identifier@7.22.20: - resolution: {integrity: sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A==} - engines: {node: '>=6.9.0'} - /@babel/helper-validator-identifier@7.24.7: resolution: {integrity: sha512-rR+PBcQ1SMQDDyF6X0wxtG8QyLCgUB0eRAGguqRLfkCA87l7yAP7ehq8SNj96OOGTO8OBV70KhuFYcIkHXOg0w==} engines: {node: '>=6.9.0'} - dev: true - - /@babel/helper-validator-option@7.22.15: - resolution: {integrity: sha512-bMn7RmyFjY/mdECUbgn9eoSY4vqvacUnS9i9vGAGttgFWesO6B4CYWA7XlpbWgBt71iv/hfbPlynohStqnu5hA==} - engines: {node: '>=6.9.0'} - dev: true - - /@babel/helper-validator-option@7.23.5: - resolution: {integrity: sha512-85ttAOMLsr53VgXkTbkx8oA6YTfT4q7/HzXSLEYmjcSTJPMPQtvq1BD79Byep5xMUYbGRzEpDsjUf3dyp54IKw==} - engines: {node: '>=6.9.0'} - dev: true - /@babel/helper-wrap-function@7.22.20: - resolution: {integrity: sha512-pms/UwkOpnQe/PDAEdV/d7dVCoBbB+R4FvYoHGZz+4VPcg7RtYy2KP7S2lbuWM6FCSgob5wshfGESbC/hzNXZw==} + /@babel/helper-validator-option@7.24.7: + resolution: {integrity: sha512-yy1/KvjhV/ZCL+SM7hBrvnZJ3ZuT9OuZgIJAGpPEToANvc3iM6iDvBnRjtElWibHU6n8/LPR/EjX9EtIEYO3pw==} engines: {node: '>=6.9.0'} - dependencies: - '@babel/helper-function-name': 7.23.0 - '@babel/template': 7.23.9 - '@babel/types': 7.23.9 dev: true - /@babel/helpers@7.23.9: - resolution: {integrity: sha512-87ICKgU5t5SzOT7sBMfCOZQ2rHjRU+Pcb9BoILMYz600W6DkVRLFBPwQ18gwUVvggqXivaUakpnxWQGbpywbBQ==} + /@babel/helper-wrap-function@7.24.7: + resolution: {integrity: sha512-N9JIYk3TD+1vq/wn77YnJOqMtfWhNewNE+DJV4puD2X7Ew9J4JvrzrFDfTfyv5EgEXVy9/Wt8QiOErzEmv5Ifw==} engines: {node: '>=6.9.0'} dependencies: - '@babel/template': 7.23.9 - '@babel/traverse': 7.23.9 - '@babel/types': 7.23.9 + '@babel/helper-function-name': 7.24.7 + '@babel/template': 7.24.7 + '@babel/traverse': 7.24.7 + '@babel/types': 7.24.7 transitivePeerDependencies: - supports-color dev: true - /@babel/highlight@7.22.20: - resolution: {integrity: sha512-dkdMCN3py0+ksCgYmGG8jKeGA/8Tk+gJwSYYlFGxG5lmhfKNoAy004YpLxpS1W2J8m/EK2Ew+yOs9pVRwO89mg==} + /@babel/helpers@7.24.7: + resolution: {integrity: sha512-NlmJJtvcw72yRJRcnCmGvSi+3jDEg8qFu3z0AFoymmzLx5ERVWyzd9kVXr7Th9/8yIJi2Zc6av4Tqz3wFs8QWg==} engines: {node: '>=6.9.0'} dependencies: - '@babel/helper-validator-identifier': 7.22.20 - chalk: 2.4.2 - js-tokens: 4.0.0 + '@babel/template': 7.24.7 + '@babel/types': 7.24.7 dev: true - /@babel/highlight@7.23.4: - resolution: {integrity: sha512-acGdbYSfp2WheJoJm/EBBBLh/ID8KDc64ISZ9DYtBmC8/Q204PZJLHyzeB5qMzJ5trcOkybd78M4x2KWsUq++A==} + /@babel/highlight@7.24.7: + resolution: {integrity: sha512-EStJpq4OuY8xYfhGVXngigBJRWxftKX9ksiGDnmlY3o7B/V7KIAc9X4oiK87uPJSc/vs5L869bem5fhZa8caZw==} engines: {node: '>=6.9.0'} dependencies: - '@babel/helper-validator-identifier': 7.22.20 + '@babel/helper-validator-identifier': 7.24.7 chalk: 2.4.2 js-tokens: 4.0.0 - - /@babel/parser@7.23.3: - resolution: {integrity: sha512-uVsWNvlVsIninV2prNz/3lHCb+5CJ+e+IUBfbjToAHODtfGYLfCFuY4AU7TskI+dAKk+njsPiBjq1gKTvZOBaw==} - engines: {node: '>=6.0.0'} - hasBin: true - dependencies: - '@babel/types': 7.23.9 - dev: true - - /@babel/parser@7.23.9: - resolution: {integrity: sha512-9tcKgqKbs3xGJ+NtKF2ndOBBLVwPjl1SHxPQkd36r3Dlirw3xWUeGaTbqr7uGZcTaxkVNwc+03SVP7aCdWrTlA==} - engines: {node: '>=6.0.0'} - hasBin: true - dependencies: - '@babel/types': 7.23.9 - dev: true + picocolors: 1.0.1 /@babel/parser@7.24.7: resolution: {integrity: sha512-9uUYRm6OqQrCqQdG1iCBwBPZgN8ciDBro2nIOFaiRz1/BCxaI7CNvQbDHvsArAC7Tw9Hda/B3U+6ui9u4HWXPw==} @@ -3957,1004 +3949,1007 @@ packages: '@babel/types': 7.24.7 dev: true - /@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@7.22.15(@babel/core@7.23.9): - resolution: {integrity: sha512-FB9iYlz7rURmRJyXRKEnalYPPdn87H5no108cyuQQyMwlpJ2SJtpIUBI27kdTin956pz+LPypkPVPUTlxOmrsg==} + /@babel/plugin-bugfix-firefox-class-in-computed-class-key@7.24.7(@babel/core@7.24.7): + resolution: {integrity: sha512-TiT1ss81W80eQsN+722OaeQMY/G4yTb4G9JrqeiDADs3N8lbPMGldWi9x8tyqCW5NLx1Jh2AvkE6r6QvEltMMQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 - dev: true - - /@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@7.22.15(@babel/core@7.23.9): - resolution: {integrity: sha512-Hyph9LseGvAeeXzikV88bczhsrLrIZqDPxO+sSmAunMPaGrBGhfMWzCPYTtiW9t+HzSE2wtV8e5cc5P6r1xMDQ==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.13.0 - dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 - '@babel/helper-skip-transparent-expression-wrappers': 7.22.5 - '@babel/plugin-transform-optional-chaining': 7.23.0(@babel/core@7.23.9) + '@babel/core': 7.24.7 + '@babel/helper-environment-visitor': 7.24.7 + '@babel/helper-plugin-utils': 7.24.7 dev: true - /@babel/plugin-proposal-class-properties@7.18.6(@babel/core@7.23.9): - resolution: {integrity: sha512-cumfXOF0+nzZrrN8Rf0t7M+tF6sZc7vhQwYQck9q1/5w2OExlD+b4v4RpMJFaV1Z7WcDRgO6FqvxqxGlwo+RHQ==} + /@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@7.24.7(@babel/core@7.24.7): + resolution: {integrity: sha512-unaQgZ/iRu/By6tsjMZzpeBZjChYfLYry6HrEXPoz3KmfF0sVBQ1l8zKMQ4xRGLWVsjuvB8nQfjNP/DcfEOCsg==} engines: {node: '>=6.9.0'} - deprecated: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-class-properties instead. peerDependencies: - '@babel/core': ^7.0.0-0 + '@babel/core': ^7.0.0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-create-class-features-plugin': 7.22.15(@babel/core@7.23.9) - '@babel/helper-plugin-utils': 7.22.5 + '@babel/core': 7.24.7 + '@babel/helper-plugin-utils': 7.24.7 dev: true - /@babel/plugin-proposal-nullish-coalescing-operator@7.18.6(@babel/core@7.23.9): - resolution: {integrity: sha512-wQxQzxYeJqHcfppzBDnm1yAY0jSRkUXR2z8RePZYrKwMKgMlE8+Z6LUno+bd6LvbGh8Gltvy74+9pIYkr+XkKA==} + /@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@7.24.7(@babel/core@7.24.7): + resolution: {integrity: sha512-+izXIbke1T33mY4MSNnrqhPXDz01WYhEf3yF5NbnUtkiNnm+XBZJl3kNfoK6NKmYlz/D07+l2GWVK/QfDkNCuQ==} engines: {node: '>=6.9.0'} - deprecated: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-nullish-coalescing-operator instead. peerDependencies: - '@babel/core': ^7.0.0-0 + '@babel/core': ^7.13.0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 - '@babel/plugin-syntax-nullish-coalescing-operator': 7.8.3(@babel/core@7.23.9) + '@babel/core': 7.24.7 + '@babel/helper-plugin-utils': 7.24.7 + '@babel/helper-skip-transparent-expression-wrappers': 7.24.7 + '@babel/plugin-transform-optional-chaining': 7.24.7(@babel/core@7.24.7) + transitivePeerDependencies: + - supports-color dev: true - /@babel/plugin-proposal-optional-chaining@7.21.0(@babel/core@7.23.9): - resolution: {integrity: sha512-p4zeefM72gpmEe2fkUr/OnOXpWEf8nAgk7ZYVqqfFiyIG7oFfVZcCrU64hWn5xp4tQ9LkV4bTIa5rD0KANpKNA==} + /@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly@7.24.7(@babel/core@7.24.7): + resolution: {integrity: sha512-utA4HuR6F4Vvcr+o4DnjL8fCOlgRFGbeeBEGNg3ZTrLFw6VWG5XmUrvcQ0FjIYMU2ST4XcR2Wsp7t9qOAPnxMg==} engines: {node: '>=6.9.0'} - deprecated: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-optional-chaining instead. peerDependencies: - '@babel/core': ^7.0.0-0 + '@babel/core': ^7.0.0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 - '@babel/helper-skip-transparent-expression-wrappers': 7.22.5 - '@babel/plugin-syntax-optional-chaining': 7.8.3(@babel/core@7.23.9) + '@babel/core': 7.24.7 + '@babel/helper-environment-visitor': 7.24.7 + '@babel/helper-plugin-utils': 7.24.7 dev: true - /@babel/plugin-proposal-private-property-in-object@7.21.0-placeholder-for-preset-env.2(@babel/core@7.23.9): + /@babel/plugin-proposal-private-property-in-object@7.21.0-placeholder-for-preset-env.2(@babel/core@7.24.7): resolution: {integrity: sha512-SOSkfJDddaM7mak6cPEpswyTRnuRltl429hMraQEglW+OkovnCzsiszTmsrlY//qLFjCpQDFRvjdm2wA5pPm9w==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 + '@babel/core': 7.24.7 dev: true - /@babel/plugin-syntax-async-generators@7.8.4(@babel/core@7.23.9): + /@babel/plugin-syntax-async-generators@7.8.4(@babel/core@7.24.7): resolution: {integrity: sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 + '@babel/core': 7.24.7 + '@babel/helper-plugin-utils': 7.24.7 dev: true - /@babel/plugin-syntax-class-properties@7.12.13(@babel/core@7.23.9): + /@babel/plugin-syntax-class-properties@7.12.13(@babel/core@7.24.7): resolution: {integrity: sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA==} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 + '@babel/core': 7.24.7 + '@babel/helper-plugin-utils': 7.24.7 dev: true - /@babel/plugin-syntax-class-static-block@7.14.5(@babel/core@7.23.9): + /@babel/plugin-syntax-class-static-block@7.14.5(@babel/core@7.24.7): resolution: {integrity: sha512-b+YyPmr6ldyNnM6sqYeMWE+bgJcJpO6yS4QD7ymxgH34GBPNDM/THBh8iunyvKIZztiwLH4CJZ0RxTk9emgpjw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 + '@babel/core': 7.24.7 + '@babel/helper-plugin-utils': 7.24.7 dev: true - /@babel/plugin-syntax-dynamic-import@7.8.3(@babel/core@7.23.9): + /@babel/plugin-syntax-dynamic-import@7.8.3(@babel/core@7.24.7): resolution: {integrity: sha512-5gdGbFon+PszYzqs83S3E5mpi7/y/8M9eC90MRTZfduQOYW76ig6SOSPNe41IG5LoP3FGBn2N0RjVDSQiS94kQ==} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 + '@babel/core': 7.24.7 + '@babel/helper-plugin-utils': 7.24.7 dev: true - /@babel/plugin-syntax-export-namespace-from@7.8.3(@babel/core@7.23.9): + /@babel/plugin-syntax-export-namespace-from@7.8.3(@babel/core@7.24.7): resolution: {integrity: sha512-MXf5laXo6c1IbEbegDmzGPwGNTsHZmEy6QGznu5Sh2UCWvueywb2ee+CCE4zQiZstxU9BMoQO9i6zUFSY0Kj0Q==} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 + '@babel/core': 7.24.7 + '@babel/helper-plugin-utils': 7.24.7 dev: true - /@babel/plugin-syntax-flow@7.22.5(@babel/core@7.23.9): - resolution: {integrity: sha512-9RdCl0i+q0QExayk2nOS7853w08yLucnnPML6EN9S8fgMPVtdLDCdx/cOQ/i44Lb9UeQX9A35yaqBBOMMZxPxQ==} + /@babel/plugin-syntax-flow@7.24.7(@babel/core@7.24.7): + resolution: {integrity: sha512-9G8GYT/dxn/D1IIKOUBmGX0mnmj46mGH9NnZyJLwtCpgh5f7D2VbuKodb+2s9m1Yavh1s7ASQN8lf0eqrb1LTw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 + '@babel/core': 7.24.7 + '@babel/helper-plugin-utils': 7.24.7 dev: true - /@babel/plugin-syntax-import-assertions@7.22.5(@babel/core@7.23.9): - resolution: {integrity: sha512-rdV97N7KqsRzeNGoWUOK6yUsWarLjE5Su/Snk9IYPU9CwkWHs4t+rTGOvffTR8XGkJMTAdLfO0xVnXm8wugIJg==} + /@babel/plugin-syntax-import-assertions@7.24.7(@babel/core@7.24.7): + resolution: {integrity: sha512-Ec3NRUMoi8gskrkBe3fNmEQfxDvY8bgfQpz6jlk/41kX9eUjvpyqWU7PBP/pLAvMaSQjbMNKJmvX57jP+M6bPg==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 + '@babel/core': 7.24.7 + '@babel/helper-plugin-utils': 7.24.7 dev: true - /@babel/plugin-syntax-import-attributes@7.22.5(@babel/core@7.23.9): - resolution: {integrity: sha512-KwvoWDeNKPETmozyFE0P2rOLqh39EoQHNjqizrI5B8Vt0ZNS7M56s7dAiAqbYfiAYOuIzIh96z3iR2ktgu3tEg==} + /@babel/plugin-syntax-import-attributes@7.24.7(@babel/core@7.24.7): + resolution: {integrity: sha512-hbX+lKKeUMGihnK8nvKqmXBInriT3GVjzXKFriV3YC6APGxMbP8RZNFwy91+hocLXq90Mta+HshoB31802bb8A==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 + '@babel/core': 7.24.7 + '@babel/helper-plugin-utils': 7.24.7 dev: true - /@babel/plugin-syntax-import-meta@7.10.4(@babel/core@7.23.9): + /@babel/plugin-syntax-import-meta@7.10.4(@babel/core@7.24.7): resolution: {integrity: sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g==} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 + '@babel/core': 7.24.7 + '@babel/helper-plugin-utils': 7.24.7 dev: true - /@babel/plugin-syntax-json-strings@7.8.3(@babel/core@7.23.9): + /@babel/plugin-syntax-json-strings@7.8.3(@babel/core@7.24.7): resolution: {integrity: sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA==} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 + '@babel/core': 7.24.7 + '@babel/helper-plugin-utils': 7.24.7 dev: true - /@babel/plugin-syntax-jsx@7.22.5(@babel/core@7.23.9): - resolution: {integrity: sha512-gvyP4hZrgrs/wWMaocvxZ44Hw0b3W8Pe+cMxc8V1ULQ07oh8VNbIRaoD1LRZVTvD+0nieDKjfgKg89sD7rrKrg==} + /@babel/plugin-syntax-jsx@7.24.7(@babel/core@7.24.7): + resolution: {integrity: sha512-6ddciUPe/mpMnOKv/U+RSd2vvVy+Yw/JfBB0ZHYjEZt9NLHmCUylNYlsbqCCS1Bffjlb0fCwC9Vqz+sBz6PsiQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 + '@babel/core': 7.24.7 + '@babel/helper-plugin-utils': 7.24.7 dev: true - /@babel/plugin-syntax-logical-assignment-operators@7.10.4(@babel/core@7.23.9): + /@babel/plugin-syntax-logical-assignment-operators@7.10.4(@babel/core@7.24.7): resolution: {integrity: sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig==} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 + '@babel/core': 7.24.7 + '@babel/helper-plugin-utils': 7.24.7 dev: true - /@babel/plugin-syntax-nullish-coalescing-operator@7.8.3(@babel/core@7.23.9): + /@babel/plugin-syntax-nullish-coalescing-operator@7.8.3(@babel/core@7.24.7): resolution: {integrity: sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 + '@babel/core': 7.24.7 + '@babel/helper-plugin-utils': 7.24.7 dev: true - /@babel/plugin-syntax-numeric-separator@7.10.4(@babel/core@7.23.9): + /@babel/plugin-syntax-numeric-separator@7.10.4(@babel/core@7.24.7): resolution: {integrity: sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug==} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 + '@babel/core': 7.24.7 + '@babel/helper-plugin-utils': 7.24.7 dev: true - /@babel/plugin-syntax-object-rest-spread@7.8.3(@babel/core@7.23.9): + /@babel/plugin-syntax-object-rest-spread@7.8.3(@babel/core@7.24.7): resolution: {integrity: sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 + '@babel/core': 7.24.7 + '@babel/helper-plugin-utils': 7.24.7 dev: true - /@babel/plugin-syntax-optional-catch-binding@7.8.3(@babel/core@7.23.9): + /@babel/plugin-syntax-optional-catch-binding@7.8.3(@babel/core@7.24.7): resolution: {integrity: sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q==} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 + '@babel/core': 7.24.7 + '@babel/helper-plugin-utils': 7.24.7 dev: true - /@babel/plugin-syntax-optional-chaining@7.8.3(@babel/core@7.23.9): + /@babel/plugin-syntax-optional-chaining@7.8.3(@babel/core@7.24.7): resolution: {integrity: sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 + '@babel/core': 7.24.7 + '@babel/helper-plugin-utils': 7.24.7 dev: true - /@babel/plugin-syntax-private-property-in-object@7.14.5(@babel/core@7.23.9): + /@babel/plugin-syntax-private-property-in-object@7.14.5(@babel/core@7.24.7): resolution: {integrity: sha512-0wVnp9dxJ72ZUJDV27ZfbSj6iHLoytYZmh3rFcxNnvsJF3ktkzLDZPy/mA17HGsaQT3/DQsWYX1f1QGWkCoVUg==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 + '@babel/core': 7.24.7 + '@babel/helper-plugin-utils': 7.24.7 dev: true - /@babel/plugin-syntax-top-level-await@7.14.5(@babel/core@7.23.9): + /@babel/plugin-syntax-top-level-await@7.14.5(@babel/core@7.24.7): resolution: {integrity: sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 + '@babel/core': 7.24.7 + '@babel/helper-plugin-utils': 7.24.7 dev: true - /@babel/plugin-syntax-typescript@7.22.5(@babel/core@7.23.9): - resolution: {integrity: sha512-1mS2o03i7t1c6VzH6fdQ3OA8tcEIxwG18zIPRp+UY1Ihv6W+XZzBCVxExF9upussPXJ0xE9XRHwMoNs1ep/nRQ==} + /@babel/plugin-syntax-typescript@7.24.7(@babel/core@7.24.7): + resolution: {integrity: sha512-c/+fVeJBB0FeKsFvwytYiUD+LBvhHjGSI0g446PRGdSVGZLRNArBUno2PETbAly3tpiNAQR5XaZ+JslxkotsbA==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 + '@babel/core': 7.24.7 + '@babel/helper-plugin-utils': 7.24.7 dev: true - /@babel/plugin-syntax-unicode-sets-regex@7.18.6(@babel/core@7.23.9): + /@babel/plugin-syntax-unicode-sets-regex@7.18.6(@babel/core@7.24.7): resolution: {integrity: sha512-727YkEAPwSIQTv5im8QHz3upqp92JTWhidIC81Tdx4VJYIte/VndKf1qKrfnnhPLiPghStWfvC/iFaMCQu7Nqg==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-create-regexp-features-plugin': 7.22.15(@babel/core@7.23.9) - '@babel/helper-plugin-utils': 7.22.5 + '@babel/core': 7.24.7 + '@babel/helper-create-regexp-features-plugin': 7.24.7(@babel/core@7.24.7) + '@babel/helper-plugin-utils': 7.24.7 dev: true - /@babel/plugin-transform-arrow-functions@7.22.5(@babel/core@7.23.9): - resolution: {integrity: sha512-26lTNXoVRdAnsaDXPpvCNUq+OVWEVC6bx7Vvz9rC53F2bagUWW4u4ii2+h8Fejfh7RYqPxn+libeFBBck9muEw==} + /@babel/plugin-transform-arrow-functions@7.24.7(@babel/core@7.24.7): + resolution: {integrity: sha512-Dt9LQs6iEY++gXUwY03DNFat5C2NbO48jj+j/bSAz6b3HgPs39qcPiYt77fDObIcFwj3/C2ICX9YMwGflUoSHQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 + '@babel/core': 7.24.7 + '@babel/helper-plugin-utils': 7.24.7 dev: true - /@babel/plugin-transform-async-generator-functions@7.22.15(@babel/core@7.23.9): - resolution: {integrity: sha512-jBm1Es25Y+tVoTi5rfd5t1KLmL8ogLKpXszboWOTTtGFGz2RKnQe2yn7HbZ+kb/B8N0FVSGQo874NSlOU1T4+w==} + /@babel/plugin-transform-async-generator-functions@7.24.7(@babel/core@7.24.7): + resolution: {integrity: sha512-o+iF77e3u7ZS4AoAuJvapz9Fm001PuD2V3Lp6OSE4FYQke+cSewYtnek+THqGRWyQloRCyvWL1OkyfNEl9vr/g==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-environment-visitor': 7.22.20 - '@babel/helper-plugin-utils': 7.22.5 - '@babel/helper-remap-async-to-generator': 7.22.20(@babel/core@7.23.9) - '@babel/plugin-syntax-async-generators': 7.8.4(@babel/core@7.23.9) + '@babel/core': 7.24.7 + '@babel/helper-environment-visitor': 7.24.7 + '@babel/helper-plugin-utils': 7.24.7 + '@babel/helper-remap-async-to-generator': 7.24.7(@babel/core@7.24.7) + '@babel/plugin-syntax-async-generators': 7.8.4(@babel/core@7.24.7) + transitivePeerDependencies: + - supports-color dev: true - /@babel/plugin-transform-async-to-generator@7.22.5(@babel/core@7.23.9): - resolution: {integrity: sha512-b1A8D8ZzE/VhNDoV1MSJTnpKkCG5bJo+19R4o4oy03zM7ws8yEMK755j61Dc3EyvdysbqH5BOOTquJ7ZX9C6vQ==} + /@babel/plugin-transform-async-to-generator@7.24.7(@babel/core@7.24.7): + resolution: {integrity: sha512-SQY01PcJfmQ+4Ash7NE+rpbLFbmqA2GPIgqzxfFTL4t1FKRq4zTms/7htKpoCUI9OcFYgzqfmCdH53s6/jn5fA==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-module-imports': 7.22.15 - '@babel/helper-plugin-utils': 7.22.5 - '@babel/helper-remap-async-to-generator': 7.22.20(@babel/core@7.23.9) + '@babel/core': 7.24.7 + '@babel/helper-module-imports': 7.24.7 + '@babel/helper-plugin-utils': 7.24.7 + '@babel/helper-remap-async-to-generator': 7.24.7(@babel/core@7.24.7) + transitivePeerDependencies: + - supports-color dev: true - /@babel/plugin-transform-block-scoped-functions@7.22.5(@babel/core@7.23.9): - resolution: {integrity: sha512-tdXZ2UdknEKQWKJP1KMNmuF5Lx3MymtMN/pvA+p/VEkhK8jVcQ1fzSy8KM9qRYhAf2/lV33hoMPKI/xaI9sADA==} + /@babel/plugin-transform-block-scoped-functions@7.24.7(@babel/core@7.24.7): + resolution: {integrity: sha512-yO7RAz6EsVQDaBH18IDJcMB1HnrUn2FJ/Jslc/WtPPWcjhpUJXU/rjbwmluzp7v/ZzWcEhTMXELnnsz8djWDwQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 + '@babel/core': 7.24.7 + '@babel/helper-plugin-utils': 7.24.7 dev: true - /@babel/plugin-transform-block-scoping@7.23.0(@babel/core@7.23.9): - resolution: {integrity: sha512-cOsrbmIOXmf+5YbL99/S49Y3j46k/T16b9ml8bm9lP6N9US5iQ2yBK7gpui1pg0V/WMcXdkfKbTb7HXq9u+v4g==} + /@babel/plugin-transform-block-scoping@7.24.7(@babel/core@7.24.7): + resolution: {integrity: sha512-Nd5CvgMbWc+oWzBsuaMcbwjJWAcp5qzrbg69SZdHSP7AMY0AbWFqFO0WTFCA1jxhMCwodRwvRec8k0QUbZk7RQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 + '@babel/core': 7.24.7 + '@babel/helper-plugin-utils': 7.24.7 dev: true - /@babel/plugin-transform-class-properties@7.22.5(@babel/core@7.23.9): - resolution: {integrity: sha512-nDkQ0NfkOhPTq8YCLiWNxp1+f9fCobEjCb0n8WdbNUBc4IB5V7P1QnX9IjpSoquKrXF5SKojHleVNs2vGeHCHQ==} + /@babel/plugin-transform-class-properties@7.24.7(@babel/core@7.24.7): + resolution: {integrity: sha512-vKbfawVYayKcSeSR5YYzzyXvsDFWU2mD8U5TFeXtbCPLFUqe7GyCgvO6XDHzje862ODrOwy6WCPmKeWHbCFJ4w==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-create-class-features-plugin': 7.22.15(@babel/core@7.23.9) - '@babel/helper-plugin-utils': 7.22.5 + '@babel/core': 7.24.7 + '@babel/helper-create-class-features-plugin': 7.24.7(@babel/core@7.24.7) + '@babel/helper-plugin-utils': 7.24.7 + transitivePeerDependencies: + - supports-color dev: true - /@babel/plugin-transform-class-static-block@7.22.11(@babel/core@7.23.9): - resolution: {integrity: sha512-GMM8gGmqI7guS/llMFk1bJDkKfn3v3C4KHK9Yg1ey5qcHcOlKb0QvcMrgzvxo+T03/4szNh5lghY+fEC98Kq9g==} + /@babel/plugin-transform-class-static-block@7.24.7(@babel/core@7.24.7): + resolution: {integrity: sha512-HMXK3WbBPpZQufbMG4B46A90PkuuhN9vBCb5T8+VAHqvAqvcLi+2cKoukcpmUYkszLhScU3l1iudhrks3DggRQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.12.0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-create-class-features-plugin': 7.22.15(@babel/core@7.23.9) - '@babel/helper-plugin-utils': 7.22.5 - '@babel/plugin-syntax-class-static-block': 7.14.5(@babel/core@7.23.9) + '@babel/core': 7.24.7 + '@babel/helper-create-class-features-plugin': 7.24.7(@babel/core@7.24.7) + '@babel/helper-plugin-utils': 7.24.7 + '@babel/plugin-syntax-class-static-block': 7.14.5(@babel/core@7.24.7) + transitivePeerDependencies: + - supports-color dev: true - /@babel/plugin-transform-classes@7.22.15(@babel/core@7.23.9): - resolution: {integrity: sha512-VbbC3PGjBdE0wAWDdHM9G8Gm977pnYI0XpqMd6LrKISj8/DJXEsWqgRuTYaNE9Bv0JGhTZUzHDlMk18IpOuoqw==} + /@babel/plugin-transform-classes@7.24.7(@babel/core@7.24.7): + resolution: {integrity: sha512-CFbbBigp8ln4FU6Bpy6g7sE8B/WmCmzvivzUC6xDAdWVsjYTXijpuuGJmYkAaoWAzcItGKT3IOAbxRItZ5HTjw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-annotate-as-pure': 7.22.5 - '@babel/helper-compilation-targets': 7.23.6 - '@babel/helper-environment-visitor': 7.22.20 - '@babel/helper-function-name': 7.23.0 - '@babel/helper-optimise-call-expression': 7.22.5 - '@babel/helper-plugin-utils': 7.22.5 - '@babel/helper-replace-supers': 7.22.20(@babel/core@7.23.9) - '@babel/helper-split-export-declaration': 7.22.6 + '@babel/core': 7.24.7 + '@babel/helper-annotate-as-pure': 7.24.7 + '@babel/helper-compilation-targets': 7.24.7 + '@babel/helper-environment-visitor': 7.24.7 + '@babel/helper-function-name': 7.24.7 + '@babel/helper-plugin-utils': 7.24.7 + '@babel/helper-replace-supers': 7.24.7(@babel/core@7.24.7) + '@babel/helper-split-export-declaration': 7.24.7 globals: 11.12.0 + transitivePeerDependencies: + - supports-color dev: true - /@babel/plugin-transform-computed-properties@7.22.5(@babel/core@7.23.9): - resolution: {integrity: sha512-4GHWBgRf0krxPX+AaPtgBAlTgTeZmqDynokHOX7aqqAB4tHs3U2Y02zH6ETFdLZGcg9UQSD1WCmkVrE9ErHeOg==} + /@babel/plugin-transform-computed-properties@7.24.7(@babel/core@7.24.7): + resolution: {integrity: sha512-25cS7v+707Gu6Ds2oY6tCkUwsJ9YIDbggd9+cu9jzzDgiNq7hR/8dkzxWfKWnTic26vsI3EsCXNd4iEB6e8esQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 - '@babel/template': 7.23.9 + '@babel/core': 7.24.7 + '@babel/helper-plugin-utils': 7.24.7 + '@babel/template': 7.24.7 dev: true - /@babel/plugin-transform-destructuring@7.23.0(@babel/core@7.23.9): - resolution: {integrity: sha512-vaMdgNXFkYrB+8lbgniSYWHsgqK5gjaMNcc84bMIOMRLH0L9AqYq3hwMdvnyqj1OPqea8UtjPEuS/DCenah1wg==} + /@babel/plugin-transform-destructuring@7.24.7(@babel/core@7.24.7): + resolution: {integrity: sha512-19eJO/8kdCQ9zISOf+SEUJM/bAUIsvY3YDnXZTupUCQ8LgrWnsG/gFB9dvXqdXnRXMAM8fvt7b0CBKQHNGy1mw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 + '@babel/core': 7.24.7 + '@babel/helper-plugin-utils': 7.24.7 dev: true - /@babel/plugin-transform-dotall-regex@7.22.5(@babel/core@7.23.9): - resolution: {integrity: sha512-5/Yk9QxCQCl+sOIB1WelKnVRxTJDSAIxtJLL2/pqL14ZVlbH0fUQUZa/T5/UnQtBNgghR7mfB8ERBKyKPCi7Vw==} + /@babel/plugin-transform-dotall-regex@7.24.7(@babel/core@7.24.7): + resolution: {integrity: sha512-ZOA3W+1RRTSWvyqcMJDLqbchh7U4NRGqwRfFSVbOLS/ePIP4vHB5e8T8eXcuqyN1QkgKyj5wuW0lcS85v4CrSw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-create-regexp-features-plugin': 7.22.15(@babel/core@7.23.9) - '@babel/helper-plugin-utils': 7.22.5 + '@babel/core': 7.24.7 + '@babel/helper-create-regexp-features-plugin': 7.24.7(@babel/core@7.24.7) + '@babel/helper-plugin-utils': 7.24.7 dev: true - /@babel/plugin-transform-duplicate-keys@7.22.5(@babel/core@7.23.9): - resolution: {integrity: sha512-dEnYD+9BBgld5VBXHnF/DbYGp3fqGMsyxKbtD1mDyIA7AkTSpKXFhCVuj/oQVOoALfBs77DudA0BE4d5mcpmqw==} + /@babel/plugin-transform-duplicate-keys@7.24.7(@babel/core@7.24.7): + resolution: {integrity: sha512-JdYfXyCRihAe46jUIliuL2/s0x0wObgwwiGxw/UbgJBr20gQBThrokO4nYKgWkD7uBaqM7+9x5TU7NkExZJyzw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 + '@babel/core': 7.24.7 + '@babel/helper-plugin-utils': 7.24.7 dev: true - /@babel/plugin-transform-dynamic-import@7.22.11(@babel/core@7.23.9): - resolution: {integrity: sha512-g/21plo58sfteWjaO0ZNVb+uEOkJNjAaHhbejrnBmu011l/eNDScmkbjCC3l4FKb10ViaGU4aOkFznSu2zRHgA==} + /@babel/plugin-transform-dynamic-import@7.24.7(@babel/core@7.24.7): + resolution: {integrity: sha512-sc3X26PhZQDb3JhORmakcbvkeInvxz+A8oda99lj7J60QRuPZvNAk9wQlTBS1ZynelDrDmTU4pw1tyc5d5ZMUg==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 - '@babel/plugin-syntax-dynamic-import': 7.8.3(@babel/core@7.23.9) + '@babel/core': 7.24.7 + '@babel/helper-plugin-utils': 7.24.7 + '@babel/plugin-syntax-dynamic-import': 7.8.3(@babel/core@7.24.7) dev: true - /@babel/plugin-transform-exponentiation-operator@7.22.5(@babel/core@7.23.9): - resolution: {integrity: sha512-vIpJFNM/FjZ4rh1myqIya9jXwrwwgFRHPjT3DkUA9ZLHuzox8jiXkOLvwm1H+PQIP3CqfC++WPKeuDi0Sjdj1g==} + /@babel/plugin-transform-exponentiation-operator@7.24.7(@babel/core@7.24.7): + resolution: {integrity: sha512-Rqe/vSc9OYgDajNIK35u7ot+KeCoetqQYFXM4Epf7M7ez3lWlOjrDjrwMei6caCVhfdw+mIKD4cgdGNy5JQotQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-builder-binary-assignment-operator-visitor': 7.22.15 - '@babel/helper-plugin-utils': 7.22.5 + '@babel/core': 7.24.7 + '@babel/helper-builder-binary-assignment-operator-visitor': 7.24.7 + '@babel/helper-plugin-utils': 7.24.7 + transitivePeerDependencies: + - supports-color dev: true - /@babel/plugin-transform-export-namespace-from@7.22.11(@babel/core@7.23.9): - resolution: {integrity: sha512-xa7aad7q7OiT8oNZ1mU7NrISjlSkVdMbNxn9IuLZyL9AJEhs1Apba3I+u5riX1dIkdptP5EKDG5XDPByWxtehw==} + /@babel/plugin-transform-export-namespace-from@7.24.7(@babel/core@7.24.7): + resolution: {integrity: sha512-v0K9uNYsPL3oXZ/7F9NNIbAj2jv1whUEtyA6aujhekLs56R++JDQuzRcP2/z4WX5Vg/c5lE9uWZA0/iUoFhLTA==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 - '@babel/plugin-syntax-export-namespace-from': 7.8.3(@babel/core@7.23.9) + '@babel/core': 7.24.7 + '@babel/helper-plugin-utils': 7.24.7 + '@babel/plugin-syntax-export-namespace-from': 7.8.3(@babel/core@7.24.7) dev: true - /@babel/plugin-transform-flow-strip-types@7.22.5(@babel/core@7.23.9): - resolution: {integrity: sha512-tujNbZdxdG0/54g/oua8ISToaXTFBf8EnSb5PgQSciIXWOWKX3S4+JR7ZE9ol8FZwf9kxitzkGQ+QWeov/mCiA==} + /@babel/plugin-transform-flow-strip-types@7.24.7(@babel/core@7.24.7): + resolution: {integrity: sha512-cjRKJ7FobOH2eakx7Ja+KpJRj8+y+/SiB3ooYm/n2UJfxu0oEaOoxOinitkJcPqv9KxS0kxTGPUaR7L2XcXDXA==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 - '@babel/plugin-syntax-flow': 7.22.5(@babel/core@7.23.9) + '@babel/core': 7.24.7 + '@babel/helper-plugin-utils': 7.24.7 + '@babel/plugin-syntax-flow': 7.24.7(@babel/core@7.24.7) dev: true - /@babel/plugin-transform-for-of@7.22.15(@babel/core@7.23.9): - resolution: {integrity: sha512-me6VGeHsx30+xh9fbDLLPi0J1HzmeIIyenoOQHuw2D4m2SAU3NrspX5XxJLBpqn5yrLzrlw2Iy3RA//Bx27iOA==} + /@babel/plugin-transform-for-of@7.24.7(@babel/core@7.24.7): + resolution: {integrity: sha512-wo9ogrDG1ITTTBsy46oGiN1dS9A7MROBTcYsfS8DtsImMkHk9JXJ3EWQM6X2SUw4x80uGPlwj0o00Uoc6nEE3g==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 + '@babel/core': 7.24.7 + '@babel/helper-plugin-utils': 7.24.7 + '@babel/helper-skip-transparent-expression-wrappers': 7.24.7 + transitivePeerDependencies: + - supports-color dev: true - /@babel/plugin-transform-function-name@7.22.5(@babel/core@7.23.9): - resolution: {integrity: sha512-UIzQNMS0p0HHiQm3oelztj+ECwFnj+ZRV4KnguvlsD2of1whUeM6o7wGNj6oLwcDoAXQ8gEqfgC24D+VdIcevg==} + /@babel/plugin-transform-function-name@7.24.7(@babel/core@7.24.7): + resolution: {integrity: sha512-U9FcnA821YoILngSmYkW6FjyQe2TyZD5pHt4EVIhmcTkrJw/3KqcrRSxuOo5tFZJi7TE19iDyI1u+weTI7bn2w==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-compilation-targets': 7.23.6 - '@babel/helper-function-name': 7.23.0 - '@babel/helper-plugin-utils': 7.22.5 + '@babel/core': 7.24.7 + '@babel/helper-compilation-targets': 7.24.7 + '@babel/helper-function-name': 7.24.7 + '@babel/helper-plugin-utils': 7.24.7 dev: true - /@babel/plugin-transform-json-strings@7.22.11(@babel/core@7.23.9): - resolution: {integrity: sha512-CxT5tCqpA9/jXFlme9xIBCc5RPtdDq3JpkkhgHQqtDdiTnTI0jtZ0QzXhr5DILeYifDPp2wvY2ad+7+hLMW5Pw==} + /@babel/plugin-transform-json-strings@7.24.7(@babel/core@7.24.7): + resolution: {integrity: sha512-2yFnBGDvRuxAaE/f0vfBKvtnvvqU8tGpMHqMNpTN2oWMKIR3NqFkjaAgGwawhqK/pIN2T3XdjGPdaG0vDhOBGw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 - '@babel/plugin-syntax-json-strings': 7.8.3(@babel/core@7.23.9) + '@babel/core': 7.24.7 + '@babel/helper-plugin-utils': 7.24.7 + '@babel/plugin-syntax-json-strings': 7.8.3(@babel/core@7.24.7) dev: true - /@babel/plugin-transform-literals@7.22.5(@babel/core@7.23.9): - resolution: {integrity: sha512-fTLj4D79M+mepcw3dgFBTIDYpbcB9Sm0bpm4ppXPaO+U+PKFFyV9MGRvS0gvGw62sd10kT5lRMKXAADb9pWy8g==} + /@babel/plugin-transform-literals@7.24.7(@babel/core@7.24.7): + resolution: {integrity: sha512-vcwCbb4HDH+hWi8Pqenwnjy+UiklO4Kt1vfspcQYFhJdpthSnW8XvWGyDZWKNVrVbVViI/S7K9PDJZiUmP2fYQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 + '@babel/core': 7.24.7 + '@babel/helper-plugin-utils': 7.24.7 dev: true - /@babel/plugin-transform-logical-assignment-operators@7.22.11(@babel/core@7.23.9): - resolution: {integrity: sha512-qQwRTP4+6xFCDV5k7gZBF3C31K34ut0tbEcTKxlX/0KXxm9GLcO14p570aWxFvVzx6QAfPgq7gaeIHXJC8LswQ==} + /@babel/plugin-transform-logical-assignment-operators@7.24.7(@babel/core@7.24.7): + resolution: {integrity: sha512-4D2tpwlQ1odXmTEIFWy9ELJcZHqrStlzK/dAOWYyxX3zT0iXQB6banjgeOJQXzEc4S0E0a5A+hahxPaEFYftsw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 - '@babel/plugin-syntax-logical-assignment-operators': 7.10.4(@babel/core@7.23.9) + '@babel/core': 7.24.7 + '@babel/helper-plugin-utils': 7.24.7 + '@babel/plugin-syntax-logical-assignment-operators': 7.10.4(@babel/core@7.24.7) dev: true - /@babel/plugin-transform-member-expression-literals@7.22.5(@babel/core@7.23.9): - resolution: {integrity: sha512-RZEdkNtzzYCFl9SE9ATaUMTj2hqMb4StarOJLrZRbqqU4HSBE7UlBw9WBWQiDzrJZJdUWiMTVDI6Gv/8DPvfew==} + /@babel/plugin-transform-member-expression-literals@7.24.7(@babel/core@7.24.7): + resolution: {integrity: sha512-T/hRC1uqrzXMKLQ6UCwMT85S3EvqaBXDGf0FaMf4446Qx9vKwlghvee0+uuZcDUCZU5RuNi4781UQ7R308zzBw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 + '@babel/core': 7.24.7 + '@babel/helper-plugin-utils': 7.24.7 dev: true - /@babel/plugin-transform-modules-amd@7.23.0(@babel/core@7.23.9): - resolution: {integrity: sha512-xWT5gefv2HGSm4QHtgc1sYPbseOyf+FFDo2JbpE25GWl5BqTGO9IMwTYJRoIdjsF85GE+VegHxSCUt5EvoYTAw==} + /@babel/plugin-transform-modules-amd@7.24.7(@babel/core@7.24.7): + resolution: {integrity: sha512-9+pB1qxV3vs/8Hdmz/CulFB8w2tuu6EB94JZFsjdqxQokwGa9Unap7Bo2gGBGIvPmDIVvQrom7r5m/TCDMURhg==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-module-transforms': 7.23.3(@babel/core@7.23.9) - '@babel/helper-plugin-utils': 7.22.5 + '@babel/core': 7.24.7 + '@babel/helper-module-transforms': 7.24.7(@babel/core@7.24.7) + '@babel/helper-plugin-utils': 7.24.7 + transitivePeerDependencies: + - supports-color dev: true - /@babel/plugin-transform-modules-commonjs@7.23.0(@babel/core@7.23.9): - resolution: {integrity: sha512-32Xzss14/UVc7k9g775yMIvkVK8xwKE0DPdP5JTapr3+Z9w4tzeOuLNY6BXDQR6BdnzIlXnCGAzsk/ICHBLVWQ==} + /@babel/plugin-transform-modules-commonjs@7.24.7(@babel/core@7.24.7): + resolution: {integrity: sha512-iFI8GDxtevHJ/Z22J5xQpVqFLlMNstcLXh994xifFwxxGslr2ZXXLWgtBeLctOD63UFDArdvN6Tg8RFw+aEmjQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-module-transforms': 7.23.3(@babel/core@7.23.9) - '@babel/helper-plugin-utils': 7.22.5 - '@babel/helper-simple-access': 7.22.5 + '@babel/core': 7.24.7 + '@babel/helper-module-transforms': 7.24.7(@babel/core@7.24.7) + '@babel/helper-plugin-utils': 7.24.7 + '@babel/helper-simple-access': 7.24.7 + transitivePeerDependencies: + - supports-color dev: true - /@babel/plugin-transform-modules-systemjs@7.23.0(@babel/core@7.23.9): - resolution: {integrity: sha512-qBej6ctXZD2f+DhlOC9yO47yEYgUh5CZNz/aBoH4j/3NOlRfJXJbY7xDQCqQVf9KbrqGzIWER1f23doHGrIHFg==} + /@babel/plugin-transform-modules-systemjs@7.24.7(@babel/core@7.24.7): + resolution: {integrity: sha512-GYQE0tW7YoaN13qFh3O1NCY4MPkUiAH3fiF7UcV/I3ajmDKEdG3l+UOcbAm4zUE3gnvUU+Eni7XrVKo9eO9auw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-hoist-variables': 7.22.5 - '@babel/helper-module-transforms': 7.23.3(@babel/core@7.23.9) - '@babel/helper-plugin-utils': 7.22.5 - '@babel/helper-validator-identifier': 7.22.20 + '@babel/core': 7.24.7 + '@babel/helper-hoist-variables': 7.24.7 + '@babel/helper-module-transforms': 7.24.7(@babel/core@7.24.7) + '@babel/helper-plugin-utils': 7.24.7 + '@babel/helper-validator-identifier': 7.24.7 + transitivePeerDependencies: + - supports-color dev: true - /@babel/plugin-transform-modules-umd@7.22.5(@babel/core@7.23.9): - resolution: {integrity: sha512-+S6kzefN/E1vkSsKx8kmQuqeQsvCKCd1fraCM7zXm4SFoggI099Tr4G8U81+5gtMdUeMQ4ipdQffbKLX0/7dBQ==} + /@babel/plugin-transform-modules-umd@7.24.7(@babel/core@7.24.7): + resolution: {integrity: sha512-3aytQvqJ/h9z4g8AsKPLvD4Zqi2qT+L3j7XoFFu1XBlZWEl2/1kWnhmAbxpLgPrHSY0M6UA02jyTiwUVtiKR6A==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-module-transforms': 7.23.3(@babel/core@7.23.9) - '@babel/helper-plugin-utils': 7.22.5 + '@babel/core': 7.24.7 + '@babel/helper-module-transforms': 7.24.7(@babel/core@7.24.7) + '@babel/helper-plugin-utils': 7.24.7 + transitivePeerDependencies: + - supports-color dev: true - /@babel/plugin-transform-named-capturing-groups-regex@7.22.5(@babel/core@7.23.9): - resolution: {integrity: sha512-YgLLKmS3aUBhHaxp5hi1WJTgOUb/NCuDHzGT9z9WTt3YG+CPRhJs6nprbStx6DnWM4dh6gt7SU3sZodbZ08adQ==} + /@babel/plugin-transform-named-capturing-groups-regex@7.24.7(@babel/core@7.24.7): + resolution: {integrity: sha512-/jr7h/EWeJtk1U/uz2jlsCioHkZk1JJZVcc8oQsJ1dUlaJD83f4/6Zeh2aHt9BIFokHIsSeDfhUmju0+1GPd6g==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-create-regexp-features-plugin': 7.22.15(@babel/core@7.23.9) - '@babel/helper-plugin-utils': 7.22.5 - dev: true - - /@babel/plugin-transform-new-target@7.22.5(@babel/core@7.23.9): - resolution: {integrity: sha512-AsF7K0Fx/cNKVyk3a+DW0JLo+Ua598/NxMRvxDnkpCIGFh43+h/v2xyhRUYf6oD8gE4QtL83C7zZVghMjHd+iw==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 - dev: true - - /@babel/plugin-transform-nullish-coalescing-operator@7.22.11(@babel/core@7.23.9): - resolution: {integrity: sha512-YZWOw4HxXrotb5xsjMJUDlLgcDXSfO9eCmdl1bgW4+/lAGdkjaEvOnQ4p5WKKdUgSzO39dgPl0pTnfxm0OAXcg==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 - '@babel/plugin-syntax-nullish-coalescing-operator': 7.8.3(@babel/core@7.23.9) + '@babel/core': 7.24.7 + '@babel/helper-create-regexp-features-plugin': 7.24.7(@babel/core@7.24.7) + '@babel/helper-plugin-utils': 7.24.7 dev: true - /@babel/plugin-transform-numeric-separator@7.22.11(@babel/core@7.23.9): - resolution: {integrity: sha512-3dzU4QGPsILdJbASKhF/V2TVP+gJya1PsueQCxIPCEcerqF21oEcrob4mzjsp2Py/1nLfF5m+xYNMDpmA8vffg==} + /@babel/plugin-transform-new-target@7.24.7(@babel/core@7.24.7): + resolution: {integrity: sha512-RNKwfRIXg4Ls/8mMTza5oPF5RkOW8Wy/WgMAp1/F1yZ8mMbtwXW+HDoJiOsagWrAhI5f57Vncrmr9XeT4CVapA==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 - '@babel/plugin-syntax-numeric-separator': 7.10.4(@babel/core@7.23.9) + '@babel/core': 7.24.7 + '@babel/helper-plugin-utils': 7.24.7 dev: true - /@babel/plugin-transform-object-rest-spread@7.22.15(@babel/core@7.23.9): - resolution: {integrity: sha512-fEB+I1+gAmfAyxZcX1+ZUwLeAuuf8VIg67CTznZE0MqVFumWkh8xWtn58I4dxdVf080wn7gzWoF8vndOViJe9Q==} + /@babel/plugin-transform-nullish-coalescing-operator@7.24.7(@babel/core@7.24.7): + resolution: {integrity: sha512-Ts7xQVk1OEocqzm8rHMXHlxvsfZ0cEF2yomUqpKENHWMF4zKk175Y4q8H5knJes6PgYad50uuRmt3UJuhBw8pQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/compat-data': 7.23.5 - '@babel/core': 7.23.9 - '@babel/helper-compilation-targets': 7.23.6 - '@babel/helper-plugin-utils': 7.22.5 - '@babel/plugin-syntax-object-rest-spread': 7.8.3(@babel/core@7.23.9) - '@babel/plugin-transform-parameters': 7.22.15(@babel/core@7.23.9) + '@babel/core': 7.24.7 + '@babel/helper-plugin-utils': 7.24.7 + '@babel/plugin-syntax-nullish-coalescing-operator': 7.8.3(@babel/core@7.24.7) dev: true - /@babel/plugin-transform-object-super@7.22.5(@babel/core@7.23.9): - resolution: {integrity: sha512-klXqyaT9trSjIUrcsYIfETAzmOEZL3cBYqOYLJxBHfMFFggmXOv+NYSX/Jbs9mzMVESw/WycLFPRx8ba/b2Ipw==} + /@babel/plugin-transform-numeric-separator@7.24.7(@babel/core@7.24.7): + resolution: {integrity: sha512-e6q1TiVUzvH9KRvicuxdBTUj4AdKSRwzIyFFnfnezpCfP2/7Qmbb8qbU2j7GODbl4JMkblitCQjKYUaX/qkkwA==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 - '@babel/helper-replace-supers': 7.22.20(@babel/core@7.23.9) + '@babel/core': 7.24.7 + '@babel/helper-plugin-utils': 7.24.7 + '@babel/plugin-syntax-numeric-separator': 7.10.4(@babel/core@7.24.7) dev: true - /@babel/plugin-transform-optional-catch-binding@7.22.11(@babel/core@7.23.9): - resolution: {integrity: sha512-rli0WxesXUeCJnMYhzAglEjLWVDF6ahb45HuprcmQuLidBJFWjNnOzssk2kuc6e33FlLaiZhG/kUIzUMWdBKaQ==} + /@babel/plugin-transform-object-rest-spread@7.24.7(@babel/core@7.24.7): + resolution: {integrity: sha512-4QrHAr0aXQCEFni2q4DqKLD31n2DL+RxcwnNjDFkSG0eNQ/xCavnRkfCUjsyqGC2OviNJvZOF/mQqZBw7i2C5Q==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 - '@babel/plugin-syntax-optional-catch-binding': 7.8.3(@babel/core@7.23.9) + '@babel/core': 7.24.7 + '@babel/helper-compilation-targets': 7.24.7 + '@babel/helper-plugin-utils': 7.24.7 + '@babel/plugin-syntax-object-rest-spread': 7.8.3(@babel/core@7.24.7) + '@babel/plugin-transform-parameters': 7.24.7(@babel/core@7.24.7) dev: true - /@babel/plugin-transform-optional-chaining@7.23.0(@babel/core@7.23.9): - resolution: {integrity: sha512-sBBGXbLJjxTzLBF5rFWaikMnOGOk/BmK6vVByIdEggZ7Vn6CvWXZyRkkLFK6WE0IF8jSliyOkUN6SScFgzCM0g==} + /@babel/plugin-transform-object-super@7.24.7(@babel/core@7.24.7): + resolution: {integrity: sha512-A/vVLwN6lBrMFmMDmPPz0jnE6ZGx7Jq7d6sT/Ev4H65RER6pZ+kczlf1DthF5N0qaPHBsI7UXiE8Zy66nmAovg==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 - '@babel/helper-skip-transparent-expression-wrappers': 7.22.5 - '@babel/plugin-syntax-optional-chaining': 7.8.3(@babel/core@7.23.9) + '@babel/core': 7.24.7 + '@babel/helper-plugin-utils': 7.24.7 + '@babel/helper-replace-supers': 7.24.7(@babel/core@7.24.7) + transitivePeerDependencies: + - supports-color dev: true - /@babel/plugin-transform-parameters@7.22.15(@babel/core@7.23.9): - resolution: {integrity: sha512-hjk7qKIqhyzhhUvRT683TYQOFa/4cQKwQy7ALvTpODswN40MljzNDa0YldevS6tGbxwaEKVn502JmY0dP7qEtQ==} + /@babel/plugin-transform-optional-catch-binding@7.24.7(@babel/core@7.24.7): + resolution: {integrity: sha512-uLEndKqP5BfBbC/5jTwPxLh9kqPWWgzN/f8w6UwAIirAEqiIVJWWY312X72Eub09g5KF9+Zn7+hT7sDxmhRuKA==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 + '@babel/core': 7.24.7 + '@babel/helper-plugin-utils': 7.24.7 + '@babel/plugin-syntax-optional-catch-binding': 7.8.3(@babel/core@7.24.7) dev: true - /@babel/plugin-transform-private-methods@7.22.5(@babel/core@7.23.9): - resolution: {integrity: sha512-PPjh4gyrQnGe97JTalgRGMuU4icsZFnWkzicB/fUtzlKUqvsWBKEpPPfr5a2JiyirZkHxnAqkQMO5Z5B2kK3fA==} + /@babel/plugin-transform-optional-chaining@7.24.7(@babel/core@7.24.7): + resolution: {integrity: sha512-tK+0N9yd4j+x/4hxF3F0e0fu/VdcxU18y5SevtyM/PCFlQvXbR0Zmlo2eBrKtVipGNFzpq56o8WsIIKcJFUCRQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-create-class-features-plugin': 7.22.15(@babel/core@7.23.9) - '@babel/helper-plugin-utils': 7.22.5 + '@babel/core': 7.24.7 + '@babel/helper-plugin-utils': 7.24.7 + '@babel/helper-skip-transparent-expression-wrappers': 7.24.7 + '@babel/plugin-syntax-optional-chaining': 7.8.3(@babel/core@7.24.7) + transitivePeerDependencies: + - supports-color dev: true - /@babel/plugin-transform-private-property-in-object@7.22.11(@babel/core@7.23.9): - resolution: {integrity: sha512-sSCbqZDBKHetvjSwpyWzhuHkmW5RummxJBVbYLkGkaiTOWGxml7SXt0iWa03bzxFIx7wOj3g/ILRd0RcJKBeSQ==} + /@babel/plugin-transform-parameters@7.24.7(@babel/core@7.24.7): + resolution: {integrity: sha512-yGWW5Rr+sQOhK0Ot8hjDJuxU3XLRQGflvT4lhlSY0DFvdb3TwKaY26CJzHtYllU0vT9j58hc37ndFPsqT1SrzA==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-annotate-as-pure': 7.22.5 - '@babel/helper-create-class-features-plugin': 7.22.15(@babel/core@7.23.9) - '@babel/helper-plugin-utils': 7.22.5 - '@babel/plugin-syntax-private-property-in-object': 7.14.5(@babel/core@7.23.9) + '@babel/core': 7.24.7 + '@babel/helper-plugin-utils': 7.24.7 dev: true - /@babel/plugin-transform-property-literals@7.22.5(@babel/core@7.23.9): - resolution: {integrity: sha512-TiOArgddK3mK/x1Qwf5hay2pxI6wCZnvQqrFSqbtg1GLl2JcNMitVH/YnqjP+M31pLUeTfzY1HAXFDnUBV30rQ==} + /@babel/plugin-transform-private-methods@7.24.7(@babel/core@7.24.7): + resolution: {integrity: sha512-COTCOkG2hn4JKGEKBADkA8WNb35TGkkRbI5iT845dB+NyqgO8Hn+ajPbSnIQznneJTa3d30scb6iz/DhH8GsJQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 + '@babel/core': 7.24.7 + '@babel/helper-create-class-features-plugin': 7.24.7(@babel/core@7.24.7) + '@babel/helper-plugin-utils': 7.24.7 + transitivePeerDependencies: + - supports-color dev: true - /@babel/plugin-transform-react-jsx-self@7.22.5(@babel/core@7.23.9): - resolution: {integrity: sha512-nTh2ogNUtxbiSbxaT4Ds6aXnXEipHweN9YRgOX/oNXdf0cCrGn/+2LozFa3lnPV5D90MkjhgckCPBrsoSc1a7g==} + /@babel/plugin-transform-private-property-in-object@7.24.7(@babel/core@7.24.7): + resolution: {integrity: sha512-9z76mxwnwFxMyxZWEgdgECQglF2Q7cFLm0kMf8pGwt+GSJsY0cONKj/UuO4bOH0w/uAel3ekS4ra5CEAyJRmDA==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 + '@babel/core': 7.24.7 + '@babel/helper-annotate-as-pure': 7.24.7 + '@babel/helper-create-class-features-plugin': 7.24.7(@babel/core@7.24.7) + '@babel/helper-plugin-utils': 7.24.7 + '@babel/plugin-syntax-private-property-in-object': 7.14.5(@babel/core@7.24.7) + transitivePeerDependencies: + - supports-color dev: true - /@babel/plugin-transform-react-jsx-self@7.23.3(@babel/core@7.23.9): - resolution: {integrity: sha512-qXRvbeKDSfwnlJnanVRp0SfuWE5DQhwQr5xtLBzp56Wabyo+4CMosF6Kfp+eOD/4FYpql64XVJ2W0pVLlJZxOQ==} + /@babel/plugin-transform-property-literals@7.24.7(@babel/core@7.24.7): + resolution: {integrity: sha512-EMi4MLQSHfd2nrCqQEWxFdha2gBCqU4ZcCng4WBGZ5CJL4bBRW0ptdqqDdeirGZcpALazVVNJqRmsO8/+oNCBA==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 + '@babel/core': 7.24.7 + '@babel/helper-plugin-utils': 7.24.7 dev: true - /@babel/plugin-transform-react-jsx-source@7.22.5(@babel/core@7.23.9): - resolution: {integrity: sha512-yIiRO6yobeEIaI0RTbIr8iAK9FcBHLtZq0S89ZPjDLQXBA4xvghaKqI0etp/tF3htTM0sazJKKLz9oEiGRtu7w==} + /@babel/plugin-transform-react-jsx-self@7.24.7(@babel/core@7.24.7): + resolution: {integrity: sha512-fOPQYbGSgH0HUp4UJO4sMBFjY6DuWq+2i8rixyUMb3CdGixs/gccURvYOAhajBdKDoGajFr3mUq5rH3phtkGzw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 + '@babel/core': 7.24.7 + '@babel/helper-plugin-utils': 7.24.7 dev: true - /@babel/plugin-transform-react-jsx-source@7.23.3(@babel/core@7.23.9): - resolution: {integrity: sha512-91RS0MDnAWDNvGC6Wio5XYkyWI39FMFO+JK9+4AlgaTH+yWwVTsw7/sn6LK0lH7c5F+TFkpv/3LfCJ1Ydwof/g==} + /@babel/plugin-transform-react-jsx-source@7.24.7(@babel/core@7.24.7): + resolution: {integrity: sha512-J2z+MWzZHVOemyLweMqngXrgGC42jQ//R0KdxqkIz/OrbVIIlhFI3WigZ5fO+nwFvBlncr4MGapd8vTyc7RPNQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 + '@babel/core': 7.24.7 + '@babel/helper-plugin-utils': 7.24.7 dev: true - /@babel/plugin-transform-regenerator@7.22.10(@babel/core@7.23.9): - resolution: {integrity: sha512-F28b1mDt8KcT5bUyJc/U9nwzw6cV+UmTeRlXYIl2TNqMMJif0Jeey9/RQ3C4NOd2zp0/TRsDns9ttj2L523rsw==} + /@babel/plugin-transform-regenerator@7.24.7(@babel/core@7.24.7): + resolution: {integrity: sha512-lq3fvXPdimDrlg6LWBoqj+r/DEWgONuwjuOuQCSYgRroXDH/IdM1C0IZf59fL5cHLpjEH/O6opIRBbqv7ELnuA==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 + '@babel/core': 7.24.7 + '@babel/helper-plugin-utils': 7.24.7 regenerator-transform: 0.15.2 dev: true - /@babel/plugin-transform-reserved-words@7.22.5(@babel/core@7.23.9): - resolution: {integrity: sha512-DTtGKFRQUDm8svigJzZHzb/2xatPc6TzNvAIJ5GqOKDsGFYgAskjRulbR/vGsPKq3OPqtexnz327qYpP57RFyA==} + /@babel/plugin-transform-reserved-words@7.24.7(@babel/core@7.24.7): + resolution: {integrity: sha512-0DUq0pHcPKbjFZCfTss/pGkYMfy3vFWydkUBd9r0GHpIyfs2eCDENvqadMycRS9wZCXR41wucAfJHJmwA0UmoQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 + '@babel/core': 7.24.7 + '@babel/helper-plugin-utils': 7.24.7 dev: true - /@babel/plugin-transform-shorthand-properties@7.22.5(@babel/core@7.23.9): - resolution: {integrity: sha512-vM4fq9IXHscXVKzDv5itkO1X52SmdFBFcMIBZ2FRn2nqVYqw6dBexUgMvAjHW+KXpPPViD/Yo3GrDEBaRC0QYA==} + /@babel/plugin-transform-shorthand-properties@7.24.7(@babel/core@7.24.7): + resolution: {integrity: sha512-KsDsevZMDsigzbA09+vacnLpmPH4aWjcZjXdyFKGzpplxhbeB4wYtury3vglQkg6KM/xEPKt73eCjPPf1PgXBA==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 + '@babel/core': 7.24.7 + '@babel/helper-plugin-utils': 7.24.7 dev: true - /@babel/plugin-transform-spread@7.22.5(@babel/core@7.23.9): - resolution: {integrity: sha512-5ZzDQIGyvN4w8+dMmpohL6MBo+l2G7tfC/O2Dg7/hjpgeWvUx8FzfeOKxGog9IimPa4YekaQ9PlDqTLOljkcxg==} + /@babel/plugin-transform-spread@7.24.7(@babel/core@7.24.7): + resolution: {integrity: sha512-x96oO0I09dgMDxJaANcRyD4ellXFLLiWhuwDxKZX5g2rWP1bTPkBSwCYv96VDXVT1bD9aPj8tppr5ITIh8hBng==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 - '@babel/helper-skip-transparent-expression-wrappers': 7.22.5 + '@babel/core': 7.24.7 + '@babel/helper-plugin-utils': 7.24.7 + '@babel/helper-skip-transparent-expression-wrappers': 7.24.7 + transitivePeerDependencies: + - supports-color dev: true - /@babel/plugin-transform-sticky-regex@7.22.5(@babel/core@7.23.9): - resolution: {integrity: sha512-zf7LuNpHG0iEeiyCNwX4j3gDg1jgt1k3ZdXBKbZSoA3BbGQGvMiSvfbZRR3Dr3aeJe3ooWFZxOOG3IRStYp2Bw==} + /@babel/plugin-transform-sticky-regex@7.24.7(@babel/core@7.24.7): + resolution: {integrity: sha512-kHPSIJc9v24zEml5geKg9Mjx5ULpfncj0wRpYtxbvKyTtHCYDkVE3aHQ03FrpEo4gEe2vrJJS1Y9CJTaThA52g==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 + '@babel/core': 7.24.7 + '@babel/helper-plugin-utils': 7.24.7 dev: true - /@babel/plugin-transform-template-literals@7.22.5(@babel/core@7.23.9): - resolution: {integrity: sha512-5ciOehRNf+EyUeewo8NkbQiUs4d6ZxiHo6BcBcnFlgiJfu16q0bQUw9Jvo0b0gBKFG1SMhDSjeKXSYuJLeFSMA==} + /@babel/plugin-transform-template-literals@7.24.7(@babel/core@7.24.7): + resolution: {integrity: sha512-AfDTQmClklHCOLxtGoP7HkeMw56k1/bTQjwsfhL6pppo/M4TOBSq+jjBUBLmV/4oeFg4GWMavIl44ZeCtmmZTw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 + '@babel/core': 7.24.7 + '@babel/helper-plugin-utils': 7.24.7 dev: true - /@babel/plugin-transform-typeof-symbol@7.22.5(@babel/core@7.23.9): - resolution: {integrity: sha512-bYkI5lMzL4kPii4HHEEChkD0rkc+nvnlR6+o/qdqR6zrm0Sv/nodmyLhlq2DO0YKLUNd2VePmPRjJXSBh9OIdA==} + /@babel/plugin-transform-typeof-symbol@7.24.7(@babel/core@7.24.7): + resolution: {integrity: sha512-VtR8hDy7YLB7+Pet9IarXjg/zgCMSF+1mNS/EQEiEaUPoFXCVsHG64SIxcaaI2zJgRiv+YmgaQESUfWAdbjzgg==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 + '@babel/core': 7.24.7 + '@babel/helper-plugin-utils': 7.24.7 dev: true - /@babel/plugin-transform-typescript@7.22.15(@babel/core@7.23.9): - resolution: {integrity: sha512-1uirS0TnijxvQLnlv5wQBwOX3E1wCFX7ITv+9pBV2wKEk4K+M5tqDaoNXnTH8tjEIYHLO98MwiTWO04Ggz4XuA==} + /@babel/plugin-transform-typescript@7.24.7(@babel/core@7.24.7): + resolution: {integrity: sha512-iLD3UNkgx2n/HrjBesVbYX6j0yqn/sJktvbtKKgcaLIQ4bTTQ8obAypc1VpyHPD2y4Phh9zHOaAt8e/L14wCpw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-annotate-as-pure': 7.22.5 - '@babel/helper-create-class-features-plugin': 7.22.15(@babel/core@7.23.9) - '@babel/helper-plugin-utils': 7.22.5 - '@babel/plugin-syntax-typescript': 7.22.5(@babel/core@7.23.9) + '@babel/core': 7.24.7 + '@babel/helper-annotate-as-pure': 7.24.7 + '@babel/helper-create-class-features-plugin': 7.24.7(@babel/core@7.24.7) + '@babel/helper-plugin-utils': 7.24.7 + '@babel/plugin-syntax-typescript': 7.24.7(@babel/core@7.24.7) + transitivePeerDependencies: + - supports-color dev: true - /@babel/plugin-transform-unicode-escapes@7.22.10(@babel/core@7.23.9): - resolution: {integrity: sha512-lRfaRKGZCBqDlRU3UIFovdp9c9mEvlylmpod0/OatICsSfuQ9YFthRo1tpTkGsklEefZdqlEFdY4A2dwTb6ohg==} + /@babel/plugin-transform-unicode-escapes@7.24.7(@babel/core@7.24.7): + resolution: {integrity: sha512-U3ap1gm5+4edc2Q/P+9VrBNhGkfnf+8ZqppY71Bo/pzZmXhhLdqgaUl6cuB07O1+AQJtCLfaOmswiNbSQ9ivhw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 + '@babel/core': 7.24.7 + '@babel/helper-plugin-utils': 7.24.7 dev: true - /@babel/plugin-transform-unicode-property-regex@7.22.5(@babel/core@7.23.9): - resolution: {integrity: sha512-HCCIb+CbJIAE6sXn5CjFQXMwkCClcOfPCzTlilJ8cUatfzwHlWQkbtV0zD338u9dZskwvuOYTuuaMaA8J5EI5A==} + /@babel/plugin-transform-unicode-property-regex@7.24.7(@babel/core@7.24.7): + resolution: {integrity: sha512-uH2O4OV5M9FZYQrwc7NdVmMxQJOCCzFeYudlZSzUAHRFeOujQefa92E74TQDVskNHCzOXoigEuoyzHDhaEaK5w==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-create-regexp-features-plugin': 7.22.15(@babel/core@7.23.9) - '@babel/helper-plugin-utils': 7.22.5 + '@babel/core': 7.24.7 + '@babel/helper-create-regexp-features-plugin': 7.24.7(@babel/core@7.24.7) + '@babel/helper-plugin-utils': 7.24.7 dev: true - /@babel/plugin-transform-unicode-regex@7.22.5(@babel/core@7.23.9): - resolution: {integrity: sha512-028laaOKptN5vHJf9/Arr/HiJekMd41hOEZYvNsrsXqJ7YPYuX2bQxh31fkZzGmq3YqHRJzYFFAVYvKfMPKqyg==} + /@babel/plugin-transform-unicode-regex@7.24.7(@babel/core@7.24.7): + resolution: {integrity: sha512-hlQ96MBZSAXUq7ltkjtu3FJCCSMx/j629ns3hA3pXnBXjanNP0LHi+JpPeA81zaWgVK1VGH95Xuy7u0RyQ8kMg==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-create-regexp-features-plugin': 7.22.15(@babel/core@7.23.9) - '@babel/helper-plugin-utils': 7.22.5 + '@babel/core': 7.24.7 + '@babel/helper-create-regexp-features-plugin': 7.24.7(@babel/core@7.24.7) + '@babel/helper-plugin-utils': 7.24.7 dev: true - /@babel/plugin-transform-unicode-sets-regex@7.22.5(@babel/core@7.23.9): - resolution: {integrity: sha512-lhMfi4FC15j13eKrh3DnYHjpGj6UKQHtNKTbtc1igvAhRy4+kLhV07OpLcsN0VgDEw/MjAvJO4BdMJsHwMhzCg==} + /@babel/plugin-transform-unicode-sets-regex@7.24.7(@babel/core@7.24.7): + resolution: {integrity: sha512-2G8aAvF4wy1w/AGZkemprdGMRg5o6zPNhbHVImRz3lss55TYCBd6xStN19rt8XJHq20sqV0JbyWjOWwQRwV/wg==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-create-regexp-features-plugin': 7.22.15(@babel/core@7.23.9) - '@babel/helper-plugin-utils': 7.22.5 + '@babel/core': 7.24.7 + '@babel/helper-create-regexp-features-plugin': 7.24.7(@babel/core@7.24.7) + '@babel/helper-plugin-utils': 7.24.7 dev: true - /@babel/preset-env@7.22.20(@babel/core@7.23.9): - resolution: {integrity: sha512-11MY04gGC4kSzlPHRfvVkNAZhUxOvm7DCJ37hPDnUENwe06npjIRAfInEMTGSb4LZK5ZgDFkv5hw0lGebHeTyg==} + /@babel/preset-env@7.24.7(@babel/core@7.24.7): + resolution: {integrity: sha512-1YZNsc+y6cTvWlDHidMBsQZrZfEFjRIo/BZCT906PMdzOyXtSLTgqGdrpcuTDCXyd11Am5uQULtDIcCfnTc8fQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/compat-data': 7.22.20 - '@babel/core': 7.23.9 - '@babel/helper-compilation-targets': 7.23.6 - '@babel/helper-plugin-utils': 7.22.5 - '@babel/helper-validator-option': 7.22.15 - '@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression': 7.22.15(@babel/core@7.23.9) - '@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining': 7.22.15(@babel/core@7.23.9) - '@babel/plugin-proposal-private-property-in-object': 7.21.0-placeholder-for-preset-env.2(@babel/core@7.23.9) - '@babel/plugin-syntax-async-generators': 7.8.4(@babel/core@7.23.9) - '@babel/plugin-syntax-class-properties': 7.12.13(@babel/core@7.23.9) - '@babel/plugin-syntax-class-static-block': 7.14.5(@babel/core@7.23.9) - '@babel/plugin-syntax-dynamic-import': 7.8.3(@babel/core@7.23.9) - '@babel/plugin-syntax-export-namespace-from': 7.8.3(@babel/core@7.23.9) - '@babel/plugin-syntax-import-assertions': 7.22.5(@babel/core@7.23.9) - '@babel/plugin-syntax-import-attributes': 7.22.5(@babel/core@7.23.9) - '@babel/plugin-syntax-import-meta': 7.10.4(@babel/core@7.23.9) - '@babel/plugin-syntax-json-strings': 7.8.3(@babel/core@7.23.9) - '@babel/plugin-syntax-logical-assignment-operators': 7.10.4(@babel/core@7.23.9) - '@babel/plugin-syntax-nullish-coalescing-operator': 7.8.3(@babel/core@7.23.9) - '@babel/plugin-syntax-numeric-separator': 7.10.4(@babel/core@7.23.9) - '@babel/plugin-syntax-object-rest-spread': 7.8.3(@babel/core@7.23.9) - '@babel/plugin-syntax-optional-catch-binding': 7.8.3(@babel/core@7.23.9) - '@babel/plugin-syntax-optional-chaining': 7.8.3(@babel/core@7.23.9) - '@babel/plugin-syntax-private-property-in-object': 7.14.5(@babel/core@7.23.9) - '@babel/plugin-syntax-top-level-await': 7.14.5(@babel/core@7.23.9) - '@babel/plugin-syntax-unicode-sets-regex': 7.18.6(@babel/core@7.23.9) - '@babel/plugin-transform-arrow-functions': 7.22.5(@babel/core@7.23.9) - '@babel/plugin-transform-async-generator-functions': 7.22.15(@babel/core@7.23.9) - '@babel/plugin-transform-async-to-generator': 7.22.5(@babel/core@7.23.9) - '@babel/plugin-transform-block-scoped-functions': 7.22.5(@babel/core@7.23.9) - '@babel/plugin-transform-block-scoping': 7.23.0(@babel/core@7.23.9) - '@babel/plugin-transform-class-properties': 7.22.5(@babel/core@7.23.9) - '@babel/plugin-transform-class-static-block': 7.22.11(@babel/core@7.23.9) - '@babel/plugin-transform-classes': 7.22.15(@babel/core@7.23.9) - '@babel/plugin-transform-computed-properties': 7.22.5(@babel/core@7.23.9) - '@babel/plugin-transform-destructuring': 7.23.0(@babel/core@7.23.9) - '@babel/plugin-transform-dotall-regex': 7.22.5(@babel/core@7.23.9) - '@babel/plugin-transform-duplicate-keys': 7.22.5(@babel/core@7.23.9) - '@babel/plugin-transform-dynamic-import': 7.22.11(@babel/core@7.23.9) - '@babel/plugin-transform-exponentiation-operator': 7.22.5(@babel/core@7.23.9) - '@babel/plugin-transform-export-namespace-from': 7.22.11(@babel/core@7.23.9) - '@babel/plugin-transform-for-of': 7.22.15(@babel/core@7.23.9) - '@babel/plugin-transform-function-name': 7.22.5(@babel/core@7.23.9) - '@babel/plugin-transform-json-strings': 7.22.11(@babel/core@7.23.9) - '@babel/plugin-transform-literals': 7.22.5(@babel/core@7.23.9) - '@babel/plugin-transform-logical-assignment-operators': 7.22.11(@babel/core@7.23.9) - '@babel/plugin-transform-member-expression-literals': 7.22.5(@babel/core@7.23.9) - '@babel/plugin-transform-modules-amd': 7.23.0(@babel/core@7.23.9) - '@babel/plugin-transform-modules-commonjs': 7.23.0(@babel/core@7.23.9) - '@babel/plugin-transform-modules-systemjs': 7.23.0(@babel/core@7.23.9) - '@babel/plugin-transform-modules-umd': 7.22.5(@babel/core@7.23.9) - '@babel/plugin-transform-named-capturing-groups-regex': 7.22.5(@babel/core@7.23.9) - '@babel/plugin-transform-new-target': 7.22.5(@babel/core@7.23.9) - '@babel/plugin-transform-nullish-coalescing-operator': 7.22.11(@babel/core@7.23.9) - '@babel/plugin-transform-numeric-separator': 7.22.11(@babel/core@7.23.9) - '@babel/plugin-transform-object-rest-spread': 7.22.15(@babel/core@7.23.9) - '@babel/plugin-transform-object-super': 7.22.5(@babel/core@7.23.9) - '@babel/plugin-transform-optional-catch-binding': 7.22.11(@babel/core@7.23.9) - '@babel/plugin-transform-optional-chaining': 7.23.0(@babel/core@7.23.9) - '@babel/plugin-transform-parameters': 7.22.15(@babel/core@7.23.9) - '@babel/plugin-transform-private-methods': 7.22.5(@babel/core@7.23.9) - '@babel/plugin-transform-private-property-in-object': 7.22.11(@babel/core@7.23.9) - '@babel/plugin-transform-property-literals': 7.22.5(@babel/core@7.23.9) - '@babel/plugin-transform-regenerator': 7.22.10(@babel/core@7.23.9) - '@babel/plugin-transform-reserved-words': 7.22.5(@babel/core@7.23.9) - '@babel/plugin-transform-shorthand-properties': 7.22.5(@babel/core@7.23.9) - '@babel/plugin-transform-spread': 7.22.5(@babel/core@7.23.9) - '@babel/plugin-transform-sticky-regex': 7.22.5(@babel/core@7.23.9) - '@babel/plugin-transform-template-literals': 7.22.5(@babel/core@7.23.9) - '@babel/plugin-transform-typeof-symbol': 7.22.5(@babel/core@7.23.9) - '@babel/plugin-transform-unicode-escapes': 7.22.10(@babel/core@7.23.9) - '@babel/plugin-transform-unicode-property-regex': 7.22.5(@babel/core@7.23.9) - '@babel/plugin-transform-unicode-regex': 7.22.5(@babel/core@7.23.9) - '@babel/plugin-transform-unicode-sets-regex': 7.22.5(@babel/core@7.23.9) - '@babel/preset-modules': 0.1.6-no-external-plugins(@babel/core@7.23.9) - '@babel/types': 7.23.9 - babel-plugin-polyfill-corejs2: 0.4.5(@babel/core@7.23.9) - babel-plugin-polyfill-corejs3: 0.8.4(@babel/core@7.23.9) - babel-plugin-polyfill-regenerator: 0.5.2(@babel/core@7.23.9) - core-js-compat: 3.33.0 + '@babel/compat-data': 7.24.7 + '@babel/core': 7.24.7 + '@babel/helper-compilation-targets': 7.24.7 + '@babel/helper-plugin-utils': 7.24.7 + '@babel/helper-validator-option': 7.24.7 + '@babel/plugin-bugfix-firefox-class-in-computed-class-key': 7.24.7(@babel/core@7.24.7) + '@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression': 7.24.7(@babel/core@7.24.7) + '@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining': 7.24.7(@babel/core@7.24.7) + '@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly': 7.24.7(@babel/core@7.24.7) + '@babel/plugin-proposal-private-property-in-object': 7.21.0-placeholder-for-preset-env.2(@babel/core@7.24.7) + '@babel/plugin-syntax-async-generators': 7.8.4(@babel/core@7.24.7) + '@babel/plugin-syntax-class-properties': 7.12.13(@babel/core@7.24.7) + '@babel/plugin-syntax-class-static-block': 7.14.5(@babel/core@7.24.7) + '@babel/plugin-syntax-dynamic-import': 7.8.3(@babel/core@7.24.7) + '@babel/plugin-syntax-export-namespace-from': 7.8.3(@babel/core@7.24.7) + '@babel/plugin-syntax-import-assertions': 7.24.7(@babel/core@7.24.7) + '@babel/plugin-syntax-import-attributes': 7.24.7(@babel/core@7.24.7) + '@babel/plugin-syntax-import-meta': 7.10.4(@babel/core@7.24.7) + '@babel/plugin-syntax-json-strings': 7.8.3(@babel/core@7.24.7) + '@babel/plugin-syntax-logical-assignment-operators': 7.10.4(@babel/core@7.24.7) + '@babel/plugin-syntax-nullish-coalescing-operator': 7.8.3(@babel/core@7.24.7) + '@babel/plugin-syntax-numeric-separator': 7.10.4(@babel/core@7.24.7) + '@babel/plugin-syntax-object-rest-spread': 7.8.3(@babel/core@7.24.7) + '@babel/plugin-syntax-optional-catch-binding': 7.8.3(@babel/core@7.24.7) + '@babel/plugin-syntax-optional-chaining': 7.8.3(@babel/core@7.24.7) + '@babel/plugin-syntax-private-property-in-object': 7.14.5(@babel/core@7.24.7) + '@babel/plugin-syntax-top-level-await': 7.14.5(@babel/core@7.24.7) + '@babel/plugin-syntax-unicode-sets-regex': 7.18.6(@babel/core@7.24.7) + '@babel/plugin-transform-arrow-functions': 7.24.7(@babel/core@7.24.7) + '@babel/plugin-transform-async-generator-functions': 7.24.7(@babel/core@7.24.7) + '@babel/plugin-transform-async-to-generator': 7.24.7(@babel/core@7.24.7) + '@babel/plugin-transform-block-scoped-functions': 7.24.7(@babel/core@7.24.7) + '@babel/plugin-transform-block-scoping': 7.24.7(@babel/core@7.24.7) + '@babel/plugin-transform-class-properties': 7.24.7(@babel/core@7.24.7) + '@babel/plugin-transform-class-static-block': 7.24.7(@babel/core@7.24.7) + '@babel/plugin-transform-classes': 7.24.7(@babel/core@7.24.7) + '@babel/plugin-transform-computed-properties': 7.24.7(@babel/core@7.24.7) + '@babel/plugin-transform-destructuring': 7.24.7(@babel/core@7.24.7) + '@babel/plugin-transform-dotall-regex': 7.24.7(@babel/core@7.24.7) + '@babel/plugin-transform-duplicate-keys': 7.24.7(@babel/core@7.24.7) + '@babel/plugin-transform-dynamic-import': 7.24.7(@babel/core@7.24.7) + '@babel/plugin-transform-exponentiation-operator': 7.24.7(@babel/core@7.24.7) + '@babel/plugin-transform-export-namespace-from': 7.24.7(@babel/core@7.24.7) + '@babel/plugin-transform-for-of': 7.24.7(@babel/core@7.24.7) + '@babel/plugin-transform-function-name': 7.24.7(@babel/core@7.24.7) + '@babel/plugin-transform-json-strings': 7.24.7(@babel/core@7.24.7) + '@babel/plugin-transform-literals': 7.24.7(@babel/core@7.24.7) + '@babel/plugin-transform-logical-assignment-operators': 7.24.7(@babel/core@7.24.7) + '@babel/plugin-transform-member-expression-literals': 7.24.7(@babel/core@7.24.7) + '@babel/plugin-transform-modules-amd': 7.24.7(@babel/core@7.24.7) + '@babel/plugin-transform-modules-commonjs': 7.24.7(@babel/core@7.24.7) + '@babel/plugin-transform-modules-systemjs': 7.24.7(@babel/core@7.24.7) + '@babel/plugin-transform-modules-umd': 7.24.7(@babel/core@7.24.7) + '@babel/plugin-transform-named-capturing-groups-regex': 7.24.7(@babel/core@7.24.7) + '@babel/plugin-transform-new-target': 7.24.7(@babel/core@7.24.7) + '@babel/plugin-transform-nullish-coalescing-operator': 7.24.7(@babel/core@7.24.7) + '@babel/plugin-transform-numeric-separator': 7.24.7(@babel/core@7.24.7) + '@babel/plugin-transform-object-rest-spread': 7.24.7(@babel/core@7.24.7) + '@babel/plugin-transform-object-super': 7.24.7(@babel/core@7.24.7) + '@babel/plugin-transform-optional-catch-binding': 7.24.7(@babel/core@7.24.7) + '@babel/plugin-transform-optional-chaining': 7.24.7(@babel/core@7.24.7) + '@babel/plugin-transform-parameters': 7.24.7(@babel/core@7.24.7) + '@babel/plugin-transform-private-methods': 7.24.7(@babel/core@7.24.7) + '@babel/plugin-transform-private-property-in-object': 7.24.7(@babel/core@7.24.7) + '@babel/plugin-transform-property-literals': 7.24.7(@babel/core@7.24.7) + '@babel/plugin-transform-regenerator': 7.24.7(@babel/core@7.24.7) + '@babel/plugin-transform-reserved-words': 7.24.7(@babel/core@7.24.7) + '@babel/plugin-transform-shorthand-properties': 7.24.7(@babel/core@7.24.7) + '@babel/plugin-transform-spread': 7.24.7(@babel/core@7.24.7) + '@babel/plugin-transform-sticky-regex': 7.24.7(@babel/core@7.24.7) + '@babel/plugin-transform-template-literals': 7.24.7(@babel/core@7.24.7) + '@babel/plugin-transform-typeof-symbol': 7.24.7(@babel/core@7.24.7) + '@babel/plugin-transform-unicode-escapes': 7.24.7(@babel/core@7.24.7) + '@babel/plugin-transform-unicode-property-regex': 7.24.7(@babel/core@7.24.7) + '@babel/plugin-transform-unicode-regex': 7.24.7(@babel/core@7.24.7) + '@babel/plugin-transform-unicode-sets-regex': 7.24.7(@babel/core@7.24.7) + '@babel/preset-modules': 0.1.6-no-external-plugins(@babel/core@7.24.7) + babel-plugin-polyfill-corejs2: 0.4.11(@babel/core@7.24.7) + babel-plugin-polyfill-corejs3: 0.10.4(@babel/core@7.24.7) + babel-plugin-polyfill-regenerator: 0.6.2(@babel/core@7.24.7) + core-js-compat: 3.37.1 semver: 6.3.1 transitivePeerDependencies: - supports-color dev: true - /@babel/preset-flow@7.22.15(@babel/core@7.23.9): - resolution: {integrity: sha512-dB5aIMqpkgbTfN5vDdTRPzjqtWiZcRESNR88QYnoPR+bmdYoluOzMX9tQerTv0XzSgZYctPfO1oc0N5zdog1ew==} + /@babel/preset-flow@7.24.7(@babel/core@7.24.7): + resolution: {integrity: sha512-NL3Lo0NorCU607zU3NwRyJbpaB6E3t0xtd3LfAQKDfkeX4/ggcDXvkmkW42QWT5owUeW/jAe4hn+2qvkV1IbfQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 - '@babel/helper-validator-option': 7.23.5 - '@babel/plugin-transform-flow-strip-types': 7.22.5(@babel/core@7.23.9) + '@babel/core': 7.24.7 + '@babel/helper-plugin-utils': 7.24.7 + '@babel/helper-validator-option': 7.24.7 + '@babel/plugin-transform-flow-strip-types': 7.24.7(@babel/core@7.24.7) dev: true - /@babel/preset-modules@0.1.6-no-external-plugins(@babel/core@7.23.9): + /@babel/preset-modules@0.1.6-no-external-plugins(@babel/core@7.24.7): resolution: {integrity: sha512-HrcgcIESLm9aIR842yhJ5RWan/gebQUJ6E/E5+rf0y9o6oj7w0Br+sWuL6kEQ/o/AdfvR1Je9jG18/gnpwjEyA==} peerDependencies: '@babel/core': ^7.0.0-0 || ^8.0.0-0 <8.0.0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 - '@babel/types': 7.23.9 + '@babel/core': 7.24.7 + '@babel/helper-plugin-utils': 7.24.7 + '@babel/types': 7.24.7 esutils: 2.0.3 dev: true - /@babel/preset-typescript@7.23.0(@babel/core@7.23.9): - resolution: {integrity: sha512-6P6VVa/NM/VlAYj5s2Aq/gdVg8FSENCg3wlZ6Qau9AcPaoF5LbN1nyGlR9DTRIw9PpxI94e+ReydsJHcjwAweg==} + /@babel/preset-typescript@7.24.7(@babel/core@7.24.7): + resolution: {integrity: sha512-SyXRe3OdWwIwalxDg5UtJnJQO+YPcTfwiIY2B0Xlddh9o7jpWLvv8X1RthIeDOxQ+O1ML5BLPCONToObyVQVuQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 - '@babel/helper-validator-option': 7.23.5 - '@babel/plugin-syntax-jsx': 7.22.5(@babel/core@7.23.9) - '@babel/plugin-transform-modules-commonjs': 7.23.0(@babel/core@7.23.9) - '@babel/plugin-transform-typescript': 7.22.15(@babel/core@7.23.9) + '@babel/core': 7.24.7 + '@babel/helper-plugin-utils': 7.24.7 + '@babel/helper-validator-option': 7.24.7 + '@babel/plugin-syntax-jsx': 7.24.7(@babel/core@7.24.7) + '@babel/plugin-transform-modules-commonjs': 7.24.7(@babel/core@7.24.7) + '@babel/plugin-transform-typescript': 7.24.7(@babel/core@7.24.7) + transitivePeerDependencies: + - supports-color dev: true - /@babel/register@7.22.15(@babel/core@7.23.9): - resolution: {integrity: sha512-V3Q3EqoQdn65RCgTLwauZaTfd1ShhwPmbBv+1dkZV/HpCGMKVyn6oFcRlI7RaKqiDQjX2Qd3AuoEguBgdjIKlg==} + /@babel/register@7.24.6(@babel/core@7.24.7): + resolution: {integrity: sha512-WSuFCc2wCqMeXkz/i3yfAAsxwWflEgbVkZzivgAmXl/MxrXeoYFZOOPllbC8R8WTF7u61wSRQtDVZ1879cdu6w==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 + '@babel/core': 7.24.7 clone-deep: 4.0.1 find-cache-dir: 2.1.0 make-dir: 2.1.0 @@ -4966,72 +4961,54 @@ packages: resolution: {integrity: sha512-x/rqGMdzj+fWZvCOYForTghzbtqPDZ5gPwaoNGHdgDfF2QA/XZbCBp4Moo5scrkAMPhB7z26XM/AaHuIJdgauA==} dev: true - /@babel/runtime@7.23.1: - resolution: {integrity: sha512-hC2v6p8ZSI/W0HUzh3V8C5g+NwSKzKPtJwSpTjwl0o297GP9+ZLQSkdvHz46CM3LqyoXxq+5G9komY+eSqSO0g==} + /@babel/runtime@7.24.7: + resolution: {integrity: sha512-UwgBRMjJP+xv857DCngvqXI3Iq6J4v0wXmwc6sapg+zyhbwmQX67LUEFrkK5tbyJ30jGuG3ZvWpBiB9LCy1kWw==} engines: {node: '>=6.9.0'} dependencies: - regenerator-runtime: 0.14.0 + regenerator-runtime: 0.14.1 - /@babel/template@7.22.15: - resolution: {integrity: sha512-QPErUVm4uyJa60rkI73qneDacvdvzxshT3kksGqlGWYdOTIUOwJ7RDUL8sGqslY1uXWSL6xMFKEXDS3ox2uF0w==} + /@babel/template@7.24.0: + resolution: {integrity: sha512-Bkf2q8lMB0AFpX0NFEqSbx1OkTHf0f+0j82mkw+ZpzBnkk7e9Ql0891vlfgi+kHwOk8tQjiQHpqh4LaSa0fKEA==} engines: {node: '>=6.9.0'} dependencies: - '@babel/code-frame': 7.23.5 - '@babel/parser': 7.23.9 - '@babel/types': 7.23.9 + '@babel/code-frame': 7.24.7 + '@babel/parser': 7.24.7 + '@babel/types': 7.24.7 dev: true - /@babel/template@7.23.9: - resolution: {integrity: sha512-+xrD2BWLpvHKNmX2QbpdpsBaWnRxahMwJjO+KZk2JOElj5nSmKezyS1B4u+QbHMTX69t4ukm6hh9lsYQ7GHCKA==} + /@babel/template@7.24.7: + resolution: {integrity: sha512-jYqfPrU9JTF0PmPy1tLYHW4Mp4KlgxJD9l2nP9fD6yT/ICi554DmrWBAEYpIelzjHf1msDP3PxJIRt/nFNfBig==} engines: {node: '>=6.9.0'} dependencies: - '@babel/code-frame': 7.23.5 - '@babel/parser': 7.23.9 - '@babel/types': 7.23.9 + '@babel/code-frame': 7.24.7 + '@babel/parser': 7.24.7 + '@babel/types': 7.24.7 dev: true - /@babel/traverse@7.23.9: - resolution: {integrity: sha512-I/4UJ9vs90OkBtY6iiiTORVMyIhJ4kAVmsKo9KFc8UOxMeUfi2hvtIBsET5u9GizXE6/GFSuKCTNfgCswuEjRg==} + /@babel/traverse@7.24.7: + resolution: {integrity: sha512-yb65Ed5S/QAcewNPh0nZczy9JdYXkkAbIsEo+P7BE7yO3txAY30Y/oPa3QkQ5It3xVG2kpKMg9MsdxZaO31uKA==} engines: {node: '>=6.9.0'} dependencies: - '@babel/code-frame': 7.23.5 - '@babel/generator': 7.23.6 - '@babel/helper-environment-visitor': 7.22.20 - '@babel/helper-function-name': 7.23.0 - '@babel/helper-hoist-variables': 7.22.5 - '@babel/helper-split-export-declaration': 7.22.6 - '@babel/parser': 7.23.9 - '@babel/types': 7.23.9 - debug: 4.3.4(supports-color@5.5.0) + '@babel/code-frame': 7.24.7 + '@babel/generator': 7.24.7 + '@babel/helper-environment-visitor': 7.24.7 + '@babel/helper-function-name': 7.24.7 + '@babel/helper-hoist-variables': 7.24.7 + '@babel/helper-split-export-declaration': 7.24.7 + '@babel/parser': 7.24.7 + '@babel/types': 7.24.7 + debug: 4.3.5(supports-color@5.5.0) globals: 11.12.0 transitivePeerDependencies: - supports-color dev: true - /@babel/types@7.23.0: - resolution: {integrity: sha512-0oIyUfKoI3mSqMvsxBdclDwxXKXAUA8v/apZbc+iSyARYou1o8ZGDxbUYyLFoW2arqS2jDGqJuZvv1d/io1axg==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/helper-string-parser': 7.22.5 - '@babel/helper-validator-identifier': 7.22.20 - to-fast-properties: 2.0.0 - dev: true - - /@babel/types@7.23.6: - resolution: {integrity: sha512-+uarb83brBzPKN38NX1MkB6vb6+mwvR6amUulqAE7ccQw1pEl+bCia9TbdG1lsnFP7lZySvUn37CHyXQdfTwzg==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/helper-string-parser': 7.23.4 - '@babel/helper-validator-identifier': 7.22.20 - to-fast-properties: 2.0.0 - dev: true - - /@babel/types@7.23.9: - resolution: {integrity: sha512-dQjSq/7HaSjRM43FFGnv5keM2HsxpmyV1PfaSVm0nzzjwwTmjOe6J4bC8e3+pTEIgHaHj+1ZlLThRJ2auc/w1Q==} + /@babel/types@7.24.0: + resolution: {integrity: sha512-+j7a5c253RfKh8iABBhywc8NSfP5LURe7Uh4qpsh6jc+aLJguvmIUBdjSdEMQv2bENrCR5MfRdjGo7vzS/ob7w==} engines: {node: '>=6.9.0'} dependencies: - '@babel/helper-string-parser': 7.23.4 - '@babel/helper-validator-identifier': 7.22.20 + '@babel/helper-string-parser': 7.24.7 + '@babel/helper-validator-identifier': 7.24.7 to-fast-properties: 2.0.0 dev: true @@ -5052,29 +5029,29 @@ packages: resolution: {integrity: sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==} dev: true - /@cdktf/cli-core@0.20.3(react@17.0.2): - resolution: {integrity: sha512-FlxQC7VFmOvYV/0CAd3BRP45nvrjFu1QEfr0OuS0YfyBpF/GG1FCBm1D7hepfqkxbvpGUxglI/JhCoI9IYQ54Q==} + /@cdktf/cli-core@0.20.7(jsii-rosetta@5.4.23)(react@17.0.2): + resolution: {integrity: sha512-KGTRZ68PHUfiW75GkwOIetp2N9tjIdmTHwmt773jwlNFbi+OMaOEm07XQjtIz2AcuvLpx9u4N0u/uI4T+JfwSg==} dependencies: - '@cdktf/commons': 0.20.3(constructs@10.1.167) - '@cdktf/hcl-tools': 0.20.3 - '@cdktf/hcl2cdk': 0.20.3(constructs@10.1.167) - '@cdktf/hcl2json': 0.20.3 + '@cdktf/commons': 0.20.7(constructs@10.1.167) + '@cdktf/hcl-tools': 0.20.7 + '@cdktf/hcl2cdk': 0.20.7(constructs@10.1.167) + '@cdktf/hcl2json': 0.20.7 '@cdktf/node-pty-prebuilt-multiarch': 0.10.1-pre.11 - '@cdktf/provider-schema': 0.20.3(constructs@10.1.167) - '@sentry/node': 7.91.0 + '@cdktf/provider-schema': 0.20.7(constructs@10.1.167) + '@sentry/node': 7.110.0 archiver: 5.3.2 - cdktf: 0.20.3(constructs@10.1.167) + cdktf: 0.20.7(constructs@10.1.167) chalk: 4.1.2 - chokidar: 3.5.3 + chokidar: 3.6.0 cli-spinners: 2.9.2 - codemaker: 1.93.0 + codemaker: 1.95.0 constructs: 10.1.167 cross-fetch: 3.1.8 cross-spawn: 7.0.3 detect-port: 1.5.1 execa: 5.1.1 extract-zip: 2.0.1 - follow-redirects: 1.15.4 + follow-redirects: 1.15.6 fs-extra: 8.1.0 https-proxy-agent: 5.0.1 indent-string: 4.0.0 @@ -5083,9 +5060,9 @@ packages: ink-spinner: 4.0.3(ink@3.2.0)(react@17.0.2) ink-testing-library: 2.1.0 ink-use-stdout-dimensions: 1.0.5(ink@3.2.0)(react@17.0.2) - jsii: 5.3.3 - jsii-pacmak: 1.93.0 - jsii-srcmak: 0.1.999 + jsii: 5.3.29 + jsii-pacmak: 1.95.0 + jsii-srcmak: 0.1.1039(jsii-rosetta@5.4.23) lodash.isequal: 4.5.0 log4js: 6.9.1 minimatch: 5.1.6 @@ -5093,7 +5070,7 @@ packages: open: 7.4.2 parse-gitignore: 1.0.1 pkg-up: 3.1.0 - semver: 7.5.4 + semver: 7.6.0 sscaff: 1.2.274 stream-buffers: 3.0.2 strip-ansi: 6.0.1 @@ -5109,20 +5086,21 @@ packages: - bufferutil - debug - encoding + - jsii-rosetta - react - supports-color - utf-8-validate dev: true - /@cdktf/commons@0.20.3(constructs@10.1.167): - resolution: {integrity: sha512-9vysGHMeUnvv5G59bBKGHs7Gh3XaW9gqfmDU4xIivwsTLmcFJERUQGDrHNB3DNgLLc8LCCOTN0FKte51Mx+VgA==} + /@cdktf/commons@0.20.7(constructs@10.1.167): + resolution: {integrity: sha512-X1HnLlJjKyOfoWTOIoUbm5cRxWIqKw2gtHs4QgDlTGZm9kc5lW1IbwMuEOv7B1IHFXFFRFwnYg03V56TuoEvqQ==} dependencies: - '@sentry/node': 7.94.1 - cdktf: 0.20.3(constructs@10.1.167) + '@sentry/node': 7.109.0 + cdktf: 0.20.7(constructs@10.1.167) ci-info: 3.9.0 - codemaker: 1.94.0 + codemaker: 1.95.0 cross-spawn: 7.0.3 - follow-redirects: 1.15.5 + follow-redirects: 1.15.6 fs-extra: 11.2.0 is-valid-domain: 0.1.6 log4js: 6.9.1 @@ -5134,28 +5112,28 @@ packages: - supports-color dev: true - /@cdktf/hcl-tools@0.20.3: - resolution: {integrity: sha512-S0i3XKSFVVRW16xvodbIC81/2WiEAySJQK3JttmMMgADWGs76j9aIiDOZzs0NF9EbLY4QkxgcPApO33l9EATLw==} + /@cdktf/hcl-tools@0.20.7: + resolution: {integrity: sha512-B/1/UqoCu9V40oV/qLsBRwqp/Q+0wQOcm7WtgZEKNEvNb+5y01E7UbWLoIvs3k7TX8pzHU9Bl1gACXtHbezpsw==} dev: true - /@cdktf/hcl2cdk@0.20.3(constructs@10.1.167): - resolution: {integrity: sha512-XXNDp52vIXh2revaaosE/e6TXY6SDoss48cCJ1FQjd5GJw9HdwAXEhQvCH59v7wAVokZk3NGEUybSXHq3zwCYA==} + /@cdktf/hcl2cdk@0.20.7(constructs@10.1.167): + resolution: {integrity: sha512-xGrVa/SxnLrYM8pSwRfvvAFaj7ak3B3xvuwhj9xTWKZ39f89sX4vPkTuJgoiwIG83iAIlNapUcqMQ0PeqogeBw==} dependencies: - '@babel/generator': 7.23.6 - '@babel/template': 7.22.15 - '@babel/types': 7.23.6 - '@cdktf/commons': 0.20.3(constructs@10.1.167) - '@cdktf/hcl2json': 0.20.3 - '@cdktf/provider-generator': 0.20.3(constructs@10.1.167) - '@cdktf/provider-schema': 0.20.3(constructs@10.1.167) + '@babel/generator': 7.24.4 + '@babel/template': 7.24.0 + '@babel/types': 7.24.0 + '@cdktf/commons': 0.20.7(constructs@10.1.167) + '@cdktf/hcl2json': 0.20.7 + '@cdktf/provider-generator': 0.20.7(constructs@10.1.167)(jsii-rosetta@5.3.28) + '@cdktf/provider-schema': 0.20.7(constructs@10.1.167) camelcase: 6.3.0 - cdktf: 0.20.3(constructs@10.1.167) - codemaker: 1.94.0 + cdktf: 0.20.7(constructs@10.1.167) + codemaker: 1.95.0 deep-equal: 2.2.3 - glob: 10.3.10 + glob: 10.3.12 graphology: 0.25.4(graphology-types@0.24.7) graphology-types: 0.24.7 - jsii-rosetta: 5.3.7 + jsii-rosetta: 5.3.28 prettier: 2.8.8 reserved-words: 0.1.2 zod: 3.22.4 @@ -5165,8 +5143,8 @@ packages: - supports-color dev: true - /@cdktf/hcl2json@0.20.3: - resolution: {integrity: sha512-GCq/GrVRXI0nR5gQM0LW7pxEA/tZav0dGQZGowHif/vXsMlOZjTh/F1ISVmDUCkNHV7pgbFmy6tDg7RtsiavXw==} + /@cdktf/hcl2json@0.20.7: + resolution: {integrity: sha512-325Swm3ySUEbscSIXrtrNOt0mJCyVTheD5SNuDTcMYLyTPQNgu/6LgKu36YQt0AKK3zUp+f56pEYMitpR9FmLQ==} dependencies: fs-extra: 11.2.0 dev: true @@ -5175,41 +5153,42 @@ packages: resolution: {integrity: sha512-qvga/nzEtdCJMu/6jJfDqpzbRejvXtNhWFnbubfuYyN5nMNORNXX+POT4j+mQSDQar5bIQ1a812szw/zr47cfw==} requiresBuild: true dependencies: - nan: 2.19.0 - prebuild-install: 7.1.1 + nan: 2.20.0 + prebuild-install: 7.1.2 dev: true - /@cdktf/provider-aws@19.3.0(cdktf@0.20.3)(constructs@10.3.0): - resolution: {integrity: sha512-8PyEnXfjUZslNwr0Nt+34AhBz9cMlC5LsvtauUaPbRh6BaSE45UX0w7ykG4Tzkx6/On0zrH23XdL31DWgLG3Ig==} + /@cdktf/provider-aws@19.23.0(cdktf@0.20.7)(constructs@10.3.0): + resolution: {integrity: sha512-BWM07KQuIwQhPreRVxN43s24Fn7jdkHV5nmNLwx/RpZjT/iTcbNIAW9uFFyfkAgL82wAjqZSDlbXREf0nM3asQ==} engines: {node: '>= 18.12.0'} peerDependencies: cdktf: ^0.20.0 constructs: ^10.3.0 dependencies: - cdktf: 0.20.3(constructs@10.3.0) + cdktf: 0.20.7(constructs@10.3.0) constructs: 10.3.0 - /@cdktf/provider-generator@0.20.3(constructs@10.1.167): - resolution: {integrity: sha512-PIu/7kK3YZk9YefCTqJ8OiSER2zojz1EvpeeOxpIj+m98iMB2fpIRAA0ytVzkC3ilbDRCLyQb6+SlMxgSnenYg==} + /@cdktf/provider-generator@0.20.7(constructs@10.1.167)(jsii-rosetta@5.3.28): + resolution: {integrity: sha512-O3ZyDp/q73Kg2zn/axA4V62c3QvaGEO44G94eiyi4z6GRokTVQ4eOlkpoqp3spejizhMkA8Lzq+OQ2cvsQygeA==} dependencies: - '@cdktf/commons': 0.20.3(constructs@10.1.167) - '@cdktf/provider-schema': 0.20.3(constructs@10.1.167) - '@types/node': 18.19.7 - codemaker: 1.94.0 + '@cdktf/commons': 0.20.7(constructs@10.1.167) + '@cdktf/provider-schema': 0.20.7(constructs@10.1.167) + '@types/node': 18.19.30 + codemaker: 1.95.0 fs-extra: 8.1.0 - glob: 10.3.10 - jsii-srcmak: 0.1.1005 + glob: 10.3.12 + jsii-srcmak: 0.1.1039(jsii-rosetta@5.3.28) transitivePeerDependencies: - constructs - debug + - jsii-rosetta - supports-color dev: true - /@cdktf/provider-schema@0.20.3(constructs@10.1.167): - resolution: {integrity: sha512-fgqHtVY5FYN2spYsDLTPOxvspWu2JfmV4nxThVwd8bGBmdFf36ceWCSyyuc5tnSd4rJstXoAXMkTYlX2GtOubQ==} + /@cdktf/provider-schema@0.20.7(constructs@10.1.167): + resolution: {integrity: sha512-KVV5YMaMoXgrmT+AsU1y3vCLfyie5/XbSKVVrUnVp5sCrwhsFMl6U59HTDQ52QX3aHWxwTAqEZbljdg6ZUbk9A==} dependencies: - '@cdktf/commons': 0.20.3(constructs@10.1.167) - '@cdktf/hcl2json': 0.20.3 + '@cdktf/commons': 0.20.7(constructs@10.1.167) + '@cdktf/hcl2json': 0.20.7 deepmerge: 4.3.1 fs-extra: 11.2.0 transitivePeerDependencies: @@ -5218,19 +5197,20 @@ packages: - supports-color dev: true - /@cloudy-ts/eslint-plugin@0.0.260(eslint@8.51.0): + /@cloudy-ts/eslint-plugin@0.0.260(eslint@8.57.0): resolution: {integrity: sha512-4mOL06xDWMyUz6OB0chNOwb3zhmDrXpHL7e7ZkCp5ysUQ2EEG4ms1Qg0vKBatKTN3LkYBeVqEqJRVGGg7/icSQ==} engines: {node: '>= 14.18.0'} peerDependencies: eslint: ^8.36.0 dependencies: - eslint: 8.51.0 + eslint: 8.57.0 dev: false /@colors/colors@1.5.0: resolution: {integrity: sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ==} engines: {node: '>=0.1.90'} requiresBuild: true + dev: true optional: true /@colors/colors@1.6.0: @@ -5244,7 +5224,7 @@ packages: resolution: {integrity: sha512-TSz00K+BdLxAYFQvwHmKgM/eAK6h9OYSQhPTcv/9XSyOF0Q90EtMkJvtwirwAXunfTsZw8R9YMu1UU213ooVKw==} engines: {node: '>= 4.0.0'} dependencies: - fs-monkey: 1.0.5 + fs-monkey: 1.0.6 dev: false /@dabh/diagnostics@2.0.3: @@ -5276,12 +5256,12 @@ packages: dev: false optional: true - /@emotion/use-insertion-effect-with-fallbacks@1.0.1(react@18.2.0): + /@emotion/use-insertion-effect-with-fallbacks@1.0.1(react@18.3.1): resolution: {integrity: sha512-jT/qyKZ9rzLErtrjGgdkMBn2OP8wl0G3sQlBb3YPryvKHsjvINUhVaPFfP+fpBcOkmrVOVEEHQFJ7nbj2TH2gw==} peerDependencies: react: '>=16.8.0' dependencies: - react: 18.2.0 + react: 18.3.1 dev: true /@esbuild/aix-ppc64@0.19.12: @@ -5298,7 +5278,6 @@ packages: cpu: [ppc64] os: [aix] requiresBuild: true - dev: true optional: true /@esbuild/android-arm64@0.17.19: @@ -5333,16 +5312,6 @@ packages: cpu: [arm64] os: [android] requiresBuild: true - dev: true - optional: true - - /@esbuild/android-arm@0.15.18: - resolution: {integrity: sha512-5GT+kcs2WVGjVs7+boataCkO5Fg0y4kCjzkB5bAip7H4jfnOS3dA6KPiww9W1OEKTKeAcUVhdZGvgI65OXmUnw==} - engines: {node: '>=12'} - cpu: [arm] - os: [android] - requiresBuild: true - dev: true optional: true /@esbuild/android-arm@0.17.19: @@ -5377,7 +5346,6 @@ packages: cpu: [arm] os: [android] requiresBuild: true - dev: true optional: true /@esbuild/android-x64@0.17.19: @@ -5412,7 +5380,6 @@ packages: cpu: [x64] os: [android] requiresBuild: true - dev: true optional: true /@esbuild/darwin-arm64@0.17.19: @@ -5447,7 +5414,6 @@ packages: cpu: [arm64] os: [darwin] requiresBuild: true - dev: true optional: true /@esbuild/darwin-x64@0.17.19: @@ -5482,7 +5448,6 @@ packages: cpu: [x64] os: [darwin] requiresBuild: true - dev: true optional: true /@esbuild/freebsd-arm64@0.17.19: @@ -5517,7 +5482,6 @@ packages: cpu: [arm64] os: [freebsd] requiresBuild: true - dev: true optional: true /@esbuild/freebsd-x64@0.17.19: @@ -5552,7 +5516,6 @@ packages: cpu: [x64] os: [freebsd] requiresBuild: true - dev: true optional: true /@esbuild/linux-arm64@0.17.19: @@ -5587,7 +5550,6 @@ packages: cpu: [arm64] os: [linux] requiresBuild: true - dev: true optional: true /@esbuild/linux-arm@0.17.19: @@ -5622,7 +5584,6 @@ packages: cpu: [arm] os: [linux] requiresBuild: true - dev: true optional: true /@esbuild/linux-ia32@0.17.19: @@ -5657,16 +5618,6 @@ packages: cpu: [ia32] os: [linux] requiresBuild: true - dev: true - optional: true - - /@esbuild/linux-loong64@0.15.18: - resolution: {integrity: sha512-L4jVKS82XVhw2nvzLg/19ClLWg0y27ulRwuP7lcyL6AbUWB5aPglXY3M21mauDQMDfRLs8cQmeT03r/+X3cZYQ==} - engines: {node: '>=12'} - cpu: [loong64] - os: [linux] - requiresBuild: true - dev: true optional: true /@esbuild/linux-loong64@0.17.19: @@ -5701,7 +5652,6 @@ packages: cpu: [loong64] os: [linux] requiresBuild: true - dev: true optional: true /@esbuild/linux-mips64el@0.17.19: @@ -5736,7 +5686,6 @@ packages: cpu: [mips64el] os: [linux] requiresBuild: true - dev: true optional: true /@esbuild/linux-ppc64@0.17.19: @@ -5771,7 +5720,6 @@ packages: cpu: [ppc64] os: [linux] requiresBuild: true - dev: true optional: true /@esbuild/linux-riscv64@0.17.19: @@ -5806,7 +5754,6 @@ packages: cpu: [riscv64] os: [linux] requiresBuild: true - dev: true optional: true /@esbuild/linux-s390x@0.17.19: @@ -5841,7 +5788,6 @@ packages: cpu: [s390x] os: [linux] requiresBuild: true - dev: true optional: true /@esbuild/linux-x64@0.17.19: @@ -5876,7 +5822,6 @@ packages: cpu: [x64] os: [linux] requiresBuild: true - dev: true optional: true /@esbuild/netbsd-x64@0.17.19: @@ -5911,7 +5856,6 @@ packages: cpu: [x64] os: [netbsd] requiresBuild: true - dev: true optional: true /@esbuild/openbsd-x64@0.17.19: @@ -5946,7 +5890,6 @@ packages: cpu: [x64] os: [openbsd] requiresBuild: true - dev: true optional: true /@esbuild/sunos-x64@0.17.19: @@ -5981,7 +5924,6 @@ packages: cpu: [x64] os: [sunos] requiresBuild: true - dev: true optional: true /@esbuild/win32-arm64@0.17.19: @@ -6016,7 +5958,6 @@ packages: cpu: [arm64] os: [win32] requiresBuild: true - dev: true optional: true /@esbuild/win32-ia32@0.17.19: @@ -6051,7 +5992,6 @@ packages: cpu: [ia32] os: [win32] requiresBuild: true - dev: true optional: true /@esbuild/win32-x64@0.17.19: @@ -6086,109 +6026,76 @@ packages: cpu: [x64] os: [win32] requiresBuild: true - dev: true optional: true - /@eslint-community/eslint-utils@4.4.0(eslint@8.51.0): - resolution: {integrity: sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - peerDependencies: - eslint: ^6.0.0 || ^7.0.0 || >=8.0.0 - dependencies: - eslint: 8.51.0 - eslint-visitor-keys: 3.4.3 - - /@eslint-community/eslint-utils@4.4.0(eslint@8.56.0): + /@eslint-community/eslint-utils@4.4.0(eslint@8.57.0): resolution: {integrity: sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: eslint: ^6.0.0 || ^7.0.0 || >=8.0.0 dependencies: - eslint: 8.56.0 + eslint: 8.57.0 eslint-visitor-keys: 3.4.3 - dev: true - /@eslint-community/regexpp@4.9.1: - resolution: {integrity: sha512-Y27x+MBLjXa+0JWDhykM3+JE+il3kHKAEqabfEWq3SDhZjLYb6/BHL/JKFnH3fe207JaXkyDo685Oc2Glt6ifA==} + /@eslint-community/regexpp@4.10.1: + resolution: {integrity: sha512-Zm2NGpWELsQAD1xsJzGQpYfvICSsFkEpU0jxBjfdC6uNEWXcHnfs9hScFWtXVDVl+rBQJGrl4g1vcKIejpH9dA==} engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0} - /@eslint/eslintrc@2.1.2: - resolution: {integrity: sha512-+wvgpDsrB1YqAMdEUCcnTlpfVBH7Vqn6A/NT3D8WVXFIaKMlErPIZT3oCIAVCOtarRpMtelZLqJeU3t7WY6X6g==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - dependencies: - ajv: 6.12.6 - debug: 4.3.4(supports-color@5.5.0) - espree: 9.6.1 - globals: 13.23.0 - ignore: 5.2.4 - import-fresh: 3.3.0 - js-yaml: 4.1.0 - minimatch: 3.1.2 - strip-json-comments: 3.1.1 - transitivePeerDependencies: - - supports-color - /@eslint/eslintrc@2.1.4: resolution: {integrity: sha512-269Z39MS6wVJtsoUl10L60WdkhJVdPG24Q4eZTH3nnF6lpvSShEK3wQjDX9JRWAUPvPh7COouPpU9IrqaZFvtQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dependencies: ajv: 6.12.6 - debug: 4.3.4(supports-color@5.5.0) + debug: 4.3.5(supports-color@5.5.0) espree: 9.6.1 - globals: 13.23.0 - ignore: 5.2.4 + globals: 13.24.0 + ignore: 5.3.1 import-fresh: 3.3.0 js-yaml: 4.1.0 minimatch: 3.1.2 strip-json-comments: 3.1.1 transitivePeerDependencies: - supports-color - dev: true - - /@eslint/js@8.51.0: - resolution: {integrity: sha512-HxjQ8Qn+4SI3/AFv6sOrDB+g6PpUTDwSJiQqOrnneEk8L71161srI9gjzzZvYVbzHiVg/BvcH95+cK/zfIt4pg==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - /@eslint/js@8.56.0: - resolution: {integrity: sha512-gMsVel9D7f2HLkBma9VbtzZRehRogVRfbr++f06nL2vnCGCNlzOD+/MUov/F4p8myyAHspEhVobgjpX64q5m6A==} + /@eslint/js@8.57.0: + resolution: {integrity: sha512-Ys+3g2TaW7gADOJzPt83SJtCDhMjndcDMFVQ/Tj9iA1BfJzFKD9mAUXT3OenpuPHbI6P/myECxRJrofUsDx/5g==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - dev: true /@fal-works/esbuild-plugin-global-externals@2.1.2: resolution: {integrity: sha512-cEee/Z+I12mZcFJshKcCqC8tuX5hG3s+d+9nZ3LabqKF1vKdF41B92pJVCBggjAGORAeOzyyDDKrZwIkLffeOQ==} dev: true - /@fastify/busboy@2.0.0: - resolution: {integrity: sha512-JUFJad5lv7jxj926GPgymrWQxxjPYuJNiNjNMzqT+HiuP6Vl3dk5xzG+8sTX96np0ZAluvaMzPsjhHZ5rNuNQQ==} + /@fastify/busboy@2.1.1: + resolution: {integrity: sha512-vBZP4NlzfOlerQTnba4aqZoMhE/a9HY7HRqoOPaETQcSQuWEIyZMHGfVu6w9wGtGK5fED5qRs2DteVCjOH60sA==} engines: {node: '>=14'} dev: false - /@floating-ui/core@1.5.0: - resolution: {integrity: sha512-kK1h4m36DQ0UHGj5Ah4db7R0rHemTqqO0QLvUqi1/mUUp3LuAWbWxdxSIf/XsnH9VS6rRVPLJCncjRzUvyCLXg==} + /@floating-ui/core@1.6.2: + resolution: {integrity: sha512-+2XpQV9LLZeanU4ZevzRnGFg2neDeKHgFLjP6YLW+tly0IvrhqT4u8enLGjLH3qeh85g19xY5rsAusfwTdn5lg==} dependencies: - '@floating-ui/utils': 0.1.6 + '@floating-ui/utils': 0.2.2 dev: true - /@floating-ui/dom@1.5.3: - resolution: {integrity: sha512-ClAbQnEqJAKCJOEbbLo5IUlZHkNszqhuxS4fHAVxRPXPya6Ysf2G8KypnYcOTpx6I8xcgF9bbHb6g/2KpbV8qA==} + /@floating-ui/dom@1.6.5: + resolution: {integrity: sha512-Nsdud2X65Dz+1RHjAIP0t8z5e2ff/IRbei6BqFrl1urT8sDVzM1HMQ+R0XcU5ceRfyO3I6ayeqIfh+6Wb8LGTw==} dependencies: - '@floating-ui/core': 1.5.0 - '@floating-ui/utils': 0.1.6 + '@floating-ui/core': 1.6.2 + '@floating-ui/utils': 0.2.2 dev: true - /@floating-ui/react-dom@2.0.2(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-5qhlDvjaLmAst/rKb3VdlCinwTF4EYMiVxuuc/HVUjs46W0zgtbMmAZ1UTsDrRTxRmUEzl92mOtWbeeXL26lSQ==} + /@floating-ui/react-dom@2.1.0(react-dom@18.3.1)(react@18.3.1): + resolution: {integrity: sha512-lNzj5EQmEKn5FFKc04+zasr09h/uX8RtJRNj5gUXsSQIXHVWTVh+hVAg1vOMCexkX8EgvemMvIFpQfkosnVNyA==} peerDependencies: react: '>=16.8.0' react-dom: '>=16.8.0' dependencies: - '@floating-ui/dom': 1.5.3 - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) + '@floating-ui/dom': 1.6.5 + react: 18.3.1 + react-dom: 18.3.1(react@18.3.1) dev: true - /@floating-ui/utils@0.1.6: - resolution: {integrity: sha512-OfX7E2oUDYxtBvsuS4e/jSn4Q9Qb6DzgeYtsAdkPZ47znpoNsMgZw0+tVijiv3uGNR6dgNlty6r9rzIzHjtd/A==} + /@floating-ui/utils@0.2.2: + resolution: {integrity: sha512-J4yDIIthosAsRZ5CPYP/jQvUAQtlZTTD/4suA08/FEnlxqW3sKS9iAhgsa9VYLZ6vDHn/ixJgIqRQPotoBjxIw==} dev: true /@google-cloud/datastore@8.4.0: @@ -6199,7 +6106,7 @@ packages: arrify: 2.0.1 concat-stream: 2.0.0 extend: 3.0.2 - google-gax: 4.0.5 + google-gax: 4.3.7 is: 3.3.0 split-array-stream: 2.0.0 stream-events: 1.0.5 @@ -6241,8 +6148,8 @@ packages: abort-controller: 3.0.0 async-retry: 1.3.3 compressible: 2.0.18 - duplexify: 4.1.2 - ent: 2.2.0 + duplexify: 4.1.3 + ent: 2.2.1 extend: 3.0.2 gaxios: 5.1.3 google-auth-library: 8.9.0 @@ -6257,22 +6164,22 @@ packages: - supports-color dev: false - /@grpc/grpc-js@1.9.9: - resolution: {integrity: sha512-vQ1qwi/Kiyprt+uhb1+rHMpyk4CVRMTGNUGGPRGS7pLNfWkdCHrGEnT6T3/JyC2VZgoOX/X1KwdoU0WYQAeYcQ==} - engines: {node: ^8.13.0 || >=10.10.0} + /@grpc/grpc-js@1.10.9: + resolution: {integrity: sha512-5tcgUctCG0qoNyfChZifz2tJqbRbXVO9J7X6duFcOjY3HUNCxg5D0ZCK7EP9vIcZ0zRpLU9bWkyCqVCLZ46IbQ==} + engines: {node: '>=12.10.0'} dependencies: - '@grpc/proto-loader': 0.7.10 - '@types/node': 20.14.2 + '@grpc/proto-loader': 0.7.13 + '@js-sdsl/ordered-map': 4.4.2 dev: false - /@grpc/proto-loader@0.7.10: - resolution: {integrity: sha512-CAqDfoaQ8ykFd9zqBDn4k6iWT9loLAlc2ETmDFS9JCD70gDcnA4L3AFEo2iV7KyAtAAHFW9ftq1Fz+Vsgq80RQ==} + /@grpc/proto-loader@0.7.13: + resolution: {integrity: sha512-AiXO/bfe9bmxBjxxtYxFAXGZvMaN5s8kO+jBHAJCON8rJoB5YS/D6X7ZNc6XQkuHNmyl4CYaMI1fJ/Gn27RGGw==} engines: {node: '>=6'} hasBin: true dependencies: lodash.camelcase: 4.3.0 long: 5.2.3 - protobufjs: 7.2.5(patch_hash=plkkb5oxv62w7nyvt6cqmvgk4q) + protobufjs: 7.3.2 yargs: 17.7.2 dev: false @@ -6281,57 +6188,45 @@ packages: engines: {node: '>=12.20'} dev: false - /@headlessui/react@1.7.17(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-4am+tzvkqDSSgiwrsEpGWqgGo9dz8qU5M3znCkC4PgkpY4HcCZzEDEvozltGGGHIKl9jbXbZPSH5TWn4sWJdow==} + /@headlessui/react@1.7.19(react-dom@18.3.1)(react@18.3.1): + resolution: {integrity: sha512-Ll+8q3OlMJfJbAKM/+/Y2q6PPYbryqNTXDbryx7SXLIDamkF6iQFbriYHga0dY44PvDhvvBWCx1Xj4U5+G4hOw==} engines: {node: '>=10'} peerDependencies: react: ^16 || ^17 || ^18 react-dom: ^16 || ^17 || ^18 dependencies: + '@tanstack/react-virtual': 3.7.0(react-dom@18.3.1)(react@18.3.1) client-only: 0.0.1 - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) + react: 18.3.1 + react-dom: 18.3.1(react@18.3.1) dev: false - /@heroicons/react@2.0.18(react@18.2.0): - resolution: {integrity: sha512-7TyMjRrZZMBPa+/5Y8lN0iyvUU/01PeMGX2+RE7cQWpEUIcb4QotzUObFkJDejj/HUH4qjP/eQ0gzzKs2f+6Yw==} + /@heroicons/react@2.1.4(react@18.3.1): + resolution: {integrity: sha512-ju0wj0wwrUTMQ2Yceyrma7TKuI3BpSjp+qKqV81K9KGcUHdvTMdiwfRc2cwXBp3uXtKuDZkh0v03nWOQnJFv2Q==} peerDependencies: react: '>= 16' dependencies: - react: 18.2.0 + react: 18.3.1 dev: false - /@humanwhocodes/config-array@0.11.11: - resolution: {integrity: sha512-N2brEuAadi0CcdeMXUkhbZB84eskAc8MEX1By6qEchoVywSgXPIjou4rYsl0V3Hj0ZnuGycGCjdNgockbzeWNA==} - engines: {node: '>=10.10.0'} - dependencies: - '@humanwhocodes/object-schema': 1.2.1 - debug: 4.3.4(supports-color@5.5.0) - minimatch: 3.1.2 - transitivePeerDependencies: - - supports-color - /@humanwhocodes/config-array@0.11.14: resolution: {integrity: sha512-3T8LkOmg45BV5FICb15QQMsyUSWrQ8AygVfC7ZG32zOalnqrilm018ZVCw0eapXux8FtA33q8PSRSstjee3jSg==} engines: {node: '>=10.10.0'} + deprecated: Use @eslint/config-array instead dependencies: - '@humanwhocodes/object-schema': 2.0.2 - debug: 4.3.4(supports-color@5.5.0) + '@humanwhocodes/object-schema': 2.0.3 + debug: 4.3.5(supports-color@5.5.0) minimatch: 3.1.2 transitivePeerDependencies: - supports-color - dev: true /@humanwhocodes/module-importer@1.0.1: resolution: {integrity: sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==} engines: {node: '>=12.22'} - /@humanwhocodes/object-schema@1.2.1: - resolution: {integrity: sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==} - - /@humanwhocodes/object-schema@2.0.2: - resolution: {integrity: sha512-6EwiSjwWYP7pTckG6I5eyFANjPhmPjUX9JRLUSfNPC7FX7zK9gyZAfUEaECL6ALTpGX5AjnBq3C9XmVWPitNpw==} - dev: true + /@humanwhocodes/object-schema@2.0.3: + resolution: {integrity: sha512-93zYdMES/c1D69yZiKDBj0V24vqNzB/koF26KPaagAfd3P/4gUlh3Dys5ogAK+Exi9QyzlD8x/08Zt7wIKcDcA==} + deprecated: Use @eslint/object-schema instead /@hutson/parse-repository-url@3.0.2: resolution: {integrity: sha512-H9XAx3hc0BQHY6l+IFSWHDySypcXsvsuLhgYLUGywmJ5pswRVQJUHpOsobnLYp2ZUaUlKiKDrgWWhosOwAEM8Q==} @@ -6341,27 +6236,35 @@ packages: /@iarna/toml@2.2.5: resolution: {integrity: sha512-trnsAYxU3xnS1gPHPyU961coFyLkh4gAD/0zQ5mymY4yOZ+CYvsPqUbOFSw0aDM4y0tV7tiFxL/1XfXPNC6IPg==} - /@ibm/plex@6.3.0: - resolution: {integrity: sha512-kb1ATGXrFu/gF2NZY40OlRUAEWCcrq9mIEYkuWqXUPaC6Zrb7iA9wQYTkJdAPP+V6ySfp7NLAyzAnK9c5k90Sg==} + /@ibm/plex@6.4.1: + resolution: {integrity: sha512-fnsipQywHt3zWvsnlyYKMikcVI7E2fEwpiPnIHFqlbByXVfQfANAAeJk1IV4mNnxhppUIDlhU0TzwYwL++Rn2g==} + requiresBuild: true + dependencies: + '@ibm/telemetry-js': 1.5.2 + dev: true + + /@ibm/telemetry-js@1.5.2: + resolution: {integrity: sha512-KyvaHbiNMDtz2k/9DltkK3YkWTyvz8y7Pq1sQ4cnXDMzHiEatOyxw3zZgK9li80tgUOYMQLck9DLewEuhvtg7w==} + hasBin: true dev: true - /@inquirer/checkbox@1.4.0: - resolution: {integrity: sha512-7YcekwCvMTjrgjUursrH6AGZUSPw7gKPMvp0VhM3iq9mL46a7AeCfOTQTW0UPeiIfWmZK8wHyAD6wIhfDyLHpw==} + /@inquirer/checkbox@1.5.2: + resolution: {integrity: sha512-CifrkgQjDkUkWexmgYYNyB5603HhTHI91vLFeQXh6qrTKiCMVASol01Rs1cv6LP/A2WccZSRlJKZhbaBIs/9ZA==} engines: {node: '>=14.18.0'} dependencies: - '@inquirer/core': 5.1.0 - '@inquirer/type': 1.1.5 + '@inquirer/core': 6.0.0 + '@inquirer/type': 1.3.3 ansi-escapes: 4.3.2 chalk: 4.1.2 figures: 3.2.0 dev: true - /@inquirer/confirm@2.0.14: - resolution: {integrity: sha512-Elzo5VX5lO1q9xy8CChDtDQNVLaucufdZBAM12qdfX1L3NQ+TypnZytGmWDXHBTpBTwuhEuwxNvUw7B0HCURkw==} + /@inquirer/confirm@2.0.17: + resolution: {integrity: sha512-EqzhGryzmGpy2aJf6LxJVhndxYmFs+m8cxXzf8nejb1DE3sabf6mUgBcp4J0jAUEiAcYzqmkqRr7LPFh/WdnXA==} engines: {node: '>=14.18.0'} dependencies: - '@inquirer/core': 5.1.0 - '@inquirer/type': 1.1.5 + '@inquirer/core': 6.0.0 + '@inquirer/type': 1.3.3 chalk: 4.1.2 dev: true @@ -6369,13 +6272,13 @@ packages: resolution: {integrity: sha512-faYAYnIfdEuns3jGKykaog5oUqFiEVbCx9nXGZfUhyEEpKcHt5bpJfZTb3eOBQKo8I/v4sJkZeBHmFlSZQuBCw==} engines: {node: '>=14.18.0'} dependencies: - '@inquirer/type': 1.1.5 + '@inquirer/type': 1.3.3 '@types/mute-stream': 0.0.1 - '@types/node': 20.14.2 + '@types/node': 20.14.8 '@types/wrap-ansi': 3.0.0 ansi-escapes: 4.3.2 chalk: 4.1.2 - cli-spinners: 2.9.1 + cli-spinners: 2.9.2 cli-width: 4.1.0 figures: 3.2.0 mute-stream: 1.0.0 @@ -6385,17 +6288,17 @@ packages: wrap-ansi: 6.2.0 dev: true - /@inquirer/core@5.1.0: - resolution: {integrity: sha512-EVnific72BhMOMo8mElvrYhGFWJZ73X6j0I+fITIPTsdAz6Z9A3w3csKy+XaH87/5QAEIQHR7RSCVXvQpIqNdQ==} + /@inquirer/core@6.0.0: + resolution: {integrity: sha512-fKi63Khkisgda3ohnskNf5uZJj+zXOaBvOllHsOkdsXRA/ubQLJQrZchFFi57NKbZzkTunXiBMdvWOv71alonw==} engines: {node: '>=14.18.0'} dependencies: - '@inquirer/type': 1.1.5 - '@types/mute-stream': 0.0.2 - '@types/node': 20.14.2 + '@inquirer/type': 1.3.3 + '@types/mute-stream': 0.0.4 + '@types/node': 20.14.8 '@types/wrap-ansi': 3.0.0 ansi-escapes: 4.3.2 chalk: 4.1.2 - cli-spinners: 2.9.1 + cli-spinners: 2.9.2 cli-width: 4.1.0 figures: 3.2.0 mute-stream: 1.0.0 @@ -6405,83 +6308,83 @@ packages: wrap-ansi: 6.2.0 dev: true - /@inquirer/editor@1.2.12: - resolution: {integrity: sha512-Y7zXQqcglPbbPkx0DPwx6HQFstJR5uex4hoQprjpdxSj8+Bf04+Og6mK/FNxoQbPvoNecegtmMGxDC+hVcMJZA==} + /@inquirer/editor@1.2.15: + resolution: {integrity: sha512-gQ77Ls09x5vKLVNMH9q/7xvYPT6sIs5f7URksw+a2iJZ0j48tVS6crLqm2ugG33tgXHIwiEqkytY60Zyh5GkJQ==} engines: {node: '>=14.18.0'} dependencies: - '@inquirer/core': 5.1.0 - '@inquirer/type': 1.1.5 + '@inquirer/core': 6.0.0 + '@inquirer/type': 1.3.3 chalk: 4.1.2 external-editor: 3.1.0 dev: true - /@inquirer/expand@1.1.13: - resolution: {integrity: sha512-/+7CGCa7iyJIpli0NtukEAjSI7+wGgjYzsByLVSSAk3U696ZlCCP6iPtsWx6d1qfmaMmCzejcjylOj6OAeu4bA==} + /@inquirer/expand@1.1.16: + resolution: {integrity: sha512-TGLU9egcuo+s7PxphKUCnJnpCIVY32/EwPCLLuu+gTvYiD8hZgx8Z2niNQD36sa6xcfpdLY6xXDBiL/+g1r2XQ==} engines: {node: '>=14.18.0'} dependencies: - '@inquirer/core': 5.1.0 - '@inquirer/type': 1.1.5 + '@inquirer/core': 6.0.0 + '@inquirer/type': 1.3.3 chalk: 4.1.2 figures: 3.2.0 dev: true - /@inquirer/input@1.2.13: - resolution: {integrity: sha512-gALuvSpZRYfqygPjlYWodMZ4TXwALvw7Pk4tRFhE1oMN79rLVlg88Z/X6JCUh+uV2qLaxxgbeP+cgPWTvuWsCg==} + /@inquirer/input@1.2.16: + resolution: {integrity: sha512-Ou0LaSWvj1ni+egnyQ+NBtfM1885UwhRCMtsRt2bBO47DoC1dwtCa+ZUNgrxlnCHHF0IXsbQHYtIIjFGAavI4g==} engines: {node: '>=14.18.0'} dependencies: - '@inquirer/core': 5.1.0 - '@inquirer/type': 1.1.5 + '@inquirer/core': 6.0.0 + '@inquirer/type': 1.3.3 chalk: 4.1.2 dev: true - /@inquirer/password@1.1.13: - resolution: {integrity: sha512-6STGbL4Vm6ohE2yDBOSENCpCeywnvPux5psZVpvblGDop1oPiZkdsVI+NhsA0c4BE6YT0fNVK8Oqxf5Dgt5k7g==} + /@inquirer/password@1.1.16: + resolution: {integrity: sha512-aZYZVHLUXZ2gbBot+i+zOJrks1WaiI95lvZCn1sKfcw6MtSSlYC8uDX8sTzQvAsQ8epHoP84UNvAIT0KVGOGqw==} engines: {node: '>=14.18.0'} dependencies: - '@inquirer/input': 1.2.13 - '@inquirer/type': 1.1.5 + '@inquirer/core': 6.0.0 + '@inquirer/type': 1.3.3 ansi-escapes: 4.3.2 chalk: 4.1.2 dev: true - /@inquirer/prompts@2.3.0: - resolution: {integrity: sha512-x79tSDIZAibOl9WaBoOuyaQqNnisOO8Pk0qWyulP/nPaD/WkoRvkzk7hR4WTRmWAyE8CNbjdYgGltvd0qmvCGQ==} + /@inquirer/prompts@2.3.1: + resolution: {integrity: sha512-YQeBFzIE+6fcec5N/U2mSz+IcKEG4wtGDwF7MBLIDgITWzB3o723JpKJ1rxWqdCvTXkYE+gDXK/seSN6omo3DQ==} engines: {node: '>=14.18.0'} dependencies: - '@inquirer/checkbox': 1.4.0 - '@inquirer/confirm': 2.0.14 + '@inquirer/checkbox': 1.5.2 + '@inquirer/confirm': 2.0.17 '@inquirer/core': 2.3.1 - '@inquirer/editor': 1.2.12 - '@inquirer/expand': 1.1.13 - '@inquirer/input': 1.2.13 - '@inquirer/password': 1.1.13 - '@inquirer/rawlist': 1.2.13 - '@inquirer/select': 1.3.0 + '@inquirer/editor': 1.2.15 + '@inquirer/expand': 1.1.16 + '@inquirer/input': 1.2.16 + '@inquirer/password': 1.1.16 + '@inquirer/rawlist': 1.2.16 + '@inquirer/select': 1.3.3 dev: true - /@inquirer/rawlist@1.2.13: - resolution: {integrity: sha512-f+bASrCY2x2F90MrBYX7nUSetL6FsVLfskhGWEyVwj6VIXzc9T878z3v7KU3V10D1trWrCVHOdeqEcbnO68yhg==} + /@inquirer/rawlist@1.2.16: + resolution: {integrity: sha512-pZ6TRg2qMwZAOZAV6TvghCtkr53dGnK29GMNQ3vMZXSNguvGqtOVc4j/h1T8kqGJFagjyfBZhUPGwNS55O5qPQ==} engines: {node: '>=14.18.0'} dependencies: - '@inquirer/core': 5.1.0 - '@inquirer/type': 1.1.5 + '@inquirer/core': 6.0.0 + '@inquirer/type': 1.3.3 chalk: 4.1.2 dev: true - /@inquirer/select@1.3.0: - resolution: {integrity: sha512-3sL5odCDYI+i+piAFqFa5ULDUKEpc0U1zEY4Wm6gjP6nMAHWM8r1UzMlpQXCyHny91Tz+oeSLeKinAde0z6R7w==} + /@inquirer/select@1.3.3: + resolution: {integrity: sha512-RzlRISXWqIKEf83FDC9ZtJ3JvuK1l7aGpretf41BCWYrvla2wU8W8MTRNMiPrPJ+1SIqrRC1nZdZ60hD9hRXLg==} engines: {node: '>=14.18.0'} dependencies: - '@inquirer/core': 5.1.0 - '@inquirer/type': 1.1.5 + '@inquirer/core': 6.0.0 + '@inquirer/type': 1.3.3 ansi-escapes: 4.3.2 chalk: 4.1.2 figures: 3.2.0 dev: true - /@inquirer/type@1.1.5: - resolution: {integrity: sha512-wmwHvHozpPo4IZkkNtbYenem/0wnfI6hvOcGKmPEa0DwuaH5XUQzFqy6OpEpjEegZMhYIk8HDYITI16BPLtrRA==} - engines: {node: '>=14.18.0'} + /@inquirer/type@1.3.3: + resolution: {integrity: sha512-xTUt0NulylX27/zMx04ZYar/kr1raaiFTVvQ5feljQsiAgdm0WPj4S73/ye0fbslh+15QrIuDvfCXTek7pMY5A==} + engines: {node: '>=18'} dev: true /@ioredis/commands@1.2.0: @@ -6544,9 +6447,9 @@ packages: resolution: {integrity: sha512-ok/BTPFzFKVMwO5eOHRrvnBVHdRy9IrsrW1GpMaQ9MCnilNLXQKmAX8s1YXDFaai9xJpac2ySzV0YeRRECr2Vw==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: - '@babel/core': 7.23.9 + '@babel/core': 7.24.7 '@jest/types': 29.6.3 - '@jridgewell/trace-mapping': 0.3.20 + '@jridgewell/trace-mapping': 0.3.25 babel-plugin-istanbul: 6.1.1 chalk: 4.1.2 convert-source-map: 2.0.0 @@ -6555,7 +6458,7 @@ packages: jest-haste-map: 29.7.0 jest-regex-util: 29.6.3 jest-util: 29.7.0 - micromatch: 4.0.5 + micromatch: 4.0.7 pirates: 4.0.6 slash: 3.0.0 write-file-atomic: 4.0.2 @@ -6567,10 +6470,10 @@ packages: resolution: {integrity: sha512-Cx46iJ9QpwQTjIdq5VJu2QTMMs3QlEjI0x1QbBP5W1+nMzyc2XmimiRR/CbX9TO0cPTeUlxWMOu8mslYsJ8DEw==} engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} dependencies: - '@types/istanbul-lib-coverage': 2.0.4 - '@types/istanbul-reports': 3.0.2 - '@types/node': 20.14.2 - '@types/yargs': 16.0.6 + '@types/istanbul-lib-coverage': 2.0.6 + '@types/istanbul-reports': 3.0.4 + '@types/node': 20.14.8 + '@types/yargs': 16.0.9 chalk: 4.1.2 dev: true @@ -6579,10 +6482,10 @@ packages: engines: {node: ^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0} dependencies: '@jest/schemas': 28.1.3 - '@types/istanbul-lib-coverage': 2.0.4 - '@types/istanbul-reports': 3.0.2 - '@types/node': 20.14.2 - '@types/yargs': 17.0.28 + '@types/istanbul-lib-coverage': 2.0.6 + '@types/istanbul-reports': 3.0.4 + '@types/node': 20.14.8 + '@types/yargs': 17.0.32 chalk: 4.1.2 dev: true @@ -6591,18 +6494,18 @@ packages: engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: '@jest/schemas': 29.6.3 - '@types/istanbul-lib-coverage': 2.0.4 - '@types/istanbul-reports': 3.0.2 - '@types/node': 20.14.2 - '@types/yargs': 17.0.28 + '@types/istanbul-lib-coverage': 2.0.6 + '@types/istanbul-reports': 3.0.4 + '@types/node': 20.14.8 + '@types/yargs': 17.0.32 chalk: 4.1.2 dev: true - /@joshwooding/vite-plugin-react-docgen-typescript@0.2.1(typescript@5.2.2)(vite@4.5.2): - resolution: {integrity: sha512-ou4ZJSXMMWHqGS4g8uNRbC5TiTWxAgQZiVucoUrOCWuPrTbkpJbmVyIi9jU72SBry7gQtuMEDp4YR8EEXAg7VQ==} + /@joshwooding/vite-plugin-react-docgen-typescript@0.3.0(typescript@5.5.2)(vite@4.5.3): + resolution: {integrity: sha512-2D6y7fNvFmsLmRt6UCOFJPvFoPMJGT0Uh1Wg0RaigUp7kdQPs6yYn8Dmx6GZkOH/NW0yMTwRz/p0SRMMRo50vA==} peerDependencies: typescript: '>= 4.3.x' - vite: ^3.0.0 || ^4.0.0 + vite: ^3.0.0 || ^4.0.0 || ^5.0.0 peerDependenciesMeta: typescript: optional: true @@ -6610,18 +6513,9 @@ packages: glob: 7.2.3 glob-promise: 4.2.2(glob@7.2.3) magic-string: 0.27.0 - react-docgen-typescript: 2.2.2(typescript@5.2.2) - typescript: 5.2.2 - vite: 4.5.2 - dev: true - - /@jridgewell/gen-mapping@0.3.3: - resolution: {integrity: sha512-HLhSWOLRi875zjjMG/r+Nv0oCW8umGb0BgEhyX3dDX3egwZtB8PqLnjz3yedt8R5StBrzcg4aBpnh8UA9D1BoQ==} - engines: {node: '>=6.0.0'} - dependencies: - '@jridgewell/set-array': 1.1.2 - '@jridgewell/sourcemap-codec': 1.4.15 - '@jridgewell/trace-mapping': 0.3.20 + react-docgen-typescript: 2.2.2(typescript@5.5.2) + typescript: 5.5.2 + vite: 4.5.3 dev: true /@jridgewell/gen-mapping@0.3.5: @@ -6632,67 +6526,54 @@ packages: '@jridgewell/sourcemap-codec': 1.4.15 '@jridgewell/trace-mapping': 0.3.25 - /@jridgewell/resolve-uri@3.1.1: - resolution: {integrity: sha512-dSYZh7HhCDtCKm4QakX0xFpsRDqjjtZf/kjI/v3T3Nwt5r8/qz/M19F9ySyOqU94SXBmeG9ttTul+YnR4LOxFA==} - engines: {node: '>=6.0.0'} - dev: true - /@jridgewell/resolve-uri@3.1.2: resolution: {integrity: sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==} engines: {node: '>=6.0.0'} - /@jridgewell/set-array@1.1.2: - resolution: {integrity: sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==} - engines: {node: '>=6.0.0'} - dev: true - /@jridgewell/set-array@1.2.1: resolution: {integrity: sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A==} engines: {node: '>=6.0.0'} - /@jridgewell/source-map@0.3.5: - resolution: {integrity: sha512-UTYAUj/wviwdsMfzoSJspJxbkH5o1snzwX0//0ENX1u/55kkZZkcTZP6u9bwKGkv+dkk9at4m1Cpt0uY80kcpQ==} + /@jridgewell/source-map@0.3.6: + resolution: {integrity: sha512-1ZJTZebgqllO79ue2bm3rIGud/bOe0pP5BjSRCRxxYkEZS8STV7zN84UBbiYu7jy+eCKSnVIUgoWWE/tt+shMQ==} dependencies: - '@jridgewell/gen-mapping': 0.3.3 - '@jridgewell/trace-mapping': 0.3.20 + '@jridgewell/gen-mapping': 0.3.5 + '@jridgewell/trace-mapping': 0.3.25 dev: true /@jridgewell/sourcemap-codec@1.4.15: resolution: {integrity: sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==} - /@jridgewell/trace-mapping@0.3.20: - resolution: {integrity: sha512-R8LcPeWZol2zR8mmH3JeKQ6QRCFb7XgUhV9ZlGhHLGyg4wpPiPZNQOOWhFZhxKw8u//yTbNGI42Bx/3paXEQ+Q==} - dependencies: - '@jridgewell/resolve-uri': 3.1.1 - '@jridgewell/sourcemap-codec': 1.4.15 - dev: true - /@jridgewell/trace-mapping@0.3.25: resolution: {integrity: sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==} dependencies: '@jridgewell/resolve-uri': 3.1.2 '@jridgewell/sourcemap-codec': 1.4.15 - /@jsii/check-node@1.93.0: - resolution: {integrity: sha512-NLn1Js6wEG2hYjH7gE5Q8s/hPlp3I+KhK/T8ykGdYVod7iODnk/0QVSZsk2iEyuw8NzvvgXUDBWreadUIWSz+g==} + /@js-sdsl/ordered-map@4.4.2: + resolution: {integrity: sha512-iUKgm52T8HOE/makSxjqoWhe95ZJA1/G1sYsGev2JDKUSS14KAgg1LHb+Ba+IPow0xflbnSkOsZcO08C7w1gYw==} + dev: false + + /@jsii/check-node@1.100.0: + resolution: {integrity: sha512-4bsO7Y6YyekBk4v4iatAl5E7QQs2UUPtHoP9gfT3UnpbKzyMjH8XholSVCjfcNSKBwFobPMb8iA7NCMIMqFKsQ==} engines: {node: '>= 14.17.0'} dependencies: chalk: 4.1.2 - semver: 7.5.4 - dev: true + semver: 7.6.2 - /@jsii/check-node@1.94.0: - resolution: {integrity: sha512-46W+V1oTFvF9ZpKpPYy//1WUmhZ8AD8O0ElmQtv9mundLHccZm+q7EmCYhozr7rlK5uSjU9/WHfbIx2DwynuJw==} + /@jsii/check-node@1.95.0: + resolution: {integrity: sha512-E5njkBk6X4WrQHtGeO0ed+cvkMxqinQZY83TJZ9RFEIwrndDfj7asMgWkRkYQRF05AlQXks+Eh8wza7ErIl85Q==} engines: {node: '>= 14.17.0'} dependencies: chalk: 4.1.2 - semver: 7.5.4 + semver: 7.6.2 + dev: true - /@jsii/spec@1.94.0: - resolution: {integrity: sha512-ur1aUMPsdZgflUIZC4feyJzrkGYzvtiIJxRowkSxr7Ip/sLCKvi61dvImWtJY9ZhEAl7Kiq7I/R32WVyxW0JrQ==} + /@jsii/spec@1.100.0: + resolution: {integrity: sha512-4LJCpSkmi3Hfcbmbchv+2JPIquV+cgrkhQcwglBAWqS4liLGbWPwgfHRL22sMXEKXiyXeHfitVwkP+IoGIyJ8g==} engines: {node: '>= 14.17.0'} dependencies: - ajv: 8.12.0 + ajv: 8.16.0 /@juggle/resize-observer@3.4.0: resolution: {integrity: sha512-dfLbk+PwWvFzSxwk3n5ySL0hfBog779o8h68wK/7/APo/7cgyWp5jcXockbxdk5kFRkbeXWm4Fbi9FrdN381sA==} @@ -6710,14 +6591,14 @@ packages: '@lukeed/csprng': 1.1.0 dev: false - /@mdx-js/react@2.3.0(react@18.2.0): + /@mdx-js/react@2.3.0(react@18.3.1): resolution: {integrity: sha512-zQH//gdOmuu7nt2oJR29vFhDv88oGPmVw6BggmrHeMI+xgEkp1B2dX9/bMBSYtK0dyLX/aOmesKS09g222K1/g==} peerDependencies: react: '>=16' dependencies: - '@types/mdx': 2.0.8 - '@types/react': 18.2.25 - react: 18.2.0 + '@types/mdx': 2.0.13 + '@types/react': 18.3.3 + react: 18.3.1 dev: true /@ndelangen/get-tarball@3.0.9: @@ -6744,61 +6625,63 @@ packages: engines: {node: '>= 8'} dependencies: '@nodelib/fs.scandir': 2.1.5 - fastq: 1.15.0 + fastq: 1.17.1 /@npm/types@1.0.2: resolution: {integrity: sha512-KXZccTDEnWqNrrx6JjpJKU/wJvNeg9BDgjS0XhmlZab7br921HtyVbsYzJr4L+xIvjdJ20Wh9dgxgCI2a5CEQw==} dev: true - /@npmcli/agent@2.2.0: - resolution: {integrity: sha512-2yThA1Es98orMkpSLVqlDZAMPK3jHJhifP2gnNUdk1754uZ8yI5c+ulCoVG+WlntQA6MzhrURMXjSd9Z7dJ2/Q==} + /@npmcli/agent@2.2.2: + resolution: {integrity: sha512-OrcNPXdpSl9UX7qPVRWbmWMCSXrcDa2M9DvrbOTj7ao1S4PlqVFYv9/yLKMkrJKZ/V5A/kDBC690or307i26Og==} engines: {node: ^16.14.0 || >=18.0.0} dependencies: - agent-base: 7.1.0 - http-proxy-agent: 7.0.0 - https-proxy-agent: 7.0.2 - lru-cache: 10.0.1 - socks-proxy-agent: 8.0.2 + agent-base: 7.1.1 + http-proxy-agent: 7.0.2 + https-proxy-agent: 7.0.4 + lru-cache: 10.2.2 + socks-proxy-agent: 8.0.3 transitivePeerDependencies: - supports-color dev: false - /@npmcli/arborist@7.2.0: - resolution: {integrity: sha512-J6XCan+5nV6F94E0+9z//OnZADcqHw6HGDO0ynX+Ayd6GEopK0odq99V+UQjb8P1zexTmCWGvxp4jU5OM6NTtg==} + /@npmcli/arborist@7.5.3: + resolution: {integrity: sha512-7gbMdDNSYUzi0j2mpb6FoXRg3BxXWplMQZH1MZlvNjSdWFObaUz2Ssvo0Nlh2xmWks1OPo+gpsE6qxpT/5M7lQ==} engines: {node: ^16.14.0 || >=18.0.0} hasBin: true dependencies: '@isaacs/string-locale-compare': 1.1.0 - '@npmcli/fs': 3.1.0 - '@npmcli/installed-package-contents': 2.0.2 - '@npmcli/map-workspaces': 3.0.4 - '@npmcli/metavuln-calculator': 7.0.0 + '@npmcli/fs': 3.1.1 + '@npmcli/installed-package-contents': 2.1.0 + '@npmcli/map-workspaces': 3.0.6 + '@npmcli/metavuln-calculator': 7.1.1 '@npmcli/name-from-folder': 2.0.0 '@npmcli/node-gyp': 3.0.0 - '@npmcli/package-json': 5.0.0 - '@npmcli/query': 3.0.1 - '@npmcli/run-script': 7.0.1 - bin-links: 4.0.2 - cacache: 18.0.0 + '@npmcli/package-json': 5.2.0 + '@npmcli/query': 3.1.0 + '@npmcli/redact': 2.0.1 + '@npmcli/run-script': 8.1.0 + bin-links: 4.0.4 + cacache: 18.0.3 common-ancestor-path: 1.0.1 - hosted-git-info: 7.0.1 - json-parse-even-better-errors: 3.0.0 + hosted-git-info: 7.0.2 + json-parse-even-better-errors: 3.0.2 json-stringify-nice: 1.1.4 - minimatch: 9.0.3 - nopt: 7.2.0 + lru-cache: 10.2.2 + minimatch: 9.0.4 + nopt: 7.2.1 npm-install-checks: 6.3.0 - npm-package-arg: 11.0.1 - npm-pick-manifest: 9.0.0 - npm-registry-fetch: 16.0.0 - npmlog: 7.0.1 - pacote: 17.0.4 + npm-package-arg: 11.0.2 + npm-pick-manifest: 9.0.1 + npm-registry-fetch: 17.1.0 + pacote: 18.0.6 parse-conflict-json: 3.0.1 - proc-log: 3.0.0 + proc-log: 4.2.0 + proggy: 2.0.0 promise-all-reject-late: 1.0.1 - promise-call-limit: 1.0.2 + promise-call-limit: 3.0.1 read-package-json-fast: 3.0.2 - semver: 7.5.4 - ssri: 10.0.5 + semver: 7.6.2 + ssri: 10.0.6 treeverse: 3.0.0 walk-up-path: 3.0.1 transitivePeerDependencies: @@ -6806,56 +6689,57 @@ packages: - supports-color dev: false - /@npmcli/fs@3.1.0: - resolution: {integrity: sha512-7kZUAaLscfgbwBQRbvdMYaZOWyMEcPTH/tJjnyAWJ/dvvs9Ef+CERx/qJb9GExJpl1qipaDGn7KqHnFGGixd0w==} + /@npmcli/fs@3.1.1: + resolution: {integrity: sha512-q9CRWjpHCMIh5sVyefoD1cA7PkvILqCZsnSOEUUivORLjxCO/Irmue2DprETiNgEqktDBZaM1Bi+jrarx1XdCg==} engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} dependencies: - semver: 7.5.4 + semver: 7.6.2 dev: false - /@npmcli/git@5.0.3: - resolution: {integrity: sha512-UZp9NwK+AynTrKvHn5k3KviW/hA5eENmFsu3iAPe7sWRt0lFUdsY/wXIYjpDFe7cdSNwOIzbObfwgt6eL5/2zw==} + /@npmcli/git@5.0.7: + resolution: {integrity: sha512-WaOVvto604d5IpdCRV2KjQu8PzkfE96d50CQGKgywXh2GxXmDeUO5EWcBC4V57uFyrNqx83+MewuJh3WTR3xPA==} engines: {node: ^16.14.0 || >=18.0.0} dependencies: - '@npmcli/promise-spawn': 7.0.0 - lru-cache: 10.0.1 - npm-pick-manifest: 9.0.0 - proc-log: 3.0.0 + '@npmcli/promise-spawn': 7.0.2 + lru-cache: 10.2.2 + npm-pick-manifest: 9.0.1 + proc-log: 4.2.0 promise-inflight: 1.0.1 promise-retry: 2.0.1 - semver: 7.5.4 + semver: 7.6.2 which: 4.0.0 transitivePeerDependencies: - bluebird dev: false - /@npmcli/installed-package-contents@2.0.2: - resolution: {integrity: sha512-xACzLPhnfD51GKvTOOuNX2/V4G4mz9/1I2MfDoye9kBM3RYe5g2YbscsaGoTlaWqkxeiapBWyseULVKpSVHtKQ==} + /@npmcli/installed-package-contents@2.1.0: + resolution: {integrity: sha512-c8UuGLeZpm69BryRykLuKRyKFZYJsZSCT4aVY5ds4omyZqJ172ApzgfKJ5eV/r3HgLdUYgFVe54KSFVjKoe27w==} engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} hasBin: true dependencies: - npm-bundled: 3.0.0 + npm-bundled: 3.0.1 npm-normalize-package-bin: 3.0.1 dev: false - /@npmcli/map-workspaces@3.0.4: - resolution: {integrity: sha512-Z0TbvXkRbacjFFLpVpV0e2mheCh+WzQpcqL+4xp49uNJOxOnIAPZyXtUxZ5Qn3QBTGKA11Exjd9a5411rBrhDg==} + /@npmcli/map-workspaces@3.0.6: + resolution: {integrity: sha512-tkYs0OYnzQm6iIRdfy+LcLBjcKuQCeE5YLb8KnrIlutJfheNaPvPpgoFEyEFgbjzl5PLZ3IA/BWAwRU0eHuQDA==} engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} dependencies: '@npmcli/name-from-folder': 2.0.0 - glob: 10.3.10 - minimatch: 9.0.3 + glob: 10.4.2 + minimatch: 9.0.4 read-package-json-fast: 3.0.2 dev: false - /@npmcli/metavuln-calculator@7.0.0: - resolution: {integrity: sha512-Pw0tyX02VkpqlIQlG2TeiJNsdrecYeUU0ubZZa9pi3N37GCsxI+en43u4hYFdq+eSx1A9a9vwFAUyqEtKFsbHQ==} + /@npmcli/metavuln-calculator@7.1.1: + resolution: {integrity: sha512-Nkxf96V0lAx3HCpVda7Vw4P23RILgdi/5K1fmj2tZkWIYLpXAN8k2UVVOsW16TsS5F8Ws2I7Cm+PU1/rsVF47g==} engines: {node: ^16.14.0 || >=18.0.0} dependencies: - cacache: 18.0.0 - json-parse-even-better-errors: 3.0.0 - pacote: 17.0.4 - semver: 7.5.4 + cacache: 18.0.3 + json-parse-even-better-errors: 3.0.2 + pacote: 18.0.6 + proc-log: 4.2.0 + semver: 7.6.2 transitivePeerDependencies: - bluebird - supports-color @@ -6871,109 +6755,116 @@ packages: engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} dev: false - /@npmcli/package-json@5.0.0: - resolution: {integrity: sha512-OI2zdYBLhQ7kpNPaJxiflofYIpkNLi+lnGdzqUOfRmCF3r2l1nadcjtCYMJKv/Utm/ZtlffaUuTiAktPHbc17g==} + /@npmcli/package-json@5.2.0: + resolution: {integrity: sha512-qe/kiqqkW0AGtvBjL8TJKZk/eBBSpnJkUWvHdQ9jM2lKHXRYYJuyNpJPlJw3c8QjC2ow6NZYiLExhUaeJelbxQ==} engines: {node: ^16.14.0 || >=18.0.0} dependencies: - '@npmcli/git': 5.0.3 - glob: 10.3.10 - hosted-git-info: 7.0.1 - json-parse-even-better-errors: 3.0.0 - normalize-package-data: 6.0.0 - proc-log: 3.0.0 - semver: 7.5.4 + '@npmcli/git': 5.0.7 + glob: 10.4.2 + hosted-git-info: 7.0.2 + json-parse-even-better-errors: 3.0.2 + normalize-package-data: 6.0.1 + proc-log: 4.2.0 + semver: 7.6.2 transitivePeerDependencies: - bluebird dev: false - /@npmcli/promise-spawn@7.0.0: - resolution: {integrity: sha512-wBqcGsMELZna0jDblGd7UXgOby45TQaMWmbFwWX+SEotk4HV6zG2t6rT9siyLhPk4P6YYqgfL1UO8nMWDBVJXQ==} + /@npmcli/promise-spawn@7.0.2: + resolution: {integrity: sha512-xhfYPXoV5Dy4UkY0D+v2KkwvnDfiA/8Mt3sWCGI/hM03NsYIH8ZaG6QzS9x7pje5vHZBZJ2v6VRFVTWACnqcmQ==} engines: {node: ^16.14.0 || >=18.0.0} dependencies: which: 4.0.0 dev: false - /@npmcli/query@3.0.1: - resolution: {integrity: sha512-0jE8iHBogf/+bFDj+ju6/UMLbJ39c8h6nSe6qile+dB7PJ0iV3gNqcb2vtt6WWCBrxv9uAjzUT/8vroluulidA==} + /@npmcli/query@3.1.0: + resolution: {integrity: sha512-C/iR0tk7KSKGldibYIB9x8GtO/0Bd0I2mhOaDb8ucQL/bQVTmGoeREaFj64Z5+iCBRf3dQfed0CjJL7I8iTkiQ==} engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} dependencies: - postcss-selector-parser: 6.0.13 + postcss-selector-parser: 6.1.0 + dev: false + + /@npmcli/redact@2.0.1: + resolution: {integrity: sha512-YgsR5jCQZhVmTJvjduTOIHph0L73pK8xwMVaDY0PatySqVM9AZj93jpoXYSJqfHFxFkN9dmqTw6OiqExsS3LPw==} + engines: {node: ^16.14.0 || >=18.0.0} dev: false - /@npmcli/run-script@7.0.1: - resolution: {integrity: sha512-Od/JMrgkjZ8alyBE0IzeqZDiF1jgMez9Gkc/OYrCkHHiXNwM0wc6s7+h+xM7kYDZkS0tAoOLr9VvygyE5+2F7g==} + /@npmcli/run-script@8.1.0: + resolution: {integrity: sha512-y7efHHwghQfk28G2z3tlZ67pLG0XdfYbcVG26r7YIXALRsrVQcTq4/tdenSmdOrEsNahIYA/eh8aEVROWGFUDg==} engines: {node: ^16.14.0 || >=18.0.0} dependencies: '@npmcli/node-gyp': 3.0.0 - '@npmcli/promise-spawn': 7.0.0 - node-gyp: 9.4.0 - read-package-json-fast: 3.0.2 + '@npmcli/package-json': 5.2.0 + '@npmcli/promise-spawn': 7.0.2 + node-gyp: 10.1.0 + proc-log: 4.2.0 which: 4.0.0 transitivePeerDependencies: + - bluebird - supports-color dev: false - /@octokit/app@14.0.2: - resolution: {integrity: sha512-NCSCktSx+XmjuSUVn2dLfqQ9WIYePGP95SDJs4I9cn/0ZkeXcPkaoCLl64Us3dRKL2ozC7hArwze5Eu+/qt1tg==} + /@octokit/app@14.1.0: + resolution: {integrity: sha512-g3uEsGOQCBl1+W1rgfwoRFUIR6PtvB2T1E4RpygeUU5LrLvlOqcxrt5lfykIeRpUPpupreGJUYl70fqMDXdTpw==} engines: {node: '>= 18'} dependencies: - '@octokit/auth-app': 6.0.1 + '@octokit/auth-app': 6.1.1 '@octokit/auth-unauthenticated': 5.0.1 - '@octokit/core': 5.0.1 - '@octokit/oauth-app': 6.0.0 - '@octokit/plugin-paginate-rest': 9.0.0(@octokit/core@5.0.1) - '@octokit/types': 12.0.0 - '@octokit/webhooks': 12.1.2 + '@octokit/core': 5.2.0 + '@octokit/oauth-app': 6.1.0 + '@octokit/plugin-paginate-rest': 9.2.1(@octokit/core@5.2.0) + '@octokit/types': 12.6.0 + '@octokit/webhooks': 12.2.0 dev: true - /@octokit/auth-app@6.0.1: - resolution: {integrity: sha512-tjCD4nzQNZgmLH62+PSnTF6eGerisFgV4v6euhqJik6yWV96e1ZiiGj+NXIqbgnpjLmtnBqVUrNyGKu3DoGEGA==} + /@octokit/auth-app@6.1.1: + resolution: {integrity: sha512-VrTtzRpyuT5nYGUWeGWQqH//hqEZDV+/yb6+w5wmWpmmUA1Tx950XsAc2mBBfvusfcdF2E7w8jZ1r1WwvfZ9pA==} engines: {node: '>= 18'} dependencies: - '@octokit/auth-oauth-app': 7.0.1 - '@octokit/auth-oauth-user': 4.0.1 - '@octokit/request': 8.1.3 - '@octokit/request-error': 5.0.1 - '@octokit/types': 12.0.0 + '@octokit/auth-oauth-app': 7.1.0 + '@octokit/auth-oauth-user': 4.1.0 + '@octokit/request': 8.4.0 + '@octokit/request-error': 5.1.0 + '@octokit/types': 13.5.0 deprecation: 2.3.1 - lru-cache: 10.0.1 - universal-github-app-jwt: 1.1.1 - universal-user-agent: 6.0.0 + lru-cache: 10.2.2 + universal-github-app-jwt: 1.1.2 + universal-user-agent: 6.0.1 dev: true - /@octokit/auth-oauth-app@7.0.1: - resolution: {integrity: sha512-RE0KK0DCjCHXHlQBoubwlLijXEKfhMhKm9gO56xYvFmP1QTMb+vvwRPmQLLx0V+5AvV9N9I3lr1WyTzwL3rMDg==} + /@octokit/auth-oauth-app@7.1.0: + resolution: {integrity: sha512-w+SyJN/b0l/HEb4EOPRudo7uUOSW51jcK1jwLa+4r7PA8FPFpoxEnHBHMITqCsc/3Vo2qqFjgQfz/xUUvsSQnA==} engines: {node: '>= 18'} dependencies: - '@octokit/auth-oauth-device': 6.0.1 - '@octokit/auth-oauth-user': 4.0.1 - '@octokit/request': 8.1.3 - '@octokit/types': 12.0.0 - '@types/btoa-lite': 1.0.0 + '@octokit/auth-oauth-device': 6.1.0 + '@octokit/auth-oauth-user': 4.1.0 + '@octokit/request': 8.4.0 + '@octokit/types': 13.5.0 + '@types/btoa-lite': 1.0.2 btoa-lite: 1.0.0 - universal-user-agent: 6.0.0 + universal-user-agent: 6.0.1 dev: true - /@octokit/auth-oauth-device@6.0.1: - resolution: {integrity: sha512-yxU0rkL65QkjbqQedgVx3gmW7YM5fF+r5uaSj9tM/cQGVqloXcqP2xK90eTyYvl29arFVCW8Vz4H/t47mL0ELw==} + /@octokit/auth-oauth-device@6.1.0: + resolution: {integrity: sha512-FNQ7cb8kASufd6Ej4gnJ3f1QB5vJitkoV1O0/g6e6lUsQ7+VsSNRHRmFScN2tV4IgKA12frrr/cegUs0t+0/Lw==} engines: {node: '>= 18'} dependencies: - '@octokit/oauth-methods': 4.0.0 - '@octokit/request': 8.1.3 - '@octokit/types': 12.0.0 - universal-user-agent: 6.0.0 + '@octokit/oauth-methods': 4.1.0 + '@octokit/request': 8.4.0 + '@octokit/types': 13.5.0 + universal-user-agent: 6.0.1 dev: true - /@octokit/auth-oauth-user@4.0.1: - resolution: {integrity: sha512-N94wWW09d0hleCnrO5wt5MxekatqEJ4zf+1vSe8MKMrhZ7gAXKFOKrDEZW2INltvBWJCyDUELgGRv8gfErH1Iw==} + /@octokit/auth-oauth-user@4.1.0: + resolution: {integrity: sha512-FrEp8mtFuS/BrJyjpur+4GARteUCrPeR/tZJzD8YourzoVhRics7u7we/aDcKv+yywRNwNi/P4fRi631rG/OyQ==} engines: {node: '>= 18'} dependencies: - '@octokit/auth-oauth-device': 6.0.1 - '@octokit/oauth-methods': 4.0.0 - '@octokit/request': 8.1.3 - '@octokit/types': 12.0.0 + '@octokit/auth-oauth-device': 6.1.0 + '@octokit/oauth-methods': 4.1.0 + '@octokit/request': 8.4.0 + '@octokit/types': 13.5.0 btoa-lite: 1.0.0 - universal-user-agent: 6.0.0 + universal-user-agent: 6.0.1 dev: true /@octokit/auth-token@2.5.0: @@ -6993,8 +6884,8 @@ packages: resolution: {integrity: sha512-oxeWzmBFxWd+XolxKTc4zr+h3mt+yofn4r7OfoIkR/Cj/o70eEGmPsFbueyJE2iBAGpjgTnEOKM3pnuEGVmiqg==} engines: {node: '>= 18'} dependencies: - '@octokit/request-error': 5.0.1 - '@octokit/types': 12.0.0 + '@octokit/request-error': 5.1.0 + '@octokit/types': 12.6.0 dev: true /@octokit/core@3.6.0: @@ -7007,23 +6898,23 @@ packages: '@octokit/request-error': 2.1.0 '@octokit/types': 6.41.0 before-after-hook: 2.2.3 - universal-user-agent: 6.0.0 + universal-user-agent: 6.0.1 transitivePeerDependencies: - encoding dev: false optional: true - /@octokit/core@5.0.1: - resolution: {integrity: sha512-lyeeeZyESFo+ffI801SaBKmCfsvarO+dgV8/0gD8u1d87clbEdWsP5yC+dSj3zLhb2eIf5SJrn6vDz9AheETHw==} + /@octokit/core@5.2.0: + resolution: {integrity: sha512-1LFfa/qnMQvEOAdzlQymH0ulepxbxnCYAKJZfMci/5XJyIHWgEYnDmgnKakbTh7CH2tFQ5O60oYDvns4i9RAIg==} engines: {node: '>= 18'} dependencies: '@octokit/auth-token': 4.0.0 - '@octokit/graphql': 7.0.2 - '@octokit/request': 8.1.3 - '@octokit/request-error': 5.0.1 - '@octokit/types': 12.0.0 + '@octokit/graphql': 7.1.0 + '@octokit/request': 8.4.0 + '@octokit/request-error': 5.1.0 + '@octokit/types': 13.5.0 before-after-hook: 2.2.3 - universal-user-agent: 6.0.0 + universal-user-agent: 6.0.1 dev: true /@octokit/endpoint@6.0.12: @@ -7032,17 +6923,16 @@ packages: dependencies: '@octokit/types': 6.41.0 is-plain-object: 5.0.0 - universal-user-agent: 6.0.0 + universal-user-agent: 6.0.1 dev: false optional: true - /@octokit/endpoint@9.0.1: - resolution: {integrity: sha512-hRlOKAovtINHQPYHZlfyFwaM8OyetxeoC81lAkBy34uLb8exrZB50SQdeW3EROqiY9G9yxQTpp5OHTV54QD+vA==} + /@octokit/endpoint@9.0.5: + resolution: {integrity: sha512-ekqR4/+PCLkEBF6qgj8WqJfvDq65RH85OAgrtnVp1mSxaXF03u2xW/hUdweGS5654IlC0wkNYC18Z50tSYTAFw==} engines: {node: '>= 18'} dependencies: - '@octokit/types': 12.0.0 - is-plain-object: 5.0.0 - universal-user-agent: 6.0.0 + '@octokit/types': 13.5.0 + universal-user-agent: 6.0.1 dev: true /@octokit/graphql@4.8.0: @@ -7051,33 +6941,33 @@ packages: dependencies: '@octokit/request': 5.6.3 '@octokit/types': 6.41.0 - universal-user-agent: 6.0.0 + universal-user-agent: 6.0.1 transitivePeerDependencies: - encoding dev: false optional: true - /@octokit/graphql@7.0.2: - resolution: {integrity: sha512-OJ2iGMtj5Tg3s6RaXH22cJcxXRi7Y3EBqbHTBRq+PQAqfaS8f/236fUrWhfSn8P4jovyzqucxme7/vWSSZBX2Q==} + /@octokit/graphql@7.1.0: + resolution: {integrity: sha512-r+oZUH7aMFui1ypZnAvZmn0KSqAUgE1/tUXIWaqUCa1758ts/Jio84GZuzsvUkme98kv0WFY8//n0J1Z+vsIsQ==} engines: {node: '>= 18'} dependencies: - '@octokit/request': 8.1.3 - '@octokit/types': 12.0.0 - universal-user-agent: 6.0.0 + '@octokit/request': 8.4.0 + '@octokit/types': 13.5.0 + universal-user-agent: 6.0.1 dev: true - /@octokit/oauth-app@6.0.0: - resolution: {integrity: sha512-bNMkS+vJ6oz2hCyraT9ZfTpAQ8dZNqJJQVNaKjPLx4ue5RZiFdU1YWXguOPR8AaSHS+lKe+lR3abn2siGd+zow==} + /@octokit/oauth-app@6.1.0: + resolution: {integrity: sha512-nIn/8eUJ/BKUVzxUXd5vpzl1rwaVxMyYbQkNZjHrF7Vk/yu98/YDF/N2KeWO7uZ0g3b5EyiFXFkZI8rJ+DH1/g==} engines: {node: '>= 18'} dependencies: - '@octokit/auth-oauth-app': 7.0.1 - '@octokit/auth-oauth-user': 4.0.1 + '@octokit/auth-oauth-app': 7.1.0 + '@octokit/auth-oauth-user': 4.1.0 '@octokit/auth-unauthenticated': 5.0.1 - '@octokit/core': 5.0.1 + '@octokit/core': 5.2.0 '@octokit/oauth-authorization-url': 6.0.2 - '@octokit/oauth-methods': 4.0.0 - '@types/aws-lambda': 8.10.124 - universal-user-agent: 6.0.0 + '@octokit/oauth-methods': 4.1.0 + '@types/aws-lambda': 8.10.140 + universal-user-agent: 6.0.1 dev: true /@octokit/oauth-authorization-url@6.0.2: @@ -7085,14 +6975,14 @@ packages: engines: {node: '>= 18'} dev: true - /@octokit/oauth-methods@4.0.0: - resolution: {integrity: sha512-dqy7BZLfLbi3/8X8xPKUKZclMEK9vN3fK5WF3ortRvtplQTszFvdAGbTo71gGLO+4ZxspNiLjnqdd64Chklf7w==} + /@octokit/oauth-methods@4.1.0: + resolution: {integrity: sha512-4tuKnCRecJ6CG6gr0XcEXdZtkTDbfbnD5oaHBmLERTjTMZNi2CbfEHZxPU41xXLDG4DfKf+sonu00zvKI9NSbw==} engines: {node: '>= 18'} dependencies: '@octokit/oauth-authorization-url': 6.0.2 - '@octokit/request': 8.1.3 - '@octokit/request-error': 5.0.1 - '@octokit/types': 11.1.0 + '@octokit/request': 8.4.0 + '@octokit/request-error': 5.1.0 + '@octokit/types': 13.5.0 btoa-lite: 1.0.0 dev: true @@ -7102,21 +6992,31 @@ packages: dev: false optional: true - /@octokit/openapi-types@18.1.1: - resolution: {integrity: sha512-VRaeH8nCDtF5aXWnjPuEMIYf1itK/s3JYyJcWFJT8X9pSNnBtriDf7wlEWsGuhPLl4QIH4xM8fqTXDwJ3Mu6sw==} + /@octokit/openapi-types@20.0.0: + resolution: {integrity: sha512-EtqRBEjp1dL/15V7WiX5LJMIxxkdiGJnabzYx5Apx4FkQIFgAfKumXeYAqqJCj1s+BMX4cPFIFC4OLCR6stlnA==} dev: true - /@octokit/openapi-types@19.0.0: - resolution: {integrity: sha512-PclQ6JGMTE9iUStpzMkwLCISFn/wDeRjkZFIKALpvJQNBGwDoYYi2fFvuHwssoQ1rXI5mfh6jgTgWuddeUzfWw==} + /@octokit/openapi-types@22.2.0: + resolution: {integrity: sha512-QBhVjcUa9W7Wwhm6DBFu6ZZ+1/t/oYxqc2tp81Pi41YNuJinbFRx8B133qVOrAaBbF7D/m0Et6f9/pZt9Rc+tg==} dev: true - /@octokit/plugin-paginate-graphql@4.0.0(@octokit/core@5.0.1): - resolution: {integrity: sha512-7HcYW5tP7/Z6AETAPU14gp5H5KmCPT3hmJrS/5tO7HIgbwenYmgw4OY9Ma54FDySuxMwD+wsJlxtuGWwuZuItA==} + /@octokit/plugin-paginate-graphql@4.0.1(@octokit/core@5.2.0): + resolution: {integrity: sha512-R8ZQNmrIKKpHWC6V2gum4x9LG2qF1RxRjo27gjQcG3j+vf2tLsEfE7I/wRWEPzYMaenr1M+qDAtNcwZve1ce1A==} engines: {node: '>= 18'} peerDependencies: '@octokit/core': '>=5' dependencies: - '@octokit/core': 5.0.1 + '@octokit/core': 5.2.0 + dev: true + + /@octokit/plugin-paginate-rest@11.3.1(@octokit/core@5.2.0): + resolution: {integrity: sha512-ryqobs26cLtM1kQxqeZui4v8FeznirUsksiA+RYemMPJ7Micju0WSkv50dBksTuZks9O5cg4wp+t8fZ/cLY56g==} + engines: {node: '>= 18'} + peerDependencies: + '@octokit/core': '5' + dependencies: + '@octokit/core': 5.2.0 + '@octokit/types': 13.5.0 dev: true /@octokit/plugin-paginate-rest@2.21.3(@octokit/core@3.6.0): @@ -7130,14 +7030,14 @@ packages: dev: false optional: true - /@octokit/plugin-paginate-rest@9.0.0(@octokit/core@5.0.1): - resolution: {integrity: sha512-oIJzCpttmBTlEhBmRvb+b9rlnGpmFgDtZ0bB6nq39qIod6A5DP+7RkVLMOixIgRCYSHDTeayWqmiJ2SZ6xgfdw==} + /@octokit/plugin-paginate-rest@9.2.1(@octokit/core@5.2.0): + resolution: {integrity: sha512-wfGhE/TAkXZRLjksFXuDZdmGnJQHvtU/joFQdweXUgzo1XwvBCD4o4+75NtFfjfLK5IwLf9vHTfSiU3sLRYpRw==} engines: {node: '>= 18'} peerDependencies: - '@octokit/core': '>=5' + '@octokit/core': '5' dependencies: - '@octokit/core': 5.0.1 - '@octokit/types': 12.0.0 + '@octokit/core': 5.2.0 + '@octokit/types': 12.6.0 dev: true /@octokit/plugin-request-log@1.0.4(@octokit/core@3.6.0): @@ -7150,14 +7050,14 @@ packages: dev: false optional: true - /@octokit/plugin-rest-endpoint-methods@10.0.0(@octokit/core@5.0.1): - resolution: {integrity: sha512-16VkwE2v6rXU+/gBsYC62M8lKWOphY5Lg4wpjYnVE9Zbu0J6IwiT5kILoj1YOB53XLmcJR+Nqp8DmifOPY4H3g==} + /@octokit/plugin-rest-endpoint-methods@13.2.2(@octokit/core@5.2.0): + resolution: {integrity: sha512-EI7kXWidkt3Xlok5uN43suK99VWqc8OaIMktY9d9+RNKl69juoTyxmLoWPIZgJYzi41qj/9zU7G/ljnNOJ5AFA==} engines: {node: '>= 18'} peerDependencies: - '@octokit/core': '>=5' + '@octokit/core': ^5 dependencies: - '@octokit/core': 5.0.1 - '@octokit/types': 12.0.0 + '@octokit/core': 5.2.0 + '@octokit/types': 13.5.0 dev: true /@octokit/plugin-rest-endpoint-methods@5.16.2(@octokit/core@3.6.0): @@ -7172,26 +7072,26 @@ packages: dev: false optional: true - /@octokit/plugin-retry@6.0.1(@octokit/core@5.0.1): + /@octokit/plugin-retry@6.0.1(@octokit/core@5.2.0): resolution: {integrity: sha512-SKs+Tz9oj0g4p28qkZwl/topGcb0k0qPNX/i7vBKmDsjoeqnVfFUquqrE/O9oJY7+oLzdCtkiWSXLpLjvl6uog==} engines: {node: '>= 18'} peerDependencies: '@octokit/core': '>=5' dependencies: - '@octokit/core': 5.0.1 - '@octokit/request-error': 5.0.1 - '@octokit/types': 12.0.0 + '@octokit/core': 5.2.0 + '@octokit/request-error': 5.1.0 + '@octokit/types': 12.6.0 bottleneck: 2.19.5 dev: true - /@octokit/plugin-throttling@8.0.0(@octokit/core@5.0.1): - resolution: {integrity: sha512-OkMbHYUidj81q92YRkPzWmwXkEtsI3KOcSkNm763aqUOh9IEplyX05XjKAdZFANAvaYH0Q4JBZwu4h2VnPVXZA==} + /@octokit/plugin-throttling@8.2.0(@octokit/core@5.2.0): + resolution: {integrity: sha512-nOpWtLayKFpgqmgD0y3GqXafMFuKcA4tRPZIfu7BArd2lEZeb1988nhWhwx4aZWmjDmUfdgVf7W+Tt4AmvRmMQ==} engines: {node: '>= 18'} peerDependencies: '@octokit/core': ^5.0.0 dependencies: - '@octokit/core': 5.0.1 - '@octokit/types': 12.0.0 + '@octokit/core': 5.2.0 + '@octokit/types': 12.6.0 bottleneck: 2.19.5 dev: true @@ -7205,11 +7105,11 @@ packages: dev: false optional: true - /@octokit/request-error@5.0.1: - resolution: {integrity: sha512-X7pnyTMV7MgtGmiXBwmO6M5kIPrntOXdyKZLigNfQWSEQzVxR4a4vo49vJjTWX70mPndj8KhfT4Dx+2Ng3vnBQ==} + /@octokit/request-error@5.1.0: + resolution: {integrity: sha512-GETXfE05J0+7H2STzekpKObFe765O5dlAKUTLNGeH+x47z7JjXHfsHKo5z21D/o/IOZTUEI6nyWyR+bZVP/n5Q==} engines: {node: '>= 18'} dependencies: - '@octokit/types': 12.0.0 + '@octokit/types': 13.5.0 deprecation: 2.3.1 once: 1.4.0 dev: true @@ -7223,21 +7123,20 @@ packages: '@octokit/types': 6.41.0 is-plain-object: 5.0.0 node-fetch: 2.7.0 - universal-user-agent: 6.0.0 + universal-user-agent: 6.0.1 transitivePeerDependencies: - encoding dev: false optional: true - /@octokit/request@8.1.3: - resolution: {integrity: sha512-iUvXP4QmysS8kyE/a4AGwR0A+tHDVxgW6TmPd2ci8/Xc8KjlBtTKSDpZlUT5Y4S4Nu+eM8LvbOYjVAp/sz3Gpg==} + /@octokit/request@8.4.0: + resolution: {integrity: sha512-9Bb014e+m2TgBeEJGEbdplMVWwPmL1FPtggHQRkV+WVsMggPtEkLKPlcVYm/o8xKLkpJ7B+6N8WfQMtDLX2Dpw==} engines: {node: '>= 18'} dependencies: - '@octokit/endpoint': 9.0.1 - '@octokit/request-error': 5.0.1 - '@octokit/types': 12.0.0 - is-plain-object: 5.0.0 - universal-user-agent: 6.0.0 + '@octokit/endpoint': 9.0.5 + '@octokit/request-error': 5.1.0 + '@octokit/types': 13.5.0 + universal-user-agent: 6.0.1 dev: true /@octokit/rest@18.12.0: @@ -7253,16 +7152,16 @@ packages: dev: false optional: true - /@octokit/types@11.1.0: - resolution: {integrity: sha512-Fz0+7GyLm/bHt8fwEqgvRBWwIV1S6wRRyq+V6exRKLVWaKGsuy6H9QFYeBVDV7rK6fO3XwHgQOPxv+cLj2zpXQ==} + /@octokit/types@12.6.0: + resolution: {integrity: sha512-1rhSOfRa6H9w4YwK0yrf5faDaDTb+yLyBUKOCV4xtCDB5VmIPqd/v9yr9o6SAzOAlRxMiRiCic6JVM1/kunVkw==} dependencies: - '@octokit/openapi-types': 18.1.1 + '@octokit/openapi-types': 20.0.0 dev: true - /@octokit/types@12.0.0: - resolution: {integrity: sha512-EzD434aHTFifGudYAygnFlS1Tl6KhbTynEWELQXIbTY8Msvb5nEqTZIm7sbPEt4mQYLZwu3zPKVdeIrw0g7ovg==} + /@octokit/types@13.5.0: + resolution: {integrity: sha512-HdqWTf5Z3qwDVlzCrP8UJquMwunpDiMPt5er+QjGzL4hqr/vBVY/MauQgS1xWxCDT1oMx1EULyqxncdCY/NVSQ==} dependencies: - '@octokit/openapi-types': 19.0.0 + '@octokit/openapi-types': 22.2.0 dev: true /@octokit/types@6.41.0: @@ -7278,17 +7177,17 @@ packages: engines: {node: '>= 18'} dev: true - /@octokit/webhooks-types@7.3.2: - resolution: {integrity: sha512-JWOoOgtWTFnTSAamPXXyjTY5/apttvNxF+vPBnwdSu5cj5snrd7FO0fyw4+wTXy8fHduq626JjhO+TwCyyA6vA==} + /@octokit/webhooks-types@7.4.0: + resolution: {integrity: sha512-FE2V+QZ2UYlh+9wWd5BPLNXG+J/XUD/PPq0ovS+nCcGX4+3qVbi3jYOmCTW48hg9SBBLtInx9+o7fFt4H5iP0Q==} dev: true - /@octokit/webhooks@12.1.2: - resolution: {integrity: sha512-+nGS3ReCByF6m+nbNB59x7Aa3CNjCCGuBLFzfkiJP1O3uVKKuJbkP4uO4t46YqH26nlugmOhqjT7nx5D0VPtdA==} + /@octokit/webhooks@12.2.0: + resolution: {integrity: sha512-CyuLJ0/P7bKZ+kIYw+fnkeVdhUzNuDKgNSI7pU/m7Nod0T7kP+s4s2f0pNmG9HL8/RZN1S0ZWTDll3VTMrFLAw==} engines: {node: '>= 18'} dependencies: - '@octokit/request-error': 5.0.1 + '@octokit/request-error': 5.1.0 '@octokit/webhooks-methods': 4.1.0 - '@octokit/webhooks-types': 7.3.2 + '@octokit/webhooks-types': 7.4.0 aggregate-error: 3.1.0 dev: true @@ -7317,8 +7216,8 @@ packages: resolution: {integrity: sha512-T8TbSnGsxo6TDBJx/Sgv/BlVJL3tshxZP7Aq5R1mSnM5OcHY2dQaxLMu2+E8u3gN0MLOzdjurqN4ZRVuzQycOQ==} engines: {node: '>=8.0'} - /@opentelemetry/api@1.6.0: - resolution: {integrity: sha512-OWlrQAnWn9577PhVgqjUvMr1pg57Bc4jv0iL4w0PRuOSRvq67rvHW9Ie/dZVMvCzhSCB+UxhcY/PmCmFj33Q+g==} + /@opentelemetry/api@1.9.0: + resolution: {integrity: sha512-3giAOQvZiH5F9bMlMiv8+GSPMeqg0dbaeo58/0SlA9sxSqZhnUtxzX9/2FzyhS9sWQf5S0GJE0AKBrFqjpeYcg==} engines: {node: '>=8.0.0'} dev: false @@ -7328,37 +7227,37 @@ packages: requiresBuild: true optional: true - /@playwright/test@1.38.1: - resolution: {integrity: sha512-NqRp8XMwj3AK+zKLbZShl0r/9wKgzqI/527bkptKXomtuo+dOjU9NdMASQ8DNC9z9zLOMbG53T4eihYr3XR+BQ==} + /@playwright/test@1.44.1: + resolution: {integrity: sha512-1hZ4TNvD5z9VuhNJ/walIjvMVvYkZKf71axoF/uiAqpntQJXpG64dlXhoDXE3OczPuTuvjf/M5KWFg5VAVUS3Q==} engines: {node: '>=16'} hasBin: true dependencies: - playwright: 1.38.1 + playwright: 1.44.1 dev: true - /@pnpm/cli-meta@5.0.3: - resolution: {integrity: sha512-Pbx63/wc9LkDZ4QKvKFrgSI/c0LEOWUbXHi+R8vs9npfM5zeD4IdqSrDArpEzX5NQIs+8NLItSTeEOKX0C2EEQ==} + /@pnpm/cli-meta@5.0.6: + resolution: {integrity: sha512-4lf9QLMISxwzdYohzyAl7lsDvH3rAiEv30oWCst1TP2en8p20u5JsG7wSaqBqsyprAcXRMov/CAOhcighX7LDg==} engines: {node: '>=16.14'} dependencies: - '@pnpm/types': 9.3.0 + '@pnpm/types': 9.4.2 load-json-file: 6.2.0 dev: false - /@pnpm/cli-utils@2.0.23(@pnpm/logger@5.0.0): - resolution: {integrity: sha512-Om1G0haOQFXopTihC6uakz9OJySaHXoVjUMLrkbCSHz6cATfL0URx7Ym8RTgs11yWta7jtdhbPepsAsr26UCvg==} + /@pnpm/cli-utils@2.1.11(@pnpm/logger@5.0.0): + resolution: {integrity: sha512-cdGiDhmGTTMH5OUyuxZHPkdZbBLwhCGOENYHqn6vW3MzdNwcNcR/hFfnbsGuLGh+5yGsZwINr5gjNJ0nPko1dw==} engines: {node: '>=16.14'} peerDependencies: '@pnpm/logger': ^5.0.0 dependencies: - '@pnpm/cli-meta': 5.0.3 - '@pnpm/config': 19.2.1(@pnpm/logger@5.0.0) - '@pnpm/default-reporter': 12.4.2(@pnpm/logger@5.0.0) - '@pnpm/error': 5.0.2 + '@pnpm/cli-meta': 5.0.6 + '@pnpm/config': 20.4.3(@pnpm/logger@5.0.0) + '@pnpm/default-reporter': 12.5.0(@pnpm/logger@5.0.0) + '@pnpm/error': 5.0.3 '@pnpm/logger': 5.0.0 - '@pnpm/manifest-utils': 5.0.4(@pnpm/logger@5.0.0) - '@pnpm/package-is-installable': 8.0.5(@pnpm/logger@5.0.0) - '@pnpm/read-project-manifest': 5.0.7 - '@pnpm/types': 9.3.0 + '@pnpm/manifest-utils': 5.0.8(@pnpm/logger@5.0.0) + '@pnpm/package-is-installable': 8.1.3(@pnpm/logger@5.0.0) + '@pnpm/read-project-manifest': 5.0.11 + '@pnpm/types': 9.4.2 chalk: 4.1.2 load-json-file: 6.2.0 dev: false @@ -7368,19 +7267,19 @@ packages: engines: {node: '>=12.22.0'} dev: false - /@pnpm/config@19.2.1(@pnpm/logger@5.0.0): - resolution: {integrity: sha512-FISlC9B9bejhAXNINg5yUFQ1MlmvLLPYdVd1EJAzyDavIAiNdFj4tiF6W5BdOx36S7EbWX3gDsdFYhfgqqQliw==} + /@pnpm/config@20.4.3(@pnpm/logger@5.0.0): + resolution: {integrity: sha512-zj6Jv0/5B8ehzNuyxAi/g5BKLnf0DsLQLamVTsxzyRo5YnhXU4lFzTleWmV+MzuZGrzUNMAv6RuC8QQ7UH+8GA==} engines: {node: '>=16.14'} dependencies: '@pnpm/config.env-replace': 1.1.0 '@pnpm/constants': 7.1.1 - '@pnpm/error': 5.0.2 + '@pnpm/error': 5.0.3 '@pnpm/git-utils': 1.0.0 '@pnpm/matcher': 5.0.0 '@pnpm/npm-conf': 2.2.2 - '@pnpm/pnpmfile': 5.0.14(@pnpm/logger@5.0.0) - '@pnpm/read-project-manifest': 5.0.7 - '@pnpm/types': 9.3.0 + '@pnpm/pnpmfile': 5.0.21(@pnpm/logger@5.0.0) + '@pnpm/read-project-manifest': 5.0.11 + '@pnpm/types': 9.4.2 better-path-resolve: 1.0.0 camelcase: 6.3.0 camelcase-keys: 6.2.2 @@ -7393,7 +7292,7 @@ packages: ramda: /@pnpm/ramda@0.28.1 read-ini-file: 4.0.0 realpath-missing: 1.1.0 - which: 3.0.1 + which: 4.0.0 transitivePeerDependencies: - '@pnpm/logger' dev: false @@ -7403,21 +7302,21 @@ packages: engines: {node: '>=16.14'} dev: false - /@pnpm/core-loggers@9.0.3(@pnpm/logger@5.0.0): - resolution: {integrity: sha512-qjy8tkqfN3FQtLSh4qN3Qvll+T1lav1K6hgdGiy3R0Zv5rMORc60yaeBzLDq/dvb/DvY7tdwDcMX9e5odAhrNw==} + /@pnpm/core-loggers@9.0.6(@pnpm/logger@5.0.0): + resolution: {integrity: sha512-iK67SGbp+06bA/elpg51wygPFjNA7JKHtKkpLxqXXHw+AjFFBC3f2OznJsCIuDK6HdGi5UhHLYqo5QxJ2gMqJQ==} engines: {node: '>=16.14'} peerDependencies: '@pnpm/logger': ^5.0.0 dependencies: '@pnpm/logger': 5.0.0 - '@pnpm/types': 9.3.0 + '@pnpm/types': 9.4.2 dev: false /@pnpm/crypto.base32-hash@2.0.0: resolution: {integrity: sha512-3ttOeHBpmWRbgJrpDQ8Nwd3W8s8iuiP5YZM0JRyKWaMtX8lu9d7/AKyxPmhYsMJuN+q/1dwHa7QFeDZJ53b0oA==} engines: {node: '>=16.14'} dependencies: - rfc4648: 1.5.2 + rfc4648: 1.5.3 dev: false /@pnpm/dedupe.issues-renderer@1.0.0: @@ -7434,20 +7333,20 @@ packages: engines: {node: '>=16.14'} dev: false - /@pnpm/default-reporter@12.4.2(@pnpm/logger@5.0.0): - resolution: {integrity: sha512-9GK3ol+PQx9WEx3uetb+M9lhP/uK/vAm+PCaeOH/DVadbYQyy7fhKOgYBuOMshHNLqwGcdfnLeyY3b2lQdrEIg==} + /@pnpm/default-reporter@12.5.0(@pnpm/logger@5.0.0): + resolution: {integrity: sha512-KH9qjeTsk5HGLQLeyqnuLIN43+lx9nfPccPDhaK/UAm5SVg43l3e6JLIL8AIESZrn/iGlZ7SziT2G5q/+fJmrw==} engines: {node: '>=16.14'} peerDependencies: '@pnpm/logger': ^5.0.0 dependencies: - '@pnpm/config': 19.2.1(@pnpm/logger@5.0.0) - '@pnpm/core-loggers': 9.0.3(@pnpm/logger@5.0.0) + '@pnpm/config': 20.4.3(@pnpm/logger@5.0.0) + '@pnpm/core-loggers': 9.0.6(@pnpm/logger@5.0.0) '@pnpm/dedupe.issues-renderer': 1.0.0 '@pnpm/dedupe.types': 1.0.0 - '@pnpm/error': 5.0.2 + '@pnpm/error': 5.0.3 '@pnpm/logger': 5.0.0 - '@pnpm/render-peer-issues': 4.0.3 - '@pnpm/types': 9.3.0 + '@pnpm/render-peer-issues': 4.1.0 + '@pnpm/types': 9.4.2 ansi-diff: 1.1.1 boxen: 5.1.2 chalk: 4.1.2 @@ -7458,51 +7357,51 @@ packages: ramda: /@pnpm/ramda@0.28.1 right-pad: 1.0.1 rxjs: 7.8.1 - semver: 7.5.4 + semver: 7.6.2 stacktracey: 2.1.8 string-length: 4.0.2 dev: false - /@pnpm/dependency-path@2.1.4: - resolution: {integrity: sha512-QdT1Q3A2tx2TnGJZjso6W/LkJE+hnvcj3O6eN9NT46ckVmYEI2/6cYmRJY8PGrem/X222b7BeE4I8bnLDWZaWQ==} + /@pnpm/dependency-path@2.1.8: + resolution: {integrity: sha512-ywBaTjy0iSEF7lH3DlF8UXrdL2bw4AQFV2tTOeNeY7wc1W5CE+RHSJhf9MXBYcZPesqGRrPiU7Pimj3l05L9VA==} engines: {node: '>=16.14'} dependencies: '@pnpm/crypto.base32-hash': 2.0.0 - '@pnpm/types': 9.3.0 + '@pnpm/types': 9.4.2 encode-registry: 3.0.1 - semver: 7.5.4 + semver: 7.6.2 dev: false - /@pnpm/error@5.0.2: - resolution: {integrity: sha512-0TEm+tWNYm+9uh6DSKyRbv8pv/6b4NL0PastLvMxIoqZbBZ5Zj1cYi332R9xsSUi31ZOsu2wpgn/bC7DA9hrjg==} + /@pnpm/error@5.0.3: + resolution: {integrity: sha512-ONJU5cUeoeJSy50qOYsMZQHTA/9QKmGgh1ATfEpCLgtbdwqUiwD9MxHNeXUYYI/pocBCz6r1ZCFqiQvO+8SUKA==} engines: {node: '>=16.14'} dependencies: '@pnpm/constants': 7.1.1 dev: false - /@pnpm/fetcher-base@15.0.2: - resolution: {integrity: sha512-a+vy3k24dRZZ2iY9N22PNOxwEthxBG46pw1YmlXL96ioizVVbFeFAEdsZiiD0t8Th+mmKFAvk7tzdg3Vpo1d0g==} + /@pnpm/fetcher-base@15.0.7: + resolution: {integrity: sha512-0sGAHQcu3Z9IO+OmQlDesOJ5fuH16hsDakssfvWoWOQaxe6c/fOstcWzqqcR4jJ5L7ylNzNB090FZM4seVzW7w==} engines: {node: '>=16.14'} dependencies: - '@pnpm/resolver-base': 10.0.3 - '@pnpm/types': 9.3.0 - '@types/ssri': 7.1.2 + '@pnpm/resolver-base': 11.1.0 + '@pnpm/types': 9.4.2 + '@types/ssri': 7.1.5 dev: false - /@pnpm/find-workspace-dir@6.0.2: - resolution: {integrity: sha512-JSrpQUFCs4vY1D5tOmj7qBb+oE2j/lO6341giEdUpvYf3FijY8CY13l8rPjfHV2y3m//utzl0An+q+qx14S6Nw==} + /@pnpm/find-workspace-dir@6.0.3: + resolution: {integrity: sha512-0iJnNkS4T8lJE4ldOhRERgER1o59iHA1nMlvpUI5lxNC9SUruH6peRUOlP4/rNcDg+UQ9u0rt5loYOnWKCojtw==} engines: {node: '>=16.14'} dependencies: - '@pnpm/error': 5.0.2 + '@pnpm/error': 5.0.3 find-up: 5.0.0 dev: false - /@pnpm/fs.find-packages@2.0.7: - resolution: {integrity: sha512-0X3UblPT+p9zWw4Qkg1M8YBIv0Bz41p4V8iQPDKVgUBajMlNAlG0fkL45BkLDGGO+JYfMJl/uinVKqNjE7nf+Q==} + /@pnpm/fs.find-packages@2.0.11: + resolution: {integrity: sha512-y2SdQYJgKlnxhiy8pk0gyAmoQWJlZ3A+kGmQCmsafczK9ywQi9fNyD5p2FaPxc+NtC7e2KHpwRnn//kHPovTjg==} engines: {node: '>=16.14'} dependencies: - '@pnpm/read-project-manifest': 5.0.7 - '@pnpm/types': 9.3.0 + '@pnpm/read-project-manifest': 5.0.11 + '@pnpm/types': 9.4.2 '@pnpm/util.lex-comparator': 1.0.0 fast-glob: 3.3.2 p-filter: 2.1.0 @@ -7522,57 +7421,57 @@ packages: graceful-fs: 4.2.11 dev: false - /@pnpm/hooks.types@1.0.3: - resolution: {integrity: sha512-MGPDi2t/Rg9qfmYvml+bV7aB2LeKv2flGWLguu8Gqwgfu4/mQKVX6u9NU8IdV2dmVoPBCO+bTqigYkaXYexjQg==} + /@pnpm/hooks.types@1.0.6: + resolution: {integrity: sha512-nG1lZ/XOGUVHr9Mqo0mq3KEh7iX1KXn7HlpJELbRt5ffSZdzbFXm9N7gNERs8MMq3XxVXeVOjLruvtgwqXo2BA==} engines: {node: '>=16.14'} dependencies: - '@pnpm/lockfile-types': 5.1.2 - '@pnpm/types': 9.3.0 + '@pnpm/lockfile-types': 5.1.5 + '@pnpm/types': 9.4.2 dev: false - /@pnpm/lockfile-file@8.1.3(@pnpm/logger@5.0.0): - resolution: {integrity: sha512-t1qzYJcm/JAfKW1MdLhswM0+fSvy9/pRSXNQhxADCGor29zvBxieb/8xhDweIW5acH0T0TbS3Hgo0Iu/Ui2JuQ==} + /@pnpm/lockfile-file@8.1.8(@pnpm/logger@5.0.0): + resolution: {integrity: sha512-bRadYzGFyFtwiynwp4Mkn7NDNHkgKvJ9xtjsCT5XiE6S8wpzS3W8yx2WzHGk9Mm1J/2wM0F52+NzCWhlz5eIqA==} engines: {node: '>=16.14'} peerDependencies: '@pnpm/logger': ^5.0.0 dependencies: '@pnpm/constants': 7.1.1 - '@pnpm/dependency-path': 2.1.4 - '@pnpm/error': 5.0.2 + '@pnpm/dependency-path': 2.1.8 + '@pnpm/error': 5.0.3 '@pnpm/git-utils': 1.0.0 - '@pnpm/lockfile-types': 5.1.2 + '@pnpm/lockfile-types': 5.1.5 '@pnpm/logger': 5.0.0 - '@pnpm/merge-lockfile-changes': 5.0.4 - '@pnpm/types': 9.3.0 + '@pnpm/merge-lockfile-changes': 5.0.7 + '@pnpm/types': 9.4.2 '@pnpm/util.lex-comparator': 1.0.0 '@zkochan/rimraf': 2.1.3 comver-to-semver: 1.0.0 js-yaml: /@zkochan/js-yaml@0.0.6 normalize-path: 3.0.0 ramda: /@pnpm/ramda@0.28.1 - semver: 7.5.4 + semver: 7.6.2 sort-keys: 4.2.0 strip-bom: 4.0.0 write-file-atomic: 5.0.1 dev: false - /@pnpm/lockfile-types@5.1.2: - resolution: {integrity: sha512-yPghe5atvPxn9xrltX+BOLnJF4mFzYN2SsCUq8otn7F7NekNrxwkedTKRIMcaOg0cAzxka7+fPWaB3svRtPk5g==} + /@pnpm/lockfile-types@5.1.5: + resolution: {integrity: sha512-02FP0HynzX+2DcuPtuMy7PH+kLIC0pevAydAOK+zug2bwdlSLErlvSkc+4+3dw60eRWgUXUqyfO2eR/Ansdbng==} engines: {node: '>=16.14'} dependencies: - '@pnpm/types': 9.3.0 + '@pnpm/types': 9.4.2 dev: false - /@pnpm/lockfile-utils@8.0.6: - resolution: {integrity: sha512-JauinxV3H+bmR6Mh6so4nn2r5RgTgH70w9GPZZrbandaJwBQsBEsR59MCJXmvEJzcJthbjLiZH1ndWuQmJinUw==} + /@pnpm/lockfile-utils@9.0.6: + resolution: {integrity: sha512-YhOL2V3iMonQEXOaTcHRwkYRjoQLVtCWTpkP8Pquowxmj5bTVh9LgbutneYYhPr3YRnk3ziYQD71Z/HHFuOZGA==} engines: {node: '>=16.14'} dependencies: - '@pnpm/dependency-path': 2.1.4 - '@pnpm/lockfile-types': 5.1.2 + '@pnpm/dependency-path': 2.1.8 + '@pnpm/lockfile-types': 5.1.5 '@pnpm/pick-fetcher': 2.0.1 - '@pnpm/resolver-base': 10.0.3 - '@pnpm/types': 9.3.0 - get-npm-tarball-url: 2.0.3 + '@pnpm/resolver-base': 11.1.0 + '@pnpm/types': 9.4.2 + get-npm-tarball-url: 2.1.0 ramda: /@pnpm/ramda@0.28.1 dev: false @@ -7580,17 +7479,17 @@ packages: resolution: {integrity: sha512-YfcB2QrX+Wx1o6LD1G2Y2fhDhOix/bAY/oAnMpHoNLsKkWIRbt1oKLkIFvxBMzLwAEPqnYWguJrYC+J6i4ywbw==} engines: {node: '>=12.17'} dependencies: - bole: 5.0.11 + bole: 5.0.13 ndjson: 2.0.0 dev: false - /@pnpm/manifest-utils@5.0.4(@pnpm/logger@5.0.0): - resolution: {integrity: sha512-RW7wPx4k1BFZ8jA1Hk818K22V9AqFq4JlhCWlkGTPf37jsKNQL4ZrEOuM4s5lsHPFiOzT5f4VOnOxhp+PXLV6g==} + /@pnpm/manifest-utils@5.0.8(@pnpm/logger@5.0.0): + resolution: {integrity: sha512-Q40V+b9JQaXTxJnNHp+ILH26qFtSAcgaJWFA0jt7fl5ySXHd2tQAkjTTh2IAXWE6D+lT/IfED61sTvy0x5vfMA==} engines: {node: '>=16.14'} dependencies: - '@pnpm/core-loggers': 9.0.3(@pnpm/logger@5.0.0) - '@pnpm/error': 5.0.2 - '@pnpm/types': 9.3.0 + '@pnpm/core-loggers': 9.0.6(@pnpm/logger@5.0.0) + '@pnpm/error': 5.0.3 + '@pnpm/types': 9.4.2 transitivePeerDependencies: - '@pnpm/logger' dev: false @@ -7602,21 +7501,21 @@ packages: escape-string-regexp: 4.0.0 dev: false - /@pnpm/merge-lockfile-changes@5.0.4: - resolution: {integrity: sha512-hM95tVX8sGF6zmVB1xVmSYINqnqrRvy1UZSTFWgGgf20wyfLsoHsSYsl4l0/vhkK00D0jMH4ZjlbzF/DEC72aQ==} + /@pnpm/merge-lockfile-changes@5.0.7: + resolution: {integrity: sha512-fYmX1+EHv3wg7l4A9FCEkjgEBIHaY6JosknkLk3pL8dbB9k6unjIrF9f2onNtpj3XUlWxZ3aBw9THk/Bf6hKow==} engines: {node: '>=16.14'} dependencies: - '@pnpm/lockfile-types': 5.1.2 + '@pnpm/lockfile-types': 5.1.5 comver-to-semver: 1.0.0 ramda: /@pnpm/ramda@0.28.1 - semver: 7.5.4 + semver: 7.6.2 dev: false - /@pnpm/modules-yaml@12.1.3: - resolution: {integrity: sha512-XXyUZdd578rml7nnoUv3You5Ns4ReUXDieP4VNglNLBIYs1RrbMIZGdqxnxii7cjLmIYauzlE1QMbFjTr/5pkA==} + /@pnpm/modules-yaml@12.1.7: + resolution: {integrity: sha512-+BVpv52inGF6Ro1nLnxprMwYa5y97EwmDN+ZQjhZxPJ5MATPbFS7kSGolSPMHsnbMs83V5wew2Uos3KX7zBxbg==} engines: {node: '>=16.14'} dependencies: - '@pnpm/types': 9.3.0 + '@pnpm/types': 9.4.2 is-windows: 1.0.2 ramda: /@pnpm/ramda@0.28.1 read-yaml-file: 2.1.0 @@ -7630,11 +7529,11 @@ packages: graceful-fs: 4.2.10 dev: false - /@pnpm/normalize-registries@5.0.3: - resolution: {integrity: sha512-llPtT/fQDT9Al3DAOmaFetfnwJKRQXrrsN9nRiRSqZzYSmiLTPM3upQ+uWHEZVv4DJI6ZEZfZT039HDKdkYanQ==} + /@pnpm/normalize-registries@5.0.6: + resolution: {integrity: sha512-wu6DvcSyBJbD99XLjBqlakeoYxQBdDOPPonkApFYvRntDv4k1YvIak92c5jeqz2ZDqCXiXhSo/ZcpPooAI/+nQ==} engines: {node: '>=16.14'} dependencies: - '@pnpm/types': 9.3.0 + '@pnpm/types': 9.4.2 normalize-registry-url: 2.0.0 ramda: /@pnpm/ramda@0.28.1 dev: false @@ -7653,24 +7552,39 @@ packages: engines: {node: '>=14.6'} dependencies: hosted-git-info: 4.1.0 - semver: 7.5.4 + semver: 7.6.2 validate-npm-package-name: 4.0.0 dev: false - /@pnpm/package-is-installable@8.0.5(@pnpm/logger@5.0.0): - resolution: {integrity: sha512-FNcjvgoYzLVQ73yG9mhuzXqxhjTdaP0QkiBFetCqY/JniGHtqYOzuzZq3KuRnfJoN7UWqQLzLWV1VRwqefmYiw==} + /@pnpm/package-is-installable@8.1.3(@pnpm/logger@5.0.0): + resolution: {integrity: sha512-CdCdnjMKIWu+M25QmXyNtwBb0Druq/xAoNgS5UyHaoMkY4Ukc1HWQmlDmNuLaSybOn547dQ5uA0kAjJ0cDivMw==} engines: {node: '>=16.14'} peerDependencies: '@pnpm/logger': ^5.0.0 dependencies: - '@pnpm/core-loggers': 9.0.3(@pnpm/logger@5.0.0) - '@pnpm/error': 5.0.2 + '@pnpm/core-loggers': 9.0.6(@pnpm/logger@5.0.0) + '@pnpm/error': 5.0.3 '@pnpm/logger': 5.0.0 - '@pnpm/types': 9.3.0 - detect-libc: 2.0.2 + '@pnpm/types': 9.4.2 + detect-libc: 2.0.3 execa: /safe-execa@0.1.2 mem: 8.1.1 - semver: 7.5.4 + semver: 7.6.2 + dev: false + + /@pnpm/parse-overrides@4.0.3: + resolution: {integrity: sha512-5im3TMzBjZYa7izKgNf/j8gwFcdr+l/d2w8NVy+F3MvH17IrgmoTRs7QvMHmsp0evpAjXZ/t2sAvYzG6hL55mA==} + engines: {node: '>=16.14'} + dependencies: + '@pnpm/error': 5.0.3 + '@pnpm/parse-wanted-dependency': 5.0.0 + dev: false + + /@pnpm/parse-wanted-dependency@5.0.0: + resolution: {integrity: sha512-vS50ApS61D/SE2zHALZ+pvjhFtYAc4NTIpSGwJfLM2/53oIPZyMhcm1ITudgJW2bAMYXHavumYIUoy8AVVSGEQ==} + engines: {node: '>=16.14'} + dependencies: + validate-npm-package-name: 5.0.0 dev: false /@pnpm/pick-fetcher@2.0.1: @@ -7678,19 +7592,19 @@ packages: engines: {node: '>=16.14'} dev: false - /@pnpm/pnpmfile@5.0.14(@pnpm/logger@5.0.0): - resolution: {integrity: sha512-ZzgXwaJuWCOBylA58YpzppIhRzPgxPH9at8Pab1xsbKj0UZP15pHxilINuihnVoS/KP39ysprjqeJ5qApErQfw==} + /@pnpm/pnpmfile@5.0.21(@pnpm/logger@5.0.0): + resolution: {integrity: sha512-0ZOG9VWSd0ST9ketaMkw+ml2GL7CUPezN3wLKuoczourcznQ17mqVnlJKRWigQ0iaDIzjyX+Rn90acrgj+G8mA==} engines: {node: '>=16.14'} peerDependencies: '@pnpm/logger': ^5.0.0 dependencies: - '@pnpm/core-loggers': 9.0.3(@pnpm/logger@5.0.0) - '@pnpm/error': 5.0.2 - '@pnpm/hooks.types': 1.0.3 - '@pnpm/lockfile-types': 5.1.2 + '@pnpm/core-loggers': 9.0.6(@pnpm/logger@5.0.0) + '@pnpm/error': 5.0.3 + '@pnpm/hooks.types': 1.0.6 + '@pnpm/lockfile-types': 5.1.5 '@pnpm/logger': 5.0.0 - '@pnpm/store-controller-types': 17.0.1 - '@pnpm/types': 9.3.0 + '@pnpm/store-controller-types': 17.2.0 + '@pnpm/types': 9.4.2 chalk: 4.1.2 path-absolute: 1.0.1 dev: false @@ -7706,26 +7620,26 @@ packages: graceful-fs: 4.2.11 dev: false - /@pnpm/read-package-json@8.0.4: - resolution: {integrity: sha512-qvFNjXV153PYXYvp5jNPboSC/XTNly4h3NVy0L2YbUUQr8TGYuMAOf30yW5xdsmzxjEim8S0qnZ2j57tKVrUag==} + /@pnpm/read-package-json@8.0.8: + resolution: {integrity: sha512-q3qAKOXBZjbrMKfvlx6RCbXO6oflAUVH7SUm/JuGY2PRXHwfkZJkyMcflE0nsOXV1Yp1LuoequMotVcjtG5b0g==} engines: {node: '>=16.14'} dependencies: - '@pnpm/error': 5.0.2 - '@pnpm/types': 9.3.0 + '@pnpm/error': 5.0.3 + '@pnpm/types': 9.4.2 load-json-file: 6.2.0 normalize-package-data: 5.0.0 dev: false - /@pnpm/read-project-manifest@5.0.7: - resolution: {integrity: sha512-zq9XlZCbWmpjeNaU6faV51ehD4Rk6nTMv+jWkOGPSAwIG8uBh1NBxOYKx4R9Ixu7x8zNUUdfxOo89c6Ds5cY1w==} + /@pnpm/read-project-manifest@5.0.11: + resolution: {integrity: sha512-themRLiDt9Ud6Somlu0PJbeprBBQEhlI1xNG5bZIv26yfLsc1vYLd1TfgGViD1b8fP0jxAqsUrDM+WMaMKI+gw==} engines: {node: '>=16.14'} dependencies: '@gwhitney/detect-indent': 7.0.1 - '@pnpm/error': 5.0.2 + '@pnpm/error': 5.0.3 '@pnpm/graceful-fs': 3.2.0 '@pnpm/text.comments-parser': 2.0.0 - '@pnpm/types': 9.3.0 - '@pnpm/write-project-manifest': 5.0.3 + '@pnpm/types': 9.4.2 + '@pnpm/write-project-manifest': 5.0.6 fast-deep-equal: 3.1.3 is-windows: 1.0.2 json5: 2.2.3 @@ -7736,52 +7650,56 @@ packages: strip-bom: 4.0.0 dev: false - /@pnpm/render-peer-issues@4.0.3: - resolution: {integrity: sha512-TsUTr3PxTSkITYWMQE/qyQF9wbumleGWb82yC6aG4Cv2mk6B+zeG72auflek9mljV8DI+7yS25uvrENabJ53Bw==} + /@pnpm/render-peer-issues@4.1.0: + resolution: {integrity: sha512-HVKeYXQ88nSLMeAwALlVtIxV6Yri6VGeoqtZJf6nGAm6UWJbbe4swU1MSACzzU8FVDIsfk4hZUJJ581XS2lFaQ==} engines: {node: '>=16.14'} dependencies: - '@pnpm/types': 9.3.0 + '@pnpm/error': 5.0.3 + '@pnpm/matcher': 5.0.0 + '@pnpm/parse-overrides': 4.0.3 + '@pnpm/types': 9.4.2 archy: 1.0.0 chalk: 4.1.2 cli-columns: 4.0.0 + semver: 7.6.2 dev: false - /@pnpm/resolver-base@10.0.3: - resolution: {integrity: sha512-7cwt7DxIbvp5vlJgOYS3AN9QmOaKWfSSl9tH5lQ8QOU3bUTmYV5gPxJduY87Avwhs3Qll7V2oyyLeqegMFDbXA==} + /@pnpm/resolver-base@11.1.0: + resolution: {integrity: sha512-y2qKaj18pwe1VWc3YXEitdYFo+WqOOt60aqTUuOVkJAirUzz0DzuYh3Ifct4znYWPdgUXHaN5DMphNF5iL85rA==} engines: {node: '>=16.14'} dependencies: - '@pnpm/types': 9.3.0 + '@pnpm/types': 9.4.2 dev: false - /@pnpm/reviewing.dependencies-hierarchy@2.1.1(@pnpm/logger@5.0.0): - resolution: {integrity: sha512-2FmnQgsywwWgqZkZPojqP4umTjLRZeBx19kiF7rDqp/XTLIGwHgU1RY/Hf08OWjxIECdZ7zkQrxBScCcJpnoeA==} + /@pnpm/reviewing.dependencies-hierarchy@2.1.11(@pnpm/logger@5.0.0): + resolution: {integrity: sha512-WPAqZtHE7i2df2GiREgx/p1eq6diCNkcux2HmE2p0L8OniONlld3kpMi4NovgYtJ011gugjzzZ7c1GfYJd5S1w==} engines: {node: '>=16.14'} dependencies: - '@pnpm/dependency-path': 2.1.4 - '@pnpm/lockfile-file': 8.1.3(@pnpm/logger@5.0.0) - '@pnpm/lockfile-utils': 8.0.6 + '@pnpm/dependency-path': 2.1.8 + '@pnpm/lockfile-file': 8.1.8(@pnpm/logger@5.0.0) + '@pnpm/lockfile-utils': 9.0.6 '@pnpm/matcher': 5.0.0 - '@pnpm/modules-yaml': 12.1.3 - '@pnpm/normalize-registries': 5.0.3 + '@pnpm/modules-yaml': 12.1.7 + '@pnpm/normalize-registries': 5.0.6 '@pnpm/npm-package-arg': 1.0.0 '@pnpm/read-modules-dir': 6.0.1 - '@pnpm/read-package-json': 8.0.4 - '@pnpm/types': 9.3.0 + '@pnpm/read-package-json': 8.0.8 + '@pnpm/types': 9.4.2 normalize-path: 3.0.0 realpath-missing: 1.1.0 resolve-link-target: 2.0.0 - semver: 7.5.4 + semver: 7.6.2 transitivePeerDependencies: - '@pnpm/logger' dev: false - /@pnpm/store-controller-types@17.0.1: - resolution: {integrity: sha512-1GSzM3mLt7nTTG+TH5h+NESNkjmooriwJSlPiE88mLk79Y4cvXRJxafSn86kMkKVVj0QBNZK8LECKrnSQ6MrDg==} + /@pnpm/store-controller-types@17.2.0: + resolution: {integrity: sha512-hxL6sPVzei24nyaLkQV32BOGUoVxlatzCEarPDIka4DB9kM5f/au5QggL3Nn1m4zyF2DtGetjDNoJ1fRXoHatA==} engines: {node: '>=16.14'} dependencies: - '@pnpm/fetcher-base': 15.0.2 - '@pnpm/resolver-base': 10.0.3 - '@pnpm/types': 9.3.0 + '@pnpm/fetcher-base': 15.0.7 + '@pnpm/resolver-base': 11.1.0 + '@pnpm/types': 9.4.2 dev: false /@pnpm/text.comments-parser@2.0.0: @@ -7791,8 +7709,8 @@ packages: strip-comments-strings: 1.2.0 dev: false - /@pnpm/types@9.3.0: - resolution: {integrity: sha512-BUm6KWNyiQ575D+zi4OkGWImHv0gM6LQYUY/qK/7j9uxmZ66topXQlZSoFX8rR/FcpIRUTrT325iqFqMHoJnww==} + /@pnpm/types@9.4.2: + resolution: {integrity: sha512-g1hcF8Nv4gd76POilz9gD4LITAPXOe5nX4ijgr8ixCbLQZfcpYiMfJ+C1RlMNRUDo8vhlNB4O3bUlxmT6EAQXA==} engines: {node: '>=16.14'} dev: false @@ -7801,27 +7719,35 @@ packages: engines: {node: '>=12.22.0'} dev: false - /@pnpm/workspace.find-packages@1.0.13(@pnpm/logger@5.0.0): - resolution: {integrity: sha512-xjzVIx9XP9QoMAvqJaXxxE5b72VXS9rJbEN2//iJL8+5cim7RjkQgBfLgk2+CVM8DkcjVQZVf3tdAM78wYph/g==} + /@pnpm/workspace.find-packages@1.1.12(@pnpm/logger@5.0.0): + resolution: {integrity: sha512-E/GD+PXTYTzeC3KvAHZNp3v92Ih2h8WIix7SJYBKGh9uprgT6ZZM5s0Mq/qruqBIGYxyxYhQvu93VsQC6Tt/wA==} engines: {node: '>=16.14'} peerDependencies: '@pnpm/logger': ^5.0.0 dependencies: - '@pnpm/cli-utils': 2.0.23(@pnpm/logger@5.0.0) - '@pnpm/constants': 7.1.1 - '@pnpm/fs.find-packages': 2.0.7 + '@pnpm/cli-utils': 2.1.11(@pnpm/logger@5.0.0) + '@pnpm/fs.find-packages': 2.0.11 '@pnpm/logger': 5.0.0 - '@pnpm/types': 9.3.0 + '@pnpm/types': 9.4.2 '@pnpm/util.lex-comparator': 1.0.0 + '@pnpm/workspace.read-manifest': 1.0.3 + dev: false + + /@pnpm/workspace.read-manifest@1.0.3: + resolution: {integrity: sha512-AC83sfZze5MzsaZjMzAgOOncOfDx8Edo1Pz5GTAFH7Pjqu1a/wFqgL+1ulyLADH5mfYQnF5olXTp7+EPXpZ4sQ==} + engines: {node: '>=16.14'} + dependencies: + '@pnpm/constants': 7.1.1 + '@pnpm/error': 5.0.3 read-yaml-file: 2.1.0 dev: false - /@pnpm/write-project-manifest@5.0.3: - resolution: {integrity: sha512-B2tH3v0ecp8H3Wg52R3/0hHvsvAdYfmoXn/gMAEjmXhIR8yIAOe9R/YWSMUBDXs8WUH119wB6H3BEJyX8bpznQ==} + /@pnpm/write-project-manifest@5.0.6: + resolution: {integrity: sha512-3qkKCftRE/HXzoWedyDuaMMUQzheDwx8AQXR0DnA9ylsBnZQYNut19Ado/gzi5+IvznaMcqrBszw57j3y1/ILw==} engines: {node: '>=16.14'} dependencies: '@pnpm/text.comments-parser': 2.0.0 - '@pnpm/types': 9.3.0 + '@pnpm/types': 9.4.2 json5: 2.2.3 write-file-atomic: 5.0.1 write-yaml-file: 5.0.0 @@ -7877,16 +7803,20 @@ packages: /@radix-ui/number@1.0.1: resolution: {integrity: sha512-T5gIdVO2mmPW3NNhjNgEP3cqMXjXL9UbO0BzWcXfvdBs+BohbQxvd/K5hSVKmn9/lbTdsQVKbUcP5WLCwvUbBg==} dependencies: - '@babel/runtime': 7.23.1 + '@babel/runtime': 7.24.7 dev: true /@radix-ui/primitive@1.0.1: resolution: {integrity: sha512-yQ8oGX2GVsEYMWGxcovu1uGWPCxV5BFfeeYxqPmuAzUyLT9qmaMXSAhXpb0WrspIeqYzdJpkh2vHModJPgRIaw==} dependencies: - '@babel/runtime': 7.23.1 + '@babel/runtime': 7.24.7 + dev: true + + /@radix-ui/primitive@1.1.0: + resolution: {integrity: sha512-4Z8dn6Upk0qk4P74xBhZ6Hd/w0mPEzOOLxy4xiPXOXqjF7jZS0VAKk7/x/H6FyY2zCkYJqePf1G5KmkmNJ4RBA==} dev: true - /@radix-ui/react-arrow@1.0.3(@types/react-dom@18.2.11)(@types/react@18.2.25)(react-dom@18.2.0)(react@18.2.0): + /@radix-ui/react-arrow@1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1): resolution: {integrity: sha512-wSP+pHsB/jQRaL6voubsQ/ZlrGBHHrOjmBnr19hxYgtS0WvAFwZhK2WP/YY5yF9uKECCEEDGxuLxq1NBK51wFA==} peerDependencies: '@types/react': '*' @@ -7899,15 +7829,15 @@ packages: '@types/react-dom': optional: true dependencies: - '@babel/runtime': 7.23.1 - '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.2.11)(@types/react@18.2.25)(react-dom@18.2.0)(react@18.2.0) - '@types/react': 18.2.25 - '@types/react-dom': 18.2.11 - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) + '@babel/runtime': 7.24.7 + '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) + '@types/react': 18.3.3 + '@types/react-dom': 18.3.0 + react: 18.3.1 + react-dom: 18.3.1(react@18.3.1) dev: true - /@radix-ui/react-collection@1.0.3(@types/react-dom@18.2.11)(@types/react@18.2.25)(react-dom@18.2.0)(react@18.2.0): + /@radix-ui/react-collection@1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1): resolution: {integrity: sha512-3SzW+0PW7yBBoQlT8wNcGtaxaD0XSu0uLUFgrtHY08Acx05TaHaOmVLR73c0j/cqpDy53KBMO7s0dx2wmOIDIA==} peerDependencies: '@types/react': '*' @@ -7920,18 +7850,41 @@ packages: '@types/react-dom': optional: true dependencies: - '@babel/runtime': 7.23.1 - '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.2.25)(react@18.2.0) - '@radix-ui/react-context': 1.0.1(@types/react@18.2.25)(react@18.2.0) - '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.2.11)(@types/react@18.2.25)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-slot': 1.0.2(@types/react@18.2.25)(react@18.2.0) - '@types/react': 18.2.25 - '@types/react-dom': 18.2.11 - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) + '@babel/runtime': 7.24.7 + '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-context': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) + '@radix-ui/react-slot': 1.0.2(@types/react@18.3.3)(react@18.3.1) + '@types/react': 18.3.3 + '@types/react-dom': 18.3.0 + react: 18.3.1 + react-dom: 18.3.1(react@18.3.1) + dev: true + + /@radix-ui/react-collection@1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1): + resolution: {integrity: sha512-GZsZslMJEyo1VKm5L1ZJY8tGDxZNPAoUeQUIbKeJfoi7Q4kmig5AsgLMYYuyYbfjd8fBmFORAIwYAkXMnXZgZw==} + peerDependencies: + '@types/react': '*' + '@types/react-dom': '*' + react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + peerDependenciesMeta: + '@types/react': + optional: true + '@types/react-dom': + optional: true + dependencies: + '@radix-ui/react-compose-refs': 1.1.0(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-context': 1.1.0(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-primitive': 2.0.0(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) + '@radix-ui/react-slot': 1.1.0(@types/react@18.3.3)(react@18.3.1) + '@types/react': 18.3.3 + '@types/react-dom': 18.3.0 + react: 18.3.1 + react-dom: 18.3.1(react@18.3.1) dev: true - /@radix-ui/react-compose-refs@1.0.1(@types/react@18.2.25)(react@18.2.0): + /@radix-ui/react-compose-refs@1.0.1(@types/react@18.3.3)(react@18.3.1): resolution: {integrity: sha512-fDSBgd44FKHa1FRMU59qBMPFcl2PZE+2nmqunj+BWFyYYjnhIDWL2ItDs3rrbJDQOtzt5nIebLCQc4QRfz6LJw==} peerDependencies: '@types/react': '*' @@ -7940,12 +7893,25 @@ packages: '@types/react': optional: true dependencies: - '@babel/runtime': 7.23.1 - '@types/react': 18.2.25 - react: 18.2.0 + '@babel/runtime': 7.24.7 + '@types/react': 18.3.3 + react: 18.3.1 + dev: true + + /@radix-ui/react-compose-refs@1.1.0(@types/react@18.3.3)(react@18.3.1): + resolution: {integrity: sha512-b4inOtiaOnYf9KWyO3jAeeCG6FeyfY6ldiEPanbUjWd+xIk5wZeHa8yVwmrJ2vderhu/BQvzCrJI0lHd+wIiqw==} + peerDependencies: + '@types/react': '*' + react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + peerDependenciesMeta: + '@types/react': + optional: true + dependencies: + '@types/react': 18.3.3 + react: 18.3.1 dev: true - /@radix-ui/react-context@1.0.1(@types/react@18.2.25)(react@18.2.0): + /@radix-ui/react-context@1.0.1(@types/react@18.3.3)(react@18.3.1): resolution: {integrity: sha512-ebbrdFoYTcuZ0v4wG5tedGnp9tzcV8awzsxYph7gXUyvnNLuTIcCk1q17JEbnVhXAKG9oX3KtchwiMIAYp9NLg==} peerDependencies: '@types/react': '*' @@ -7954,12 +7920,25 @@ packages: '@types/react': optional: true dependencies: - '@babel/runtime': 7.23.1 - '@types/react': 18.2.25 - react: 18.2.0 + '@babel/runtime': 7.24.7 + '@types/react': 18.3.3 + react: 18.3.1 + dev: true + + /@radix-ui/react-context@1.1.0(@types/react@18.3.3)(react@18.3.1): + resolution: {integrity: sha512-OKrckBy+sMEgYM/sMmqmErVn0kZqrHPJze+Ql3DzYsDDp0hl0L62nx/2122/Bvps1qz645jlcu2tD9lrRSdf8A==} + peerDependencies: + '@types/react': '*' + react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + peerDependenciesMeta: + '@types/react': + optional: true + dependencies: + '@types/react': 18.3.3 + react: 18.3.1 dev: true - /@radix-ui/react-direction@1.0.1(@types/react@18.2.25)(react@18.2.0): + /@radix-ui/react-direction@1.0.1(@types/react@18.3.3)(react@18.3.1): resolution: {integrity: sha512-RXcvnXgyvYvBEOhCBuddKecVkoMiI10Jcm5cTI7abJRAHYfFxeu+FBQs/DvdxSYucxR5mna0dNsL6QFlds5TMA==} peerDependencies: '@types/react': '*' @@ -7968,12 +7947,25 @@ packages: '@types/react': optional: true dependencies: - '@babel/runtime': 7.23.1 - '@types/react': 18.2.25 - react: 18.2.0 + '@babel/runtime': 7.24.7 + '@types/react': 18.3.3 + react: 18.3.1 + dev: true + + /@radix-ui/react-direction@1.1.0(@types/react@18.3.3)(react@18.3.1): + resolution: {integrity: sha512-BUuBvgThEiAXh2DWu93XsT+a3aWrGqolGlqqw5VU1kG7p/ZH2cuDlM1sRLNnY3QcBS69UIz2mcKhMxDsdewhjg==} + peerDependencies: + '@types/react': '*' + react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + peerDependenciesMeta: + '@types/react': + optional: true + dependencies: + '@types/react': 18.3.3 + react: 18.3.1 dev: true - /@radix-ui/react-dismissable-layer@1.0.4(@types/react-dom@18.2.11)(@types/react@18.2.25)(react-dom@18.2.0)(react@18.2.0): + /@radix-ui/react-dismissable-layer@1.0.4(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1): resolution: {integrity: sha512-7UpBa/RKMoHJYjie1gkF1DlK8l1fdU/VKDpoS3rCCo8YBJR294GwcEHyxHw72yvphJ7ld0AXEcSLAzY2F/WyCg==} peerDependencies: '@types/react': '*' @@ -7986,19 +7978,19 @@ packages: '@types/react-dom': optional: true dependencies: - '@babel/runtime': 7.23.1 + '@babel/runtime': 7.24.7 '@radix-ui/primitive': 1.0.1 - '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.2.25)(react@18.2.0) - '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.2.11)(@types/react@18.2.25)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-use-callback-ref': 1.0.1(@types/react@18.2.25)(react@18.2.0) - '@radix-ui/react-use-escape-keydown': 1.0.3(@types/react@18.2.25)(react@18.2.0) - '@types/react': 18.2.25 - '@types/react-dom': 18.2.11 - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) + '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) + '@radix-ui/react-use-callback-ref': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-use-escape-keydown': 1.0.3(@types/react@18.3.3)(react@18.3.1) + '@types/react': 18.3.3 + '@types/react-dom': 18.3.0 + react: 18.3.1 + react-dom: 18.3.1(react@18.3.1) dev: true - /@radix-ui/react-focus-guards@1.0.1(@types/react@18.2.25)(react@18.2.0): + /@radix-ui/react-focus-guards@1.0.1(@types/react@18.3.3)(react@18.3.1): resolution: {integrity: sha512-Rect2dWbQ8waGzhMavsIbmSVCgYxkXLxxR3ZvCX79JOglzdEy4JXMb98lq4hPxUbLr77nP0UOGf4rcMU+s1pUA==} peerDependencies: '@types/react': '*' @@ -8007,12 +7999,12 @@ packages: '@types/react': optional: true dependencies: - '@babel/runtime': 7.23.1 - '@types/react': 18.2.25 - react: 18.2.0 + '@babel/runtime': 7.24.7 + '@types/react': 18.3.3 + react: 18.3.1 dev: true - /@radix-ui/react-focus-scope@1.0.3(@types/react-dom@18.2.11)(@types/react@18.2.25)(react-dom@18.2.0)(react@18.2.0): + /@radix-ui/react-focus-scope@1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1): resolution: {integrity: sha512-upXdPfqI4islj2CslyfUBNlaJCPybbqRHAi1KER7Isel9Q2AtSJ0zRBZv8mWQiFXD2nyAJ4BhC3yXgZ6kMBSrQ==} peerDependencies: '@types/react': '*' @@ -8025,17 +8017,17 @@ packages: '@types/react-dom': optional: true dependencies: - '@babel/runtime': 7.23.1 - '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.2.25)(react@18.2.0) - '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.2.11)(@types/react@18.2.25)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-use-callback-ref': 1.0.1(@types/react@18.2.25)(react@18.2.0) - '@types/react': 18.2.25 - '@types/react-dom': 18.2.11 - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) + '@babel/runtime': 7.24.7 + '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) + '@radix-ui/react-use-callback-ref': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@types/react': 18.3.3 + '@types/react-dom': 18.3.0 + react: 18.3.1 + react-dom: 18.3.1(react@18.3.1) dev: true - /@radix-ui/react-id@1.0.1(@types/react@18.2.25)(react@18.2.0): + /@radix-ui/react-id@1.0.1(@types/react@18.3.3)(react@18.3.1): resolution: {integrity: sha512-tI7sT/kqYp8p96yGWY1OAnLHrqDgzHefRBKQ2YAkBS5ja7QLcZ9Z/uY7bEjPUatf8RomoXM8/1sMj1IJaE5UzQ==} peerDependencies: '@types/react': '*' @@ -8044,13 +8036,27 @@ packages: '@types/react': optional: true dependencies: - '@babel/runtime': 7.23.1 - '@radix-ui/react-use-layout-effect': 1.0.1(@types/react@18.2.25)(react@18.2.0) - '@types/react': 18.2.25 - react: 18.2.0 + '@babel/runtime': 7.24.7 + '@radix-ui/react-use-layout-effect': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@types/react': 18.3.3 + react: 18.3.1 + dev: true + + /@radix-ui/react-id@1.1.0(@types/react@18.3.3)(react@18.3.1): + resolution: {integrity: sha512-EJUrI8yYh7WOjNOqpoJaf1jlFIH2LvtgAl+YcFqNCa+4hj64ZXmPkAKOFs/ukjz3byN6bdb/AVUqHkI8/uWWMA==} + peerDependencies: + '@types/react': '*' + react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + peerDependenciesMeta: + '@types/react': + optional: true + dependencies: + '@radix-ui/react-use-layout-effect': 1.1.0(@types/react@18.3.3)(react@18.3.1) + '@types/react': 18.3.3 + react: 18.3.1 dev: true - /@radix-ui/react-popper@1.1.2(@types/react-dom@18.2.11)(@types/react@18.2.25)(react-dom@18.2.0)(react@18.2.0): + /@radix-ui/react-popper@1.1.2(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1): resolution: {integrity: sha512-1CnGGfFi/bbqtJZZ0P/NQY20xdG3E0LALJaLUEoKwPLwl6PPPfbeiCqMVQnhoFRAxjJj4RpBRJzDmUgsex2tSg==} peerDependencies: '@types/react': '*' @@ -8063,24 +8069,24 @@ packages: '@types/react-dom': optional: true dependencies: - '@babel/runtime': 7.23.1 - '@floating-ui/react-dom': 2.0.2(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-arrow': 1.0.3(@types/react-dom@18.2.11)(@types/react@18.2.25)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.2.25)(react@18.2.0) - '@radix-ui/react-context': 1.0.1(@types/react@18.2.25)(react@18.2.0) - '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.2.11)(@types/react@18.2.25)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-use-callback-ref': 1.0.1(@types/react@18.2.25)(react@18.2.0) - '@radix-ui/react-use-layout-effect': 1.0.1(@types/react@18.2.25)(react@18.2.0) - '@radix-ui/react-use-rect': 1.0.1(@types/react@18.2.25)(react@18.2.0) - '@radix-ui/react-use-size': 1.0.1(@types/react@18.2.25)(react@18.2.0) + '@babel/runtime': 7.24.7 + '@floating-ui/react-dom': 2.1.0(react-dom@18.3.1)(react@18.3.1) + '@radix-ui/react-arrow': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) + '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-context': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) + '@radix-ui/react-use-callback-ref': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-use-layout-effect': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-use-rect': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-use-size': 1.0.1(@types/react@18.3.3)(react@18.3.1) '@radix-ui/rect': 1.0.1 - '@types/react': 18.2.25 - '@types/react-dom': 18.2.11 - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) + '@types/react': 18.3.3 + '@types/react-dom': 18.3.0 + react: 18.3.1 + react-dom: 18.3.1(react@18.3.1) dev: true - /@radix-ui/react-portal@1.0.3(@types/react-dom@18.2.11)(@types/react@18.2.25)(react-dom@18.2.0)(react@18.2.0): + /@radix-ui/react-portal@1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1): resolution: {integrity: sha512-xLYZeHrWoPmA5mEKEfZZevoVRK/Q43GfzRXkWV6qawIWWK8t6ifIiLQdd7rmQ4Vk1bmI21XhqF9BN3jWf+phpA==} peerDependencies: '@types/react': '*' @@ -8093,15 +8099,15 @@ packages: '@types/react-dom': optional: true dependencies: - '@babel/runtime': 7.23.1 - '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.2.11)(@types/react@18.2.25)(react-dom@18.2.0)(react@18.2.0) - '@types/react': 18.2.25 - '@types/react-dom': 18.2.11 - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) + '@babel/runtime': 7.24.7 + '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) + '@types/react': 18.3.3 + '@types/react-dom': 18.3.0 + react: 18.3.1 + react-dom: 18.3.1(react@18.3.1) dev: true - /@radix-ui/react-primitive@1.0.3(@types/react-dom@18.2.11)(@types/react@18.2.25)(react-dom@18.2.0)(react@18.2.0): + /@radix-ui/react-primitive@1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1): resolution: {integrity: sha512-yi58uVyoAcK/Nq1inRY56ZSjKypBNKTa/1mcL8qdl6oJeEaDbOldlzrGn7P6Q3Id5d+SYNGc5AJgc4vGhjs5+g==} peerDependencies: '@types/react': '*' @@ -8114,44 +8120,63 @@ packages: '@types/react-dom': optional: true dependencies: - '@babel/runtime': 7.23.1 - '@radix-ui/react-slot': 1.0.2(@types/react@18.2.25)(react@18.2.0) - '@types/react': 18.2.25 - '@types/react-dom': 18.2.11 - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) + '@babel/runtime': 7.24.7 + '@radix-ui/react-slot': 1.0.2(@types/react@18.3.3)(react@18.3.1) + '@types/react': 18.3.3 + '@types/react-dom': 18.3.0 + react: 18.3.1 + react-dom: 18.3.1(react@18.3.1) dev: true - /@radix-ui/react-roving-focus@1.0.4(@types/react-dom@18.2.11)(@types/react@18.2.25)(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-2mUg5Mgcu001VkGy+FfzZyzbmuUWzgWkj3rvv4yu+mLw03+mTzbxZHvfcGyFp2b8EkQeMkpRQ5FiA2Vr2O6TeQ==} + /@radix-ui/react-primitive@2.0.0(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1): + resolution: {integrity: sha512-ZSpFm0/uHa8zTvKBDjLFWLo8dkr4MBsiDLz0g3gMUwqgLHz9rTaRRGYDgvZPtBJgYCBKXkS9fzmoySgr8CO6Cw==} peerDependencies: '@types/react': '*' '@types/react-dom': '*' - react: ^16.8 || ^17.0 || ^18.0 - react-dom: ^16.8 || ^17.0 || ^18.0 + react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc peerDependenciesMeta: '@types/react': optional: true '@types/react-dom': optional: true dependencies: - '@babel/runtime': 7.23.1 - '@radix-ui/primitive': 1.0.1 - '@radix-ui/react-collection': 1.0.3(@types/react-dom@18.2.11)(@types/react@18.2.25)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.2.25)(react@18.2.0) - '@radix-ui/react-context': 1.0.1(@types/react@18.2.25)(react@18.2.0) - '@radix-ui/react-direction': 1.0.1(@types/react@18.2.25)(react@18.2.0) - '@radix-ui/react-id': 1.0.1(@types/react@18.2.25)(react@18.2.0) - '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.2.11)(@types/react@18.2.25)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-use-callback-ref': 1.0.1(@types/react@18.2.25)(react@18.2.0) - '@radix-ui/react-use-controllable-state': 1.0.1(@types/react@18.2.25)(react@18.2.0) - '@types/react': 18.2.25 - '@types/react-dom': 18.2.11 - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) - dev: true - - /@radix-ui/react-select@1.2.2(@types/react-dom@18.2.11)(@types/react@18.2.25)(react-dom@18.2.0)(react@18.2.0): + '@radix-ui/react-slot': 1.1.0(@types/react@18.3.3)(react@18.3.1) + '@types/react': 18.3.3 + '@types/react-dom': 18.3.0 + react: 18.3.1 + react-dom: 18.3.1(react@18.3.1) + dev: true + + /@radix-ui/react-roving-focus@1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1): + resolution: {integrity: sha512-EA6AMGeq9AEeQDeSH0aZgG198qkfHSbvWTf1HvoDmOB5bBG/qTxjYMWUKMnYiV6J/iP/J8MEFSuB2zRU2n7ODA==} + peerDependencies: + '@types/react': '*' + '@types/react-dom': '*' + react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + peerDependenciesMeta: + '@types/react': + optional: true + '@types/react-dom': + optional: true + dependencies: + '@radix-ui/primitive': 1.1.0 + '@radix-ui/react-collection': 1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) + '@radix-ui/react-compose-refs': 1.1.0(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-context': 1.1.0(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-direction': 1.1.0(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-id': 1.1.0(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-primitive': 2.0.0(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) + '@radix-ui/react-use-callback-ref': 1.1.0(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-use-controllable-state': 1.1.0(@types/react@18.3.3)(react@18.3.1) + '@types/react': 18.3.3 + '@types/react-dom': 18.3.0 + react: 18.3.1 + react-dom: 18.3.1(react@18.3.1) + dev: true + + /@radix-ui/react-select@1.2.2(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1): resolution: {integrity: sha512-zI7McXr8fNaSrUY9mZe4x/HC0jTLY9fWNhO1oLWYMQGDXuV4UCivIGTxwioSzO0ZCYX9iSLyWmAh/1TOmX3Cnw==} peerDependencies: '@types/react': '*' @@ -8164,56 +8189,55 @@ packages: '@types/react-dom': optional: true dependencies: - '@babel/runtime': 7.23.1 + '@babel/runtime': 7.24.7 '@radix-ui/number': 1.0.1 '@radix-ui/primitive': 1.0.1 - '@radix-ui/react-collection': 1.0.3(@types/react-dom@18.2.11)(@types/react@18.2.25)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.2.25)(react@18.2.0) - '@radix-ui/react-context': 1.0.1(@types/react@18.2.25)(react@18.2.0) - '@radix-ui/react-direction': 1.0.1(@types/react@18.2.25)(react@18.2.0) - '@radix-ui/react-dismissable-layer': 1.0.4(@types/react-dom@18.2.11)(@types/react@18.2.25)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-focus-guards': 1.0.1(@types/react@18.2.25)(react@18.2.0) - '@radix-ui/react-focus-scope': 1.0.3(@types/react-dom@18.2.11)(@types/react@18.2.25)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-id': 1.0.1(@types/react@18.2.25)(react@18.2.0) - '@radix-ui/react-popper': 1.1.2(@types/react-dom@18.2.11)(@types/react@18.2.25)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-portal': 1.0.3(@types/react-dom@18.2.11)(@types/react@18.2.25)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.2.11)(@types/react@18.2.25)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-slot': 1.0.2(@types/react@18.2.25)(react@18.2.0) - '@radix-ui/react-use-callback-ref': 1.0.1(@types/react@18.2.25)(react@18.2.0) - '@radix-ui/react-use-controllable-state': 1.0.1(@types/react@18.2.25)(react@18.2.0) - '@radix-ui/react-use-layout-effect': 1.0.1(@types/react@18.2.25)(react@18.2.0) - '@radix-ui/react-use-previous': 1.0.1(@types/react@18.2.25)(react@18.2.0) - '@radix-ui/react-visually-hidden': 1.0.3(@types/react-dom@18.2.11)(@types/react@18.2.25)(react-dom@18.2.0)(react@18.2.0) - '@types/react': 18.2.25 - '@types/react-dom': 18.2.11 - aria-hidden: 1.2.3 - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) - react-remove-scroll: 2.5.5(@types/react@18.2.25)(react@18.2.0) - dev: true - - /@radix-ui/react-separator@1.0.3(@types/react-dom@18.2.11)(@types/react@18.2.25)(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-itYmTy/kokS21aiV5+Z56MZB54KrhPgn6eHDKkFeOLR34HMN2s8PaN47qZZAGnvupcjxHaFZnW4pQEh0BvvVuw==} + '@radix-ui/react-collection': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) + '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-context': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-direction': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-dismissable-layer': 1.0.4(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) + '@radix-ui/react-focus-guards': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-focus-scope': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) + '@radix-ui/react-id': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-popper': 1.1.2(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) + '@radix-ui/react-portal': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) + '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) + '@radix-ui/react-slot': 1.0.2(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-use-callback-ref': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-use-controllable-state': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-use-layout-effect': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-use-previous': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-visually-hidden': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) + '@types/react': 18.3.3 + '@types/react-dom': 18.3.0 + aria-hidden: 1.2.4 + react: 18.3.1 + react-dom: 18.3.1(react@18.3.1) + react-remove-scroll: 2.5.5(@types/react@18.3.3)(react@18.3.1) + dev: true + + /@radix-ui/react-separator@1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1): + resolution: {integrity: sha512-3uBAs+egzvJBDZAzvb/n4NxxOYpnspmWxO2u5NbZ8Y6FM/NdrGSF9bop3Cf6F6C71z1rTSn8KV0Fo2ZVd79lGA==} peerDependencies: '@types/react': '*' '@types/react-dom': '*' - react: ^16.8 || ^17.0 || ^18.0 - react-dom: ^16.8 || ^17.0 || ^18.0 + react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc peerDependenciesMeta: '@types/react': optional: true '@types/react-dom': optional: true dependencies: - '@babel/runtime': 7.23.1 - '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.2.11)(@types/react@18.2.25)(react-dom@18.2.0)(react@18.2.0) - '@types/react': 18.2.25 - '@types/react-dom': 18.2.11 - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) + '@radix-ui/react-primitive': 2.0.0(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) + '@types/react': 18.3.3 + '@types/react-dom': 18.3.0 + react: 18.3.1 + react-dom: 18.3.1(react@18.3.1) dev: true - /@radix-ui/react-slot@1.0.2(@types/react@18.2.25)(react@18.2.0): + /@radix-ui/react-slot@1.0.2(@types/react@18.3.3)(react@18.3.1): resolution: {integrity: sha512-YeTpuq4deV+6DusvVUW4ivBgnkHwECUu0BiN43L5UCDFgdhsRUWAghhTF5MbvNTPzmiFOx90asDSUjWuCNapwg==} peerDependencies: '@types/react': '*' @@ -8222,90 +8246,101 @@ packages: '@types/react': optional: true dependencies: - '@babel/runtime': 7.23.1 - '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.2.25)(react@18.2.0) - '@types/react': 18.2.25 - react: 18.2.0 + '@babel/runtime': 7.24.7 + '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@types/react': 18.3.3 + react: 18.3.1 + dev: true + + /@radix-ui/react-slot@1.1.0(@types/react@18.3.3)(react@18.3.1): + resolution: {integrity: sha512-FUCf5XMfmW4dtYl69pdS4DbxKy8nj4M7SafBgPllysxmdachynNflAdp/gCsnYWNDnge6tI9onzMp5ARYc1KNw==} + peerDependencies: + '@types/react': '*' + react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + peerDependenciesMeta: + '@types/react': + optional: true + dependencies: + '@radix-ui/react-compose-refs': 1.1.0(@types/react@18.3.3)(react@18.3.1) + '@types/react': 18.3.3 + react: 18.3.1 dev: true - /@radix-ui/react-toggle-group@1.0.4(@types/react-dom@18.2.11)(@types/react@18.2.25)(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-Uaj/M/cMyiyT9Bx6fOZO0SAG4Cls0GptBWiBmBxofmDbNVnYYoyRWj/2M/6VCi/7qcXFWnHhRUfdfZFvvkuu8A==} + /@radix-ui/react-toggle-group@1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1): + resolution: {integrity: sha512-PpTJV68dZU2oqqgq75Uzto5o/XfOVgkrJ9rulVmfTKxWp3HfUjHE6CP/WLRR4AzPX9HWxw7vFow2me85Yu+Naw==} peerDependencies: '@types/react': '*' '@types/react-dom': '*' - react: ^16.8 || ^17.0 || ^18.0 - react-dom: ^16.8 || ^17.0 || ^18.0 + react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc peerDependenciesMeta: '@types/react': optional: true '@types/react-dom': optional: true dependencies: - '@babel/runtime': 7.23.1 - '@radix-ui/primitive': 1.0.1 - '@radix-ui/react-context': 1.0.1(@types/react@18.2.25)(react@18.2.0) - '@radix-ui/react-direction': 1.0.1(@types/react@18.2.25)(react@18.2.0) - '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.2.11)(@types/react@18.2.25)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-roving-focus': 1.0.4(@types/react-dom@18.2.11)(@types/react@18.2.25)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-toggle': 1.0.3(@types/react-dom@18.2.11)(@types/react@18.2.25)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-use-controllable-state': 1.0.1(@types/react@18.2.25)(react@18.2.0) - '@types/react': 18.2.25 - '@types/react-dom': 18.2.11 - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) + '@radix-ui/primitive': 1.1.0 + '@radix-ui/react-context': 1.1.0(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-direction': 1.1.0(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-primitive': 2.0.0(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) + '@radix-ui/react-roving-focus': 1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) + '@radix-ui/react-toggle': 1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) + '@radix-ui/react-use-controllable-state': 1.1.0(@types/react@18.3.3)(react@18.3.1) + '@types/react': 18.3.3 + '@types/react-dom': 18.3.0 + react: 18.3.1 + react-dom: 18.3.1(react@18.3.1) dev: true - /@radix-ui/react-toggle@1.0.3(@types/react-dom@18.2.11)(@types/react@18.2.25)(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-Pkqg3+Bc98ftZGsl60CLANXQBBQ4W3mTFS9EJvNxKMZ7magklKV69/id1mlAlOFDDfHvlCms0fx8fA4CMKDJHg==} + /@radix-ui/react-toggle@1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1): + resolution: {integrity: sha512-gwoxaKZ0oJ4vIgzsfESBuSgJNdc0rv12VhHgcqN0TEJmmZixXG/2XpsLK8kzNWYcnaoRIEEQc0bEi3dIvdUpjw==} peerDependencies: '@types/react': '*' '@types/react-dom': '*' - react: ^16.8 || ^17.0 || ^18.0 - react-dom: ^16.8 || ^17.0 || ^18.0 + react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc peerDependenciesMeta: '@types/react': optional: true '@types/react-dom': optional: true dependencies: - '@babel/runtime': 7.23.1 - '@radix-ui/primitive': 1.0.1 - '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.2.11)(@types/react@18.2.25)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-use-controllable-state': 1.0.1(@types/react@18.2.25)(react@18.2.0) - '@types/react': 18.2.25 - '@types/react-dom': 18.2.11 - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) + '@radix-ui/primitive': 1.1.0 + '@radix-ui/react-primitive': 2.0.0(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) + '@radix-ui/react-use-controllable-state': 1.1.0(@types/react@18.3.3)(react@18.3.1) + '@types/react': 18.3.3 + '@types/react-dom': 18.3.0 + react: 18.3.1 + react-dom: 18.3.1(react@18.3.1) dev: true - /@radix-ui/react-toolbar@1.0.4(@types/react-dom@18.2.11)(@types/react@18.2.25)(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-tBgmM/O7a07xbaEkYJWYTXkIdU/1pW4/KZORR43toC/4XWyBCURK0ei9kMUdp+gTPPKBgYLxXmRSH1EVcIDp8Q==} + /@radix-ui/react-toolbar@1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1): + resolution: {integrity: sha512-ZUKknxhMTL/4hPh+4DuaTot9aO7UD6Kupj4gqXCsBTayX1pD1L+0C2/2VZKXb4tIifQklZ3pf2hG9T+ns+FclQ==} peerDependencies: '@types/react': '*' '@types/react-dom': '*' - react: ^16.8 || ^17.0 || ^18.0 - react-dom: ^16.8 || ^17.0 || ^18.0 + react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc peerDependenciesMeta: '@types/react': optional: true '@types/react-dom': optional: true dependencies: - '@babel/runtime': 7.23.1 - '@radix-ui/primitive': 1.0.1 - '@radix-ui/react-context': 1.0.1(@types/react@18.2.25)(react@18.2.0) - '@radix-ui/react-direction': 1.0.1(@types/react@18.2.25)(react@18.2.0) - '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.2.11)(@types/react@18.2.25)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-roving-focus': 1.0.4(@types/react-dom@18.2.11)(@types/react@18.2.25)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-separator': 1.0.3(@types/react-dom@18.2.11)(@types/react@18.2.25)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-toggle-group': 1.0.4(@types/react-dom@18.2.11)(@types/react@18.2.25)(react-dom@18.2.0)(react@18.2.0) - '@types/react': 18.2.25 - '@types/react-dom': 18.2.11 - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) - dev: true - - /@radix-ui/react-use-callback-ref@1.0.1(@types/react@18.2.25)(react@18.2.0): + '@radix-ui/primitive': 1.1.0 + '@radix-ui/react-context': 1.1.0(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-direction': 1.1.0(@types/react@18.3.3)(react@18.3.1) + '@radix-ui/react-primitive': 2.0.0(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) + '@radix-ui/react-roving-focus': 1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) + '@radix-ui/react-separator': 1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) + '@radix-ui/react-toggle-group': 1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) + '@types/react': 18.3.3 + '@types/react-dom': 18.3.0 + react: 18.3.1 + react-dom: 18.3.1(react@18.3.1) + dev: true + + /@radix-ui/react-use-callback-ref@1.0.1(@types/react@18.3.3)(react@18.3.1): resolution: {integrity: sha512-D94LjX4Sp0xJFVaoQOd3OO9k7tpBYNOXdVhkltUbGv2Qb9OXdrg/CpsjlZv7ia14Sylv398LswWBVVu5nqKzAQ==} peerDependencies: '@types/react': '*' @@ -8314,28 +8349,55 @@ packages: '@types/react': optional: true dependencies: - '@babel/runtime': 7.23.1 - '@types/react': 18.2.25 - react: 18.2.0 + '@babel/runtime': 7.24.7 + '@types/react': 18.3.3 + react: 18.3.1 dev: true - /@radix-ui/react-use-controllable-state@1.0.1(@types/react@18.2.25)(react@18.2.0): - resolution: {integrity: sha512-Svl5GY5FQeN758fWKrjM6Qb7asvXeiZltlT4U2gVfl8Gx5UAv2sMR0LWo8yhsIZh2oQ0eFdZ59aoOOMV7b47VA==} + /@radix-ui/react-use-callback-ref@1.1.0(@types/react@18.3.3)(react@18.3.1): + resolution: {integrity: sha512-CasTfvsy+frcFkbXtSJ2Zu9JHpN8TYKxkgJGWbjiZhFivxaeW7rMeZt7QELGVLaYVfFMsKHjb7Ak0nMEe+2Vfw==} peerDependencies: '@types/react': '*' - react: ^16.8 || ^17.0 || ^18.0 + react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc peerDependenciesMeta: '@types/react': optional: true dependencies: - '@babel/runtime': 7.23.1 - '@radix-ui/react-use-callback-ref': 1.0.1(@types/react@18.2.25)(react@18.2.0) - '@types/react': 18.2.25 - react: 18.2.0 + '@types/react': 18.3.3 + react: 18.3.1 dev: true - /@radix-ui/react-use-escape-keydown@1.0.3(@types/react@18.2.25)(react@18.2.0): - resolution: {integrity: sha512-vyL82j40hcFicA+M4Ex7hVkB9vHgSse1ZWomAqV2Je3RleKGO5iM8KMOEtfoSB0PnIelMd2lATjTGMYqN5ylTg==} + /@radix-ui/react-use-controllable-state@1.0.1(@types/react@18.3.3)(react@18.3.1): + resolution: {integrity: sha512-Svl5GY5FQeN758fWKrjM6Qb7asvXeiZltlT4U2gVfl8Gx5UAv2sMR0LWo8yhsIZh2oQ0eFdZ59aoOOMV7b47VA==} + peerDependencies: + '@types/react': '*' + react: ^16.8 || ^17.0 || ^18.0 + peerDependenciesMeta: + '@types/react': + optional: true + dependencies: + '@babel/runtime': 7.24.7 + '@radix-ui/react-use-callback-ref': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@types/react': 18.3.3 + react: 18.3.1 + dev: true + + /@radix-ui/react-use-controllable-state@1.1.0(@types/react@18.3.3)(react@18.3.1): + resolution: {integrity: sha512-MtfMVJiSr2NjzS0Aa90NPTnvTSg6C/JLCV7ma0W6+OMV78vd8OyRpID+Ng9LxzsPbLeuBnWBA1Nq30AtBIDChw==} + peerDependencies: + '@types/react': '*' + react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + peerDependenciesMeta: + '@types/react': + optional: true + dependencies: + '@radix-ui/react-use-callback-ref': 1.1.0(@types/react@18.3.3)(react@18.3.1) + '@types/react': 18.3.3 + react: 18.3.1 + dev: true + + /@radix-ui/react-use-escape-keydown@1.0.3(@types/react@18.3.3)(react@18.3.1): + resolution: {integrity: sha512-vyL82j40hcFicA+M4Ex7hVkB9vHgSse1ZWomAqV2Je3RleKGO5iM8KMOEtfoSB0PnIelMd2lATjTGMYqN5ylTg==} peerDependencies: '@types/react': '*' react: ^16.8 || ^17.0 || ^18.0 @@ -8343,13 +8405,13 @@ packages: '@types/react': optional: true dependencies: - '@babel/runtime': 7.23.1 - '@radix-ui/react-use-callback-ref': 1.0.1(@types/react@18.2.25)(react@18.2.0) - '@types/react': 18.2.25 - react: 18.2.0 + '@babel/runtime': 7.24.7 + '@radix-ui/react-use-callback-ref': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@types/react': 18.3.3 + react: 18.3.1 dev: true - /@radix-ui/react-use-layout-effect@1.0.1(@types/react@18.2.25)(react@18.2.0): + /@radix-ui/react-use-layout-effect@1.0.1(@types/react@18.3.3)(react@18.3.1): resolution: {integrity: sha512-v/5RegiJWYdoCvMnITBkNNx6bCj20fiaJnWtRkU18yITptraXjffz5Qbn05uOiQnOvi+dbkznkoaMltz1GnszQ==} peerDependencies: '@types/react': '*' @@ -8358,12 +8420,25 @@ packages: '@types/react': optional: true dependencies: - '@babel/runtime': 7.23.1 - '@types/react': 18.2.25 - react: 18.2.0 + '@babel/runtime': 7.24.7 + '@types/react': 18.3.3 + react: 18.3.1 + dev: true + + /@radix-ui/react-use-layout-effect@1.1.0(@types/react@18.3.3)(react@18.3.1): + resolution: {integrity: sha512-+FPE0rOdziWSrH9athwI1R0HDVbWlEhd+FR+aSDk4uWGmSJ9Z54sdZVDQPZAinJhJXwfT+qnj969mCsT2gfm5w==} + peerDependencies: + '@types/react': '*' + react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + peerDependenciesMeta: + '@types/react': + optional: true + dependencies: + '@types/react': 18.3.3 + react: 18.3.1 dev: true - /@radix-ui/react-use-previous@1.0.1(@types/react@18.2.25)(react@18.2.0): + /@radix-ui/react-use-previous@1.0.1(@types/react@18.3.3)(react@18.3.1): resolution: {integrity: sha512-cV5La9DPwiQ7S0gf/0qiD6YgNqM5Fk97Kdrlc5yBcrF3jyEZQwm7vYFqMo4IfeHgJXsRaMvLABFtd0OVEmZhDw==} peerDependencies: '@types/react': '*' @@ -8372,12 +8447,12 @@ packages: '@types/react': optional: true dependencies: - '@babel/runtime': 7.23.1 - '@types/react': 18.2.25 - react: 18.2.0 + '@babel/runtime': 7.24.7 + '@types/react': 18.3.3 + react: 18.3.1 dev: true - /@radix-ui/react-use-rect@1.0.1(@types/react@18.2.25)(react@18.2.0): + /@radix-ui/react-use-rect@1.0.1(@types/react@18.3.3)(react@18.3.1): resolution: {integrity: sha512-Cq5DLuSiuYVKNU8orzJMbl15TXilTnJKUCltMVQg53BQOF1/C5toAaGrowkgksdBQ9H+SRL23g0HDmg9tvmxXw==} peerDependencies: '@types/react': '*' @@ -8386,13 +8461,13 @@ packages: '@types/react': optional: true dependencies: - '@babel/runtime': 7.23.1 + '@babel/runtime': 7.24.7 '@radix-ui/rect': 1.0.1 - '@types/react': 18.2.25 - react: 18.2.0 + '@types/react': 18.3.3 + react: 18.3.1 dev: true - /@radix-ui/react-use-size@1.0.1(@types/react@18.2.25)(react@18.2.0): + /@radix-ui/react-use-size@1.0.1(@types/react@18.3.3)(react@18.3.1): resolution: {integrity: sha512-ibay+VqrgcaI6veAojjofPATwledXiSmX+C0KrBk/xgpX9rBzPV3OsfwlhQdUOFbh+LKQorLYT+xTXW9V8yd0g==} peerDependencies: '@types/react': '*' @@ -8401,13 +8476,13 @@ packages: '@types/react': optional: true dependencies: - '@babel/runtime': 7.23.1 - '@radix-ui/react-use-layout-effect': 1.0.1(@types/react@18.2.25)(react@18.2.0) - '@types/react': 18.2.25 - react: 18.2.0 + '@babel/runtime': 7.24.7 + '@radix-ui/react-use-layout-effect': 1.0.1(@types/react@18.3.3)(react@18.3.1) + '@types/react': 18.3.3 + react: 18.3.1 dev: true - /@radix-ui/react-visually-hidden@1.0.3(@types/react-dom@18.2.11)(@types/react@18.2.25)(react-dom@18.2.0)(react@18.2.0): + /@radix-ui/react-visually-hidden@1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1): resolution: {integrity: sha512-D4w41yN5YRKtu464TLnByKzMDG/JlMPHtfZgQAu9v6mNakUqGUI9vUrfQKz8NK41VMm/xbZbh76NUTVtIYqOMA==} peerDependencies: '@types/react': '*' @@ -8420,30 +8495,30 @@ packages: '@types/react-dom': optional: true dependencies: - '@babel/runtime': 7.23.1 - '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.2.11)(@types/react@18.2.25)(react-dom@18.2.0)(react@18.2.0) - '@types/react': 18.2.25 - '@types/react-dom': 18.2.11 - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) + '@babel/runtime': 7.24.7 + '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) + '@types/react': 18.3.3 + '@types/react-dom': 18.3.0 + react: 18.3.1 + react-dom: 18.3.1(react@18.3.1) dev: true /@radix-ui/rect@1.0.1: resolution: {integrity: sha512-fyrgCaedtvMg9NK3en0pnOYJdtfwxUcNolezkNPUsoX57X8oQk+NkqcvzHXD2uKNij6GXmWU9NDru2IWjrO4BQ==} dependencies: - '@babel/runtime': 7.23.1 + '@babel/runtime': 7.24.7 dev: true - /@redis/bloom@1.2.0(@redis/client@1.5.11): + /@redis/bloom@1.2.0(@redis/client@1.5.16): resolution: {integrity: sha512-HG2DFjYKbpNmVXsa0keLHp/3leGJz1mjh09f2RLGGLQZzSHpkmZWuwJbAvo3QcRY8p80m5+ZdXZdYOSBLlp7Cg==} peerDependencies: '@redis/client': ^1.0.0 dependencies: - '@redis/client': 1.5.11 + '@redis/client': 1.5.16 dev: true - /@redis/client@1.5.11: - resolution: {integrity: sha512-cV7yHcOAtNQ5x/yQl7Yw1xf53kO0FNDTdDU6bFIMbW6ljB7U7ns0YRM+QIkpoqTAt6zK5k9Fq0QWlUbLcq9AvA==} + /@redis/client@1.5.16: + resolution: {integrity: sha512-X1a3xQ5kEMvTib5fBrHKh6Y+pXbeKXqziYuxOUo1ojQNECg4M5Etd1qqyhMap+lFUOAh8S7UYevgJHOm4A+NOg==} engines: {node: '>=14'} dependencies: cluster-key-slot: 1.1.2 @@ -8451,40 +8526,40 @@ packages: yallist: 4.0.0 dev: true - /@redis/graph@1.1.0(@redis/client@1.5.11): - resolution: {integrity: sha512-16yZWngxyXPd+MJxeSr0dqh2AIOi8j9yXKcKCwVaKDbH3HTuETpDVPcLujhFYVPtYrngSco31BUcSa9TH31Gqg==} + /@redis/graph@1.1.1(@redis/client@1.5.16): + resolution: {integrity: sha512-FEMTcTHZozZciLRl6GiiIB4zGm5z5F3F6a6FZCyrfxdKOhFlGkiAqlexWMBzCi4DcRoyiOsuLfW+cjlGWyExOw==} peerDependencies: '@redis/client': ^1.0.0 dependencies: - '@redis/client': 1.5.11 + '@redis/client': 1.5.16 dev: true - /@redis/json@1.0.6(@redis/client@1.5.11): + /@redis/json@1.0.6(@redis/client@1.5.16): resolution: {integrity: sha512-rcZO3bfQbm2zPRpqo82XbW8zg4G/w4W3tI7X8Mqleq9goQjAGLL7q/1n1ZX4dXEAmORVZ4s1+uKLaUOg7LrUhw==} peerDependencies: '@redis/client': ^1.0.0 dependencies: - '@redis/client': 1.5.11 + '@redis/client': 1.5.16 dev: true - /@redis/search@1.1.5(@redis/client@1.5.11): - resolution: {integrity: sha512-hPP8w7GfGsbtYEJdn4n7nXa6xt6hVZnnDktKW4ArMaFQ/m/aR7eFvsLQmG/mn1Upq99btPJk+F27IQ2dYpCoUg==} + /@redis/search@1.1.6(@redis/client@1.5.16): + resolution: {integrity: sha512-mZXCxbTYKBQ3M2lZnEddwEAks0Kc7nauire8q20oA0oA/LoA+E/b5Y5KZn232ztPb1FkIGqo12vh3Lf+Vw5iTw==} peerDependencies: '@redis/client': ^1.0.0 dependencies: - '@redis/client': 1.5.11 + '@redis/client': 1.5.16 dev: true - /@redis/time-series@1.0.5(@redis/client@1.5.11): + /@redis/time-series@1.0.5(@redis/client@1.5.16): resolution: {integrity: sha512-IFjIgTusQym2B5IZJG3XKr5llka7ey84fw/NOYqESP5WUfQs9zz1ww/9+qoz4ka/S6KcGBodzlCeZ5UImKbscg==} peerDependencies: '@redis/client': ^1.0.0 dependencies: - '@redis/client': 1.5.11 + '@redis/client': 1.5.16 dev: true - /@rollup/pluginutils@5.0.5: - resolution: {integrity: sha512-6aEYR910NyP73oHiJglti74iRyOwgFU4x3meH/H8OJx6Ry0j6cOVZ5X/wTvub7G7Ao6qaHBEaNsV3GLJkSsF+Q==} + /@rollup/pluginutils@5.1.0: + resolution: {integrity: sha512-XTIWOPPcpvyKI6L1NHo0lFlCyznUEyPmPY1mc3KpPVDYulHSTvyeLNVW00QTLIAFNhR3kYnJTQHeGqU4M3n09g==} engines: {node: '>=14.0.0'} peerDependencies: rollup: ^1.20.0||^2.0.0||^3.0.0||^4.0.0 @@ -8492,7 +8567,7 @@ packages: rollup: optional: true dependencies: - '@types/estree': 1.0.2 + '@types/estree': 1.0.5 estree-walker: 2.0.2 picomatch: 2.3.1 dev: true @@ -8625,189 +8700,163 @@ packages: dev: true optional: true - /@segment/analytics-core@1.3.1: - resolution: {integrity: sha512-KGblJ8WQNC4t0j31zeyYBm2thHWuPULNAoP7waU5ts7Asz9ipvGoHqFSLG6warqvcnBdkiRbNam242zmxX53oA==} + /@segment/analytics-core@1.4.1: + resolution: {integrity: sha512-kV0Pf33HnthuBOVdYNani21kYyj118Fn+9757bxqoksiXoZlYvBsFq6giNdCsKcTIE1eAMqNDq3xE1VQ0cfsHA==} dependencies: '@lukeed/uuid': 2.0.1 - dset: 3.1.2 - tslib: 2.6.2 + '@segment/analytics-generic-utils': 1.1.1 + dset: 3.1.3 + tslib: 2.6.3 dev: false - /@segment/analytics-node@1.1.1: - resolution: {integrity: sha512-YNn32SfD8KrxIBowLz3MVav0GzhGIbBRgAtjW4Kv57oHwgaJNSLEp/z/ypnu7vAqUjm9jAwAW9Wfc24ssZI49g==} + /@segment/analytics-generic-utils@1.1.1: + resolution: {integrity: sha512-THTIzBPHnvu1HYJU3fARdJ3qIkukO3zDXsmDm+kAeUks5R9CBXOQ6rPChiASVzSmwAIIo5uFIXXnCraojlq/Gw==} + dependencies: + tslib: 2.6.3 + dev: false + + /@segment/analytics-node@1.3.0: + resolution: {integrity: sha512-lRLz1WZaDokMoUe299yP5JkInc3OgJuqNNlxb6j0q22umCiq6b5iDo2gRmFn93reirIvJxWIicQsGrHd93q8GQ==} engines: {node: '>=14'} dependencies: '@lukeed/uuid': 2.0.1 - '@segment/analytics-core': 1.3.1 + '@segment/analytics-core': 1.4.1 + '@segment/analytics-generic-utils': 1.1.1 buffer: 6.0.3 node-fetch: 2.7.0 - tslib: 2.6.2 + tslib: 2.6.3 transitivePeerDependencies: - encoding dev: false - /@sentry-internal/tracing@7.64.0: - resolution: {integrity: sha512-1XE8W6ki7hHyBvX9hfirnGkKDBKNq3bDJyXS86E0bYVDl94nvbRM9BD9DHsCFetqYkVm1yDGEK+6aUVs4CztoQ==} - engines: {node: '>=8'} - dependencies: - '@sentry/core': 7.64.0 - '@sentry/types': 7.64.0 - '@sentry/utils': 7.64.0 - tslib: 2.6.2 - dev: true - - /@sentry-internal/tracing@7.91.0: - resolution: {integrity: sha512-JH5y6gs6BS0its7WF2DhySu7nkhPDfZcdpAXldxzIlJpqFkuwQKLU5nkYJpiIyZz1NHYYtW5aum2bV2oCOdDRA==} - engines: {node: '>=8'} - dependencies: - '@sentry/core': 7.91.0 - '@sentry/types': 7.91.0 - '@sentry/utils': 7.91.0 - dev: true - - /@sentry-internal/tracing@7.94.1: - resolution: {integrity: sha512-znxCdrz7tPXm9Bwoe46PW72Zr0Iv7bXT6+b2LNg5fxWiCQVBbQFrMuVvtXEmHxeRRJVEgTh/4TdulB7wrtQIUQ==} + /@sentry-internal/tracing@7.109.0: + resolution: {integrity: sha512-PzK/joC5tCuh2R/PRh+7dp+uuZl7pTsBIjPhVZHMTtb9+ls65WkdZJ1/uKXPouyz8NOo9Xok7aEvEo9seongyw==} engines: {node: '>=8'} dependencies: - '@sentry/core': 7.94.1 - '@sentry/types': 7.94.1 - '@sentry/utils': 7.94.1 + '@sentry/core': 7.109.0 + '@sentry/types': 7.109.0 + '@sentry/utils': 7.109.0 dev: true - /@sentry/core@7.64.0: - resolution: {integrity: sha512-IzmEyl5sNG7NyEFiyFHEHC+sizsZp9MEw1+RJRLX6U5RITvcsEgcajSkHQFafaBPzRrcxZMdm47Cwhl212LXcw==} + /@sentry-internal/tracing@7.110.0: + resolution: {integrity: sha512-IIHHa9e/mE7uOMJfNELI8adyoELxOy6u6TNCn5t6fphmq84w8FTc9adXkG/FY2AQpglkIvlILojfMROFB2aaAQ==} engines: {node: '>=8'} dependencies: - '@sentry/types': 7.64.0 - '@sentry/utils': 7.64.0 - tslib: 2.6.2 + '@sentry/core': 7.110.0 + '@sentry/types': 7.110.0 + '@sentry/utils': 7.110.0 dev: true - /@sentry/core@7.91.0: - resolution: {integrity: sha512-tu+gYq4JrTdrR+YSh5IVHF0fJi/Pi9y0HZ5H9HnYy+UMcXIotxf6hIEaC6ZKGeLWkGXffz2gKpQLe/g6vy/lPA==} + /@sentry/core@7.109.0: + resolution: {integrity: sha512-xwD4U0IlvvlE/x/g/W1I8b4Cfb16SsCMmiEuBf6XxvAa3OfWBxKoqLifb3GyrbxMC4LbIIZCN/SvLlnGJPgszA==} engines: {node: '>=8'} dependencies: - '@sentry/types': 7.91.0 - '@sentry/utils': 7.91.0 + '@sentry/types': 7.109.0 + '@sentry/utils': 7.109.0 dev: true - /@sentry/core@7.94.1: - resolution: {integrity: sha512-4sjiMnkbGpv9O98YHVZe7fHNwwdYl+zLoCOoEOadtrJ1EYYvnK/MSixN2HJF7g/0s22xd4xY958QyNIRVR+Iiw==} + /@sentry/core@7.110.0: + resolution: {integrity: sha512-g4suCQO94mZsKVaAbyD1zLFC5YSuBQCIPHXx9fdgtfoPib7BWjWWePkllkrvsKAv4u8Oq05RfnKOhOMRHpOKqg==} engines: {node: '>=8'} dependencies: - '@sentry/types': 7.94.1 - '@sentry/utils': 7.94.1 - dev: true - - /@sentry/node@7.64.0: - resolution: {integrity: sha512-wRi0uTnp1WSa83X2yLD49tV9QPzGh5e42IKdIDBiQ7lV9JhLILlyb34BZY1pq6p4dp35yDasDrP3C7ubn7wo6A==} - engines: {node: '>=8'} - dependencies: - '@sentry-internal/tracing': 7.64.0 - '@sentry/core': 7.64.0 - '@sentry/types': 7.64.0 - '@sentry/utils': 7.64.0 - cookie: 0.4.2 - https-proxy-agent: 5.0.1 - lru_map: 0.3.3 - tslib: 2.6.2 - transitivePeerDependencies: - - supports-color + '@sentry/types': 7.110.0 + '@sentry/utils': 7.110.0 dev: true - /@sentry/node@7.91.0: - resolution: {integrity: sha512-hTIfSQxD7L+AKIqyjoq8CWBRkEQrrMZmA3GSZgPI5JFWBHgO0HBo5TH/8TU81oEJh6kqqHAl2ObMhmcnaFqlzg==} + /@sentry/node@7.109.0: + resolution: {integrity: sha512-tqMNAES4X/iBl1eZRCmc29p//0id01FBLEiesNo5nk6ECl6/SaGMFAEwu1gsn90h/Bjgr04slwFOS4cR45V2PQ==} engines: {node: '>=8'} dependencies: - '@sentry-internal/tracing': 7.91.0 - '@sentry/core': 7.91.0 - '@sentry/types': 7.91.0 - '@sentry/utils': 7.91.0 - https-proxy-agent: 5.0.1 - transitivePeerDependencies: - - supports-color + '@sentry-internal/tracing': 7.109.0 + '@sentry/core': 7.109.0 + '@sentry/types': 7.109.0 + '@sentry/utils': 7.109.0 dev: true - /@sentry/node@7.94.1: - resolution: {integrity: sha512-30nyrfVbY1vNoWg5ptGW+soykU532VvKLuXiKty3SKEXjp5bv23JrCcVtuwp9KrW4josHOJbxZUqeNni85YplQ==} + /@sentry/node@7.110.0: + resolution: {integrity: sha512-YPfweCSzo/omnx5q1xOEZfI8Em3jnPqj7OM4ObXmoSKEK+kM1oUF3BTRzw5BJOaOCSTBFY1RAsGyfVIyrwxWnA==} engines: {node: '>=8'} dependencies: - '@sentry-internal/tracing': 7.94.1 - '@sentry/core': 7.94.1 - '@sentry/types': 7.94.1 - '@sentry/utils': 7.94.1 + '@sentry-internal/tracing': 7.110.0 + '@sentry/core': 7.110.0 + '@sentry/types': 7.110.0 + '@sentry/utils': 7.110.0 dev: true - /@sentry/types@7.64.0: - resolution: {integrity: sha512-LqjQprWXjUFRmzIlUjyA+KL+38elgIYmAeoDrdyNVh8MK5IC1W2Lh1Q87b4yOiZeMiIhIVNBd7Ecoh2rodGrGA==} + /@sentry/types@7.109.0: + resolution: {integrity: sha512-egCBnDv3YpVFoNzRLdP0soVrxVLCQ+rovREKJ1sw3rA2/MFH9WJ+DZZexsX89yeAFzy1IFsCp7/dEqudusml6g==} engines: {node: '>=8'} dev: true - /@sentry/types@7.91.0: - resolution: {integrity: sha512-bcQnb7J3P3equbCUc+sPuHog2Y47yGD2sCkzmnZBjvBT0Z1B4f36fI/5WjyZhTjLSiOdg3F2otwvikbMjmBDew==} + /@sentry/types@7.110.0: + resolution: {integrity: sha512-DqYBLyE8thC5P5MuPn+sj8tL60nCd/f5cerFFPcudn5nJ4Zs1eI6lKlwwyHYTEu5c4KFjCB0qql6kXfwAHmTyA==} engines: {node: '>=8'} dev: true - /@sentry/types@7.94.1: - resolution: {integrity: sha512-A7CdEXFSgGyWv2BT2p9cAvJfb+dypvOtsY8ZvZvdPLUa7kqCV7ndhURUqKjvMBzsL2GParHn3ehDTl2eVc7pvA==} - engines: {node: '>=8'} - dev: true - - /@sentry/utils@7.64.0: - resolution: {integrity: sha512-HRlM1INzK66Gt+F4vCItiwGKAng4gqzCR4C5marsL3qv6SrKH98dQnCGYgXluSWaaa56h97FRQu7TxCk6jkSvQ==} + /@sentry/utils@7.109.0: + resolution: {integrity: sha512-3RjxMOLMBwZ5VSiH84+o/3NY2An4Zldjz0EbfEQNRY9yffRiCPJSQiCJID8EoylCFOh/PAhPimBhqbtWJxX6iw==} engines: {node: '>=8'} dependencies: - '@sentry/types': 7.64.0 - tslib: 2.6.2 + '@sentry/types': 7.109.0 dev: true - /@sentry/utils@7.91.0: - resolution: {integrity: sha512-fvxjrEbk6T6Otu++Ax9ntlQ0sGRiwSC179w68aC3u26Wr30FAIRKqHTCCdc2jyWk7Gd9uWRT/cq+g8NG/8BfSg==} + /@sentry/utils@7.110.0: + resolution: {integrity: sha512-VBsdLLN+5tf73fhf/Cm7JIsUJ6y9DkJj8h4I6Mxx0rszrvOyH6S5px40K+V4jdLBzMEvVinC7q2Cbf1YM18BSw==} engines: {node: '>=8'} dependencies: - '@sentry/types': 7.91.0 + '@sentry/types': 7.110.0 dev: true - /@sentry/utils@7.94.1: - resolution: {integrity: sha512-gQ2EaMpUU1gGH3S+iqpog9gkXbCo8tlhGYA9a5FUtEtER3D3OAlp8dGFwClwzWDAwzjdLT1+X55zmEptU1cP/A==} - engines: {node: '>=8'} + /@sigstore/bundle@2.3.2: + resolution: {integrity: sha512-wueKWDk70QixNLB363yHc2D2ItTgYiMTdPwK8D9dKQMR3ZQ0c35IxP5xnwQ8cNLoCgCRcHf14kE+CLIvNX1zmA==} + engines: {node: ^16.14.0 || >=18.0.0} dependencies: - '@sentry/types': 7.94.1 - dev: true + '@sigstore/protobuf-specs': 0.3.2 + dev: false - /@sigstore/bundle@2.1.0: - resolution: {integrity: sha512-89uOo6yh/oxaU8AeOUnVrTdVMcGk9Q1hJa7Hkvalc6G3Z3CupWk4Xe9djSgJm9fMkH69s0P0cVHUoKSOemLdng==} + /@sigstore/core@1.1.0: + resolution: {integrity: sha512-JzBqdVIyqm2FRQCulY6nbQzMpJJpSiJ8XXWMhtOX9eKgaXXpfNOF53lzQEjIydlStnd/eFtuC1dW4VYdD93oRg==} engines: {node: ^16.14.0 || >=18.0.0} - dependencies: - '@sigstore/protobuf-specs': 0.2.1 dev: false - /@sigstore/protobuf-specs@0.2.1: - resolution: {integrity: sha512-XTWVxnWJu+c1oCshMLwnKvz8ZQJJDVOlciMfgpJBQbThVjKTCG8dwyhgLngBD2KN0ap9F/gOV8rFDEx8uh7R2A==} - engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} + /@sigstore/protobuf-specs@0.3.2: + resolution: {integrity: sha512-c6B0ehIWxMI8wiS/bj6rHMPqeFvngFV7cDU/MY+B16P9Z3Mp9k8L93eYZ7BYzSickzuqAQqAq0V956b3Ju6mLw==} + engines: {node: ^16.14.0 || >=18.0.0} dev: false - /@sigstore/sign@2.1.0: - resolution: {integrity: sha512-4VRpfJxs+8eLqzLVrZngVNExVA/zAhVbi4UT4zmtLi4xRd7vz5qie834OgkrGsLlLB1B2nz/3wUxT1XAUBe8gw==} + /@sigstore/sign@2.3.2: + resolution: {integrity: sha512-5Vz5dPVuunIIvC5vBb0APwo7qKA4G9yM48kPWJT+OEERs40md5GoUR1yedwpekWZ4m0Hhw44m6zU+ObsON+iDA==} engines: {node: ^16.14.0 || >=18.0.0} dependencies: - '@sigstore/bundle': 2.1.0 - '@sigstore/protobuf-specs': 0.2.1 - make-fetch-happen: 13.0.0 + '@sigstore/bundle': 2.3.2 + '@sigstore/core': 1.1.0 + '@sigstore/protobuf-specs': 0.3.2 + make-fetch-happen: 13.0.1 + proc-log: 4.2.0 + promise-retry: 2.0.1 transitivePeerDependencies: - supports-color dev: false - /@sigstore/tuf@2.2.0: - resolution: {integrity: sha512-KKATZ5orWfqd9ZG6MN8PtCIx4eevWSuGRKQvofnWXRpyMyUEpmrzg5M5BrCpjM+NfZ0RbNGOh5tCz/P2uoRqOA==} + /@sigstore/tuf@2.3.4: + resolution: {integrity: sha512-44vtsveTPUpqhm9NCrbU8CWLe3Vck2HO1PNLw7RIajbB7xhtn5RBPm1VNSCMwqGYHhDsBJG8gDF0q4lgydsJvw==} engines: {node: ^16.14.0 || >=18.0.0} dependencies: - '@sigstore/protobuf-specs': 0.2.1 - tuf-js: 2.1.0 + '@sigstore/protobuf-specs': 0.3.2 + tuf-js: 2.2.1 transitivePeerDependencies: - supports-color dev: false + /@sigstore/verify@1.2.1: + resolution: {integrity: sha512-8iKx79/F73DKbGfRf7+t4dqrc0bRr0thdPrxAtCKWRm/F0tG71i6O1rvlnScncJLLBZHn3h8M3c1BSUAb9yu8g==} + engines: {node: ^16.14.0 || >=18.0.0} + dependencies: + '@sigstore/bundle': 2.3.2 + '@sigstore/core': 1.1.0 + '@sigstore/protobuf-specs': 0.3.2 + dev: false + /@sinclair/typebox@0.24.51: resolution: {integrity: sha512-1P1OROm/rdubP5aFDSZQILU0vrLCJ4fvHt6EoqHEM+2D/G5MK3bIaymUKLit8Js9gbns5UyJnkP/TZROLw4tUA==} dev: true @@ -8828,16 +8877,16 @@ packages: type-detect: 4.0.8 dev: true - /@sinonjs/commons@3.0.0: - resolution: {integrity: sha512-jXBtWAF4vmdNmZgD5FoKsVLv3rPgDnLgPbU84LIJ3otV44vJlDRokVng5v8NFJdCf/da9legHcKaRuZs4L7faA==} + /@sinonjs/commons@3.0.1: + resolution: {integrity: sha512-K3mCHKQ9sVh8o1C9cxkwxaOmXoAMlDxC1mYyHrjqOWEcBjYr76t96zL2zlj5dUGZ3HSw240X1qgH3Mjf1yJWpQ==} dependencies: type-detect: 4.0.8 dev: true - /@sinonjs/fake-timers@10.3.0: - resolution: {integrity: sha512-V4BG07kuYSUkTCSBHG8G8TNhM+F19jXFWnQtzj+we8DrkpSBCee9Z3Ms8yiGer/dlmhe35/Xdgyo3/0rQKg7YA==} + /@sinonjs/fake-timers@11.2.2: + resolution: {integrity: sha512-G2piCSxQ7oWOxwGSAyFHfPIsyeJGXYtc6mFbnFA+kRXkiEnTl8c/8jul2S329iFBnDI9HGoeWWAZvuvOkZccgw==} dependencies: - '@sinonjs/commons': 3.0.0 + '@sinonjs/commons': 3.0.1 dev: true /@sinonjs/fake-timers@9.1.2: @@ -8858,653 +8907,396 @@ packages: resolution: {integrity: sha512-sXXKG+uL9IrKqViTtao2Ws6dy0znu9sOaP1di/jKGW1M6VssO8vlpXCQcpZ+jisQ1tTFAC5Jo/EOzFbggBagFQ==} dev: true - /@smithy/abort-controller@2.0.12: - resolution: {integrity: sha512-YIJyefe1mi3GxKdZxEBEuzYOeQ9xpYfqnFmWzojCssRAuR7ycxwpoRQgp965vuW426xUAQhCV5rCaWElQ7XsaA==} - engines: {node: '>=14.0.0'} - dependencies: - '@smithy/types': 2.9.1 - tslib: 2.6.2 - dev: false - - /@smithy/abort-controller@2.1.1: - resolution: {integrity: sha512-1+qdrUqLhaALYL0iOcN43EP6yAXXQ2wWZ6taf4S2pNGowmOc5gx+iMQv+E42JizNJjB0+gEadOXeV1Bf7JWL1Q==} + /@smithy/abort-controller@2.2.0: + resolution: {integrity: sha512-wRlta7GuLWpTqtFfGo+nZyOO1vEvewdNR1R4rTxpC8XU6vG/NDyrFBhwLZsqg1NUoR1noVaXJPC/7ZK47QCySw==} engines: {node: '>=14.0.0'} dependencies: - '@smithy/types': 2.9.1 - tslib: 2.6.2 + '@smithy/types': 2.12.0 + tslib: 2.6.3 dev: false - /@smithy/abort-controller@3.0.0: - resolution: {integrity: sha512-p6GlFGBt9K4MYLu72YuJ523NVR4A8oHlC5M2JO6OmQqN8kAc/uh1JqLE+FizTokrSJGg0CSvC+BrsmGzKtsZKA==} + /@smithy/abort-controller@3.1.0: + resolution: {integrity: sha512-XOm4LkuC0PsK1sf2bBJLIlskn5ghmVxiEBVlo/jg0R8hxASBKYYgOoJEhKWgOr4vWGkN+5rC+oyBAqHYtxjnwQ==} engines: {node: '>=16.0.0'} dependencies: - '@smithy/types': 3.0.0 - tslib: 2.6.2 + '@smithy/types': 3.2.0 + tslib: 2.6.3 dev: false /@smithy/chunked-blob-reader-native@3.0.0: resolution: {integrity: sha512-VDkpCYW+peSuM4zJip5WDfqvg2Mo/e8yxOv3VF1m11y7B8KKMKVFtmZWDe36Fvk8rGuWrPZHHXZ7rR7uM5yWyg==} dependencies: '@smithy/util-base64': 3.0.0 - tslib: 2.6.2 + tslib: 2.6.3 dev: false /@smithy/chunked-blob-reader@3.0.0: resolution: {integrity: sha512-sbnURCwjF0gSToGlsBiAmd1lRCmSn72nu9axfJu5lIx6RUEgHu6GwTMbqCdhQSi0Pumcm5vFxsi9XWXb2mTaoA==} dependencies: - tslib: 2.6.2 - dev: false - - /@smithy/config-resolver@2.1.1: - resolution: {integrity: sha512-lxfLDpZm+AWAHPFZps5JfDoO9Ux1764fOgvRUBpHIO8HWHcSN1dkgsago1qLRVgm1BZ8RCm8cgv99QvtaOWIhw==} - engines: {node: '>=14.0.0'} - dependencies: - '@smithy/node-config-provider': 2.2.1 - '@smithy/types': 2.9.1 - '@smithy/util-config-provider': 2.2.1 - '@smithy/util-middleware': 2.1.1 - tslib: 2.6.2 + tslib: 2.6.3 dev: false - /@smithy/config-resolver@3.0.0: - resolution: {integrity: sha512-2GzOfADwYLQugYkKQhIyZyQlM05K+tMKvRnc6eFfZcpJGRfKoMUMYdPlBKmqHwQFXQKBrGV6cxL9oymWgDzvFw==} + /@smithy/config-resolver@3.0.3: + resolution: {integrity: sha512-4wHqCMkdfVDP4qmr4fVPYOFOH+vKhOv3X4e6KEU9wIC8xXUQ24tnF4CW+sddGDX1zU86GGyQ7A+rg2xmUD6jpQ==} engines: {node: '>=16.0.0'} dependencies: - '@smithy/node-config-provider': 3.0.0 - '@smithy/types': 3.0.0 + '@smithy/node-config-provider': 3.1.2 + '@smithy/types': 3.2.0 '@smithy/util-config-provider': 3.0.0 - '@smithy/util-middleware': 3.0.0 - tslib: 2.6.2 + '@smithy/util-middleware': 3.0.2 + tslib: 2.6.3 dev: false - /@smithy/core@1.3.1: - resolution: {integrity: sha512-tf+NIu9FkOh312b6M9G4D68is4Xr7qptzaZGZUREELF8ysE1yLKphqt7nsomjKZVwW7WE5pDDex9idowNGRQ/Q==} - engines: {node: '>=14.0.0'} - dependencies: - '@smithy/middleware-endpoint': 2.4.1 - '@smithy/middleware-retry': 2.1.1 - '@smithy/middleware-serde': 2.1.1 - '@smithy/protocol-http': 3.1.1 - '@smithy/smithy-client': 2.3.1 - '@smithy/types': 2.9.1 - '@smithy/util-middleware': 2.1.1 - tslib: 2.6.2 - dev: false - - /@smithy/core@2.0.1: - resolution: {integrity: sha512-rcMkjvwxH/bER+oZUPR0yTA0ELD6m3A+d92+CFkdF6HJFCBB1bXo7P5pm21L66XwTN01B6bUhSCQ7cymWRD8zg==} + /@smithy/core@2.2.3: + resolution: {integrity: sha512-SpyLOL2vgE6sUYM6nQfu82OirCPkCDKctyG3aMgjMlDPTJpUlmlNH0ttu9ZWwzEjrzzr8uABmPjJTRI7gk1HFQ==} engines: {node: '>=16.0.0'} dependencies: - '@smithy/middleware-endpoint': 3.0.0 - '@smithy/middleware-retry': 3.0.1 - '@smithy/middleware-serde': 3.0.0 - '@smithy/protocol-http': 4.0.0 - '@smithy/smithy-client': 3.0.1 - '@smithy/types': 3.0.0 - '@smithy/util-middleware': 3.0.0 - tslib: 2.6.2 - dev: false - - /@smithy/credential-provider-imds@2.2.1: - resolution: {integrity: sha512-7XHjZUxmZYnONheVQL7j5zvZXga+EWNgwEAP6OPZTi7l8J4JTeNh9aIOfE5fKHZ/ee2IeNOh54ZrSna+Vc6TFA==} - engines: {node: '>=14.0.0'} - dependencies: - '@smithy/node-config-provider': 2.2.1 - '@smithy/property-provider': 2.1.1 - '@smithy/types': 2.9.1 - '@smithy/url-parser': 2.1.1 - tslib: 2.6.2 + '@smithy/middleware-endpoint': 3.0.3 + '@smithy/middleware-retry': 3.0.6 + '@smithy/middleware-serde': 3.0.2 + '@smithy/protocol-http': 4.0.2 + '@smithy/smithy-client': 3.1.4 + '@smithy/types': 3.2.0 + '@smithy/util-middleware': 3.0.2 + tslib: 2.6.3 dev: false - /@smithy/credential-provider-imds@3.0.0: - resolution: {integrity: sha512-lfmBiFQcA3FsDAPxNfY0L7CawcWtbyWsBOHo34nF095728JLkBX4Y9q/VPPE2r7fqMVK+drmDigqE2/SSQeVRA==} + /@smithy/credential-provider-imds@3.1.2: + resolution: {integrity: sha512-gqVmUaNoeqyrOAjgZg+rTmFLsphh/vS59LCMdFfVpthVS0jbfBzvBmEPktBd+y9ME4DYMGHFAMSYJDK8q0noOQ==} engines: {node: '>=16.0.0'} dependencies: - '@smithy/node-config-provider': 3.0.0 - '@smithy/property-provider': 3.0.0 - '@smithy/types': 3.0.0 - '@smithy/url-parser': 3.0.0 - tslib: 2.6.2 + '@smithy/node-config-provider': 3.1.2 + '@smithy/property-provider': 3.1.2 + '@smithy/types': 3.2.0 + '@smithy/url-parser': 3.0.2 + tslib: 2.6.3 dev: false - /@smithy/eventstream-codec@2.1.1: - resolution: {integrity: sha512-E8KYBxBIuU4c+zrpR22VsVrOPoEDzk35bQR3E+xm4k6Pa6JqzkDOdMyf9Atac5GPNKHJBdVaQ4JtjdWX2rl/nw==} + /@smithy/eventstream-codec@3.1.1: + resolution: {integrity: sha512-s29NxV/ng1KXn6wPQ4qzJuQDjEtxLdS0+g5PQFirIeIZrp66FXVJ5IpZRowbt/42zB5dY8TqJ0G0L9KkgtsEZg==} dependencies: - '@aws-crypto/crc32': 3.0.0 - '@smithy/types': 2.9.1 - '@smithy/util-hex-encoding': 2.1.1 - tslib: 2.6.2 - dev: false - - /@smithy/eventstream-codec@3.0.0: - resolution: {integrity: sha512-PUtyEA0Oik50SaEFCZ0WPVtF9tz/teze2fDptW6WRXl+RrEenH8UbEjudOz8iakiMl3lE3lCVqYf2Y+znL8QFQ==} - dependencies: - '@aws-crypto/crc32': 3.0.0 - '@smithy/types': 3.0.0 + '@aws-crypto/crc32': 5.2.0 + '@smithy/types': 3.2.0 '@smithy/util-hex-encoding': 3.0.0 - tslib: 2.6.2 + tslib: 2.6.3 dev: false - /@smithy/eventstream-serde-browser@3.0.0: - resolution: {integrity: sha512-NB7AFiPN4NxP/YCAnrvYR18z2/ZsiHiF7VtG30gshO9GbFrIb1rC8ep4NGpJSWrz6P64uhPXeo4M0UsCLnZKqw==} + /@smithy/eventstream-serde-browser@3.0.3: + resolution: {integrity: sha512-ZXKmNAHl6SWKYuVmtoEc/hBQ7Nym/rbAx2SrqoJHn0i9QopIP7fG1AWmoFIeS5R3/VL6AwUIZMR0g8qnjjVRRA==} engines: {node: '>=16.0.0'} dependencies: - '@smithy/eventstream-serde-universal': 3.0.0 - '@smithy/types': 3.0.0 - tslib: 2.6.2 + '@smithy/eventstream-serde-universal': 3.0.3 + '@smithy/types': 3.2.0 + tslib: 2.6.3 dev: false - /@smithy/eventstream-serde-config-resolver@3.0.0: - resolution: {integrity: sha512-RUQG3vQ3LX7peqqHAbmayhgrF5aTilPnazinaSGF1P0+tgM3vvIRWPHmlLIz2qFqB9LqFIxditxc8O2Z6psrRw==} + /@smithy/eventstream-serde-config-resolver@3.0.2: + resolution: {integrity: sha512-QbE3asvvBUZr7PwbOaxkSfKDjTAmWZkqh2G7pkYlD4jRkT1Y9nufeyu0OBPlLoF4+gl3YMpSVO7TESe8bVkD+g==} engines: {node: '>=16.0.0'} dependencies: - '@smithy/types': 3.0.0 - tslib: 2.6.2 + '@smithy/types': 3.2.0 + tslib: 2.6.3 dev: false - /@smithy/eventstream-serde-node@3.0.0: - resolution: {integrity: sha512-baRPdMBDMBExZXIUAoPGm/hntixjt/VFpU6+VmCyiYJYzRHRxoaI1MN+5XE+hIS8AJ2GCHLMFEIOLzq9xx1EgQ==} + /@smithy/eventstream-serde-node@3.0.3: + resolution: {integrity: sha512-v61Ftn7x/ubWFqH7GHFAL/RaU7QZImTbuV95DYugYYItzpO7KaHYEuO8EskCaBpZEfzOxhUGKm4teS9YUSt69Q==} engines: {node: '>=16.0.0'} dependencies: - '@smithy/eventstream-serde-universal': 3.0.0 - '@smithy/types': 3.0.0 - tslib: 2.6.2 + '@smithy/eventstream-serde-universal': 3.0.3 + '@smithy/types': 3.2.0 + tslib: 2.6.3 dev: false - /@smithy/eventstream-serde-universal@3.0.0: - resolution: {integrity: sha512-HNFfShmotWGeAoW4ujP8meV9BZavcpmerDbPIjkJbxKbN8RsUcpRQ/2OyIxWNxXNH2GWCAxuSB7ynmIGJlQ3Dw==} + /@smithy/eventstream-serde-universal@3.0.3: + resolution: {integrity: sha512-YXYt3Cjhu9tRrahbTec2uOjwOSeCNfQurcWPGNEUspBhqHoA3KrDrVj+jGbCLWvwkwhzqDnnaeHAxm+IxAjOAQ==} engines: {node: '>=16.0.0'} dependencies: - '@smithy/eventstream-codec': 3.0.0 - '@smithy/types': 3.0.0 - tslib: 2.6.2 - dev: false - - /@smithy/fetch-http-handler@2.2.4: - resolution: {integrity: sha512-gIPRFEGi+c6V52eauGKrjDzPWF2Cu7Z1r5F8A3j2wcwz25sPG/t8kjsbEhli/tS/2zJp/ybCZXe4j4ro3yv/HA==} - dependencies: - '@smithy/protocol-http': 3.0.8 - '@smithy/querystring-builder': 2.0.12 - '@smithy/types': 2.4.0 - '@smithy/util-base64': 2.0.0 - tslib: 2.6.2 + '@smithy/eventstream-codec': 3.1.1 + '@smithy/types': 3.2.0 + tslib: 2.6.3 dev: false - /@smithy/fetch-http-handler@2.4.1: - resolution: {integrity: sha512-VYGLinPsFqH68lxfRhjQaSkjXM7JysUOJDTNjHBuN/ykyRb2f1gyavN9+VhhPTWCy32L4yZ2fdhpCs/nStEicg==} + /@smithy/fetch-http-handler@2.5.0: + resolution: {integrity: sha512-BOWEBeppWhLn/no/JxUL/ghTfANTjT7kg3Ww2rPqTUY9R4yHPXxJ9JhMe3Z03LN3aPwiwlpDIUcVw1xDyHqEhw==} dependencies: - '@smithy/protocol-http': 3.1.1 - '@smithy/querystring-builder': 2.1.1 - '@smithy/types': 2.9.1 - '@smithy/util-base64': 2.1.1 - tslib: 2.6.2 + '@smithy/protocol-http': 3.3.0 + '@smithy/querystring-builder': 2.2.0 + '@smithy/types': 2.12.0 + '@smithy/util-base64': 2.3.0 + tslib: 2.6.3 dev: false - /@smithy/fetch-http-handler@3.0.1: - resolution: {integrity: sha512-uaH74i5BDj+rBwoQaXioKpI0SHBJFtOVwzrCpxZxphOW0ki5jhj7dXvDMYM2IJem8TpdFvS2iC08sjOblfFGFg==} + /@smithy/fetch-http-handler@3.1.0: + resolution: {integrity: sha512-s7oQjEOUH9TYjctpITtWF4qxOdg7pBrP9eigEQ8SBsxF3dRFV0S28pGMllC83DUr7ECmErhO/BUwnULfoNhKgQ==} dependencies: - '@smithy/protocol-http': 4.0.0 - '@smithy/querystring-builder': 3.0.0 - '@smithy/types': 3.0.0 + '@smithy/protocol-http': 4.0.2 + '@smithy/querystring-builder': 3.0.2 + '@smithy/types': 3.2.0 '@smithy/util-base64': 3.0.0 - tslib: 2.6.2 + tslib: 2.6.3 dev: false - /@smithy/hash-blob-browser@3.0.0: - resolution: {integrity: sha512-/Wbpdg+bwJvW7lxR/zpWAc1/x/YkcqguuF2bAzkJrvXriZu1vm8r+PUdE4syiVwQg7PPR2dXpi3CLBb9qRDaVQ==} + /@smithy/hash-blob-browser@3.1.1: + resolution: {integrity: sha512-8RwdPG7arvL5pfMAFsH6jfBVcC7MDR1LYHjKevZPHREkVtORIQkRfm2K8px7giJt7x0zzQJnWamrsDM4ig8nTQ==} dependencies: '@smithy/chunked-blob-reader': 3.0.0 '@smithy/chunked-blob-reader-native': 3.0.0 - '@smithy/types': 3.0.0 - tslib: 2.6.2 + '@smithy/types': 3.2.0 + tslib: 2.6.3 dev: false - /@smithy/hash-node@2.1.1: - resolution: {integrity: sha512-Qhoq0N8f2OtCnvUpCf+g1vSyhYQrZjhSwvJ9qvR8BUGOtTXiyv2x1OD2e6jVGmlpC4E4ax1USHoyGfV9JFsACg==} - engines: {node: '>=14.0.0'} - dependencies: - '@smithy/types': 2.9.1 - '@smithy/util-buffer-from': 2.1.1 - '@smithy/util-utf8': 2.1.1 - tslib: 2.6.2 - dev: false - - /@smithy/hash-node@3.0.0: - resolution: {integrity: sha512-84qXstNemP3XS5jcof0el6+bDfjzuvhJPQTEfro3lgtbCtKgzPm3MgiS6ehXVPjeQ5+JS0HqmTz8f/RYfzHVxw==} + /@smithy/hash-node@3.0.2: + resolution: {integrity: sha512-43uGA6o6QJQdXwAogybdTDHDd3SCdKyoiHIHb8PpdE2rKmVicjG9b1UgVwdgO8QPytmVqHFaUw27M3LZKwu8Yg==} engines: {node: '>=16.0.0'} dependencies: - '@smithy/types': 3.0.0 + '@smithy/types': 3.2.0 '@smithy/util-buffer-from': 3.0.0 '@smithy/util-utf8': 3.0.0 - tslib: 2.6.2 + tslib: 2.6.3 dev: false - /@smithy/hash-stream-node@3.0.0: - resolution: {integrity: sha512-J0i7de+EgXDEGITD4fxzmMX8CyCNETTIRXlxjMiNUvvu76Xn3GJ31wQR85ynlPk2wI1lqoknAFJaD1fiNDlbIA==} + /@smithy/hash-stream-node@3.1.1: + resolution: {integrity: sha512-+uvJHPrFNE9crkh3INVS9FmDcx1DoywDgIzlRWlPy7gqoD8jG14os9ATIFY7wN/ARPz1EWlkCHUap70oXxMmjA==} engines: {node: '>=16.0.0'} dependencies: - '@smithy/types': 3.0.0 + '@smithy/types': 3.2.0 '@smithy/util-utf8': 3.0.0 - tslib: 2.6.2 + tslib: 2.6.3 dev: false - /@smithy/invalid-dependency@2.1.1: - resolution: {integrity: sha512-7WTgnKw+VPg8fxu2v9AlNOQ5yaz6RA54zOVB4f6vQuR0xFKd+RzlCpt0WidYTsye7F+FYDIaS/RnJW4pxjNInw==} - dependencies: - '@smithy/types': 2.9.1 - tslib: 2.6.2 - dev: false - - /@smithy/invalid-dependency@3.0.0: - resolution: {integrity: sha512-F6wBBaEFgJzj0s4KUlliIGPmqXemwP6EavgvDqYwCH40O5Xr2iMHvS8todmGVZtuJCorBkXsYLyTu4PuizVq5g==} - dependencies: - '@smithy/types': 3.0.0 - tslib: 2.6.2 - dev: false - - /@smithy/is-array-buffer@2.0.0: - resolution: {integrity: sha512-z3PjFjMyZNI98JFRJi/U0nGoLWMSJlDjAW4QUX2WNZLas5C0CmVV6LJ01JI0k90l7FvpmixjWxPFmENSClQ7ug==} - engines: {node: '>=14.0.0'} + /@smithy/invalid-dependency@3.0.2: + resolution: {integrity: sha512-+BAY3fMhomtq470tswXyrdVBSUhiLuhBVT+rOmpbz5e04YX+s1dX4NxTLzZGwBjCpeWZNtTxP8zbIvvFk81gUg==} dependencies: - tslib: 2.6.2 + '@smithy/types': 3.2.0 + tslib: 2.6.3 dev: false - /@smithy/is-array-buffer@2.1.1: - resolution: {integrity: sha512-xozSQrcUinPpNPNPds4S7z/FakDTh1MZWtRP/2vQtYB/u3HYrX2UXuZs+VhaKBd6Vc7g2XPr2ZtwGBNDN6fNKQ==} + /@smithy/is-array-buffer@2.2.0: + resolution: {integrity: sha512-GGP3O9QFD24uGeAXYUjwSTXARoqpZykHadOmA8G5vfJPK0/DC67qa//0qvqrJzL1xc8WQWX7/yc7fwudjPHPhA==} engines: {node: '>=14.0.0'} dependencies: - tslib: 2.6.2 + tslib: 2.6.3 dev: false /@smithy/is-array-buffer@3.0.0: resolution: {integrity: sha512-+Fsu6Q6C4RSJiy81Y8eApjEB5gVtM+oFKTffg+jSuwtvomJJrhUJBu2zS8wjXSgH/g1MKEWrzyChTBe6clb5FQ==} engines: {node: '>=16.0.0'} dependencies: - tslib: 2.6.2 + tslib: 2.6.3 dev: false - /@smithy/md5-js@3.0.0: - resolution: {integrity: sha512-Tm0vrrVzjlD+6RCQTx7D3Ls58S3FUH1ZCtU1MIh/qQmaOo1H9lMN2as6CikcEwgattnA9SURSdoJJ27xMcEfMA==} + /@smithy/md5-js@3.0.2: + resolution: {integrity: sha512-WlSK9br7fkVucTkCXporwuOttCR3cJ1GV70J8ENYXGNc0nUTPzMdWCyHztgnbbKoekVMjGZOEu+8I52nOdzqwQ==} dependencies: - '@smithy/types': 3.0.0 + '@smithy/types': 3.2.0 '@smithy/util-utf8': 3.0.0 - tslib: 2.6.2 + tslib: 2.6.3 dev: false - /@smithy/middleware-content-length@2.1.1: - resolution: {integrity: sha512-rSr9ezUl9qMgiJR0UVtVOGEZElMdGFyl8FzWEF5iEKTlcWxGr2wTqGfDwtH3LAB7h+FPkxqv4ZU4cpuCN9Kf/g==} - engines: {node: '>=14.0.0'} - dependencies: - '@smithy/protocol-http': 3.1.1 - '@smithy/types': 2.9.1 - tslib: 2.6.2 - dev: false - - /@smithy/middleware-content-length@3.0.0: - resolution: {integrity: sha512-3C4s4d/iGobgCtk2tnWW6+zSTOBg1PRAm2vtWZLdriwTroFbbWNSr3lcyzHdrQHnEXYCC5K52EbpfodaIUY8sg==} + /@smithy/middleware-content-length@3.0.2: + resolution: {integrity: sha512-/Havz3PkYIEmwpqkyRTR21yJsWnFbD1ec4H1pUL+TkDnE7RCQkAVUQepLL/UeCaZeCBXvfdoKbOjSbV01xIinQ==} engines: {node: '>=16.0.0'} dependencies: - '@smithy/protocol-http': 4.0.0 - '@smithy/types': 3.0.0 - tslib: 2.6.2 + '@smithy/protocol-http': 4.0.2 + '@smithy/types': 3.2.0 + tslib: 2.6.3 dev: false - /@smithy/middleware-endpoint@2.4.1: - resolution: {integrity: sha512-XPZTb1E2Oav60Ven3n2PFx+rX9EDsU/jSTA8VDamt7FXks67ekjPY/XrmmPDQaFJOTUHJNKjd8+kZxVO5Ael4Q==} - engines: {node: '>=14.0.0'} - dependencies: - '@smithy/middleware-serde': 2.1.1 - '@smithy/node-config-provider': 2.2.1 - '@smithy/shared-ini-file-loader': 2.3.1 - '@smithy/types': 2.9.1 - '@smithy/url-parser': 2.1.1 - '@smithy/util-middleware': 2.1.1 - tslib: 2.6.2 - dev: false - - /@smithy/middleware-endpoint@3.0.0: - resolution: {integrity: sha512-aXOAWztw/5qAfp0NcA2OWpv6ZI/E+Dh9mByif7i91D/0iyYNUcKvskmXiowKESFkuZ7PIMd3VOR4fTibZDs2OQ==} + /@smithy/middleware-endpoint@3.0.3: + resolution: {integrity: sha512-ARAXHodhj4tttKa9y75zvENdSoHq6VGsSi7XS3+yLutrnxttJs6N10UMInCC1yi3/bopT8xug3iOP/y9R6sKJQ==} engines: {node: '>=16.0.0'} dependencies: - '@smithy/middleware-serde': 3.0.0 - '@smithy/node-config-provider': 3.0.0 - '@smithy/shared-ini-file-loader': 3.0.0 - '@smithy/types': 3.0.0 - '@smithy/url-parser': 3.0.0 - '@smithy/util-middleware': 3.0.0 - tslib: 2.6.2 - dev: false - - /@smithy/middleware-retry@2.1.1: - resolution: {integrity: sha512-eMIHOBTXro6JZ+WWzZWd/8fS8ht5nS5KDQjzhNMHNRcG5FkNTqcKpYhw7TETMYzbLfhO5FYghHy1vqDWM4FLDA==} - engines: {node: '>=14.0.0'} - dependencies: - '@smithy/node-config-provider': 2.2.1 - '@smithy/protocol-http': 3.1.1 - '@smithy/service-error-classification': 2.1.1 - '@smithy/smithy-client': 2.3.1 - '@smithy/types': 2.9.1 - '@smithy/util-middleware': 2.1.1 - '@smithy/util-retry': 2.1.1 - tslib: 2.6.2 - uuid: 8.3.2 + '@smithy/middleware-serde': 3.0.2 + '@smithy/node-config-provider': 3.1.2 + '@smithy/shared-ini-file-loader': 3.1.2 + '@smithy/types': 3.2.0 + '@smithy/url-parser': 3.0.2 + '@smithy/util-middleware': 3.0.2 + tslib: 2.6.3 dev: false - /@smithy/middleware-retry@3.0.1: - resolution: {integrity: sha512-hBhSEuL841FhJBK/19WpaGk5YWSzFk/P2UaVjANGKRv3eYNO8Y1lANWgqnuPWjOyCEWMPr58vELFDWpxvRKANw==} + /@smithy/middleware-retry@3.0.6: + resolution: {integrity: sha512-ICsFKp8eAyIMmxN5UT3IU37S6886L879TKtgxPsn/VD/laYNwqTLmJaCAn5//+2fRIrV0dnHp6LFlMwdXlWoUQ==} engines: {node: '>=16.0.0'} dependencies: - '@smithy/node-config-provider': 3.0.0 - '@smithy/protocol-http': 4.0.0 - '@smithy/service-error-classification': 3.0.0 - '@smithy/smithy-client': 3.0.1 - '@smithy/types': 3.0.0 - '@smithy/util-middleware': 3.0.0 - '@smithy/util-retry': 3.0.0 - tslib: 2.6.2 + '@smithy/node-config-provider': 3.1.2 + '@smithy/protocol-http': 4.0.2 + '@smithy/service-error-classification': 3.0.2 + '@smithy/smithy-client': 3.1.4 + '@smithy/types': 3.2.0 + '@smithy/util-middleware': 3.0.2 + '@smithy/util-retry': 3.0.2 + tslib: 2.6.3 uuid: 9.0.1 dev: false - /@smithy/middleware-serde@2.1.1: - resolution: {integrity: sha512-D8Gq0aQBeE1pxf3cjWVkRr2W54t+cdM2zx78tNrVhqrDykRA7asq8yVJij1u5NDtKzKqzBSPYh7iW0svUKg76g==} - engines: {node: '>=14.0.0'} - dependencies: - '@smithy/types': 2.9.1 - tslib: 2.6.2 - dev: false - - /@smithy/middleware-serde@3.0.0: - resolution: {integrity: sha512-I1vKG1foI+oPgG9r7IMY1S+xBnmAn1ISqployvqkwHoSb8VPsngHDTOgYGYBonuOKndaWRUGJZrKYYLB+Ane6w==} + /@smithy/middleware-serde@3.0.2: + resolution: {integrity: sha512-oT2abV5zLhBucJe1LIIFEcRgIBDbZpziuMPswTMbBQNcaEUycLFvX63zsFmqfwG+/ZQKsNx+BSE8W51CMuK7Yw==} engines: {node: '>=16.0.0'} dependencies: - '@smithy/types': 3.0.0 - tslib: 2.6.2 + '@smithy/types': 3.2.0 + tslib: 2.6.3 dev: false - /@smithy/middleware-stack@2.1.1: - resolution: {integrity: sha512-KPJhRlhsl8CjgGXK/DoDcrFGfAqoqvuwlbxy+uOO4g2Azn1dhH+GVfC3RAp+6PoL5PWPb+vt6Z23FP+Mr6qeCw==} - engines: {node: '>=14.0.0'} - dependencies: - '@smithy/types': 2.9.1 - tslib: 2.6.2 - dev: false - - /@smithy/middleware-stack@3.0.0: - resolution: {integrity: sha512-+H0jmyfAyHRFXm6wunskuNAqtj7yfmwFB6Fp37enytp2q047/Od9xetEaUbluyImOlGnGpaVGaVfjwawSr+i6Q==} + /@smithy/middleware-stack@3.0.2: + resolution: {integrity: sha512-6fRcxomlNKBPIy/YjcnC7YHpMAjRvGUYlYVJAfELqZjkW0vQegNcImjY7T1HgYA6u3pAcCxKVBLYnkTw8z/l0A==} engines: {node: '>=16.0.0'} dependencies: - '@smithy/types': 3.0.0 - tslib: 2.6.2 - dev: false - - /@smithy/node-config-provider@2.2.1: - resolution: {integrity: sha512-epzK3x1xNxA9oJgHQ5nz+2j6DsJKdHfieb+YgJ7ATWxzNcB7Hc+Uya2TUck5MicOPhDV8HZImND7ZOecVr+OWg==} - engines: {node: '>=14.0.0'} - dependencies: - '@smithy/property-provider': 2.1.1 - '@smithy/shared-ini-file-loader': 2.3.1 - '@smithy/types': 2.9.1 - tslib: 2.6.2 + '@smithy/types': 3.2.0 + tslib: 2.6.3 dev: false - /@smithy/node-config-provider@3.0.0: - resolution: {integrity: sha512-buqfaSdDh0zo62EPLf8rGDvcpKwGpO5ho4bXS2cdFhlOta7tBkWJt+O5uiaAeICfIOfPclNOndshDNSanX2X9g==} + /@smithy/node-config-provider@3.1.2: + resolution: {integrity: sha512-388fEAa7+6ORj/BDC70peg3fyFBTTXJyXfXJ0Bwd6FYsRltePr2oGzIcm5AuC1WUSLtZ/dF+hYOnfTMs04rLvA==} engines: {node: '>=16.0.0'} dependencies: - '@smithy/property-provider': 3.0.0 - '@smithy/shared-ini-file-loader': 3.0.0 - '@smithy/types': 3.0.0 - tslib: 2.6.2 + '@smithy/property-provider': 3.1.2 + '@smithy/shared-ini-file-loader': 3.1.2 + '@smithy/types': 3.2.0 + tslib: 2.6.3 dev: false - /@smithy/node-http-handler@2.1.8: - resolution: {integrity: sha512-KZylM7Wff/So5SmCiwg2kQNXJ+RXgz34wkxS7WNwIUXuZrZZpY/jKJCK+ZaGyuESDu3TxcaY+zeYGJmnFKbQsA==} + /@smithy/node-http-handler@2.5.0: + resolution: {integrity: sha512-mVGyPBzkkGQsPoxQUbxlEfRjrj6FPyA3u3u2VXGr9hT8wilsoQdZdvKpMBFMB8Crfhv5dNkKHIW0Yyuc7eABqA==} engines: {node: '>=14.0.0'} dependencies: - '@smithy/abort-controller': 2.0.12 - '@smithy/protocol-http': 3.0.8 - '@smithy/querystring-builder': 2.0.12 - '@smithy/types': 2.4.0 - tslib: 2.6.2 + '@smithy/abort-controller': 2.2.0 + '@smithy/protocol-http': 3.3.0 + '@smithy/querystring-builder': 2.2.0 + '@smithy/types': 2.12.0 + tslib: 2.6.3 dev: false - /@smithy/node-http-handler@2.3.1: - resolution: {integrity: sha512-gLA8qK2nL9J0Rk/WEZSvgin4AppvuCYRYg61dcUo/uKxvMZsMInL5I5ZdJTogOvdfVug3N2dgI5ffcUfS4S9PA==} - engines: {node: '>=14.0.0'} - dependencies: - '@smithy/abort-controller': 2.1.1 - '@smithy/protocol-http': 3.1.1 - '@smithy/querystring-builder': 2.1.1 - '@smithy/types': 2.9.1 - tslib: 2.6.2 - dev: false - - /@smithy/node-http-handler@3.0.0: - resolution: {integrity: sha512-3trD4r7NOMygwLbUJo4eodyQuypAWr7uvPnebNJ9a70dQhVn+US8j/lCnvoJS6BXfZeF7PkkkI0DemVJw+n+eQ==} + /@smithy/node-http-handler@3.1.0: + resolution: {integrity: sha512-pOpgB6B+VLXLwAyyvRz+ZAVXABlbAsJ2xvn3WZvrppAPImxwQOPFbeSUzWYMhpC8Tr7yQ3R8fG990QDhskkf1Q==} engines: {node: '>=16.0.0'} dependencies: - '@smithy/abort-controller': 3.0.0 - '@smithy/protocol-http': 4.0.0 - '@smithy/querystring-builder': 3.0.0 - '@smithy/types': 3.0.0 - tslib: 2.6.2 - dev: false - - /@smithy/property-provider@2.1.1: - resolution: {integrity: sha512-FX7JhhD/o5HwSwg6GLK9zxrMUrGnb3PzNBrcthqHKBc3dH0UfgEAU24xnJ8F0uow5mj17UeBEOI6o3CF2k7Mhw==} - engines: {node: '>=14.0.0'} - dependencies: - '@smithy/types': 2.9.1 - tslib: 2.6.2 + '@smithy/abort-controller': 3.1.0 + '@smithy/protocol-http': 4.0.2 + '@smithy/querystring-builder': 3.0.2 + '@smithy/types': 3.2.0 + tslib: 2.6.3 dev: false - /@smithy/property-provider@3.0.0: - resolution: {integrity: sha512-LmbPgHBswdXCrkWWuUwBm9w72S2iLWyC/5jet9/Y9cGHtzqxi+GVjfCfahkvNV4KXEwgnH8EMpcrD9RUYe0eLQ==} + /@smithy/property-provider@3.1.2: + resolution: {integrity: sha512-Hzp32BpeFFexBpO1z+ts8okbq/VLzJBadxanJAo/Wf2CmvXMBp6Q/TLWr7Js6IbMEcr0pDZ02V3u1XZkuQUJaA==} engines: {node: '>=16.0.0'} dependencies: - '@smithy/types': 3.0.0 - tslib: 2.6.2 + '@smithy/types': 3.2.0 + tslib: 2.6.3 dev: false - /@smithy/protocol-http@3.0.8: - resolution: {integrity: sha512-SHJvYeWq8q0FK8xHk+xjV9dzDUDjFMT+G1pZbV+XB6OVoac/FSVshlMNPeUJ8AmSkcDKHRu5vASnRqZHgD3qhw==} + /@smithy/protocol-http@3.3.0: + resolution: {integrity: sha512-Xy5XK1AFWW2nlY/biWZXu6/krgbaf2dg0q492D8M5qthsnU2H+UgFeZLbM76FnH7s6RO/xhQRkj+T6KBO3JzgQ==} engines: {node: '>=14.0.0'} dependencies: - '@smithy/types': 2.4.0 - tslib: 2.6.2 + '@smithy/types': 2.12.0 + tslib: 2.6.3 dev: false - /@smithy/protocol-http@3.1.1: - resolution: {integrity: sha512-6ZRTSsaXuSL9++qEwH851hJjUA0OgXdQFCs+VDw4tGH256jQ3TjYY/i34N4vd24RV3nrjNsgd1yhb57uMoKbzQ==} - engines: {node: '>=14.0.0'} - dependencies: - '@smithy/types': 2.9.1 - tslib: 2.6.2 - dev: false - - /@smithy/protocol-http@4.0.0: - resolution: {integrity: sha512-qOQZOEI2XLWRWBO9AgIYuHuqjZ2csyr8/IlgFDHDNuIgLAMRx2Bl8ck5U5D6Vh9DPdoaVpuzwWMa0xcdL4O/AQ==} + /@smithy/protocol-http@4.0.2: + resolution: {integrity: sha512-X/90xNWIOqSR2tLUyWxVIBdatpm35DrL44rI/xoeBWUuanE0iyCXJpTcnqlOpnEzgcu0xCKE06+g70TTu2j7RQ==} engines: {node: '>=16.0.0'} dependencies: - '@smithy/types': 3.0.0 - tslib: 2.6.2 + '@smithy/types': 3.2.0 + tslib: 2.6.3 dev: false - /@smithy/querystring-builder@2.0.12: - resolution: {integrity: sha512-cDbF07IuCjiN8CdGvPzfJjXIrmDSelScRfyJYrYBNBbKl2+k7QD/KqiHhtRyEKgID5mmEVrV6KE6L/iPJ98sFw==} + /@smithy/querystring-builder@2.2.0: + resolution: {integrity: sha512-L1kSeviUWL+emq3CUVSgdogoM/D9QMFaqxL/dd0X7PCNWmPXqt+ExtrBjqT0V7HLN03Vs9SuiLrG3zy3JGnE5A==} engines: {node: '>=14.0.0'} dependencies: - '@smithy/types': 2.9.1 - '@smithy/util-uri-escape': 2.1.1 - tslib: 2.6.2 + '@smithy/types': 2.12.0 + '@smithy/util-uri-escape': 2.2.0 + tslib: 2.6.3 dev: false - /@smithy/querystring-builder@2.1.1: - resolution: {integrity: sha512-C/ko/CeEa8jdYE4gt6nHO5XDrlSJ3vdCG0ZAc6nD5ZIE7LBp0jCx4qoqp7eoutBu7VrGMXERSRoPqwi1WjCPbg==} - engines: {node: '>=14.0.0'} - dependencies: - '@smithy/types': 2.9.1 - '@smithy/util-uri-escape': 2.1.1 - tslib: 2.6.2 - dev: false - - /@smithy/querystring-builder@3.0.0: - resolution: {integrity: sha512-bW8Fi0NzyfkE0TmQphDXr1AmBDbK01cA4C1Z7ggwMAU5RDz5AAv/KmoRwzQAS0kxXNf/D2ALTEgwK0U2c4LtRg==} + /@smithy/querystring-builder@3.0.2: + resolution: {integrity: sha512-xhv1+HacDYsOLdNt7zW+8Fe779KYAzmWvzs9bC5NlKM8QGYCwwuFwDBynhlU4D5twgi2pZ14Lm4h6RiAazCtmA==} engines: {node: '>=16.0.0'} dependencies: - '@smithy/types': 3.0.0 + '@smithy/types': 3.2.0 '@smithy/util-uri-escape': 3.0.0 - tslib: 2.6.2 - dev: false - - /@smithy/querystring-parser@2.1.1: - resolution: {integrity: sha512-H4+6jKGVhG1W4CIxfBaSsbm98lOO88tpDWmZLgkJpt8Zkk/+uG0FmmqMuCAc3HNM2ZDV+JbErxr0l5BcuIf/XQ==} - engines: {node: '>=14.0.0'} - dependencies: - '@smithy/types': 2.9.1 - tslib: 2.6.2 + tslib: 2.6.3 dev: false - /@smithy/querystring-parser@3.0.0: - resolution: {integrity: sha512-UzHwthk0UEccV4dHzPySnBy34AWw3V9lIqUTxmozQ+wPDAO9csCWMfOLe7V9A2agNYy7xE+Pb0S6K/J23JSzfQ==} + /@smithy/querystring-parser@3.0.2: + resolution: {integrity: sha512-C5hyRKgrZGPNh5QqIWzXnW+LXVrPmVQO0iJKjHeb5v3C61ZkP9QhrKmbfchcTyg/VnaE0tMNf/nmLpQlWuiqpg==} engines: {node: '>=16.0.0'} dependencies: - '@smithy/types': 3.0.0 - tslib: 2.6.2 - dev: false - - /@smithy/service-error-classification@2.1.1: - resolution: {integrity: sha512-txEdZxPUgM1PwGvDvHzqhXisrc5LlRWYCf2yyHfvITWioAKat7srQvpjMAvgzf0t6t7j8yHrryXU9xt7RZqFpw==} - engines: {node: '>=14.0.0'} - dependencies: - '@smithy/types': 2.9.1 + '@smithy/types': 3.2.0 + tslib: 2.6.3 dev: false - /@smithy/service-error-classification@3.0.0: - resolution: {integrity: sha512-3BsBtOUt2Gsnc3X23ew+r2M71WwtpHfEDGhHYHSDg6q1t8FrWh15jT25DLajFV1H+PpxAJ6gqe9yYeRUsmSdFA==} + /@smithy/service-error-classification@3.0.2: + resolution: {integrity: sha512-cu0WV2XRttItsuXlcM0kq5MKdphbMMmSd2CXF122dJ75NrFE0o7rruXFGfxAp3BKzgF/DMxX+PllIA/cj4FHMw==} engines: {node: '>=16.0.0'} dependencies: - '@smithy/types': 3.0.0 + '@smithy/types': 3.2.0 dev: false - /@smithy/shared-ini-file-loader@2.3.1: - resolution: {integrity: sha512-2E2kh24igmIznHLB6H05Na4OgIEilRu0oQpYXo3LCNRrawHAcfDKq9004zJs+sAMt2X5AbY87CUCJ7IpqpSgdw==} - engines: {node: '>=14.0.0'} - dependencies: - '@smithy/types': 2.9.1 - tslib: 2.6.2 - dev: false - - /@smithy/shared-ini-file-loader@3.0.0: - resolution: {integrity: sha512-REVw6XauXk8xE4zo5aGL7Rz4ywA8qNMUn8RtWeTRQsgAlmlvbJ7CEPBcaXU2NDC3AYBgYAXrGyWD8XrN8UGDog==} + /@smithy/shared-ini-file-loader@3.1.2: + resolution: {integrity: sha512-tgnXrXbLMO8vo6VeuqabMw/eTzQHlLmZx0TC0TjtjJghnD0Xl4pEnJtBjTJr6XF5fHMNrt5BcczDXHJT9yNQnA==} engines: {node: '>=16.0.0'} dependencies: - '@smithy/types': 3.0.0 - tslib: 2.6.2 - dev: false - - /@smithy/signature-v4@2.1.1: - resolution: {integrity: sha512-Hb7xub0NHuvvQD3YwDSdanBmYukoEkhqBjqoxo+bSdC0ryV9cTfgmNjuAQhTPYB6yeU7hTR+sPRiFMlxqv6kmg==} - engines: {node: '>=14.0.0'} - dependencies: - '@smithy/eventstream-codec': 2.1.1 - '@smithy/is-array-buffer': 2.1.1 - '@smithy/types': 2.9.1 - '@smithy/util-hex-encoding': 2.1.1 - '@smithy/util-middleware': 2.1.1 - '@smithy/util-uri-escape': 2.1.1 - '@smithy/util-utf8': 2.1.1 - tslib: 2.6.2 + '@smithy/types': 3.2.0 + tslib: 2.6.3 dev: false - /@smithy/signature-v4@3.0.0: - resolution: {integrity: sha512-kXFOkNX+BQHe2qnLxpMEaCRGap9J6tUGLzc3A9jdn+nD4JdMwCKTJ+zFwQ20GkY+mAXGatyTw3HcoUlR39HwmA==} + /@smithy/signature-v4@3.1.1: + resolution: {integrity: sha512-2/vlG86Sr489XX8TA/F+VDA+P04ESef04pSz0wRtlQBExcSPjqO08rvrkcas2zLnJ51i+7ukOURCkgqixBYjSQ==} engines: {node: '>=16.0.0'} dependencies: '@smithy/is-array-buffer': 3.0.0 - '@smithy/types': 3.0.0 + '@smithy/types': 3.2.0 '@smithy/util-hex-encoding': 3.0.0 - '@smithy/util-middleware': 3.0.0 + '@smithy/util-middleware': 3.0.2 '@smithy/util-uri-escape': 3.0.0 '@smithy/util-utf8': 3.0.0 - tslib: 2.6.2 - dev: false - - /@smithy/smithy-client@2.3.1: - resolution: {integrity: sha512-YsTdU8xVD64r2pLEwmltrNvZV6XIAC50LN6ivDopdt+YiF/jGH6PY9zUOu0CXD/d8GMB8gbhnpPsdrjAXHS9QA==} - engines: {node: '>=14.0.0'} - dependencies: - '@smithy/middleware-endpoint': 2.4.1 - '@smithy/middleware-stack': 2.1.1 - '@smithy/protocol-http': 3.1.1 - '@smithy/types': 2.9.1 - '@smithy/util-stream': 2.1.1 - tslib: 2.6.2 + tslib: 2.6.3 dev: false - /@smithy/smithy-client@3.0.1: - resolution: {integrity: sha512-KAiFY4Y4jdHxR+4zerH/VBhaFKM8pbaVmJZ/CWJRwtM/CmwzTfXfvYwf6GoUwiHepdv+lwiOXCuOl6UBDUEINw==} + /@smithy/smithy-client@3.1.4: + resolution: {integrity: sha512-y6xJROGrIoitjpwXLY7P9luDHvuT9jWpAluliuSFdBymFxcl6iyQjo9U/JhYfRHFNTruqsvKOrOESVuPGEcRmQ==} engines: {node: '>=16.0.0'} dependencies: - '@smithy/middleware-endpoint': 3.0.0 - '@smithy/middleware-stack': 3.0.0 - '@smithy/protocol-http': 4.0.0 - '@smithy/types': 3.0.0 - '@smithy/util-stream': 3.0.1 - tslib: 2.6.2 + '@smithy/middleware-endpoint': 3.0.3 + '@smithy/middleware-stack': 3.0.2 + '@smithy/protocol-http': 4.0.2 + '@smithy/types': 3.2.0 + '@smithy/util-stream': 3.0.4 + tslib: 2.6.3 dev: false - /@smithy/types@2.4.0: - resolution: {integrity: sha512-iH1Xz68FWlmBJ9vvYeHifVMWJf82ONx+OybPW8ZGf5wnEv2S0UXcU4zwlwJkRXuLKpcSLHrraHbn2ucdVXLb4g==} + /@smithy/types@2.12.0: + resolution: {integrity: sha512-QwYgloJ0sVNBeBuBs65cIkTbfzV/Q6ZNPCJ99EICFEdJYG50nGIY/uYXp+TbsdJReIuPr0a0kXmCvren3MbRRw==} engines: {node: '>=14.0.0'} dependencies: - tslib: 2.6.2 + tslib: 2.6.3 dev: false - /@smithy/types@2.9.1: - resolution: {integrity: sha512-vjXlKNXyprDYDuJ7UW5iobdmyDm6g8dDG+BFUncAg/3XJaN45Gy5RWWWUVgrzIK7S4R1KWgIX5LeJcfvSI24bw==} - engines: {node: '>=14.0.0'} - dependencies: - tslib: 2.6.2 - dev: false - - /@smithy/types@3.0.0: - resolution: {integrity: sha512-VvWuQk2RKFuOr98gFhjca7fkBS+xLLURT8bUjk5XQoV0ZLm7WPwWPPY3/AwzTLuUBDeoKDCthfe1AsTUWaSEhw==} + /@smithy/types@3.2.0: + resolution: {integrity: sha512-cKyeKAPazZRVqm7QPvcPD2jEIt2wqDPAL1KJKb0f/5I7uhollvsWZuZKLclmyP6a+Jwmr3OV3t+X0pZUUHS9BA==} engines: {node: '>=16.0.0'} dependencies: - tslib: 2.6.2 - dev: false - - /@smithy/url-parser@2.1.1: - resolution: {integrity: sha512-qC9Bv8f/vvFIEkHsiNrUKYNl8uKQnn4BdhXl7VzQRP774AwIjiSMMwkbT+L7Fk8W8rzYVifzJNYxv1HwvfBo3Q==} - dependencies: - '@smithy/querystring-parser': 2.1.1 - '@smithy/types': 2.9.1 - tslib: 2.6.2 - dev: false - - /@smithy/url-parser@3.0.0: - resolution: {integrity: sha512-2XLazFgUu+YOGHtWihB3FSLAfCUajVfNBXGGYjOaVKjLAuAxx3pSBY3hBgLzIgB17haf59gOG3imKqTy8mcrjw==} - dependencies: - '@smithy/querystring-parser': 3.0.0 - '@smithy/types': 3.0.0 - tslib: 2.6.2 + tslib: 2.6.3 dev: false - /@smithy/util-base64@2.0.0: - resolution: {integrity: sha512-Zb1E4xx+m5Lud8bbeYi5FkcMJMnn+1WUnJF3qD7rAdXpaL7UjkFQLdmW5fHadoKbdHpwH9vSR8EyTJFHJs++tA==} - engines: {node: '>=14.0.0'} + /@smithy/url-parser@3.0.2: + resolution: {integrity: sha512-pRiPHrgibeAr4avtXDoBHmTLtthwA4l8jKYRfZjNgp+bBPyxDMPRg2TMJaYxqbKemvrOkHu9MIBTv2RkdNfD6w==} dependencies: - '@smithy/util-buffer-from': 2.0.0 - tslib: 2.6.2 + '@smithy/querystring-parser': 3.0.2 + '@smithy/types': 3.2.0 + tslib: 2.6.3 dev: false - /@smithy/util-base64@2.1.1: - resolution: {integrity: sha512-UfHVpY7qfF/MrgndI5PexSKVTxSZIdz9InghTFa49QOvuu9I52zLPLUHXvHpNuMb1iD2vmc6R+zbv/bdMipR/g==} + /@smithy/util-base64@2.3.0: + resolution: {integrity: sha512-s3+eVwNeJuXUwuMbusncZNViuhv2LjVJ1nMwTqSA0XAC7gjKhqqxRdJPhR8+YrkoZ9IiIbFk/yK6ACe/xlF+hw==} engines: {node: '>=14.0.0'} dependencies: - '@smithy/util-buffer-from': 2.1.1 - tslib: 2.6.2 + '@smithy/util-buffer-from': 2.2.0 + '@smithy/util-utf8': 2.3.0 + tslib: 2.6.3 dev: false /@smithy/util-base64@3.0.0: @@ -9513,49 +9305,28 @@ packages: dependencies: '@smithy/util-buffer-from': 3.0.0 '@smithy/util-utf8': 3.0.0 - tslib: 2.6.2 - dev: false - - /@smithy/util-body-length-browser@2.1.1: - resolution: {integrity: sha512-ekOGBLvs1VS2d1zM2ER4JEeBWAvIOUKeaFch29UjjJsxmZ/f0L3K3x0dEETgh3Q9bkZNHgT+rkdl/J/VUqSRag==} - dependencies: - tslib: 2.6.2 + tslib: 2.6.3 dev: false /@smithy/util-body-length-browser@3.0.0: resolution: {integrity: sha512-cbjJs2A1mLYmqmyVl80uoLTJhAcfzMOyPgjwAYusWKMdLeNtzmMz9YxNl3/jRLoxSS3wkqkf0jwNdtXWtyEBaQ==} dependencies: - tslib: 2.6.2 - dev: false - - /@smithy/util-body-length-node@2.2.1: - resolution: {integrity: sha512-/ggJG+ta3IDtpNVq4ktmEUtOkH1LW64RHB5B0hcr5ZaWBmo96UX2cIOVbjCqqDickTXqBWZ4ZO0APuaPrD7Abg==} - engines: {node: '>=14.0.0'} - dependencies: - tslib: 2.6.2 + tslib: 2.6.3 dev: false /@smithy/util-body-length-node@3.0.0: resolution: {integrity: sha512-Tj7pZ4bUloNUP6PzwhN7K386tmSmEET9QtQg0TgdNOnxhZvCssHji+oZTUIuzxECRfG8rdm2PMw2WCFs6eIYkA==} engines: {node: '>=16.0.0'} dependencies: - tslib: 2.6.2 - dev: false - - /@smithy/util-buffer-from@2.0.0: - resolution: {integrity: sha512-/YNnLoHsR+4W4Vf2wL5lGv0ksg8Bmk3GEGxn2vEQt52AQaPSCuaO5PM5VM7lP1K9qHRKHwrPGktqVoAHKWHxzw==} - engines: {node: '>=14.0.0'} - dependencies: - '@smithy/is-array-buffer': 2.0.0 - tslib: 2.6.2 + tslib: 2.6.3 dev: false - /@smithy/util-buffer-from@2.1.1: - resolution: {integrity: sha512-clhNjbyfqIv9Md2Mg6FffGVrJxw7bgK7s3Iax36xnfVj6cg0fUG7I4RH0XgXJF8bxi+saY5HR21g2UPKSxVCXg==} + /@smithy/util-buffer-from@2.2.0: + resolution: {integrity: sha512-IJdWBbTcMQ6DA0gdNhh/BwrLkDR+ADW5Kr1aZmd4k3DIF6ezMV4R2NIAmT08wQJ3yUK82thHWmC/TnK/wpMMIA==} engines: {node: '>=14.0.0'} dependencies: - '@smithy/is-array-buffer': 2.1.1 - tslib: 2.6.2 + '@smithy/is-array-buffer': 2.2.0 + tslib: 2.6.3 dev: false /@smithy/util-buffer-from@3.0.0: @@ -9563,214 +9334,136 @@ packages: engines: {node: '>=16.0.0'} dependencies: '@smithy/is-array-buffer': 3.0.0 - tslib: 2.6.2 - dev: false - - /@smithy/util-config-provider@2.2.1: - resolution: {integrity: sha512-50VL/tx9oYYcjJn/qKqNy7sCtpD0+s8XEBamIFo4mFFTclKMNp+rsnymD796uybjiIquB7VCB/DeafduL0y2kw==} - engines: {node: '>=14.0.0'} - dependencies: - tslib: 2.6.2 + tslib: 2.6.3 dev: false /@smithy/util-config-provider@3.0.0: resolution: {integrity: sha512-pbjk4s0fwq3Di/ANL+rCvJMKM5bzAQdE5S/6RL5NXgMExFAi6UgQMPOm5yPaIWPpr+EOXKXRonJ3FoxKf4mCJQ==} engines: {node: '>=16.0.0'} dependencies: - tslib: 2.6.2 - dev: false - - /@smithy/util-defaults-mode-browser@2.1.1: - resolution: {integrity: sha512-lqLz/9aWRO6mosnXkArtRuQqqZBhNpgI65YDpww4rVQBuUT7qzKbDLG5AmnQTCiU4rOquaZO/Kt0J7q9Uic7MA==} - engines: {node: '>= 10.0.0'} - dependencies: - '@smithy/property-provider': 2.1.1 - '@smithy/smithy-client': 2.3.1 - '@smithy/types': 2.9.1 - bowser: 2.11.0 - tslib: 2.6.2 + tslib: 2.6.3 dev: false - /@smithy/util-defaults-mode-browser@3.0.1: - resolution: {integrity: sha512-nW5kEzdJn1Bn5TF+gOPHh2rcPli8JU9vSSXLbfg7uPnfR1TMRQqs9zlYRhIb87NeSxIbpdXOI94tvXSy+fvDYg==} + /@smithy/util-defaults-mode-browser@3.0.6: + resolution: {integrity: sha512-tAgoc++Eq+KL7g55+k108pn7nAob3GLWNEMbXhZIQyBcBNaE/o3+r4AEbae0A8bWvLRvArVsjeiuhMykGa04/A==} engines: {node: '>= 10.0.0'} dependencies: - '@smithy/property-provider': 3.0.0 - '@smithy/smithy-client': 3.0.1 - '@smithy/types': 3.0.0 + '@smithy/property-provider': 3.1.2 + '@smithy/smithy-client': 3.1.4 + '@smithy/types': 3.2.0 bowser: 2.11.0 - tslib: 2.6.2 + tslib: 2.6.3 dev: false - /@smithy/util-defaults-mode-node@2.1.1: - resolution: {integrity: sha512-tYVrc+w+jSBfBd267KDnvSGOh4NMz+wVH7v4CClDbkdPfnjvImBZsOURncT5jsFwR9KCuDyPoSZq4Pa6+eCUrA==} + /@smithy/util-defaults-mode-node@3.0.6: + resolution: {integrity: sha512-UNerul6/E8aiCyFTBHk+RSIZCo7m96d/N5K3FeO/wFeZP6oy5HAicLzxqa85Wjv7MkXSxSySX29L/LwTV/QMag==} engines: {node: '>= 10.0.0'} dependencies: - '@smithy/config-resolver': 2.1.1 - '@smithy/credential-provider-imds': 2.2.1 - '@smithy/node-config-provider': 2.2.1 - '@smithy/property-provider': 2.1.1 - '@smithy/smithy-client': 2.3.1 - '@smithy/types': 2.9.1 - tslib: 2.6.2 - dev: false - - /@smithy/util-defaults-mode-node@3.0.1: - resolution: {integrity: sha512-TFk+Qb+elLc/MOhtSp+50fstyfZ6avQbgH2d96xUBpeScu+Al9elxv+UFAjaTHe0HQe5n+wem8ZLpXvU8lwV6Q==} - engines: {node: '>= 10.0.0'} - dependencies: - '@smithy/config-resolver': 3.0.0 - '@smithy/credential-provider-imds': 3.0.0 - '@smithy/node-config-provider': 3.0.0 - '@smithy/property-provider': 3.0.0 - '@smithy/smithy-client': 3.0.1 - '@smithy/types': 3.0.0 - tslib: 2.6.2 - dev: false - - /@smithy/util-endpoints@1.1.1: - resolution: {integrity: sha512-sI4d9rjoaekSGEtq3xSb2nMjHMx8QXcz2cexnVyRWsy4yQ9z3kbDpX+7fN0jnbdOp0b3KSTZJZ2Yb92JWSanLw==} - engines: {node: '>= 14.0.0'} - dependencies: - '@smithy/node-config-provider': 2.2.1 - '@smithy/types': 2.9.1 - tslib: 2.6.2 + '@smithy/config-resolver': 3.0.3 + '@smithy/credential-provider-imds': 3.1.2 + '@smithy/node-config-provider': 3.1.2 + '@smithy/property-provider': 3.1.2 + '@smithy/smithy-client': 3.1.4 + '@smithy/types': 3.2.0 + tslib: 2.6.3 dev: false - /@smithy/util-endpoints@2.0.0: - resolution: {integrity: sha512-+exaXzEY3DNt2qtA2OtRNSDlVrE4p32j1JSsQkzA5AdP0YtJNjkYbYhJxkFmPYcjI1abuwopOZCwUmv682QkiQ==} + /@smithy/util-endpoints@2.0.3: + resolution: {integrity: sha512-Dyi+pfLglDHSGsKSYunuUUSFM5V0tz7UDgv1Ex97yg+Xkn0Eb0rH0rcvl1n0MaJ11fac3HKDOH0DkALyQYCQag==} engines: {node: '>=16.0.0'} dependencies: - '@smithy/node-config-provider': 3.0.0 - '@smithy/types': 3.0.0 - tslib: 2.6.2 - dev: false - - /@smithy/util-hex-encoding@2.0.0: - resolution: {integrity: sha512-c5xY+NUnFqG6d7HFh1IFfrm3mGl29lC+vF+geHv4ToiuJCBmIfzx6IeHLg+OgRdPFKDXIw6pvi+p3CsscaMcMA==} - engines: {node: '>=14.0.0'} - dependencies: - tslib: 2.6.2 + '@smithy/node-config-provider': 3.1.2 + '@smithy/types': 3.2.0 + tslib: 2.6.3 dev: false - /@smithy/util-hex-encoding@2.1.1: - resolution: {integrity: sha512-3UNdP2pkYUUBGEXzQI9ODTDK+Tcu1BlCyDBaRHwyxhA+8xLP8agEKQq4MGmpjqb4VQAjq9TwlCQX0kP6XDKYLg==} + /@smithy/util-hex-encoding@2.2.0: + resolution: {integrity: sha512-7iKXR+/4TpLK194pVjKiasIyqMtTYJsgKgM242Y9uzt5dhHnUDvMNb+3xIhRJ9QhvqGii/5cRUt4fJn3dtXNHQ==} engines: {node: '>=14.0.0'} dependencies: - tslib: 2.6.2 + tslib: 2.6.3 dev: false /@smithy/util-hex-encoding@3.0.0: resolution: {integrity: sha512-eFndh1WEK5YMUYvy3lPlVmYY/fZcQE1D8oSf41Id2vCeIkKJXPcYDCZD+4+xViI6b1XSd7tE+s5AmXzz5ilabQ==} engines: {node: '>=16.0.0'} dependencies: - tslib: 2.6.2 + tslib: 2.6.3 dev: false - /@smithy/util-middleware@2.1.1: - resolution: {integrity: sha512-mKNrk8oz5zqkNcbcgAAepeJbmfUW6ogrT2Z2gDbIUzVzNAHKJQTYmH9jcy0jbWb+m7ubrvXKb6uMjkSgAqqsFA==} - engines: {node: '>=14.0.0'} - dependencies: - '@smithy/types': 2.9.1 - tslib: 2.6.2 - dev: false - - /@smithy/util-middleware@3.0.0: - resolution: {integrity: sha512-q5ITdOnV2pXHSVDnKWrwgSNTDBAMHLptFE07ua/5Ty5WJ11bvr0vk2a7agu7qRhrCFRQlno5u3CneU5EELK+DQ==} + /@smithy/util-middleware@3.0.2: + resolution: {integrity: sha512-7WW5SD0XVrpfqljBYzS5rLR+EiDzl7wCVJZ9Lo6ChNFV4VYDk37Z1QI5w/LnYtU/QKnSawYoHRd7VjSyC8QRQQ==} engines: {node: '>=16.0.0'} dependencies: - '@smithy/types': 3.0.0 - tslib: 2.6.2 - dev: false - - /@smithy/util-retry@2.1.1: - resolution: {integrity: sha512-Mg+xxWPTeSPrthpC5WAamJ6PW4Kbo01Fm7lWM1jmGRvmrRdsd3192Gz2fBXAMURyXpaNxyZf6Hr/nQ4q70oVEA==} - engines: {node: '>= 14.0.0'} - dependencies: - '@smithy/service-error-classification': 2.1.1 - '@smithy/types': 2.9.1 - tslib: 2.6.2 + '@smithy/types': 3.2.0 + tslib: 2.6.3 dev: false - /@smithy/util-retry@3.0.0: - resolution: {integrity: sha512-nK99bvJiziGv/UOKJlDvFF45F00WgPLKVIGUfAK+mDhzVN2hb/S33uW2Tlhg5PVBoqY7tDVqL0zmu4OxAHgo9g==} + /@smithy/util-retry@3.0.2: + resolution: {integrity: sha512-HUVOb1k8p/IH6WFUjsLa+L9H1Zi/FAAB2CDOpWuffI1b2Txi6sknau8kNfC46Xrt39P1j2KDzCE1UlLa2eW5+A==} engines: {node: '>=16.0.0'} dependencies: - '@smithy/service-error-classification': 3.0.0 - '@smithy/types': 3.0.0 - tslib: 2.6.2 + '@smithy/service-error-classification': 3.0.2 + '@smithy/types': 3.2.0 + tslib: 2.6.3 dev: false /@smithy/util-stream@2.0.17: resolution: {integrity: sha512-fP/ZQ27rRvHsqItds8yB7jerwMpZFTL3QqbQbidUiG0+mttMoKdP0ZqnvM8UK5q0/dfc3/pN7g4XKPXOU7oRWw==} engines: {node: '>=14.0.0'} dependencies: - '@smithy/fetch-http-handler': 2.2.4 - '@smithy/node-http-handler': 2.1.8 - '@smithy/types': 2.4.0 - '@smithy/util-base64': 2.0.0 - '@smithy/util-buffer-from': 2.0.0 - '@smithy/util-hex-encoding': 2.0.0 + '@smithy/fetch-http-handler': 2.5.0 + '@smithy/node-http-handler': 2.5.0 + '@smithy/types': 2.12.0 + '@smithy/util-base64': 2.3.0 + '@smithy/util-buffer-from': 2.2.0 + '@smithy/util-hex-encoding': 2.2.0 '@smithy/util-utf8': 2.0.0 - tslib: 2.6.2 - dev: false - - /@smithy/util-stream@2.1.1: - resolution: {integrity: sha512-J7SMIpUYvU4DQN55KmBtvaMc7NM3CZ2iWICdcgaovtLzseVhAqFRYqloT3mh0esrFw+3VEK6nQFteFsTqZSECQ==} - engines: {node: '>=14.0.0'} - dependencies: - '@smithy/fetch-http-handler': 2.4.1 - '@smithy/node-http-handler': 2.3.1 - '@smithy/types': 2.9.1 - '@smithy/util-base64': 2.1.1 - '@smithy/util-buffer-from': 2.1.1 - '@smithy/util-hex-encoding': 2.1.1 - '@smithy/util-utf8': 2.1.1 - tslib: 2.6.2 + tslib: 2.6.3 dev: false - /@smithy/util-stream@3.0.1: - resolution: {integrity: sha512-7F7VNNhAsfMRA8I986YdOY5fE0/T1/ZjFF6OLsqkvQVNP3vZ/szYDfGCyphb7ioA09r32K/0qbSFfNFU68aSzA==} + /@smithy/util-stream@3.0.4: + resolution: {integrity: sha512-CcMioiaOOsEVdb09pS7ux1ij7QcQ2jE/cE1+iin1DXMeRgAEQN/47m7Xztu7KFQuQsj0A5YwB2UN45q97CqKCg==} engines: {node: '>=16.0.0'} dependencies: - '@smithy/fetch-http-handler': 3.0.1 - '@smithy/node-http-handler': 3.0.0 - '@smithy/types': 3.0.0 + '@smithy/fetch-http-handler': 3.1.0 + '@smithy/node-http-handler': 3.1.0 + '@smithy/types': 3.2.0 '@smithy/util-base64': 3.0.0 '@smithy/util-buffer-from': 3.0.0 '@smithy/util-hex-encoding': 3.0.0 '@smithy/util-utf8': 3.0.0 - tslib: 2.6.2 + tslib: 2.6.3 dev: false - /@smithy/util-uri-escape@2.1.1: - resolution: {integrity: sha512-saVzI1h6iRBUVSqtnlOnc9ssU09ypo7n+shdQ8hBTZno/9rZ3AuRYvoHInV57VF7Qn7B+pFJG7qTzFiHxWlWBw==} + /@smithy/util-uri-escape@2.2.0: + resolution: {integrity: sha512-jtmJMyt1xMD/d8OtbVJ2gFZOSKc+ueYJZPW20ULW1GOp/q/YIM0wNh+u8ZFao9UaIGz4WoPW8hC64qlWLIfoDA==} engines: {node: '>=14.0.0'} dependencies: - tslib: 2.6.2 + tslib: 2.6.3 dev: false /@smithy/util-uri-escape@3.0.0: resolution: {integrity: sha512-LqR7qYLgZTD7nWLBecUi4aqolw8Mhza9ArpNEQ881MJJIU2sE5iHCK6TdyqqzcDLy0OPe10IY4T8ctVdtynubg==} engines: {node: '>=16.0.0'} dependencies: - tslib: 2.6.2 + tslib: 2.6.3 dev: false /@smithy/util-utf8@2.0.0: resolution: {integrity: sha512-rctU1VkziY84n5OXe3bPNpKR001ZCME2JCaBBFgtiM2hfKbHFudc/BkMuPab8hRbLd0j3vbnBTTZ1igBf0wgiQ==} engines: {node: '>=14.0.0'} dependencies: - '@smithy/util-buffer-from': 2.0.0 - tslib: 2.6.2 + '@smithy/util-buffer-from': 2.2.0 + tslib: 2.6.3 dev: false - /@smithy/util-utf8@2.1.1: - resolution: {integrity: sha512-BqTpzYEcUMDwAKr7/mVRUtHDhs6ZoXDi9NypMvMfOr/+u1NW7JgqodPDECiiLboEm6bobcPcECxzjtQh865e9A==} + /@smithy/util-utf8@2.3.0: + resolution: {integrity: sha512-R8Rdn8Hy72KKcebgLiv8jQcQkXoLMOGGv5uI1/k0l+snqkOzQ1R0ChUBCxWMlBsFMekWjq0wRudIweFs7sKT5A==} engines: {node: '>=14.0.0'} dependencies: - '@smithy/util-buffer-from': 2.1.1 - tslib: 2.6.2 + '@smithy/util-buffer-from': 2.2.0 + tslib: 2.6.3 dev: false /@smithy/util-utf8@3.0.0: @@ -9778,145 +9471,76 @@ packages: engines: {node: '>=16.0.0'} dependencies: '@smithy/util-buffer-from': 3.0.0 - tslib: 2.6.2 + tslib: 2.6.3 dev: false - /@smithy/util-waiter@2.1.1: - resolution: {integrity: sha512-kYy6BLJJNif+uqNENtJqWdXcpqo1LS+nj1AfXcDhOpqpSHJSAkVySLyZV9fkmuVO21lzGoxjvd1imGGJHph/IA==} - engines: {node: '>=14.0.0'} - dependencies: - '@smithy/abort-controller': 2.1.1 - '@smithy/types': 2.9.1 - tslib: 2.6.2 - dev: false - - /@smithy/util-waiter@3.0.0: - resolution: {integrity: sha512-+fEXJxGDLCoqRKVSmo0auGxaqbiCo+8oph+4auefYjaNxjOLKSY2MxVQfRzo65PaZv4fr+5lWg+au7vSuJJ/zw==} + /@smithy/util-waiter@3.1.1: + resolution: {integrity: sha512-xT+Bbpe5sSrC7cCWSElOreDdWzqovR1V+7xrp+fmwGAA+TPYBb78iasaXjO1pa+65sY6JjW5GtGeIoJwCK9B1g==} engines: {node: '>=16.0.0'} dependencies: - '@smithy/abort-controller': 3.0.0 - '@smithy/types': 3.0.0 - tslib: 2.6.2 + '@smithy/abort-controller': 3.1.0 + '@smithy/types': 3.2.0 + tslib: 2.6.3 dev: false - /@storybook/addon-actions@7.4.6(@types/react-dom@18.2.11)(@types/react@18.2.25)(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-SsqZr3js5NinKPnC8AeNI7Ij+Q6fIl9tRdRmSulEgjksjOg7E5S1/Wsn5Bb2CCgj7MaX6VxGyC7s3XskQtDiIQ==} - peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - peerDependenciesMeta: - react: - optional: true - react-dom: - optional: true + /@storybook/addon-actions@7.6.19: + resolution: {integrity: sha512-ATLrA5QKFJt7tIAScRHz5T3eBQ+RG3jaZk08L7gChvyQZhei8knWwePElZ7GaWbCr9BgznQp1lQUUXq/UUblAQ==} dependencies: - '@storybook/client-logger': 7.4.6 - '@storybook/components': 7.4.6(@types/react-dom@18.2.11)(@types/react@18.2.25)(react-dom@18.2.0)(react@18.2.0) - '@storybook/core-events': 7.4.6 + '@storybook/core-events': 7.6.19 '@storybook/global': 5.0.0 - '@storybook/manager-api': 7.4.6(react-dom@18.2.0)(react@18.2.0) - '@storybook/preview-api': 7.4.6 - '@storybook/theming': 7.4.6(react-dom@18.2.0)(react@18.2.0) - '@storybook/types': 7.4.6 + '@types/uuid': 9.0.8 dequal: 2.0.3 - lodash: 4.17.21 - polished: 4.2.2 - prop-types: 15.8.1 - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) - react-inspector: 6.0.2(react@18.2.0) - telejson: 7.2.0 - ts-dedent: 2.2.0 + polished: 4.3.1 uuid: 9.0.1 - transitivePeerDependencies: - - '@types/react' - - '@types/react-dom' dev: true - /@storybook/addon-backgrounds@7.4.6(@types/react-dom@18.2.11)(@types/react@18.2.25)(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-+LHTZB/ZYMAzkyD5ZxSriBsqmsrvIaW/Nnd/BeuXGbkrVKKqM0qAKiFZAfjc2WchA1piVNy0/1Rsf+kuYCEiJw==} - peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - peerDependenciesMeta: - react: - optional: true - react-dom: - optional: true + /@storybook/addon-backgrounds@7.6.19: + resolution: {integrity: sha512-Nu3LAZODRSV2e5bOroKm/Jp6BIFzwu/nJxD5OvLWkkwNCh+vDXUFbbaVrZf5xRL+fHd9iLFPtWbJQpF/w7UsCw==} dependencies: - '@storybook/client-logger': 7.4.6 - '@storybook/components': 7.4.6(@types/react-dom@18.2.11)(@types/react@18.2.25)(react-dom@18.2.0)(react@18.2.0) - '@storybook/core-events': 7.4.6 '@storybook/global': 5.0.0 - '@storybook/manager-api': 7.4.6(react-dom@18.2.0)(react@18.2.0) - '@storybook/preview-api': 7.4.6 - '@storybook/theming': 7.4.6(react-dom@18.2.0)(react@18.2.0) - '@storybook/types': 7.4.6 memoizerific: 1.11.3 - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) ts-dedent: 2.2.0 - transitivePeerDependencies: - - '@types/react' - - '@types/react-dom' dev: true - /@storybook/addon-controls@7.4.6(@types/react-dom@18.2.11)(@types/react@18.2.25)(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-4lq3sycEUIsK8SUWDYc60QgF4vV9FZZ3lDr6M7j2W9bOnvGw49d2fbdlnq+bX1ZprZZ9VgglQpBAorQB3BXZRw==} - peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - peerDependenciesMeta: - react: - optional: true - react-dom: - optional: true + /@storybook/addon-controls@7.6.19(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1): + resolution: {integrity: sha512-cl6PCNEwihDjuWIUsKTyDNKk+/IE4J3oMbSY5AZV/9Z0jJbpMV2shVm5DMZm5LhCCVcu5obWcxCIa4FMIMJAMQ==} dependencies: - '@storybook/blocks': 7.4.6(@types/react-dom@18.2.11)(@types/react@18.2.25)(react-dom@18.2.0)(react@18.2.0) - '@storybook/client-logger': 7.4.6 - '@storybook/components': 7.4.6(@types/react-dom@18.2.11)(@types/react@18.2.25)(react-dom@18.2.0)(react@18.2.0) - '@storybook/core-common': 7.4.6 - '@storybook/core-events': 7.4.6 - '@storybook/manager-api': 7.4.6(react-dom@18.2.0)(react@18.2.0) - '@storybook/node-logger': 7.4.6 - '@storybook/preview-api': 7.4.6 - '@storybook/theming': 7.4.6(react-dom@18.2.0)(react@18.2.0) - '@storybook/types': 7.4.6 + '@storybook/blocks': 7.6.19(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) lodash: 4.17.21 - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) ts-dedent: 2.2.0 transitivePeerDependencies: - '@types/react' - '@types/react-dom' - encoding + - react + - react-dom - supports-color dev: true - /@storybook/addon-docs@7.4.6(@types/react-dom@18.2.11)(@types/react@18.2.25)(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-dLaub+XWFq4hChw+xfuF9yYg0Txp77FUawKoAigccfjWXx+OOhRV3XTuAcknpXkYq94GWynHgUFXosXT9kbDNA==} + /@storybook/addon-docs@7.6.19(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1): + resolution: {integrity: sha512-nv+9SR/NOtM8Od2esOXHcg0NQT8Pk8BMUyGwZu5Q3MLI4JxNVEG65dY0IP2j6Knc4UtlvQTpM0f7m5xp4seHjQ==} peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 dependencies: '@jest/transform': 29.7.0 - '@mdx-js/react': 2.3.0(react@18.2.0) - '@storybook/blocks': 7.4.6(@types/react-dom@18.2.11)(@types/react@18.2.25)(react-dom@18.2.0)(react@18.2.0) - '@storybook/client-logger': 7.4.6 - '@storybook/components': 7.4.6(@types/react-dom@18.2.11)(@types/react@18.2.25)(react-dom@18.2.0)(react@18.2.0) - '@storybook/csf-plugin': 7.4.6 - '@storybook/csf-tools': 7.4.6 + '@mdx-js/react': 2.3.0(react@18.3.1) + '@storybook/blocks': 7.6.19(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) + '@storybook/client-logger': 7.6.19 + '@storybook/components': 7.6.19(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) + '@storybook/csf-plugin': 7.6.19 + '@storybook/csf-tools': 7.6.19 '@storybook/global': 5.0.0 '@storybook/mdx2-csf': 1.1.0 - '@storybook/node-logger': 7.4.6 - '@storybook/postinstall': 7.4.6 - '@storybook/preview-api': 7.4.6 - '@storybook/react-dom-shim': 7.4.6(react-dom@18.2.0)(react@18.2.0) - '@storybook/theming': 7.4.6(react-dom@18.2.0)(react@18.2.0) - '@storybook/types': 7.4.6 - fs-extra: 11.1.1 - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) + '@storybook/node-logger': 7.6.19 + '@storybook/postinstall': 7.6.19 + '@storybook/preview-api': 7.6.19 + '@storybook/react-dom-shim': 7.6.19(react-dom@18.3.1)(react@18.3.1) + '@storybook/theming': 7.6.19(react-dom@18.3.1)(react@18.3.1) + '@storybook/types': 7.6.19 + fs-extra: 11.2.0 + react: 18.3.1 + react-dom: 18.3.1(react@18.3.1) remark-external-links: 8.0.0 remark-slug: 6.1.0 ts-dedent: 2.2.0 @@ -9927,27 +9551,27 @@ packages: - supports-color dev: true - /@storybook/addon-essentials@7.4.6(@types/react-dom@18.2.11)(@types/react@18.2.25)(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-dWodufrt71TK7ELkeIvVae/x4PzECUlbOm57Iqqt4yQCyR291CgvI4PjeB8un2HbpcXCGZ+N/Oj3YkytvzBi4A==} + /@storybook/addon-essentials@7.6.19(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1): + resolution: {integrity: sha512-SC33ZEQ5YaOt9wDkrdZmwQgqPWo9om/gqnyif06eug3SwrTe9JjO5iq1PIBfQodLD9MAxr9cwBvO0NG505oszQ==} peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 dependencies: - '@storybook/addon-actions': 7.4.6(@types/react-dom@18.2.11)(@types/react@18.2.25)(react-dom@18.2.0)(react@18.2.0) - '@storybook/addon-backgrounds': 7.4.6(@types/react-dom@18.2.11)(@types/react@18.2.25)(react-dom@18.2.0)(react@18.2.0) - '@storybook/addon-controls': 7.4.6(@types/react-dom@18.2.11)(@types/react@18.2.25)(react-dom@18.2.0)(react@18.2.0) - '@storybook/addon-docs': 7.4.6(@types/react-dom@18.2.11)(@types/react@18.2.25)(react-dom@18.2.0)(react@18.2.0) - '@storybook/addon-highlight': 7.4.6 - '@storybook/addon-measure': 7.4.6(@types/react-dom@18.2.11)(@types/react@18.2.25)(react-dom@18.2.0)(react@18.2.0) - '@storybook/addon-outline': 7.4.6(@types/react-dom@18.2.11)(@types/react@18.2.25)(react-dom@18.2.0)(react@18.2.0) - '@storybook/addon-toolbars': 7.4.6(@types/react-dom@18.2.11)(@types/react@18.2.25)(react-dom@18.2.0)(react@18.2.0) - '@storybook/addon-viewport': 7.4.6(@types/react-dom@18.2.11)(@types/react@18.2.25)(react-dom@18.2.0)(react@18.2.0) - '@storybook/core-common': 7.4.6 - '@storybook/manager-api': 7.4.6(react-dom@18.2.0)(react@18.2.0) - '@storybook/node-logger': 7.4.6 - '@storybook/preview-api': 7.4.6 - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) + '@storybook/addon-actions': 7.6.19 + '@storybook/addon-backgrounds': 7.6.19 + '@storybook/addon-controls': 7.6.19(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) + '@storybook/addon-docs': 7.6.19(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) + '@storybook/addon-highlight': 7.6.19 + '@storybook/addon-measure': 7.6.19 + '@storybook/addon-outline': 7.6.19 + '@storybook/addon-toolbars': 7.6.19 + '@storybook/addon-viewport': 7.6.19 + '@storybook/core-common': 7.6.19 + '@storybook/manager-api': 7.6.19(react-dom@18.3.1)(react@18.3.1) + '@storybook/node-logger': 7.6.19 + '@storybook/preview-api': 7.6.19 + react: 18.3.1 + react-dom: 18.3.1(react@18.3.1) ts-dedent: 2.2.0 transitivePeerDependencies: - '@types/react' @@ -9956,203 +9580,89 @@ packages: - supports-color dev: true - /@storybook/addon-highlight@7.4.6: - resolution: {integrity: sha512-zCufxxD2KS5VwczxfkcBxe1oR/juTTn2H1Qm8kYvWCJQx3UxzX0+G9cwafbpV7eivqaufLweEwROkH+0KjAtkQ==} + /@storybook/addon-highlight@7.6.19: + resolution: {integrity: sha512-/pApl0oiVU1CQ8xETRNDLDthMBjeTmvFnTRq8RJ9m0JYTrSsoyHDmj9zS4K1k9gReqijE7brslhP8d2tblBpNw==} dependencies: - '@storybook/core-events': 7.4.6 '@storybook/global': 5.0.0 - '@storybook/preview-api': 7.4.6 dev: true - /@storybook/addon-interactions@7.4.6(@types/react-dom@18.2.11)(@types/react@18.2.25)(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-zVZYrEPZPhNrXBuPqM7HbQvr6jwsje1sbCYj3wnp83U5wjciuqrngqHIlaSZ30zOWSfRVyzbyqL+JQZKA58BNA==} - peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - peerDependenciesMeta: - react: - optional: true - react-dom: - optional: true + /@storybook/addon-interactions@7.6.19: + resolution: {integrity: sha512-lMQDu6JT2LXDWcRnIGvrKRk/W+67zOtUNpDKwoVuvM5eHVJcza5SPV6v8yXDLCHLOt7RZ15h6LT2uXabfKpcww==} dependencies: - '@storybook/client-logger': 7.4.6 - '@storybook/components': 7.4.6(@types/react-dom@18.2.11)(@types/react@18.2.25)(react-dom@18.2.0)(react@18.2.0) - '@storybook/core-common': 7.4.6 - '@storybook/core-events': 7.4.6 '@storybook/global': 5.0.0 - '@storybook/instrumenter': 7.4.6 - '@storybook/manager-api': 7.4.6(react-dom@18.2.0)(react@18.2.0) - '@storybook/preview-api': 7.4.6 - '@storybook/theming': 7.4.6(react-dom@18.2.0)(react@18.2.0) - '@storybook/types': 7.4.6 + '@storybook/types': 7.6.19 jest-mock: 27.5.1 - polished: 4.2.2 - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) + polished: 4.3.1 ts-dedent: 2.2.0 - transitivePeerDependencies: - - '@types/react' - - '@types/react-dom' - - encoding - - supports-color dev: true - /@storybook/addon-links@7.4.6(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-BPygElZKX+CPI9Se6GJNk1dYc5oxuhA+vHigO1tBqhiM6VkHyFP3cvezJNQvpNYhkUnu3cxnZXb3UJnlRbPY3g==} + /@storybook/addon-links@7.6.19(react@18.3.1): + resolution: {integrity: sha512-qMIFfcsMf4olxhYUHUV2ZJhxphh6Xpf1DMd0lxKqAibfxl/sX1m0rJkyiqWSBxbCmAy/pwdgqEOJ1lpDUsJ33w==} peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 - react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 peerDependenciesMeta: react: optional: true - react-dom: - optional: true dependencies: - '@storybook/client-logger': 7.4.6 - '@storybook/core-events': 7.4.6 - '@storybook/csf': 0.1.1 + '@storybook/csf': 0.1.8 '@storybook/global': 5.0.0 - '@storybook/manager-api': 7.4.6(react-dom@18.2.0)(react@18.2.0) - '@storybook/preview-api': 7.4.6 - '@storybook/router': 7.4.6(react-dom@18.2.0)(react@18.2.0) - '@storybook/types': 7.4.6 - prop-types: 15.8.1 - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) + react: 18.3.1 ts-dedent: 2.2.0 dev: true - /@storybook/addon-measure@7.4.6(@types/react-dom@18.2.11)(@types/react@18.2.25)(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-nCymMLaHnxv8TE3yEM1A9Tulb1NuRXRNmtsdHTkjv7P1aWCxZo8A/GZaottKe/GLT8jSRjZ+dnpYWrbAhw6wTQ==} - peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - peerDependenciesMeta: - react: - optional: true - react-dom: - optional: true + /@storybook/addon-measure@7.6.19: + resolution: {integrity: sha512-n+cfhVXXouBv9oQr3a77vvip5dTznaNoBDWMafP2ohauc8jBlAxeBwCjk5r3pyThMRIFCTG/ypZrhiJcSJT3bw==} dependencies: - '@storybook/client-logger': 7.4.6 - '@storybook/components': 7.4.6(@types/react-dom@18.2.11)(@types/react@18.2.25)(react-dom@18.2.0)(react@18.2.0) - '@storybook/core-events': 7.4.6 '@storybook/global': 5.0.0 - '@storybook/manager-api': 7.4.6(react-dom@18.2.0)(react@18.2.0) - '@storybook/preview-api': 7.4.6 - '@storybook/types': 7.4.6 - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) - tiny-invariant: 1.3.1 - transitivePeerDependencies: - - '@types/react' - - '@types/react-dom' + tiny-invariant: 1.3.3 dev: true - /@storybook/addon-outline@7.4.6(@types/react-dom@18.2.11)(@types/react@18.2.25)(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-errNUblRVDLpuEaHQPr/nsrnsUkD2ARmXawkRvizgDWLIDMDJYjTON3MUCaVx3x+hlZ3I6X//G5TVcma8tCc8A==} - peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - peerDependenciesMeta: - react: - optional: true - react-dom: - optional: true + /@storybook/addon-outline@7.6.19: + resolution: {integrity: sha512-Tt4MrfjK5j/Mdh8nJ8ccVyh78Dy7aiEPxO31YVvr5XUkge0pDi1PX328mHRDPur0i56NM8ssVbekWBZr+9MxlA==} dependencies: - '@storybook/client-logger': 7.4.6 - '@storybook/components': 7.4.6(@types/react-dom@18.2.11)(@types/react@18.2.25)(react-dom@18.2.0)(react@18.2.0) - '@storybook/core-events': 7.4.6 '@storybook/global': 5.0.0 - '@storybook/manager-api': 7.4.6(react-dom@18.2.0)(react@18.2.0) - '@storybook/preview-api': 7.4.6 - '@storybook/types': 7.4.6 - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) ts-dedent: 2.2.0 - transitivePeerDependencies: - - '@types/react' - - '@types/react-dom' dev: true - /@storybook/addon-toolbars@7.4.6(@types/react-dom@18.2.11)(@types/react@18.2.25)(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-L9m2FBcKeteGq7qIYsMJr0LEfiH7Wdrv5IDcldZTn68eZUJTh1p4GdJZcOmzX1P5IFRr76hpu03iWsNlWQjpbQ==} - peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - peerDependenciesMeta: - react: - optional: true - react-dom: - optional: true - dependencies: - '@storybook/client-logger': 7.4.6 - '@storybook/components': 7.4.6(@types/react-dom@18.2.11)(@types/react@18.2.25)(react-dom@18.2.0)(react@18.2.0) - '@storybook/manager-api': 7.4.6(react-dom@18.2.0)(react@18.2.0) - '@storybook/preview-api': 7.4.6 - '@storybook/theming': 7.4.6(react-dom@18.2.0)(react@18.2.0) - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) - transitivePeerDependencies: - - '@types/react' - - '@types/react-dom' + /@storybook/addon-toolbars@7.6.19: + resolution: {integrity: sha512-+qGbPP2Vo/HoPiS4EJopZ127HGculCV74Hkz6ot7ob6AkYdA1yLMPzWns/ZXNIWm6ab3jV+iq+mQCM/i1qJzvA==} dev: true - /@storybook/addon-viewport@7.4.6(@types/react-dom@18.2.11)(@types/react@18.2.25)(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-INDtk54j7bi7NgxMfd2ATmbA0J7nAd6X8itMkLIyPuPJtx8bYHPDORyemDOd0AojgmAdTOAyUtDYdI/PFeo4Cw==} - peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - peerDependenciesMeta: - react: - optional: true - react-dom: - optional: true + /@storybook/addon-viewport@7.6.19: + resolution: {integrity: sha512-OQQtJ2kYwImbvE9QiC3I3yR0O0EBgNjq+XSaSS4ixJrvUyesfuB7Lm7RkubhEEiP4yANi9OlbzsqZelmPOnk6w==} dependencies: - '@storybook/client-logger': 7.4.6 - '@storybook/components': 7.4.6(@types/react-dom@18.2.11)(@types/react@18.2.25)(react-dom@18.2.0)(react@18.2.0) - '@storybook/core-events': 7.4.6 - '@storybook/global': 5.0.0 - '@storybook/manager-api': 7.4.6(react-dom@18.2.0)(react@18.2.0) - '@storybook/preview-api': 7.4.6 - '@storybook/theming': 7.4.6(react-dom@18.2.0)(react@18.2.0) memoizerific: 1.11.3 - prop-types: 15.8.1 - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) - transitivePeerDependencies: - - '@types/react' - - '@types/react-dom' dev: true - /@storybook/blocks@7.4.6(@types/react-dom@18.2.11)(@types/react@18.2.25)(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-HxBSAeOiTZW2jbHQlo1upRWFgoMsaAyKijUFf5MwwMNIesXCuuTGZDJ3xTABwAVLK2qC9Ektfbo0CZCiPVuDRQ==} + /@storybook/blocks@7.6.19(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1): + resolution: {integrity: sha512-/c/bVQRmyRPoviJhPrFdLfubRcrnZWTwkjxsCvrOTJ/UDOyEl0t/H8yY1mGq7KWWTdbIznnZWhAIofHnH4/Esw==} peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 dependencies: - '@storybook/channels': 7.4.6 - '@storybook/client-logger': 7.4.6 - '@storybook/components': 7.4.6(@types/react-dom@18.2.11)(@types/react@18.2.25)(react-dom@18.2.0)(react@18.2.0) - '@storybook/core-events': 7.4.6 - '@storybook/csf': 0.1.1 - '@storybook/docs-tools': 7.4.6 + '@storybook/channels': 7.6.19 + '@storybook/client-logger': 7.6.19 + '@storybook/components': 7.6.19(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) + '@storybook/core-events': 7.6.19 + '@storybook/csf': 0.1.8 + '@storybook/docs-tools': 7.6.19 '@storybook/global': 5.0.0 - '@storybook/manager-api': 7.4.6(react-dom@18.2.0)(react@18.2.0) - '@storybook/preview-api': 7.4.6 - '@storybook/theming': 7.4.6(react-dom@18.2.0)(react@18.2.0) - '@storybook/types': 7.4.6 - '@types/lodash': 4.14.199 + '@storybook/manager-api': 7.6.19(react-dom@18.3.1)(react@18.3.1) + '@storybook/preview-api': 7.6.19 + '@storybook/theming': 7.6.19(react-dom@18.3.1)(react@18.3.1) + '@storybook/types': 7.6.19 + '@types/lodash': 4.17.5 color-convert: 2.0.1 dequal: 2.0.3 lodash: 4.17.21 - markdown-to-jsx: 7.3.2(react@18.2.0) + markdown-to-jsx: 7.4.7(react@18.3.1) memoizerific: 1.11.3 - polished: 4.2.2 - react: 18.2.0 - react-colorful: 5.6.1(react-dom@18.2.0)(react@18.2.0) - react-dom: 18.2.0(react@18.2.0) + polished: 4.3.1 + react: 18.3.1 + react-colorful: 5.6.1(react-dom@18.3.1)(react@18.3.1) + react-dom: 18.3.1(react@18.3.1) telejson: 7.2.0 - tocbot: 4.21.2 + tocbot: 4.28.2 ts-dedent: 2.2.0 util-deprecate: 1.0.2 transitivePeerDependencies: @@ -10162,23 +9672,23 @@ packages: - supports-color dev: true - /@storybook/builder-manager@7.4.6: - resolution: {integrity: sha512-zylZCD2rmyLOOFBFmUgtJg6UNUKmRNgXiig1XApzS2TkIbTZP827DsVEUl0ey/lskCe0uArkrEBR6ICba8p/Rw==} + /@storybook/builder-manager@7.6.19: + resolution: {integrity: sha512-Dt5OLh97xeWh4h2mk9uG0SbCxBKHPhIiHLHAKEIDzIZBdwUhuyncVNDPHW2NlXM+S7U0/iKs2tw05waqh2lHvg==} dependencies: '@fal-works/esbuild-plugin-global-externals': 2.1.2 - '@storybook/core-common': 7.4.6 - '@storybook/manager': 7.4.6 - '@storybook/node-logger': 7.4.6 - '@types/ejs': 3.1.3 + '@storybook/core-common': 7.6.19 + '@storybook/manager': 7.6.19 + '@storybook/node-logger': 7.6.19 + '@types/ejs': 3.1.5 '@types/find-cache-dir': 3.2.1 '@yarnpkg/esbuild-plugin-pnp': 3.0.0-rc.15(esbuild@0.18.20) browser-assert: 1.2.1 - ejs: 3.1.9 + ejs: 3.1.10 esbuild: 0.18.20 esbuild-plugin-alias: 0.2.1 express: 4.19.2 find-cache-dir: 3.3.2 - fs-extra: 11.1.1 + fs-extra: 11.2.0 process: 0.11.10 util: 0.12.5 transitivePeerDependencies: @@ -10186,12 +9696,12 @@ packages: - supports-color dev: true - /@storybook/builder-vite@7.4.6(typescript@5.2.2)(vite@4.5.2): - resolution: {integrity: sha512-xV9STYK+TkqWWTf2ydm6jx+7P70fjD2UPd1XTUw08uKszIjhuuxk+bG/OF5R1E25mPunAKXm6kBFh351AKejBg==} + /@storybook/builder-vite@7.6.19(typescript@5.5.2)(vite@4.5.3): + resolution: {integrity: sha512-llYpfYCHQCD0nPy+5J+H67iKcOpBrexIFO13wXxHQyl27Z+1T2JJj4cHqZs5S3a2XLiwf4df44NBvvwV5cmJmQ==} peerDependencies: '@preact/preset-vite': '*' typescript: '>= 4.3.x' - vite: ^3.0.0 || ^4.0.0 + vite: ^3.0.0 || ^4.0.0 || ^5.0.0 vite-plugin-glimmerx: '*' peerDependenciesMeta: '@preact/preset-vite': @@ -10201,84 +9711,80 @@ packages: vite-plugin-glimmerx: optional: true dependencies: - '@storybook/channels': 7.4.6 - '@storybook/client-logger': 7.4.6 - '@storybook/core-common': 7.4.6 - '@storybook/csf-plugin': 7.4.6 - '@storybook/mdx2-csf': 1.1.0 - '@storybook/node-logger': 7.4.6 - '@storybook/preview': 7.4.6 - '@storybook/preview-api': 7.4.6 - '@storybook/types': 7.4.6 + '@storybook/channels': 7.6.19 + '@storybook/client-logger': 7.6.19 + '@storybook/core-common': 7.6.19 + '@storybook/csf-plugin': 7.6.19 + '@storybook/node-logger': 7.6.19 + '@storybook/preview': 7.6.19 + '@storybook/preview-api': 7.6.19 + '@storybook/types': 7.6.19 '@types/find-cache-dir': 3.2.1 browser-assert: 1.2.1 es-module-lexer: 0.9.3 express: 4.19.2 find-cache-dir: 3.3.2 - fs-extra: 11.1.1 - magic-string: 0.30.7 - remark-external-links: 8.0.0 - remark-slug: 6.1.0 + fs-extra: 11.2.0 + magic-string: 0.30.10 rollup: 3.29.4 - typescript: 5.2.2 - vite: 4.5.2 + typescript: 5.5.2 + vite: 4.5.3 transitivePeerDependencies: - encoding - supports-color dev: true - /@storybook/channels@7.4.6: - resolution: {integrity: sha512-yPv/sfo2c18fM3fvG0i1xse63vG8l33Al/OU0k/dtovltPu001/HVa1QgBgsb/QrEfZtvGjGhmtdVeYb39fv3A==} + /@storybook/channels@7.6.19: + resolution: {integrity: sha512-2JGh+i95GwjtjqWqhtEh15jM5ifwbRGmXeFqkY7dpdHH50EEWafYHr2mg3opK3heVDwg0rJ/VBptkmshloXuvA==} dependencies: - '@storybook/client-logger': 7.4.6 - '@storybook/core-events': 7.4.6 + '@storybook/client-logger': 7.6.19 + '@storybook/core-events': 7.6.19 '@storybook/global': 5.0.0 - qs: 6.11.2 + qs: 6.12.1 telejson: 7.2.0 - tiny-invariant: 1.3.1 + tiny-invariant: 1.3.3 dev: true - /@storybook/cli@7.4.6: - resolution: {integrity: sha512-rRwaH8pOL+FHz/pJMEkNpMH2xvZvWsrl7obBYw26NQiHmiVSAkfHJicndSN1mwc+p5w+9iXthrgzbLtSAOSvkA==} + /@storybook/cli@7.6.19: + resolution: {integrity: sha512-7OVy7nPgkLfgivv6/dmvoyU6pKl9EzWFk+g9izyQHiM/jS8jOiEyn6akG8Ebj6k5pWslo5lgiXUSW+cEEZUnqQ==} hasBin: true dependencies: - '@babel/core': 7.23.9 - '@babel/preset-env': 7.22.20(@babel/core@7.23.9) - '@babel/types': 7.23.0 + '@babel/core': 7.24.7 + '@babel/preset-env': 7.24.7(@babel/core@7.24.7) + '@babel/types': 7.24.7 '@ndelangen/get-tarball': 3.0.9 - '@storybook/codemod': 7.4.6 - '@storybook/core-common': 7.4.6 - '@storybook/core-events': 7.4.6 - '@storybook/core-server': 7.4.6 - '@storybook/csf-tools': 7.4.6 - '@storybook/node-logger': 7.4.6 - '@storybook/telemetry': 7.4.6 - '@storybook/types': 7.4.6 - '@types/semver': 7.5.3 + '@storybook/codemod': 7.6.19 + '@storybook/core-common': 7.6.19 + '@storybook/core-events': 7.6.19 + '@storybook/core-server': 7.6.19 + '@storybook/csf-tools': 7.6.19 + '@storybook/node-logger': 7.6.19 + '@storybook/telemetry': 7.6.19 + '@storybook/types': 7.6.19 + '@types/semver': 7.5.8 '@yarnpkg/fslib': 2.10.3 '@yarnpkg/libzip': 2.3.0 chalk: 4.1.2 commander: 6.2.1 cross-spawn: 7.0.3 detect-indent: 6.1.0 - envinfo: 7.10.0 + envinfo: 7.13.0 execa: 5.1.1 express: 4.19.2 find-up: 5.0.0 - fs-extra: 11.1.1 - get-npm-tarball-url: 2.0.3 + fs-extra: 11.2.0 + get-npm-tarball-url: 2.1.0 get-port: 5.1.1 - giget: 1.1.3 + giget: 1.2.3 globby: 11.1.0 - jscodeshift: 0.14.0(@babel/preset-env@7.22.20) + jscodeshift: 0.15.2(@babel/preset-env@7.24.7) leven: 3.1.0 ora: 5.4.1 prettier: 2.8.8 prompts: 2.4.2 puppeteer-core: 2.1.1 read-pkg-up: 7.0.1 - semver: 7.5.4 - simple-update-notifier: 2.0.0 + semver: 7.6.2 strip-json-comments: 3.1.1 tempy: 1.0.1 ts-dedent: 2.2.0 @@ -10290,81 +9796,81 @@ packages: - utf-8-validate dev: true - /@storybook/client-logger@7.4.6: - resolution: {integrity: sha512-XDw31ZziU//86PKuMRnmc+L/G0VopaGKENQOGEpvAXCU9IZASwGKlKAtcyosjrpi+ZiUXlMgUXCpXM7x3b1Ehw==} + /@storybook/client-logger@7.6.19: + resolution: {integrity: sha512-oGzOxbmLmciSIfd5gsxDzPmX8DttWhoYdPKxjMuCuWLTO2TWpkCWp1FTUMWO72mm/6V/FswT/aqpJJBBvdZ3RQ==} dependencies: '@storybook/global': 5.0.0 dev: true - /@storybook/codemod@7.4.6: - resolution: {integrity: sha512-lxmwEpwksCaAq96APN2YlooSDfKjJ1vKzN5Ni2EqQzf2TEXl7XQjLacHd7OOaII1kfsy+D5gNG4N5wBo7Ub30g==} + /@storybook/codemod@7.6.19: + resolution: {integrity: sha512-bmHE0iEEgWZ65dXCmasd+GreChjPiWkXu2FEa0cJmNz/PqY12GsXGls4ke1TkNTj4gdSZnbtJxbclPZZnib2tQ==} dependencies: - '@babel/core': 7.23.9 - '@babel/preset-env': 7.22.20(@babel/core@7.23.9) - '@babel/types': 7.23.9 - '@storybook/csf': 0.1.1 - '@storybook/csf-tools': 7.4.6 - '@storybook/node-logger': 7.4.6 - '@storybook/types': 7.4.6 - '@types/cross-spawn': 6.0.3 + '@babel/core': 7.24.7 + '@babel/preset-env': 7.24.7(@babel/core@7.24.7) + '@babel/types': 7.24.7 + '@storybook/csf': 0.1.8 + '@storybook/csf-tools': 7.6.19 + '@storybook/node-logger': 7.6.19 + '@storybook/types': 7.6.19 + '@types/cross-spawn': 6.0.6 cross-spawn: 7.0.3 globby: 11.1.0 - jscodeshift: 0.14.0(@babel/preset-env@7.22.20) + jscodeshift: 0.15.2(@babel/preset-env@7.24.7) lodash: 4.17.21 prettier: 2.8.8 - recast: 0.23.4 + recast: 0.23.9 transitivePeerDependencies: - supports-color dev: true - /@storybook/components@7.4.6(@types/react-dom@18.2.11)(@types/react@18.2.25)(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-nIRBhewAgrJJVafyCzuaLx1l+YOfvvD5dOZ0JxZsxJsefOdw1jFpUqUZ5fIpQ2moyvrR0mAUFw378rBfMdHz5Q==} + /@storybook/components@7.6.19(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1): + resolution: {integrity: sha512-8Zw/RQ4crzKkUR7ojxvRIj8vktKiBBO8Nq93qv4JfDqDWrcR7cro0hOlZgmZmrzbFunBBt6WlsNNO6nVP7R4Xw==} peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 dependencies: - '@radix-ui/react-select': 1.2.2(@types/react-dom@18.2.11)(@types/react@18.2.25)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-toolbar': 1.0.4(@types/react-dom@18.2.11)(@types/react@18.2.25)(react-dom@18.2.0)(react@18.2.0) - '@storybook/client-logger': 7.4.6 - '@storybook/csf': 0.1.1 + '@radix-ui/react-select': 1.2.2(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) + '@radix-ui/react-toolbar': 1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) + '@storybook/client-logger': 7.6.19 + '@storybook/csf': 0.1.8 '@storybook/global': 5.0.0 - '@storybook/theming': 7.4.6(react-dom@18.2.0)(react@18.2.0) - '@storybook/types': 7.4.6 + '@storybook/theming': 7.6.19(react-dom@18.3.1)(react@18.3.1) + '@storybook/types': 7.6.19 memoizerific: 1.11.3 - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) - use-resize-observer: 9.1.0(react-dom@18.2.0)(react@18.2.0) + react: 18.3.1 + react-dom: 18.3.1(react@18.3.1) + use-resize-observer: 9.1.0(react-dom@18.3.1)(react@18.3.1) util-deprecate: 1.0.2 transitivePeerDependencies: - '@types/react' - '@types/react-dom' dev: true - /@storybook/core-client@7.4.6: - resolution: {integrity: sha512-tfgxAHeCvMcs6DsVgtb4hQSDaCHeAPJOsoyhb47eDQfk4OmxzriM0qWucJV5DePSMi+KutX/rN2u0JxfOuN68g==} + /@storybook/core-client@7.6.19: + resolution: {integrity: sha512-F0V9nzcEnj6DIpnw2ilrxsV4d9ibyyQS+Wi2uQtXy+wCQQm9PeBVqrOywjXAY2F9pcoftXOaepfhp8jrxX4MXw==} dependencies: - '@storybook/client-logger': 7.4.6 - '@storybook/preview-api': 7.4.6 + '@storybook/client-logger': 7.6.19 + '@storybook/preview-api': 7.6.19 dev: true - /@storybook/core-common@7.4.6: - resolution: {integrity: sha512-05MJFmOM86qvTLtgDskokIFz9txe0Lbhq4L3by1FtF0GwgH+p+W6I94KI7c6ANER+kVZkXQZhiRzwBFnVTW+Cg==} + /@storybook/core-common@7.6.19: + resolution: {integrity: sha512-njwpGzFJrfbJr/AFxGP8KMrfPfxN85KOfSlxYnQwRm5Z0H1D/lT33LhEBf5m37gaGawHeG7KryxO6RvaioMt2Q==} dependencies: - '@storybook/core-events': 7.4.6 - '@storybook/node-logger': 7.4.6 - '@storybook/types': 7.4.6 + '@storybook/core-events': 7.6.19 + '@storybook/node-logger': 7.6.19 + '@storybook/types': 7.6.19 '@types/find-cache-dir': 3.2.1 - '@types/node': 16.18.58 - '@types/node-fetch': 2.6.6 - '@types/pretty-hrtime': 1.0.1 + '@types/node': 18.19.39 + '@types/node-fetch': 2.6.11 + '@types/pretty-hrtime': 1.0.3 chalk: 4.1.2 esbuild: 0.18.20 esbuild-register: 3.5.0(esbuild@0.18.20) file-system-cache: 2.3.0 find-cache-dir: 3.3.2 find-up: 5.0.0 - fs-extra: 11.1.1 - glob: 10.3.10 + fs-extra: 11.2.0 + glob: 10.4.2 handlebars: 4.7.8 lazy-universal-dotenv: 4.0.0 node-fetch: 2.7.0 @@ -10378,56 +9884,56 @@ packages: - supports-color dev: true - /@storybook/core-events@7.4.6: - resolution: {integrity: sha512-r5vrE+32lwrJh1NGFr1a0mWjvxo7q8FXYShylcwRWpacmL5NTtLkrXOoJSeGvJ4yKNYkvxQFtOPId4lzDxa32w==} + /@storybook/core-events@7.6.19: + resolution: {integrity: sha512-K/W6Uvum0ocZSgjbi8hiotpe+wDEHDZlvN+KlPqdh9ae9xDK8aBNBq9IelCoqM+uKO1Zj+dDfSQds7CD781DJg==} dependencies: ts-dedent: 2.2.0 dev: true - /@storybook/core-server@7.4.6: - resolution: {integrity: sha512-jqmRTGCJ1W0WReImivkisPVaLFT5sjtLnFoAk0feHp6QS5j7EYOPN7CYzliyQmARWTLUEXOVaFf3VD6nJZQhJQ==} + /@storybook/core-server@7.6.19: + resolution: {integrity: sha512-7mKL73Wv5R2bEl0kJ6QJ9bOu5YY53Idu24QgvTnUdNsQazp2yUONBNwHIrNDnNEXm8SfCi4Mc9o0mmNRMIoiRA==} dependencies: '@aw-web-design/x-default-browser': 1.4.126 '@discoveryjs/json-ext': 0.5.7 - '@storybook/builder-manager': 7.4.6 - '@storybook/channels': 7.4.6 - '@storybook/core-common': 7.4.6 - '@storybook/core-events': 7.4.6 - '@storybook/csf': 0.1.1 - '@storybook/csf-tools': 7.4.6 + '@storybook/builder-manager': 7.6.19 + '@storybook/channels': 7.6.19 + '@storybook/core-common': 7.6.19 + '@storybook/core-events': 7.6.19 + '@storybook/csf': 0.1.8 + '@storybook/csf-tools': 7.6.19 '@storybook/docs-mdx': 0.1.0 '@storybook/global': 5.0.0 - '@storybook/manager': 7.4.6 - '@storybook/node-logger': 7.4.6 - '@storybook/preview-api': 7.4.6 - '@storybook/telemetry': 7.4.6 - '@storybook/types': 7.4.6 - '@types/detect-port': 1.3.3 - '@types/node': 16.18.58 - '@types/pretty-hrtime': 1.0.1 - '@types/semver': 7.5.3 + '@storybook/manager': 7.6.19 + '@storybook/node-logger': 7.6.19 + '@storybook/preview-api': 7.6.19 + '@storybook/telemetry': 7.6.19 + '@storybook/types': 7.6.19 + '@types/detect-port': 1.3.5 + '@types/node': 18.19.39 + '@types/pretty-hrtime': 1.0.3 + '@types/semver': 7.5.8 better-opn: 3.0.2 chalk: 4.1.2 - cli-table3: 0.6.3 + cli-table3: 0.6.5 compression: 1.7.4 - detect-port: 1.5.1 + detect-port: 1.6.1 express: 4.19.2 - fs-extra: 11.1.1 + fs-extra: 11.2.0 globby: 11.1.0 - ip: 2.0.0 + ip: 2.0.1 lodash: 4.17.21 open: 8.4.2 pretty-hrtime: 1.0.3 prompts: 2.4.2 read-pkg-up: 7.0.1 - semver: 7.5.4 + semver: 7.6.2 telejson: 7.2.0 - tiny-invariant: 1.3.1 + tiny-invariant: 1.3.3 ts-dedent: 2.2.0 util: 0.12.5 util-deprecate: 1.0.2 - watchpack: 2.4.0 - ws: 8.14.2 + watchpack: 2.4.1 + ws: 8.17.1 transitivePeerDependencies: - bufferutil - encoding @@ -10435,33 +9941,33 @@ packages: - utf-8-validate dev: true - /@storybook/csf-plugin@7.4.6: - resolution: {integrity: sha512-yi7Qa4NSqKOyiJTWCxlB0ih2ijXq6oY5qZKW6MuMMBP14xJNRGLbH5KabpfXgN2T7YECcOWG1uWaGj2veJb1KA==} + /@storybook/csf-plugin@7.6.19: + resolution: {integrity: sha512-yUP0xfJyR8e6fmCgKoEt4c1EvslF8dZ8wtwVLE5hnC3kfs7xt8RVDiKLB/9NhYjY3mD/oOesX60HqRXDgJQHwA==} dependencies: - '@storybook/csf-tools': 7.4.6 - unplugin: 1.5.0 + '@storybook/csf-tools': 7.6.19 + unplugin: 1.10.1 transitivePeerDependencies: - supports-color dev: true - /@storybook/csf-tools@7.4.6: - resolution: {integrity: sha512-ocKpcIUtTBy6hlLY34RUFQyX403cWpB2gGfqvkHbpGe2BQj7EyV0zpWnjsfVxvw+M9OWlCdxHWDOPUgXM33ELw==} + /@storybook/csf-tools@7.6.19: + resolution: {integrity: sha512-8Vzia3cHhDdGHuS3XKXJReCRxmfRq3vmTm/Te9yKZnPSAsC58CCKcMh8FNEFJ44vxYF9itKTkRutjGs+DprKLQ==} dependencies: - '@babel/generator': 7.23.6 - '@babel/parser': 7.23.9 - '@babel/traverse': 7.23.9 - '@babel/types': 7.23.9 - '@storybook/csf': 0.1.1 - '@storybook/types': 7.4.6 - fs-extra: 11.1.1 - recast: 0.23.4 + '@babel/generator': 7.24.7 + '@babel/parser': 7.24.7 + '@babel/traverse': 7.24.7 + '@babel/types': 7.24.7 + '@storybook/csf': 0.1.8 + '@storybook/types': 7.6.19 + fs-extra: 11.2.0 + recast: 0.23.9 ts-dedent: 2.2.0 transitivePeerDependencies: - supports-color dev: true - /@storybook/csf@0.1.1: - resolution: {integrity: sha512-4hE3AlNVxR60Wc5KSC68ASYzUobjPqtSKyhV6G+ge0FIXU55N5nTY7dXGRZHQGDBPq+XqchMkIdlkHPRs8nTHg==} + /@storybook/csf@0.1.8: + resolution: {integrity: sha512-Ntab9o7LjBCbFIao5l42itFiaSh/Qu+l16l/r/9qmV9LnYZkO+JQ7tzhdlwpgJfhs+B5xeejpdAtftDRyXNajw==} dependencies: type-fest: 2.19.0 dev: true @@ -10470,13 +9976,14 @@ packages: resolution: {integrity: sha512-JDaBR9lwVY4eSH5W8EGHrhODjygPd6QImRbwjAuJNEnY0Vw4ie3bPkeGfnacB3OBW6u/agqPv2aRlR46JcAQLg==} dev: true - /@storybook/docs-tools@7.4.6: - resolution: {integrity: sha512-nZj1L/8WwKWWJ41FW4MaKGajZUtrhnr9UwflRCkQJaWhAKmDfOb5M5TqI93uCOULpFPOm5wpoMBz2IHInQ2Lrg==} + /@storybook/docs-tools@7.6.19: + resolution: {integrity: sha512-JuwV6wtm7Hb7Kb5ValChfxy4J7XngfrSQNpvwsDCSBNVcQUv2y843hvclpa26Ptfr/c7zpUX8r9FGSaMDy+2aQ==} dependencies: - '@storybook/core-common': 7.4.6 - '@storybook/preview-api': 7.4.6 - '@storybook/types': 7.4.6 + '@storybook/core-common': 7.6.19 + '@storybook/preview-api': 7.6.19 + '@storybook/types': 7.6.19 '@types/doctrine': 0.0.3 + assert: 2.1.0 doctrine: 3.0.0 lodash: 4.17.21 transitivePeerDependencies: @@ -10488,109 +9995,107 @@ packages: resolution: {integrity: sha512-FcOqPAXACP0I3oJ/ws6/rrPT9WGhu915Cg8D02a9YxLo0DE9zI+a9A5gRGvmQ09fiWPukqI8ZAEoQEdWUKMQdQ==} dev: true - /@storybook/instrumenter@7.4.6: - resolution: {integrity: sha512-K5atRoVFCl6HEgkSxIbwygpzgE/iROc7BrtJ3z3a7E70sanFr6Jxt6Egu6fz2QkL3ef4EWpXMnle2vhEfG29pA==} + /@storybook/instrumenter@7.6.19: + resolution: {integrity: sha512-chPRR8/N1fMss4gSOiEbLzDFqA+0tinnrrFeUSHhvadf+VqUcA/G72sf4b3C/jxBDdK6WPC6L+A3pFR/C1dN5A==} dependencies: - '@storybook/channels': 7.4.6 - '@storybook/client-logger': 7.4.6 - '@storybook/core-events': 7.4.6 + '@storybook/channels': 7.6.19 + '@storybook/client-logger': 7.6.19 + '@storybook/core-events': 7.6.19 '@storybook/global': 5.0.0 - '@storybook/preview-api': 7.4.6 + '@storybook/preview-api': 7.6.19 + '@vitest/utils': 0.34.7 + util: 0.12.5 dev: true - /@storybook/manager-api@7.4.6(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-inrm3DIbCp8wjXSN/wK6e6i2ysQ/IEmtC7IN0OJ7vdrp+USCooPT448SQTUmVctUGCFmOU3fxXByq8g77oIi7w==} - peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 + /@storybook/manager-api@7.6.19(react-dom@18.3.1)(react@18.3.1): + resolution: {integrity: sha512-dVCx1Q+HZEA4U08XqYljiG88BeS3I3ahnPAQLZAeWQXQRkoc9G2jMgLNPKYPIqEtq7Xrn6SRlFMIofhwWrwZpg==} dependencies: - '@storybook/channels': 7.4.6 - '@storybook/client-logger': 7.4.6 - '@storybook/core-events': 7.4.6 - '@storybook/csf': 0.1.1 + '@storybook/channels': 7.6.19 + '@storybook/client-logger': 7.6.19 + '@storybook/core-events': 7.6.19 + '@storybook/csf': 0.1.8 '@storybook/global': 5.0.0 - '@storybook/router': 7.4.6(react-dom@18.2.0)(react@18.2.0) - '@storybook/theming': 7.4.6(react-dom@18.2.0)(react@18.2.0) - '@storybook/types': 7.4.6 + '@storybook/router': 7.6.19 + '@storybook/theming': 7.6.19(react-dom@18.3.1)(react@18.3.1) + '@storybook/types': 7.6.19 dequal: 2.0.3 lodash: 4.17.21 memoizerific: 1.11.3 - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) - semver: 7.5.4 - store2: 2.14.2 + store2: 2.14.3 telejson: 7.2.0 ts-dedent: 2.2.0 + transitivePeerDependencies: + - react + - react-dom dev: true - /@storybook/manager@7.4.6: - resolution: {integrity: sha512-kA1hUDxpn1i2SO9OinvLvVXDeL4xgJkModp+pbE8IXv4NJWReNq1ecMeQCzPLS3Sil2gnrullQ9uYXsnZ9bxxA==} + /@storybook/manager@7.6.19: + resolution: {integrity: sha512-fZWQcf59x4P0iiBhrL74PZrqKJAPuk9sWjP8BIkGbf8wTZtUunbY5Sv4225fOL4NLJbuX9/RYLUPoxQ3nucGHA==} dev: true /@storybook/mdx2-csf@1.1.0: resolution: {integrity: sha512-TXJJd5RAKakWx4BtpwvSNdgTDkKM6RkXU8GK34S/LhidQ5Pjz3wcnqb0TxEkfhK/ztbP8nKHqXFwLfa2CYkvQw==} dev: true - /@storybook/node-logger@7.4.6: - resolution: {integrity: sha512-djZb310Q27GviDug1XBv0jOEDLCiwr4hhDE0aifCEKZpfNCi/EaP31nbWimFzZwxu4hE/YAPWExzScruR1zw9Q==} + /@storybook/node-logger@7.6.19: + resolution: {integrity: sha512-2g29QC44Zl1jKY37DmQ0/dO7+VSKnGgPI/x0mwVwQffypSapxH3rwLLT5Q5XLHeFyD+fhRu5w9Cj4vTGynJgpA==} dev: true - /@storybook/postinstall@7.4.6: - resolution: {integrity: sha512-TqI5BucPAGRWrkh55BYiG2/gHLFtC0In4cuu0GsUzB/1jc4i51npLRorCwhmT7r7YliGl5F7JaP0Bni/qHN3Lg==} + /@storybook/postinstall@7.6.19: + resolution: {integrity: sha512-s6p1vpgMfn+QGDfCK2YNdyyWKidUgb3nGicB81FANRyzYqGB//QlJlghEc2LKCIQbGIZQiwP3l8PdZQmczEJRw==} dev: true - /@storybook/preview-api@7.4.6: - resolution: {integrity: sha512-byUS/Opt3ytWD4cWz3sNEKw5Yks8MkQgRN+GDSyIomaEAQkLAM0rchPC0MYjwCeUSecV7IIQweNX5RbV4a34BA==} + /@storybook/preview-api@7.6.19: + resolution: {integrity: sha512-04hdMSQucroJT4dBjQzRd7ZwH2hij8yx2nm5qd4HYGkd1ORkvlH6GOLph4XewNJl5Um3xfzFQzBhvkqvG0WaCQ==} dependencies: - '@storybook/channels': 7.4.6 - '@storybook/client-logger': 7.4.6 - '@storybook/core-events': 7.4.6 - '@storybook/csf': 0.1.1 + '@storybook/channels': 7.6.19 + '@storybook/client-logger': 7.6.19 + '@storybook/core-events': 7.6.19 + '@storybook/csf': 0.1.8 '@storybook/global': 5.0.0 - '@storybook/types': 7.4.6 - '@types/qs': 6.9.8 + '@storybook/types': 7.6.19 + '@types/qs': 6.9.15 dequal: 2.0.3 lodash: 4.17.21 memoizerific: 1.11.3 - qs: 6.11.2 + qs: 6.12.1 synchronous-promise: 2.0.17 ts-dedent: 2.2.0 util-deprecate: 1.0.2 dev: true - /@storybook/preview@7.4.6: - resolution: {integrity: sha512-2RPXusJ4CTDrIipIKKvbotD7fP0+8VzoFjImunflIrzN9rni+2rq5eMjqlXAaB+77w064zIR4uDUzI9fxsMDeQ==} + /@storybook/preview@7.6.19: + resolution: {integrity: sha512-VqRPua2koOQTOteB+VvuKNXFYQ7IDEopaPpj9Nx+3kom+bqp0hWdAysWcm6CtKN2GGzBQm+5PvGibMNdawsaVg==} dev: true - /@storybook/react-dom-shim@7.4.6(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-DSq8l9FDocUF1ooVI+TF83pddj1LynE/Hv0/y8XZhc3IgJ/HkuOQuUmfz29ezgfAi9gFYUR8raTIBi3/xdoRmw==} + /@storybook/react-dom-shim@7.6.19(react-dom@18.3.1)(react@18.3.1): + resolution: {integrity: sha512-tpt2AC1428d1gF4fetMkpkeFZ1WdDr1CLKoLbSInWQZ7i96nbnIMIA9raR/W8ai1bo55KSz9Bq5ytC/1Pac2qQ==} peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 dependencies: - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) + react: 18.3.1 + react-dom: 18.3.1(react@18.3.1) dev: true - /@storybook/react-vite@7.4.6(react-dom@18.2.0)(react@18.2.0)(typescript@5.2.2)(vite@4.5.2): - resolution: {integrity: sha512-jkjnrf3FxzR5wcmebXRPflrsM4WIDjWyW/NVFJwxi5PeIOk7fE7/QAPrm4NFRUu2Q7DeuH3oLKsw8bigvUI9RA==} + /@storybook/react-vite@7.6.19(react-dom@18.3.1)(react@18.3.1)(typescript@5.5.2)(vite@4.5.3): + resolution: {integrity: sha512-TqKQvWi53vE0KbWrlNq61cTLpzfQ5QMZv42YiwEUhM7ysSmrrg6WjgfEnvEyiAuY8yyaRspPF6Y8pYTKGHM8Nw==} engines: {node: '>=16'} peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - vite: ^3.0.0 || ^4.0.0 - dependencies: - '@joshwooding/vite-plugin-react-docgen-typescript': 0.2.1(typescript@5.2.2)(vite@4.5.2) - '@rollup/pluginutils': 5.0.5 - '@storybook/builder-vite': 7.4.6(typescript@5.2.2)(vite@4.5.2) - '@storybook/react': 7.4.6(react-dom@18.2.0)(react@18.2.0)(typescript@5.2.2) - '@vitejs/plugin-react': 3.1.0(vite@4.5.2) - ast-types: 0.14.2 - magic-string: 0.30.4 - react: 18.2.0 - react-docgen: 6.0.0-alpha.3 - react-dom: 18.2.0(react@18.2.0) - vite: 4.5.2 + vite: ^3.0.0 || ^4.0.0 || ^5.0.0 + dependencies: + '@joshwooding/vite-plugin-react-docgen-typescript': 0.3.0(typescript@5.5.2)(vite@4.5.3) + '@rollup/pluginutils': 5.1.0 + '@storybook/builder-vite': 7.6.19(typescript@5.5.2)(vite@4.5.3) + '@storybook/react': 7.6.19(react-dom@18.3.1)(react@18.3.1)(typescript@5.5.2) + '@vitejs/plugin-react': 3.1.0(vite@4.5.3) + magic-string: 0.30.10 + react: 18.3.1 + react-docgen: 7.0.3 + react-dom: 18.3.1(react@18.3.1) + vite: 4.5.3 transitivePeerDependencies: - '@preact/preset-vite' - encoding @@ -10600,8 +10105,8 @@ packages: - vite-plugin-glimmerx dev: true - /@storybook/react@7.4.6(react-dom@18.2.0)(react@18.2.0)(typescript@5.2.2): - resolution: {integrity: sha512-w0dVo64baFFPTGpUOWFqkKsu6pQincoymegSNgqaBd5DxEyMDRiRoTWSJHMKE9BwgE8SyWhRkP1ak1mkccSOhQ==} + /@storybook/react@7.6.19(react-dom@18.3.1)(react@18.3.1)(typescript@5.5.2): + resolution: {integrity: sha512-uKShAAp1/pRki1YnRjBveH/jAD3f8V0W2WP1LxTQqnKVFkl01mTbDZ/9ZIK6rVTSILUlmsk3fwsNyRbOKVgBGQ==} engines: {node: '>=16.0.0'} peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 @@ -10611,16 +10116,16 @@ packages: typescript: optional: true dependencies: - '@storybook/client-logger': 7.4.6 - '@storybook/core-client': 7.4.6 - '@storybook/docs-tools': 7.4.6 + '@storybook/client-logger': 7.6.19 + '@storybook/core-client': 7.6.19 + '@storybook/docs-tools': 7.6.19 '@storybook/global': 5.0.0 - '@storybook/preview-api': 7.4.6 - '@storybook/react-dom-shim': 7.4.6(react-dom@18.2.0)(react@18.2.0) - '@storybook/types': 7.4.6 + '@storybook/preview-api': 7.6.19 + '@storybook/react-dom-shim': 7.6.19(react-dom@18.3.1)(react@18.3.1) + '@storybook/types': 7.6.19 '@types/escodegen': 0.0.6 '@types/estree': 0.0.51 - '@types/node': 16.18.58 + '@types/node': 18.19.39 acorn: 7.4.1 acorn-jsx: 5.3.2(acorn@7.4.1) acorn-walk: 7.2.0 @@ -10628,41 +10133,36 @@ packages: html-tags: 3.3.1 lodash: 4.17.21 prop-types: 15.8.1 - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) - react-element-to-jsx-string: 15.0.0(react-dom@18.2.0)(react@18.2.0) + react: 18.3.1 + react-dom: 18.3.1(react@18.3.1) + react-element-to-jsx-string: 15.0.0(react-dom@18.3.1)(react@18.3.1) ts-dedent: 2.2.0 type-fest: 2.19.0 - typescript: 5.2.2 + typescript: 5.5.2 util-deprecate: 1.0.2 transitivePeerDependencies: - encoding - supports-color dev: true - /@storybook/router@7.4.6(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-Vl1esrHkcHxDKqc+HY7+6JQpBPW3zYvGk0cQ2rxVMhWdLZTAz1hss9DqzN9tFnPyfn0a1Q77EpMySkUrvWKKNQ==} - peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 + /@storybook/router@7.6.19: + resolution: {integrity: sha512-q2/AvY8rG0znFEfbg50OIhkS5yQ6OmyzdCdztoEsDDdsbq87YPmsDj7k8Op1EkTa2T5CB8XhBOCQDtcj7gUUtg==} dependencies: - '@storybook/client-logger': 7.4.6 + '@storybook/client-logger': 7.6.19 memoizerific: 1.11.3 - qs: 6.11.2 - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) + qs: 6.12.1 dev: true - /@storybook/telemetry@7.4.6: - resolution: {integrity: sha512-c8p/C1NIH8EMBviZkBCx8MMDk6rrITJ+b29DEp5MaWSRlklIVyhGiC4RPIRv6sxJwlD41PnqWVFtfu2j2eXLdQ==} + /@storybook/telemetry@7.6.19: + resolution: {integrity: sha512-rA5xum4I36M57iiD3uzmW0MOdpl0vEpHWBSAa5hK0a0ALPeY9TgAsQlI/0dSyNYJ/K7aczEEN6d4qm1NC4u10A==} dependencies: - '@storybook/client-logger': 7.4.6 - '@storybook/core-common': 7.4.6 - '@storybook/csf-tools': 7.4.6 + '@storybook/client-logger': 7.6.19 + '@storybook/core-common': 7.6.19 + '@storybook/csf-tools': 7.6.19 chalk: 4.1.2 detect-package-manager: 2.0.1 fetch-retry: 5.0.6 - fs-extra: 11.1.1 + fs-extra: 11.2.0 read-pkg-up: 7.0.1 transitivePeerDependencies: - encoding @@ -10672,33 +10172,33 @@ packages: /@storybook/testing-library@0.1.0: resolution: {integrity: sha512-g947f4LJZw3IluBhysMKLJXByAFiSxnGuooENqU+ZPt/GTrz1I9GDBlhmoTJahuFkVbwHvziAl/8riY2Re921g==} dependencies: - '@storybook/client-logger': 7.4.6 - '@storybook/instrumenter': 7.4.6 + '@storybook/client-logger': 7.6.19 + '@storybook/instrumenter': 7.6.19 '@testing-library/dom': 8.20.1 '@testing-library/user-event': 13.5.0(@testing-library/dom@8.20.1) ts-dedent: 2.2.0 dev: true - /@storybook/theming@7.4.6(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-HW77iJ9ptCMqhoBOYFjRQw7VBap+38fkJGHP5KylEJCyYCgIAm2dEcQmtWpMVYFssSGcb6djfbtAMhYU4TL4Iw==} + /@storybook/theming@7.6.19(react-dom@18.3.1)(react@18.3.1): + resolution: {integrity: sha512-sAho13MmtA80ctOaLn8lpkQBsPyiqSdLcOPH5BWFhatQzzBQCpTAKQk+q/xGju8bNiPZ+yQBaBzbN8SfX8ceCg==} peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 dependencies: - '@emotion/use-insertion-effect-with-fallbacks': 1.0.1(react@18.2.0) - '@storybook/client-logger': 7.4.6 + '@emotion/use-insertion-effect-with-fallbacks': 1.0.1(react@18.3.1) + '@storybook/client-logger': 7.6.19 '@storybook/global': 5.0.0 memoizerific: 1.11.3 - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) + react: 18.3.1 + react-dom: 18.3.1(react@18.3.1) dev: true - /@storybook/types@7.4.6: - resolution: {integrity: sha512-6QLXtMVsFZFpzPkdGWsu/iuc8na9dnS67AMOBKm5qCLPwtUJOYkwhMdFRSSeJthLRpzV7JLAL8Kwvl7MFP3QSw==} + /@storybook/types@7.6.19: + resolution: {integrity: sha512-DeGYrRPRMGTVfT7o2rEZtRzyLT2yKTI2exgpnxbwPWEFAduZCSfzBrcBXZ/nb5B0pjA9tUNWls1YzGkJGlkhpg==} dependencies: - '@storybook/channels': 7.4.6 - '@types/babel__core': 7.20.2 - '@types/express': 4.17.18 + '@storybook/channels': 7.6.19 + '@types/babel__core': 7.20.5 + '@types/express': 4.17.21 file-system-cache: 2.3.0 dev: true @@ -10707,8 +10207,8 @@ packages: engines: {node: '>=8'} dev: false - /@swc/core-darwin-arm64@1.4.2: - resolution: {integrity: sha512-1uSdAn1MRK5C1m/TvLZ2RDvr0zLvochgrZ2xL+lRzugLlCTlSA+Q4TWtrZaOz+vnnFVliCpw7c7qu0JouhgQIw==} + /@swc/core-darwin-arm64@1.6.5: + resolution: {integrity: sha512-RGQhMdni2v1/ANQ/2K+F+QYdzaucekYBewZcX1ogqJ8G5sbPaBdYdDN1qQ4kHLCIkPtGP6qC7c71qPEqL2RidQ==} engines: {node: '>=10'} cpu: [arm64] os: [darwin] @@ -10716,8 +10216,8 @@ packages: dev: true optional: true - /@swc/core-darwin-x64@1.4.2: - resolution: {integrity: sha512-TYD28+dCQKeuxxcy7gLJUCFLqrwDZnHtC2z7cdeGfZpbI2mbfppfTf2wUPzqZk3gEC96zHd4Yr37V3Tvzar+lQ==} + /@swc/core-darwin-x64@1.6.5: + resolution: {integrity: sha512-/pSN0/Jtcbbb9+ovS9rKxR3qertpFAM3OEJr/+Dh/8yy7jK5G5EFPIrfsw/7Q5987ERPIJIH6BspK2CBB2tgcg==} engines: {node: '>=10'} cpu: [x64] os: [darwin] @@ -10725,8 +10225,8 @@ packages: dev: true optional: true - /@swc/core-linux-arm-gnueabihf@1.4.2: - resolution: {integrity: sha512-Eyqipf7ZPGj0vplKHo8JUOoU1un2sg5PjJMpEesX0k+6HKE2T8pdyeyXODN0YTFqzndSa/J43EEPXm+rHAsLFQ==} + /@swc/core-linux-arm-gnueabihf@1.6.5: + resolution: {integrity: sha512-B0g/dROCE747RRegs/jPHuKJgwXLracDhnqQa80kFdgWEMjlcb7OMCgs5OX86yJGRS4qcYbiMGD0Pp7Kbqn3yw==} engines: {node: '>=10'} cpu: [arm] os: [linux] @@ -10734,8 +10234,8 @@ packages: dev: true optional: true - /@swc/core-linux-arm64-gnu@1.4.2: - resolution: {integrity: sha512-wZn02DH8VYPv3FC0ub4my52Rttsus/rFw+UUfzdb3tHMHXB66LqN+rR0ssIOZrH6K+VLN6qpTw9VizjyoH0BxA==} + /@swc/core-linux-arm64-gnu@1.6.5: + resolution: {integrity: sha512-W8meapgXTq8AOtSvDG4yKR8ant2WWD++yOjgzAleB5VAC+oC+aa8YJROGxj8HepurU8kurqzcialwoMeq5SZZQ==} engines: {node: '>=10'} cpu: [arm64] os: [linux] @@ -10743,8 +10243,8 @@ packages: dev: true optional: true - /@swc/core-linux-arm64-musl@1.4.2: - resolution: {integrity: sha512-3G0D5z9hUj9bXNcwmA1eGiFTwe5rWkuL3DsoviTj73TKLpk7u64ND0XjEfO0huVv4vVu9H1jodrKb7nvln/dlw==} + /@swc/core-linux-arm64-musl@1.6.5: + resolution: {integrity: sha512-jyCKqoX50Fg8rJUQqh4u5PqnE7nqYKXHjVH2WcYr114/MU21zlsI+YL6aOQU1XP8bJQ2gPQ1rnlnGJdEHiKS/w==} engines: {node: '>=10'} cpu: [arm64] os: [linux] @@ -10752,8 +10252,8 @@ packages: dev: true optional: true - /@swc/core-linux-x64-gnu@1.4.2: - resolution: {integrity: sha512-LFxn9U8cjmYHw3jrdPNqPAkBGglKE3tCZ8rA7hYyp0BFxuo7L2ZcEnPm4RFpmSCCsExFH+LEJWuMGgWERoktvg==} + /@swc/core-linux-x64-gnu@1.6.5: + resolution: {integrity: sha512-G6HmUn/RRIlXC0YYFfBz2qh6OZkHS/KUPkhoG4X9ADcgWXXjOFh6JrefwsYj8VBAJEnr5iewzjNfj+nztwHaeA==} engines: {node: '>=10'} cpu: [x64] os: [linux] @@ -10761,8 +10261,8 @@ packages: dev: true optional: true - /@swc/core-linux-x64-musl@1.4.2: - resolution: {integrity: sha512-dp0fAmreeVVYTUcb4u9njTPrYzKnbIH0EhH2qvC9GOYNNREUu2GezSIDgonjOXkHiTCvopG4xU7y56XtXj4VrQ==} + /@swc/core-linux-x64-musl@1.6.5: + resolution: {integrity: sha512-AQpBjBnelQDSbeTJA50AXdS6+CP66LsXIMNTwhPSgUfE7Bx1ggZV11Fsi4Q5SGcs6a8Qw1cuYKN57ZfZC5QOuA==} engines: {node: '>=10'} cpu: [x64] os: [linux] @@ -10770,8 +10270,8 @@ packages: dev: true optional: true - /@swc/core-win32-arm64-msvc@1.4.2: - resolution: {integrity: sha512-HlVIiLMQkzthAdqMslQhDkoXJ5+AOLUSTV6fm6shFKZKqc/9cJvr4S8UveNERL9zUficA36yM3bbfo36McwnvQ==} + /@swc/core-win32-arm64-msvc@1.6.5: + resolution: {integrity: sha512-MZTWM8kUwS30pVrtbzSGEXtek46aXNb/mT9D6rsS7NvOuv2w+qZhjR1rzf4LNbbn5f8VnR4Nac1WIOYZmfC5ng==} engines: {node: '>=10'} cpu: [arm64] os: [win32] @@ -10779,8 +10279,8 @@ packages: dev: true optional: true - /@swc/core-win32-ia32-msvc@1.4.2: - resolution: {integrity: sha512-WCF8faPGjCl4oIgugkp+kL9nl3nUATlzKXCEGFowMEmVVCFM0GsqlmGdPp1pjZoWc9tpYanoXQDnp5IvlDSLhA==} + /@swc/core-win32-ia32-msvc@1.6.5: + resolution: {integrity: sha512-WZdu4gISAr3yOm1fVwKhhk6+MrP7kVX0KMP7+ZQFTN5zXQEiDSDunEJKVgjMVj3vlR+6mnAqa/L0V9Qa8+zKlQ==} engines: {node: '>=10'} cpu: [ia32] os: [win32] @@ -10788,8 +10288,8 @@ packages: dev: true optional: true - /@swc/core-win32-x64-msvc@1.4.2: - resolution: {integrity: sha512-oV71rwiSpA5xre2C5570BhCsg1HF97SNLsZ/12xv7zayGzqr3yvFALFJN8tHKpqUdCB4FGPjoP3JFdV3i+1wUw==} + /@swc/core-win32-x64-msvc@1.6.5: + resolution: {integrity: sha512-ezXgucnMTzlFIxQZw7ls/5r2hseFaRoDL04cuXUOs97E8r+nJSmFsRQm/ygH5jBeXNo59nyZCalrjJAjwfgACA==} engines: {node: '>=10'} cpu: [x64] os: [win32] @@ -10797,49 +10297,51 @@ packages: dev: true optional: true - /@swc/core@1.4.2: - resolution: {integrity: sha512-vWgY07R/eqj1/a0vsRKLI9o9klGZfpLNOVEnrv4nrccxBgYPjcf22IWwAoaBJ+wpA7Q4fVjCUM8lP0m01dpxcg==} + /@swc/core@1.6.5: + resolution: {integrity: sha512-tyVvUK/HDOUUsK6/GmWvnqUtD9oDpPUA4f7f7JCOV8hXxtfjMtAZeBKf93yrB1XZet69TDR7EN0hFC6i4MF0Ig==} engines: {node: '>=10'} requiresBuild: true peerDependencies: - '@swc/helpers': ^0.5.0 + '@swc/helpers': '*' peerDependenciesMeta: '@swc/helpers': optional: true dependencies: - '@swc/counter': 0.1.2 - '@swc/types': 0.1.5 + '@swc/counter': 0.1.3 + '@swc/types': 0.1.9 optionalDependencies: - '@swc/core-darwin-arm64': 1.4.2 - '@swc/core-darwin-x64': 1.4.2 - '@swc/core-linux-arm-gnueabihf': 1.4.2 - '@swc/core-linux-arm64-gnu': 1.4.2 - '@swc/core-linux-arm64-musl': 1.4.2 - '@swc/core-linux-x64-gnu': 1.4.2 - '@swc/core-linux-x64-musl': 1.4.2 - '@swc/core-win32-arm64-msvc': 1.4.2 - '@swc/core-win32-ia32-msvc': 1.4.2 - '@swc/core-win32-x64-msvc': 1.4.2 + '@swc/core-darwin-arm64': 1.6.5 + '@swc/core-darwin-x64': 1.6.5 + '@swc/core-linux-arm-gnueabihf': 1.6.5 + '@swc/core-linux-arm64-gnu': 1.6.5 + '@swc/core-linux-arm64-musl': 1.6.5 + '@swc/core-linux-x64-gnu': 1.6.5 + '@swc/core-linux-x64-musl': 1.6.5 + '@swc/core-win32-arm64-msvc': 1.6.5 + '@swc/core-win32-ia32-msvc': 1.6.5 + '@swc/core-win32-x64-msvc': 1.6.5 dev: true - /@swc/counter@0.1.2: - resolution: {integrity: sha512-9F4ys4C74eSTEUNndnER3VJ15oru2NumfQxS8geE+f3eB5xvfxpWyqE5XlVnxb/R14uoXi6SLbBwwiDSkv+XEw==} + /@swc/counter@0.1.3: + resolution: {integrity: sha512-e2BR4lsJkkRlKZ/qCHPw9ZaSxc0MVUd7gtbtaB7aMvHeJVYe8sOB8DBZkP2DtISHGSku9sCK6T6cnY0CtXrOCQ==} dev: true - /@swc/types@0.1.5: - resolution: {integrity: sha512-myfUej5naTBWnqOCc/MdVOLVjXUXtIA+NpDrDBKJtLLg2shUjBu3cZmB/85RyitKc55+lUUyl7oRfLOvkr2hsw==} + /@swc/types@0.1.9: + resolution: {integrity: sha512-qKnCno++jzcJ4lM4NTfYifm1EFSCeIfKiAHAfkENZAV5Kl9PjJIyd2yeeVv6c/2CckuLyv2NmRC5pv6pm2WQBg==} + dependencies: + '@swc/counter': 0.1.3 dev: true - /@tailwindcss/forms@0.5.7(tailwindcss@3.4.3): + /@tailwindcss/forms@0.5.7(tailwindcss@3.4.4): resolution: {integrity: sha512-QE7X69iQI+ZXwldE+rzasvbJiyV/ju1FGHH0Qn2W3FKbuYtqp8LKcy6iSw79fVUT5/Vvf+0XgLCeYVG+UV6hOw==} peerDependencies: tailwindcss: '>=3.0.0 || >= 3.0.0-alpha.1' dependencies: mini-svg-data-uri: 1.4.4 - tailwindcss: 3.4.3 + tailwindcss: 3.4.4 - /@tailwindcss/typography@0.5.12(tailwindcss@3.4.3): - resolution: {integrity: sha512-CNwpBpconcP7ppxmuq3qvaCxiRWnbhANpY/ruH4L5qs2GCiVDJXde/pjj2HWPV1+Q4G9+V/etrwUYopdcjAlyg==} + /@tailwindcss/typography@0.5.13(tailwindcss@3.4.4): + resolution: {integrity: sha512-ADGcJ8dX21dVVHIwTRgzrcunY6YY9uSlAHHGVKvkA+vLc5qLwEszvKts40lx7z0qc4clpjclwLeK5rVCV2P/uw==} peerDependencies: tailwindcss: '>=3.0.0 || insiders' dependencies: @@ -10847,14 +10349,14 @@ packages: lodash.isplainobject: 4.0.6 lodash.merge: 4.6.2 postcss-selector-parser: 6.0.10 - tailwindcss: 3.4.3 + tailwindcss: 3.4.4 dev: false /@tanstack/query-core@4.36.1: resolution: {integrity: sha512-DJSilV5+ytBP1FbFcEJovv4rnnm/CokuVvrBEtW/Va9DvuJ3HksbXUJEpI0aV1KtuL4ZoO9AVE6PyNLzF7tLeA==} dev: false - /@tanstack/react-query@4.36.1(react-dom@18.2.0)(react@18.2.0): + /@tanstack/react-query@4.36.1(react-dom@18.3.1)(react@18.3.1): resolution: {integrity: sha512-y7ySVHFyyQblPl3J3eQBWpXZkliroki3ARnBKsdJchlgt7yJLRDUcf4B8soufgiYt3pEQIkBWBx1N9/ZPIeUWw==} peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 @@ -10867,18 +10369,33 @@ packages: optional: true dependencies: '@tanstack/query-core': 4.36.1 - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) - use-sync-external-store: 1.2.0(react@18.2.0) + react: 18.3.1 + react-dom: 18.3.1(react@18.3.1) + use-sync-external-store: 1.2.2(react@18.3.1) + dev: false + + /@tanstack/react-virtual@3.7.0(react-dom@18.3.1)(react@18.3.1): + resolution: {integrity: sha512-3RtOwEU1HKS4iFBoTcCrV3Szqt4KoERMhZr8v57dvnh5o70sR9GAdF+0aE/qhiOmePrKujGwAayFNJSr/8Dbqw==} + peerDependencies: + react: ^16.8.0 || ^17.0.0 || ^18.0.0 + react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 + dependencies: + '@tanstack/virtual-core': 3.7.0 + react: 18.3.1 + react-dom: 18.3.1(react@18.3.1) + dev: false + + /@tanstack/virtual-core@3.7.0: + resolution: {integrity: sha512-p0CWuqn+n8iZmsL7/l0Xg7kbyIKnHNqkEJkMDOkg4x3Ni3LohszmnJY8FPhTgG7Ad9ZFGcdKmn1R1mKUGEh9Xg==} dev: false /@testing-library/dom@8.20.1: resolution: {integrity: sha512-/DiOQ5xBxgdYRC8LNk7U+RWat0S3qRLeIw3ZIkMQ9kkVlRmwD/Eg8k8CqIpD6GW7u20JIUOfMKbxtiLutpjQ4g==} engines: {node: '>=12'} dependencies: - '@babel/code-frame': 7.22.13 - '@babel/runtime': 7.23.1 - '@types/aria-query': 5.0.2 + '@babel/code-frame': 7.24.7 + '@babel/runtime': 7.24.7 + '@types/aria-query': 5.0.4 aria-query: 5.1.3 chalk: 4.1.2 dom-accessibility-api: 0.5.16 @@ -10886,13 +10403,13 @@ packages: pretty-format: 27.5.1 dev: true - /@testing-library/dom@9.3.3: - resolution: {integrity: sha512-fB0R+fa3AUqbLHWyxXa2kGVtf1Fe1ZZFr0Zp6AIbIAzXb2mKbEXl+PCQNUOaq5lbTab5tfctfXRNsWXxa2f7Aw==} + /@testing-library/dom@9.3.4: + resolution: {integrity: sha512-FlS4ZWlp97iiNWig0Muq8p+3rVDjRiYE+YKGbAqXOu9nwJFFOdL00kFpz42M+4huzYi86vAK1sOOfyOG45muIQ==} engines: {node: '>=14'} dependencies: - '@babel/code-frame': 7.22.13 - '@babel/runtime': 7.23.1 - '@types/aria-query': 5.0.2 + '@babel/code-frame': 7.24.7 + '@babel/runtime': 7.24.7 + '@types/aria-query': 5.0.4 aria-query: 5.1.3 chalk: 4.1.2 dom-accessibility-api: 0.5.16 @@ -10900,18 +10417,18 @@ packages: pretty-format: 27.5.1 dev: true - /@testing-library/react@14.0.0(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-S04gSNJbYE30TlIMLTzv6QCTzt9AqIF5y6s6SzVFILNcNvbV/jU96GeiTPillGQo+Ny64M/5PV7klNYYgv5Dfg==} + /@testing-library/react@14.3.1(react-dom@18.3.1)(react@18.3.1): + resolution: {integrity: sha512-H99XjUhWQw0lTgyMN05W3xQG1Nh4lq574D8keFf1dDoNTJgp66VbJozRaczoF+wsiaPJNt/TcnfpLGufGxSrZQ==} engines: {node: '>=14'} peerDependencies: react: ^18.0.0 react-dom: ^18.0.0 dependencies: - '@babel/runtime': 7.23.1 - '@testing-library/dom': 9.3.3 - '@types/react-dom': 18.2.11 - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) + '@babel/runtime': 7.24.7 + '@testing-library/dom': 9.3.4 + '@types/react-dom': 18.3.0 + react: 18.3.1 + react-dom: 18.3.1(react@18.3.1) dev: true /@testing-library/user-event@13.5.0(@testing-library/dom@8.20.1): @@ -10920,7 +10437,7 @@ packages: peerDependencies: '@testing-library/dom': '>=7.21.4' dependencies: - '@babel/runtime': 7.23.1 + '@babel/runtime': 7.24.7 '@testing-library/dom': 8.20.1 dev: true @@ -10936,7 +10453,7 @@ packages: dependencies: '@trpc/server': 10.45.2 - /@trpc/react-query@10.45.2(@tanstack/react-query@4.36.1)(@trpc/client@10.45.2)(@trpc/server@10.45.2)(react-dom@18.2.0)(react@18.2.0): + /@trpc/react-query@10.45.2(@tanstack/react-query@4.36.1)(@trpc/client@10.45.2)(@trpc/server@10.45.2)(react-dom@18.3.1)(react@18.3.1): resolution: {integrity: sha512-BAqb9bGZIscroradlNx+Cc9522R+idY3BOSf5z0jHUtkxdMbjeGKxSSMxxu7JzoLqSIEC+LVzL3VvF8sdDWaZQ==} peerDependencies: '@tanstack/react-query': ^4.18.0 @@ -10945,11 +10462,11 @@ packages: react: '>=16.8.0' react-dom: '>=16.8.0' dependencies: - '@tanstack/react-query': 4.36.1(react-dom@18.2.0)(react@18.2.0) + '@tanstack/react-query': 4.36.1(react-dom@18.3.1)(react@18.3.1) '@trpc/client': 10.45.2(@trpc/server@10.45.2) '@trpc/server': 10.45.2 - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) + react: 18.3.1 + react-dom: 18.3.1(react@18.3.1) dev: false /@trpc/server@10.45.2: @@ -10960,253 +10477,228 @@ packages: engines: {node: ^16.14.0 || >=18.0.0} dev: false - /@tufjs/models@2.0.0: - resolution: {integrity: sha512-c8nj8BaOExmZKO2DXhDfegyhSGcG9E/mPN3U13L+/PsoWm1uaGiHHjxqSHQiasDBQwDA3aHuw9+9spYAP1qvvg==} + /@tufjs/models@2.0.1: + resolution: {integrity: sha512-92F7/SFyufn4DXsha9+QfKnN03JGqtMFMXgSHbZOo8JG59WkTni7UzAouNQDf7AuP9OAMxVOPQcqG3sB7w+kkg==} engines: {node: ^16.14.0 || >=18.0.0} dependencies: '@tufjs/canonical-json': 2.0.0 minimatch: 9.0.4 dev: false - /@types/aria-query@5.0.2: - resolution: {integrity: sha512-PHKZuMN+K5qgKIWhBodXzQslTo5P+K/6LqeKXS6O/4liIDdZqaX5RXrCK++LAw+y/nptN48YmUMFiQHRSWYwtQ==} + /@types/aria-query@5.0.4: + resolution: {integrity: sha512-rfT93uj5s0PRL7EzccGMs3brplhcrghnDoV26NqKhCAS1hVo+WdNsPvE/yb6ilfr5hi2MEk6d5EWJTKdxg8jVw==} dev: true - /@types/aws-lambda@8.10.124: - resolution: {integrity: sha512-PHqK0SuAkFS3tZjceqRXecxxrWIN3VqTicuialtK2wZmvBy7H9WGc3u3+wOgaZB7N8SpSXDpWk9qa7eorpTStg==} - - /@types/babel__core@7.20.2: - resolution: {integrity: sha512-pNpr1T1xLUc2l3xJKuPtsEky3ybxN3m4fJkknfIpTCTfIZCDW57oAg+EfCgIIp2rvCe0Wn++/FfodDS4YXxBwA==} - dependencies: - '@babel/parser': 7.23.9 - '@babel/types': 7.23.9 - '@types/babel__generator': 7.6.5 - '@types/babel__template': 7.4.2 - '@types/babel__traverse': 7.20.2 - dev: true + /@types/aws-lambda@8.10.140: + resolution: {integrity: sha512-4Dh3dk2TUcbdfHrX0Al90mNGJDvA9NBiTQPzbrjGi/dLxzKCGOYgT8YQ47jUKNFALkAJAadifq0pzyjIUlhVhg==} /@types/babel__core@7.20.5: resolution: {integrity: sha512-qoQprZvz5wQFJwMDqeseRXWv3rqMvhgpbXFfVyWhbx9X47POIA6i/+dXefEmZKoAgOaTdaIgNSMqMIU61yRyzA==} dependencies: - '@babel/parser': 7.23.3 - '@babel/types': 7.23.6 - '@types/babel__generator': 7.6.5 - '@types/babel__template': 7.4.2 - '@types/babel__traverse': 7.20.2 + '@babel/parser': 7.24.7 + '@babel/types': 7.24.7 + '@types/babel__generator': 7.6.8 + '@types/babel__template': 7.4.4 + '@types/babel__traverse': 7.20.6 dev: true - /@types/babel__generator@7.6.5: - resolution: {integrity: sha512-h9yIuWbJKdOPLJTbmSpPzkF67e659PbQDba7ifWm5BJ8xTv+sDmS7rFmywkWOvXedGTivCdeGSIIX8WLcRTz8w==} + /@types/babel__generator@7.6.8: + resolution: {integrity: sha512-ASsj+tpEDsEiFr1arWrlN6V3mdfjRMZt6LtK/Vp/kreFLnr5QH5+DhvD5nINYZXzwJvXeGq+05iUXcAzVrqWtw==} dependencies: - '@babel/types': 7.23.9 + '@babel/types': 7.24.7 dev: true - /@types/babel__template@7.4.2: - resolution: {integrity: sha512-/AVzPICMhMOMYoSx9MoKpGDKdBRsIXMNByh1PXSZoa+v6ZoLa8xxtsT/uLQ/NJm0XVAWl/BvId4MlDeXJaeIZQ==} + /@types/babel__template@7.4.4: + resolution: {integrity: sha512-h/NUaSyG5EyxBIp8YRxo4RMe2/qQgvyowRwVMzhYhBCONbW8PUsg4lkFMrhgZhUe5z3L3MiLDuvyJ/CaPa2A8A==} dependencies: - '@babel/parser': 7.23.9 - '@babel/types': 7.23.9 + '@babel/parser': 7.24.7 + '@babel/types': 7.24.7 dev: true - /@types/babel__traverse@7.20.2: - resolution: {integrity: sha512-ojlGK1Hsfce93J0+kn3H5R73elidKUaZonirN33GSmgTUMpzI/MIFfSpF3haANe3G1bEBS9/9/QEqwTzwqFsKw==} + /@types/babel__traverse@7.20.6: + resolution: {integrity: sha512-r1bzfrm0tomOI8g1SzvCaQHo6Lcv6zu0EA+W2kHrt8dyrHQxGzBBL4kdkzIS+jBMV+EYcMAEAqXqYaLJq5rOZg==} dependencies: - '@babel/types': 7.23.9 + '@babel/types': 7.24.7 dev: true - /@types/body-parser@1.19.3: - resolution: {integrity: sha512-oyl4jvAfTGX9Bt6Or4H9ni1Z447/tQuxnZsytsCaExKlmJiU8sFgnIBRzJUpKwB5eWn9HuBYlUlVA74q/yN0eQ==} + /@types/body-parser@1.19.5: + resolution: {integrity: sha512-fB3Zu92ucau0iQ0JMCFQE7b/dv8Ot07NI3KaZIkIUNXq82k4eBAqUaneXfleGY9JWskeS9y+u0nXMyspcuQrCg==} dependencies: - '@types/connect': 3.4.36 - '@types/node': 20.14.2 + '@types/connect': 3.4.38 + '@types/node': 20.14.8 dev: true - /@types/btoa-lite@1.0.0: - resolution: {integrity: sha512-wJsiX1tosQ+J5+bY5LrSahHxr2wT+uME5UDwdN1kg4frt40euqA+wzECkmq4t5QbveHiJepfdThgQrPw6KiSlg==} + /@types/btoa-lite@1.0.2: + resolution: {integrity: sha512-ZYbcE2x7yrvNFJiU7xJGrpF/ihpkM7zKgw8bha3LNJSesvTtUNxbpzaT7WXBIryf6jovisrxTBvymxMeLLj1Mg==} dev: true - /@types/cacache@17.0.0: - resolution: {integrity: sha512-4BfoYFzkHdmINTyUIX9MSbKUkntVPR082FRnNc+5KlvvebrcxWWhfP3MRQ28QgfFncP3fTKCuemDYJqFjmWEAA==} + /@types/cacache@17.0.2: + resolution: {integrity: sha512-IrqHzVX2VRMDQQKa7CtKRnuoCLdRJiLW6hWU+w7i7+AaQ0Ii5bKwJxd5uRK4zBCyrHd3tG6G8zOm2LplxbSfQg==} dependencies: - '@types/node': 20.14.2 + '@types/node': 20.14.8 dev: true - /@types/caseless@0.12.4: - resolution: {integrity: sha512-2in/lrHRNmDvHPgyormtEralhPcN3An1gLjJzj2Bw145VBxkQ75JEXW6CTdMAwShiHQcYsl2d10IjQSdJSJz4g==} + /@types/caseless@0.12.5: + resolution: {integrity: sha512-hWtVTC2q7hc7xZ/RLbxapMvDMgUnDvKvMOpKal4DrMyfGBUfB1oKaZlIRr6mJL+If3bAP6sV/QneGzF6tJjZDg==} dev: false - /@types/connect@3.4.36: - resolution: {integrity: sha512-P63Zd/JUGq+PdrM1lv0Wv5SBYeA2+CORvbrXbngriYY0jzLUWfQMQQxOhjONEz/wlHOAxOdY7CY65rgQdTjq2w==} + /@types/connect@3.4.38: + resolution: {integrity: sha512-K6uROf1LD88uDQqJCktA4yzL1YYAK6NgfsI0v/mTgyPKWsX1CnJ0XPSDhViejru1GcRkLWb8RlzFYJRqGUbaug==} dependencies: - '@types/node': 20.14.2 + '@types/node': 20.14.8 dev: true - /@types/cors@2.8.14: - resolution: {integrity: sha512-RXHUvNWYICtbP6s18PnOCaqToK8y14DnLd75c6HfyKf228dxy7pHNOQkxPtvXKp/hINFMDjbYzsj63nnpPMSRQ==} + /@types/cors@2.8.17: + resolution: {integrity: sha512-8CGDvrBj1zgo2qE+oS3pOCyYNqCPryMWY2bGfwA0dcfopWGgxs+78df0Rs3rc9THP4JkOhLsAa+15VdpAqkcUA==} dependencies: - '@types/node': 20.11.0 - dev: true - - /@types/cross-spawn@6.0.3: - resolution: {integrity: sha512-BDAkU7WHHRHnvBf5z89lcvACsvkz/n7Tv+HyD/uW76O29HoH1Tk/W6iQrepaZVbisvlEek4ygwT8IW7ow9XLAA==} - dependencies: - '@types/node': 20.14.2 + '@types/node': 20.14.8 dev: true /@types/cross-spawn@6.0.6: resolution: {integrity: sha512-fXRhhUkG4H3TQk5dBhQ7m/JDdSNHKwR2BBia62lhwEIq9xGiQKLxd6LymNhn47SjXhsUEPmxi+PKw2OkW4LLjA==} dependencies: - '@types/node': 20.11.0 + '@types/node': 20.14.8 dev: true - /@types/d3-color@3.1.1: - resolution: {integrity: sha512-CSAVrHAtM9wfuLJ2tpvvwCU/F22sm7rMHNN+yh9D6O6hyAms3+O0cgMpC1pm6UEUMOntuZC8bMt74PteiDUdCg==} + /@types/d3-color@3.1.3: + resolution: {integrity: sha512-iO90scth9WAbmgv7ogoq57O9YpKmFBbmoEoCHDB2xMBY0+/KVrqAaCDyCE16dUspeOvIxFFRI+0sEtqDqy2b4A==} dev: true - /@types/d3-interpolate@3.0.2: - resolution: {integrity: sha512-zAbCj9lTqW9J9PlF4FwnvEjXZUy75NQqPm7DMHZXuxCFTpuTrdK2NMYGQekf4hlasL78fCYOLu4EE3/tXElwow==} + /@types/d3-interpolate@3.0.4: + resolution: {integrity: sha512-mgLPETlrpVV1YRJIglr4Ez47g7Yxjl1lj7YKsiMCb27VJH9W8NVM6Bb9d8kkpG/uAQS5AmbA48q2IAolKKo1MA==} dependencies: - '@types/d3-color': 3.1.1 + '@types/d3-color': 3.1.3 dev: true - /@types/d3-selection@3.0.7: - resolution: {integrity: sha512-qoj2O7KjfqCobmtFOth8FMvjwMVPUAAmn6xiUbLl1ld7vQCPgffvyV5BBcEFfqWdilAUm+3zciU/3P3vZrUMlg==} + /@types/d3-selection@3.0.10: + resolution: {integrity: sha512-cuHoUgS/V3hLdjJOLTT691+G2QoqAjCVLmr4kJXR4ha56w1Zdu8UUQ5TxLRqudgNjwXeQxKMq4j+lyf9sWuslg==} dev: true - /@types/d3-zoom@3.0.5: - resolution: {integrity: sha512-mIefdTLtxuWUWTbBupCUXPAXVPmi8/Uwrq41gQpRh0rD25GMU1ku+oTELqNY2NuuiI0F3wXC5e1liBQi7YS7XQ==} + /@types/d3-zoom@3.0.8: + resolution: {integrity: sha512-iqMC4/YlFCSlO8+2Ii1GGGliCAY4XdeG748w5vQUbevlbDu0zSjH/+jojorQVBK/se0j6DUFNPBGSqD3YWYnDw==} dependencies: - '@types/d3-interpolate': 3.0.2 - '@types/d3-selection': 3.0.7 + '@types/d3-interpolate': 3.0.4 + '@types/d3-selection': 3.0.10 dev: true /@types/debug@4.1.12: resolution: {integrity: sha512-vIChWdVG3LG1SMxEvI/AK+FWJthlrqlTu7fbrlywTkkaONwk/UAGaULXRlf8vkzFBLVm0zkMdCquhL5aOjhXPQ==} dependencies: '@types/ms': 0.7.34 - dev: false - /@types/debug@4.1.9: - resolution: {integrity: sha512-8Hz50m2eoS56ldRlepxSBa6PWEVCtzUo/92HgLc2qTMnotJNIm7xP+UZhyWoYsyOdd5dxZ+NZLb24rsKyFs2ow==} - dependencies: - '@types/ms': 0.7.32 - dev: true - - /@types/detect-port@1.3.3: - resolution: {integrity: sha512-bV/jQlAJ/nPY3XqSatkGpu+nGzou+uSwrH1cROhn+jBFg47yaNH+blW4C7p9KhopC7QxCv/6M86s37k8dMk0Yg==} + /@types/detect-port@1.3.5: + resolution: {integrity: sha512-Rf3/lB9WkDfIL9eEKaSYKc+1L/rNVYBjThk22JTqQw0YozXarX8YljFAz+HCoC6h4B4KwCMsBPZHaFezwT4BNA==} dev: true /@types/doctrine@0.0.3: resolution: {integrity: sha512-w5jZ0ee+HaPOaX25X2/2oGR/7rgAQSYII7X7pp0m9KgBfMP7uKfMfTvcpl5Dj+eDBbpxKGiqE+flqDr6XTd2RA==} dev: true - /@types/ejs@3.1.3: - resolution: {integrity: sha512-mv5T/JI/bu+pbfz1o+TLl1NF0NIBbjS0Vl6Ppz1YY9DkXfzZT0lelXpfS5i3ZS3U/p90it7uERQpBvLYoK8e4A==} + /@types/doctrine@0.0.9: + resolution: {integrity: sha512-eOIHzCUSH7SMfonMG1LsC2f8vxBFtho6NGBznK41R84YzPuvSBzrhEps33IsQiOW9+VL6NQ9DbjQJznk/S4uRA==} + dev: true + + /@types/ejs@3.1.5: + resolution: {integrity: sha512-nv+GSx77ZtXiJzwKdsASqi+YQ5Z7vwHsTP0JY2SiQgjGckkBRKZnk8nIM+7oUZ1VCtuTz0+By4qVR7fqzp/Dfg==} dev: true - /@types/emscripten@1.39.8: - resolution: {integrity: sha512-Rk0HKcMXFUuqT32k1kXHZWgxiMvsyYsmlnjp0rLKa0MMoqXLE3T9dogDBTRfuc3SAsXu97KD3k4SKR1lHqd57w==} + /@types/emscripten@1.39.13: + resolution: {integrity: sha512-cFq+fO/isvhvmuP/+Sl4K4jtU6E23DoivtbO4r50e3odaxAiVdbfSYRDdJ4gCdxx+3aRjhphS5ZMwIH4hFy/Cw==} dev: true /@types/escodegen@0.0.6: resolution: {integrity: sha512-AjwI4MvWx3HAOaZqYsjKWyEObT9lcVV0Y0V8nXo6cXzN8ZiMxVhf6F3d/UNvXVGKrEzL/Dluc5p+y9GkzlTWig==} dev: true - /@types/eslint-scope@3.7.5: - resolution: {integrity: sha512-JNvhIEyxVW6EoMIFIvj93ZOywYFatlpu9deeH6eSx6PE3WHYvHaQtmHmQeNw7aA81bYGBPPQqdtBm6b1SsQMmA==} + /@types/eslint-scope@3.7.7: + resolution: {integrity: sha512-MzMFlSLBqNF2gcHWO0G1vP/YQyfvrxZ0bF+u7mzUdZ1/xK4A4sru+nraZz5i3iEIk1l1uyicaDVTB4QbbEkAYg==} dependencies: - '@types/eslint': 8.44.3 - '@types/estree': 1.0.2 + '@types/eslint': 8.56.10 + '@types/estree': 1.0.5 dev: true - /@types/eslint@8.44.3: - resolution: {integrity: sha512-iM/WfkwAhwmPff3wZuPLYiHX18HI24jU8k1ZSH7P8FHwxTjZ2P6CoX2wnF43oprR+YXJM6UUxATkNvyv/JHd+g==} + /@types/eslint@8.56.10: + resolution: {integrity: sha512-Shavhk87gCtY2fhXDctcfS3e6FdxWkCx1iUZ9eEUbh7rTqlZT0/IzOkCOVt0fCjcFuZ9FPYfuezTBImfHCDBGQ==} dependencies: - '@types/estree': 1.0.2 - '@types/json-schema': 7.0.13 + '@types/estree': 1.0.5 + '@types/json-schema': 7.0.15 dev: true + /@types/estree-jsx@1.0.5: + resolution: {integrity: sha512-52CcUVNFyfb1A2ALocQw/Dd1BQFNmSdkuC3BkZ6iqhdMfQz7JWOFRuJFloOzjk+6WijU56m9oKXFAXc7o3Towg==} + dependencies: + '@types/estree': 1.0.5 + dev: false + /@types/estree@0.0.51: resolution: {integrity: sha512-CuPgU6f3eT/XgKKPqKd/gLZV1Xmvf1a2R5POBOGQa6uv82xpls89HU5zKeVoyR8XzHd1RGNOlQlvUe3CFkjWNQ==} dev: true - /@types/estree@1.0.2: - resolution: {integrity: sha512-VeiPZ9MMwXjO32/Xu7+OwflfmeoRwkE/qzndw42gGtgJwZopBnzy2gD//NN1+go1mADzkDcqf/KnFRSjTJ8xJA==} - dev: true - /@types/estree@1.0.5: resolution: {integrity: sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw==} - dev: true - /@types/express-serve-static-core@4.17.37: - resolution: {integrity: sha512-ZohaCYTgGFcOP7u6aJOhY9uIZQgZ2vxC2yWoArY+FeDXlqeH66ZVBjgvg+RLVAS/DWNq4Ap9ZXu1+SUQiiWYMg==} + /@types/express-serve-static-core@4.19.5: + resolution: {integrity: sha512-y6W03tvrACO72aijJ5uF02FRq5cgDR9lUxddQ8vyF+GvmjJQqbzDcJngEjURc+ZsG31VI3hODNZJ2URj86pzmg==} dependencies: - '@types/node': 20.14.2 - '@types/qs': 6.9.8 - '@types/range-parser': 1.2.5 - '@types/send': 0.17.2 + '@types/node': 20.14.8 + '@types/qs': 6.9.15 + '@types/range-parser': 1.2.7 + '@types/send': 0.17.4 dev: true - /@types/express@4.17.18: - resolution: {integrity: sha512-Sxv8BSLLgsBYmcnGdGjjEjqET2U+AKAdCRODmMiq02FgjwuV75Ut85DRpvFjyw/Mk0vgUOliGRU0UUmuuZHByQ==} + /@types/express@4.17.21: + resolution: {integrity: sha512-ejlPM315qwLpaQlQDTjPdsUFSc6ZsP4AN6AlWnogPjQ7CVi7PYF3YVz+CY3jE2pwYf7E/7HlDAN0rV2GxTG0HQ==} dependencies: - '@types/body-parser': 1.19.3 - '@types/express-serve-static-core': 4.17.37 - '@types/qs': 6.9.8 - '@types/serve-static': 1.15.3 + '@types/body-parser': 1.19.5 + '@types/express-serve-static-core': 4.19.5 + '@types/qs': 6.9.15 + '@types/serve-static': 1.15.7 dev: true /@types/find-cache-dir@3.2.1: resolution: {integrity: sha512-frsJrz2t/CeGifcu/6uRo4b+SzAwT4NYCVPu1GN8IB9XTzrpPkGuV0tmh9mN+/L0PklAlsC3u5Fxt0ju00LXIw==} dev: true - /@types/fs-extra@11.0.2: - resolution: {integrity: sha512-c0hrgAOVYr21EX8J0jBMXGLMgJqVf/v6yxi0dLaJboW9aQPh16Id+z6w2Tx1hm+piJOLv8xPfVKZCLfjPw/IMQ==} + /@types/fs-extra@11.0.4: + resolution: {integrity: sha512-yTbItCNreRooED33qjunPthRcSjERP1r4MqCZc7wv0u2sUkzTFp45tgUfS5+r7FrZPdmCCNflLhVSP/o+SemsQ==} dependencies: - '@types/jsonfile': 6.1.2 - '@types/node': 20.14.2 + '@types/jsonfile': 6.1.4 + '@types/node': 20.14.8 dev: true /@types/fs-extra@9.0.13: resolution: {integrity: sha512-nEnwB++1u5lVDM2UI4c1+5R+FYaKfaAzS4OococimjVm3nQw3TuzH5UNsocrcTBbhnerblyHj4A49qXbIiZdpA==} dependencies: - '@types/node': 20.11.0 + '@types/node': 20.14.8 dev: true /@types/glob@7.2.0: resolution: {integrity: sha512-ZUxbzKl0IfJILTS6t7ip5fQQM/J3TJYubDm3nMbgubNNYS62eXeUpoLUC8/7fJNiFYHTrGPQn7hspDUzIHX3UA==} dependencies: '@types/minimatch': 5.1.2 - '@types/node': 20.14.2 + '@types/node': 20.14.8 dev: true - /@types/glob@8.1.0: - resolution: {integrity: sha512-IO+MJPVhoqz+28h1qLAcBEH2+xHMK6MTyHJc7MTnnYb6wsoLR29POVGJ7LycmVXIqyy/4/2ShP5sUwTXuOwb/w==} - dependencies: - '@types/minimatch': 5.1.2 - '@types/node': 20.14.2 - dev: false - - /@types/graceful-fs@4.1.7: - resolution: {integrity: sha512-MhzcwU8aUygZroVwL2jeYk6JisJrPl/oov/gsgGCue9mkgl9wjGbzReYQClxiUgFDnib9FuHqTndccKeZKxTRw==} + /@types/graceful-fs@4.1.9: + resolution: {integrity: sha512-olP3sd1qOEe5dXTSaFvQG+02VdRXcdytWLAZsAq1PecU8uqQAhkrnbli7DagjtXKW/Bl7YJbUsa8MPcuc8LHEQ==} dependencies: - '@types/node': 20.14.2 + '@types/node': 20.14.8 dev: true - /@types/hast@3.0.3: - resolution: {integrity: sha512-2fYGlaDy/qyLlhidX42wAH0KBi2TCjKMH8CHmBXgRlJ3Y+OXTiqsPQ6IWarZKwF1JoUcAJdPogv1d4b0COTpmQ==} + /@types/hast@3.0.4: + resolution: {integrity: sha512-WPs+bbQw5aCj+x6laNGWLH3wviHtoCv/P3+otBhbOhJgG8qtpdAMlTCxLtsTWA7LH1Oh/bFCHsBn0TPS5m30EQ==} dependencies: '@types/unist': 3.0.2 dev: false - /@types/http-errors@2.0.2: - resolution: {integrity: sha512-lPG6KlZs88gef6aD85z3HNkztpj7w2R7HmR3gygjfXCQmsLloWNARFkMuzKiiY8FGdh1XDpgBdrSf4aKDiA7Kg==} + /@types/http-errors@2.0.4: + resolution: {integrity: sha512-D0CFMMtydbJAegzOyHjtiKPLlvnm3iTZyZRSZoLq2mRhDdmLfIWOCYPfQJ4cu2erKghU++QvjcUjp/5h7hESpA==} dev: true - /@types/ignore-walk@4.0.1: - resolution: {integrity: sha512-jve9GxuPfapQBNbsmLB4yTUV/uT16xJTxgnlcEWKcA9D5i1uMqokpyq7eKjrTH0zb1sBx1SAY3xRXSbxqj0fAg==} + /@types/ignore-walk@4.0.3: + resolution: {integrity: sha512-6V7wDsk0nz8LtRC7qeC0GfXadFLT4FdCtVbXhxoIGRdkn2kLr20iMLupRGiBhlZ79WWWqaObIdR3nkXfUrBPdQ==} dependencies: - '@types/node': 20.14.2 + '@types/node': 20.14.8 dev: true /@types/inquirer@9.0.7: @@ -11216,20 +10708,20 @@ packages: rxjs: 7.8.1 dev: true - /@types/istanbul-lib-coverage@2.0.4: - resolution: {integrity: sha512-z/QT1XN4K4KYuslS23k62yDIDLwLFkzxOuMplDtObz0+y7VqJCaO2o+SPwHCvLFZh7xazvvoor2tA/hPz9ee7g==} + /@types/istanbul-lib-coverage@2.0.6: + resolution: {integrity: sha512-2QF/t/auWm0lsy8XtKVPG19v3sSOQlJe/YHZgfjb/KBBHOGSV+J2q/S671rcq9uTBrLAXmZpqJiaQbMT+zNU1w==} dev: true - /@types/istanbul-lib-report@3.0.1: - resolution: {integrity: sha512-gPQuzaPR5h/djlAv2apEG1HVOyj1IUs7GpfMZixU0/0KXT3pm64ylHuMUI1/Akh+sq/iikxg6Z2j+fcMDXaaTQ==} + /@types/istanbul-lib-report@3.0.3: + resolution: {integrity: sha512-NQn7AHQnk/RSLOxrBbGyJM/aVQ+pjj5HCgasFxc0K/KhoATfQ/47AyUl15I2yBUpihjmas+a+VJBOqecrFH+uA==} dependencies: - '@types/istanbul-lib-coverage': 2.0.4 + '@types/istanbul-lib-coverage': 2.0.6 dev: true - /@types/istanbul-reports@3.0.2: - resolution: {integrity: sha512-kv43F9eb3Lhj+lr/Hn6OcLCs/sSM8bt+fIaP11rCYngfV6NVjzWXJ17owQtDQTL9tQ8WSLUrGsSJ6rJz0F1w1A==} + /@types/istanbul-reports@3.0.4: + resolution: {integrity: sha512-pk2B1NWalF9toCRu6gjBzR69syFjP4Od8WRAX+0mmf9lAjCRicLOWc+ZrxZHx/0XRjotgkF9t6iaMJ+aXcOdZQ==} dependencies: - '@types/istanbul-lib-report': 3.0.1 + '@types/istanbul-lib-report': 3.0.3 dev: true /@types/jest@28.1.8: @@ -11243,302 +10735,289 @@ packages: resolution: {integrity: sha512-aLkWa0C0vO5b4Sr798E26QgOkss68Un0bLjs7u9qxzPT5CG+8DuNTffWES58YzJs3hrVAOs1wonycqEBqNJubA==} dev: false - /@types/json-schema@7.0.13: - resolution: {integrity: sha512-RbSSoHliUbnXj3ny0CNFOoxrIDV6SUGyStHsvDqosw6CkdPV8TtWGlfecuK4ToyMEAql6pzNxgCFKanovUzlgQ==} + /@types/json-schema@7.0.15: + resolution: {integrity: sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==} /@types/json5@0.0.29: resolution: {integrity: sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==} - /@types/jsonfile@6.1.2: - resolution: {integrity: sha512-8t92P+oeW4d/CRQfJaSqEwXujrhH4OEeHRjGU3v1Q8mUS8GPF3yiX26sw4svv6faL2HfBtGTe2xWIoVgN3dy9w==} + /@types/jsonfile@6.1.4: + resolution: {integrity: sha512-D5qGUYwjvnNNextdU59/+fI+spnwtTFmyQP0h+PfIOSkNfpU6AOICUOkm4i0OnSk+NyjdPJrxCDro0sJsWlRpQ==} dependencies: - '@types/node': 20.14.2 + '@types/node': 20.14.8 dev: true - /@types/jsonwebtoken@9.0.3: - resolution: {integrity: sha512-b0jGiOgHtZ2jqdPgPnP6WLCXZk1T8p06A/vPGzUvxpFGgKMbjXJDjC5m52ErqBnIuWZFgGoIJyRdeG5AyreJjA==} + /@types/jsonwebtoken@9.0.6: + resolution: {integrity: sha512-/5hndP5dCjloafCXns6SZyESp3Ldq7YjH3zwzwczYnjxIT0Fqzk5ROSYVGfFyczIue7IUEj8hkvLbPoLQ18vQw==} dependencies: - '@types/node': 20.14.2 + '@types/node': 20.14.8 dev: true - /@types/lodash.debounce@4.0.7: - resolution: {integrity: sha512-X1T4wMZ+gT000M2/91SYj0d/7JfeNZ9PeeOldSNoE/lunLeQXKvkmIumI29IaKMotU/ln/McOIvgzZcQ/3TrSA==} + /@types/lodash.debounce@4.0.9: + resolution: {integrity: sha512-Ma5JcgTREwpLRwMM+XwBR7DaWe96nC38uCBDFKZWbNKD+osjVzdpnUSwBcqCptrp16sSOLBAUb50Car5I0TCsQ==} dependencies: - '@types/lodash': 4.14.199 + '@types/lodash': 4.17.5 dev: true /@types/lodash.once@4.1.9: resolution: {integrity: sha512-nvZ7GYfyZB6CUmXL+7HSXg53rFpc49FsKuRmMiCIGhgJB/yyTip8uHk4mxGyVJOl87dXPlf3qy42WsjOcIrnmg==} dependencies: - '@types/lodash': 4.14.199 + '@types/lodash': 4.17.5 dev: true - /@types/lodash.throttle@4.1.7: - resolution: {integrity: sha512-znwGDpjCHQ4FpLLx19w4OXDqq8+OvREa05H89obtSyXyOFKL3dDjCslsmfBz0T2FU8dmf5Wx1QvogbINiGIu9g==} + /@types/lodash.throttle@4.1.9: + resolution: {integrity: sha512-PCPVfpfueguWZQB7pJQK890F2scYKoDUL3iM522AptHWn7d5NQmeS/LTEHIcLr5PaTzl3dK2Z0xSUHHTHwaL5g==} dependencies: - '@types/lodash': 4.14.199 + '@types/lodash': 4.17.5 dev: true - /@types/lodash.uniq@4.5.7: - resolution: {integrity: sha512-qg7DeAbdZMi6DGvCxThlJycykLLhETrJrQZ6F2KaZ+o0sNK1qRHz46lgNA+nHHjwrmA2a91DyiZTp3ey3m1rEw==} + /@types/lodash.uniq@4.5.9: + resolution: {integrity: sha512-2Vd5avnDMNLbDSnUwwgwExKXvX9W3CN72rodT+ikGqGHXn7gVK6BM6Z+kHonbpGgCI2BzM+QDMHrkgKoofOi6A==} dependencies: - '@types/lodash': 4.14.199 + '@types/lodash': 4.17.5 dev: true - /@types/lodash.uniqby@4.7.7: - resolution: {integrity: sha512-sv2g6vkCIvEUsK5/Vq17haoZaisfj2EWW8mP7QWlnKi6dByoNmeuHDDXHR7sabuDqwO4gvU7ModIL22MmnOocg==} + /@types/lodash.uniqby@4.7.9: + resolution: {integrity: sha512-rjrXji/seS6BZJRgXrU2h6FqxRVufsbq/HE0Tx0SdgbtlWr2YmD/M64BlYEYYlaMcpZwy32IYVkMfUMYlPuv0w==} dependencies: - '@types/lodash': 4.14.199 + '@types/lodash': 4.17.5 dev: true - /@types/lodash@4.14.199: - resolution: {integrity: sha512-Vrjz5N5Ia4SEzWWgIVwnHNEnb1UE1XMkvY5DGXrAeOGE9imk0hgTHh5GyDjLDJi9OTCn9oo9dXH1uToK1VRfrg==} + /@types/lodash@4.17.5: + resolution: {integrity: sha512-MBIOHVZqVqgfro1euRDWX7OO0fBVUUMrN6Pwm8LQsz8cWhEpihlvR70ENj3f40j58TNxZaWv2ndSkInykNBBJw==} dev: true /@types/long@4.0.2: resolution: {integrity: sha512-MqTGEo5bj5t157U6fA/BiDynNkn0YknVdh48CMPkTSpFTVmvao5UQmm7uEF6xBEo7qIMAlY/JSleYaE6VOdpaA==} dev: false - /@types/mdast@4.0.3: - resolution: {integrity: sha512-LsjtqsyF+d2/yFOYaN22dHZI1Cpwkrj+g06G8+qtUKlhovPW89YhqSnfKtMbkgmEtYpH2gydRNULd6y8mciAFg==} + /@types/mdast@4.0.4: + resolution: {integrity: sha512-kGaNbPh1k7AFzgpud/gMdvIm5xuECykRR+JnWKQno9TAXVa6WIVCGTPvYGekIDL4uwCZQSYbUxNBSb1aUo79oA==} dependencies: '@types/unist': 3.0.2 dev: false - /@types/mdx@2.0.8: - resolution: {integrity: sha512-r7/zWe+f9x+zjXqGxf821qz++ld8tp6Z4jUS6qmPZUXH6tfh4riXOhAqb12tWGWAevCFtMt1goLWkQMqIJKpsA==} - dev: true - - /@types/mime-types@2.1.2: - resolution: {integrity: sha512-q9QGHMGCiBJCHEvd4ZLdasdqXv570agPsUW0CeIm/B8DzhxsYMerD0l3IlI+EQ1A2RWHY2mmM9x1YIuuWxisCg==} + /@types/mdx@2.0.13: + resolution: {integrity: sha512-+OWZQfAYyio6YkJb3HLxDrvnx6SWWDbC0zVPfBRzUk0/nqoDyf6dNxQi3eArPe8rJ473nobTMQ/8Zk+LxJ+Yuw==} dev: true - /@types/mime@1.3.3: - resolution: {integrity: sha512-Ys+/St+2VF4+xuY6+kDIXGxbNRO0mesVg0bbxEfB97Od1Vjpjx9KD1qxs64Gcb3CWPirk9Xe+PT4YiiHQ9T+eg==} + /@types/mime-types@2.1.4: + resolution: {integrity: sha512-lfU4b34HOri+kAY5UheuFMWPDOI+OPceBSHZKp69gEyTL/mmJ4cnU6Y/rlme3UL3GyOn6Y42hyIEw0/q8sWx5w==} dev: true - /@types/mime@3.0.2: - resolution: {integrity: sha512-Wj+fqpTLtTbG7c0tH47dkahefpLKEbB+xAZuLq7b4/IDHPl/n6VoXcyUQ2bypFlbSwvCr0y+bD4euTTqTJsPxQ==} + /@types/mime@1.3.5: + resolution: {integrity: sha512-/pyBZWSLD2n0dcHE3hq8s8ZvcETHtEuF+3E7XVt0Ig2nvsVQXdghHVcEkIWjy9A0wKfTn97a/PSDYohKIlnP/w==} dev: true /@types/minimatch@5.1.2: resolution: {integrity: sha512-K0VQKziLUWkVKiRVrx4a40iPaxTUefQmjtkQofBkYRcoaaL/8rhwDWww9qWbrgicNOgnpIsMxyNIUM4+n6dUIA==} - - /@types/minimist@1.2.3: - resolution: {integrity: sha512-ZYFzrvyWUNhaPomn80dsMNgMeXxNWZBdkuG/hWlUvXvbdUH8ZERNBGXnU87McuGcWDsyzX2aChCv/SVN348k3A==} dev: true - /@types/ms@0.7.32: - resolution: {integrity: sha512-xPSg0jm4mqgEkNhowKgZFBNtwoEwF6gJ4Dhww+GFpm3IgtNseHQZ5IqdNwnquZEoANxyDAKDRAdVo4Z72VvD/g==} + /@types/minimist@1.2.5: + resolution: {integrity: sha512-hov8bUuiLiyFPGyFPE1lwWhmzYbirOXQNNo40+y3zow8aFVTeyn3VWL0VFFfdNddA8S4Vf0Tc062rzyNr7Paag==} dev: true /@types/ms@0.7.34: resolution: {integrity: sha512-nG96G3Wp6acyAgJqGasjODb+acrI7KltPiRxzHPXnP3NgI28bpQDRv53olbqGXbfcgF5aiiHmO3xpwEpS5Ld9g==} - dev: false /@types/mute-stream@0.0.1: resolution: {integrity: sha512-0yQLzYhCqGz7CQPE3iDmYjhb7KMBFOP+tBkyw+/Y2YyDI5wpS7itXXxneN1zSsUwWx3Ji6YiVYrhAnpQGS/vkw==} dependencies: - '@types/node': 20.14.2 + '@types/node': 20.14.8 dev: true - /@types/mute-stream@0.0.2: - resolution: {integrity: sha512-FpiGjk6+IOrN0lZEfUUjdra1csU1VxwYFj4S0Zj+TJpu5x5mZW30RkEZojTadrNZHNmpCHgoE62IQZAH0OeuIA==} + /@types/mute-stream@0.0.4: + resolution: {integrity: sha512-CPM9nzrCPPJHQNA9keH9CVkVI+WR5kMa+7XEs5jcGQ0VoAGnLv242w8lIVgwAEfmE4oufJRaTc9PNLQl0ioAow==} dependencies: - '@types/node': 20.14.2 + '@types/node': 20.14.8 dev: true - /@types/node-fetch@2.6.6: - resolution: {integrity: sha512-95X8guJYhfqiuVVhRFxVQcf4hW/2bCuoPwDasMf/531STFoNoWTT7YDnWdXHEZKqAGUigmpG31r2FE70LwnzJw==} + /@types/node-fetch@2.6.11: + resolution: {integrity: sha512-24xFj9R5+rfQJLRyM56qh+wnVSYhyXC2tkoBndtY0U+vubqNsYXGjufB2nn8Q6gt0LrARwL6UBtMCSVCwl4B1g==} dependencies: - '@types/node': 20.11.0 + '@types/node': 20.14.8 form-data: 4.0.0 - /@types/node-persist@3.1.4: - resolution: {integrity: sha512-MXwo/ijhPIIKa5jLxwBfs8wTVZzwO36V/a12TSzsm5hAMFiY9CgSzbFobvQEmQTRu778CIIhJoT59KF2BzSYwg==} + /@types/node-persist@3.1.8: + resolution: {integrity: sha512-QLidg6/SadZYPrTKxtxL1A85XBoQlG40bhoMdhu6DH6+eNCMr2j+RGfFZ9I9+IY8W/PDwQonJ+iBWD62jZjMfg==} dependencies: - '@types/node': 20.11.0 - dev: true - - /@types/node@16.18.58: - resolution: {integrity: sha512-YGncyA25/MaVtQkjWW9r0EFBukZ+JulsLcVZBlGUfIb96OBMjkoRWwQo5IEWJ8Fj06Go3GHw+bjYDitv6BaGsA==} + '@types/node': 20.14.8 dev: true - /@types/node@18.19.7: - resolution: {integrity: sha512-IGRJfoNX10N/PfrReRZ1br/7SQ+2vF/tK3KXNwzXz82D32z5dMQEoOlFew18nLSN+vMNcLY4GrKfzwi/yWI8/w==} + /@types/node@18.19.30: + resolution: {integrity: sha512-453z1zPuJLVDbyahaa1sSD5C2sht6ZpHp5rgJNs+H8YGqhluCXcuOUmBYsAo0Tos0cHySJ3lVUGbGgLlqIkpyg==} dependencies: undici-types: 5.26.5 dev: true - /@types/node@20.11.0: - resolution: {integrity: sha512-o9bjXmDNcF7GbM4CNQpmi+TutCgap/K3w1JyKgxAjqx41zp9qlIAVFi0IhCNsJcXolEqLWhbFbEeL0PvYm4pcQ==} - dependencies: - undici-types: 5.26.5 - - /@types/node@20.11.20: - resolution: {integrity: sha512-7/rR21OS+fq8IyHTgtLkDK949uzsa6n8BkziAKtPVpugIkO6D+/ooXMvzXxDnZrmtXVfjb1bKQafYpb8s89LOg==} + /@types/node@18.19.39: + resolution: {integrity: sha512-nPwTRDKUctxw3di5b4TfT3I0sWDiWoPQCZjXhvdkINntwr8lcoVCKsTgnXeRubKIlfnV+eN/HYk6Jb40tbcEAQ==} dependencies: undici-types: 5.26.5 + dev: true - /@types/node@20.14.2: - resolution: {integrity: sha512-xyu6WAMVwv6AKFLB+e/7ySZVr/0zLCzOa7rSpq6jNwpqOrUbcACDWC+53d4n2QHOnDou0fbIsg8wZu/sxrnI4Q==} + /@types/node@20.14.8: + resolution: {integrity: sha512-DO+2/jZinXfROG7j7WKFn/3C6nFwxy2lLpgLjEXJz+0XKphZlTLJ14mo8Vfg8X5BWN6XjyESXq+LcYdT7tR3bA==} dependencies: undici-types: 5.26.5 - /@types/normalize-package-data@2.4.2: - resolution: {integrity: sha512-lqa4UEhhv/2sjjIQgjX8B+RBjj47eo0mzGasklVJ78UKGQY1r0VpB9XHDaZZO9qzEFDdy4MrXLuEaSmPrPSe/A==} + /@types/normalize-package-data@2.4.4: + resolution: {integrity: sha512-37i+OaWTh9qeK4LSHPsyRC7NahnGotNuZvjLSgcPzblpHB3rrCJxAOgI5gCdKm7coonsaX1Of0ILiTcnZjbfxA==} - /@types/npm-package-arg@6.1.2: - resolution: {integrity: sha512-K7TdZq7dTZKKgxaFGLR6VPAeNMDM7GwTELlVNyzQ0KKc6Du3+SYYRXFNEDrsCptpEpMjMNKVlb/5/ZNS/MeHjw==} + /@types/npm-package-arg@6.1.4: + resolution: {integrity: sha512-vDgdbMy2QXHnAruzlv68pUtXCjmqUk3WrBAsRboRovsOmxbfn/WiYCjmecyKjGztnMps5dWp4Uq2prp+Ilo17Q==} dev: true - /@types/npm-packlist@7.0.1: - resolution: {integrity: sha512-yXDRMaiBWpn7ZrWU95DSQwsEMOfPCWgOkJlQzLsDToRzNhRW3v6GxZXGjqMEwq5juziJleS6hNfjvwhTAuNZxQ==} + /@types/npm-packlist@7.0.3: + resolution: {integrity: sha512-NzSrjqJyBeEkvZSXaMtcWIre5jcKft70OrqrRZ2dhX7rt7lWWMGfmaCcHsp3OzhwIs15QbydxUZCP4k0JvATDQ==} dependencies: - '@types/ignore-walk': 4.0.1 - '@types/npmcli__arborist': 5.6.2 + '@types/ignore-walk': 4.0.3 + '@types/npmcli__arborist': 5.6.9 dev: true - /@types/npm-registry-fetch@8.0.5: - resolution: {integrity: sha512-mAyQmKTF/4dhXTeSicltEtMO+Vj/LEUoBkMgDn9tS2fGp8IsrZPkYv2GH0KKBcbFLXUq67wuzYwl0DCZGeRcpw==} + /@types/npm-registry-fetch@8.0.7: + resolution: {integrity: sha512-db9iBh7kDDg4lRT4k4XZ6IiecTEgFCID4qk+VDVPbtzU855q3KZLCn08ATr4H27ntRJVhulQ7GWjl24H42x96w==} dependencies: - '@types/node': 20.14.2 - '@types/node-fetch': 2.6.6 - '@types/npm-package-arg': 6.1.2 - '@types/npmlog': 4.1.4 - '@types/ssri': 7.1.2 + '@types/node': 20.14.8 + '@types/node-fetch': 2.6.11 + '@types/npm-package-arg': 6.1.4 + '@types/npmlog': 7.0.0 + '@types/ssri': 7.1.5 dev: true - /@types/npmcli__arborist@5.6.2: - resolution: {integrity: sha512-WoQds2QiNPxMCOiQXVwfTiHNOSEUyTR0DY2mev+sMMY1c6AxjCFEnbiZsHLDJnIGL363W9IAZz1GD0kQuKvoRg==} + /@types/npmcli__arborist@5.6.9: + resolution: {integrity: sha512-vKMXCdsuO5n05a2ZEtGUI8ZseO66rpcADD+CZ3Y7IAj3khWoTjmAnl+nJFIjGY6Z8mZbVKupqz4C0rmqm6BaEA==} dependencies: '@npm/types': 1.0.2 - '@types/cacache': 17.0.0 - '@types/npmcli__package-json': 4.0.1 - '@types/pacote': 11.1.6 + '@types/cacache': 17.0.2 + '@types/node': 20.14.8 + '@types/npmcli__package-json': 4.0.4 + '@types/pacote': 11.1.8 dev: true - /@types/npmcli__package-json@4.0.1: - resolution: {integrity: sha512-KgMyvMpqwQVVF3GuIb9rEEfrs7LQUuOeUMeqFJOI3NzhBI2HMnSMFxSRgrkj6WHac+NkbYjxkEugJocKr3L7rw==} + /@types/npmcli__package-json@4.0.4: + resolution: {integrity: sha512-6QjlFUSHBmZJWuC08bz1ZCx6tm4t+7+OJXAdvM6tL2pI7n6Bh5SIp/YxQvnOLFf8MzCXs2ijyFgrzaiu1UFBGA==} dev: true - /@types/npmlog@4.1.4: - resolution: {integrity: sha512-WKG4gTr8przEZBiJ5r3s8ZIAoMXNbOgQ+j/d5O4X3x6kZJRLNvyUJuUK/KoG3+8BaOHPhp2m7WC6JKKeovDSzQ==} + /@types/npmlog@7.0.0: + resolution: {integrity: sha512-hJWbrKFvxKyWwSUXjZMYTINsSOY6IclhvGOZ97M8ac2tmR9hMwmTnYaMdpGhvju9ctWLTPhCS+eLfQNluiEjQQ==} + dependencies: + '@types/node': 20.14.8 dev: true - /@types/pacote@11.1.6: - resolution: {integrity: sha512-Uh0+ivCS2p+pMFZmU1u20sGi7O8BJnBOCuNXsBaAMD/6/NIcbI/CcnBUNpTeVhOuFmOwn9/z8BxprpPhL+UkVg==} + /@types/pacote@11.1.8: + resolution: {integrity: sha512-/XLR0VoTh2JEO0jJg1q/e6Rh9bxjBq9vorJuQmtT7rRrXSiWz7e7NsvXVYJQ0i8JxMlBMPPYDTnrRe7MZRFA8Q==} dependencies: - '@types/node': 20.14.2 - '@types/npm-registry-fetch': 8.0.5 - '@types/npmlog': 4.1.4 - '@types/ssri': 7.1.2 + '@types/node': 20.14.8 + '@types/npm-registry-fetch': 8.0.7 + '@types/npmlog': 7.0.0 + '@types/ssri': 7.1.5 dev: true /@types/prettier@2.6.0: resolution: {integrity: sha512-G/AdOadiZhnJp0jXCaBQU449W2h716OW/EoXeYkCytxKL06X1WCXB4DZpp8TpZ8eyIJVS1cw4lrlkkSYU21cDw==} dev: true - /@types/pretty-hrtime@1.0.1: - resolution: {integrity: sha512-VjID5MJb1eGKthz2qUerWT8+R4b9N+CHvGCzg9fn4kWZgaF9AhdYikQio3R7wV8YY1NsQKPaCwKz1Yff+aHNUQ==} + /@types/pretty-hrtime@1.0.3: + resolution: {integrity: sha512-nj39q0wAIdhwn7DGUyT9irmsKK1tV0bd5WFEhgpqNTMFZ8cE+jieuTphCW0tfdm47S2zVT5mr09B28b1chmQMA==} dev: true - /@types/prop-types@15.7.8: - resolution: {integrity: sha512-kMpQpfZKSCBqltAJwskgePRaYRFukDkm1oItcAbC3gNELR20XIBcN9VRgg4+m8DKsTfkWeA4m4Imp4DDuWy7FQ==} + /@types/prop-types@15.7.12: + resolution: {integrity: sha512-5zvhXYtRNRluoE/jAp4GVsSduVUzNWKkOZrCDBWYtE7biZywwdC2AcEzg+cSMLFRfVgeAFqpfNabiPjxFddV1Q==} - /@types/qs@6.9.8: - resolution: {integrity: sha512-u95svzDlTysU5xecFNTgfFG5RUWu1A9P0VzgpcIiGZA9iraHOdSzcxMxQ55DyeRaGCSxQi7LxXDI4rzq/MYfdg==} + /@types/qs@6.9.15: + resolution: {integrity: sha512-uXHQKES6DQKKCLh441Xv/dwxOq1TVS3JPUMlEqoEglvlhR6Mxnlew/Xq/LRVHpLyk7iK3zODe1qYHIMltO7XGg==} dev: true - /@types/range-parser@1.2.5: - resolution: {integrity: sha512-xrO9OoVPqFuYyR/loIHjnbvvyRZREYKLjxV4+dY6v3FQR3stQ9ZxIGkaclF7YhI9hfjpuTbu14hZEy94qKLtOA==} + /@types/range-parser@1.2.7: + resolution: {integrity: sha512-hKormJbkJqzQGhziax5PItDUTMAM9uE2XXQmM37dyd4hVM+5aVl7oVxMVUiVQn2oCQFN/LKCZdvSM0pFRqbSmQ==} dev: true - /@types/react-dom@18.2.11: - resolution: {integrity: sha512-zq6Dy0EiCuF9pWFW6I6k6W2LdpUixLE4P6XjXU1QHLfak3GPACQfLwEuHzY5pOYa4hzj1d0GxX/P141aFjZsyg==} + /@types/react-dom@18.3.0: + resolution: {integrity: sha512-EhwApuTmMBmXuFOikhQLIBUn6uFg81SwLMOAUgodJF14SOBOCMdU04gDoYi0WOJJHD144TL32z4yDqCW3dnkQg==} dependencies: - '@types/react': 18.2.25 + '@types/react': 18.3.3 dev: true - /@types/react@18.2.25: - resolution: {integrity: sha512-24xqse6+VByVLIr+xWaQ9muX1B4bXJKXBbjszbld/UEDslGLY53+ZucF44HCmLbMPejTzGG9XgR+3m2/Wqu1kw==} + /@types/react@18.3.3: + resolution: {integrity: sha512-hti/R0pS0q1/xx+TsI73XIqk26eBsISZ2R0wUijXIngRK9R/e7Xw/cXVxQK7R5JjW+SV4zGcn5hXjudkN/pLIw==} dependencies: - '@types/prop-types': 15.7.8 - '@types/scheduler': 0.16.4 - csstype: 3.1.2 + '@types/prop-types': 15.7.12 + csstype: 3.1.3 - /@types/request@2.48.11: - resolution: {integrity: sha512-HuihY1+Vss5RS9ZHzRyTGIzwPTdrJBkCm/mAeLRYrOQu/MGqyezKXWOK1VhCnR+SDbp9G2mRUP+OVEqCrzpcfA==} + /@types/request@2.48.12: + resolution: {integrity: sha512-G3sY+NpsA9jnwm0ixhAFQSJ3Q9JkpLZpJbI3GMv0mIAT0y3mRabYeINzal5WOChIiaTEGQYlHOKgkaM9EisWHw==} dependencies: - '@types/caseless': 0.12.4 - '@types/node': 20.14.2 - '@types/tough-cookie': 4.0.4 + '@types/caseless': 0.12.5 + '@types/node': 20.14.8 + '@types/tough-cookie': 4.0.5 form-data: 2.5.1 dev: false - /@types/scheduler@0.16.4: - resolution: {integrity: sha512-2L9ifAGl7wmXwP4v3pN4p2FLhD0O1qsJpvKmNin5VA8+UvNVb447UDaAEV6UdrkA+m/Xs58U1RFps44x6TFsVQ==} + /@types/resolve@1.20.6: + resolution: {integrity: sha512-A4STmOXPhMUtHH+S6ymgE2GiBSMqf4oTvcQZMcHzokuTLVYzXTB8ttjcgxOVaAp2lGwEdzZ0J+cRbbeevQj1UQ==} + dev: true - /@types/semver-utils@1.1.1: - resolution: {integrity: sha512-WLZZQdwo5P+H6R+bDDCFqFSlP5Jtk6gyXpE0R0KAVQbcMGmxpVsNX8dah640hY4+PpRG2+Ph3dcwDHzrOAOZ7A==} + /@types/semver-utils@1.1.3: + resolution: {integrity: sha512-T+YwkslhsM+CeuhYUxyAjWm7mJ5am/K10UX40RuA6k6Lc7eGtq8iY2xOzy7Vq0GOqhl/xZl5l2FwURZMTPTUww==} dev: true - /@types/semver@7.5.3: - resolution: {integrity: sha512-OxepLK9EuNEIPxWNME+C6WwbRAOOI2o2BaQEGzz5Lu2e4Z5eDnEo+/aVEDMIXywoJitJ7xWd641wrGLZdtwRyw==} + /@types/semver@7.5.8: + resolution: {integrity: sha512-I8EUhyrgfLrcTkzV3TSsGyl1tSuPrEDzr0yd5m90UgNxQkyDXULk3b6MlQqTCpZpNtWe1K0hzclnZkTcLBe2UQ==} - /@types/send@0.17.2: - resolution: {integrity: sha512-aAG6yRf6r0wQ29bkS+x97BIs64ZLxeE/ARwyS6wrldMm3C1MdKwCcnnEwMC1slI8wuxJOpiUH9MioC0A0i+GJw==} + /@types/send@0.17.4: + resolution: {integrity: sha512-x2EM6TJOybec7c52BX0ZspPodMsQUd5L6PRwOunVyVUhXiBSKf3AezDL8Dgvgt5o0UfKNfuA0eMLr2wLT4AiBA==} dependencies: - '@types/mime': 1.3.3 - '@types/node': 20.14.2 + '@types/mime': 1.3.5 + '@types/node': 20.14.8 dev: true - /@types/serve-static@1.15.3: - resolution: {integrity: sha512-yVRvFsEMrv7s0lGhzrggJjNOSmZCdgCjw9xWrPr/kNNLp6FaDfMC1KaYl3TSJ0c58bECwNBMoQrZJ8hA8E1eFg==} + /@types/serve-static@1.15.7: + resolution: {integrity: sha512-W8Ym+h8nhuRwaKPaDw34QUkwsGi6Rc4yYqvKFo5rm2FUEhCFbzVWrxXUxuKK8TASjWsysJY0nsmNCGhCOIsrOw==} dependencies: - '@types/http-errors': 2.0.2 - '@types/mime': 3.0.2 - '@types/node': 20.14.2 + '@types/http-errors': 2.0.4 + '@types/node': 20.14.8 + '@types/send': 0.17.4 dev: true - /@types/sinon@10.0.19: - resolution: {integrity: sha512-MWZNGPSchIdDfb5FL+VFi4zHsHbNOTQEgjqFQk7HazXSXwUU9PAX3z9XBqb3AJGYr9YwrtCtaSMsT3brYsN/jQ==} + /@types/sinon@10.0.20: + resolution: {integrity: sha512-2APKKruFNCAZgx3daAyACGzWuJ028VVCUDk6o2rw/Z4PXT0ogwdV4KUegW0MwVs0Zu59auPXbbuBJHF12Sx1Eg==} dependencies: - '@types/sinonjs__fake-timers': 8.1.3 + '@types/sinonjs__fake-timers': 8.1.5 dev: true - /@types/sinonjs__fake-timers@8.1.3: - resolution: {integrity: sha512-4g+2YyWe0Ve+LBh+WUm1697PD0Kdi6coG1eU0YjQbwx61AZ8XbEpL1zIT6WjuUKrCMCROpEaYQPDjBnDouBVAQ==} + /@types/sinonjs__fake-timers@8.1.5: + resolution: {integrity: sha512-mQkU2jY8jJEF7YHjHvsQO8+3ughTL1mcnn96igfhONmR+fUPSKIkefQYpSe8bsly2Ep7oQbn/6VG5/9/0qcArQ==} dev: true - /@types/ssri@7.1.2: - resolution: {integrity: sha512-Mbo/NaBiZlXNlOFTLK+PXeVEzKFxi+ZVELuzmk4VxdRz6aqKpmP9bhcNqsIB2c/s78355WBHwUCGYhQDydcfEg==} + /@types/ssri@7.1.5: + resolution: {integrity: sha512-odD/56S3B51liILSk5aXJlnYt99S6Rt9EFDDqGtJM26rKHApHcwyU/UoYHrzKkdkHMAIquGWCuHtQTbes+FRQw==} dependencies: - '@types/node': 20.14.2 + '@types/node': 20.14.8 - /@types/stack-utils@2.0.1: - resolution: {integrity: sha512-Hl219/BT5fLAaz6NDkSuhzasy49dwQS/DSdu4MdggFB8zcXv7vflBI3xp7FEmkmdDkBUI2bPUNeMttp2knYdxw==} + /@types/stack-utils@2.0.3: + resolution: {integrity: sha512-9aEbYZ3TbYMznPdcdr3SmIrLXwC/AKZXQeCf9Pgao5CKb8CyHuEX5jzWPTkvregvhRJHcpRO6BFoGW9ycaOkYw==} dev: true - /@types/tar@6.1.6: - resolution: {integrity: sha512-HQ06kiiDXz9uqtmE9ksQUn1ovcPr1gGV9EgaCWo6FGYKD0onNBCetBzL0kfcS8Kbj1EFxJWY9jL2W4ZvvtGI8Q==} + /@types/tar@6.1.13: + resolution: {integrity: sha512-IznnlmU5f4WcGTh2ltRu/Ijpmk8wiWXfF0VA4s+HPjHZgvFggk1YaIkbo5krX/zUCzWF8N/l4+W/LNxnvAJ8nw==} dependencies: - '@types/node': 20.11.0 + '@types/node': 20.14.8 minipass: 4.2.8 dev: true /@types/through@0.0.33: resolution: {integrity: sha512-HsJ+z3QuETzP3cswwtzt2vEIiHBk/dCcHGhbmG5X3ecnwFD/lPrMpliGXxSCg03L9AhrdwA4Oz/qfspkDW+xGQ==} dependencies: - '@types/node': 20.14.2 + '@types/node': 20.14.8 dev: true - /@types/tough-cookie@4.0.4: - resolution: {integrity: sha512-95Sfz4nvMAb0Nl9DTxN3j64adfwfbBPEYq14VN7zT5J5O2M9V6iZMIIQU1U+pJyl9agHYHNCqhCXgyEtIRRa5A==} + /@types/tough-cookie@4.0.5: + resolution: {integrity: sha512-/Ad8+nIOV7Rl++6f1BdKxFSMgmoqEoYbHRpPcx3JEfv8VRsQe9Z4mCXeJBzxs7mbHY/XOZZuXlRNfhpVPbs6ZA==} dev: false - /@types/triple-beam@1.3.3: - resolution: {integrity: sha512-6tOUG+nVHn0cJbVp25JFayS5UE6+xlbcNF9Lo9mU7U0zk3zeUShZied4YEQZjy1JBF043FSkdXw8YkUJuVtB5g==} + /@types/triple-beam@1.3.5: + resolution: {integrity: sha512-6WaYesThRMCl19iryMYP7/x2OVgCtbIVflDGFpWnb9irXI3UjYE4AzmYuiUKY1AJstGijoY+MgUszMgRxIYTYw==} requiresBuild: true dev: false optional: true @@ -11546,12 +11025,11 @@ packages: /@types/tunnel@0.0.3: resolution: {integrity: sha512-sOUTGn6h1SfQ+gbgqC364jLFBw2lnFqkgF3q0WovEHRLMrVD1sd5aufqi/aJObLekJO+Aq5z646U4Oxy6shXMA==} dependencies: - '@types/node': 20.14.2 + '@types/node': 20.14.8 dev: false /@types/unist@2.0.10: resolution: {integrity: sha512-IfYcSBWE3hLpBg8+X2SEa8LVkJdJEkT2Ese2aaLs3ptGdVtABxndrMaxuFlQ1qdFf9Q5rDvDpxI3WwgvKFAsQA==} - dev: true /@types/unist@3.0.2: resolution: {integrity: sha512-dqId9J8K/vGi5Zr7oo212BGii5m3q5Hxlkwy3WpYuKPklmBEvsbMYYyLxAQpSffdLl/gdW0XUpKWFvYmyoWCoQ==} @@ -11561,16 +11039,16 @@ packages: resolution: {integrity: sha512-c/I8ZRb51j+pYGAu5CrFMRxqZ2ke4y2grEBO5AUjgSkSk+qT2Ea+OdWElz/OiMf5MNpn2b17kuVBwZLQJXzihw==} dev: true - /@types/uuid@9.0.5: - resolution: {integrity: sha512-xfHdwa1FMJ082prjSJpoEI57GZITiQz10r3vEJCHa2khEFQjKy91aWKz6+zybzssCvXUwE1LQWgWVwZ4nYUvHQ==} + /@types/uuid@9.0.8: + resolution: {integrity: sha512-jg+97EGIcY9AGHJJRaaPVgetKDsrTgbRjQ5Msgjh/DQKEFl0DtyRr/VCOyD1T2R1MNeWPK/u7JoGhlDZnKBAfA==} dev: true - /@types/vscode@1.83.0: - resolution: {integrity: sha512-3mUtHqLAVz9hegut9au4xehuBrzRE3UJiQMpoEHkNl6XHliihO7eATx2BMHs0odsmmrwjJrlixx/Pte6M3ygDQ==} + /@types/vscode@1.90.0: + resolution: {integrity: sha512-oT+ZJL7qHS9Z8bs0+WKf/kQ27qWYR3trsXpq46YDjFqBsMLG4ygGGjPaJ2tyrH0wJzjOEmDyg9PDJBBhWg9pkQ==} dev: true - /@types/which@3.0.0: - resolution: {integrity: sha512-ASCxdbsrwNfSMXALlC3Decif9rwDMu+80KGp5zI2RLRotfMsTv7fHL8W8VDp24wymzDyIFudhUeSCugrgRFfHQ==} + /@types/which@3.0.4: + resolution: {integrity: sha512-liyfuo/106JdlgSchJzXEQCVArk0CvevqPote8F8HgWgJ3dRCcTHgJIsLDuee0kxk/mhbInzIZk3QWSZJ8R+2w==} dev: true /@types/wrap-ansi@3.0.0: @@ -11580,36 +11058,29 @@ packages: /@types/ws@8.5.10: resolution: {integrity: sha512-vmQSUcfalpIq0R9q7uTo2lXs6eGIpt9wtnLdMv9LVpIjCA/+ufZRozlVoVelIYixx1ugCBKDhn89vnsEGOCx9A==} dependencies: - '@types/node': 20.14.2 - dev: false - - /@types/ws@8.5.6: - resolution: {integrity: sha512-8B5EO9jLVCy+B58PLHvLDuOD8DRVMgQzq8d55SjLCOn9kqGyqOvy27exVaTio1q1nX5zLu8/6N0n2ThSxOM6tg==} - dependencies: - '@types/node': 20.11.0 - dev: true + '@types/node': 20.14.8 - /@types/yargs-parser@21.0.1: - resolution: {integrity: sha512-axdPBuLuEJt0c4yI5OZssC19K2Mq1uKdrfZBzuxLvaztgqUtFYZUNw7lETExPYJR9jdEoIg4mb7RQKRQzOkeGQ==} + /@types/yargs-parser@21.0.3: + resolution: {integrity: sha512-I4q9QU9MQv4oEOz4tAHJtNz1cwuLxn2F3xcc2iV5WdqLPpUnj30aUuxt1mAxYTG+oe8CZMV/+6rU4S4gRDzqtQ==} dev: true - /@types/yargs@16.0.6: - resolution: {integrity: sha512-oTP7/Q13GSPrgcwEwdlnkoZSQ1Hg9THe644qq8PG6hhJzjZ3qj1JjEFPIwWV/IXVs5XGIVqtkNOS9kh63WIJ+A==} + /@types/yargs@16.0.9: + resolution: {integrity: sha512-tHhzvkFXZQeTECenFoRljLBYPZJ7jAVxqqtEI0qTLOmuultnFp4I9yKE17vTuhf7BkhCu7I4XuemPgikDVuYqA==} dependencies: - '@types/yargs-parser': 21.0.1 + '@types/yargs-parser': 21.0.3 dev: true - /@types/yargs@17.0.28: - resolution: {integrity: sha512-N3e3fkS86hNhtk6BEnc0rj3zcehaxx8QWhCROJkqpl5Zaoi7nAic3jH8q94jVD3zu5LGk+PUB6KAiDmimYOEQw==} + /@types/yargs@17.0.32: + resolution: {integrity: sha512-xQ67Yc/laOG5uMfX/093MRlGGCIBzZMarVa+gfNKJxWAIgykYpVGkBdbqEzGDDfCrVUj6Hiff4mTZ5BA6TmAog==} dependencies: - '@types/yargs-parser': 21.0.1 + '@types/yargs-parser': 21.0.3 dev: true /@types/yauzl@2.10.3: resolution: {integrity: sha512-oJoftv0LSuaDZE3Le4DbKX+KS9G36NzOeSap90UIK0yMA/NhKJhqlSGtNDORNRaIbQfzjXDrQa0ytJ6mNRGz/Q==} requiresBuild: true dependencies: - '@types/node': 20.14.2 + '@types/node': 20.14.8 dev: true optional: true @@ -11617,7 +11088,7 @@ packages: resolution: {integrity: sha512-S9q47ByT2pPvD65IvrWp7qppVMpk9WGMbVq9wbWZOHg6tnXSD4vyhao6nOSBwwfDdV2p3Kx9evA9vI+XWTfDvw==} dev: true - /@typescript-eslint/eslint-plugin@5.62.0(@typescript-eslint/parser@5.62.0)(eslint@8.51.0)(typescript@5.2.2): + /@typescript-eslint/eslint-plugin@5.62.0(@typescript-eslint/parser@5.62.0)(eslint@8.57.0)(typescript@5.3.3): resolution: {integrity: sha512-TiZzBSJja/LbhNPvk6yc0JrX9XqhQ0hdh6M2svYfsHGejaKFIAGd9MQ+ERIMzLGlN/kZoYIgdxFV0PuljTKXag==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: @@ -11628,24 +11099,24 @@ packages: typescript: optional: true dependencies: - '@eslint-community/regexpp': 4.9.1 - '@typescript-eslint/parser': 5.62.0(eslint@8.51.0)(typescript@5.2.2) + '@eslint-community/regexpp': 4.10.1 + '@typescript-eslint/parser': 5.62.0(eslint@8.57.0)(typescript@5.3.3) '@typescript-eslint/scope-manager': 5.62.0 - '@typescript-eslint/type-utils': 5.62.0(eslint@8.51.0)(typescript@5.2.2) - '@typescript-eslint/utils': 5.62.0(eslint@8.51.0)(typescript@5.2.2) - debug: 4.3.4(supports-color@5.5.0) - eslint: 8.51.0 + '@typescript-eslint/type-utils': 5.62.0(eslint@8.57.0)(typescript@5.3.3) + '@typescript-eslint/utils': 5.62.0(eslint@8.57.0)(typescript@5.3.3) + debug: 4.3.5(supports-color@5.5.0) + eslint: 8.57.0 graphemer: 1.4.0 - ignore: 5.2.4 + ignore: 5.3.1 natural-compare-lite: 1.4.0 - semver: 7.5.4 - tsutils: 3.21.0(typescript@5.2.2) - typescript: 5.2.2 + semver: 7.6.2 + tsutils: 3.21.0(typescript@5.3.3) + typescript: 5.3.3 transitivePeerDependencies: - supports-color - dev: false + dev: true - /@typescript-eslint/eslint-plugin@5.62.0(@typescript-eslint/parser@5.62.0)(eslint@8.51.0)(typescript@5.3.3): + /@typescript-eslint/eslint-plugin@5.62.0(@typescript-eslint/parser@5.62.0)(eslint@8.57.0)(typescript@5.5.2): resolution: {integrity: sha512-TiZzBSJja/LbhNPvk6yc0JrX9XqhQ0hdh6M2svYfsHGejaKFIAGd9MQ+ERIMzLGlN/kZoYIgdxFV0PuljTKXag==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: @@ -11656,25 +11127,24 @@ packages: typescript: optional: true dependencies: - '@eslint-community/regexpp': 4.9.1 - '@typescript-eslint/parser': 5.62.0(eslint@8.51.0)(typescript@5.3.3) + '@eslint-community/regexpp': 4.10.1 + '@typescript-eslint/parser': 5.62.0(eslint@8.57.0)(typescript@5.5.2) '@typescript-eslint/scope-manager': 5.62.0 - '@typescript-eslint/type-utils': 5.62.0(eslint@8.51.0)(typescript@5.3.3) - '@typescript-eslint/utils': 5.62.0(eslint@8.51.0)(typescript@5.3.3) - debug: 4.3.4(supports-color@5.5.0) - eslint: 8.51.0 + '@typescript-eslint/type-utils': 5.62.0(eslint@8.57.0)(typescript@5.5.2) + '@typescript-eslint/utils': 5.62.0(eslint@8.57.0)(typescript@5.5.2) + debug: 4.3.5(supports-color@5.5.0) + eslint: 8.57.0 graphemer: 1.4.0 - ignore: 5.2.4 + ignore: 5.3.1 natural-compare-lite: 1.4.0 - semver: 7.5.4 - tsutils: 3.21.0(typescript@5.3.3) - typescript: 5.3.3 + semver: 7.6.2 + tsutils: 3.21.0(typescript@5.5.2) + typescript: 5.5.2 transitivePeerDependencies: - supports-color - dev: true - /@typescript-eslint/eslint-plugin@6.7.4(@typescript-eslint/parser@6.7.4)(eslint@8.51.0)(typescript@5.3.3): - resolution: {integrity: sha512-DAbgDXwtX+pDkAHwiGhqP3zWUGpW49B7eqmgpPtg+BKJXwdct79ut9+ifqOFPJGClGKSHXn2PTBatCnldJRUoA==} + /@typescript-eslint/eslint-plugin@6.21.0(@typescript-eslint/parser@6.21.0)(eslint@8.57.0)(typescript@5.5.2): + resolution: {integrity: sha512-oy9+hTPCUFpngkEZUSzbf9MxI65wbKFoQYsgPdILTfbUldp5ovUuphZVe4i30emU9M/kP+T64Di0mxl7dSw3MA==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: '@typescript-eslint/parser': ^6.0.0 || ^6.0.0-alpha @@ -11684,27 +11154,27 @@ packages: typescript: optional: true dependencies: - '@eslint-community/regexpp': 4.9.1 - '@typescript-eslint/parser': 6.7.4(eslint@8.51.0)(typescript@5.3.3) - '@typescript-eslint/scope-manager': 6.7.4 - '@typescript-eslint/type-utils': 6.7.4(eslint@8.51.0)(typescript@5.3.3) - '@typescript-eslint/utils': 6.7.4(eslint@8.51.0)(typescript@5.3.3) - '@typescript-eslint/visitor-keys': 6.7.4 - debug: 4.3.4(supports-color@5.5.0) - eslint: 8.51.0 + '@eslint-community/regexpp': 4.10.1 + '@typescript-eslint/parser': 6.21.0(eslint@8.57.0)(typescript@5.5.2) + '@typescript-eslint/scope-manager': 6.21.0 + '@typescript-eslint/type-utils': 6.21.0(eslint@8.57.0)(typescript@5.5.2) + '@typescript-eslint/utils': 6.21.0(eslint@8.57.0)(typescript@5.5.2) + '@typescript-eslint/visitor-keys': 6.21.0 + debug: 4.3.5(supports-color@5.5.0) + eslint: 8.57.0 graphemer: 1.4.0 - ignore: 5.2.4 + ignore: 5.3.1 natural-compare: 1.4.0 - semver: 7.5.4 - ts-api-utils: 1.0.3(typescript@5.3.3) - typescript: 5.3.3 + semver: 7.6.2 + ts-api-utils: 1.3.0(typescript@5.5.2) + typescript: 5.5.2 transitivePeerDependencies: - supports-color dev: true - /@typescript-eslint/eslint-plugin@7.0.2(@typescript-eslint/parser@7.0.2)(eslint@8.56.0)(typescript@5.3.3): - resolution: {integrity: sha512-/XtVZJtbaphtdrWjr+CJclaCVGPtOdBpFEnvtNf/jRV0IiEemRrL0qABex/nEt8isYcnFacm3nPHYQwL+Wb7qg==} - engines: {node: ^16.0.0 || >=18.0.0} + /@typescript-eslint/eslint-plugin@7.13.1(@typescript-eslint/parser@7.13.1)(eslint@8.57.0)(typescript@5.5.2): + resolution: {integrity: sha512-kZqi+WZQaZfPKnsflLJQCz6Ze9FFSMfXrrIOcyargekQxG37ES7DJNpJUE9Q/X5n3yTIP/WPutVNzgknQ7biLg==} + engines: {node: ^18.18.0 || >=20.0.0} peerDependencies: '@typescript-eslint/parser': ^7.0.0 eslint: ^8.56.0 @@ -11713,25 +11183,23 @@ packages: typescript: optional: true dependencies: - '@eslint-community/regexpp': 4.9.1 - '@typescript-eslint/parser': 7.0.2(eslint@8.56.0)(typescript@5.3.3) - '@typescript-eslint/scope-manager': 7.0.2 - '@typescript-eslint/type-utils': 7.0.2(eslint@8.56.0)(typescript@5.3.3) - '@typescript-eslint/utils': 7.0.2(eslint@8.56.0)(typescript@5.3.3) - '@typescript-eslint/visitor-keys': 7.0.2 - debug: 4.3.4(supports-color@5.5.0) - eslint: 8.56.0 + '@eslint-community/regexpp': 4.10.1 + '@typescript-eslint/parser': 7.13.1(eslint@8.57.0)(typescript@5.5.2) + '@typescript-eslint/scope-manager': 7.13.1 + '@typescript-eslint/type-utils': 7.13.1(eslint@8.57.0)(typescript@5.5.2) + '@typescript-eslint/utils': 7.13.1(eslint@8.57.0)(typescript@5.5.2) + '@typescript-eslint/visitor-keys': 7.13.1 + eslint: 8.57.0 graphemer: 1.4.0 - ignore: 5.2.4 + ignore: 5.3.1 natural-compare: 1.4.0 - semver: 7.5.4 - ts-api-utils: 1.0.3(typescript@5.3.3) - typescript: 5.3.3 + ts-api-utils: 1.3.0(typescript@5.5.2) + typescript: 5.5.2 transitivePeerDependencies: - supports-color dev: true - /@typescript-eslint/parser@5.62.0(eslint@8.51.0)(typescript@5.2.2): + /@typescript-eslint/parser@5.62.0(eslint@8.57.0)(typescript@5.3.3): resolution: {integrity: sha512-VlJEV0fOQ7BExOsHYAGrgbEiZoi8D+Bl2+f6V2RrXerRSylnp+ZBHmPvaIa8cz0Ajx7WO7Z5RqfgYg7ED1nRhA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: @@ -11743,15 +11211,14 @@ packages: dependencies: '@typescript-eslint/scope-manager': 5.62.0 '@typescript-eslint/types': 5.62.0 - '@typescript-eslint/typescript-estree': 5.62.0(typescript@5.2.2) - debug: 4.3.4(supports-color@5.5.0) - eslint: 8.51.0 - typescript: 5.2.2 + '@typescript-eslint/typescript-estree': 5.62.0(typescript@5.3.3) + debug: 4.3.5(supports-color@5.5.0) + eslint: 8.57.0 + typescript: 5.3.3 transitivePeerDependencies: - supports-color - dev: false - /@typescript-eslint/parser@5.62.0(eslint@8.51.0)(typescript@5.3.3): + /@typescript-eslint/parser@5.62.0(eslint@8.57.0)(typescript@5.5.2): resolution: {integrity: sha512-VlJEV0fOQ7BExOsHYAGrgbEiZoi8D+Bl2+f6V2RrXerRSylnp+ZBHmPvaIa8cz0Ajx7WO7Z5RqfgYg7ED1nRhA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: @@ -11763,15 +11230,15 @@ packages: dependencies: '@typescript-eslint/scope-manager': 5.62.0 '@typescript-eslint/types': 5.62.0 - '@typescript-eslint/typescript-estree': 5.62.0(typescript@5.3.3) - debug: 4.3.4(supports-color@5.5.0) - eslint: 8.51.0 - typescript: 5.3.3 + '@typescript-eslint/typescript-estree': 5.62.0(typescript@5.5.2) + debug: 4.3.5(supports-color@5.5.0) + eslint: 8.57.0 + typescript: 5.5.2 transitivePeerDependencies: - supports-color - /@typescript-eslint/parser@6.7.4(eslint@8.51.0)(typescript@5.3.3): - resolution: {integrity: sha512-I5zVZFY+cw4IMZUeNCU7Sh2PO5O57F7Lr0uyhgCJmhN/BuTlnc55KxPonR4+EM3GBdfiCyGZye6DgMjtubQkmA==} + /@typescript-eslint/parser@6.21.0(eslint@8.57.0)(typescript@5.5.2): + resolution: {integrity: sha512-tbsV1jPne5CkFQCgPBcDOt30ItF7aJoZL997JSF7MhGQqOeT3svWRYxiqlfA5RUdlHN6Fi+EI9bxqbdyAUZjYQ==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: eslint: ^7.0.0 || ^8.0.0 @@ -11780,20 +11247,20 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/scope-manager': 6.7.4 - '@typescript-eslint/types': 6.7.4 - '@typescript-eslint/typescript-estree': 6.7.4(typescript@5.3.3) - '@typescript-eslint/visitor-keys': 6.7.4 - debug: 4.3.4(supports-color@5.5.0) - eslint: 8.51.0 - typescript: 5.3.3 + '@typescript-eslint/scope-manager': 6.21.0 + '@typescript-eslint/types': 6.21.0 + '@typescript-eslint/typescript-estree': 6.21.0(typescript@5.5.2) + '@typescript-eslint/visitor-keys': 6.21.0 + debug: 4.3.5(supports-color@5.5.0) + eslint: 8.57.0 + typescript: 5.5.2 transitivePeerDependencies: - supports-color dev: true - /@typescript-eslint/parser@7.0.2(eslint@8.56.0)(typescript@5.3.3): - resolution: {integrity: sha512-GdwfDglCxSmU+QTS9vhz2Sop46ebNCXpPPvsByK7hu0rFGRHL+AusKQJ7SoN+LbLh6APFpQwHKmDSwN35Z700Q==} - engines: {node: ^16.0.0 || >=18.0.0} + /@typescript-eslint/parser@7.13.1(eslint@8.57.0)(typescript@5.5.2): + resolution: {integrity: sha512-1ELDPlnLvDQ5ybTSrMhRTFDfOQEOXNM+eP+3HT/Yq7ruWpciQw+Avi73pdEbA4SooCawEWo3dtYbF68gN7Ed1A==} + engines: {node: ^18.18.0 || >=20.0.0} peerDependencies: eslint: ^8.56.0 typescript: '*' @@ -11801,13 +11268,13 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/scope-manager': 7.0.2 - '@typescript-eslint/types': 7.0.2 - '@typescript-eslint/typescript-estree': 7.0.2(typescript@5.3.3) - '@typescript-eslint/visitor-keys': 7.0.2 - debug: 4.3.4(supports-color@5.5.0) - eslint: 8.56.0 - typescript: 5.3.3 + '@typescript-eslint/scope-manager': 7.13.1 + '@typescript-eslint/types': 7.13.1 + '@typescript-eslint/typescript-estree': 7.13.1(typescript@5.5.2) + '@typescript-eslint/visitor-keys': 7.13.1 + debug: 4.3.5(supports-color@5.5.0) + eslint: 8.57.0 + typescript: 5.5.2 transitivePeerDependencies: - supports-color dev: true @@ -11819,23 +11286,23 @@ packages: '@typescript-eslint/types': 5.62.0 '@typescript-eslint/visitor-keys': 5.62.0 - /@typescript-eslint/scope-manager@6.7.4: - resolution: {integrity: sha512-SdGqSLUPTXAXi7c3Ob7peAGVnmMoGzZ361VswK2Mqf8UOYcODiYvs8rs5ILqEdfvX1lE7wEZbLyELCW+Yrql1A==} + /@typescript-eslint/scope-manager@6.21.0: + resolution: {integrity: sha512-OwLUIWZJry80O99zvqXVEioyniJMa+d2GrqpUTqi5/v5D5rOrppJVBPa0yKCblcigC0/aYAzxxqQ1B+DS2RYsg==} engines: {node: ^16.0.0 || >=18.0.0} dependencies: - '@typescript-eslint/types': 6.7.4 - '@typescript-eslint/visitor-keys': 6.7.4 + '@typescript-eslint/types': 6.21.0 + '@typescript-eslint/visitor-keys': 6.21.0 dev: true - /@typescript-eslint/scope-manager@7.0.2: - resolution: {integrity: sha512-l6sa2jF3h+qgN2qUMjVR3uCNGjWw4ahGfzIYsCtFrQJCjhbrDPdiihYT8FnnqFwsWX+20hK592yX9I2rxKTP4g==} - engines: {node: ^16.0.0 || >=18.0.0} + /@typescript-eslint/scope-manager@7.13.1: + resolution: {integrity: sha512-adbXNVEs6GmbzaCpymHQ0MB6E4TqoiVbC0iqG3uijR8ZYfpAXMGttouQzF4Oat3P2GxDVIrg7bMI/P65LiQZdg==} + engines: {node: ^18.18.0 || >=20.0.0} dependencies: - '@typescript-eslint/types': 7.0.2 - '@typescript-eslint/visitor-keys': 7.0.2 + '@typescript-eslint/types': 7.13.1 + '@typescript-eslint/visitor-keys': 7.13.1 dev: true - /@typescript-eslint/type-utils@5.62.0(eslint@8.51.0)(typescript@5.2.2): + /@typescript-eslint/type-utils@5.62.0(eslint@8.57.0)(typescript@5.3.3): resolution: {integrity: sha512-xsSQreu+VnfbqQpW5vnCJdq1Z3Q0U31qiWmRhr98ONQmcp/yhiPJFPq8MXiJVLiksmOKSjIldZzkebzHuCGzew==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: @@ -11845,17 +11312,17 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/typescript-estree': 5.62.0(typescript@5.2.2) - '@typescript-eslint/utils': 5.62.0(eslint@8.51.0)(typescript@5.2.2) - debug: 4.3.4(supports-color@5.5.0) - eslint: 8.51.0 - tsutils: 3.21.0(typescript@5.2.2) - typescript: 5.2.2 + '@typescript-eslint/typescript-estree': 5.62.0(typescript@5.3.3) + '@typescript-eslint/utils': 5.62.0(eslint@8.57.0)(typescript@5.3.3) + debug: 4.3.5(supports-color@5.5.0) + eslint: 8.57.0 + tsutils: 3.21.0(typescript@5.3.3) + typescript: 5.3.3 transitivePeerDependencies: - supports-color - dev: false + dev: true - /@typescript-eslint/type-utils@5.62.0(eslint@8.51.0)(typescript@5.3.3): + /@typescript-eslint/type-utils@5.62.0(eslint@8.57.0)(typescript@5.5.2): resolution: {integrity: sha512-xsSQreu+VnfbqQpW5vnCJdq1Z3Q0U31qiWmRhr98ONQmcp/yhiPJFPq8MXiJVLiksmOKSjIldZzkebzHuCGzew==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: @@ -11865,18 +11332,17 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/typescript-estree': 5.62.0(typescript@5.3.3) - '@typescript-eslint/utils': 5.62.0(eslint@8.51.0)(typescript@5.3.3) - debug: 4.3.4(supports-color@5.5.0) - eslint: 8.51.0 - tsutils: 3.21.0(typescript@5.3.3) - typescript: 5.3.3 + '@typescript-eslint/typescript-estree': 5.62.0(typescript@5.5.2) + '@typescript-eslint/utils': 5.62.0(eslint@8.57.0)(typescript@5.5.2) + debug: 4.3.5(supports-color@5.5.0) + eslint: 8.57.0 + tsutils: 3.21.0(typescript@5.5.2) + typescript: 5.5.2 transitivePeerDependencies: - supports-color - dev: true - /@typescript-eslint/type-utils@6.7.4(eslint@8.51.0)(typescript@5.3.3): - resolution: {integrity: sha512-n+g3zi1QzpcAdHFP9KQF+rEFxMb2KxtnJGID3teA/nxKHOVi3ylKovaqEzGBbVY2pBttU6z85gp0D00ufLzViQ==} + /@typescript-eslint/type-utils@6.21.0(eslint@8.57.0)(typescript@5.5.2): + resolution: {integrity: sha512-rZQI7wHfao8qMX3Rd3xqeYSMCL3SoiSQLBATSiVKARdFGCYSRvmViieZjqc58jKgs8Y8i9YvVVhRbHSTA4VBag==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: eslint: ^7.0.0 || ^8.0.0 @@ -11885,19 +11351,19 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/typescript-estree': 6.7.4(typescript@5.3.3) - '@typescript-eslint/utils': 6.7.4(eslint@8.51.0)(typescript@5.3.3) - debug: 4.3.4(supports-color@5.5.0) - eslint: 8.51.0 - ts-api-utils: 1.0.3(typescript@5.3.3) - typescript: 5.3.3 + '@typescript-eslint/typescript-estree': 6.21.0(typescript@5.5.2) + '@typescript-eslint/utils': 6.21.0(eslint@8.57.0)(typescript@5.5.2) + debug: 4.3.5(supports-color@5.5.0) + eslint: 8.57.0 + ts-api-utils: 1.3.0(typescript@5.5.2) + typescript: 5.5.2 transitivePeerDependencies: - supports-color dev: true - /@typescript-eslint/type-utils@7.0.2(eslint@8.56.0)(typescript@5.3.3): - resolution: {integrity: sha512-IKKDcFsKAYlk8Rs4wiFfEwJTQlHcdn8CLwLaxwd6zb8HNiMcQIFX9sWax2k4Cjj7l7mGS5N1zl7RCHOVwHq2VQ==} - engines: {node: ^16.0.0 || >=18.0.0} + /@typescript-eslint/type-utils@7.13.1(eslint@8.57.0)(typescript@5.5.2): + resolution: {integrity: sha512-aWDbLu1s9bmgPGXSzNCxELu+0+HQOapV/y+60gPXafR8e2g1Bifxzevaa+4L2ytCWm+CHqpELq4CSoN9ELiwCg==} + engines: {node: ^18.18.0 || >=20.0.0} peerDependencies: eslint: ^8.56.0 typescript: '*' @@ -11905,12 +11371,12 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/typescript-estree': 7.0.2(typescript@5.3.3) - '@typescript-eslint/utils': 7.0.2(eslint@8.56.0)(typescript@5.3.3) - debug: 4.3.4(supports-color@5.5.0) - eslint: 8.56.0 - ts-api-utils: 1.0.3(typescript@5.3.3) - typescript: 5.3.3 + '@typescript-eslint/typescript-estree': 7.13.1(typescript@5.5.2) + '@typescript-eslint/utils': 7.13.1(eslint@8.57.0)(typescript@5.5.2) + debug: 4.3.5(supports-color@5.5.0) + eslint: 8.57.0 + ts-api-utils: 1.3.0(typescript@5.5.2) + typescript: 5.5.2 transitivePeerDependencies: - supports-color dev: true @@ -11919,17 +11385,17 @@ packages: resolution: {integrity: sha512-87NVngcbVXUahrRTqIK27gD2t5Cu1yuCXxbLcFtCzZGlfyVWWh8mLHkoxzjsB6DDNnvdL+fW8MiwPEJyGJQDgQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - /@typescript-eslint/types@6.7.4: - resolution: {integrity: sha512-o9XWK2FLW6eSS/0r/tgjAGsYasLAnOWg7hvZ/dGYSSNjCh+49k5ocPN8OmG5aZcSJ8pclSOyVKP2x03Sj+RrCA==} + /@typescript-eslint/types@6.21.0: + resolution: {integrity: sha512-1kFmZ1rOm5epu9NZEZm1kckCDGj5UJEf7P1kliH4LKu/RkwpsfqqGmY2OOcUs18lSlQBKLDYBOGxRVtrMN5lpg==} engines: {node: ^16.0.0 || >=18.0.0} dev: true - /@typescript-eslint/types@7.0.2: - resolution: {integrity: sha512-ZzcCQHj4JaXFjdOql6adYV4B/oFOFjPOC9XYwCaZFRvqN8Llfvv4gSxrkQkd2u4Ci62i2c6W6gkDwQJDaRc4nA==} - engines: {node: ^16.0.0 || >=18.0.0} + /@typescript-eslint/types@7.13.1: + resolution: {integrity: sha512-7K7HMcSQIAND6RBL4kDl24sG/xKM13cA85dc7JnmQXw2cBDngg7c19B++JzvJHRG3zG36n9j1i451GBzRuHchw==} + engines: {node: ^18.18.0 || >=20.0.0} dev: true - /@typescript-eslint/typescript-estree@5.62.0(typescript@5.2.2): + /@typescript-eslint/typescript-estree@5.62.0(typescript@5.3.3): resolution: {integrity: sha512-CmcQ6uY7b9y694lKdRB8FEel7JbU/40iSAPomu++SjLMntB+2Leay2LO6i8VnJk58MtE9/nQSFIH6jpyRWyYzA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: @@ -11940,17 +11406,16 @@ packages: dependencies: '@typescript-eslint/types': 5.62.0 '@typescript-eslint/visitor-keys': 5.62.0 - debug: 4.3.4(supports-color@5.5.0) + debug: 4.3.5(supports-color@5.5.0) globby: 11.1.0 is-glob: 4.0.3 - semver: 7.5.4 - tsutils: 3.21.0(typescript@5.2.2) - typescript: 5.2.2 + semver: 7.6.2 + tsutils: 3.21.0(typescript@5.3.3) + typescript: 5.3.3 transitivePeerDependencies: - supports-color - dev: false - /@typescript-eslint/typescript-estree@5.62.0(typescript@5.3.3): + /@typescript-eslint/typescript-estree@5.62.0(typescript@5.5.2): resolution: {integrity: sha512-CmcQ6uY7b9y694lKdRB8FEel7JbU/40iSAPomu++SjLMntB+2Leay2LO6i8VnJk58MtE9/nQSFIH6jpyRWyYzA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: @@ -11961,17 +11426,17 @@ packages: dependencies: '@typescript-eslint/types': 5.62.0 '@typescript-eslint/visitor-keys': 5.62.0 - debug: 4.3.4(supports-color@5.5.0) + debug: 4.3.5(supports-color@5.5.0) globby: 11.1.0 is-glob: 4.0.3 - semver: 7.5.4 - tsutils: 3.21.0(typescript@5.3.3) - typescript: 5.3.3 + semver: 7.6.2 + tsutils: 3.21.0(typescript@5.5.2) + typescript: 5.5.2 transitivePeerDependencies: - supports-color - /@typescript-eslint/typescript-estree@6.7.4(typescript@5.3.3): - resolution: {integrity: sha512-ty8b5qHKatlNYd9vmpHooQz3Vki3gG+3PchmtsA4TgrZBKWHNjWfkQid7K7xQogBqqc7/BhGazxMD5vr6Ha+iQ==} + /@typescript-eslint/typescript-estree@6.21.0(typescript@5.5.2): + resolution: {integrity: sha512-6npJTkZcO+y2/kr+z0hc4HwNfrrP4kNYh57ek7yCNlrBjWQ1Y0OS7jiZTkgumrvkX5HkEKXFZkkdFNkaW2wmUQ==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: typescript: '*' @@ -11979,113 +11444,110 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/types': 6.7.4 - '@typescript-eslint/visitor-keys': 6.7.4 - debug: 4.3.4(supports-color@5.5.0) + '@typescript-eslint/types': 6.21.0 + '@typescript-eslint/visitor-keys': 6.21.0 + debug: 4.3.5(supports-color@5.5.0) globby: 11.1.0 is-glob: 4.0.3 - semver: 7.5.4 - ts-api-utils: 1.0.3(typescript@5.3.3) - typescript: 5.3.3 + minimatch: 9.0.3 + semver: 7.6.2 + ts-api-utils: 1.3.0(typescript@5.5.2) + typescript: 5.5.2 transitivePeerDependencies: - supports-color dev: true - /@typescript-eslint/typescript-estree@7.0.2(typescript@5.3.3): - resolution: {integrity: sha512-3AMc8khTcELFWcKcPc0xiLviEvvfzATpdPj/DXuOGIdQIIFybf4DMT1vKRbuAEOFMwhWt7NFLXRkbjsvKZQyvw==} - engines: {node: ^16.0.0 || >=18.0.0} + /@typescript-eslint/typescript-estree@7.13.1(typescript@5.5.2): + resolution: {integrity: sha512-uxNr51CMV7npU1BxZzYjoVz9iyjckBduFBP0S5sLlh1tXYzHzgZ3BR9SVsNed+LmwKrmnqN3Kdl5t7eZ5TS1Yw==} + engines: {node: ^18.18.0 || >=20.0.0} peerDependencies: typescript: '*' peerDependenciesMeta: typescript: optional: true dependencies: - '@typescript-eslint/types': 7.0.2 - '@typescript-eslint/visitor-keys': 7.0.2 - debug: 4.3.4(supports-color@5.5.0) + '@typescript-eslint/types': 7.13.1 + '@typescript-eslint/visitor-keys': 7.13.1 + debug: 4.3.5(supports-color@5.5.0) globby: 11.1.0 is-glob: 4.0.3 - minimatch: 9.0.3 - semver: 7.5.4 - ts-api-utils: 1.0.3(typescript@5.3.3) - typescript: 5.3.3 + minimatch: 9.0.4 + semver: 7.6.2 + ts-api-utils: 1.3.0(typescript@5.5.2) + typescript: 5.5.2 transitivePeerDependencies: - supports-color dev: true - /@typescript-eslint/utils@5.62.0(eslint@8.51.0)(typescript@5.2.2): + /@typescript-eslint/utils@5.62.0(eslint@8.57.0)(typescript@5.3.3): resolution: {integrity: sha512-n8oxjeb5aIbPFEtmQxQYOLI0i9n5ySBEY/ZEHHZqKQSFnxio1rv6dthascc9dLuwrL0RC5mPCxB7vnAVGAYWAQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@8.51.0) - '@types/json-schema': 7.0.13 - '@types/semver': 7.5.3 + '@eslint-community/eslint-utils': 4.4.0(eslint@8.57.0) + '@types/json-schema': 7.0.15 + '@types/semver': 7.5.8 '@typescript-eslint/scope-manager': 5.62.0 '@typescript-eslint/types': 5.62.0 - '@typescript-eslint/typescript-estree': 5.62.0(typescript@5.2.2) - eslint: 8.51.0 + '@typescript-eslint/typescript-estree': 5.62.0(typescript@5.3.3) + eslint: 8.57.0 eslint-scope: 5.1.1 - semver: 7.5.4 + semver: 7.6.2 transitivePeerDependencies: - supports-color - typescript - dev: false + dev: true - /@typescript-eslint/utils@5.62.0(eslint@8.51.0)(typescript@5.3.3): + /@typescript-eslint/utils@5.62.0(eslint@8.57.0)(typescript@5.5.2): resolution: {integrity: sha512-n8oxjeb5aIbPFEtmQxQYOLI0i9n5ySBEY/ZEHHZqKQSFnxio1rv6dthascc9dLuwrL0RC5mPCxB7vnAVGAYWAQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@8.51.0) - '@types/json-schema': 7.0.13 - '@types/semver': 7.5.3 + '@eslint-community/eslint-utils': 4.4.0(eslint@8.57.0) + '@types/json-schema': 7.0.15 + '@types/semver': 7.5.8 '@typescript-eslint/scope-manager': 5.62.0 '@typescript-eslint/types': 5.62.0 - '@typescript-eslint/typescript-estree': 5.62.0(typescript@5.3.3) - eslint: 8.51.0 + '@typescript-eslint/typescript-estree': 5.62.0(typescript@5.5.2) + eslint: 8.57.0 eslint-scope: 5.1.1 - semver: 7.5.4 + semver: 7.6.2 transitivePeerDependencies: - supports-color - typescript - dev: true - /@typescript-eslint/utils@6.7.4(eslint@8.51.0)(typescript@5.3.3): - resolution: {integrity: sha512-PRQAs+HUn85Qdk+khAxsVV+oULy3VkbH3hQ8hxLRJXWBEd7iI+GbQxH5SEUSH7kbEoTp6oT1bOwyga24ELALTA==} + /@typescript-eslint/utils@6.21.0(eslint@8.57.0)(typescript@5.5.2): + resolution: {integrity: sha512-NfWVaC8HP9T8cbKQxHcsJBY5YE1O33+jpMwN45qzWWaPDZgLIbo12toGMWnmhvCpd3sIxkpDw3Wv1B3dYrbDQQ==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: eslint: ^7.0.0 || ^8.0.0 dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@8.51.0) - '@types/json-schema': 7.0.13 - '@types/semver': 7.5.3 - '@typescript-eslint/scope-manager': 6.7.4 - '@typescript-eslint/types': 6.7.4 - '@typescript-eslint/typescript-estree': 6.7.4(typescript@5.3.3) - eslint: 8.51.0 - semver: 7.5.4 + '@eslint-community/eslint-utils': 4.4.0(eslint@8.57.0) + '@types/json-schema': 7.0.15 + '@types/semver': 7.5.8 + '@typescript-eslint/scope-manager': 6.21.0 + '@typescript-eslint/types': 6.21.0 + '@typescript-eslint/typescript-estree': 6.21.0(typescript@5.5.2) + eslint: 8.57.0 + semver: 7.6.2 transitivePeerDependencies: - supports-color - typescript dev: true - /@typescript-eslint/utils@7.0.2(eslint@8.56.0)(typescript@5.3.3): - resolution: {integrity: sha512-PZPIONBIB/X684bhT1XlrkjNZJIEevwkKDsdwfiu1WeqBxYEEdIgVDgm8/bbKHVu+6YOpeRqcfImTdImx/4Bsw==} - engines: {node: ^16.0.0 || >=18.0.0} + /@typescript-eslint/utils@7.13.1(eslint@8.57.0)(typescript@5.5.2): + resolution: {integrity: sha512-h5MzFBD5a/Gh/fvNdp9pTfqJAbuQC4sCN2WzuXme71lqFJsZtLbjxfSk4r3p02WIArOF9N94pdsLiGutpDbrXQ==} + engines: {node: ^18.18.0 || >=20.0.0} peerDependencies: eslint: ^8.56.0 dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@8.56.0) - '@types/json-schema': 7.0.13 - '@types/semver': 7.5.3 - '@typescript-eslint/scope-manager': 7.0.2 - '@typescript-eslint/types': 7.0.2 - '@typescript-eslint/typescript-estree': 7.0.2(typescript@5.3.3) - eslint: 8.56.0 - semver: 7.5.4 + '@eslint-community/eslint-utils': 4.4.0(eslint@8.57.0) + '@typescript-eslint/scope-manager': 7.13.1 + '@typescript-eslint/types': 7.13.1 + '@typescript-eslint/typescript-estree': 7.13.1(typescript@5.5.2) + eslint: 8.57.0 transitivePeerDependencies: - supports-color - typescript @@ -12098,64 +11560,64 @@ packages: '@typescript-eslint/types': 5.62.0 eslint-visitor-keys: 3.4.3 - /@typescript-eslint/visitor-keys@6.7.4: - resolution: {integrity: sha512-pOW37DUhlTZbvph50x5zZCkFn3xzwkGtNoJHzIM3svpiSkJzwOYr/kVBaXmf+RAQiUDs1AHEZVNPg6UJCJpwRA==} + /@typescript-eslint/visitor-keys@6.21.0: + resolution: {integrity: sha512-JJtkDduxLi9bivAB+cYOVMtbkqdPOhZ+ZI5LC47MIRrDV4Yn2o+ZnW10Nkmr28xRpSpdJ6Sm42Hjf2+REYXm0A==} engines: {node: ^16.0.0 || >=18.0.0} dependencies: - '@typescript-eslint/types': 6.7.4 + '@typescript-eslint/types': 6.21.0 eslint-visitor-keys: 3.4.3 dev: true - /@typescript-eslint/visitor-keys@7.0.2: - resolution: {integrity: sha512-8Y+YiBmqPighbm5xA2k4wKTxRzx9EkBu7Rlw+WHqMvRJ3RPz/BMBO9b2ru0LUNmXg120PHUXD5+SWFy2R8DqlQ==} - engines: {node: ^16.0.0 || >=18.0.0} + /@typescript-eslint/visitor-keys@7.13.1: + resolution: {integrity: sha512-k/Bfne7lrP7hcb7m9zSsgcBmo+8eicqqfNAJ7uUY+jkTFpKeH2FSkWpFRtimBxgkyvqfu9jTPRbYOvud6isdXA==} + engines: {node: ^18.18.0 || >=20.0.0} dependencies: - '@typescript-eslint/types': 7.0.2 + '@typescript-eslint/types': 7.13.1 eslint-visitor-keys: 3.4.3 dev: true /@ungap/structured-clone@1.2.0: resolution: {integrity: sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==} - /@vitejs/plugin-react-swc@3.6.0(vite@4.5.2): - resolution: {integrity: sha512-XFRbsGgpGxGzEV5i5+vRiro1bwcIaZDIdBRP16qwm+jP68ue/S8FJTBEgOeojtVDYrbSua3XFp71kC8VJE6v+g==} + /@vitejs/plugin-react-swc@3.7.0(vite@4.5.3): + resolution: {integrity: sha512-yrknSb3Dci6svCd/qhHqhFPDSw0QtjumcqdKMoNNzmOl5lMXTTiqzjWtG4Qask2HdvvzaNgSunbQGet8/GrKdA==} peerDependencies: vite: ^4 || ^5 dependencies: - '@swc/core': 1.4.2 - vite: 4.5.2 + '@swc/core': 1.6.5 + vite: 4.5.3 transitivePeerDependencies: - '@swc/helpers' dev: true - /@vitejs/plugin-react@3.1.0(vite@4.5.2): + /@vitejs/plugin-react@3.1.0(vite@4.5.3): resolution: {integrity: sha512-AfgcRL8ZBhAlc3BFdigClmTUMISmmzHn7sB2h9U1odvc5U/MjWXsAaz18b/WoppUTDBzxOJwo2VdClfUcItu9g==} engines: {node: ^14.18.0 || >=16.0.0} peerDependencies: vite: ^4.1.0-beta.0 dependencies: - '@babel/core': 7.23.9 - '@babel/plugin-transform-react-jsx-self': 7.22.5(@babel/core@7.23.9) - '@babel/plugin-transform-react-jsx-source': 7.22.5(@babel/core@7.23.9) + '@babel/core': 7.24.7 + '@babel/plugin-transform-react-jsx-self': 7.24.7(@babel/core@7.24.7) + '@babel/plugin-transform-react-jsx-source': 7.24.7(@babel/core@7.24.7) magic-string: 0.27.0 - react-refresh: 0.14.0 - vite: 4.5.2 + react-refresh: 0.14.2 + vite: 4.5.3 transitivePeerDependencies: - supports-color dev: true - /@vitejs/plugin-react@4.2.1(vite@4.5.2): - resolution: {integrity: sha512-oojO9IDc4nCUUi8qIR11KoQm0XFFLIwsRBwHRR4d/88IWghn1y6ckz/bJ8GHDCsYEJee8mDzqtJxh15/cisJNQ==} + /@vitejs/plugin-react@4.3.1(vite@4.5.3): + resolution: {integrity: sha512-m/V2syj5CuVnaxcUJOQRel/Wr31FFXRFlnOoq1TVtkCxsY5veGMTEmpWHndrhB2U8ScHtCQB1e+4hWYExQc6Lg==} engines: {node: ^14.18.0 || >=16.0.0} peerDependencies: vite: ^4.2.0 || ^5.0.0 dependencies: - '@babel/core': 7.23.9 - '@babel/plugin-transform-react-jsx-self': 7.23.3(@babel/core@7.23.9) - '@babel/plugin-transform-react-jsx-source': 7.23.3(@babel/core@7.23.9) + '@babel/core': 7.24.7 + '@babel/plugin-transform-react-jsx-self': 7.24.7(@babel/core@7.24.7) + '@babel/plugin-transform-react-jsx-source': 7.24.7(@babel/core@7.24.7) '@types/babel__core': 7.20.5 - react-refresh: 0.14.0 - vite: 4.5.2 + react-refresh: 0.14.2 + vite: 4.5.3 transitivePeerDependencies: - supports-color dev: true @@ -12165,18 +11627,18 @@ packages: peerDependencies: vitest: 1.6.0 dependencies: - '@ampproject/remapping': 2.2.1 + '@ampproject/remapping': 2.3.0 '@bcoe/v8-coverage': 0.2.3 - debug: 4.3.4(supports-color@5.5.0) + debug: 4.3.5(supports-color@5.5.0) istanbul-lib-coverage: 3.2.2 istanbul-lib-report: 3.0.1 istanbul-lib-source-maps: 5.0.4 - istanbul-reports: 3.1.6 - magic-string: 0.30.7 + istanbul-reports: 3.1.7 + magic-string: 0.30.10 magicast: 0.3.4 - picocolors: 1.0.0 + picocolors: 1.0.1 std-env: 3.7.0 - strip-literal: 2.0.0 + strip-literal: 2.1.0 test-exclude: 6.0.0 vitest: 1.6.0(happy-dom@9.20.3) transitivePeerDependencies: @@ -12188,7 +11650,7 @@ packages: dependencies: '@vitest/spy': 1.6.0 '@vitest/utils': 1.6.0 - chai: 4.3.10 + chai: 4.4.1 dev: true /@vitest/runner@1.6.0: @@ -12196,21 +11658,29 @@ packages: dependencies: '@vitest/utils': 1.6.0 p-limit: 5.0.0 - pathe: 1.1.1 + pathe: 1.1.2 dev: true /@vitest/snapshot@1.6.0: resolution: {integrity: sha512-+Hx43f8Chus+DCmygqqfetcAZrDJwvTj0ymqjQq4CvmpKFSTVteEOBzCusu1x2tt4OJcvBflyHUE0DZSLgEMtQ==} dependencies: - magic-string: 0.30.7 - pathe: 1.1.1 + magic-string: 0.30.10 + pathe: 1.1.2 pretty-format: 29.7.0 dev: true /@vitest/spy@1.6.0: resolution: {integrity: sha512-leUTap6B/cqi/bQkXUu6bQV5TZPx7pmMBKBQiI0rJA8c3pB56ZsaTbREnF7CJfmvAS4V2cXIBAh/3rVwrrCYgw==} dependencies: - tinyspy: 2.2.0 + tinyspy: 2.2.1 + dev: true + + /@vitest/utils@0.34.7: + resolution: {integrity: sha512-ziAavQLpCYS9sLOorGrFFKmy2gnfiNU0ZJ15TsMz/K92NAPS/rp9K4z6AJQQk5Y8adCy4Iwpxy7pQumQ/psnRg==} + dependencies: + diff-sequences: 29.6.3 + loupe: 2.3.7 + pretty-format: 29.7.0 dev: true /@vitest/utils@1.6.0: @@ -12222,26 +11692,117 @@ packages: pretty-format: 29.7.0 dev: true - /@vscode/vsce@2.21.1: - resolution: {integrity: sha512-f45/aT+HTubfCU2oC7IaWnH9NjOWp668ML002QiFObFRVUCoLtcwepp9mmql/ArFUy+HCHp54Xrq4koTcOD6TA==} - engines: {node: '>= 14'} + /@vscode/vsce-sign-alpine-arm64@2.0.2: + resolution: {integrity: sha512-E80YvqhtZCLUv3YAf9+tIbbqoinWLCO/B3j03yQPbjT3ZIHCliKZlsy1peNc4XNZ5uIb87Jn0HWx/ZbPXviuAQ==} + cpu: [arm64] + os: [alpine] + requiresBuild: true + dev: true + optional: true + + /@vscode/vsce-sign-alpine-x64@2.0.2: + resolution: {integrity: sha512-n1WC15MSMvTaeJ5KjWCzo0nzjydwxLyoHiMJHu1Ov0VWTZiddasmOQHekA47tFRycnt4FsQrlkSCTdgHppn6bw==} + cpu: [x64] + os: [alpine] + requiresBuild: true + dev: true + optional: true + + /@vscode/vsce-sign-darwin-arm64@2.0.2: + resolution: {integrity: sha512-rz8F4pMcxPj8fjKAJIfkUT8ycG9CjIp888VY/6pq6cuI2qEzQ0+b5p3xb74CJnBbSC0p2eRVoe+WgNCAxCLtzQ==} + cpu: [arm64] + os: [darwin] + requiresBuild: true + dev: true + optional: true + + /@vscode/vsce-sign-darwin-x64@2.0.2: + resolution: {integrity: sha512-MCjPrQ5MY/QVoZ6n0D92jcRb7eYvxAujG/AH2yM6lI0BspvJQxp0o9s5oiAM9r32r9tkLpiy5s2icsbwefAQIw==} + cpu: [x64] + os: [darwin] + requiresBuild: true + dev: true + optional: true + + /@vscode/vsce-sign-linux-arm64@2.0.2: + resolution: {integrity: sha512-Ybeu7cA6+/koxszsORXX0OJk9N0GgfHq70Wqi4vv2iJCZvBrOWwcIrxKjvFtwyDgdeQzgPheH5nhLVl5eQy7WA==} + cpu: [arm64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@vscode/vsce-sign-linux-arm@2.0.2: + resolution: {integrity: sha512-Fkb5jpbfhZKVw3xwR6t7WYfwKZktVGNXdg1m08uEx1anO0oUPUkoQRsNm4QniL3hmfw0ijg00YA6TrxCRkPVOQ==} + cpu: [arm] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@vscode/vsce-sign-linux-x64@2.0.2: + resolution: {integrity: sha512-NsPPFVtLaTlVJKOiTnO8Cl78LZNWy0Q8iAg+LlBiCDEgC12Gt4WXOSs2pmcIjDYzj2kY4NwdeN1mBTaujYZaPg==} + cpu: [x64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@vscode/vsce-sign-win32-arm64@2.0.2: + resolution: {integrity: sha512-wPs848ymZ3Ny+Y1Qlyi7mcT6VSigG89FWQnp2qRYCyMhdJxOpA4lDwxzlpL8fG6xC8GjQjGDkwbkWUcCobvksQ==} + cpu: [arm64] + os: [win32] + requiresBuild: true + dev: true + optional: true + + /@vscode/vsce-sign-win32-x64@2.0.2: + resolution: {integrity: sha512-pAiRN6qSAhDM5SVOIxgx+2xnoVUePHbRNC7OD2aOR3WltTKxxF25OfpK8h8UQ7A0BuRkSgREbB59DBlFk4iAeg==} + cpu: [x64] + os: [win32] + requiresBuild: true + dev: true + optional: true + + /@vscode/vsce-sign@2.0.4: + resolution: {integrity: sha512-0uL32egStKYfy60IqnynAChMTbL0oqpqk0Ew0YHiIb+fayuGZWADuIPHWUcY1GCnAA+VgchOPDMxnc2R3XGWEA==} + requiresBuild: true + optionalDependencies: + '@vscode/vsce-sign-alpine-arm64': 2.0.2 + '@vscode/vsce-sign-alpine-x64': 2.0.2 + '@vscode/vsce-sign-darwin-arm64': 2.0.2 + '@vscode/vsce-sign-darwin-x64': 2.0.2 + '@vscode/vsce-sign-linux-arm': 2.0.2 + '@vscode/vsce-sign-linux-arm64': 2.0.2 + '@vscode/vsce-sign-linux-x64': 2.0.2 + '@vscode/vsce-sign-win32-arm64': 2.0.2 + '@vscode/vsce-sign-win32-x64': 2.0.2 + dev: true + + /@vscode/vsce@2.29.0: + resolution: {integrity: sha512-63+aEO8SpjE6qKiIh2Cqy/P9zC7+USElGwpEdkyPp89xIBDBr5IqeNS3zkD3mp3wZqbvHIpJsCCNu74WQirYCg==} + engines: {node: '>= 16'} hasBin: true dependencies: - azure-devops-node-api: 11.2.0 + '@azure/identity': 4.3.0 + '@vscode/vsce-sign': 2.0.4 + azure-devops-node-api: 12.5.0 chalk: 2.4.2 cheerio: 1.0.0-rc.12 + cockatiel: 3.1.3 commander: 6.2.1 + form-data: 4.0.0 glob: 7.2.3 hosted-git-info: 4.1.0 - jsonc-parser: 3.2.0 + jsonc-parser: 3.2.1 leven: 3.1.0 markdown-it: 12.3.2 mime: 3.0.0(patch_hash=2he2uszztbibyal6zfzmv2a2oa) minimatch: 3.1.2 parse-semver: 1.1.1 read: 1.0.7 - semver: 7.5.4 - tmp: 0.2.1 + semver: 7.6.2 + tmp: 0.2.3 typed-rest-client: 1.8.11 url-join: 4.0.1 xml2js: 0.5.0 @@ -12249,16 +11810,18 @@ packages: yazl: 2.5.1 optionalDependencies: keytar: 7.9.0 + transitivePeerDependencies: + - supports-color dev: true /@wapython/unionfs@4.5.7: resolution: {integrity: sha512-7809nAVelP9TqXCq5c1yCwymPreTXrK4n4q/zxOlQOIIz4PNmoQmIKiLnwkKk39GDnLmP1MvP9ZkBDyXCCmTfg==} dependencies: - fs-monkey: 1.0.5 + fs-monkey: 1.0.6 dev: false - /@webassemblyjs/ast@1.11.6: - resolution: {integrity: sha512-IN1xI7PwOvLPgjcf180gC1bqn3q/QaOCwYUahIOhbYUu8KA/3tw2RT/T0Gidi1l7Hhj5D/INhJxiICObqpMu4Q==} + /@webassemblyjs/ast@1.12.1: + resolution: {integrity: sha512-EKfMUOPRRUTy5UII4qJDGPpqfwjOmZ5jeGFwid9mnoqIFK+e0vqoi1qH56JpmZSzEL53jKnNzScdmftJyG5xWg==} dependencies: '@webassemblyjs/helper-numbers': 1.11.6 '@webassemblyjs/helper-wasm-bytecode': 1.11.6 @@ -12272,8 +11835,8 @@ packages: resolution: {integrity: sha512-o0YkoP4pVu4rN8aTJgAyj9hC2Sv5UlkzCHhxqWj8butaLvnpdc2jOwh4ewE6CX0txSfLn/UYaV/pheS2Txg//Q==} dev: true - /@webassemblyjs/helper-buffer@1.11.6: - resolution: {integrity: sha512-z3nFzdcp1mb8nEOFFk8DrYLpHvhKC3grJD2ardfKOzmbmJvEf/tPIqCY+sNcwZIY8ZD7IkB2l7/pqhUhqm7hLA==} + /@webassemblyjs/helper-buffer@1.12.1: + resolution: {integrity: sha512-nzJwQw99DNDKr9BVCOZcLuJJUlqkJh+kVzVl6Fmq/tI5ZtEyWT1KZMyOXltXLZJmDtvLCDgwsyrkohEtopTXCw==} dev: true /@webassemblyjs/helper-numbers@1.11.6: @@ -12288,13 +11851,13 @@ packages: resolution: {integrity: sha512-sFFHKwcmBprO9e7Icf0+gddyWYDViL8bpPjJJl0WHxCdETktXdmtWLGVzoHbqUcY4Be1LkNfwTmXOJUFZYSJdA==} dev: true - /@webassemblyjs/helper-wasm-section@1.11.6: - resolution: {integrity: sha512-LPpZbSOwTpEC2cgn4hTydySy1Ke+XEu+ETXuoyvuyezHO3Kjdu90KK95Sh9xTbmjrCsUwvWwCOQQNta37VrS9g==} + /@webassemblyjs/helper-wasm-section@1.12.1: + resolution: {integrity: sha512-Jif4vfB6FJlUlSbgEMHUyk1j234GTNG9dBJ4XJdOySoj518Xj0oGsNi59cUQF4RRMS9ouBUxDDdyBVfPTypa5g==} dependencies: - '@webassemblyjs/ast': 1.11.6 - '@webassemblyjs/helper-buffer': 1.11.6 + '@webassemblyjs/ast': 1.12.1 + '@webassemblyjs/helper-buffer': 1.12.1 '@webassemblyjs/helper-wasm-bytecode': 1.11.6 - '@webassemblyjs/wasm-gen': 1.11.6 + '@webassemblyjs/wasm-gen': 1.12.1 dev: true /@webassemblyjs/ieee754@1.11.6: @@ -12313,42 +11876,42 @@ packages: resolution: {integrity: sha512-vtXf2wTQ3+up9Zsg8sa2yWiQpzSsMyXj0qViVP6xKGCUT8p8YJ6HqI7l5eCnWx1T/FYdsv07HQs2wTFbbof/RA==} dev: true - /@webassemblyjs/wasm-edit@1.11.6: - resolution: {integrity: sha512-Ybn2I6fnfIGuCR+Faaz7YcvtBKxvoLV3Lebn1tM4o/IAJzmi9AWYIPWpyBfU8cC+JxAO57bk4+zdsTjJR+VTOw==} + /@webassemblyjs/wasm-edit@1.12.1: + resolution: {integrity: sha512-1DuwbVvADvS5mGnXbE+c9NfA8QRcZ6iKquqjjmR10k6o+zzsRVesil54DKexiowcFCPdr/Q0qaMgB01+SQ1u6g==} dependencies: - '@webassemblyjs/ast': 1.11.6 - '@webassemblyjs/helper-buffer': 1.11.6 + '@webassemblyjs/ast': 1.12.1 + '@webassemblyjs/helper-buffer': 1.12.1 '@webassemblyjs/helper-wasm-bytecode': 1.11.6 - '@webassemblyjs/helper-wasm-section': 1.11.6 - '@webassemblyjs/wasm-gen': 1.11.6 - '@webassemblyjs/wasm-opt': 1.11.6 - '@webassemblyjs/wasm-parser': 1.11.6 - '@webassemblyjs/wast-printer': 1.11.6 + '@webassemblyjs/helper-wasm-section': 1.12.1 + '@webassemblyjs/wasm-gen': 1.12.1 + '@webassemblyjs/wasm-opt': 1.12.1 + '@webassemblyjs/wasm-parser': 1.12.1 + '@webassemblyjs/wast-printer': 1.12.1 dev: true - /@webassemblyjs/wasm-gen@1.11.6: - resolution: {integrity: sha512-3XOqkZP/y6B4F0PBAXvI1/bky7GryoogUtfwExeP/v7Nzwo1QLcq5oQmpKlftZLbT+ERUOAZVQjuNVak6UXjPA==} + /@webassemblyjs/wasm-gen@1.12.1: + resolution: {integrity: sha512-TDq4Ojh9fcohAw6OIMXqiIcTq5KUXTGRkVxbSo1hQnSy6lAM5GSdfwWeSxpAo0YzgsgF182E/U0mDNhuA0tW7w==} dependencies: - '@webassemblyjs/ast': 1.11.6 + '@webassemblyjs/ast': 1.12.1 '@webassemblyjs/helper-wasm-bytecode': 1.11.6 '@webassemblyjs/ieee754': 1.11.6 '@webassemblyjs/leb128': 1.11.6 '@webassemblyjs/utf8': 1.11.6 dev: true - /@webassemblyjs/wasm-opt@1.11.6: - resolution: {integrity: sha512-cOrKuLRE7PCe6AsOVl7WasYf3wbSo4CeOk6PkrjS7g57MFfVUF9u6ysQBBODX0LdgSvQqRiGz3CXvIDKcPNy4g==} + /@webassemblyjs/wasm-opt@1.12.1: + resolution: {integrity: sha512-Jg99j/2gG2iaz3hijw857AVYekZe2SAskcqlWIZXjji5WStnOpVoat3gQfT/Q5tb2djnCjBtMocY/Su1GfxPBg==} dependencies: - '@webassemblyjs/ast': 1.11.6 - '@webassemblyjs/helper-buffer': 1.11.6 - '@webassemblyjs/wasm-gen': 1.11.6 - '@webassemblyjs/wasm-parser': 1.11.6 + '@webassemblyjs/ast': 1.12.1 + '@webassemblyjs/helper-buffer': 1.12.1 + '@webassemblyjs/wasm-gen': 1.12.1 + '@webassemblyjs/wasm-parser': 1.12.1 dev: true - /@webassemblyjs/wasm-parser@1.11.6: - resolution: {integrity: sha512-6ZwPeGzMJM3Dqp3hCsLgESxBGtT/OeCvCZ4TA1JUPYgmhAx38tTPR9JaKy0S5H3evQpO/h2uWs2j6Yc/fjkpTQ==} + /@webassemblyjs/wasm-parser@1.12.1: + resolution: {integrity: sha512-xikIi7c2FHXysxXe3COrVUPSheuBtpcfhbpFj4gmu7KRLYOzANztwUU0IbsqvMqzuNK2+glRGWCEqZo1WCLyAQ==} dependencies: - '@webassemblyjs/ast': 1.11.6 + '@webassemblyjs/ast': 1.12.1 '@webassemblyjs/helper-api-error': 1.11.6 '@webassemblyjs/helper-wasm-bytecode': 1.11.6 '@webassemblyjs/ieee754': 1.11.6 @@ -12356,10 +11919,10 @@ packages: '@webassemblyjs/utf8': 1.11.6 dev: true - /@webassemblyjs/wast-printer@1.11.6: - resolution: {integrity: sha512-JM7AhRcE+yW2GWYaKeHL5vt4xqee5N2WcezptmgyhNS+ScggqcT1OtXykhAb13Sn5Yas0j2uv9tHgrjwvzAP4A==} + /@webassemblyjs/wast-printer@1.12.1: + resolution: {integrity: sha512-+X4WAlOisVWQMikjbcvY2e0rwPsKQ9F688lksZhBcPycBBuii3O7m8FACbDMWDojpAqvjIncrG8J0XHKyQfVeA==} dependencies: - '@webassemblyjs/ast': 1.11.6 + '@webassemblyjs/ast': 1.12.1 '@xtuc/long': 4.2.2 dev: true @@ -12387,7 +11950,7 @@ packages: esbuild: '>=0.10.0' dependencies: esbuild: 0.18.20 - tslib: 2.6.2 + tslib: 2.6.3 dev: true /@yarnpkg/fslib@2.10.3: @@ -12402,7 +11965,7 @@ packages: resolution: {integrity: sha512-6xm38yGVIa6mKm/DUCF2zFFJhERh/QWp1ufm4cNUvxsONBmfPg8uZ9pZBdOmF6qFGr/HlT6ABBkCSx/dlEtvWg==} engines: {node: '>=12 <14 || 14.2 - 14.9 || >14.10.0'} dependencies: - '@types/emscripten': 1.39.8 + '@types/emscripten': 1.39.13 tslib: 1.14.1 dev: true @@ -12436,9 +11999,6 @@ packages: through: 2.3.8 dev: true - /abbrev@1.1.1: - resolution: {integrity: sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==} - /abbrev@2.0.0: resolution: {integrity: sha512-6/mh1E2u2YgEsCHdY0Yx5oW+61gZU+1vXaoiHHrpKeuRNNgFvS+/jrwHiQhB5apAf5oB7UB7E19ol2R2LKH8hQ==} engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} @@ -12458,12 +12018,12 @@ packages: mime-types: 2.1.35 negotiator: 0.6.3 - /acorn-import-assertions@1.9.0(acorn@8.10.0): - resolution: {integrity: sha512-cmMwop9x+8KFhxvKrKfPYmN6/pKTYYHBqLa0DfvVZcKMJWNyWLnaqND7dx/qn66R7ewM1UX5XMaDVP5wlVTaVA==} + /acorn-import-attributes@1.9.5(acorn@8.12.0): + resolution: {integrity: sha512-n02Vykv5uA3eHGM/Z2dQrcD56kL8TyDb2p1+0P83PClMnC/nc+anbQRhIOWnSq4Ke/KvDPrY3C9hDtC/A3eHnQ==} peerDependencies: acorn: ^8 dependencies: - acorn: 8.10.0 + acorn: 8.12.0 dev: true /acorn-jsx@5.3.2(acorn@7.4.1): @@ -12474,21 +12034,23 @@ packages: acorn: 7.4.1 dev: true - /acorn-jsx@5.3.2(acorn@8.10.0): + /acorn-jsx@5.3.2(acorn@8.12.0): resolution: {integrity: sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==} peerDependencies: acorn: ^6.0.0 || ^7.0.0 || ^8.0.0 dependencies: - acorn: 8.10.0 + acorn: 8.12.0 /acorn-walk@7.2.0: resolution: {integrity: sha512-OPdCF6GsMIP+Az+aWfAAOEt2/+iVDKE7oy6lJ098aoe59oAmK76qV6Gw60SbZ8jHuG2wH058GF4pLFbYamYrVA==} engines: {node: '>=0.4.0'} dev: true - /acorn-walk@8.3.2: - resolution: {integrity: sha512-cjkyv4OtNCIeqhHrfS81QWXoCBPExR/J62oyEqepVw8WaQeSqpW2uhuLPh1m9eWhDuOo/jUXVTlifvesOWp/4A==} + /acorn-walk@8.3.3: + resolution: {integrity: sha512-MxXdReSRhGO7VlFe1bRG/oI7/mdLV9B9JJT0N8vZOhF7gFRR5l3M8W9G8JxmKV+JC5mGqJ0QvqfSOLsCPa4nUw==} engines: {node: '>=0.4.0'} + dependencies: + acorn: 8.12.0 dev: true /acorn@7.4.1: @@ -12497,8 +12059,8 @@ packages: hasBin: true dev: true - /acorn@8.10.0: - resolution: {integrity: sha512-F0SAmZ8iUtS//m8DmCTA0jlh6TDKkHQyK6xc6V4KDTyZKA9dnvX9/3sRTVQrWm79glUAZbnmmNcdYwUIHWVybw==} + /acorn@8.12.0: + resolution: {integrity: sha512-RTvkC4w+KNXrM39/lWCUaG0IbRkWdCv7W/IOW9oU6SawyxulvkQy5HQPVTKxEjczcUvapcrw3cFx/60VN/NRNw==} engines: {node: '>=0.4.0'} hasBin: true @@ -12520,25 +12082,18 @@ packages: resolution: {integrity: sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==} engines: {node: '>= 6.0.0'} dependencies: - debug: 4.3.4(supports-color@5.5.0) + debug: 4.3.5(supports-color@5.5.0) transitivePeerDependencies: - supports-color - /agent-base@7.1.0: - resolution: {integrity: sha512-o/zjMZRhJxny7OyEF+Op8X+efiELC7k7yOjMzgfzVqOzXqkBkWI79YoTdOtsuWd5BWhAGAuOY/Xa6xpiaWXiNg==} + /agent-base@7.1.1: + resolution: {integrity: sha512-H0TSyFNDMomMNJQBn8wFV5YC/2eJ+VXECwOadZJT554xP6cODZHPX3H9QMQECxvrgiSOP1pHjy1sMWQVYJOUOA==} engines: {node: '>= 14'} dependencies: - debug: 4.3.4(supports-color@5.5.0) + debug: 4.3.5(supports-color@5.5.0) transitivePeerDependencies: - supports-color - /agentkeepalive@4.5.0: - resolution: {integrity: sha512-5GG/5IbQQpC9FpkRGsSvZI5QYeSCzlJHdpBQntCsuTOxhKD8lqKhrleg2Yi7yvMIf82Ycmmqln9U8V9qwEiJew==} - engines: {node: '>= 8.0.0'} - dependencies: - humanize-ms: 1.2.1 - dev: false - /aggregate-error@3.1.0: resolution: {integrity: sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA==} engines: {node: '>=8'} @@ -12562,8 +12117,8 @@ packages: json-schema-traverse: 0.4.1 uri-js: 4.4.1 - /ajv@8.12.0: - resolution: {integrity: sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA==} + /ajv@8.16.0: + resolution: {integrity: sha512-F0twR8U1ZU67JIEtekUcLkXkoO5mMMmgGD8sK/xUFzJ805jxHQl92hImFAqqXMyMYjSPOyUPAwHYhB72g5sTXw==} dependencies: fast-deep-equal: 3.1.3 json-schema-traverse: 1.0.0 @@ -12642,10 +12197,6 @@ packages: resolution: {integrity: sha512-jlpIfsOoNoafl92Sz//64uQHGSyMrD2vYG5d8o2a4qGvyNCvXur7bzIsWtAC/6flI2RYAp3kv8rsfBtaLm7w0g==} dev: true - /aproba@2.0.0: - resolution: {integrity: sha512-lYe4Gx7QT+MKGbDsA+Z+he/Wtef0BiwDOlK/XkBrdfsh9J/jPPXbX0tE9x9cl27Tmu5gg3QUbUrQYa/y+KOHPQ==} - dev: false - /archiver-utils@2.1.0: resolution: {integrity: sha512-bEL/yUb/fNNiNTuUz979Z0Yg5L+LzLxGJz8x79lYmR54fmTIb6ob/hNQgkQnIUDWIFjZVQwl9Xs356I6BAMHfw==} engines: {node: '>= 6'} @@ -12678,23 +12229,12 @@ packages: readable-stream: 3.6.2 dev: true - /archiver-utils@4.0.1: - resolution: {integrity: sha512-Q4Q99idbvzmgCTEAAhi32BkOyq8iVI5EwdO0PmBDSGIzzjYNdcFn7Q7k3OzbLy4kLUPXfJtG6fO2RjftXbobBg==} - engines: {node: '>= 12.0.0'} - dependencies: - glob: 8.1.0 - graceful-fs: 4.2.11 - lazystream: 1.0.1 - lodash: 4.17.21 - normalize-path: 3.0.0 - readable-stream: 3.6.2 - /archiver@5.3.2: resolution: {integrity: sha512-+25nxyyznAXF7Nef3y0EbBeqmGZgeN/BxHX29Rs39djAfaFalmQ89SE6CWyDCHzGL0yt/ycBtNOmGTW0FyGWNw==} engines: {node: '>= 10'} dependencies: archiver-utils: 2.1.0 - async: 3.2.4 + async: 3.2.5 buffer-crc32: 0.2.13 readable-stream: 3.6.2 readdir-glob: 1.1.3 @@ -12702,38 +12242,10 @@ packages: zip-stream: 4.1.1 dev: true - /archiver@6.0.1: - resolution: {integrity: sha512-CXGy4poOLBKptiZH//VlWdFuUC1RESbdZjGjILwBuZ73P7WkAUN0htfSfBq/7k6FRFlpu7bg4JOkj1vU9G6jcQ==} - engines: {node: '>= 12.0.0'} - dependencies: - archiver-utils: 4.0.1 - async: 3.2.4 - buffer-crc32: 0.2.13 - readable-stream: 3.6.2 - readdir-glob: 1.1.3 - tar-stream: 3.1.7 - zip-stream: 5.0.1 - /archy@1.0.0: resolution: {integrity: sha512-Xg+9RwCg/0p32teKdGMPTPnVXKD0w3DfHnFTficozsAgsvq2XenPJq/MYpzzQ/v8zrOyJn6Ds39VA4JIDwFfqw==} dev: false - /are-we-there-yet@3.0.1: - resolution: {integrity: sha512-QZW4EDmGwlYur0Yyf/b2uGucHQMa8aFUP7eu9ddR73vvhFyt4V0Vl3QHPcTNJ8l6qYOBdxgXdnBXQrHilfRQBg==} - engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0} - dependencies: - delegates: 1.0.0 - readable-stream: 3.6.2 - dev: false - - /are-we-there-yet@4.0.1: - resolution: {integrity: sha512-2zuA+jpOYBRgoBCfa+fB87Rk0oGJjDX6pxGzqH6f33NzUhG25Xur6R0u0Z9VVAq8Z5JvQpQI6j6rtonuivC8QA==} - engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} - dependencies: - delegates: 1.0.0 - readable-stream: 4.4.2 - dev: false - /arg@5.0.2: resolution: {integrity: sha512-PYjyFOLKQ9y57JvQ6QLo8dAgNqswh8M1RMJYdQduT6xbWSgK36P/Z/v+p888pM69jMMfS8Xd8F6I1kQ/I9HUGg==} @@ -12745,35 +12257,29 @@ packages: /argparse@2.0.1: resolution: {integrity: sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==} - /aria-hidden@1.2.3: - resolution: {integrity: sha512-xcLxITLe2HYa1cnYnwCjkOO1PqUHQpozB8x9AR0OgWN2woOBi5kSDVxKfd0b7sb1hw5qFeJhXm9H1nu3xSfLeQ==} + /aria-hidden@1.2.4: + resolution: {integrity: sha512-y+CcFFwelSXpLZk/7fMB2mUbGtX9lKycf1MWJ7CaTIERyitVlyQx6C+sxcROU2BAJ24OiZyK+8wj2i8AlBoS3A==} engines: {node: '>=10'} dependencies: - tslib: 2.6.2 + tslib: 2.6.3 dev: true /aria-query@5.1.3: resolution: {integrity: sha512-R5iJ5lkuHybztUfuOAznmboyjWq8O6sqNqtK7CLOqdydi54VNbORp49mb14KbWgG1QD3JFO9hJdZ+y4KutfdOQ==} dependencies: - deep-equal: 2.2.2 - dev: true - - /aria-query@5.3.0: - resolution: {integrity: sha512-b0P0sZPKtyu8HkeRAfCq0IfURZK+SuwMjY1UXGBU27wpAiTwQAIlq56IbIO+ytk/JjS1fMR14ee5WBBfKi5J6A==} - dependencies: - dequal: 2.0.3 - dev: false + deep-equal: 2.2.3 /arr-rotate@1.0.0: resolution: {integrity: sha512-yOzOZcR9Tn7enTF66bqKorGGH0F36vcPaSWg8fO0c0UYb3LX3VMXj5ZxEqQLNOecAhlRJ7wYZja5i4jTlnbIfQ==} engines: {node: '>=4'} dev: true - /array-buffer-byte-length@1.0.0: - resolution: {integrity: sha512-LPuwb2P+NrQw3XhxGc36+XSvuBPopovXYTR9Ew++Du9Yb/bx5AzBfrIsBoj0EZUifjQU+sHL21sseZ3jerWO/A==} + /array-buffer-byte-length@1.0.1: + resolution: {integrity: sha512-ahC5W1xgou+KTXix4sAO8Ki12Q+jf4i0+tmk3sC+zgcynshkHxzpXdImBehiUYKKKDwvfFiJl1tZt6ewscS1Mg==} + engines: {node: '>= 0.4'} dependencies: - call-bind: 1.0.5 - is-array-buffer: 3.0.2 + call-bind: 1.0.7 + is-array-buffer: 3.0.4 /array-flatten@1.1.1: resolution: {integrity: sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg==} @@ -12782,14 +12288,15 @@ packages: resolution: {integrity: sha512-c5AMf34bKdvPhQ7tBGhqkgKNUzMr4WUs+WDtC2ZUGOUncbxKMTvqxYctiseW3+L4bA8ec+GcZ6/A/FW4m8ukng==} dev: true - /array-includes@3.1.7: - resolution: {integrity: sha512-dlcsNBIiWhPkHdOEEKnehA+RNUWDc4UqFtnIXU4uuYDPtA4LDkr7qip2p0VvFAEXNDr0yWZ9PJyIRiGjRLQzwQ==} + /array-includes@3.1.8: + resolution: {integrity: sha512-itaWrbYbqpGXkGhZPGUulwnhVf5Hpy1xiCFsGqyIGglbBxmG5vSjxQen3/WGOjPpNEv1RtBLKxbmVXm8HpJStQ==} engines: {node: '>= 0.4'} dependencies: - call-bind: 1.0.2 + call-bind: 1.0.7 define-properties: 1.2.1 - es-abstract: 1.22.2 - get-intrinsic: 1.2.1 + es-abstract: 1.23.3 + es-object-atoms: 1.0.0 + get-intrinsic: 1.2.4 is-string: 1.0.7 /array-timsort@1.0.3: @@ -12799,55 +12306,79 @@ packages: resolution: {integrity: sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==} engines: {node: '>=8'} - /array.prototype.findlastindex@1.2.3: - resolution: {integrity: sha512-LzLoiOMAxvy+Gd3BAq3B7VeIgPdo+Q8hthvKtXybMvRV0jrXfJM/t8mw7nNlpEcVlVUnCnM2KSX4XU5HmpodOA==} + /array.prototype.findlast@1.2.5: + resolution: {integrity: sha512-CVvd6FHg1Z3POpBLxO6E6zr+rSKEQ9L6rZHAaY7lLfhKsWYUBBOuMs0e9o24oopj6H+geRCX0YJ+TJLBK2eHyQ==} + engines: {node: '>= 0.4'} + dependencies: + call-bind: 1.0.7 + define-properties: 1.2.1 + es-abstract: 1.23.3 + es-errors: 1.3.0 + es-object-atoms: 1.0.0 + es-shim-unscopables: 1.0.2 + dev: false + + /array.prototype.findlastindex@1.2.5: + resolution: {integrity: sha512-zfETvRFA8o7EiNn++N5f/kaCw221hrpGsDmcpndVupkPzEc1Wuf3VgC0qby1BbHs7f5DVYjgtEU2LLh5bqeGfQ==} engines: {node: '>= 0.4'} dependencies: - call-bind: 1.0.2 + call-bind: 1.0.7 define-properties: 1.2.1 - es-abstract: 1.22.2 - es-shim-unscopables: 1.0.0 - get-intrinsic: 1.2.1 + es-abstract: 1.23.3 + es-errors: 1.3.0 + es-object-atoms: 1.0.0 + es-shim-unscopables: 1.0.2 /array.prototype.flat@1.3.2: resolution: {integrity: sha512-djYB+Zx2vLewY8RWlNCUdHjDXs2XOgm602S9E7P/UpHgfeHL00cRiIF+IN/G/aUJ7kGPb6yO/ErDI5V2s8iycA==} engines: {node: '>= 0.4'} dependencies: - call-bind: 1.0.2 + call-bind: 1.0.7 define-properties: 1.2.1 - es-abstract: 1.22.2 - es-shim-unscopables: 1.0.0 + es-abstract: 1.23.3 + es-shim-unscopables: 1.0.2 /array.prototype.flatmap@1.3.2: resolution: {integrity: sha512-Ewyx0c9PmpcsByhSW4r+9zDU7sGjFc86qf/kKtuSCRdhfbk0SNLLkaT5qvcHnRGgc5NP/ly/y+qkXkqONX54CQ==} engines: {node: '>= 0.4'} dependencies: - call-bind: 1.0.2 + call-bind: 1.0.7 + define-properties: 1.2.1 + es-abstract: 1.23.3 + es-shim-unscopables: 1.0.2 + + /array.prototype.toreversed@1.1.2: + resolution: {integrity: sha512-wwDCoT4Ck4Cz7sLtgUmzR5UV3YF5mFHUlbChCzZBQZ+0m2cl/DH3tKgvphv1nKgFsJ48oCSg6p91q2Vm0I/ZMA==} + dependencies: + call-bind: 1.0.7 define-properties: 1.2.1 - es-abstract: 1.22.2 - es-shim-unscopables: 1.0.0 + es-abstract: 1.23.3 + es-shim-unscopables: 1.0.2 + dev: false - /array.prototype.tosorted@1.1.2: - resolution: {integrity: sha512-HuQCHOlk1Weat5jzStICBCd83NxiIMwqDg/dHEsoefabn/hJRj5pVdWcPUSpRrwhwxZOsQassMpgN/xRYFBMIg==} + /array.prototype.tosorted@1.1.4: + resolution: {integrity: sha512-p6Fx8B7b7ZhL/gmUsAy0D15WhvDccw3mnGNbZpi3pmeJdxtWsj2jEaI4Y6oo3XiHfzuSgPwKc04MYt6KgvC/wA==} + engines: {node: '>= 0.4'} dependencies: - call-bind: 1.0.2 + call-bind: 1.0.7 define-properties: 1.2.1 - es-abstract: 1.22.2 - es-shim-unscopables: 1.0.0 - get-intrinsic: 1.2.1 + es-abstract: 1.23.3 + es-errors: 1.3.0 + es-shim-unscopables: 1.0.2 dev: false - /arraybuffer.prototype.slice@1.0.2: - resolution: {integrity: sha512-yMBKppFur/fbHu9/6USUe03bZ4knMYiwFBcyiaXB8Go0qNehwX6inYPzK9U0NeQvGxKthcmHcaR8P5MStSRBAw==} + /arraybuffer.prototype.slice@1.0.3: + resolution: {integrity: sha512-bMxMKAjg13EBSVscxTaYA4mRc5t1UAXa2kXiGTNfZ079HIWXEkKmkgFrh/nJqamaLSrXO5H4WFFkPEaLJWbs3A==} engines: {node: '>= 0.4'} dependencies: - array-buffer-byte-length: 1.0.0 - call-bind: 1.0.5 + array-buffer-byte-length: 1.0.1 + call-bind: 1.0.7 define-properties: 1.2.1 - es-abstract: 1.22.2 - get-intrinsic: 1.2.1 - is-array-buffer: 3.0.2 - is-shared-array-buffer: 1.0.2 + es-abstract: 1.23.3 + es-errors: 1.3.0 + get-intrinsic: 1.2.4 + is-array-buffer: 3.0.4 + is-shared-array-buffer: 1.0.3 /arrify@1.0.1: resolution: {integrity: sha512-3CYzex9M9FGQjCGMGyi6/31c8GJbgb0qGyrx5HWxPd0aCwh4cB2YjMb2Xf9UuoogrMrlO9cTqnB5rI5GHZTcUA==} @@ -12868,10 +12399,10 @@ packages: /assert@2.1.0: resolution: {integrity: sha512-eLHpSK/Y4nhMJ07gDaAzoX/XAKS8PSaojml3M0DM4JpV1LAi5JOJ/p6H/XWrl8L+DzVEvVCW1z3vWAaB9oTsQw==} dependencies: - call-bind: 1.0.5 + call-bind: 1.0.7 is-nan: 1.3.2 - object-is: 1.1.5 - object.assign: 4.1.4 + object-is: 1.1.6 + object.assign: 4.1.5 util: 0.12.5 dev: true @@ -12879,29 +12410,15 @@ packages: resolution: {integrity: sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw==} dev: true - /ast-types-flow@0.0.7: - resolution: {integrity: sha512-eBvWn1lvIApYMhzQMsu9ciLfkBY499mFZlNqG+/9WR7PVlroQw0vG30cOQQbaKz3sCEc44TAOu2ykzqXSNnwag==} + /ast-types-flow@0.0.8: + resolution: {integrity: sha512-OH/2E5Fg20h2aPrbe+QL8JZQFko0YZaF+j4mnQ7BGhfavO7OpSLa8a0y9sBwomHdSbkhTS8TQNayBfnW5DwbvQ==} dev: false - /ast-types@0.14.2: - resolution: {integrity: sha512-O0yuUDnZeQDL+ncNGlJ78BiO4jnYI3bvMsD5prT0/nsgijG/LpNBIr63gTjVTNsiGkgQhiyCShTgxt8oXOrklA==} - engines: {node: '>=4'} - dependencies: - tslib: 2.6.2 - dev: true - - /ast-types@0.15.2: - resolution: {integrity: sha512-c27loCv9QkZinsa5ProX751khO9DJl/AcB5c2KNtA6NRvHKS0PgLfcftz72KVq504vB0Gku5s2kUZzDBvQWvHg==} - engines: {node: '>=4'} - dependencies: - tslib: 2.6.2 - dev: true - /ast-types@0.16.1: resolution: {integrity: sha512-6t10qk83GOG8p0vKmaCr8eiilZwO171AvbROMtvvNiwrTly62t+7XkA8RdIIVbpMhCASAsxgAzdRSwh6nw/5Dg==} engines: {node: '>=4'} dependencies: - tslib: 2.6.2 + tslib: 2.6.3 dev: true /astral-regex@2.0.0: @@ -12918,14 +12435,8 @@ packages: retry: 0.13.1 dev: false - /async@3.2.4: - resolution: {integrity: sha512-iAB+JbDEGXhyIUavoDl9WP/Jj106Kz9DEn1DPgYw5ruDn0e3Wgi3sKFm55sASdGBNOQB8F59d9qQ7deqrHA8wQ==} - - /asynciterator.prototype@1.0.0: - resolution: {integrity: sha512-wwHYEIS0Q80f5mosx3L/dfG5t5rjEa9Ft51GTaNt862EnpyGHpgz2RkZvLPp1oF5TnAiTohkEKVEu8pQPJI7Vg==} - dependencies: - has-symbols: 1.0.3 - dev: false + /async@3.2.5: + resolution: {integrity: sha512-baNZyqaaLhyLVKm/DlvdW051MSgO6b8eVfIezl9E5PqWxFgzLm/wQntEW4zOytVburDEr0JlALEpdOFwvErLsg==} /asynckit@0.4.0: resolution: {integrity: sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==} @@ -12940,35 +12451,37 @@ packages: engines: {node: '>=8'} dev: true - /autoprefixer@10.4.16(postcss@8.4.38): - resolution: {integrity: sha512-7vd3UC6xKp0HLfua5IjZlcXvGAGy7cBAXTg2lyQ/8WpNhd6SiZ8Be+xm3FyBSYJx5GKcpRCzBh7RH4/0dnY+uQ==} + /autoprefixer@10.4.19(postcss@8.4.38): + resolution: {integrity: sha512-BaENR2+zBZ8xXhM4pUaKUxlVdxZ0EZhjvbopwnXmxRUfqDmwSpC2lAi/QXvx7NRdPCo1WKEcEF6mV64si1z4Ew==} engines: {node: ^10 || ^12 || >=14} hasBin: true peerDependencies: postcss: ^8.1.0 dependencies: - browserslist: 4.22.1 - caniuse-lite: 1.0.30001546 - fraction.js: 4.3.6 + browserslist: 4.23.1 + caniuse-lite: 1.0.30001636 + fraction.js: 4.3.7 normalize-range: 0.1.2 - picocolors: 1.0.0 + picocolors: 1.0.1 postcss: 8.4.38 postcss-value-parser: 4.2.0 dev: true - /available-typed-arrays@1.0.5: - resolution: {integrity: sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw==} + /available-typed-arrays@1.0.7: + resolution: {integrity: sha512-wvUjBtSGN7+7SjNpq/9M2Tg350UZD3q62IFZLbRAR1bSMlCo1ZaeW+BJ+D090e4hIIZLBcTDWe4Mh4jvUDajzQ==} engines: {node: '>= 0.4'} + dependencies: + possible-typed-array-names: 1.0.0 - /aws-cdk-lib@2.124.0(constructs@10.3.0): - resolution: {integrity: sha512-K/Tey8TMw30GO6UD0qb19CPhBMZhleGshz520ZnbDUJwNfFtejwZOnpmRMOdUP9f4tHc5BrXl1VGsZtXtUaGhg==} + /aws-cdk-lib@2.147.0(constructs@10.3.0): + resolution: {integrity: sha512-0dzUEeWxpuLeeQvqwR4Vz2ja/V0nzzgndgPdp56nc9CsghbrFtMATtno3ec5INHiJz/Mj6/NXQ5t9vrffd6Mgw==} engines: {node: '>= 14.15.0'} peerDependencies: constructs: ^10.0.0 dependencies: '@aws-cdk/asset-awscli-v1': 2.2.202 '@aws-cdk/asset-kubectl-v20': 2.1.2 - '@aws-cdk/asset-node-proxy-agent-v6': 2.0.1 + '@aws-cdk/asset-node-proxy-agent-v6': 2.0.3 constructs: 10.3.0 dev: false bundledDependencies: @@ -12982,6 +12495,7 @@ packages: - semver - table - yaml + - mime-types /aws-sdk-client-mock-jest@3.0.0(aws-sdk-client-mock@3.0.0): resolution: {integrity: sha512-oV1rBQZc4UumLbzZAhi8UAehUq+k75hkQYGLrVIP0iJj85Z9xw+EaSsmJke/KQ8Z3vng+Xv1xbounsxpvZpunQ==} @@ -12990,62 +12504,60 @@ packages: dependencies: '@types/jest': 28.1.8 aws-sdk-client-mock: 3.0.0 - tslib: 2.6.2 + tslib: 2.6.3 dev: true /aws-sdk-client-mock@3.0.0: resolution: {integrity: sha512-4mBiWhuLYLZe1+K/iB8eYy5SAZyW2se+Keyh5u9QouMt6/qJ5SRZhss68xvUX5g3ApzROJ06QPRziYHP6buuvQ==} dependencies: - '@types/sinon': 10.0.19 + '@types/sinon': 10.0.20 sinon: 14.0.2 - tslib: 2.6.2 + tslib: 2.6.3 dev: true - /axe-core@4.8.2: - resolution: {integrity: sha512-/dlp0fxyM3R8YW7MFzaHWXrf4zzbr0vaYb23VBFCl83R7nWNPg/yaQw2Dc8jzCMmDVLhSdzH8MjrsuIUuvX+6g==} + /axe-core@4.9.1: + resolution: {integrity: sha512-QbUdXJVTpvUTHU7871ppZkdOLBeGUKBQWHkHrvN2V9IQWGMt61zf3B45BtzjxEJzYuj0JBjBZP/hmYS/R9pmAw==} engines: {node: '>=4'} dev: false - /axios@0.27.2: - resolution: {integrity: sha512-t+yRIyySRTp/wua5xEr+z1q60QmLq8ABsS5O9Me1AsE5dfKqgnCFzwiCZZ/cGNd1lq4/7akDWMxdhVlucjmnOQ==} + /axios@1.7.2: + resolution: {integrity: sha512-2A8QhOMrbomlDuiLeK9XibIBzuHeRcqqNOHp0Cyp5EoJ1IFDh+XZH3A6BkXtv0K4gFGCI0Y4BM7B1wOEi0Rmgw==} requiresBuild: true dependencies: - follow-redirects: 1.15.5 + follow-redirects: 1.15.6 form-data: 4.0.0 + proxy-from-env: 1.1.0 transitivePeerDependencies: - debug dev: false optional: true - /axobject-query@3.2.1: - resolution: {integrity: sha512-jsyHu61e6N4Vbz/v18DHwWYKK0bSWLqn47eeDSKPB7m8tqMHF9YJ+mhIk2lVteyZrY8tnSj/jHOv4YiTCuCJgg==} + /axobject-query@3.1.1: + resolution: {integrity: sha512-goKlv8DZrK9hUh975fnHzhNIO4jUnFCfv/dszV5VwUGDFjI6vQ2VwoyjYjYNEbBE8AH87TduWP5uyDR1D+Iteg==} dependencies: - dequal: 2.0.3 + deep-equal: 2.2.3 dev: false - /azure-devops-node-api@11.2.0: - resolution: {integrity: sha512-XdiGPhrpaT5J8wdERRKs5g8E0Zy1pvOYTli7z9E8nmOn3YGp4FhtjhrOyFmX/8veWCwdI69mCHKJw6l+4J/bHA==} + /azure-devops-node-api@12.5.0: + resolution: {integrity: sha512-R5eFskGvOm3U/GzeAuxRkUsAl0hrAwGgWn6zAd2KrZmrEhWZVqLew4OOupbQlXUuojUzpGtq62SmdhJ06N88og==} dependencies: tunnel: 0.0.6 typed-rest-client: 1.8.11 dev: true - /b4a@1.6.6: - resolution: {integrity: sha512-5Tk1HLk6b6ctmjIkAcU/Ujv/1WqiDl0F0JdRCR80VsOcUlHcu7pWeWRlOqQLHfDEsVx9YH/aif5AG4ehoCtTmg==} - - /babel-core@7.0.0-bridge.0(@babel/core@7.23.9): + /babel-core@7.0.0-bridge.0(@babel/core@7.24.7): resolution: {integrity: sha512-poPX9mZH/5CSanm50Q+1toVci6pv5KSRv/5TWCwtzQS5XEwn40BcCrgIeMFWP9CKKIniKXNxoIOnOq4VVlGXhg==} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 + '@babel/core': 7.24.7 dev: true /babel-plugin-istanbul@6.1.1: resolution: {integrity: sha512-Y1IQok9821cC9onCx5otgFfRm7Lm+I+wwxOx738M/WLPZ9Q42m4IG5W0FNX8WLL2gYMZo3JkuXIH2DOpWM+qwA==} engines: {node: '>=8'} dependencies: - '@babel/helper-plugin-utils': 7.22.5 + '@babel/helper-plugin-utils': 7.24.7 '@istanbuljs/load-nyc-config': 1.1.0 '@istanbuljs/schema': 0.1.3 istanbul-lib-instrument: 5.2.1 @@ -13054,38 +12566,38 @@ packages: - supports-color dev: true - /babel-plugin-polyfill-corejs2@0.4.5(@babel/core@7.23.9): - resolution: {integrity: sha512-19hwUH5FKl49JEsvyTcoHakh6BE0wgXLLptIyKZ3PijHc/Ci521wygORCUCCred+E/twuqRyAkE02BAWPmsHOg==} + /babel-plugin-polyfill-corejs2@0.4.11(@babel/core@7.24.7): + resolution: {integrity: sha512-sMEJ27L0gRHShOh5G54uAAPaiCOygY/5ratXuiyb2G46FmlSpc9eFCzYVyDiPxfNbwzA7mYahmjQc5q+CZQ09Q==} peerDependencies: '@babel/core': ^7.4.0 || ^8.0.0-0 <8.0.0 dependencies: - '@babel/compat-data': 7.23.5 - '@babel/core': 7.23.9 - '@babel/helper-define-polyfill-provider': 0.4.2(@babel/core@7.23.9) + '@babel/compat-data': 7.24.7 + '@babel/core': 7.24.7 + '@babel/helper-define-polyfill-provider': 0.6.2(@babel/core@7.24.7) semver: 6.3.1 transitivePeerDependencies: - supports-color dev: true - /babel-plugin-polyfill-corejs3@0.8.4(@babel/core@7.23.9): - resolution: {integrity: sha512-9l//BZZsPR+5XjyJMPtZSK4jv0BsTO1zDac2GC6ygx9WLGlcsnRd1Co0B2zT5fF5Ic6BZy+9m3HNZ3QcOeDKfg==} + /babel-plugin-polyfill-corejs3@0.10.4(@babel/core@7.24.7): + resolution: {integrity: sha512-25J6I8NGfa5YkCDogHRID3fVCadIR8/pGl1/spvCkzb6lVn6SR3ojpx9nOn9iEBcUsjY24AmdKm5khcfKdylcg==} peerDependencies: '@babel/core': ^7.4.0 || ^8.0.0-0 <8.0.0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-define-polyfill-provider': 0.4.2(@babel/core@7.23.9) - core-js-compat: 3.33.0 + '@babel/core': 7.24.7 + '@babel/helper-define-polyfill-provider': 0.6.2(@babel/core@7.24.7) + core-js-compat: 3.37.1 transitivePeerDependencies: - supports-color dev: true - /babel-plugin-polyfill-regenerator@0.5.2(@babel/core@7.23.9): - resolution: {integrity: sha512-tAlOptU0Xj34V1Y2PNTL4Y0FOJMDB6bZmoW39FeCQIhigGLkqu3Fj6uiXpxIf6Ij274ENdYx64y6Au+ZKlb1IA==} + /babel-plugin-polyfill-regenerator@0.6.2(@babel/core@7.24.7): + resolution: {integrity: sha512-2R25rQZWP63nGwaAswvDazbPXfrM3HwVoBXK6HcqeKrSrL/JqcC/rDcf95l4r7LXLyxDXc8uQDa064GubtCABg==} peerDependencies: '@babel/core': ^7.4.0 || ^8.0.0-0 <8.0.0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-define-polyfill-provider': 0.4.2(@babel/core@7.23.9) + '@babel/core': 7.24.7 + '@babel/helper-define-polyfill-provider': 0.6.2(@babel/core@7.24.7) transitivePeerDependencies: - supports-color dev: true @@ -13097,13 +12609,13 @@ packages: requiresBuild: true dependencies: '@octokit/rest': 18.12.0 - axios: 0.27.2 + axios: 1.7.2 dedent: 0.7.0 del: 6.1.1 - dotenv: 16.3.1 + dotenv: 16.4.5 find-up: 5.0.0 - graphql: 16.8.1 - graphql-tag: 2.12.6(graphql@16.8.1) + graphql: 16.9.0 + graphql-tag: 2.12.6(graphql@16.9.0) inquirer: 8.2.6 lodash: 4.17.21 make-dir: 3.1.0 @@ -13111,8 +12623,8 @@ packages: safe-json-stringify: 1.2.0 strip-json-comments: 3.1.1 terminal-link: 2.1.1 - utility-types: 3.10.0 - winston: 3.11.0 + utility-types: 3.11.0 + winston: 3.13.0 yargs: 17.7.2 yargs-parser: 21.1.1 transitivePeerDependencies: @@ -13148,26 +12660,26 @@ packages: is-windows: 1.0.2 dev: false - /big-integer@1.6.51: - resolution: {integrity: sha512-GPEid2Y9QU1Exl1rpO9B2IPJGHPSupF5GnVIP0blYvNOMer2bTvSWs1jGOUg04hTmu67nmLsQ9TBo1puaotBHg==} + /big-integer@1.6.52: + resolution: {integrity: sha512-QxD8cf2eVqJOOz63z6JIN9BzvVs/dlySa5HGSBH5xtR8dPteIRQnBxxKqkNTiT6jbDTF6jAfrd4oMcND9RGbQg==} engines: {node: '>=0.6'} /bignumber.js@9.1.2: resolution: {integrity: sha512-2/mKyZH9K85bzOEfhXDBFZTGd1CTs+5IHpeFQo9luiBG7hghdC851Pj2WAhb6E3R6b9tZj/XKhbg4fum+Kepug==} dev: false - /bin-links@4.0.2: - resolution: {integrity: sha512-jxJ0PbXR8eQyPlExCvCs3JFnikvs1Yp4gUJt6nmgathdOwvur+q22KWC3h20gvWl4T/14DXKj2IlkJwwZkZPOw==} + /bin-links@4.0.4: + resolution: {integrity: sha512-cMtq4W5ZsEwcutJrVId+a/tjt8GSbS+h0oNkdl6+6rBuEv8Ot33Bevj5KPm40t309zuhVic8NjpuL42QCiJWWA==} engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} dependencies: - cmd-shim: 6.0.1 + cmd-shim: 6.0.3 npm-normalize-package-bin: 3.0.1 read-cmd-shim: 4.0.0 write-file-atomic: 5.0.1 dev: false - /binary-extensions@2.2.0: - resolution: {integrity: sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==} + /binary-extensions@2.3.0: + resolution: {integrity: sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==} engines: {node: '>=8'} /bl@4.1.0: @@ -13196,8 +12708,8 @@ packages: transitivePeerDependencies: - supports-color - /bole@5.0.11: - resolution: {integrity: sha512-KB0Ye0iMAW5BnNbnLfMSQcnI186hKUzE2fpkZWqcxsoTR7eqzlTidSOMYPHJOn/yR7VGH7uSZp37qH9q2Et0zQ==} + /bole@5.0.13: + resolution: {integrity: sha512-JQ3xWh2nYsVUuJx7ZN4fzU3vHpzceWb7CC06LUXWwdY++Hzd7Wola7zN3Ud5XgmOVoH/6KzrdMmJokol/xtejw==} dependencies: fast-safe-stringify: 2.1.1 individual: 3.0.0 @@ -13233,7 +12745,7 @@ packages: resolution: {integrity: sha512-z0M+byMThzQmD9NILRniCUXYsYpjwnlO8N5uCFaCqIOpqRsJCrQL9NK3JsD67CN5a08nF5oIL2bD6loTdHOuKw==} engines: {node: '>= 5.10.0'} dependencies: - big-integer: 1.6.51 + big-integer: 1.6.52 /brace-expansion@1.1.11: resolution: {integrity: sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==} @@ -13246,11 +12758,11 @@ packages: dependencies: balanced-match: 1.0.2 - /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 /browser-assert@1.2.1: resolution: {integrity: sha512-nfulgvOR6S4gt9UKCeGJOuSGBPGiFT6oQ/2UBnvTY/5aQ1PnksW72fhZkM30DzoRRv2WpwZf1vHHEr3mtuXIWQ==} @@ -13262,26 +12774,15 @@ packages: pako: 0.2.9 dev: true - /browserslist@4.22.1: - resolution: {integrity: sha512-FEVc202+2iuClEhZhrWy6ZiAcRLvNMyYcxZ8raemul1DYVOVdFsbqckWLdsixQZCpJlwe77Z3UTalE7jsjnKfQ==} - engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} - hasBin: true - dependencies: - caniuse-lite: 1.0.30001546 - electron-to-chromium: 1.4.544 - node-releases: 2.0.13 - update-browserslist-db: 1.0.13(browserslist@4.22.1) - dev: true - - /browserslist@4.23.0: - resolution: {integrity: sha512-QW8HiM1shhT2GuzkvklfjcKDiWFXHOeFCIA/huJPwHsslwcydgk7X+z2zXpEijP98UCY7HbubZt5J2Zgvf0CaQ==} + /browserslist@4.23.1: + resolution: {integrity: sha512-TUfofFo/KsK/bWZ9TWQ5O26tsWW4Uhmt8IYklbnUa70udB6P2wA7w7o4PY4muaEPBQaAX+CEnmmIA41NVHtPVw==} engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} hasBin: true dependencies: - caniuse-lite: 1.0.30001589 - electron-to-chromium: 1.4.682 + caniuse-lite: 1.0.30001636 + electron-to-chromium: 1.4.810 node-releases: 2.0.14 - update-browserslist-db: 1.0.13(browserslist@4.23.0) + update-browserslist-db: 1.0.16(browserslist@4.23.1) dev: true /bser@2.1.1: @@ -13296,6 +12797,7 @@ packages: /buffer-crc32@0.2.13: resolution: {integrity: sha512-VO9Ht/+p3SN7SKWqcrgEzjGbRSJYTx+Q1pTQC0wrWqHx0vpJraQ6GtHx8tvcg1rlK1byhU5gccxgOgj7B0TDkQ==} + dev: true /buffer-equal-constant-time@1.0.1: resolution: {integrity: sha512-zRpUiDwd/xk6ADqPMATG8vc9VPrkck7T07OIx0gnjmJAnHnTVXNQG3vfvWNuiZIkwu9KrKdA1iJKfsfTVxE6NA==} @@ -13321,10 +12823,10 @@ packages: engines: {node: '>=6'} dev: false - /builtins@5.0.1: - resolution: {integrity: sha512-qwVpFEHNfhYJIzNRBvd2C1kyo6jz3ZSMPyyuR47OPdiKWlbYnZNyDWuyR175qDnAJLiCo5fBBqPb3RiXgWlkOQ==} + /builtins@5.1.0: + resolution: {integrity: sha512-SW9lzGTLvWTP1AY8xeAMZimqDrIaSdLQUcVr9DMef51niJ022Ri87SwRRKYm4A6iHfkPaiVUu/Duw2Wc4J7kKg==} dependencies: - semver: 7.5.4 + semver: 7.6.2 dev: false /bundle-name@3.0.0: @@ -13334,8 +12836,8 @@ packages: run-applescript: 5.0.0 dev: false - /bundle-require@4.0.2(esbuild@0.17.19): - resolution: {integrity: sha512-jwzPOChofl67PSTW2SGubV9HBQAhhR2i6nskiOThauo9dzwDUgOWQScFVaJkjEfYX+UXiD+LEx8EblQMc2wIag==} + /bundle-require@4.2.1(esbuild@0.17.19): + resolution: {integrity: sha512-7Q/6vkyYAwOmQNRw75x+4yRtZCZJXUDmHHlFdkiV0wgv/reNjtJwpu1jPJ0w2kbEpIM0uoKI3S4/f39dU7AjSA==} engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} peerDependencies: esbuild: '>=0.17' @@ -13344,13 +12846,13 @@ packages: load-tsconfig: 0.2.5 dev: true - /bundle-require@4.0.2(esbuild@0.19.12): - resolution: {integrity: sha512-jwzPOChofl67PSTW2SGubV9HBQAhhR2i6nskiOThauo9dzwDUgOWQScFVaJkjEfYX+UXiD+LEx8EblQMc2wIag==} + /bundle-require@4.2.1(esbuild@0.21.5): + resolution: {integrity: sha512-7Q/6vkyYAwOmQNRw75x+4yRtZCZJXUDmHHlFdkiV0wgv/reNjtJwpu1jPJ0w2kbEpIM0uoKI3S4/f39dU7AjSA==} engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} peerDependencies: esbuild: '>=0.17' dependencies: - esbuild: 0.19.12 + esbuild: 0.21.5 load-tsconfig: 0.2.5 dev: true @@ -13363,96 +12865,60 @@ packages: resolution: {integrity: sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==} engines: {node: '>= 0.8'} - /c12@1.4.2: - resolution: {integrity: sha512-3IP/MuamSVRVw8W8+CHWAz9gKN4gd+voF2zm/Ln6D25C2RhytEZ1ABbC8MjKr4BR9rhoV1JQ7jJA158LDiTkLg==} + /c12@1.11.1: + resolution: {integrity: sha512-KDU0TvSvVdaYcQKQ6iPHATGz/7p/KiVjPg4vQrB6Jg/wX9R0yl5RZxWm9IoZqaIHD2+6PZd81+KMGwRr/lRIUg==} + peerDependencies: + magicast: ^0.3.4 + peerDependenciesMeta: + magicast: + optional: true dependencies: - chokidar: 3.5.3 - defu: 6.1.2 - dotenv: 16.3.1 - giget: 1.1.3 - jiti: 1.21.0 - mlly: 1.4.2 + chokidar: 3.6.0 + confbox: 0.1.7 + defu: 6.1.4 + dotenv: 16.4.5 + giget: 1.2.3 + jiti: 1.21.6 + mlly: 1.7.1 ohash: 1.1.3 - pathe: 1.1.1 + pathe: 1.1.2 perfect-debounce: 1.0.0 - pkg-types: 1.0.3 - rc9: 2.1.1 - transitivePeerDependencies: - - supports-color + pkg-types: 1.1.1 + rc9: 2.1.2 dev: false - /c8@7.14.0: - resolution: {integrity: sha512-i04rtkkcNcCf7zsQcSv/T9EbUn4RXQ6mropeMcjFOsQXQ0iGLAr/xT6TImQg4+U9hmNpN9XdvPkjUL1IzbgxJw==} - engines: {node: '>=10.12.0'} - hasBin: true - dependencies: - '@bcoe/v8-coverage': 0.2.3 - '@istanbuljs/schema': 0.1.3 - find-up: 5.0.0 - foreground-child: 2.0.0 - istanbul-lib-coverage: 3.2.2 - istanbul-lib-report: 3.0.1 - istanbul-reports: 3.1.6 - rimraf: 3.0.2 - test-exclude: 6.0.0 - v8-to-istanbul: 9.1.3 - yargs: 16.2.0 - yargs-parser: 20.2.9 - dev: true - /cac@6.7.14: resolution: {integrity: sha512-b6Ilus+c3RrdDk+JhLKUAQfzzgLEPy6wcXqS7f/xe1EETvsDP6GORG7SFuOs6cID5YkqchW/LXZbX5bc8j7ZcQ==} engines: {node: '>=8'} dev: true - /cacache@17.1.4: - resolution: {integrity: sha512-/aJwG2l3ZMJ1xNAnqbMpA40of9dj/pIH3QfiuQSqjfPJF747VR0J/bHn+/KdNnHKc6XQcWt/AfRSBft82W1d2A==} - engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} - dependencies: - '@npmcli/fs': 3.1.0 - fs-minipass: 3.0.3 - glob: 10.3.10 - lru-cache: 7.18.3 - minipass: 7.0.4 - minipass-collect: 1.0.2 - minipass-flush: 1.0.5 - minipass-pipeline: 1.2.4 - p-map: 4.0.0 - ssri: 10.0.5 - tar: 6.2.0 - unique-filename: 3.0.0 - dev: false - - /cacache@18.0.0: - resolution: {integrity: sha512-I7mVOPl3PUCeRub1U8YoGz2Lqv9WOBpobZ8RyWFXmReuILz+3OAyTa5oH3QPdtKZD7N0Yk00aLfzn0qvp8dZ1w==} + /cacache@18.0.3: + resolution: {integrity: sha512-qXCd4rh6I07cnDqh8V48/94Tc/WSfj+o3Gn6NZ0aZovS255bUx8O13uKxRFd2eWG0xgsco7+YItQNPaa5E85hg==} engines: {node: ^16.14.0 || >=18.0.0} dependencies: - '@npmcli/fs': 3.1.0 + '@npmcli/fs': 3.1.1 fs-minipass: 3.0.3 - glob: 10.3.10 - lru-cache: 10.0.1 - minipass: 7.0.4 - minipass-collect: 1.0.2 + glob: 10.4.2 + lru-cache: 10.2.2 + minipass: 7.1.2 + minipass-collect: 2.0.1 minipass-flush: 1.0.5 minipass-pipeline: 1.2.4 p-map: 4.0.0 - ssri: 10.0.5 - tar: 6.2.0 + ssri: 10.0.6 + tar: 6.2.1 unique-filename: 3.0.0 dev: false - /call-bind@1.0.2: - resolution: {integrity: sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==} - dependencies: - function-bind: 1.1.1 - get-intrinsic: 1.2.1 - - /call-bind@1.0.5: - resolution: {integrity: sha512-C3nQxfFZxFRVoJoGKKI8y3MOEo129NQ+FgQ08iye+Mk4zNZZGdjfs06bVTr+DBSlA66Q2VEcMki/cUCP4SercQ==} + /call-bind@1.0.7: + resolution: {integrity: sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w==} + engines: {node: '>= 0.4'} dependencies: + es-define-property: 1.0.0 + es-errors: 1.3.0 function-bind: 1.1.2 - get-intrinsic: 1.2.2 - set-function-length: 1.2.0 + get-intrinsic: 1.2.4 + set-function-length: 1.2.2 /callsites@3.1.0: resolution: {integrity: sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==} @@ -13485,28 +12951,27 @@ packages: path-temp: 2.1.0 dev: false - /caniuse-lite@1.0.30001546: - resolution: {integrity: sha512-zvtSJwuQFpewSyRrI3AsftF6rM0X80mZkChIt1spBGEvRglCrjTniXvinc8JKRoqTwXAgvqTImaN9igfSMtUBw==} - dev: true - - /caniuse-lite@1.0.30001589: - resolution: {integrity: sha512-vNQWS6kI+q6sBlHbh71IIeC+sRwK2N3EDySc/updIGhIee2x5z00J4c1242/5/d6EpEMdOnk/m+6tuk4/tcsqg==} + /caniuse-lite@1.0.30001636: + resolution: {integrity: sha512-bMg2vmr8XBsbL6Lr0UHXy/21m84FTxDLWn2FSqMd5PrlbMxwJlQnC2YWYxVgp66PZE+BBNF2jYQUBKCo1FDeZg==} dev: true /case@1.6.3: resolution: {integrity: sha512-mzDSXIPaFwVDvZAHqZ9VlbyF4yyXRuX6IvB06WvPYkqJVO24kX1PPhv9bfpKNFZyxYFmmgo03HUiD8iklmJYRQ==} engines: {node: '>= 0.8.0'} - /cdk8s-plus-27@2.7.81(cdk8s@2.68.43)(constructs@10.3.0): - resolution: {integrity: sha512-udabjGUObc0nJKI/Q+HfRPM5nCNnTEqR0SUMYhnGyVjZDxrrr52eNbGPvFiuYPm+Pul4jEyVB+1A3PWYVR2oTw==} + /ccount@2.0.1: + resolution: {integrity: sha512-eyrF0jiFpY+3drT6383f1qhkbGsLSifNAjA61IUjZjmLCWjItY6LB9ft9YhoDgwfmclB2zhu51Lc7+95b8NRAg==} + dev: false + + /cdk8s-plus-27@2.9.5(cdk8s@2.68.81)(constructs@10.3.0): + resolution: {integrity: sha512-vZtq6BHIi3wFdzxd8LFmKiWIb3sFjV9kFpJ3bN2sOZiQYHoirN0UUlB04n2YMA7u97wJZPc521ZJGUyDBUhupQ==} engines: {node: '>= 16.20.0'} peerDependencies: cdk8s: ^2.68.11 constructs: ^10.3.0 dependencies: - cdk8s: 2.68.43(constructs@10.3.0) + cdk8s: 2.68.81(constructs@10.3.0) constructs: 10.3.0 - minimatch: 3.1.2 optionalDependencies: backport: 8.5.0 transitivePeerDependencies: @@ -13516,55 +12981,47 @@ packages: bundledDependencies: - minimatch - /cdk8s@2.68.43(constructs@10.3.0): - resolution: {integrity: sha512-TpPpM5YMdcJDFgBupJ5bEx2k6hLqNP9v2oCrfGVLTNRv+D5rP/V5J30vi7XC4cW9RUjaLpFgV4no9/AofTobAw==} + /cdk8s@2.68.81(constructs@10.3.0): + resolution: {integrity: sha512-044RW04hXVP6rPxd4j2IRACN1rPcxc6YpT2pdycbE0WKRg4ZYPDAkTeknq+/ESiBrXF4xsIuqDsnLQ3QClqPFw==} engines: {node: '>= 16.20.0'} peerDependencies: constructs: ^10 dependencies: constructs: 10.3.0 - fast-json-patch: 3.1.1 - follow-redirects: 1.15.5 - yaml: 2.3.2 - optionalDependencies: - backport: 8.5.0 - transitivePeerDependencies: - - debug - - encoding dev: false bundledDependencies: - fast-json-patch - follow-redirects - yaml - /cdktf-cli@0.20.3(ink@3.2.0)(react@17.0.2): - resolution: {integrity: sha512-fPdG4pqUmBE/R8wFEJ9QugpeIJkczwnl8lsg13eo0PsmL8biaY8waLX4N5a/p2LLzGrPrVySdrZjF7Cnf+3J/A==} + /cdktf-cli@0.20.7(ink@3.2.0)(jsii-rosetta@5.4.23)(react@17.0.2): + resolution: {integrity: sha512-muEJhxWHZLv1Rayz2t7W3gP1zZbCE4DPFq3gNo4G667TzrwdY7XWreeze8Pj7i3mkQu+K492cSVdWBYKa3AJpg==} hasBin: true dependencies: - '@cdktf/cli-core': 0.20.3(react@17.0.2) - '@cdktf/commons': 0.20.3(constructs@10.1.167) - '@cdktf/hcl-tools': 0.20.3 - '@cdktf/hcl2cdk': 0.20.3(constructs@10.1.167) - '@cdktf/hcl2json': 0.20.3 - '@inquirer/prompts': 2.3.0 - '@sentry/node': 7.64.0 - cdktf: 0.20.3(constructs@10.1.167) - ci-info: 3.8.0 - codemaker: 1.93.0 + '@cdktf/cli-core': 0.20.7(jsii-rosetta@5.4.23)(react@17.0.2) + '@cdktf/commons': 0.20.7(constructs@10.1.167) + '@cdktf/hcl-tools': 0.20.7 + '@cdktf/hcl2cdk': 0.20.7(constructs@10.1.167) + '@cdktf/hcl2json': 0.20.7 + '@inquirer/prompts': 2.3.1 + '@sentry/node': 7.110.0 + cdktf: 0.20.7(constructs@10.1.167) + ci-info: 3.9.0 + codemaker: 1.95.0 constructs: 10.1.167 cross-spawn: 7.0.3 https-proxy-agent: 5.0.1 - ink-select-input: 4.2.1(ink@3.2.0)(react@17.0.2) - ink-table: 3.0.0(ink@3.2.0)(react@17.0.2) - jsii: 5.3.2 - jsii-pacmak: 1.93.0 - minimatch: 5.1.0 - node-fetch: 2.6.7 + ink-select-input: 4.2.2(ink@3.2.0)(react@17.0.2) + ink-table: 3.1.0(ink@3.2.0)(react@17.0.2) + jsii: 5.3.29 + jsii-pacmak: 1.95.0 + minimatch: 5.1.6 + node-fetch: 2.7.0 pidtree: 0.6.0 pidusage: 3.0.2 tunnel-agent: 0.6.0 xml-js: 1.6.11 - yargs: 17.6.2 + yargs: 17.7.2 yoga-layout-prebuilt: 1.10.0 zod: 3.22.4 transitivePeerDependencies: @@ -13573,47 +13030,42 @@ packages: - debug - encoding - ink + - jsii-rosetta - react - supports-color - utf-8-validate dev: true - /cdktf@0.20.3(constructs@10.1.167): - resolution: {integrity: sha512-y8F3pjYzbMHy9ZG3yXSSerx2Yv9dr2i2j2842IKT1tpN74CBfuuPrselTNdI6QoaMvlQJQQB2l93cJmL6eIkaw==} + /cdktf@0.20.7(constructs@10.1.167): + resolution: {integrity: sha512-7za8QQYM1G0/6JUCYY+5smwNfNfbiZVPCMD7SeX2rTYmOLaGEkHZtMvuUTEKSqsE56fKudnfVd2J2edz2CETFg==} peerDependencies: constructs: ^10.0.25 dependencies: - archiver: 6.0.1 constructs: 10.1.167 - json-stable-stringify: 1.1.0 - semver: 7.5.4 dev: true bundledDependencies: - archiver - json-stable-stringify - semver - /cdktf@0.20.3(constructs@10.3.0): - resolution: {integrity: sha512-y8F3pjYzbMHy9ZG3yXSSerx2Yv9dr2i2j2842IKT1tpN74CBfuuPrselTNdI6QoaMvlQJQQB2l93cJmL6eIkaw==} + /cdktf@0.20.7(constructs@10.3.0): + resolution: {integrity: sha512-7za8QQYM1G0/6JUCYY+5smwNfNfbiZVPCMD7SeX2rTYmOLaGEkHZtMvuUTEKSqsE56fKudnfVd2J2edz2CETFg==} peerDependencies: constructs: ^10.0.25 dependencies: - archiver: 6.0.1 constructs: 10.3.0 - json-stable-stringify: 1.1.0 - semver: 7.5.4 bundledDependencies: - archiver - json-stable-stringify - semver - /chai@4.3.10: - resolution: {integrity: sha512-0UXG04VuVbruMUYbJ6JctvH0YnC/4q3/AkT18q4NaITo91CUm0liMS9VqzT9vZhVQ/1eqPanMWjBM+Juhfb/9g==} + /chai@4.4.1: + resolution: {integrity: sha512-13sOfMv2+DWduEU+/xbun3LScLoqN17nBeTLUsmDfKdoiC1fr0n9PU4guu4AhRcOVFk/sW8LyZWHuhWtQZiF+g==} engines: {node: '>=4'} dependencies: assertion-error: 1.1.0 check-error: 1.0.3 - deep-eql: 4.1.3 + deep-eql: 4.1.4 get-func-name: 2.0.2 loupe: 2.3.7 pathval: 1.1.1 @@ -13639,23 +13091,23 @@ packages: resolution: {integrity: sha512-IzgToIJ/R9NhVKmL+PW33ozYkv53bXvufDNUSH3GTKXq1iCHGgkbgbtqEWbo8tnWNnt7nPDpjL8PwSG2iS8RVw==} hasBin: true dependencies: - c12: 1.4.2 + c12: 1.11.1 colorette: 2.0.20 consola: 3.2.3 - convert-gitmoji: 0.1.3 + convert-gitmoji: 0.1.5 execa: 8.0.1 mri: 1.2.0 - node-fetch-native: 1.4.0 - ofetch: 1.3.3 + node-fetch-native: 1.6.4 + ofetch: 1.3.4 open: 9.1.0 - pathe: 1.1.1 - pkg-types: 1.0.3 - scule: 1.0.0 - semver: 7.5.4 - std-env: 3.4.3 - yaml: 2.3.2 + pathe: 1.1.2 + pkg-types: 1.1.1 + scule: 1.3.0 + semver: 7.6.2 + std-env: 3.7.0 + yaml: 2.4.5 transitivePeerDependencies: - - supports-color + - magicast dev: false /char-regex@1.0.2: @@ -13663,10 +13115,22 @@ packages: engines: {node: '>=10'} dev: false + /character-entities-html4@2.1.0: + resolution: {integrity: sha512-1v7fgQRj6hnSwFpq1Eu0ynr/CDEw0rXo2B61qXrLNdHZmPKgb7fqS1a2JwF0rISo9q77jDI8VMEHoApn8qDoZA==} + dev: false + + /character-entities-legacy@3.0.0: + resolution: {integrity: sha512-RpPp0asT/6ufRm//AJVwpViZbGM/MkjQFxJccQRHmISF/22NBtsHqAWmL+/pmkPWoIUJdWyeVleTl1wydHATVQ==} + dev: false + /character-entities@2.0.2: resolution: {integrity: sha512-shx7oQ0Awen/BRIdkjkvz54PnEEI/EjwXDSIZp86/KKdbafHh1Df/RYGBhn4hbe2+uKC9FnT5UCEdyPz3ai9hQ==} dev: false + /character-reference-invalid@2.0.1: + resolution: {integrity: sha512-iBZ4F4wRbyORVsu0jPV7gXkOsGYjGHPmAyv+HiHG8gi5PtC9KI2j1+v8/tlibRvjoWX027ypmG/n0HtO5t7unw==} + dev: false + /chardet@0.7.0: resolution: {integrity: sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==} requiresBuild: true @@ -13701,26 +13165,12 @@ packages: parse5-htmlparser2-tree-adapter: 7.0.0 dev: true - /chokidar@3.5.3: - resolution: {integrity: sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==} - engines: {node: '>= 8.10.0'} - dependencies: - anymatch: 3.1.3 - braces: 3.0.2 - glob-parent: 5.1.2 - is-binary-path: 2.1.0 - is-glob: 4.0.3 - normalize-path: 3.0.0 - readdirp: 3.6.0 - optionalDependencies: - fsevents: 2.3.3 - /chokidar@3.6.0: resolution: {integrity: sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==} engines: {node: '>= 8.10.0'} dependencies: anymatch: 3.1.3 - braces: 3.0.2 + braces: 3.0.3 glob-parent: 5.1.2 is-binary-path: 2.1.0 is-glob: 4.0.3 @@ -13738,8 +13188,8 @@ packages: resolution: {integrity: sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ==} engines: {node: '>=10'} - /chrome-trace-event@1.0.3: - resolution: {integrity: sha512-p3KULyQg4S7NIHixdwbGX+nFHkoBiA4YQmyWtjb8XngSKV124nJmRysgAeujbUVb15vh+RvFUfCPqU7rXk+hZg==} + /chrome-trace-event@1.0.4: + resolution: {integrity: sha512-rNjApaLzuwaOTjCiT8lSDdGN1APCiqkChLMJxJPWLunPAt5fy8xgU9/jNOchV84wfIxrA0lRQB7oCT8jrn/wrQ==} engines: {node: '>=6.0'} dev: true @@ -13747,15 +13197,15 @@ packages: resolution: {integrity: sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ==} dev: true - /ci-info@3.8.0: - resolution: {integrity: sha512-eXTggHWSooYhq49F2opQhuHWgzucfF2YgODK4e1566GQs5BIfP30B0oenwBJHfWxAs2fyPB1s7Mg949zLf61Yw==} - engines: {node: '>=8'} - dev: true - /ci-info@3.9.0: resolution: {integrity: sha512-NIxF55hv4nSqQswkAeiOi1r83xy8JldOFDTWiug55KBu9Jnblncd2U6ViHmYgHf01TPZS77NJBhBMKdWj9HQMQ==} engines: {node: '>=8'} + /citty@0.1.6: + resolution: {integrity: sha512-tskPPKEs8D2KPafUypv2gxwJP8h/OaJmC82QQGGDQcHvXX43xF2VDACcJVmZ0EuSxkpO9Kc4MlrA3q0+FG58AQ==} + dependencies: + consola: 3.2.3 + /classnames@2.5.1: resolution: {integrity: sha512-saHYOzhIQs6wy2sVxTM6bUDsQO4F50V9RQ22qBpEdCW+I+/Wmke2HOl6lS6dTpdxVhb88/I6+Hs+438c3lfUow==} dev: false @@ -13789,17 +13239,12 @@ packages: dependencies: restore-cursor: 3.1.0 - /cli-spinners@2.9.1: - resolution: {integrity: sha512-jHgecW0pxkonBJdrKsqxgRX9AcG+u/5k0Q7WPDfi8AogLAdwxEkyYYNWwZ5GvVFoFx2uiY1eNcSK00fh+1+FyQ==} - engines: {node: '>=6'} - /cli-spinners@2.9.2: resolution: {integrity: sha512-ywqV+5MmyL4E7ybXgKys4DugZbX0FC6LnwrhjuykIjnK9k8OQacQ7axGKnjDXWNhns0xot3bZI5h55H8yo9cJg==} engines: {node: '>=6'} - dev: true - /cli-table3@0.6.3: - resolution: {integrity: sha512-w5Jac5SykAeZJKntOxJCrm63Eg5/4dhMWIcuTbo9rpE+brgaSZo0RuNJZeOyMgsUdhDeojvgyQLmjI+K50ZGyg==} + /cli-table3@0.6.5: + resolution: {integrity: sha512-+W/5efTR7y5HRD7gACw9yQjqMVvEMLBHmboM/kPWam+H+Hmyrgjh6YncVKK122YZkXrLudzTuAukUw9FnMf7IQ==} engines: {node: 10.* || >= 12.*} dependencies: string-width: 4.2.3 @@ -13874,11 +13319,16 @@ packages: resolution: {integrity: sha512-RMr0FhtfXemyinomL4hrWcYJxmX6deFdCxpJzhDttxgO1+bcCnkk+9drydLVDmAMG7NE6aN/fl4F7ucU/90gAA==} engines: {node: '>=0.10.0'} - /cmd-shim@6.0.1: - resolution: {integrity: sha512-S9iI9y0nKR4hwEQsVWpyxld/6kRfGepGfzff83FcaiEBpmvlbA2nnGe7Cylgrx2f/p1P5S5wpRm9oL8z1PbS3Q==} + /cmd-shim@6.0.3: + resolution: {integrity: sha512-FMabTRlc5t5zjdenF6mS0MBeFZm0XqHqeOkcskKFb/LYCcRQ5fVgLOHVc4Lq9CqABd9zhjwPjMBCJvMCziSVtA==} engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} dev: false + /cockatiel@3.1.3: + resolution: {integrity: sha512-xC759TpZ69d7HhfDp8m2WkRwEUiCkxY8Ee2OQH/3H6zmy2D/5Sm+zSTbPRa+V2QyjDtpMvjOIAOVjA2gp6N1kQ==} + engines: {node: '>=16'} + dev: true + /code-excerpt@3.0.0: resolution: {integrity: sha512-VHNTVhd7KsLGOqfX3SyeO8RyYPMp1GJOg194VITk04WMYCv4plV68YWe6TJZxd9MhobjtpMRnVky01gqZsalaw==} engines: {node: '>=10'} @@ -13886,8 +13336,8 @@ packages: convert-to-spaces: 1.0.2 dev: true - /codemaker@1.93.0: - resolution: {integrity: sha512-n9AdncxhGti20YhA7HI2oAYhELh/qlDnW9JIAYQW9iULXdeaKtsxHgvcwBCltpieOcQrq10bt+sUawBs62vxLg==} + /codemaker@1.100.0: + resolution: {integrity: sha512-EVKV5v2HZf/a2nuRZJ3pMo1BImN6MX/9O22Yo1gQn+DeFbU2TqKnpCu16pTOVg4b4CakbFckeimVzQIqmFGquQ==} engines: {node: '>= 14.17.0'} dependencies: camelcase: 6.3.0 @@ -13895,8 +13345,8 @@ packages: fs-extra: 10.1.0 dev: true - /codemaker@1.94.0: - resolution: {integrity: sha512-V+896C7RojQVfG0UlOXaFfVVxmFb08rPtJvzcxhdJfowc2o6xGwGG0OpWSLHy6fQrmt4BxLXnKZ6Xeuqt4aKjw==} + /codemaker@1.95.0: + resolution: {integrity: sha512-q/U2NeZSaKnVMarOi+BR8MbaHEFKVmBefTSSXj/0W4OBarw/uUT2qCPojYF16gJtfFz7qCkJeuP+zYDq+xNEpg==} engines: {node: '>= 14.17.0'} dependencies: camelcase: 6.3.0 @@ -13907,7 +13357,7 @@ packages: /codespan-wasm@0.4.0: resolution: {integrity: sha512-TVS9MyHIeTV1Zm/wBpgjY1Lyx49Ikj7mccrBrCwWc0/oM7MoeHtVPWwM+Q9CBKWJTZLwp7D1s8PT6NnCqvQrhA==} dependencies: - debug: 4.3.4(supports-color@5.5.0) + debug: 4.3.5(supports-color@5.5.0) transitivePeerDependencies: - supports-color dev: false @@ -13938,11 +13388,6 @@ packages: dev: false optional: true - /color-support@1.1.3: - resolution: {integrity: sha512-qiBjkpbMLO/HL68y+lh4q0/O1MZFj2RX6X/KmMa3+gJD3z+WwI1ZzDHysvqHGS3mP6mznPckpXmw1nI9cJjyRg==} - hasBin: true - dev: false - /color@3.2.1: resolution: {integrity: sha512-aBl7dZI9ENN6fUGC7mWpMTPNHmWUSNan9tuWN6ahh5ZLNk9baLJOnSMlrQkHcrfFgz2/RigjUVAjdx36VcemKA==} requiresBuild: true @@ -13954,6 +13399,7 @@ packages: /colorette@2.0.20: resolution: {integrity: sha512-IfEDxwoWIjkeXL1eXcDiow4UbKjhLdq6/EuSVR9GMN7KVH3r9gQ83e73hsz1Nd1T3ijd5xv1wcWRYO+D6kCI2w==} + dev: false /colorspace@1.1.4: resolution: {integrity: sha512-BgvKJiuVu1igBUF2kEjRCZXol6wiiGbY5ipL/oVPwm0BL9sIpMIzM8IK7vwuxIIzOXMV3Ey5w+vxhm0rR/TN8w==} @@ -14019,6 +13465,16 @@ packages: string.prototype.repeat: 0.2.0 dev: true + /commonmark@0.31.0: + resolution: {integrity: sha512-nuDsQ34gjmgAqjyIz6mbRWBW/XPE9wsBempAMBk2V/AA88ekztjTM46oi07J6c6Y/2Y8TdYCZi9L0pIBt/oMZw==} + hasBin: true + dependencies: + entities: 3.0.1 + mdurl: 1.0.1 + minimist: 1.2.8 + string.prototype.repeat: 1.0.0 + dev: true + /compare-func@2.0.0: resolution: {integrity: sha512-zHig5N+tPWARooBnb0Zx1MFcdfpyJrfTJ3Y5L+IFvUm8rM74hHz66z0gw0x4tijh5CorKkKUCnW82R2vmpeCRA==} dependencies: @@ -14040,15 +13496,6 @@ packages: readable-stream: 3.6.2 dev: true - /compress-commons@5.0.1: - resolution: {integrity: sha512-MPh//1cERdLtqwO3pOFLeXtpuai0Y2WCd5AhtKxznqM7WtaMYaOEMSgn45d9D10sIHSfIKE603HlOp8OPGrvag==} - engines: {node: '>= 12.0.0'} - dependencies: - crc-32: 1.2.2 - crc32-stream: 5.0.0 - normalize-path: 3.0.0 - readable-stream: 3.6.2 - /compressible@2.0.18: resolution: {integrity: sha512-AF3r7P5dWxL8MxyITRMlORQNaOA2IkAFaTr4k7BUumjPtRpGDTZpl0Pb1XCO6JeDCBdp126Cgs9sMxqSjgYyRg==} engines: {node: '>= 0.6'} @@ -14097,6 +13544,9 @@ packages: readable-stream: 3.6.2 typedarray: 0.0.6 + /confbox@0.1.7: + resolution: {integrity: sha512-uJcB/FKZtBMCJpK8MQji6bJHgu1tixKPxRLeGkNzBoOZzpnZUJm0jm2/sBDWcuBx1dYgxV4JU+g5hmNxCyAmdA==} + /config-chain@1.1.13: resolution: {integrity: sha512-qj+f8APARXHrM0hraqXYb2/bOVSV4PvJQlNZ/DVj0QrmNM2q2euizkeuVckQ57J+W0mRH6Hvi+k50M4Jul2VRQ==} dependencies: @@ -14107,11 +13557,6 @@ packages: /consola@3.2.3: resolution: {integrity: sha512-I5qxpzLv+sJhTVEoLYNcTW+bThDCPsit0vLNKShZx6rLtpilNpmmeTPaeqJb9ZE9dV3DGaeby6Vuhrw38WjeyQ==} engines: {node: ^14.18.0 || >=16.10.0} - dev: false - - /console-control-strings@1.1.0: - resolution: {integrity: sha512-ty/fTekppD2fIwRvnZAVdeOiGd1c7YXEixbgJTNzqcxJWKQnjJ/V1bNEEE6hygpM3WjwHFUVK6HTjWSzV4a8sQ==} - dev: false /constructs@10.1.167: resolution: {integrity: sha512-zGt88EmcJUtWbd/sTM9GKcHRjYWzEx5jzMYuK69vl25Dj01sJAc7uF6AEJgZBtlLAc3VnRUvzgitHwmJkS9BFw==} @@ -14301,8 +13746,8 @@ packages: q: 1.5.1 dev: true - /convert-gitmoji@0.1.3: - resolution: {integrity: sha512-t5yxPyI8h8KPvRwrS/sRrfIpT2gJbmBAY0TFokyUBy3PM44RuFRpZwHdACz+GTSPLRLo3s4qsscOMLjHiXBwzw==} + /convert-gitmoji@0.1.5: + resolution: {integrity: sha512-4wqOafJdk2tqZC++cjcbGcaJ13BZ3kwldf06PTiAQRAB76Z1KJwZNL1SaRZMi2w1FM9RYTgZ6QErS8NUl/GBmQ==} dev: false /convert-source-map@2.0.0: @@ -14317,11 +13762,6 @@ packages: /cookie-signature@1.0.6: resolution: {integrity: sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ==} - /cookie@0.4.2: - resolution: {integrity: sha512-aSWTXFzaKWkvHO1Ny/s+ePFpvKsPnjc551iI41v3ny/ow6tBG5Vd+FuqGNhh1LxOmVzOlGUriIlOaokOvhaStA==} - engines: {node: '>= 0.6'} - dev: true - /cookie@0.6.0: resolution: {integrity: sha512-U71cyTamuh1CRNCfpGY6to28lxvNwPG4Guz/EVjgf3Jmzv0vlDp1atT9eS5dDjMYHucpHbWns6Lwf3BKz6svdw==} engines: {node: '>= 0.6'} @@ -14332,10 +13772,10 @@ packages: toggle-selection: 1.0.6 dev: false - /core-js-compat@3.33.0: - resolution: {integrity: sha512-0w4LcLXsVEuNkIqwjjf9rjCoPhK8uqA4tMRh4Ge26vfLtUutshn+aRJU21I9LCJlh2QQHfisNToLjw1XEJLTWw==} + /core-js-compat@3.37.1: + resolution: {integrity: sha512-9TNiImhKvQqSUkOvk/mMRZzOANTiEVC7WaBNhHcKM7x+/5E1l5NvsysR19zuDQScE8k+kfQXWRN3AtS/eOSHpg==} dependencies: - browserslist: 4.23.0 + browserslist: 4.23.1 dev: true /core-util-is@1.0.3: @@ -14353,6 +13793,7 @@ packages: resolution: {integrity: sha512-ROmzCKrTnOwybPcJApAA6WBWij23HVfGVNKqqrZpuyZOHqK2CwHSvpGuyt/UNNvaIjEd8X5IFGp4Mh+Ie1IHJQ==} engines: {node: '>=0.8'} hasBin: true + dev: true /crc32-stream@4.0.3: resolution: {integrity: sha512-NT7w2JVU7DFroFdYkeq8cywxrgjPHWkdX1wjpRQXPX5Asews3tA+Ght6lddQO5Mkumffp3X7GEqku3epj2toIw==} @@ -14362,18 +13803,11 @@ packages: readable-stream: 3.6.2 dev: true - /crc32-stream@5.0.0: - resolution: {integrity: sha512-B0EPa1UK+qnpBZpG+7FgPCu0J2ETLpXq09o9BkLkEAhdB6Z61Qo4pJ3JYu0c+Qi+/SAL7QThqnzS06pmSSyZaw==} - engines: {node: '>= 12.0.0'} - dependencies: - crc-32: 1.2.2 - readable-stream: 3.6.2 - /cron-parser@4.9.0: resolution: {integrity: sha512-p0SaNjrHOnQeR8/VnfGbmg9te2kfyYSQ7Sc/j/6DtPL3JQvKxmjO9TSjNFpujqV3vEYYBvNNvXSxzyksBWAx1Q==} engines: {node: '>=12.0.0'} dependencies: - luxon: 3.4.3 + luxon: 3.4.4 dev: false /cron-validator@1.3.1: @@ -14403,7 +13837,7 @@ packages: /css-in-js-utils@3.1.0: resolution: {integrity: sha512-fJAcud6B3rRu+KHYk+Bwf+WFL2MDCJJ1XG9x137tJQ0xYxor7XziQtuGFbWNdqrvF4Tk26O3H73nfVqXt/fW1A==} dependencies: - hyphenate-style-name: 1.0.4 + hyphenate-style-name: 1.1.0 dev: false /css-select@5.1.0: @@ -14438,8 +13872,8 @@ packages: engines: {node: '>=4'} hasBin: true - /csstype@3.1.2: - resolution: {integrity: sha512-I7K1Uu0MBPzaFKg4nI5Q7Vs2t+3gWWW648spaF+Rg7pI9ds18Ugn+lvg4SHczUdKlHI5LWBXyqfS8+DufyBsgQ==} + /csstype@3.1.3: + resolution: {integrity: sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==} /damerau-levenshtein@1.0.8: resolution: {integrity: sha512-sdQSFB7+llfUcQHUQO3+B8ERRj0Oa4w9POWMI/puGtuf7gFywGmkaLCElnudfTiKZV+NvHqL0ifzdrI8Ro7ESA==} @@ -14459,6 +13893,30 @@ packages: engines: {node: '>= 12'} dev: true + /data-view-buffer@1.0.1: + resolution: {integrity: sha512-0lht7OugA5x3iJLOWFhWK/5ehONdprk0ISXqVFn/NFrDu+cuc8iADFrGQz5BnRK7LLU3JmkbXSxaqX+/mXYtUA==} + engines: {node: '>= 0.4'} + dependencies: + call-bind: 1.0.7 + es-errors: 1.3.0 + is-data-view: 1.0.1 + + /data-view-byte-length@1.0.1: + resolution: {integrity: sha512-4J7wRJD3ABAzr8wP+OcIcqq2dlUKp4DVflx++hs5h5ZKydWMI6/D/fAot+yh6g2tHh8fLFTvNOaVN357NvSrOQ==} + engines: {node: '>= 0.4'} + dependencies: + call-bind: 1.0.7 + es-errors: 1.3.0 + is-data-view: 1.0.1 + + /data-view-byte-offset@1.0.0: + resolution: {integrity: sha512-t/Ygsytq+R995EJ5PZlD4Cu56sWa8InXySaViRzw9apusqsOO2bQP+SbYzAhR0pFKoB+43lYy8rWban9JSuXnA==} + engines: {node: '>= 0.4'} + dependencies: + call-bind: 1.0.7 + es-errors: 1.3.0 + is-data-view: 1.0.1 + /date-format@4.0.14: resolution: {integrity: sha512-39BOQLs9ZjKh0/patS9nrT8wc3ioX3/eA/zgbKNopnF2wCqJEoxywwwElATYvRsXdnOxA/OQeQoFZ3rFjVajhg==} engines: {node: '>=4.0'} @@ -14488,8 +13946,8 @@ packages: dependencies: ms: 2.1.3 - /debug@4.3.4(supports-color@5.5.0): - resolution: {integrity: sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==} + /debug@4.3.5(supports-color@5.5.0): + resolution: {integrity: sha512-pt0bNEmneDIvdL1Xsd9oDQ/wrQRkXDT4AUWlNZNPKvW5x/jyO9VFXkJUP07vQ2upmw5PlaITaPKc31jK13V+jg==} engines: {node: '>=6.0'} peerDependencies: supports-color: '*' @@ -14538,59 +13996,35 @@ packages: dev: false optional: true - /deep-eql@4.1.3: - resolution: {integrity: sha512-WaEtAOpRA1MQ0eohqZjpGD8zdI0Ovsm8mmFhaDN8dvDZzyoUMcYDnf5Y6iu7HTXxf8JDS23qWa4a+hKCDyOPzw==} + /deep-eql@4.1.4: + resolution: {integrity: sha512-SUwdGfqdKOwxCPeVYjwSyRpJ7Z+fhpwIAtmCUdZIWZ/YP5R9WAsyuSgpLVDi9bjWoN2LXHNss/dk3urXtdQxGg==} engines: {node: '>=6'} dependencies: type-detect: 4.0.8 dev: true - /deep-equal@2.2.2: - resolution: {integrity: sha512-xjVyBf0w5vH0I42jdAZzOKVldmPgSulmiyPRywoyq7HXC9qdgo17kxJE+rdnif5Tz6+pIrpJI8dCpMNLIGkUiA==} - dependencies: - array-buffer-byte-length: 1.0.0 - call-bind: 1.0.5 - es-get-iterator: 1.1.3 - get-intrinsic: 1.2.1 - is-arguments: 1.1.1 - is-array-buffer: 3.0.2 - is-date-object: 1.0.5 - is-regex: 1.1.4 - is-shared-array-buffer: 1.0.2 - isarray: 2.0.5 - object-is: 1.1.5 - object-keys: 1.1.1 - object.assign: 4.1.4 - regexp.prototype.flags: 1.5.1 - side-channel: 1.0.4 - which-boxed-primitive: 1.0.2 - which-collection: 1.0.1 - which-typed-array: 1.1.11 - dev: true - /deep-equal@2.2.3: resolution: {integrity: sha512-ZIwpnevOurS8bpT4192sqAowWM76JDKSHYzMLty3BZGSswgq6pBaH3DhCSW5xVAZICZyKdOBPjwww5wfgT/6PA==} engines: {node: '>= 0.4'} dependencies: - array-buffer-byte-length: 1.0.0 - call-bind: 1.0.5 + array-buffer-byte-length: 1.0.1 + call-bind: 1.0.7 es-get-iterator: 1.1.3 - get-intrinsic: 1.2.2 + get-intrinsic: 1.2.4 is-arguments: 1.1.1 - is-array-buffer: 3.0.2 + is-array-buffer: 3.0.4 is-date-object: 1.0.5 is-regex: 1.1.4 - is-shared-array-buffer: 1.0.2 + is-shared-array-buffer: 1.0.3 isarray: 2.0.5 - object-is: 1.1.5 + object-is: 1.1.6 object-keys: 1.1.1 - object.assign: 4.1.4 - regexp.prototype.flags: 1.5.1 - side-channel: 1.0.4 + object.assign: 4.1.5 + regexp.prototype.flags: 1.5.2 + side-channel: 1.0.6 which-boxed-primitive: 1.0.2 - which-collection: 1.0.1 - which-typed-array: 1.1.13 - dev: true + which-collection: 1.0.2 + which-typed-array: 1.1.15 /deep-extend@0.6.0: resolution: {integrity: sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==} @@ -14628,21 +14062,13 @@ packages: dependencies: clone: 1.0.4 - /define-data-property@1.1.0: - resolution: {integrity: sha512-UzGwzcjyv3OtAvolTj1GoyNYzfFR+iqbGjcnBEENZVCpM4/Ng1yhGNvS3lR/xDS74Tb2wGG9WzNSNIOS9UVb2g==} - engines: {node: '>= 0.4'} - dependencies: - get-intrinsic: 1.2.1 - gopd: 1.0.1 - has-property-descriptors: 1.0.0 - - /define-data-property@1.1.1: - resolution: {integrity: sha512-E7uGkTzkk1d0ByLeSc6ZsFS79Axg+m1P/VsgYsxHgiuc3tFSj+MjMIwe90FC4lOAZzNBdY7kkO2P2wKdsQ1vgQ==} + /define-data-property@1.1.4: + resolution: {integrity: sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==} engines: {node: '>= 0.4'} dependencies: - get-intrinsic: 1.2.2 + es-define-property: 1.0.0 + es-errors: 1.3.0 gopd: 1.0.1 - has-property-descriptors: 1.0.1 /define-lazy-prop@2.0.0: resolution: {integrity: sha512-Ds09qNh8yw3khSjiJjiUInaGX9xlqZDY7JVryGxdxV7NPeuqQfplOpQ66yJFZut3jLa5zOwkXw1g9EI2uKh4Og==} @@ -14657,12 +14083,12 @@ packages: resolution: {integrity: sha512-8QmQKqEASLd5nx0U1B1okLElbUuuttJ/AnYmRXbbbGDWh6uS208EjD4Xqq/I9wK7u0v6O08XhTWnt5XtEbR6Dg==} engines: {node: '>= 0.4'} dependencies: - define-data-property: 1.1.0 - has-property-descriptors: 1.0.0 + define-data-property: 1.1.4 + has-property-descriptors: 1.0.2 object-keys: 1.1.1 - /defu@6.1.2: - resolution: {integrity: sha512-+uO4+qr7msjNNWKYPHqN/3+Dx3NFkmIzayk2L1MyZQlvgZb/J1A0fo410dpKrN2SnqFjt8n4JL8fDJE0wIgjFQ==} + /defu@6.1.4: + resolution: {integrity: sha512-mEQCMmwJu317oSz8CwdIOdwf3xMif1ttiM8LTufzc3g6kR+9Pe236twL8j3IYT1F7GfRgGcW6MWxzZjLIkuHIg==} /del@6.1.1: resolution: {integrity: sha512-ua8BhapfP0JUJKC/zV9yHHDW/rDoDxP4Zhn3AkA6/xT6gY7jYXJiaeyBZznYVujhZZET+UgcbZiQ7sN3WqcImg==} @@ -14681,10 +14107,6 @@ packages: resolution: {integrity: sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==} engines: {node: '>=0.4.0'} - /delegates@1.0.0: - resolution: {integrity: sha512-bd2L678uiWATM6m5Z1VzNCErI3jiGzt6HGY8OVICs40JQq/HALfbyNJmp0UDakEY4pMMaN0Ly5om/B1VI/+xfQ==} - dev: false - /denque@2.1.0: resolution: {integrity: sha512-HVQE3AAb/pxF8fQAoiqpvg9i3evqug3hoiwakOyZAwJm+6vZehbkYXZ0l4JxS+I3QxM97v5aaRNhj8v5oBhekw==} engines: {node: '>=0.10'} @@ -14701,8 +14123,8 @@ packages: resolution: {integrity: sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA==} engines: {node: '>=6'} - /destr@2.0.1: - resolution: {integrity: sha512-M1Ob1zPSIvlARiJUkKqvAZ3VAqQY6Jcuth/pBKQ2b1dX/Qx0OnJ8Vux6J2H5PTMQeRzWrrbTu70VxBfv/OPDJA==} + /destr@2.0.3: + resolution: {integrity: sha512-2N3BOUU4gYMpTP24s5rF5iP7BDr7uNTCs4ozw3kf/eKfvWSIu93GEBi5m427YoyJoeOzQ5smuu4nNAPGb8idSQ==} dev: false /destroy@1.2.0: @@ -14719,8 +14141,8 @@ packages: engines: {node: '>=8'} dev: true - /detect-libc@2.0.2: - resolution: {integrity: sha512-UX6sGumvvqSaXgdKGUsgZWqcUyIXZ/vZTrlRT/iobiKhGL0zL4d3osHj3uqllWJK+i+sixDS/3COVEOFbupFyw==} + /detect-libc@2.0.3: + resolution: {integrity: sha512-bwy0MGW55bG41VqxxypOsdSdGqLwXPI/focwgTYCFMbdUiBAxLg9CFzG08sz2aqzknwiX7Hkl0bQENjg8iLByw==} engines: {node: '>=8'} /detect-newline@2.1.0: @@ -14749,7 +14171,18 @@ packages: hasBin: true dependencies: address: 1.2.2 - debug: 4.3.4(supports-color@5.5.0) + debug: 4.3.5(supports-color@5.5.0) + transitivePeerDependencies: + - supports-color + dev: true + + /detect-port@1.6.1: + resolution: {integrity: sha512-CmnVc+Hek2egPx1PeTFVta2W78xy2K/9Rkf6cC4T59S50tVnzKj+tnx5mmx5lwvCkujZ4uRrpRSuV+IVs3f90Q==} + engines: {node: '>= 4.0.0'} + hasBin: true + dependencies: + address: 1.2.2 + debug: 4.3.5(supports-color@5.5.0) transitivePeerDependencies: - supports-color dev: true @@ -14773,8 +14206,8 @@ packages: engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dev: true - /diff@5.1.0: - resolution: {integrity: sha512-D+mk+qE8VC/PAUrlAU34N+VfXev0ghe5ywmpqrawphmVZc1bEfn56uo9qpyGp1p4xpzOHkSW4ztBd6L7Xx4ACw==} + /diff@5.2.0: + resolution: {integrity: sha512-uIFDxqpRZGZ6ThOk84hEfqWoHx2devRFvpTZcTHur85vImfaxUbTW9Ryh4CpCuDnToOP1CEtXKIgytHBPVff5A==} engines: {node: '>=0.3.1'} dev: true @@ -14841,8 +14274,8 @@ packages: resolution: {integrity: sha512-GopVGCpVS1UKH75VKHGuQFqS1Gusej0z4FyQkPdwjil2gNIv+LNsqBlboOzpJFZKVT95GkCyWJbBSdFEFUWI2A==} engines: {node: '>=12'} - /dotenv@16.3.1: - resolution: {integrity: sha512-IPzF4w4/Rd94bA9imS68tZBaYyBWSCE47V1RGuMrB94iyTOIEwRmVL2x/4An+6mETpLrKJ5hQkB8W4kFAadeIQ==} + /dotenv@16.4.5: + resolution: {integrity: sha512-ZmdL2rui+eB2YwhsWzjInR8LldtZHGDoQ1ugH85ppHKwpUHL7j7rN0Ti9NCnGiQbhaZ11FpR+7ao1dNsmduNUg==} engines: {node: '>=12'} /dotgitignore@2.1.0: @@ -14857,13 +14290,13 @@ packages: resolution: {integrity: sha512-vo835pntK7kzYStk7xUHDifiYJvXxVhUapt85uk2AI94gUUAQX9HNRtrcMHNSc3YHJUEHGbYIGsM99uIbgAtxw==} hasBin: true dependencies: - semver: 7.5.4 + semver: 7.6.2 shelljs: 0.8.5 - typescript: 5.6.0-dev.20240612 + typescript: 5.6.0-dev.20240623 dev: true - /dset@3.1.2: - resolution: {integrity: sha512-g/M9sqy3oHe477Ar4voQxWtaPIFw1jTdKZuomOjhCcBx9nHUNn0pu6NopuFFrTh/TRZIKEj+76vLWFu9BNKk+Q==} + /dset@3.1.3: + resolution: {integrity: sha512-20TuZZHCEZ2O71q9/+8BwKwZ0QtD9D8ObhrihJPr+vLLYlSuAU3/zL4cSlgbfeoGHTjCSJBa7NGcrF9/Bx/WJQ==} engines: {node: '>=4'} dev: false @@ -14873,16 +14306,16 @@ packages: end-of-stream: 1.4.4 inherits: 2.0.4 readable-stream: 2.3.8 - stream-shift: 1.0.1 + stream-shift: 1.0.3 dev: true - /duplexify@4.1.2: - resolution: {integrity: sha512-fz3OjcNCHmRP12MJoZMPglx8m4rrFP8rovnk4vT8Fs+aonZoCwGg10dSsQsfP/E62eZcPTMSMP6686fu9Qlqtw==} + /duplexify@4.1.3: + resolution: {integrity: sha512-M3BmBhwJRZsSx38lZyhE53Csddgzl5R7xGJNk7CVddZD6CcmwMCH8J+7AprIrQKH7TonKxaCjcv27Qmf+sQ+oA==} dependencies: end-of-stream: 1.4.4 inherits: 2.0.4 readable-stream: 3.6.2 - stream-shift: 1.0.1 + stream-shift: 1.0.3 dev: false /eastasianwidth@0.2.0: @@ -14896,28 +14329,24 @@ packages: /ee-first@1.1.1: resolution: {integrity: sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==} - /ejs@3.1.9: - resolution: {integrity: sha512-rC+QVNMJWv+MtPgkt0y+0rVEIdbtxVADApW9JXrUVlzHetgcyczP/E7DJmWJ4fJCZF2cPcBk0laWO9ZHMG3DmQ==} + /ejs@3.1.10: + resolution: {integrity: sha512-UeJmFfOrAQS8OJWPZ4qtgHyWExa088/MtK5UEyoJGFH67cDEXkZSviOiKRCZ4Xij0zxI3JECgYs3oKx+AizQBA==} engines: {node: '>=0.10.0'} hasBin: true dependencies: - jake: 10.8.7 - dev: true - - /electron-to-chromium@1.4.544: - resolution: {integrity: sha512-54z7squS1FyFRSUqq/knOFSptjjogLZXbKcYk3B0qkE1KZzvqASwRZnY2KzZQJqIYLVD38XZeoiMRflYSwyO4w==} + jake: 10.9.1 dev: true - /electron-to-chromium@1.4.682: - resolution: {integrity: sha512-oCglfs8yYKs9RQjJFOHonSnhikPK3y+0SvSYc/YpYJV//6rqc0/hbwd0c7vgK4vrl6y2gJAwjkhkSGWK+z4KRA==} + /electron-to-chromium@1.4.810: + resolution: {integrity: sha512-Kaxhu4T7SJGpRQx99tq216gCq2nMxJo+uuT6uzz9l8TVN2stL7M06MIIXAtr9jsrLs2Glflgf2vMQRepxawOdQ==} dev: true /elkjs@0.8.2: resolution: {integrity: sha512-L6uRgvZTH+4OF5NE/MBbzQx/WYpru1xCBE9respNj6qznEewGUIfhzmm7horWWxbNO2M0WckQypGctR8lH79xQ==} dev: false - /emittery@1.0.1: - resolution: {integrity: sha512-2ID6FdrMD9KDLldGesP6317G78K7km/kMcwItRtVFva7I/cSEOIaLpewaUb+YLXVwdAp3Ctfxh/V5zIl1sj7dQ==} + /emittery@1.0.3: + resolution: {integrity: sha512-tJdCJitoy2lrC2ldJcqN4vkqJ00lT+tOWNT1hBJjO/3FDMJa5TTIiYGCKGkn/WfCyOzUMObeohbVTj00fhiLiA==} engines: {node: '>=14.16'} dev: true @@ -14957,15 +14386,18 @@ packages: dependencies: once: 1.4.0 - /enhanced-resolve@5.15.0: - resolution: {integrity: sha512-LXYT42KJ7lpIKECr2mAXIaMldcNCh/7E0KBKOu4KSfkHmP+mZmSs+8V5gBAqisWBy0OO4W5Oyys0GO1Y8KtdKg==} + /enhanced-resolve@5.17.0: + resolution: {integrity: sha512-dwDPwZL0dmye8Txp2gzFmA6sxALaSvdRDjPH0viLcKrtlOL3tw62nWWweVD1SdILDTJrbrL6tdWVN58Wo6U3eA==} engines: {node: '>=10.13.0'} dependencies: graceful-fs: 4.2.11 tapable: 2.2.1 - /ent@2.2.0: - resolution: {integrity: sha512-GHrMyVZQWvTIdDtpiEXdHZnFQKzeO09apj8Cbl4pKWy4i0Oprcq17usfDt5aO63swf0JOeMWjWQE/LzgSRuWpA==} + /ent@2.2.1: + resolution: {integrity: sha512-QHuXVeZx9d+tIQAz/XztU0ZwZf2Agg9CcXcgE1rurqvdBeDBrpSwjl8/6XUqMg7tw2Y7uAdKb2sRv+bSEFqQ5A==} + engines: {node: '>= 0.4'} + dependencies: + punycode: 1.4.1 dev: false /entities@2.0.3: @@ -14976,6 +14408,11 @@ packages: resolution: {integrity: sha512-hCx1oky9PFrJ611mf0ifBLBRW8lUUVRlFolb5gWRfIELabBlbp9xZvrqZLZAs+NxFnbfQoeGd8wDkygjg7U85w==} dev: true + /entities@3.0.1: + resolution: {integrity: sha512-WiyBqoomrwMdFG1e0kqvASYfnlb0lp8M5o5Fw2OFq1hNZxxcNk8Ik0Xm7LxzBhuidnZB/UtBqVCgUz3kBOP51Q==} + engines: {node: '>=0.12'} + dev: true + /entities@4.5.0: resolution: {integrity: sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==} engines: {node: '>=0.12'} @@ -14991,8 +14428,8 @@ packages: engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} dev: true - /envinfo@7.10.0: - resolution: {integrity: sha512-ZtUjZO6l5mwTHvc1L9+1q5p/R3wTopcfqMW8r5t8SJSKqeVI/LtajORwRFEKpEFuekjD0VBjwu1HMxL4UalIRw==} + /envinfo@7.13.0: + resolution: {integrity: sha512-cvcaMr7KqXVh4nyzGTVqTum+gAiL265x5jUWQIDLq//zOGbW+gSW/C+OWLleY/rs9Qole6AZLMXPbtIFQbqu+Q==} engines: {node: '>=4'} hasBin: true dev: true @@ -15010,268 +14447,147 @@ packages: resolution: {integrity: sha512-Sk5V6wVazPhq5MhpO+AUxJn5x7XSXGl1R93Vn7i+zS15KDVxQijejNCrz8340/2bgLBjR9GtEG8ZVKONDjcqGQ==} dependencies: stackframe: 1.3.4 - dev: false - - /es-abstract@1.22.2: - resolution: {integrity: sha512-YoxfFcDmhjOgWPWsV13+2RNjq1F6UQnfs+8TftwNqtzlmFzEXvlUwdrNrYeaizfjQzRMxkZ6ElWMOJIFKdVqwA==} - engines: {node: '>= 0.4'} - dependencies: - array-buffer-byte-length: 1.0.0 - arraybuffer.prototype.slice: 1.0.2 - available-typed-arrays: 1.0.5 - call-bind: 1.0.2 - es-set-tostringtag: 2.0.1 - es-to-primitive: 1.2.1 - function.prototype.name: 1.1.6 - get-intrinsic: 1.2.1 - get-symbol-description: 1.0.0 - globalthis: 1.0.3 - gopd: 1.0.1 - has: 1.0.4 - has-property-descriptors: 1.0.0 - has-proto: 1.0.1 - has-symbols: 1.0.3 - internal-slot: 1.0.5 - is-array-buffer: 3.0.2 - is-callable: 1.2.7 - is-negative-zero: 2.0.2 - is-regex: 1.1.4 - is-shared-array-buffer: 1.0.2 - is-string: 1.0.7 - is-typed-array: 1.1.12 - is-weakref: 1.0.2 - object-inspect: 1.12.3 - object-keys: 1.1.1 - object.assign: 4.1.4 - regexp.prototype.flags: 1.5.1 - safe-array-concat: 1.0.1 - safe-regex-test: 1.0.0 - string.prototype.trim: 1.2.8 - string.prototype.trimend: 1.0.7 - string.prototype.trimstart: 1.0.7 - typed-array-buffer: 1.0.0 - typed-array-byte-length: 1.0.0 - typed-array-byte-offset: 1.0.0 - typed-array-length: 1.0.4 - unbox-primitive: 1.0.2 - which-typed-array: 1.1.11 - - /es-get-iterator@1.1.3: - resolution: {integrity: sha512-sPZmqHBe6JIiTfN5q2pEi//TwxmAFHwj/XEuYjTuse78i8KxaqMTTzxPoFKuzRpDpTJ+0NAbpfenkmH2rePtuw==} - dependencies: - call-bind: 1.0.5 - get-intrinsic: 1.2.2 - has-symbols: 1.0.3 - is-arguments: 1.1.1 - is-map: 2.0.2 - is-set: 2.0.2 - is-string: 1.0.7 - isarray: 2.0.5 - stop-iteration-iterator: 1.0.0 - dev: true - - /es-iterator-helpers@1.0.15: - resolution: {integrity: sha512-GhoY8uYqd6iwUl2kgjTm4CZAf6oo5mHK7BPqx3rKgx893YSsy0LGHV6gfqqQvZt/8xM8xeOnfXBCfqclMKkJ5g==} - dependencies: - asynciterator.prototype: 1.0.0 - call-bind: 1.0.2 - define-properties: 1.2.1 - es-abstract: 1.22.2 - es-set-tostringtag: 2.0.1 - function-bind: 1.1.1 - get-intrinsic: 1.2.1 - globalthis: 1.0.3 - has-property-descriptors: 1.0.0 - has-proto: 1.0.1 - has-symbols: 1.0.3 - internal-slot: 1.0.5 - iterator.prototype: 1.1.2 - safe-array-concat: 1.0.1 - dev: false - - /es-module-lexer@0.9.3: - resolution: {integrity: sha512-1HQ2M2sPtxwnvOvT1ZClHyQDiggdNjURWpY2we6aMKCQiUVxTmVs2UYPLIrD84sS+kMdUwfBSylbJPwNnBrnHQ==} - dev: true - - /es-module-lexer@1.3.1: - resolution: {integrity: sha512-JUFAyicQV9mXc3YRxPnDlrfBKpqt6hUYzz9/boprUJHs4e4KVr3XwOF70doO6gwXUor6EWZJAyWAfKki84t20Q==} - dev: true - - /es-set-tostringtag@2.0.1: - resolution: {integrity: sha512-g3OMbtlwY3QewlqAiMLI47KywjWZoEytKr8pf6iTC8uJq5bIAH52Z9pnQ8pVL6whrCto53JZDuUIsifGeLorTg==} - engines: {node: '>= 0.4'} - dependencies: - get-intrinsic: 1.2.1 - has: 1.0.4 - has-tostringtag: 1.0.0 - - /es-shim-unscopables@1.0.0: - resolution: {integrity: sha512-Jm6GPcCdC30eMLbZ2x8z2WuRwAws3zTBBKuusffYVUrNj/GVSUAZ+xKMaUpfNDR5IbyNA5LJbaecoUVbmUcB1w==} - dependencies: - has: 1.0.4 - - /es-to-primitive@1.2.1: - resolution: {integrity: sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==} - engines: {node: '>= 0.4'} - dependencies: - is-callable: 1.2.7 - is-date-object: 1.0.5 - is-symbol: 1.0.4 - - /esbuild-android-64@0.15.18: - resolution: {integrity: sha512-wnpt3OXRhcjfIDSZu9bnzT4/TNTDsOUvip0foZOUBG7QbSt//w3QV4FInVJxNhKc/ErhUxc5z4QjHtMi7/TbgA==} - engines: {node: '>=12'} - cpu: [x64] - os: [android] - requiresBuild: true - dev: true - optional: true - - /esbuild-android-arm64@0.15.18: - resolution: {integrity: sha512-G4xu89B8FCzav9XU8EjsXacCKSG2FT7wW9J6hOc18soEHJdtWu03L3TQDGf0geNxfLTtxENKBzMSq9LlbjS8OQ==} - engines: {node: '>=12'} - cpu: [arm64] - os: [android] - requiresBuild: true - dev: true - optional: true - - /esbuild-darwin-64@0.15.18: - resolution: {integrity: sha512-2WAvs95uPnVJPuYKP0Eqx+Dl/jaYseZEUUT1sjg97TJa4oBtbAKnPnl3b5M9l51/nbx7+QAEtuummJZW0sBEmg==} - engines: {node: '>=12'} - cpu: [x64] - os: [darwin] - requiresBuild: true - dev: true - optional: true - - /esbuild-darwin-arm64@0.15.18: - resolution: {integrity: sha512-tKPSxcTJ5OmNb1btVikATJ8NftlyNlc8BVNtyT/UAr62JFOhwHlnoPrhYWz09akBLHI9nElFVfWSTSRsrZiDUA==} - engines: {node: '>=12'} - cpu: [arm64] - os: [darwin] - requiresBuild: true - dev: true - optional: true - - /esbuild-freebsd-64@0.15.18: - resolution: {integrity: sha512-TT3uBUxkteAjR1QbsmvSsjpKjOX6UkCstr8nMr+q7zi3NuZ1oIpa8U41Y8I8dJH2fJgdC3Dj3CXO5biLQpfdZA==} - engines: {node: '>=12'} - cpu: [x64] - os: [freebsd] - requiresBuild: true - dev: true - optional: true - - /esbuild-freebsd-arm64@0.15.18: - resolution: {integrity: sha512-R/oVr+X3Tkh+S0+tL41wRMbdWtpWB8hEAMsOXDumSSa6qJR89U0S/PpLXrGF7Wk/JykfpWNokERUpCeHDl47wA==} - engines: {node: '>=12'} - cpu: [arm64] - os: [freebsd] - requiresBuild: true - dev: true - optional: true + dev: false - /esbuild-linux-32@0.15.18: - resolution: {integrity: sha512-lphF3HiCSYtaa9p1DtXndiQEeQDKPl9eN/XNoBf2amEghugNuqXNZA/ZovthNE2aa4EN43WroO0B85xVSjYkbg==} - engines: {node: '>=12'} - cpu: [ia32] - os: [linux] - requiresBuild: true - dev: true - optional: true + /es-abstract@1.23.3: + resolution: {integrity: sha512-e+HfNH61Bj1X9/jLc5v1owaLYuHdeHHSQlkhCBiTK8rBvKaULl/beGMxwrMXjpYrv4pz22BlY570vVePA2ho4A==} + engines: {node: '>= 0.4'} + dependencies: + array-buffer-byte-length: 1.0.1 + arraybuffer.prototype.slice: 1.0.3 + available-typed-arrays: 1.0.7 + call-bind: 1.0.7 + data-view-buffer: 1.0.1 + data-view-byte-length: 1.0.1 + data-view-byte-offset: 1.0.0 + es-define-property: 1.0.0 + es-errors: 1.3.0 + es-object-atoms: 1.0.0 + es-set-tostringtag: 2.0.3 + es-to-primitive: 1.2.1 + function.prototype.name: 1.1.6 + get-intrinsic: 1.2.4 + get-symbol-description: 1.0.2 + globalthis: 1.0.4 + gopd: 1.0.1 + has-property-descriptors: 1.0.2 + has-proto: 1.0.3 + has-symbols: 1.0.3 + hasown: 2.0.2 + internal-slot: 1.0.7 + is-array-buffer: 3.0.4 + is-callable: 1.2.7 + is-data-view: 1.0.1 + is-negative-zero: 2.0.3 + is-regex: 1.1.4 + is-shared-array-buffer: 1.0.3 + is-string: 1.0.7 + is-typed-array: 1.1.13 + is-weakref: 1.0.2 + object-inspect: 1.13.2 + object-keys: 1.1.1 + object.assign: 4.1.5 + regexp.prototype.flags: 1.5.2 + safe-array-concat: 1.1.2 + safe-regex-test: 1.0.3 + string.prototype.trim: 1.2.9 + string.prototype.trimend: 1.0.8 + string.prototype.trimstart: 1.0.8 + typed-array-buffer: 1.0.2 + typed-array-byte-length: 1.0.1 + typed-array-byte-offset: 1.0.2 + typed-array-length: 1.0.6 + unbox-primitive: 1.0.2 + which-typed-array: 1.1.15 - /esbuild-linux-64@0.15.18: - resolution: {integrity: sha512-hNSeP97IviD7oxLKFuii5sDPJ+QHeiFTFLoLm7NZQligur8poNOWGIgpQ7Qf8Balb69hptMZzyOBIPtY09GZYw==} - engines: {node: '>=12'} - cpu: [x64] - os: [linux] - requiresBuild: true - dev: true - optional: true + /es-define-property@1.0.0: + resolution: {integrity: sha512-jxayLKShrEqqzJ0eumQbVhTYQM27CfT1T35+gCgDFoL82JLsXqTJ76zv6A0YLOgEnLUMvLzsDsGIrl8NFpT2gQ==} + engines: {node: '>= 0.4'} + dependencies: + get-intrinsic: 1.2.4 - /esbuild-linux-arm64@0.15.18: - resolution: {integrity: sha512-54qr8kg/6ilcxd+0V3h9rjT4qmjc0CccMVWrjOEM/pEcUzt8X62HfBSeZfT2ECpM7104mk4yfQXkosY8Quptug==} - engines: {node: '>=12'} - cpu: [arm64] - os: [linux] - requiresBuild: true - dev: true - optional: true + /es-errors@1.3.0: + resolution: {integrity: sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==} + engines: {node: '>= 0.4'} - /esbuild-linux-arm@0.15.18: - resolution: {integrity: sha512-UH779gstRblS4aoS2qpMl3wjg7U0j+ygu3GjIeTonCcN79ZvpPee12Qun3vcdxX+37O5LFxz39XeW2I9bybMVA==} - engines: {node: '>=12'} - cpu: [arm] - os: [linux] - requiresBuild: true - dev: true - optional: true + /es-get-iterator@1.1.3: + resolution: {integrity: sha512-sPZmqHBe6JIiTfN5q2pEi//TwxmAFHwj/XEuYjTuse78i8KxaqMTTzxPoFKuzRpDpTJ+0NAbpfenkmH2rePtuw==} + dependencies: + call-bind: 1.0.7 + get-intrinsic: 1.2.4 + has-symbols: 1.0.3 + is-arguments: 1.1.1 + is-map: 2.0.3 + is-set: 2.0.3 + is-string: 1.0.7 + isarray: 2.0.5 + stop-iteration-iterator: 1.0.0 - /esbuild-linux-mips64le@0.15.18: - resolution: {integrity: sha512-Mk6Ppwzzz3YbMl/ZZL2P0q1tnYqh/trYZ1VfNP47C31yT0K8t9s7Z077QrDA/guU60tGNp2GOwCQnp+DYv7bxQ==} - engines: {node: '>=12'} - cpu: [mips64el] - os: [linux] - requiresBuild: true - dev: true - optional: true + /es-iterator-helpers@1.0.19: + resolution: {integrity: sha512-zoMwbCcH5hwUkKJkT8kDIBZSz9I6mVG//+lDCinLCGov4+r7NIy0ld8o03M0cJxl2spVf6ESYVS6/gpIfq1FFw==} + engines: {node: '>= 0.4'} + dependencies: + call-bind: 1.0.7 + define-properties: 1.2.1 + es-abstract: 1.23.3 + es-errors: 1.3.0 + es-set-tostringtag: 2.0.3 + function-bind: 1.1.2 + get-intrinsic: 1.2.4 + globalthis: 1.0.4 + has-property-descriptors: 1.0.2 + has-proto: 1.0.3 + has-symbols: 1.0.3 + internal-slot: 1.0.7 + iterator.prototype: 1.1.2 + safe-array-concat: 1.1.2 + dev: false - /esbuild-linux-ppc64le@0.15.18: - resolution: {integrity: sha512-b0XkN4pL9WUulPTa/VKHx2wLCgvIAbgwABGnKMY19WhKZPT+8BxhZdqz6EgkqCLld7X5qiCY2F/bfpUUlnFZ9w==} - engines: {node: '>=12'} - cpu: [ppc64] - os: [linux] - requiresBuild: true + /es-module-lexer@0.9.3: + resolution: {integrity: sha512-1HQ2M2sPtxwnvOvT1ZClHyQDiggdNjURWpY2we6aMKCQiUVxTmVs2UYPLIrD84sS+kMdUwfBSylbJPwNnBrnHQ==} dev: true - optional: true - /esbuild-linux-riscv64@0.15.18: - resolution: {integrity: sha512-ba2COaoF5wL6VLZWn04k+ACZjZ6NYniMSQStodFKH/Pu6RxzQqzsmjR1t9QC89VYJxBeyVPTaHuBMCejl3O/xg==} - engines: {node: '>=12'} - cpu: [riscv64] - os: [linux] - requiresBuild: true + /es-module-lexer@1.5.3: + resolution: {integrity: sha512-i1gCgmR9dCl6Vil6UKPI/trA69s08g/syhiDK9TG0Nf1RJjjFI+AzoWW7sPufzkgYAn861skuCwJa0pIIHYxvg==} dev: true - optional: true - /esbuild-linux-s390x@0.15.18: - resolution: {integrity: sha512-VbpGuXEl5FCs1wDVp93O8UIzl3ZrglgnSQ+Hu79g7hZu6te6/YHgVJxCM2SqfIila0J3k0csfnf8VD2W7u2kzQ==} - engines: {node: '>=12'} - cpu: [s390x] - os: [linux] - requiresBuild: true - dev: true - optional: true + /es-object-atoms@1.0.0: + resolution: {integrity: sha512-MZ4iQ6JwHOBQjahnjwaC1ZtIBH+2ohjamzAO3oaHcXYup7qxjF2fixyH+Q71voWHeOkI2q/TnJao/KfXYIZWbw==} + engines: {node: '>= 0.4'} + dependencies: + es-errors: 1.3.0 - /esbuild-netbsd-64@0.15.18: - resolution: {integrity: sha512-98ukeCdvdX7wr1vUYQzKo4kQ0N2p27H7I11maINv73fVEXt2kyh4K4m9f35U1K43Xc2QGXlzAw0K9yoU7JUjOg==} - engines: {node: '>=12'} - cpu: [x64] - os: [netbsd] - requiresBuild: true - dev: true - optional: true + /es-set-tostringtag@2.0.3: + resolution: {integrity: sha512-3T8uNMC3OQTHkFUsFq8r/BwAXLHvU/9O9mE0fBc/MY5iq/8H7ncvO947LmYA6ldWw9Uh8Yhf25zu6n7nML5QWQ==} + engines: {node: '>= 0.4'} + dependencies: + get-intrinsic: 1.2.4 + has-tostringtag: 1.0.2 + hasown: 2.0.2 - /esbuild-openbsd-64@0.15.18: - resolution: {integrity: sha512-yK5NCcH31Uae076AyQAXeJzt/vxIo9+omZRKj1pauhk3ITuADzuOx5N2fdHrAKPxN+zH3w96uFKlY7yIn490xQ==} - engines: {node: '>=12'} - cpu: [x64] - os: [openbsd] - requiresBuild: true - dev: true - optional: true + /es-shim-unscopables@1.0.2: + resolution: {integrity: sha512-J3yBRXCzDu4ULnQwxyToo/OjdMx6akgVC7K6few0a7F/0wLtmKKN7I73AH5T2836UuXRqN7Qg+IIUw/+YJksRw==} + dependencies: + hasown: 2.0.2 + + /es-to-primitive@1.2.1: + resolution: {integrity: sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==} + engines: {node: '>= 0.4'} + dependencies: + is-callable: 1.2.7 + is-date-object: 1.0.5 + is-symbol: 1.0.4 /esbuild-plugin-alias@0.2.1: resolution: {integrity: sha512-jyfL/pwPqaFXyKnj8lP8iLk6Z0m099uXR45aSN8Av1XD4vhvQutxxPzgA2bTcAwQpa1zCXDcWOlhFgyP3GKqhQ==} dev: true - /esbuild-plugin-raw@0.1.7(esbuild@0.15.18): - resolution: {integrity: sha512-kYfu+XBzKm1/ryjjITSMkj/D+JsVHRWD48vM/EWTufUledFlnCw8envwgjz29R3bXj6g+wguhUW8Q2qjxCQNXw==} + /esbuild-plugin-raw@0.1.8(esbuild@0.19.12): + resolution: {integrity: sha512-RNLzkR9DZIDW5nLjtWoSHzECsVHwJf/pel8RFw0fF1AE/0Y7rsdayf1s23mJoXYAuw2rUDqm1hF7zXK++ABRMg==} peerDependencies: - esbuild: ^0.14.36 || ^0.15.0 + esbuild: ^0.14.36 || ^0.15.0 || ^0.16.0 || ^0.17.0 || ^0.18.0 || ^0.19.0 || ^0.20.0 dependencies: - esbuild: 0.15.18 + esbuild: 0.19.12 dev: true /esbuild-register@3.5.0(esbuild@0.18.20): @@ -15279,78 +14595,12 @@ packages: peerDependencies: esbuild: '>=0.12 <1' dependencies: - debug: 4.3.4(supports-color@5.5.0) + debug: 4.3.5(supports-color@5.5.0) esbuild: 0.18.20 transitivePeerDependencies: - supports-color dev: true - /esbuild-sunos-64@0.15.18: - resolution: {integrity: sha512-On22LLFlBeLNj/YF3FT+cXcyKPEI263nflYlAhz5crxtp3yRG1Ugfr7ITyxmCmjm4vbN/dGrb/B7w7U8yJR9yw==} - engines: {node: '>=12'} - cpu: [x64] - os: [sunos] - requiresBuild: true - dev: true - optional: true - - /esbuild-windows-32@0.15.18: - resolution: {integrity: sha512-o+eyLu2MjVny/nt+E0uPnBxYuJHBvho8vWsC2lV61A7wwTWC3jkN2w36jtA+yv1UgYkHRihPuQsL23hsCYGcOQ==} - engines: {node: '>=12'} - cpu: [ia32] - os: [win32] - requiresBuild: true - dev: true - optional: true - - /esbuild-windows-64@0.15.18: - resolution: {integrity: sha512-qinug1iTTaIIrCorAUjR0fcBk24fjzEedFYhhispP8Oc7SFvs+XeW3YpAKiKp8dRpizl4YYAhxMjlftAMJiaUw==} - engines: {node: '>=12'} - cpu: [x64] - os: [win32] - requiresBuild: true - dev: true - optional: true - - /esbuild-windows-arm64@0.15.18: - resolution: {integrity: sha512-q9bsYzegpZcLziq0zgUi5KqGVtfhjxGbnksaBFYmWLxeV/S1fK4OLdq2DFYnXcLMjlZw2L0jLsk1eGoB522WXQ==} - engines: {node: '>=12'} - cpu: [arm64] - os: [win32] - requiresBuild: true - dev: true - optional: true - - /esbuild@0.15.18: - resolution: {integrity: sha512-x/R72SmW3sSFRm5zrrIjAhCeQSAWoni3CmHEqfQrZIQTM3lVCdehdwuIqaOtfC2slvpdlLa62GYoN8SxT23m6Q==} - engines: {node: '>=12'} - hasBin: true - requiresBuild: true - optionalDependencies: - '@esbuild/android-arm': 0.15.18 - '@esbuild/linux-loong64': 0.15.18 - esbuild-android-64: 0.15.18 - esbuild-android-arm64: 0.15.18 - esbuild-darwin-64: 0.15.18 - esbuild-darwin-arm64: 0.15.18 - esbuild-freebsd-64: 0.15.18 - esbuild-freebsd-arm64: 0.15.18 - esbuild-linux-32: 0.15.18 - esbuild-linux-64: 0.15.18 - esbuild-linux-arm: 0.15.18 - esbuild-linux-arm64: 0.15.18 - esbuild-linux-mips64le: 0.15.18 - esbuild-linux-ppc64le: 0.15.18 - esbuild-linux-riscv64: 0.15.18 - esbuild-linux-s390x: 0.15.18 - esbuild-netbsd-64: 0.15.18 - esbuild-openbsd-64: 0.15.18 - esbuild-sunos-64: 0.15.18 - esbuild-windows-32: 0.15.18 - esbuild-windows-64: 0.15.18 - esbuild-windows-arm64: 0.15.18 - dev: true - /esbuild@0.17.19: resolution: {integrity: sha512-XQ0jAPFkK/u3LcVRcvVHQcTIqD6E2H1fvZMA5dQPSOWb3suUbWbfbRf94pjc0bNzRYLfIrDRQXr7X+LHIm5oHw==} engines: {node: '>=12'} @@ -15470,10 +14720,9 @@ packages: '@esbuild/win32-arm64': 0.21.5 '@esbuild/win32-ia32': 0.21.5 '@esbuild/win32-x64': 0.21.5 - dev: true - /escalade@3.1.1: - resolution: {integrity: sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==} + /escalade@3.1.2: + resolution: {integrity: sha512-ErCHMCae19vR8vQGe50xIsVomy19rg6gFu3+r3jkEO46suLMWBksvVyoGgQV+jOfl84ZSOSlmv6Gxa89PmTGmA==} engines: {node: '>=6'} /escape-html@1.0.3: @@ -15504,47 +14753,38 @@ packages: source-map: 0.6.1 dev: true - /eslint-config-prettier@8.10.0(eslint@8.51.0): - resolution: {integrity: sha512-SM8AMJdeQqRYT9O9zguiruQZaN7+z+E4eAP9oiLNGKMtomwaB1E9dcgUD6ZAn/eQAb52USbvezbiljfZUhbJcg==} - hasBin: true - peerDependencies: - eslint: '>=7.0.0' - dependencies: - eslint: 8.51.0 - - /eslint-config-prettier@8.10.0(eslint@8.56.0): + /eslint-config-prettier@8.10.0(eslint@8.57.0): resolution: {integrity: sha512-SM8AMJdeQqRYT9O9zguiruQZaN7+z+E4eAP9oiLNGKMtomwaB1E9dcgUD6ZAn/eQAb52USbvezbiljfZUhbJcg==} hasBin: true peerDependencies: eslint: '>=7.0.0' dependencies: - eslint: 8.56.0 - dev: true + eslint: 8.57.0 /eslint-import-resolver-node@0.3.9: resolution: {integrity: sha512-WFj2isz22JahUv+B788TlO3N6zL3nNJGU8CcZbPZvVEkBPaJdCV4vy5wyghty5ROFbCRnm132v8BScu5/1BQ8g==} dependencies: debug: 3.2.7 - is-core-module: 2.13.0 - resolve: 1.22.6 + is-core-module: 2.14.0 + resolve: 1.22.8 transitivePeerDependencies: - supports-color - /eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@5.62.0)(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.28.1)(eslint@8.51.0): + /eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@5.62.0)(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.29.1)(eslint@8.57.0): resolution: {integrity: sha512-xgdptdoi5W3niYeuQxKmzVDTATvLYqhpwmykwsh7f6HIOStGWEIL9iqZgQDF9u9OEzrRwR8no5q2VT+bjAujTg==} engines: {node: ^14.18.0 || >=16.0.0} peerDependencies: eslint: '*' eslint-plugin-import: '*' dependencies: - debug: 4.3.4(supports-color@5.5.0) - enhanced-resolve: 5.15.0 - eslint: 8.51.0 - eslint-module-utils: 2.8.0(@typescript-eslint/parser@5.62.0)(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1)(eslint@8.51.0) - eslint-plugin-import: 2.28.1(@typescript-eslint/parser@5.62.0)(eslint-import-resolver-typescript@3.6.1)(eslint@8.51.0) - fast-glob: 3.3.1 - get-tsconfig: 4.7.2 - is-core-module: 2.13.0 + debug: 4.3.5(supports-color@5.5.0) + enhanced-resolve: 5.17.0 + eslint: 8.57.0 + eslint-module-utils: 2.8.1(@typescript-eslint/parser@5.62.0)(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1)(eslint@8.57.0) + eslint-plugin-import: 2.29.1(@typescript-eslint/parser@5.62.0)(eslint-import-resolver-typescript@3.6.1)(eslint@8.57.0) + fast-glob: 3.3.2 + get-tsconfig: 4.7.5 + is-core-module: 2.14.0 is-glob: 4.0.3 transitivePeerDependencies: - '@typescript-eslint/parser' @@ -15552,21 +14792,21 @@ packages: - eslint-import-resolver-webpack - supports-color - /eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@6.7.4)(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.28.1)(eslint@8.51.0): + /eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@6.21.0)(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.29.1)(eslint@8.57.0): resolution: {integrity: sha512-xgdptdoi5W3niYeuQxKmzVDTATvLYqhpwmykwsh7f6HIOStGWEIL9iqZgQDF9u9OEzrRwR8no5q2VT+bjAujTg==} engines: {node: ^14.18.0 || >=16.0.0} peerDependencies: eslint: '*' eslint-plugin-import: '*' dependencies: - debug: 4.3.4(supports-color@5.5.0) - enhanced-resolve: 5.15.0 - eslint: 8.51.0 - eslint-module-utils: 2.8.0(@typescript-eslint/parser@6.7.4)(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1)(eslint@8.51.0) - eslint-plugin-import: 2.28.1(@typescript-eslint/parser@6.7.4)(eslint-import-resolver-typescript@3.6.1)(eslint@8.51.0) - fast-glob: 3.3.1 - get-tsconfig: 4.7.2 - is-core-module: 2.13.0 + debug: 4.3.5(supports-color@5.5.0) + enhanced-resolve: 5.17.0 + eslint: 8.57.0 + eslint-module-utils: 2.8.1(@typescript-eslint/parser@6.21.0)(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1)(eslint@8.57.0) + eslint-plugin-import: 2.29.1(@typescript-eslint/parser@6.21.0)(eslint-import-resolver-typescript@3.6.1)(eslint@8.57.0) + fast-glob: 3.3.2 + get-tsconfig: 4.7.5 + is-core-module: 2.14.0 is-glob: 4.0.3 transitivePeerDependencies: - '@typescript-eslint/parser' @@ -15575,21 +14815,21 @@ packages: - supports-color dev: true - /eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@7.0.2)(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.28.1)(eslint@8.56.0): + /eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@7.13.1)(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.29.1)(eslint@8.57.0): resolution: {integrity: sha512-xgdptdoi5W3niYeuQxKmzVDTATvLYqhpwmykwsh7f6HIOStGWEIL9iqZgQDF9u9OEzrRwR8no5q2VT+bjAujTg==} engines: {node: ^14.18.0 || >=16.0.0} peerDependencies: eslint: '*' eslint-plugin-import: '*' dependencies: - debug: 4.3.4(supports-color@5.5.0) - enhanced-resolve: 5.15.0 - eslint: 8.56.0 - eslint-module-utils: 2.8.0(@typescript-eslint/parser@7.0.2)(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1)(eslint@8.56.0) - eslint-plugin-import: 2.28.1(@typescript-eslint/parser@7.0.2)(eslint-import-resolver-typescript@3.6.1)(eslint@8.56.0) - fast-glob: 3.3.1 - get-tsconfig: 4.7.2 - is-core-module: 2.13.0 + debug: 4.3.5(supports-color@5.5.0) + enhanced-resolve: 5.17.0 + eslint: 8.57.0 + eslint-module-utils: 2.8.1(@typescript-eslint/parser@7.13.1)(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1)(eslint@8.57.0) + eslint-plugin-import: 2.29.1(@typescript-eslint/parser@7.13.1)(eslint-import-resolver-typescript@3.6.1)(eslint@8.57.0) + fast-glob: 3.3.2 + get-tsconfig: 4.7.5 + is-core-module: 2.14.0 is-glob: 4.0.3 transitivePeerDependencies: - '@typescript-eslint/parser' @@ -15598,8 +14838,8 @@ packages: - supports-color dev: true - /eslint-module-utils@2.8.0(@typescript-eslint/parser@5.62.0)(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1)(eslint@8.51.0): - resolution: {integrity: sha512-aWajIYfsqCKRDgUfjEXNN/JlrzauMuSEy5sbd7WXbtW3EH6A6MpwEh42c7qD+MqQo9QMJ6fWLAeIJynx0g6OAw==} + /eslint-module-utils@2.8.1(@typescript-eslint/parser@5.62.0)(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1)(eslint@8.57.0): + resolution: {integrity: sha512-rXDXR3h7cs7dy9RNpUlQf80nX31XWJEyGq1tRMo+6GsO5VmTe4UTwtmonAD4ZkAsrfMVDA2wlGJ3790Ys+D49Q==} engines: {node: '>=4'} peerDependencies: '@typescript-eslint/parser': '*' @@ -15619,16 +14859,16 @@ packages: eslint-import-resolver-webpack: optional: true dependencies: - '@typescript-eslint/parser': 5.62.0(eslint@8.51.0)(typescript@5.3.3) + '@typescript-eslint/parser': 5.62.0(eslint@8.57.0)(typescript@5.3.3) debug: 3.2.7 - eslint: 8.51.0 + eslint: 8.57.0 eslint-import-resolver-node: 0.3.9 - eslint-import-resolver-typescript: 3.6.1(@typescript-eslint/parser@5.62.0)(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.28.1)(eslint@8.51.0) + eslint-import-resolver-typescript: 3.6.1(@typescript-eslint/parser@5.62.0)(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.29.1)(eslint@8.57.0) transitivePeerDependencies: - supports-color - /eslint-module-utils@2.8.0(@typescript-eslint/parser@6.7.4)(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1)(eslint@8.51.0): - resolution: {integrity: sha512-aWajIYfsqCKRDgUfjEXNN/JlrzauMuSEy5sbd7WXbtW3EH6A6MpwEh42c7qD+MqQo9QMJ6fWLAeIJynx0g6OAw==} + /eslint-module-utils@2.8.1(@typescript-eslint/parser@6.21.0)(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1)(eslint@8.57.0): + resolution: {integrity: sha512-rXDXR3h7cs7dy9RNpUlQf80nX31XWJEyGq1tRMo+6GsO5VmTe4UTwtmonAD4ZkAsrfMVDA2wlGJ3790Ys+D49Q==} engines: {node: '>=4'} peerDependencies: '@typescript-eslint/parser': '*' @@ -15648,17 +14888,17 @@ packages: eslint-import-resolver-webpack: optional: true dependencies: - '@typescript-eslint/parser': 6.7.4(eslint@8.51.0)(typescript@5.3.3) + '@typescript-eslint/parser': 6.21.0(eslint@8.57.0)(typescript@5.5.2) debug: 3.2.7 - eslint: 8.51.0 + eslint: 8.57.0 eslint-import-resolver-node: 0.3.9 - eslint-import-resolver-typescript: 3.6.1(@typescript-eslint/parser@6.7.4)(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.28.1)(eslint@8.51.0) + eslint-import-resolver-typescript: 3.6.1(@typescript-eslint/parser@6.21.0)(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.29.1)(eslint@8.57.0) transitivePeerDependencies: - supports-color dev: true - /eslint-module-utils@2.8.0(@typescript-eslint/parser@7.0.2)(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1)(eslint@8.56.0): - resolution: {integrity: sha512-aWajIYfsqCKRDgUfjEXNN/JlrzauMuSEy5sbd7WXbtW3EH6A6MpwEh42c7qD+MqQo9QMJ6fWLAeIJynx0g6OAw==} + /eslint-module-utils@2.8.1(@typescript-eslint/parser@7.13.1)(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1)(eslint@8.57.0): + resolution: {integrity: sha512-rXDXR3h7cs7dy9RNpUlQf80nX31XWJEyGq1tRMo+6GsO5VmTe4UTwtmonAD4ZkAsrfMVDA2wlGJ3790Ys+D49Q==} engines: {node: '>=4'} peerDependencies: '@typescript-eslint/parser': '*' @@ -15678,17 +14918,17 @@ packages: eslint-import-resolver-webpack: optional: true dependencies: - '@typescript-eslint/parser': 7.0.2(eslint@8.56.0)(typescript@5.3.3) + '@typescript-eslint/parser': 7.13.1(eslint@8.57.0)(typescript@5.5.2) debug: 3.2.7 - eslint: 8.56.0 + eslint: 8.57.0 eslint-import-resolver-node: 0.3.9 - eslint-import-resolver-typescript: 3.6.1(@typescript-eslint/parser@7.0.2)(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.28.1)(eslint@8.56.0) + eslint-import-resolver-typescript: 3.6.1(@typescript-eslint/parser@7.13.1)(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.29.1)(eslint@8.57.0) transitivePeerDependencies: - supports-color dev: true - /eslint-plugin-import@2.28.1(@typescript-eslint/parser@5.62.0)(eslint-import-resolver-typescript@3.6.1)(eslint@8.51.0): - resolution: {integrity: sha512-9I9hFlITvOV55alzoKBI+K9q74kv0iKMeY6av5+umsNwayt59fz692daGyjR+oStBQgx6nwR9rXldDev3Clw+A==} + /eslint-plugin-import@2.29.1(@typescript-eslint/parser@5.62.0)(eslint-import-resolver-typescript@3.6.1)(eslint@8.57.0): + resolution: {integrity: sha512-BbPC0cuExzhiMo4Ff1BTVwHpjjv28C5R+btTOGaCRC7UEz801up0JadwkeSk5Ued6TG34uaczuVuH6qyy5YUxw==} engines: {node: '>=4'} peerDependencies: '@typescript-eslint/parser': '*' @@ -15697,32 +14937,32 @@ packages: '@typescript-eslint/parser': optional: true dependencies: - '@typescript-eslint/parser': 5.62.0(eslint@8.51.0)(typescript@5.3.3) - array-includes: 3.1.7 - array.prototype.findlastindex: 1.2.3 + '@typescript-eslint/parser': 5.62.0(eslint@8.57.0)(typescript@5.3.3) + array-includes: 3.1.8 + array.prototype.findlastindex: 1.2.5 array.prototype.flat: 1.3.2 array.prototype.flatmap: 1.3.2 debug: 3.2.7 doctrine: 2.1.0 - eslint: 8.51.0 + eslint: 8.57.0 eslint-import-resolver-node: 0.3.9 - eslint-module-utils: 2.8.0(@typescript-eslint/parser@5.62.0)(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1)(eslint@8.51.0) - has: 1.0.4 - is-core-module: 2.13.0 + eslint-module-utils: 2.8.1(@typescript-eslint/parser@5.62.0)(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1)(eslint@8.57.0) + hasown: 2.0.2 + is-core-module: 2.14.0 is-glob: 4.0.3 minimatch: 3.1.2 - object.fromentries: 2.0.7 - object.groupby: 1.0.1 - object.values: 1.1.7 + object.fromentries: 2.0.8 + object.groupby: 1.0.3 + object.values: 1.2.0 semver: 6.3.1 - tsconfig-paths: 3.14.2 + tsconfig-paths: 3.15.0 transitivePeerDependencies: - eslint-import-resolver-typescript - eslint-import-resolver-webpack - supports-color - /eslint-plugin-import@2.28.1(@typescript-eslint/parser@6.7.4)(eslint-import-resolver-typescript@3.6.1)(eslint@8.51.0): - resolution: {integrity: sha512-9I9hFlITvOV55alzoKBI+K9q74kv0iKMeY6av5+umsNwayt59fz692daGyjR+oStBQgx6nwR9rXldDev3Clw+A==} + /eslint-plugin-import@2.29.1(@typescript-eslint/parser@6.21.0)(eslint-import-resolver-typescript@3.6.1)(eslint@8.57.0): + resolution: {integrity: sha512-BbPC0cuExzhiMo4Ff1BTVwHpjjv28C5R+btTOGaCRC7UEz801up0JadwkeSk5Ued6TG34uaczuVuH6qyy5YUxw==} engines: {node: '>=4'} peerDependencies: '@typescript-eslint/parser': '*' @@ -15731,33 +14971,33 @@ packages: '@typescript-eslint/parser': optional: true dependencies: - '@typescript-eslint/parser': 6.7.4(eslint@8.51.0)(typescript@5.3.3) - array-includes: 3.1.7 - array.prototype.findlastindex: 1.2.3 + '@typescript-eslint/parser': 6.21.0(eslint@8.57.0)(typescript@5.5.2) + array-includes: 3.1.8 + array.prototype.findlastindex: 1.2.5 array.prototype.flat: 1.3.2 array.prototype.flatmap: 1.3.2 debug: 3.2.7 doctrine: 2.1.0 - eslint: 8.51.0 + eslint: 8.57.0 eslint-import-resolver-node: 0.3.9 - eslint-module-utils: 2.8.0(@typescript-eslint/parser@6.7.4)(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1)(eslint@8.51.0) - has: 1.0.4 - is-core-module: 2.13.0 + eslint-module-utils: 2.8.1(@typescript-eslint/parser@6.21.0)(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1)(eslint@8.57.0) + hasown: 2.0.2 + is-core-module: 2.14.0 is-glob: 4.0.3 minimatch: 3.1.2 - object.fromentries: 2.0.7 - object.groupby: 1.0.1 - object.values: 1.1.7 + object.fromentries: 2.0.8 + object.groupby: 1.0.3 + object.values: 1.2.0 semver: 6.3.1 - tsconfig-paths: 3.14.2 + tsconfig-paths: 3.15.0 transitivePeerDependencies: - eslint-import-resolver-typescript - eslint-import-resolver-webpack - supports-color dev: true - /eslint-plugin-import@2.28.1(@typescript-eslint/parser@7.0.2)(eslint-import-resolver-typescript@3.6.1)(eslint@8.56.0): - resolution: {integrity: sha512-9I9hFlITvOV55alzoKBI+K9q74kv0iKMeY6av5+umsNwayt59fz692daGyjR+oStBQgx6nwR9rXldDev3Clw+A==} + /eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.13.1)(eslint-import-resolver-typescript@3.6.1)(eslint@8.57.0): + resolution: {integrity: sha512-BbPC0cuExzhiMo4Ff1BTVwHpjjv28C5R+btTOGaCRC7UEz801up0JadwkeSk5Ued6TG34uaczuVuH6qyy5YUxw==} engines: {node: '>=4'} peerDependencies: '@typescript-eslint/parser': '*' @@ -15766,73 +15006,57 @@ packages: '@typescript-eslint/parser': optional: true dependencies: - '@typescript-eslint/parser': 7.0.2(eslint@8.56.0)(typescript@5.3.3) - array-includes: 3.1.7 - array.prototype.findlastindex: 1.2.3 + '@typescript-eslint/parser': 7.13.1(eslint@8.57.0)(typescript@5.5.2) + array-includes: 3.1.8 + array.prototype.findlastindex: 1.2.5 array.prototype.flat: 1.3.2 array.prototype.flatmap: 1.3.2 debug: 3.2.7 doctrine: 2.1.0 - eslint: 8.56.0 + eslint: 8.57.0 eslint-import-resolver-node: 0.3.9 - eslint-module-utils: 2.8.0(@typescript-eslint/parser@7.0.2)(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1)(eslint@8.56.0) - has: 1.0.4 - is-core-module: 2.13.0 + eslint-module-utils: 2.8.1(@typescript-eslint/parser@7.13.1)(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1)(eslint@8.57.0) + hasown: 2.0.2 + is-core-module: 2.14.0 is-glob: 4.0.3 minimatch: 3.1.2 - object.fromentries: 2.0.7 - object.groupby: 1.0.1 - object.values: 1.1.7 + object.fromentries: 2.0.8 + object.groupby: 1.0.3 + object.values: 1.2.0 semver: 6.3.1 - tsconfig-paths: 3.14.2 + tsconfig-paths: 3.15.0 transitivePeerDependencies: - eslint-import-resolver-typescript - eslint-import-resolver-webpack - supports-color dev: true - /eslint-plugin-jsx-a11y@6.7.1(eslint@8.51.0): - resolution: {integrity: sha512-63Bog4iIethyo8smBklORknVjB0T2dwB8Mr/hIC+fBS0uyHdYYpzM/Ed+YC8VxTjlXHEWFOdmgwcDn1U2L9VCA==} + /eslint-plugin-jsx-a11y@6.9.0(eslint@8.57.0): + resolution: {integrity: sha512-nOFOCaJG2pYqORjK19lqPqxMO/JpvdCZdPtNdxY3kvom3jTvkAbOvQvD8wuD0G8BYR0IGAGYDlzqWJOh/ybn2g==} engines: {node: '>=4.0'} peerDependencies: eslint: ^3 || ^4 || ^5 || ^6 || ^7 || ^8 dependencies: - '@babel/runtime': 7.23.1 - aria-query: 5.3.0 - array-includes: 3.1.7 + aria-query: 5.1.3 + array-includes: 3.1.8 array.prototype.flatmap: 1.3.2 - ast-types-flow: 0.0.7 - axe-core: 4.8.2 - axobject-query: 3.2.1 + ast-types-flow: 0.0.8 + axe-core: 4.9.1 + axobject-query: 3.1.1 damerau-levenshtein: 1.0.8 emoji-regex: 9.2.2 - eslint: 8.51.0 - has: 1.0.4 + es-iterator-helpers: 1.0.19 + eslint: 8.57.0 + hasown: 2.0.2 jsx-ast-utils: 3.3.5 - language-tags: 1.0.5 + language-tags: 1.0.9 minimatch: 3.1.2 - object.entries: 1.1.7 - object.fromentries: 2.0.7 - semver: 6.3.1 + object.fromentries: 2.0.8 + safe-regex-test: 1.0.3 + string.prototype.includes: 2.0.0 dev: false - /eslint-plugin-prettier@4.2.1(eslint-config-prettier@8.10.0)(eslint@8.51.0)(prettier@2.8.8): - resolution: {integrity: sha512-f/0rXLXUt0oFYs8ra4w49wYZBG5GKZpAYsJSm6rnYL5uVDjd+zowwMwVZHnAjf4edNrKpCDYfXDgmRE/Ak7QyQ==} - engines: {node: '>=12.0.0'} - peerDependencies: - eslint: '>=7.28.0' - eslint-config-prettier: '*' - prettier: '>=2.0.0' - peerDependenciesMeta: - eslint-config-prettier: - optional: true - dependencies: - eslint: 8.51.0 - eslint-config-prettier: 8.10.0(eslint@8.51.0) - prettier: 2.8.8 - prettier-linter-helpers: 1.0.0 - - /eslint-plugin-prettier@4.2.1(eslint-config-prettier@8.10.0)(eslint@8.56.0)(prettier@2.8.8): + /eslint-plugin-prettier@4.2.1(eslint-config-prettier@8.10.0)(eslint@8.57.0)(prettier@2.8.8): resolution: {integrity: sha512-f/0rXLXUt0oFYs8ra4w49wYZBG5GKZpAYsJSm6rnYL5uVDjd+zowwMwVZHnAjf4edNrKpCDYfXDgmRE/Ak7QyQ==} engines: {node: '>=12.0.0'} peerDependencies: @@ -15843,65 +15067,66 @@ packages: eslint-config-prettier: optional: true dependencies: - eslint: 8.56.0 - eslint-config-prettier: 8.10.0(eslint@8.56.0) + eslint: 8.57.0 + eslint-config-prettier: 8.10.0(eslint@8.57.0) prettier: 2.8.8 prettier-linter-helpers: 1.0.0 - dev: true - /eslint-plugin-react-hooks@4.6.0(eslint@8.51.0): - resolution: {integrity: sha512-oFc7Itz9Qxh2x4gNHStv3BqJq54ExXmfC+a1NjAta66IAN87Wu0R/QArgIS9qKzX3dXKPI9H5crl9QchNMY9+g==} + /eslint-plugin-react-hooks@4.6.2(eslint@8.57.0): + resolution: {integrity: sha512-QzliNJq4GinDBcD8gPB5v0wh6g8q3SUi6EFF0x8N/BL9PoVs0atuGc47ozMRyOWAKdwaZ5OnbOEa3WR+dSGKuQ==} engines: {node: '>=10'} peerDependencies: eslint: ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 dependencies: - eslint: 8.51.0 + eslint: 8.57.0 dev: false - /eslint-plugin-react@7.33.2(eslint@8.51.0): - resolution: {integrity: sha512-73QQMKALArI8/7xGLNI/3LylrEYrlKZSb5C9+q3OtOewTnMQi5cT+aE9E41sLCmli3I9PGGmD1yiZydyo4FEPw==} + /eslint-plugin-react@7.34.3(eslint@8.57.0): + resolution: {integrity: sha512-aoW4MV891jkUulwDApQbPYTVZmeuSyFrudpbTAQuj5Fv8VL+o6df2xIGpw8B0hPjAaih1/Fb0om9grCdyFYemA==} engines: {node: '>=4'} peerDependencies: eslint: ^3 || ^4 || ^5 || ^6 || ^7 || ^8 dependencies: - array-includes: 3.1.7 + array-includes: 3.1.8 + array.prototype.findlast: 1.2.5 array.prototype.flatmap: 1.3.2 - array.prototype.tosorted: 1.1.2 + array.prototype.toreversed: 1.1.2 + array.prototype.tosorted: 1.1.4 doctrine: 2.1.0 - es-iterator-helpers: 1.0.15 - eslint: 8.51.0 + es-iterator-helpers: 1.0.19 + eslint: 8.57.0 estraverse: 5.3.0 jsx-ast-utils: 3.3.5 minimatch: 3.1.2 - object.entries: 1.1.7 - object.fromentries: 2.0.7 - object.hasown: 1.1.3 - object.values: 1.1.7 + object.entries: 1.1.8 + object.fromentries: 2.0.8 + object.hasown: 1.1.4 + object.values: 1.2.0 prop-types: 15.8.1 - resolve: 2.0.0-next.4 + resolve: 2.0.0-next.5 semver: 6.3.1 - string.prototype.matchall: 4.0.10 + string.prototype.matchall: 4.0.11 dev: false - /eslint-plugin-sort-exports@0.8.0(eslint@8.56.0): + /eslint-plugin-sort-exports@0.8.0(eslint@8.57.0): resolution: {integrity: sha512-5x7kJNjIS5bSyehFJ6Gk2gh2wUPt/rmhwDHF8JPDicSH7bvrLRFdlkhHu74YqYBjEySHYaOZVoKNP90TjI0v6w==} peerDependencies: eslint: '>=5.0.0' dependencies: - eslint: 8.56.0 + eslint: 8.57.0 dev: true - /eslint-plugin-unicorn@47.0.0(eslint@8.51.0): + /eslint-plugin-unicorn@47.0.0(eslint@8.57.0): resolution: {integrity: sha512-ivB3bKk7fDIeWOUmmMm9o3Ax9zbMz1Bsza/R2qm46ufw4T6VBFBaJIR1uN3pCKSmSXm8/9Nri8V+iUut1NhQGA==} engines: {node: '>=16'} peerDependencies: eslint: '>=8.38.0' dependencies: - '@babel/helper-validator-identifier': 7.22.20 - '@eslint-community/eslint-utils': 4.4.0(eslint@8.51.0) + '@babel/helper-validator-identifier': 7.24.7 + '@eslint-community/eslint-utils': 4.4.0(eslint@8.57.0) ci-info: 3.9.0 clean-regexp: 1.0.0 - eslint: 8.51.0 + eslint: 8.57.0 esquery: 1.5.0 indent-string: 4.0.0 is-builtin-module: 3.2.1 @@ -15912,7 +15137,7 @@ packages: regexp-tree: 0.1.27 regjsparser: 0.10.0 safe-regex: 2.1.1 - semver: 7.5.4 + semver: 7.6.2 strip-indent: 3.0.0 dev: false @@ -15934,60 +15159,15 @@ packages: resolution: {integrity: sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - /eslint@8.51.0: - resolution: {integrity: sha512-2WuxRZBrlwnXi+/vFSJyjMqrNjtJqiasMzehF0shoLaW7DzS3/9Yvrmq5JiT66+pNjiX4UBnLDiKHcWAr/OInA==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - hasBin: true - dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@8.51.0) - '@eslint-community/regexpp': 4.9.1 - '@eslint/eslintrc': 2.1.2 - '@eslint/js': 8.51.0 - '@humanwhocodes/config-array': 0.11.11 - '@humanwhocodes/module-importer': 1.0.1 - '@nodelib/fs.walk': 1.2.8 - ajv: 6.12.6 - chalk: 4.1.2 - cross-spawn: 7.0.3 - debug: 4.3.4(supports-color@5.5.0) - doctrine: 3.0.0 - escape-string-regexp: 4.0.0 - eslint-scope: 7.2.2 - eslint-visitor-keys: 3.4.3 - espree: 9.6.1 - esquery: 1.5.0 - esutils: 2.0.3 - fast-deep-equal: 3.1.3 - file-entry-cache: 6.0.1 - find-up: 5.0.0 - glob-parent: 6.0.2 - globals: 13.23.0 - graphemer: 1.4.0 - ignore: 5.2.4 - imurmurhash: 0.1.4 - is-glob: 4.0.3 - is-path-inside: 3.0.3 - js-yaml: 4.1.0 - json-stable-stringify-without-jsonify: 1.0.1 - levn: 0.4.1 - lodash.merge: 4.6.2 - minimatch: 3.1.2 - natural-compare: 1.4.0 - optionator: 0.9.3 - strip-ansi: 6.0.1 - text-table: 0.2.0 - transitivePeerDependencies: - - supports-color - - /eslint@8.56.0: - resolution: {integrity: sha512-Go19xM6T9puCOWntie1/P997aXxFsOi37JIHRWI514Hc6ZnaHGKY9xFhrU65RT6CcBEzZoGG1e6Nq+DT04ZtZQ==} + /eslint@8.57.0: + resolution: {integrity: sha512-dZ6+mexnaTIbSBZWgou51U6OmzIhYM2VcNdtiTtI7qPNZm35Akpr0f6vtw3w1Kmn5PYo+tZVfh13WrhpS6oLqQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} hasBin: true dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@8.56.0) - '@eslint-community/regexpp': 4.9.1 + '@eslint-community/eslint-utils': 4.4.0(eslint@8.57.0) + '@eslint-community/regexpp': 4.10.1 '@eslint/eslintrc': 2.1.4 - '@eslint/js': 8.56.0 + '@eslint/js': 8.57.0 '@humanwhocodes/config-array': 0.11.14 '@humanwhocodes/module-importer': 1.0.1 '@nodelib/fs.walk': 1.2.8 @@ -15995,7 +15175,7 @@ packages: ajv: 6.12.6 chalk: 4.1.2 cross-spawn: 7.0.3 - debug: 4.3.4(supports-color@5.5.0) + debug: 4.3.5(supports-color@5.5.0) doctrine: 3.0.0 escape-string-regexp: 4.0.0 eslint-scope: 7.2.2 @@ -16007,9 +15187,9 @@ packages: file-entry-cache: 6.0.1 find-up: 5.0.0 glob-parent: 6.0.2 - globals: 13.23.0 + globals: 13.24.0 graphemer: 1.4.0 - ignore: 5.2.4 + ignore: 5.3.1 imurmurhash: 0.1.4 is-glob: 4.0.3 is-path-inside: 3.0.3 @@ -16019,19 +15199,18 @@ packages: lodash.merge: 4.6.2 minimatch: 3.1.2 natural-compare: 1.4.0 - optionator: 0.9.3 + optionator: 0.9.4 strip-ansi: 6.0.1 text-table: 0.2.0 transitivePeerDependencies: - supports-color - dev: true /espree@9.6.1: resolution: {integrity: sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dependencies: - acorn: 8.10.0 - acorn-jsx: 5.3.2(acorn@8.10.0) + acorn: 8.12.0 + acorn-jsx: 5.3.2(acorn@8.12.0) eslint-visitor-keys: 3.4.3 /esprima@4.0.1: @@ -16059,16 +15238,9 @@ packages: resolution: {integrity: sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==} engines: {node: '>=4.0'} - /estree-to-babel@3.2.1: - resolution: {integrity: sha512-YNF+mZ/Wu2FU/gvmzuWtYc8rloubL7wfXCTgouFrnjGVXPA/EeYYA7pupXWrb3Iv1cTBeSSxxJIbK23l4MRNqg==} - engines: {node: '>=8.3.0'} - dependencies: - '@babel/traverse': 7.23.9 - '@babel/types': 7.23.9 - c8: 7.14.0 - transitivePeerDependencies: - - supports-color - dev: true + /estree-util-is-identifier-name@3.0.0: + resolution: {integrity: sha512-hFtqIDZTIUZ9BXLb8y4pYGyk6+wekIivNVTcmvk8NoOh+VeRn5y6cEHzbURrWbfp1fIqdVipilzj+lfaadNZmg==} + dev: false /estree-walker@2.0.2: resolution: {integrity: sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==} @@ -16077,7 +15249,7 @@ packages: /estree-walker@3.0.3: resolution: {integrity: sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g==} dependencies: - '@types/estree': 1.0.2 + '@types/estree': 1.0.5 dev: true /esutils@2.0.3: @@ -16120,7 +15292,7 @@ packages: human-signals: 4.3.1 is-stream: 3.0.0 merge-stream: 2.0.0 - npm-run-path: 5.1.0 + npm-run-path: 5.3.0 onetime: 6.0.0 signal-exit: 3.0.7 strip-final-newline: 3.0.0 @@ -16134,7 +15306,7 @@ packages: human-signals: 5.0.0 is-stream: 3.0.0 merge-stream: 2.0.0 - npm-run-path: 5.1.0 + npm-run-path: 5.3.0 onetime: 6.0.0 signal-exit: 4.1.0 strip-final-newline: 3.0.0 @@ -16226,7 +15398,7 @@ packages: engines: {node: '>= 10.17.0'} hasBin: true dependencies: - debug: 4.3.4(supports-color@5.5.0) + debug: 4.3.5(supports-color@5.5.0) get-stream: 5.2.0 yauzl: 2.10.0 optionalDependencies: @@ -16241,19 +15413,6 @@ packages: /fast-diff@1.3.0: resolution: {integrity: sha512-VxPP4NqbUjj6MaAOafWeUn2cXWLcCtljklUtZf0Ind4XQ+QPtmA0b18zZy0jIQx+ExRVCR/ZQpBmik5lXshNsw==} - /fast-fifo@1.3.2: - resolution: {integrity: sha512-/d9sfos4yxzpwkDkuN7k2SqFKtYNmCTzgfEpz82x34IM9/zc8KGxQoXg1liNC/izpRM/MBdt44Nmx41ZWqk+FQ==} - - /fast-glob@3.3.1: - resolution: {integrity: sha512-kNFPyjhh5cKjrUltxs+wFx+ZkbRaxxmZ+X0ZU31SOsxCEtP9VPgtq2teZw1DebupL5GmDaNQ6yKMMVcM41iqDg==} - engines: {node: '>=8.6.0'} - dependencies: - '@nodelib/fs.stat': 2.0.5 - '@nodelib/fs.walk': 1.2.8 - glob-parent: 5.1.2 - merge2: 1.4.1 - micromatch: 4.0.5 - /fast-glob@3.3.2: resolution: {integrity: sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==} engines: {node: '>=8.6.0'} @@ -16262,7 +15421,7 @@ packages: '@nodelib/fs.walk': 1.2.8 glob-parent: 5.1.2 merge2: 1.4.1 - micromatch: 4.0.5 + micromatch: 4.0.7 /fast-json-patch@3.1.1: resolution: {integrity: sha512-vf6IHUX2SBcA+5/+4883dsIjpBTqmfBjmYiWK1savxQmFk4JfBMLa7ynTYOs1Rolp/T1betJxHiGD3g1Mn8lUQ==} @@ -16296,12 +15455,19 @@ packages: strnum: 1.0.5 dev: false + /fast-xml-parser@4.4.0: + resolution: {integrity: sha512-kLY3jFlwIYwBNDojclKsNAC12sfD6NwW74QB2CoNGPvtVxjliYehVunB3HYyNi+n4Tt1dAcgwYvmKF/Z18flqg==} + hasBin: true + dependencies: + strnum: 1.0.5 + dev: false + /fastest-stable-stringify@2.0.2: resolution: {integrity: sha512-bijHueCGd0LqqNK9b5oCMHc0MluJAx0cwqASgbWMvkO01lCYgIhacVRLcaDz3QnyYIRNJRDwMb41VuT6pHJ91Q==} dev: false - /fastq@1.15.0: - resolution: {integrity: sha512-wBrocU2LCXXa+lWBt8RoIRD89Fi8OdABODa/kEnyeyjS5aZO5/GNvI5sEINADqP/h8M29UHTHUb53sUu5Ihqdw==} + /fastq@1.17.1: + resolution: {integrity: sha512-sRVD3lWVIXWg6By68ZN7vho9a1pQcN/WBFaAAsDDFzlJjvoGx0P8z7V1t72grFJfJhu3YPZBuu25f7Kaw2jN1w==} dependencies: reusify: 1.0.4 @@ -16328,7 +15494,7 @@ packages: engines: {node: ^12.20 || >= 14.13} dependencies: node-domexception: 1.0.0 - web-streams-polyfill: 3.2.1 + web-streams-polyfill: 3.3.3 dev: true /fetch-retry@5.0.6: @@ -16339,8 +15505,8 @@ packages: resolution: {integrity: sha512-5u2V/CDW15QM1XbbgS+0DfPxVB+jUKhWEKuuFuHncbk3tEEqzmoXL+2KyOFuKGqOnmdIy0/davWF1CkuwtibCw==} dev: false - /fflate@0.8.1: - resolution: {integrity: sha512-/exOvEuc+/iaUm105QIiOt4LpBdMTWsXxqR0HDF35vx3fmaKzw7354gTilCh5rkzEt8WYyG//ku3h3nRmd7CHQ==} + /fflate@0.8.2: + resolution: {integrity: sha512-cPJU47OaAoCbg0pBvzsgpTPhmhqI5eJjh/JIu8tPj5q+T7iLvW/JAYUqmE7KOB4R1ZyEhzBaIQpQpardBF5z8A==} dev: true /figures@3.2.0: @@ -16353,7 +15519,7 @@ packages: resolution: {integrity: sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==} engines: {node: ^10.12.0 || >=12.0.0} dependencies: - flat-cache: 3.1.1 + flat-cache: 3.2.0 /file-system-cache@2.3.0: resolution: {integrity: sha512-l4DMNdsIPsVnKrgEXbJwDJsA5mB8rGwHYERMgqQx/xAUtChPJMre1bXBzDEqqVbWv9AIbFezXMxeEkZDSrXUOQ==} @@ -16368,8 +15534,8 @@ packages: minimatch: 5.1.6 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 @@ -16434,24 +15600,19 @@ packages: locate-path: 6.0.0 path-exists: 4.0.0 - /flat-cache@3.1.1: - resolution: {integrity: sha512-/qM2b3LUIaIgviBQovTLvijfyOQXPtSRnRK26ksj2J7rzPIecePUIpJsZ4T02Qg+xiAEKIs5K8dsHEd+VaKa/Q==} - engines: {node: '>=12.0.0'} + /flat-cache@3.2.0: + resolution: {integrity: sha512-CYcENa+FtcUKLmhhqyctpclsq7QF38pKjZHsGNiSQF5r4FtoKDWabFDl3hzaEQMvT1LHEysw5twgLvpYYb4vbw==} + engines: {node: ^10.12.0 || >=12.0.0} dependencies: - flatted: 3.2.9 + flatted: 3.3.1 keyv: 4.5.4 rimraf: 3.0.2 - /flat@5.0.2: - resolution: {integrity: sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ==} - hasBin: true - dev: false + /flatted@3.3.1: + resolution: {integrity: sha512-X8cqMLLie7KsNUDSdzeN8FYK9rEt4Dt67OsG/DNGnYTSDBG4uFAJFBnUeiV+zCVAvwFy56IjM9sH51jVaEhNxw==} - /flatted@3.2.9: - resolution: {integrity: sha512-36yxDn5H7OFZQla0/jFJmbIKTdZAQHngCedGxiMmpNfEZM0sdEeT+WczLQrjK6D7o2aiyLYDnkw0R3JK0Qv1RQ==} - - /flow-parser@0.218.0: - resolution: {integrity: sha512-mk4e7UK4P/W3tjrJyto6oxPuCjwvRMyzBh72hTl8T0dOcTzkP0M2JJHpncgyhKphMFi9pnjwHfc8e0oe4Uk3LA==} + /flow-parser@0.238.0: + resolution: {integrity: sha512-VE7XSv1epljsIN2YeBnxCmGJihpNIAnLLu/pPOdA+Gkso7qDltJwUi6vfHjgxdBbjSdAuPGnhuOHJUQG+yYwIg==} engines: {node: '>=0.4.0'} dev: true @@ -16461,19 +15622,10 @@ packages: dev: false optional: true - /follow-redirects@1.15.4: - resolution: {integrity: sha512-Cr4D/5wlrb0z9dgERpUL3LrmPKVDsETIJhaCMeDfuFYcqa5bldGV6wBsAN6X/vxlXQtFBMrXdXxdL8CbDTGniw==} - engines: {node: '>=4.0'} - peerDependencies: - debug: '*' - peerDependenciesMeta: - debug: - optional: true - dev: true - - /follow-redirects@1.15.5: - resolution: {integrity: sha512-vSFWUON1B+yAw1VN4xMfxgn5fTUiaOzAJCKBwIIgT/+7CuGy9+r+5gITvP62j3RmaD5Ph65UaERdOSRGUzZtgw==} + /follow-redirects@1.15.6: + resolution: {integrity: sha512-wWN62YITEaOpSK584EZXJafH1AGpO8RVgElfkuXbTOrPX4fIfOyEpW/CsiNd8JdYrAoOvafRTOEnvsO++qCqFA==} engines: {node: '>=4.0'} + requiresBuild: true peerDependencies: debug: '*' peerDependenciesMeta: @@ -16485,16 +15637,8 @@ packages: dependencies: is-callable: 1.2.7 - /foreground-child@2.0.0: - resolution: {integrity: sha512-dCIq9FpEcyQyXKCkyzmlPTFNgrCzPudOe+mhvJU5zAtlBnGVy2yKxtfsxK2tQBThwq225jcvBjpw1Gr40uzZCA==} - engines: {node: '>=8.0.0'} - dependencies: - cross-spawn: 7.0.3 - signal-exit: 3.0.7 - dev: true - - /foreground-child@3.1.1: - resolution: {integrity: sha512-TMKDUnIte6bfb5nWv7V/caI169OHgvwjb7V4WkeUvbQQdjr5rWKqHFiKWb/fcOwB+CzBT+qbWjvj+DVwRskpIg==} + /foreground-child@3.2.1: + resolution: {integrity: sha512-PXUUyLqrR2XCWICfv6ukppP96sdFwWbNEnfEMt7jNsISjMsvaLNinAHNDYyvkyU+SZG2BTSbT5NjG+vZslfGTA==} engines: {node: '>=14'} dependencies: cross-spawn: 7.0.3 @@ -16528,12 +15672,12 @@ packages: resolution: {integrity: sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==} engines: {node: '>= 0.6'} - /fraction.js@4.3.6: - resolution: {integrity: sha512-n2aZ9tNfYDwaHhvFTkhFErqOMIb8uyzSQ+vGJBjZyanAKZVbGUQ1sngfk9FdkBw7G26O7AgNjLcecLffD1c7eg==} + /fraction.js@4.3.7: + resolution: {integrity: sha512-ZsDfxO51wGAXREY55a7la9LScWpwv9RxIrYABrlvOFBlH/ShPnrtsXeuUIfXKKOVicNxQ+o8JTbJvjS4M89yew==} dev: true - /framer-motion@10.16.4(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-p9V9nGomS3m6/CALXqv6nFGMuFOxbWsmaOrdmhyQimMIlLl3LC7h7l86wge/Js/8cRu5ktutS/zlzgR7eBOtFA==} + /framer-motion@10.18.0(react-dom@18.3.1)(react@18.3.1): + resolution: {integrity: sha512-oGlDh1Q1XqYPksuTD/usb0I70hq95OUzmL9+6Zd+Hs4XV0oaISBa/UUMSjYiq6m8EUF32132mOJ8xVZS+I0S6w==} peerDependencies: react: ^18.0.0 react-dom: ^18.0.0 @@ -16543,9 +15687,9 @@ packages: react-dom: optional: true dependencies: - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) - tslib: 2.6.2 + react: 18.3.1 + react-dom: 18.3.1(react@18.3.1) + tslib: 2.6.3 optionalDependencies: '@emotion/is-prop-valid': 0.8.8 dev: false @@ -16565,7 +15709,7 @@ packages: dependencies: graceful-fs: 4.2.11 jsonfile: 6.1.0 - universalify: 2.0.0 + universalify: 2.0.1 /fs-extra@11.1.1: resolution: {integrity: sha512-MGIE4HOvQCeUCzmlHs0vXpih4ysz4wg9qiSAu6cd42lVwPbTM1TjV7RusoyQqMmk/95gdQZX72u+YW+c3eEpFQ==} @@ -16573,7 +15717,8 @@ packages: dependencies: graceful-fs: 4.2.11 jsonfile: 6.1.0 - universalify: 2.0.0 + universalify: 2.0.1 + dev: true /fs-extra@11.2.0: resolution: {integrity: sha512-PmDi3uwK5nFuXh7XDTlVnS17xJS7vW36is2+w3xcv8SVxiB4NyATf4ctkVY5bkSjX0Y4nbvZCq1/EjtEyr9ktw==} @@ -16581,8 +15726,7 @@ packages: dependencies: graceful-fs: 4.2.11 jsonfile: 6.1.0 - universalify: 2.0.0 - dev: true + universalify: 2.0.1 /fs-extra@8.1.0: resolution: {integrity: sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==} @@ -16600,7 +15744,7 @@ packages: at-least-node: 1.0.0 graceful-fs: 4.2.11 jsonfile: 6.1.0 - universalify: 2.0.0 + universalify: 2.0.1 dev: true /fs-minipass@2.1.0: @@ -16613,11 +15757,11 @@ packages: resolution: {integrity: sha512-XUBA9XClHbnJWSfBzjkm6RvPsyg3sryZt06BEQoXcF7EK/xpGaQYJgQKDJSUH5SGZ76Y7pFx1QBnXz09rU5Fbw==} engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} dependencies: - minipass: 7.0.4 + minipass: 7.1.2 dev: false - /fs-monkey@1.0.5: - resolution: {integrity: sha512-8uMbBjrhzW76TYgEV27Y5E//W2f/lTFmx78P2w19FZSxarhI/798APGQyuGCwmkNxgwGRhrLfvWyLBvNtuOmew==} + /fs-monkey@1.0.6: + resolution: {integrity: sha512-b1FMfwetIKymC0eioW7mTywihSQE4oLzQn1dB6rZB5fx/3NpNEdAWeCSMB+60/AeT0TCXsxzAlcYVEFCTAksWg==} dev: false /fs.realpath@1.0.0: @@ -16638,9 +15782,6 @@ packages: requiresBuild: true optional: true - /function-bind@1.1.1: - resolution: {integrity: sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==} - /function-bind@1.1.2: resolution: {integrity: sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==} @@ -16648,42 +15789,14 @@ packages: resolution: {integrity: sha512-Z5kx79swU5P27WEayXM1tBi5Ze/lbIyiNgU3qyXUOf9b2rgXYyF9Dy9Cx+IQv/Lc8WCG6L82zwUPpSS9hGehIg==} engines: {node: '>= 0.4'} dependencies: - call-bind: 1.0.5 + call-bind: 1.0.7 define-properties: 1.2.1 - es-abstract: 1.22.2 + es-abstract: 1.23.3 functions-have-names: 1.2.3 /functions-have-names@1.2.3: resolution: {integrity: sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==} - /gauge@4.0.4: - resolution: {integrity: sha512-f9m+BEN5jkg6a0fZjleidjN51VE1X+mPFQ2DJ0uv1V39oCLCbsGe6yjbBnp7eK7z/+GAon99a3nHuqbuuthyPg==} - engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0} - dependencies: - aproba: 2.0.0 - color-support: 1.1.3 - console-control-strings: 1.1.0 - has-unicode: 2.0.1 - signal-exit: 3.0.7 - string-width: 4.2.3 - strip-ansi: 6.0.1 - wide-align: 1.1.5 - dev: false - - /gauge@5.0.1: - resolution: {integrity: sha512-CmykPMJGuNan/3S4kZOpvvPYSNqSHANiWnh9XcMU2pSjtBfF0XzZ2p1bFAxTbnFxyBuPxQYHhzwaoOmUdqzvxQ==} - engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} - dependencies: - aproba: 2.0.0 - color-support: 1.1.3 - console-control-strings: 1.1.0 - has-unicode: 2.0.1 - signal-exit: 4.1.0 - string-width: 4.2.3 - strip-ansi: 6.0.1 - wide-align: 1.1.5 - dev: false - /gaxios@5.1.3: resolution: {integrity: sha512-95hVgBRgEIRQQQHIbnxBXeHbW4TqFk4ZDJW7wmVtvYar72FdhRIo1UGOLS2eRAKCPEdPBWu+M7+A33D9CdX9rA==} engines: {node: '>=12'} @@ -16697,14 +15810,15 @@ packages: - supports-color dev: false - /gaxios@6.1.1: - resolution: {integrity: sha512-bw8smrX+XlAoo9o1JAksBwX+hi/RG15J+NTSxmNPIclKC3ZVK6C2afwY8OSdRvOK0+ZLecUJYtj2MmjOt3Dm0w==} + /gaxios@6.6.0: + resolution: {integrity: sha512-bpOZVQV5gthH/jVCSuYuokRo2bTKOcuBiVWpjmTn6C5Agl5zclGfTljuGsQZxwwDBkli+YhZhP4TdlqTnhOezQ==} engines: {node: '>=14'} dependencies: extend: 3.0.2 - https-proxy-agent: 7.0.2 + https-proxy-agent: 7.0.4 is-stream: 2.0.1 node-fetch: 2.7.0 + uuid: 9.0.1 transitivePeerDependencies: - encoding - supports-color @@ -16721,11 +15835,11 @@ packages: - supports-color dev: false - /gcp-metadata@6.0.0: - resolution: {integrity: sha512-Ozxyi23/1Ar51wjUT2RDklK+3HxqDr8TLBNK8rBBFQ7T85iIGnXnVusauj06QyqCXRFZig8LZC+TUddWbndlpQ==} + /gcp-metadata@6.1.0: + resolution: {integrity: sha512-Jh/AIwwgaxan+7ZUUmRLCjtchyDiqh4KjBJ5tW3plBZb5iL/BPcso8A5DlzeD9qlw0duCamnNdpFjxwaT0KyKg==} engines: {node: '>=14'} dependencies: - gaxios: 6.1.1 + gaxios: 6.6.0 json-bigint: 1.0.0 transitivePeerDependencies: - encoding @@ -16750,29 +15864,23 @@ packages: resolution: {integrity: sha512-8vXOvuE167CtIc3OyItco7N/dpRtBbYOsPsXCz7X/PMnlGjYjSGuZJgM1Y7mmew7BKf9BqvLX2tnOVy1BBUsxQ==} dev: true - /get-intrinsic@1.2.1: - resolution: {integrity: sha512-2DcsyfABl+gVHEfCOaTrWgyt+tb6MSEGmKq+kI5HwLbIYgjgmMcV8KQ41uaKz1xxUcn9tJtgFbQUEVcEbd0FYw==} - dependencies: - function-bind: 1.1.1 - has: 1.0.4 - has-proto: 1.0.1 - has-symbols: 1.0.3 - - /get-intrinsic@1.2.2: - resolution: {integrity: sha512-0gSo4ml/0j98Y3lngkFEot/zhiCeWsbYIlZ+uZOVgzLyLaUw7wxUL+nCTP0XJvJg1AXulJRI3UJi8GsbDuxdGA==} + /get-intrinsic@1.2.4: + resolution: {integrity: sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ==} + engines: {node: '>= 0.4'} dependencies: + es-errors: 1.3.0 function-bind: 1.1.2 - has-proto: 1.0.1 + has-proto: 1.0.3 has-symbols: 1.0.3 - hasown: 2.0.0 + hasown: 2.0.2 /get-nonce@1.0.1: resolution: {integrity: sha512-FJhYRoDaiatfEkUK8HKlicmu/3SGFD51q3itKDGoSTysQJBnfOcxU5GxnhE1E6soB76MbT0MBtnKJuXyAx+96Q==} engines: {node: '>=6'} dev: true - /get-npm-tarball-url@2.0.3: - resolution: {integrity: sha512-R/PW6RqyaBQNWYaSyfrh54/qtcnOp22FHCCiRhSSZj0FP3KQWCsxxt0DzIdVTbwTqe9CtQfvl/FPD4UIPt4pqw==} + /get-npm-tarball-url@2.1.0: + resolution: {integrity: sha512-ro+DiMu5DXgRBabqXupW38h7WPZ9+Ad8UjwhvsmmN8w1sU7ab0nzAXvVZ4kqYg57OrqomRtJvepX5/xvFKNtjA==} engines: {node: '>=12.17'} /get-package-type@0.1.0: @@ -16823,37 +15931,31 @@ packages: resolution: {integrity: sha512-VaUJspBffn/LMCJVoMvSAdmscJyS1auj5Zulnn5UoYcY531UWmdwhRWkcGKnGU93m5HSXP9LP2usOryrBtQowA==} engines: {node: '>=16'} - /get-symbol-description@1.0.0: - resolution: {integrity: sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw==} + /get-symbol-description@1.0.2: + resolution: {integrity: sha512-g0QYk1dZBxGwk+Ngc+ltRH2IBp2f7zBkBMBJZCDerh6EhlhSR6+9irMCuT/09zD6qkarHUSn529sK/yL4S27mg==} engines: {node: '>= 0.4'} dependencies: - call-bind: 1.0.5 - get-intrinsic: 1.2.1 - - /get-tsconfig@4.7.2: - resolution: {integrity: sha512-wuMsz4leaj5hbGgg4IvDU0bqJagpftG5l5cXIAvo8uZrqn0NJqwtfupTN00VnkQJPcIRrxYrm1Ue24btpCha2A==} - dependencies: - resolve-pkg-maps: 1.0.0 + call-bind: 1.0.7 + es-errors: 1.3.0 + get-intrinsic: 1.2.4 /get-tsconfig@4.7.5: resolution: {integrity: sha512-ZCuZCnlqNzjb4QprAzXKdpp/gh6KTxSJuw3IBsPnV/7fV4NxC9ckB+vPTt8w7fJA0TaSD7c55BR47JD6MEDyDw==} dependencies: resolve-pkg-maps: 1.0.0 - dev: true - /giget@1.1.3: - resolution: {integrity: sha512-zHuCeqtfgqgDwvXlR84UNgnJDuUHQcNI5OqWqFxxuk2BshuKbYhJWdxBsEo4PvKqoGh23lUAIvBNpChMLv7/9Q==} + /giget@1.2.3: + resolution: {integrity: sha512-8EHPljDvs7qKykr6uw8b+lqLiUc/vUg+KVTI0uND4s63TdsZM2Xus3mflvF0DDG9SiM4RlCkFGL+7aAjRmV7KA==} hasBin: true dependencies: - colorette: 2.0.20 - defu: 6.1.2 - https-proxy-agent: 7.0.2 - mri: 1.2.0 - node-fetch-native: 1.4.0 - pathe: 1.1.1 - tar: 6.2.0 - transitivePeerDependencies: - - supports-color + citty: 0.1.6 + consola: 3.2.3 + defu: 6.1.4 + node-fetch-native: 1.6.4 + nypm: 0.3.8 + ohash: 1.1.3 + pathe: 1.1.2 + tar: 6.2.1 /git-raw-commits@2.0.11: resolution: {integrity: sha512-VnctFhw+xfj8Va1xtfEqCUD2XDrbAPSJx+hSrE5K7fGdjZruW7XV+QOrN7LF/RJyvspRiD2I0asWsxFp0ya26A==} @@ -16921,13 +16023,12 @@ packages: glob: 7.2.3 dev: true - /glob-promise@6.0.5(glob@8.1.0): - resolution: {integrity: sha512-uUzvxo60yo/vMLXZHCNAlfdM5U5A07jCnUO8xTK44Z0Vc58poGDXhDx8ju1DmPdprOORh+4Lpog64hl+AJ5piA==} + /glob-promise@6.0.7(glob@8.1.0): + resolution: {integrity: sha512-DEAe6br1w8ZF+y6KM2pzgdfhpreladtNvyNNVgSkxxkFWzXTJFXxQrJQQbAnc7kL0EUd7w5cR8u4K0P4+/q+Gw==} engines: {node: '>=16'} peerDependencies: glob: ^8.0.3 dependencies: - '@types/glob': 8.1.0 glob: 8.1.0 dev: false @@ -16935,41 +16036,33 @@ packages: resolution: {integrity: sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw==} dev: true - /glob@10.3.10: - resolution: {integrity: sha512-fa46+tv1Ak0UPK1TOy/pZrIybNNt4HCv7SDzwyfiOZkvZLEbjsZkJBPtDHVshZjbecAoAGSC20MjLDG/qr679g==} - engines: {node: '>=16 || 14 >=14.17'} - hasBin: true - dependencies: - foreground-child: 3.1.1 - jackspeak: 2.3.6 - minimatch: 9.0.3 - minipass: 7.0.4 - path-scurry: 1.10.1 - /glob@10.3.12: resolution: {integrity: sha512-TCNv8vJ+xz4QiqTpfOJA7HvYv+tNIRHKfUWw/q+v2jdgN4ebz+KY9tGx5J4rHP0o84mNP+ApH66HRX8us3Khqg==} engines: {node: '>=16 || 14 >=14.17'} hasBin: true dependencies: - foreground-child: 3.1.1 + foreground-child: 3.2.1 jackspeak: 2.3.6 minimatch: 9.0.4 - minipass: 7.0.4 - path-scurry: 1.10.2 + minipass: 7.1.2 + path-scurry: 1.11.1 + dev: true - /glob@7.1.6: - resolution: {integrity: sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==} + /glob@10.4.2: + resolution: {integrity: sha512-GwMlUF6PkPo3Gk21UxkCohOv0PLcIXVtKyLlpEI28R/cO/4eNOdmLk3CMW1wROV/WR/EsZOWAfBbBOqYvs88/w==} + engines: {node: '>=16 || 14 >=14.18'} + hasBin: true dependencies: - fs.realpath: 1.0.0 - inflight: 1.0.6 - inherits: 2.0.4 - minimatch: 3.1.2 - once: 1.4.0 - path-is-absolute: 1.0.1 - dev: true + foreground-child: 3.2.1 + jackspeak: 3.4.0 + minimatch: 9.0.4 + minipass: 7.1.2 + package-json-from-dist: 1.0.0 + path-scurry: 1.11.1 /glob@7.2.3: resolution: {integrity: sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==} + deprecated: Glob versions prior to v9 are no longer supported dependencies: fs.realpath: 1.0.0 inflight: 1.0.6 @@ -16981,6 +16074,7 @@ packages: /glob@8.1.0: resolution: {integrity: sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==} engines: {node: '>=12'} + deprecated: Glob versions prior to v9 are no longer supported dependencies: fs.realpath: 1.0.0 inflight: 1.0.6 @@ -16993,17 +16087,18 @@ packages: engines: {node: '>=4'} dev: true - /globals@13.23.0: - resolution: {integrity: sha512-XAmF0RjlrjY23MA51q3HltdlGxUpXPvg0GioKiD9X6HD28iMjo2dKC8Vqwm7lne4GNr78+RHTfliktR6ZH09wA==} + /globals@13.24.0: + resolution: {integrity: sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ==} engines: {node: '>=8'} dependencies: type-fest: 0.20.2 - /globalthis@1.0.3: - resolution: {integrity: sha512-sFdI5LyBiNTHjRd7cGPWapiHWMOXKyuBNX/cWJ3NfzrZQVa8GI/8cofCl74AOVqq9W5kNmguTIzJ/1s2gyI9wA==} + /globalthis@1.0.4: + resolution: {integrity: sha512-DpLKbNU4WylpxJykQujfCcwYWiV/Jhm50Goo0wrVILAv5jOr9d+H+UR3PhSCD2rCCEIg0uc+G+muBTwD54JhDQ==} engines: {node: '>= 0.4'} dependencies: define-properties: 1.2.1 + gopd: 1.0.1 /globby@11.1.0: resolution: {integrity: sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==} @@ -17012,7 +16107,7 @@ packages: array-union: 2.1.0 dir-glob: 3.0.1 fast-glob: 3.3.2 - ignore: 5.2.4 + ignore: 5.3.1 merge2: 1.4.1 slash: 3.0.0 @@ -17034,36 +16129,37 @@ packages: - supports-color dev: false - /google-auth-library@9.2.0: - resolution: {integrity: sha512-1oV3p0JhNEhVbj26eF3FAJcv9MXXQt4S0wcvKZaDbl4oHq5V3UJoSbsGZGQNcjoCdhW4kDSwOs11wLlHog3fgQ==} + /google-auth-library@9.11.0: + resolution: {integrity: sha512-epX3ww/mNnhl6tL45EQ/oixsY8JLEgUFoT4A5E/5iAR4esld9Kqv6IJGk7EmGuOgDvaarwF95hU2+v7Irql9lw==} engines: {node: '>=14'} dependencies: base64-js: 1.5.1 ecdsa-sig-formatter: 1.0.11 - gaxios: 6.1.1 - gcp-metadata: 6.0.0 - gtoken: 7.0.1 + gaxios: 6.6.0 + gcp-metadata: 6.1.0 + gtoken: 7.1.0 jws: 4.0.0 transitivePeerDependencies: - encoding - supports-color dev: false - /google-gax@4.0.5: - resolution: {integrity: sha512-yLoYtp4zE+8OQA74oBEbNkbzI6c95W01JSL7RqC8XERKpRvj3ytZp1dgnbA6G9aRsc8pZB25xWYBcCmrbYOEhA==} + /google-gax@4.3.7: + resolution: {integrity: sha512-3bnD8RASQyaxOYTdWLgwpQco/aytTxFavoI/UN5QN5txDLp8QRrBHNtCUJ5+Ago+551GD92jG8jJduwvmaneUw==} engines: {node: '>=14'} dependencies: - '@grpc/grpc-js': 1.9.9 - '@grpc/proto-loader': 0.7.10 + '@grpc/grpc-js': 1.10.9 + '@grpc/proto-loader': 0.7.13 '@types/long': 4.0.2 abort-controller: 3.0.0 - duplexify: 4.1.2 - google-auth-library: 9.2.0 + duplexify: 4.1.3 + google-auth-library: 9.11.0 node-fetch: 2.7.0 object-hash: 3.0.0 - proto3-json-serializer: 2.0.0 - protobufjs: 7.2.5(patch_hash=plkkb5oxv62w7nyvt6cqmvgk4q) - retry-request: 7.0.1 + proto3-json-serializer: 2.0.2 + protobufjs: 7.3.2 + retry-request: 7.0.2 + uuid: 9.0.1 transitivePeerDependencies: - encoding - supports-color @@ -17080,7 +16176,7 @@ packages: /gopd@1.0.1: resolution: {integrity: sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==} dependencies: - get-intrinsic: 1.2.1 + get-intrinsic: 1.2.4 /graceful-fs@4.2.10: resolution: {integrity: sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==} @@ -17106,20 +16202,20 @@ packages: obliterator: 2.0.4 dev: true - /graphql-tag@2.12.6(graphql@16.8.1): + /graphql-tag@2.12.6(graphql@16.9.0): resolution: {integrity: sha512-FdSNcu2QQcWnM2VNvSCCDCVS5PpPqpzgFT8+GXzqJuoDd0CBncxCY278u4mhRO7tMgo2JjgJA5aZ+nWSQ/Z+xg==} engines: {node: '>=10'} requiresBuild: true peerDependencies: graphql: ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 dependencies: - graphql: 16.8.1 - tslib: 2.6.2 + graphql: 16.9.0 + tslib: 2.6.3 dev: false optional: true - /graphql@16.8.1: - resolution: {integrity: sha512-59LZHPdGZVh695Ud9lRzPBVTtlX9ZCV150Er2W43ro37wVof0ctenSaskPPjN7lVTIN8mSZt8PHUNKZuNQUuxw==} + /graphql@16.9.0: + resolution: {integrity: sha512-GGTKBX4SD7Wdb8mqeDLni2oaRGYQWjWHGKPQ24ZMnUtKfcsVoiv4uX8+LJr1K6U5VW2Lu1BwJnj7uiori0YtRw==} engines: {node: ^12.22.0 || ^14.16.0 || ^16.0.0 || >=17.0.0} requiresBuild: true dev: false @@ -17137,11 +16233,11 @@ packages: - supports-color dev: false - /gtoken@7.0.1: - resolution: {integrity: sha512-KcFVtoP1CVFtQu0aSk3AyAt2og66PFhZAlkUOuWKwzMLoulHXG5W5wE5xAnHb+yl3/wEFoqGW7/cDGMU8igDZQ==} + /gtoken@7.1.0: + resolution: {integrity: sha512-pCcEwRi+TKpMlxAQObHDQ56KawURgyAf6jtIY046fJ5tIv3zDe/LEIubckAO8fj6JnAxLdmWkUfNyulQ2iKdEw==} engines: {node: '>=14.0.0'} dependencies: - gaxios: 6.1.1 + gaxios: 6.6.0 jws: 4.0.0 transitivePeerDependencies: - encoding @@ -17170,7 +16266,7 @@ packages: source-map: 0.6.1 wordwrap: 1.0.0 optionalDependencies: - uglify-js: 3.17.4 + uglify-js: 3.18.0 dev: true /happy-dom@9.20.3: @@ -17204,68 +16300,57 @@ packages: resolution: {integrity: sha512-Pq0h+hvsVm6dDEa8x82GnLSYHOzNDt7f0ddFa3FqcQlgzEiptPqL+XrOJNavjOzSYiYWIrgeVYYgGlLmnxwilQ==} engines: {node: '>=8'} - /has-property-descriptors@1.0.0: - resolution: {integrity: sha512-62DVLZGoiEBDHQyqG4w9xCuZ7eJEwNmJRWw2VY84Oedb7WFcA27fiEVe8oUQx9hAUJ4ekurquucTGwsyO1XGdQ==} - dependencies: - get-intrinsic: 1.2.1 - - /has-property-descriptors@1.0.1: - resolution: {integrity: sha512-VsX8eaIewvas0xnvinAe9bw4WfIeODpGYikiWYLH+dma0Jw6KHYqWiWfhQlgOVK8D6PvjubK5Uc4P0iIhIcNVg==} + /has-property-descriptors@1.0.2: + resolution: {integrity: sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==} dependencies: - get-intrinsic: 1.2.2 + es-define-property: 1.0.0 - /has-proto@1.0.1: - resolution: {integrity: sha512-7qE+iP+O+bgF9clE5+UoBFzE65mlBiVj3tKCrlNQ0Ogwm0BjpT/gK4SlLYDMybDh5I3TCTKnPPa0oMG7JDYrhg==} + /has-proto@1.0.3: + resolution: {integrity: sha512-SJ1amZAJUiZS+PhsVLf5tGydlaVB8EdFpaSO4gmiUKUOxk8qzn5AIy4ZeJUmh22znIdk/uMAUT2pl3FxzVUH+Q==} engines: {node: '>= 0.4'} /has-symbols@1.0.3: resolution: {integrity: sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==} engines: {node: '>= 0.4'} - /has-tostringtag@1.0.0: - resolution: {integrity: sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==} + /has-tostringtag@1.0.2: + resolution: {integrity: sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==} engines: {node: '>= 0.4'} dependencies: has-symbols: 1.0.3 - /has-unicode@2.0.1: - resolution: {integrity: sha512-8Rf9Y83NBReMnx0gFzA8JImQACstCYWUplepDa9xprwwtmgEZUF0h/i5xSA625zB/I37EtrswSST6OXxwaaIJQ==} - dev: false - - /has@1.0.4: - resolution: {integrity: sha512-qdSAmqLF6209RFj4VVItywPMbm3vWylknmB3nvNiUIs72xAimcM8nVYxYr7ncvZq5qzk9MKIZR8ijqD/1QuYjQ==} - engines: {node: '>= 0.4.0'} - - /hasown@2.0.0: - resolution: {integrity: sha512-vUptKVTpIJhcczKBbgnS+RtcuYMB8+oNzPK2/Hp3hanz8JmpATdmmgLgSaadVREkDm+e2giHwY3ZRkyjSIDDFA==} - engines: {node: '>= 0.4'} - dependencies: - function-bind: 1.1.2 - /hasown@2.0.2: resolution: {integrity: sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==} engines: {node: '>= 0.4'} dependencies: function-bind: 1.1.2 - /hast-util-to-jsx-runtime@2.2.0: - resolution: {integrity: sha512-wSlp23N45CMjDg/BPW8zvhEi3R+8eRE1qFbjEyAUzMCzu2l1Wzwakq+Tlia9nkCtEl5mDxa7nKHsvYJ6Gfn21A==} + /hast-util-to-jsx-runtime@2.3.0: + resolution: {integrity: sha512-H/y0+IWPdsLLS738P8tDnrQ8Z+dj12zQQ6WC11TIM21C8WFVoIxcqWXf2H3hiTVZjF1AWqoimGwrTWecWrnmRQ==} dependencies: - '@types/hast': 3.0.3 + '@types/estree': 1.0.5 + '@types/hast': 3.0.4 '@types/unist': 3.0.2 comma-separated-tokens: 2.0.3 + devlop: 1.1.0 + estree-util-is-identifier-name: 3.0.0 hast-util-whitespace: 3.0.0 - property-information: 6.4.0 + mdast-util-mdx-expression: 2.0.0 + mdast-util-mdx-jsx: 3.1.2 + mdast-util-mdxjs-esm: 2.0.1 + property-information: 6.5.0 space-separated-tokens: 2.0.2 - style-to-object: 0.4.4 + style-to-object: 1.0.6 unist-util-position: 5.0.0 vfile-message: 4.0.2 + transitivePeerDependencies: + - supports-color dev: false /hast-util-whitespace@3.0.0: resolution: {integrity: sha512-88JUN06ipLwsnv+dVn+OIYOvAuvBMy/Qoi6O7mQHxdPXpjy+Cd6xRkWwux7DKO+4sYILtLBRIKgsdpS2gQc7qw==} dependencies: - '@types/hast': 3.0.3 + '@types/hast': 3.0.4 dev: false /hosted-git-info@2.8.9: @@ -17284,11 +16369,11 @@ packages: lru-cache: 7.18.3 dev: false - /hosted-git-info@7.0.1: - resolution: {integrity: sha512-+K84LB1DYwMHoHSgaOY/Jfhw3ucPmSET5v98Ke/HdNSw4a0UktWzyW1mjhjpuxxTqOOsfWT/7iVshHmVZ4IpOA==} + /hosted-git-info@7.0.2: + resolution: {integrity: sha512-puUZAUKT5m8Zzvs72XWy3HtvVbTWljRE66cP60bxJzAqf2DgICo7lYTY2IHUmLnNpjYvw5bvmoHvPc0QO2a62w==} engines: {node: ^16.14.0 || >=18.0.0} dependencies: - lru-cache: 10.0.1 + lru-cache: 10.2.2 dev: false /html-escaper@2.0.2: @@ -17333,27 +16418,26 @@ packages: dependencies: '@tootallnate/once': 2.0.0 agent-base: 6.0.2 - debug: 4.3.4(supports-color@5.5.0) + debug: 4.3.5(supports-color@5.5.0) transitivePeerDependencies: - supports-color dev: false - /http-proxy-agent@7.0.0: - resolution: {integrity: sha512-+ZT+iBxVUQ1asugqnD6oWoRiS25AkjNfG085dKJGtGxkdwLQrMKU5wJr2bOOFAXzKcTuqq+7fZlTMgG3SRfIYQ==} + /http-proxy-agent@7.0.2: + resolution: {integrity: sha512-T1gkAiYYDWYx3V5Bmyu7HcfcvL7mUrTWiM6yOfa3PIphViJ/gFPbvidQ+veqSOHci/PxBcDabeUNCzpOODJZig==} engines: {node: '>= 14'} dependencies: - agent-base: 7.1.0 - debug: 4.3.4(supports-color@5.5.0) + agent-base: 7.1.1 + debug: 4.3.5(supports-color@5.5.0) transitivePeerDependencies: - supports-color - dev: false /https-proxy-agent@4.0.0: resolution: {integrity: sha512-zoDhWrkR3of1l9QAL8/scJZyLu8j/gBkcwcaQOZh7Gyh/+uJQzGVETdgT30akuwkpL8HTRfssqI3BZuV18teDg==} engines: {node: '>= 6.0.0'} dependencies: agent-base: 5.1.1 - debug: 4.3.4(supports-color@5.5.0) + debug: 4.3.5(supports-color@5.5.0) transitivePeerDependencies: - supports-color dev: true @@ -17363,16 +16447,16 @@ packages: engines: {node: '>= 6'} dependencies: agent-base: 6.0.2 - debug: 4.3.4(supports-color@5.5.0) + debug: 4.3.5(supports-color@5.5.0) transitivePeerDependencies: - supports-color - /https-proxy-agent@7.0.2: - resolution: {integrity: sha512-NmLNjm6ucYwtcUmL7JQC1ZQ57LmHP4lT15FQ8D61nak1rO6DH+fz5qNK2Ap5UN4ZapYICE3/0KodcLYSPsPbaA==} + /https-proxy-agent@7.0.4: + resolution: {integrity: sha512-wlwpilI7YdjSkWaQ/7omYBMTliDcmCN8OLihO6I9B86g06lMyAoqgoDpV0XqoaPOKj+0DIdAvnsWfyAAhmimcg==} engines: {node: '>= 14'} dependencies: - agent-base: 7.1.0 - debug: 4.3.4(supports-color@5.5.0) + agent-base: 7.1.1 + debug: 4.3.5(supports-color@5.5.0) transitivePeerDependencies: - supports-color @@ -17388,14 +16472,8 @@ packages: resolution: {integrity: sha512-AXcZb6vzzrFAUE61HnN4mpLqd/cSIwNQjtNWR0euPm6y0iqx3G4gOXaIDdtdDwZmhwe82LA6+zinmW4UBWVePQ==} engines: {node: '>=16.17.0'} - /humanize-ms@1.2.1: - resolution: {integrity: sha512-Fl70vYtsAFb/C06PTS9dZBo7ihau+Tu/DNCk/OyHhea07S+aeMWpFFkUaXRa8fI+ScZbEI8dfSxwY7gxZ9SAVQ==} - dependencies: - ms: 2.1.3 - dev: false - - /hyphenate-style-name@1.0.4: - resolution: {integrity: sha512-ygGZLjmXfPHj+ZWh6LwbC37l43MhfztxetbFCoYTM2VjkIUpeHgSNn7QIyVFj7YQ1Wl9Cbw5sholVJPzWvC2MQ==} + /hyphenate-style-name@1.1.0: + resolution: {integrity: sha512-WDC/ui2VVRrz3jOVi+XtjqkDjiVjTtFaAGiW37k6b+ohyQ5wYDOGkvCZa8+H0nx3gyvv0+BST9xuOgIyGQ00gw==} dev: false /iconv-lite@0.4.24: @@ -17418,15 +16496,15 @@ packages: resolution: {integrity: sha512-Ius2VYcGNk7T90CppJqcIkS5ooHUZyIQK+ClZfMfMNFEF9VSE73Fq+906u/CWu92x4gzZMWOwfFYckPObzdEbA==} dev: true - /ignore-walk@6.0.3: - resolution: {integrity: sha512-C7FfFoTA+bI10qfeydT8aZbvr91vAEU+2W5BZUlzPec47oNb07SsOfwYrtxuvOYdUApPP/Qlh4DtAO51Ekk2QA==} + /ignore-walk@6.0.5: + resolution: {integrity: sha512-VuuG0wCnjhnylG1ABXT3dAuIpTNDs/G8jlpmwXY03fXoXy/8ZK8/T+hMzt8L4WnrLCJgdybqgPagnF/f97cg3A==} engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} dependencies: - minimatch: 9.0.3 + minimatch: 9.0.4 dev: false - /ignore@5.2.4: - resolution: {integrity: sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==} + /ignore@5.3.1: + resolution: {integrity: sha512-5Fytz/IraMjqpwfd34ke28PTVMjZjJG2MPn5t7OE4eUCUNf8BAa7b5WUS9/Qvr6mwOQS7Mk6vdsMno5he+T8Xw==} engines: {node: '>= 4'} /immediate@3.0.6: @@ -17454,6 +16532,7 @@ packages: /inflight@1.0.6: resolution: {integrity: sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==} + deprecated: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful. dependencies: once: 1.4.0 wrappy: 1.0.2 @@ -17473,20 +16552,6 @@ packages: engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0} dev: false - /ink-select-input@4.2.1(ink@3.2.0)(react@17.0.2): - resolution: {integrity: sha512-WvlrYdwmdnD6/nE/9mNhaaanTQOKmwy/hT/vuAqbDec3PUQBQ8Pkwszii/8eGvDTx5bGiUHu18P9D5IoB/ERaw==} - engines: {node: '>=10'} - peerDependencies: - ink: ^3.0.5 - react: ^16.5.2 || ^17.0.0 - dependencies: - arr-rotate: 1.0.0 - figures: 3.2.0 - ink: 3.2.0(react@17.0.2) - lodash.isequal: 4.5.0 - react: 17.0.2 - dev: true - /ink-select-input@4.2.2(ink@3.2.0)(react@17.0.2): resolution: {integrity: sha512-E5AS2Vnd4CSzEa7Rm+hG47wxRQo1ASfh4msKxO7FHmn/ym+GKSSsFIfR+FonqjKNDPXYJClw8lM47RdN3Pi+nw==} engines: {node: '>=10'} @@ -17513,8 +16578,8 @@ packages: react: 17.0.2 dev: true - /ink-table@3.0.0(ink@3.2.0)(react@17.0.2): - resolution: {integrity: sha512-RtcYjenHKZWjnwVNQ6zSYWMOLKwkWscDAJsqUQXftyjkYho1gGrluGss87NOoIzss0IKr74lKasd6MtlQYALiA==} + /ink-table@3.1.0(ink@3.2.0)(react@17.0.2): + resolution: {integrity: sha512-qxVb4DIaEaJryvF9uZGydnmP9Hkmas3DCKVpEcBYC0E4eJd3qNgNe+PZKuzgCERFe9LfAS1TNWxCr9+AU4v3YA==} peerDependencies: ink: '>=3.0.0' react: '>=16.8.0' @@ -17566,7 +16631,7 @@ packages: lodash: 4.17.21 patch-console: 1.0.0 react: 17.0.2 - react-devtools-core: 4.28.4 + react-devtools-core: 4.28.5 react-reconciler: 0.26.2(react@17.0.2) scheduler: 0.20.2 signal-exit: 3.0.7 @@ -17576,15 +16641,15 @@ packages: type-fest: 0.12.0 widest-line: 3.1.0 wrap-ansi: 6.2.0 - ws: 7.5.9 + ws: 7.5.10 yoga-layout-prebuilt: 1.10.0 transitivePeerDependencies: - bufferutil - utf-8-validate dev: true - /inline-style-parser@0.1.1: - resolution: {integrity: sha512-7NXolsK4CAS5+xvdj5OMMbI962hU/wvwoxk+LWR9Ek9bVtyuuYScDN6eS0rUm6TxApFpw7CX1o4uJzcd4AyD3Q==} + /inline-style-parser@0.2.3: + resolution: {integrity: sha512-qlD8YNDqyTKTyuITrDOffsl6Tdhv+UC4hcdAVuQsK4IMQ99nSgd1MIA/Q+jQYoh9r3hVUXhYh7urSRmXPkW04g==} dev: false /inline-style-prefixer@7.0.0: @@ -17616,13 +16681,13 @@ packages: wrap-ansi: 6.2.0 dev: false - /internal-slot@1.0.5: - resolution: {integrity: sha512-Y+R5hJrzs52QCG2laLn4udYVnxsfny9CpOhNhUvk/SSSVyF6T27FzRbF0sroPidSu3X8oEAkOn2K804mjpt6UQ==} + /internal-slot@1.0.7: + resolution: {integrity: sha512-NGnrKwXzSms2qUUih/ILZ5JBqNTSa1+ZmP6flaIp6KmSElgE9qdndzS3cqjrDovwFdmwsGsLdeFgB6suw+1e9g==} engines: {node: '>= 0.4'} dependencies: - get-intrinsic: 1.2.1 - has: 1.0.4 - side-channel: 1.0.4 + es-errors: 1.3.0 + hasown: 2.0.2 + side-channel: 1.0.6 /interpret@1.4.0: resolution: {integrity: sha512-agE4QfB2Lkp9uICn7BAqoscw4SZP9kTE2hxiFI3jBPmXJfdqiahTbUuKGsMoN2GtqL9AxhYioAcVvgsb1HvRbA==} @@ -17638,13 +16703,13 @@ packages: resolution: {integrity: sha512-ikEvmeZFh9u5SkjKbFqJlmmhaQTulB3P7QoSoZ/xL8EDP5uj5QWbPeKcQ8ZJtszBLHRRnhIJJE8P1dhFx/oCMw==} dev: false - /ioredis@5.3.2: - resolution: {integrity: sha512-1DKMMzlIHM02eBBVOFQ1+AolGjs6+xEcM4PDL7NqOS6szq7H9jSaEkIUH6/a5Hl241LzW6JLSiAbNvTQjUupUA==} + /ioredis@5.4.1: + resolution: {integrity: sha512-2YZsvl7jopIa1gaePkeMtd9rAcSjOOjPtpcLlOeusyO+XH2SK5ZcT+UCrElPP+WVIInh2TzeI4XW9ENaSLVVHA==} engines: {node: '>=12.22.0'} dependencies: '@ioredis/commands': 1.2.0 cluster-key-slot: 1.1.2 - debug: 4.3.4(supports-color@5.5.0) + debug: 4.3.5(supports-color@5.5.0) denque: 2.1.0 lodash.defaults: 4.2.0 lodash.isarguments: 3.1.0 @@ -17655,8 +16720,17 @@ packages: - supports-color dev: false - /ip@2.0.0: - resolution: {integrity: sha512-WKa+XuLG1A1R0UWhl2+1XQSi+fZWMsYKffMZTTYsiZaUD8k2yDAj5atimTUD2TZkyCkNEeYE5NhFZmupOGtjYQ==} + /ip-address@9.0.5: + resolution: {integrity: sha512-zHtQzGojZXTwZTHQqra+ETKd4Sn3vgi7uBmlPoXVWZqYvuKmtI0l/VZTjqGmJY9x88GGOaZ9+G9ES8hC4T4X8g==} + engines: {node: '>= 12'} + dependencies: + jsbn: 1.1.0 + sprintf-js: 1.1.3 + dev: false + + /ip@2.0.1: + resolution: {integrity: sha512-lJUL9imLTNi1ZfXT+DU6rBBdbiKGBuay9B6xGSPVjUeQwaH1RIGqef8RZkUtHioLmSNpPR5M4HVKJGm1j8FWVQ==} + dev: true /ipaddr.js@1.9.1: resolution: {integrity: sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==} @@ -17667,20 +16741,30 @@ packages: engines: {node: '>=8'} dev: true + /is-alphabetical@2.0.1: + resolution: {integrity: sha512-FWyyY60MeTNyeSRpkM2Iry0G9hpr7/9kD40mD/cGQEuilcZYS4okz8SN2Q6rLCJ8gbCt6fN+rC+6tMGS99LaxQ==} + dev: false + + /is-alphanumerical@2.0.1: + resolution: {integrity: sha512-hmbYhX/9MUMF5uh7tOXyK/n0ZvWpad5caBA17GsC6vyuCqaWliRG5K1qS9inmUhEMaOBIW7/whAnSwveW/LtZw==} + dependencies: + is-alphabetical: 2.0.1 + is-decimal: 2.0.1 + dev: false + /is-arguments@1.1.1: resolution: {integrity: sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA==} engines: {node: '>= 0.4'} dependencies: - call-bind: 1.0.5 - has-tostringtag: 1.0.0 - dev: true + call-bind: 1.0.7 + has-tostringtag: 1.0.2 - /is-array-buffer@3.0.2: - resolution: {integrity: sha512-y+FyyR/w8vfIRq4eQcM1EYgSTnmHXPqaF+IgzgraytCFq5Xh8lllDVmAZolPJiZttZLeFSINPYMaEJ7/vWUa1w==} + /is-array-buffer@3.0.4: + resolution: {integrity: sha512-wcjaerHw0ydZwfhiKbXJWLDY8A7yV7KhjQOpb83hGgGfId/aQa4TOvwyzn2PuswW2gPCYEL/nEAiSVpdOj1lXw==} + engines: {node: '>= 0.4'} dependencies: - call-bind: 1.0.5 - get-intrinsic: 1.2.1 - is-typed-array: 1.1.12 + call-bind: 1.0.7 + get-intrinsic: 1.2.4 /is-arrayish@0.2.1: resolution: {integrity: sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==} @@ -17695,7 +16779,7 @@ packages: resolution: {integrity: sha512-Y1JXKrfykRJGdlDwdKlLpLyMIiWqWvuSd17TvZk68PLAOGOoF4Xyav1z0Xhoi+gCYjZVeC5SI+hYFOfvXmGRCA==} engines: {node: '>= 0.4'} dependencies: - has-tostringtag: 1.0.0 + has-tostringtag: 1.0.2 dev: false /is-bigint@1.0.4: @@ -17707,14 +16791,14 @@ packages: resolution: {integrity: sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==} engines: {node: '>=8'} dependencies: - binary-extensions: 2.2.0 + binary-extensions: 2.3.0 /is-boolean-object@1.1.2: resolution: {integrity: sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==} engines: {node: '>= 0.4'} dependencies: - call-bind: 1.0.5 - has-tostringtag: 1.0.0 + call-bind: 1.0.7 + has-tostringtag: 1.0.2 /is-builtin-module@3.2.1: resolution: {integrity: sha512-BSLE3HnV2syZ0FK0iMA/yUGplUeMmNz4AW5fnTunbCIqZi4vG3WjJT9FHMy5D69xmAYBHXQhJdALdpwVxV501A==} @@ -17734,21 +16818,27 @@ packages: ci-info: 2.0.0 dev: true - /is-core-module@2.13.0: - resolution: {integrity: sha512-Z7dk6Qo8pOCp3l4tsX2C5ZVas4V+UxwQodwZhLopL91TX8UyyHEXafPcyoeeWuLrwzHcr3igO78wNLwHJHsMCQ==} + /is-core-module@2.14.0: + resolution: {integrity: sha512-a5dFJih5ZLYlRtDc0dZWP7RiKr6xIKzmn/oAYCDvdLThadVgyJwlaoQPmRtMSpz+rk0OGAgIu+TcM9HUF0fk1A==} + engines: {node: '>= 0.4'} dependencies: - has: 1.0.4 + hasown: 2.0.2 - /is-core-module@2.13.1: - resolution: {integrity: sha512-hHrIjvZsftOsvKSn2TRYl63zvxsgE0K+0mYMoH6gD4omR5IWB2KynivBQczo3+wF1cCkjzvptnI9Q0sPU66ilw==} + /is-data-view@1.0.1: + resolution: {integrity: sha512-AHkaJrsUVW6wq6JS8y3JnM/GJF/9cf+k20+iDzlSaJrinEo5+7vRiteOSwBhHRiAyQATN1AmY4hwzxJKPmYf+w==} + engines: {node: '>= 0.4'} dependencies: - hasown: 2.0.2 + is-typed-array: 1.1.13 /is-date-object@1.0.5: resolution: {integrity: sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==} engines: {node: '>= 0.4'} dependencies: - has-tostringtag: 1.0.0 + has-tostringtag: 1.0.2 + + /is-decimal@2.0.1: + resolution: {integrity: sha512-AAB9hiomQs5DXWcRB1rqsxGUstbRroFOPPVAomNk/3XHR5JyEZChOyTWe2oayKnsSsr/kcGqF+z6yuH6HHpN0A==} + dev: false /is-deflate@1.0.0: resolution: {integrity: sha512-YDoFpuZWu1VRXlsnlYMzKyVRITXj7Ej/V9gXQ2/pAe7X1J7M/RNOqaIYi6qUn+B7nGyB9pDXrv02dsB58d2ZAQ==} @@ -17772,7 +16862,7 @@ packages: /is-finalizationregistry@1.0.2: resolution: {integrity: sha512-0by5vtUJs8iFQb5TYUHHPudOR+qXYIMKtiUzvLIZITZUjknFmziyBJuLhVRc+Ds0dREFlskDNJKYIdIzu/9pfw==} dependencies: - call-bind: 1.0.5 + call-bind: 1.0.7 dev: false /is-fullwidth-code-point@3.0.0: @@ -17783,7 +16873,7 @@ packages: resolution: {integrity: sha512-jsEjy9l3yiXEQ+PsXdmBwEPcOxaXWLspKdplFUVI9vq1iZgIekeC0L167qeu86czQaxed3q/Uzuw0swL0irL8A==} engines: {node: '>= 0.4'} dependencies: - has-tostringtag: 1.0.0 + has-tostringtag: 1.0.2 /is-glob@4.0.3: resolution: {integrity: sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==} @@ -17796,6 +16886,10 @@ packages: engines: {node: '>=0.10.0'} dev: true + /is-hexadecimal@2.0.1: + resolution: {integrity: sha512-DgZQp241c8oO6cA1SbTEWiXeoxV42vlcJxgH+B3hi1AiqqKruZR3ZGF8In3fj4+/y/7rHvlOZLZtgJ/4ttYGZg==} + dev: false + /is-inside-container@1.0.0: resolution: {integrity: sha512-KIYLCCJghfHZxqjYBE7rEy0OBuTd5xCHS7tHVgvCLkx7StIoaxwNW3hCALgEUjFfeRk+MG/Qxmp/vtETEF3tRA==} engines: {node: '>=14.16'} @@ -17812,26 +16906,27 @@ packages: resolution: {integrity: sha512-z7CMFGNrENq5iFB9Bqo64Xk6Y9sg+epq1myIcdHaGnbMTYOxvzsEtdYqQUylB7LxfkvgrrjP32T6Ywciio9UIQ==} dev: false - /is-map@2.0.2: - resolution: {integrity: sha512-cOZFQQozTha1f4MxLFzlgKYPTyj26picdZTx82hbc/Xf4K/tZOOXSCkMvU4pKioRXGDLJRn0GM7Upe7kR721yg==} + /is-map@2.0.3: + resolution: {integrity: sha512-1Qed0/Hr2m+YqxnM09CjA2d/i6YZNfF6R2oRAOj36eUdS6qIV/huPJNSEpKbupewFs+ZsJlxsjjPbc0/afW6Lw==} + engines: {node: '>= 0.4'} /is-nan@1.3.2: resolution: {integrity: sha512-E+zBKpQ2t6MEo1VsonYmluk9NxGrbzpeeLC2xIViuO2EjU2xsXsBPwTr3Ykv9l08UYEVEdWeRZNouaZqF6RN0w==} engines: {node: '>= 0.4'} dependencies: - call-bind: 1.0.5 + call-bind: 1.0.7 define-properties: 1.2.1 dev: true - /is-negative-zero@2.0.2: - resolution: {integrity: sha512-dqJvarLawXsFbNDeJW7zAz8ItJ9cd28YufuuFzh0G8pNHjJMnY08Dv7sYX2uF5UpQOwieAeOExEYAWWfu7ZZUA==} + /is-negative-zero@2.0.3: + resolution: {integrity: sha512-5KoIu2Ngpyek75jXodFvnafB6DJgr3u8uuK0LEZJjrU19DrMD3EVERaR8sjz8CCGgpZvxPl9SuE1GMVPFHx1mw==} engines: {node: '>= 0.4'} /is-number-object@1.0.7: resolution: {integrity: sha512-k1U0IRzLMo7ZlYIfzRu23Oh6MiIFasgpb9X76eqfFZAqwH44UI4KTBvBYIZ1dSL9ZzChTB9ShHfLkR4pdW5krQ==} engines: {node: '>= 0.4'} dependencies: - has-tostringtag: 1.0.0 + has-tostringtag: 1.0.2 /is-number@7.0.0: resolution: {integrity: sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==} @@ -17881,16 +16976,18 @@ packages: resolution: {integrity: sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==} engines: {node: '>= 0.4'} dependencies: - call-bind: 1.0.5 - has-tostringtag: 1.0.0 + call-bind: 1.0.7 + has-tostringtag: 1.0.2 - /is-set@2.0.2: - resolution: {integrity: sha512-+2cnTEZeY5z/iXGbLhPrOAaK/Mau5k5eXq9j14CpRTftq0pAJu2MwVRSZhyZWBzx3o6X795Lz6Bpb6R0GKf37g==} + /is-set@2.0.3: + resolution: {integrity: sha512-iPAjerrse27/ygGLxw+EBR9agv9Y6uLeYVJMu+QNCoouJ1/1ri0mGrcWpfCqFZuzzx3WjtwxG098X+n4OuRkPg==} + engines: {node: '>= 0.4'} - /is-shared-array-buffer@1.0.2: - resolution: {integrity: sha512-sqN2UDu1/0y6uvXyStCOzyhAjCSlHceFoMKJW8W9EU9cvic/QdsZ0kEU93HEy3IUEFZIiH/3w+AH/UQbPHNdhA==} + /is-shared-array-buffer@1.0.3: + resolution: {integrity: sha512-nA2hv5XIhLR3uVzDDfCIknerhx8XUKnstuOERPNNIinXG7v9u+ohXF67vxm4TPTEPU6lm61ZkwP3c9PCB97rhg==} + engines: {node: '>= 0.4'} dependencies: - call-bind: 1.0.5 + call-bind: 1.0.7 /is-stream-ended@0.1.4: resolution: {integrity: sha512-xj0XPvmr7bQFTvirqnFr50o0hQIh6ZItDqloxt5aJrR4NQsYeSsyFQERYGCAzfindAcnKjINnwEEgLx4IqVzQw==} @@ -17908,7 +17005,7 @@ packages: resolution: {integrity: sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==} engines: {node: '>= 0.4'} dependencies: - has-tostringtag: 1.0.0 + has-tostringtag: 1.0.2 /is-subdir@1.2.0: resolution: {integrity: sha512-2AT6j+gXe/1ueqbW6fLZJiIw3F8iXGJtt0yDrZaBhAZEG1raiTxKWU+IPqMCzQAXOUCKdA4UDMgacKH25XG2Cw==} @@ -17930,11 +17027,11 @@ packages: text-extensions: 1.9.0 dev: true - /is-typed-array@1.1.12: - resolution: {integrity: sha512-Z14TF2JNG8Lss5/HMqt0//T9JeHXttXy5pH/DBU4vi98ozO2btxzq9MwYDZYnKwU8nRsz/+GVFVRDq3DkVuSPg==} + /is-typed-array@1.1.13: + resolution: {integrity: sha512-uZ25/bUAlUY5fR4OKT4rZQEBrzQWYV9ZJYGGsUmEJ6thodVJ1HX64ePQ6Z0qPWP+m+Uq6e9UugrE38jeYsDSMw==} engines: {node: '>= 0.4'} dependencies: - which-typed-array: 1.1.11 + which-typed-array: 1.1.15 /is-unicode-supported@0.1.0: resolution: {integrity: sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==} @@ -17943,22 +17040,24 @@ packages: /is-valid-domain@0.1.6: resolution: {integrity: sha512-ZKtq737eFkZr71At8NxOFcP9O1K89gW3DkdrGMpp1upr/ueWjj+Weh4l9AI4rN0Gt8W2M1w7jrG2b/Yv83Ljpg==} dependencies: - punycode: 2.3.0 + punycode: 2.3.1 dev: true - /is-weakmap@2.0.1: - resolution: {integrity: sha512-NSBR4kH5oVj1Uwvv970ruUkCV7O1mzgVFO4/rev2cLRda9Tm9HrL70ZPut4rOHgY0FNrUu9BCbXA2sdQ+x0chA==} + /is-weakmap@2.0.2: + resolution: {integrity: sha512-K5pXYOm9wqY1RgjpL3YTkF39tni1XajUIkawTLUo9EZEVUFga5gSQJF8nNS7ZwJQ02y+1YCNYcMh+HIf1ZqE+w==} + engines: {node: '>= 0.4'} /is-weakref@1.0.2: resolution: {integrity: sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ==} dependencies: - call-bind: 1.0.5 + call-bind: 1.0.7 - /is-weakset@2.0.2: - resolution: {integrity: sha512-t2yVvttHkQktwnNNmBQ98AhENLdPUTDTE21uPqAQ0ARwQfGeQKRVS0NNurH7bTf7RrvcVn1OOge45CnBeHCSmg==} + /is-weakset@2.0.3: + resolution: {integrity: sha512-LvIm3/KWzS9oRFHugab7d+M/GcBXuXX5xZkzPmN+NxihdQlZUQ4dWuSV1xR/sq6upL1TJEDrfBgRepHFdBtSNQ==} + engines: {node: '>= 0.4'} dependencies: - call-bind: 1.0.5 - get-intrinsic: 1.2.2 + call-bind: 1.0.7 + get-intrinsic: 1.2.4 /is-windows@1.0.2: resolution: {integrity: sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==} @@ -17975,10 +17074,6 @@ packages: resolution: {integrity: sha512-nW24QBoPcFGGHJGUwnfpI7Yc5CdqWNdsyHQszVE/z2pKHXzh7FZ5GWhJqSyaQ9wMkQnsTx+kAI8bHlCX4tKdbg==} dev: false - /isarray@0.0.1: - resolution: {integrity: sha512-D2S+3GLxWH+uhrNEcoh/fnmYeP8E8/zHl644d/jdA0g2uyXvy3sb0qxotE+ne0LtccHknQzWwZEzhak7oJ0COQ==} - dev: true - /isarray@1.0.0: resolution: {integrity: sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==} @@ -18006,7 +17101,7 @@ packages: resolution: {integrity: sha512-pzqtp31nLv/XFOzXGuvhCb8qhjmTVo5vjVk19XE4CRlSWz0KoeJ3bw9XsA7nOp9YBf4qHjwBxkDzKcME/J29Yg==} engines: {node: '>=8'} dependencies: - '@babel/core': 7.23.9 + '@babel/core': 7.24.7 '@babel/parser': 7.24.7 '@istanbuljs/schema': 0.1.3 istanbul-lib-coverage: 3.2.2 @@ -18029,14 +17124,14 @@ packages: engines: {node: '>=10'} dependencies: '@jridgewell/trace-mapping': 0.3.25 - debug: 4.3.4(supports-color@5.5.0) + debug: 4.3.5(supports-color@5.5.0) istanbul-lib-coverage: 3.2.2 transitivePeerDependencies: - supports-color dev: true - /istanbul-reports@3.1.6: - resolution: {integrity: sha512-TLgnMkKg3iTDsQ9PbPTdpfAK2DzjF9mqUG7RMgcQl8oFjad8ob4laGxv5XV5U9MAfx8D6tSJiUyuAwzLicaxlg==} + /istanbul-reports@3.1.7: + resolution: {integrity: sha512-BewmUXImeuRk2YY0PVbxgKAysvhRPUQE0h5QRM++nVWyubKGV0l8qQ5op8+B2DOmwSe63Jivj0BjkPQVf8fP5g==} engines: {node: '>=8'} dependencies: html-escaper: 2.0.2 @@ -18047,10 +17142,10 @@ packages: resolution: {integrity: sha512-DR33HMMr8EzwuRL8Y9D3u2BMj8+RqSE850jfGu59kS7tbmPLzGkZmVSfyCFSDxuZiEY6Rzt3T2NA/qU+NwVj1w==} dependencies: define-properties: 1.2.1 - get-intrinsic: 1.2.1 + get-intrinsic: 1.2.4 has-symbols: 1.0.3 - reflect.getprototypeof: 1.0.4 - set-function-name: 2.0.1 + reflect.getprototypeof: 1.0.6 + set-function-name: 2.0.2 dev: false /jackspeak@2.3.6: @@ -18060,13 +17155,22 @@ packages: '@isaacs/cliui': 8.0.2 optionalDependencies: '@pkgjs/parseargs': 0.11.0 + dev: true + + /jackspeak@3.4.0: + resolution: {integrity: sha512-JVYhQnN59LVPFCEcVa2C3CrEKYacvjRfqIQl+h8oi91aLYQVWRYbxjPcv1bUiUy/kLmQaANrYfNMCO3kuEDHfw==} + engines: {node: '>=14'} + dependencies: + '@isaacs/cliui': 8.0.2 + optionalDependencies: + '@pkgjs/parseargs': 0.11.0 - /jake@10.8.7: - resolution: {integrity: sha512-ZDi3aP+fG/LchyBzUM804VjddnwfSfsdeYkwt8NcbKRvo4rFkjhs456iLFn3k2ZUWvNe4i48WACDbza8fhq2+w==} + /jake@10.9.1: + resolution: {integrity: sha512-61btcOHNnLnsOdtLgA5efqQWjnSi/vow5HbI7HMdKKWqvrKR1bLK3BPlJn9gcSaP2ewuamUSMB5XEy76KUIS2w==} engines: {node: '>=10'} hasBin: true dependencies: - async: 3.2.4 + async: 3.2.5 chalk: 4.1.2 filelist: 1.0.4 minimatch: 3.1.2 @@ -18092,15 +17196,15 @@ packages: engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: '@jest/types': 29.6.3 - '@types/graceful-fs': 4.1.7 - '@types/node': 20.14.2 + '@types/graceful-fs': 4.1.9 + '@types/node': 20.14.8 anymatch: 3.1.3 fb-watchman: 2.0.2 graceful-fs: 4.2.11 jest-regex-util: 29.6.3 jest-util: 29.7.0 jest-worker: 29.7.0 - micromatch: 4.0.5 + micromatch: 4.0.7 walker: 1.0.8 optionalDependencies: fsevents: 2.3.3 @@ -18120,12 +17224,12 @@ packages: resolution: {integrity: sha512-PFdn9Iewbt575zKPf1286Ht9EPoJmYT7P0kY+RibeYZ2XtOr53pDLEFoTWXbd1h4JiGiWpTBC84fc8xMXQMb7g==} engines: {node: ^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0} dependencies: - '@babel/code-frame': 7.23.5 + '@babel/code-frame': 7.24.7 '@jest/types': 28.1.3 - '@types/stack-utils': 2.0.1 + '@types/stack-utils': 2.0.3 chalk: 4.1.2 graceful-fs: 4.2.11 - micromatch: 4.0.5 + micromatch: 4.0.7 pretty-format: 28.1.3 slash: 3.0.0 stack-utils: 2.0.6 @@ -18136,7 +17240,7 @@ packages: engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} dependencies: '@jest/types': 27.5.1 - '@types/node': 20.14.2 + '@types/node': 20.14.8 dev: true /jest-regex-util@29.6.3: @@ -18149,7 +17253,7 @@ packages: engines: {node: ^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0} dependencies: '@jest/types': 28.1.3 - '@types/node': 20.14.2 + '@types/node': 20.14.8 chalk: 4.1.2 ci-info: 3.9.0 graceful-fs: 4.2.11 @@ -18161,7 +17265,7 @@ packages: engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: '@jest/types': 29.6.3 - '@types/node': 20.14.2 + '@types/node': 20.14.8 chalk: 4.1.2 ci-info: 3.9.0 graceful-fs: 4.2.11 @@ -18172,7 +17276,7 @@ packages: resolution: {integrity: sha512-7vuh85V5cdDofPyxn58nrPjBktZo0u9x1g8WtjQol+jZDaE+fhN+cIvTj11GndBnMnyfrUOG1sZQxCdjKh+DKg==} engines: {node: '>= 10.13.0'} dependencies: - '@types/node': 20.14.2 + '@types/node': 20.14.8 merge-stream: 2.0.0 supports-color: 8.1.1 dev: true @@ -18181,14 +17285,14 @@ packages: resolution: {integrity: sha512-eIz2msL/EzL9UFTFFx7jBTkeZfku0yUAyZZZmJ93H2TYEiroIx2PQjEXcwYtYl8zXCxb+PAmA2hLIt/6ZEkPHw==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: - '@types/node': 20.14.2 + '@types/node': 20.14.8 jest-util: 29.7.0 merge-stream: 2.0.0 supports-color: 8.1.1 dev: true - /jiti@1.21.0: - resolution: {integrity: sha512-gFqAIbuKyyso/3G2qhiO2OM6shY6EPP/R0+mkDbyspxKazh8BXDC5FiFsUjlczgdNz/vfra0da2y+aHrusLG/Q==} + /jiti@1.21.6: + resolution: {integrity: sha512-2yTgeWTWzMWkHu6Jp9NKgePDaYHbntiwvYuuJLbbN9vl7DC9DvXKOB2BC3ZZ92D3cvV/aflH0osDfwpHepQ53w==} hasBin: true /joycon@3.1.1: @@ -18203,8 +17307,8 @@ packages: /js-tokens@4.0.0: resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==} - /js-tokens@8.0.3: - resolution: {integrity: sha512-UfJMcSJc+SEXEl9lH/VLHSZbThQyLpw1vLO1Lb+j4RWDvG3N2f7yj3PVQA3cmkTBNldJ9eFnM+xEXxHIXrYiJw==} + /js-tokens@9.0.0: + resolution: {integrity: sha512-WriZw1luRMlmV3LGJaR6QOJjWwgLUTf89OwT2lUOyjX2dJGBwgmIkbcz+7WFZjrZM635JOIR517++e/67CP9dQ==} dev: true /js-yaml@3.14.1: @@ -18220,30 +17324,38 @@ packages: dependencies: argparse: 2.0.1 - /jscodeshift@0.14.0(@babel/preset-env@7.22.20): - resolution: {integrity: sha512-7eCC1knD7bLUPuSCwXsMZUH51O8jIcoVyKtI6P0XM0IVzlGjckPy3FIwQlorzbN0Sg79oK+RlohN32Mqf/lrYA==} + /jsbn@1.1.0: + resolution: {integrity: sha512-4bYVV3aAMtDTTu4+xsDYa6sy9GyJ69/amsu9sYF2zqjiEoZA5xJi3BrfX3uY+/IekIu7MwdObdbDWpoZdBv3/A==} + dev: false + + /jscodeshift@0.15.2(@babel/preset-env@7.24.7): + resolution: {integrity: sha512-FquR7Okgmc4Sd0aEDwqho3rEiKR3BdvuG9jfdHjLJ6JQoWSMpavug3AoIfnfWhxFlf+5pzQh8qjqz0DWFrNQzA==} hasBin: true peerDependencies: '@babel/preset-env': ^7.1.6 + peerDependenciesMeta: + '@babel/preset-env': + optional: true dependencies: - '@babel/core': 7.23.9 - '@babel/parser': 7.23.9 - '@babel/plugin-proposal-class-properties': 7.18.6(@babel/core@7.23.9) - '@babel/plugin-proposal-nullish-coalescing-operator': 7.18.6(@babel/core@7.23.9) - '@babel/plugin-proposal-optional-chaining': 7.21.0(@babel/core@7.23.9) - '@babel/plugin-transform-modules-commonjs': 7.23.0(@babel/core@7.23.9) - '@babel/preset-env': 7.22.20(@babel/core@7.23.9) - '@babel/preset-flow': 7.22.15(@babel/core@7.23.9) - '@babel/preset-typescript': 7.23.0(@babel/core@7.23.9) - '@babel/register': 7.22.15(@babel/core@7.23.9) - babel-core: 7.0.0-bridge.0(@babel/core@7.23.9) + '@babel/core': 7.24.7 + '@babel/parser': 7.24.7 + '@babel/plugin-transform-class-properties': 7.24.7(@babel/core@7.24.7) + '@babel/plugin-transform-modules-commonjs': 7.24.7(@babel/core@7.24.7) + '@babel/plugin-transform-nullish-coalescing-operator': 7.24.7(@babel/core@7.24.7) + '@babel/plugin-transform-optional-chaining': 7.24.7(@babel/core@7.24.7) + '@babel/plugin-transform-private-methods': 7.24.7(@babel/core@7.24.7) + '@babel/preset-env': 7.24.7(@babel/core@7.24.7) + '@babel/preset-flow': 7.24.7(@babel/core@7.24.7) + '@babel/preset-typescript': 7.24.7(@babel/core@7.24.7) + '@babel/register': 7.24.6(@babel/core@7.24.7) + babel-core: 7.0.0-bridge.0(@babel/core@7.24.7) chalk: 4.1.2 - flow-parser: 0.218.0 + flow-parser: 0.238.0 graceful-fs: 4.2.11 - micromatch: 4.0.5 + micromatch: 4.0.7 neo-async: 2.6.2 node-dir: 0.1.17 - recast: 0.21.5 + recast: 0.23.9 temp: 0.8.4 write-file-atomic: 2.4.3 transitivePeerDependencies: @@ -18270,89 +17382,111 @@ packages: resolution: {integrity: sha512-op3y4UUzd6J6lfjV+UP/hhEQIPUtpsLNtMRXLO1v5X7hbJ8N76gdO6UHu7RqyCElRjUaNqtGug0pkQBC5sDepg==} dev: false - /jsii-diff@1.94.0: - resolution: {integrity: sha512-jbiMsbzi0wrBl8tuXB+HvYiIHDQfj0Ktrc7bshhzung+POnT5QCU3M0/MwNr2V+u4F0DDCvO3PFML26eXABA5w==} + /jsii-diff@1.100.0: + resolution: {integrity: sha512-/Rs2jPmIlcQTwHEuse8SGx/ztSh4F0JYE4OnIBmRZ4ljppPqSGSOoa7pp10IpSmmF2ac+2sgOGuEadwjrDDi4w==} engines: {node: '>= 14.17.0'} hasBin: true dependencies: - '@jsii/check-node': 1.94.0 - '@jsii/spec': 1.94.0 + '@jsii/check-node': 1.100.0 + '@jsii/spec': 1.100.0 fs-extra: 10.1.0 - jsii-reflect: 1.94.0 + jsii-reflect: 1.100.0 log4js: 6.9.1 yargs: 16.2.0 transitivePeerDependencies: - supports-color dev: true - /jsii-pacmak@1.93.0: - resolution: {integrity: sha512-A2rn4seHN+1/VzwQ0H8t6zxAz9HpZWbF+kVi9MpNgqd2iiNYxS1XNyirzyQ8D3e5ZNWoPAyFVuGqkXrtdo4etg==} + /jsii-pacmak@1.100.0(jsii-rosetta@5.3.28): + resolution: {integrity: sha512-MxB4UYwpRjxZ/2y+LPy5HVkBciubU4T8d3A3mnj6Pj5lQfe3VZ9pStYHNTsv0q5J8xg4uIcc8/RhFHj1mzk2oA==} engines: {node: '>= 14.17.0'} hasBin: true + peerDependencies: + jsii-rosetta: ^1.100.0 || ~5.2.0 || ~5.3.0 || ~5.4.0 dependencies: - '@jsii/check-node': 1.93.0 - '@jsii/spec': 1.94.0 + '@jsii/check-node': 1.100.0 + '@jsii/spec': 1.100.0 clone: 2.1.2 - codemaker: 1.94.0 - commonmark: 0.30.0 + codemaker: 1.100.0 + commonmark: 0.31.0 escape-string-regexp: 4.0.0 fs-extra: 10.1.0 - jsii-reflect: 1.94.0 - jsii-rosetta: 1.94.0 - semver: 7.5.4 - spdx-license-list: 6.8.0 + jsii-reflect: 1.100.0 + jsii-rosetta: 5.3.28 + semver: 7.6.2 + spdx-license-list: 6.9.0 + xmlbuilder: 15.1.1 + yargs: 16.2.0 + dev: true + + /jsii-pacmak@1.100.0(jsii-rosetta@5.4.23): + resolution: {integrity: sha512-MxB4UYwpRjxZ/2y+LPy5HVkBciubU4T8d3A3mnj6Pj5lQfe3VZ9pStYHNTsv0q5J8xg4uIcc8/RhFHj1mzk2oA==} + engines: {node: '>= 14.17.0'} + hasBin: true + peerDependencies: + jsii-rosetta: ^1.100.0 || ~5.2.0 || ~5.3.0 || ~5.4.0 + dependencies: + '@jsii/check-node': 1.100.0 + '@jsii/spec': 1.100.0 + clone: 2.1.2 + codemaker: 1.100.0 + commonmark: 0.31.0 + escape-string-regexp: 4.0.0 + fs-extra: 10.1.0 + jsii-reflect: 1.100.0 + jsii-rosetta: 5.4.23 + semver: 7.6.2 + spdx-license-list: 6.9.0 xmlbuilder: 15.1.1 yargs: 16.2.0 - transitivePeerDependencies: - - supports-color dev: true - /jsii-pacmak@1.94.0: - resolution: {integrity: sha512-L5s3RZ0AOx1XfAhXsEjyeCteVrw6nwJLynL+t93eXVDcw7NFT7S0fCFXzQ4lpYQ23P/yVpSIy32J3zpUOf4uDQ==} + /jsii-pacmak@1.95.0: + resolution: {integrity: sha512-h/eo3p3jG4/Wtb9WdavvcgXzyN5QXZck3k0xvIWp5SKxFLorQ+TWhY7BHG0e+VXl+mxcni6BuQ5wFLavq65RQQ==} engines: {node: '>= 14.17.0'} hasBin: true dependencies: - '@jsii/check-node': 1.94.0 - '@jsii/spec': 1.94.0 + '@jsii/check-node': 1.95.0 + '@jsii/spec': 1.100.0 clone: 2.1.2 - codemaker: 1.94.0 + codemaker: 1.100.0 commonmark: 0.30.0 escape-string-regexp: 4.0.0 fs-extra: 10.1.0 - jsii-reflect: 1.94.0 - jsii-rosetta: 1.94.0 - semver: 7.5.4 - spdx-license-list: 6.8.0 + jsii-reflect: 1.100.0 + jsii-rosetta: 1.100.0 + semver: 7.6.2 + spdx-license-list: 6.9.0 xmlbuilder: 15.1.1 yargs: 16.2.0 transitivePeerDependencies: - supports-color dev: true - /jsii-reflect@1.94.0: - resolution: {integrity: sha512-Oupkl5iFFeq3GJ2a/fQNMnsXRMISmEKklPHksYs/l6MqrNFUQ5kg9oj1qxjSyaCpvvXBI8Eh7y73dqNE8w4cVw==} + /jsii-reflect@1.100.0: + resolution: {integrity: sha512-4hicwZirzhSqFRpX/USpvy6RewDi5mCkDESLjBSNpnGWhc3oVByX3x/KJyKQdjEfjVkflHWxSGJEA0qEMoXFUw==} engines: {node: '>= 14.17.0'} hasBin: true dependencies: - '@jsii/check-node': 1.94.0 - '@jsii/spec': 1.94.0 + '@jsii/check-node': 1.100.0 + '@jsii/spec': 1.100.0 chalk: 4.1.2 fs-extra: 10.1.0 - oo-ascii-tree: 1.94.0 + oo-ascii-tree: 1.100.0 yargs: 16.2.0 - /jsii-rosetta@1.94.0: - resolution: {integrity: sha512-FLQAxdZJsH0sg87S9u/e4+HDGr6Pth+UZ4ool3//MFMsw+C0iwagAlNVhZuyohMdlvumpQeg9Gr+FvoBZFoBrA==} + /jsii-rosetta@1.100.0: + resolution: {integrity: sha512-JeVS7twbDM48Z6IE9OJ24DzBs9scpeWa9XmI00bggMWV0xcP2GCTkz2c8cqEZU4DPggcygS1H+TWhQiSkol4gQ==} engines: {node: '>= 14.17.0'} hasBin: true dependencies: - '@jsii/check-node': 1.94.0 - '@jsii/spec': 1.94.0 + '@jsii/check-node': 1.100.0 + '@jsii/spec': 1.100.0 '@xmldom/xmldom': 0.8.10 - commonmark: 0.30.0 + commonmark: 0.31.0 fast-glob: 3.3.2 - jsii: 1.94.0 - semver: 7.5.4 + jsii: 1.100.0 + semver: 7.6.2 semver-intersect: 1.5.0 stream-json: 1.8.0 typescript: 3.9.10 @@ -18362,19 +17496,19 @@ packages: - supports-color dev: true - /jsii-rosetta@5.3.7: - resolution: {integrity: sha512-x9knz6DaGPwLucSUAZNxz8EQW3WwsCBrZldWs/FBVKKbdszSH5HHvXKG7elpitqzj+7XDFH9QnKv/bLfUWy5lA==} + /jsii-rosetta@5.3.28: + resolution: {integrity: sha512-pvfaaMYJhsGz9BXmQenlC+aey2HTRiPwlTr7FcH4wr0THkKbIwChPpS26YWSGyNLmTqDZUvmQv+xDtMx5qFXGg==} engines: {node: '>= 18.12.0'} hasBin: true dependencies: - '@jsii/check-node': 1.94.0 - '@jsii/spec': 1.94.0 + '@jsii/check-node': 1.95.0 + '@jsii/spec': 1.100.0 '@xmldom/xmldom': 0.8.10 chalk: 4.1.2 - commonmark: 0.30.0 + commonmark: 0.31.0 fast-glob: 3.3.2 - jsii: 5.3.11(patch_hash=ckgthkljzwfnfbd5qz6x7vtvme) - semver: 7.5.4 + jsii: 5.3.39(patch_hash=wolfkkypbs5h5o2e2c4c7vi7xu) + semver: 7.6.2 semver-intersect: 1.5.0 stream-json: 1.8.0 typescript: 5.3.3 @@ -18384,138 +17518,140 @@ packages: - supports-color dev: true - /jsii-srcmak@0.1.1005: - resolution: {integrity: sha512-JnL8UNW3akZW+XYhrAU5/wtpmyaEHwTrb455PsYMYpHU1OsWcqAHBdn2xdXV05X754yAYKAEv9ga+KV2OVNDOw==} + /jsii-rosetta@5.4.23: + resolution: {integrity: sha512-QOObTPIWIwc+q4dvXgRXptdEtkcCb6uQO93sHlz5f3SBJ/E/LdLaIVCqPqZmojkGr+5OnVrU4h58okPFOo4c4w==} + engines: {node: '>= 18.12.0'} + hasBin: true + dependencies: + '@jsii/check-node': 1.100.0 + '@jsii/spec': 1.100.0 + '@xmldom/xmldom': 0.8.10 + chalk: 4.1.2 + commonmark: 0.31.0 + fast-glob: 3.3.2 + jsii: 5.4.23 + semver: 7.6.2 + semver-intersect: 1.5.0 + stream-json: 1.8.0 + typescript: 5.4.5 + workerpool: 6.5.1 + yargs: 17.7.2 + transitivePeerDependencies: + - supports-color + dev: true + + /jsii-srcmak@0.1.1039(jsii-rosetta@5.3.28): + resolution: {integrity: sha512-3lBjyxBy5UpPGK8bXFmVRzaoK6caDQ5DO40Qbyv3LOWtrsuUQmuVI2/5wRwNtfg6sFzOFD3+kE3LZuNXo7QE/Q==} hasBin: true dependencies: fs-extra: 9.1.0 - jsii: 5.3.11(patch_hash=ckgthkljzwfnfbd5qz6x7vtvme) - jsii-pacmak: 1.94.0 + jsii: 5.3.39(patch_hash=wolfkkypbs5h5o2e2c4c7vi7xu) + jsii-pacmak: 1.100.0(jsii-rosetta@5.3.28) ncp: 2.0.0 yargs: 15.4.1 transitivePeerDependencies: + - jsii-rosetta - supports-color dev: true - /jsii-srcmak@0.1.999: - resolution: {integrity: sha512-8jhGRjceKdvYlW3rujnrZWTa1bss7TUhcsVrRsT7Q+MDYxRZan0FsqyHKrjfb8GYpgSh5DVpc9iYCwmn6VgXsw==} + /jsii-srcmak@0.1.1039(jsii-rosetta@5.4.23): + resolution: {integrity: sha512-3lBjyxBy5UpPGK8bXFmVRzaoK6caDQ5DO40Qbyv3LOWtrsuUQmuVI2/5wRwNtfg6sFzOFD3+kE3LZuNXo7QE/Q==} hasBin: true dependencies: fs-extra: 9.1.0 - jsii: 5.2.44 - jsii-pacmak: 1.94.0 + jsii: 5.3.39(patch_hash=wolfkkypbs5h5o2e2c4c7vi7xu) + jsii-pacmak: 1.100.0(jsii-rosetta@5.4.23) ncp: 2.0.0 yargs: 15.4.1 transitivePeerDependencies: + - jsii-rosetta - supports-color dev: true - /jsii@1.94.0: - resolution: {integrity: sha512-20KlKsBZlo7Ti6vfqTpKfZXnT2MKRGfh5bIPrwDODoCQmHNATfPFt1fs5+Wqd7xdrEj+A+sLAtjfHTw6i+sxCw==} + /jsii@1.100.0: + resolution: {integrity: sha512-DUTvq90XyyIRE+O/CAIHXZwBsxVy9ZkFDGkDjUknYV84VyzlMnBkdptQq0oJj8LRPTMJl2yiiPPMsJCvuv01Xg==} engines: {node: '>= 14.17.0'} hasBin: true dependencies: - '@jsii/check-node': 1.94.0 - '@jsii/spec': 1.94.0 + '@jsii/check-node': 1.100.0 + '@jsii/spec': 1.100.0 case: 1.6.3 chalk: 4.1.2 fast-deep-equal: 3.1.3 fs-extra: 10.1.0 log4js: 6.9.1 - semver: 7.5.4 + semver: 7.6.2 semver-intersect: 1.5.0 sort-json: 2.0.1 - spdx-license-list: 6.8.0 + spdx-license-list: 6.9.0 typescript: 3.9.10 yargs: 16.2.0 transitivePeerDependencies: - supports-color dev: true - /jsii@5.2.44: - resolution: {integrity: sha512-Z7sTqYzQ5yoJU/ie+svjqSzrOF5rl4pW/bojvCb/7MfJ+SaGqhMUQMxQGTfqmSvauME8JoVYqwMH89x6qreJ8A==} - engines: {node: '>= 16.14.0'} - hasBin: true - dependencies: - '@jsii/check-node': 1.93.0 - '@jsii/spec': 1.94.0 - case: 1.6.3 - chalk: 4.1.2 - downlevel-dts: 0.11.0 - fast-deep-equal: 3.1.3 - log4js: 6.9.1 - semver: 7.5.4 - semver-intersect: 1.5.0 - sort-json: 2.0.1 - spdx-license-list: 6.8.0 - typescript: 5.2.2 - yargs: 17.7.2 - transitivePeerDependencies: - - supports-color - dev: true - - /jsii@5.3.11(patch_hash=ckgthkljzwfnfbd5qz6x7vtvme): - resolution: {integrity: sha512-AhRb6bGYzQ4qeKn0dksJjRY/bQUz1zt/FwPPgb488P0Hr+taUbggNihebZEAzLZCJ3yH0ohgIgtQEAIx+NI/vA==} + /jsii@5.3.29: + resolution: {integrity: sha512-vEEOtjD8s/C8ORHvN87Bt9jHcY1diJoC1sS+TVnCkeb4V9q5fOEVr4gl/FsU5ea8dSWZHdd7VqCtr0jYAwKleg==} engines: {node: '>= 18.12.0'} hasBin: true dependencies: - '@jsii/check-node': 1.94.0 - '@jsii/spec': 1.94.0 + '@jsii/check-node': 1.95.0 + '@jsii/spec': 1.100.0 case: 1.6.3 chalk: 4.1.2 downlevel-dts: 0.11.0 fast-deep-equal: 3.1.3 log4js: 6.9.1 - semver: 7.5.4 + semver: 7.6.2 semver-intersect: 1.5.0 sort-json: 2.0.1 - spdx-license-list: 6.8.0 + spdx-license-list: 6.9.0 typescript: 5.3.3 yargs: 17.7.2 transitivePeerDependencies: - supports-color dev: true - patched: true - /jsii@5.3.2: - resolution: {integrity: sha512-wwwp47+6orlMXpny4dlTOP6776cBo2WFDgxZyGjQaV4VWNydsJiTcinuJzCj1XVZicBhpAnkuBMr89+2aT8Dcg==} + /jsii@5.3.39(patch_hash=wolfkkypbs5h5o2e2c4c7vi7xu): + resolution: {integrity: sha512-EzbS/3H73619BLJjjrVd6WKqNrKYYlTuNGa6yqJEyjqV4y8xMg/id8vP7rimE0CYzE75SfYCmIdPES1qz+wvQQ==} engines: {node: '>= 18.12.0'} hasBin: true dependencies: - '@jsii/check-node': 1.93.0 - '@jsii/spec': 1.94.0 + '@jsii/check-node': 1.100.0 + '@jsii/spec': 1.100.0 case: 1.6.3 chalk: 4.1.2 downlevel-dts: 0.11.0 fast-deep-equal: 3.1.3 log4js: 6.9.1 - semver: 7.5.4 + semver: 7.6.2 semver-intersect: 1.5.0 sort-json: 2.0.1 - spdx-license-list: 6.8.0 + spdx-license-list: 6.9.0 typescript: 5.3.3 yargs: 17.7.2 transitivePeerDependencies: - supports-color dev: true + patched: true - /jsii@5.3.3: - resolution: {integrity: sha512-M+kAUKJiLXXJXKYmBB0Q2n1aGoeNHyzMCLAx7402JqXSLxH4JGh6kOf4EH3U3LmQKzv2kxOHMRCg3Ssh82KtrQ==} + /jsii@5.4.23: + resolution: {integrity: sha512-HTJ/xogVNMuk/PhUFba9b8puPJBcvpOE2Je//TO+wGmFaHHTSrIacJPAvXSmVSs5WUNye7Ji2dOz5N2xtzi72Q==} engines: {node: '>= 18.12.0'} hasBin: true dependencies: - '@jsii/check-node': 1.93.0 - '@jsii/spec': 1.94.0 + '@jsii/check-node': 1.100.0 + '@jsii/spec': 1.100.0 case: 1.6.3 chalk: 4.1.2 downlevel-dts: 0.11.0 fast-deep-equal: 3.1.3 log4js: 6.9.1 - semver: 7.5.4 + semver: 7.6.2 semver-intersect: 1.5.0 sort-json: 2.0.1 - spdx-license-list: 6.8.0 - typescript: 5.3.3 + spdx-license-list: 6.9.0 + typescript: 5.4.5 yargs: 17.7.2 transitivePeerDependencies: - supports-color @@ -18537,8 +17673,8 @@ packages: /json-parse-even-better-errors@2.3.1: resolution: {integrity: sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==} - /json-parse-even-better-errors@3.0.0: - resolution: {integrity: sha512-iZbGHafX/59r39gPwVPRBGw0QQKnA7tte5pSMrhWOW7swGsVvVTjmfyAV9pNqk8YGT7tRCdxRu8uzcgZwoDooA==} + /json-parse-even-better-errors@3.0.2: + resolution: {integrity: sha512-fi0NG4bPjCHunUJffmLd0gxssIgkNmArMvis4iNah6Owg1MCJjWhEcDLmsK6iGkJq3tHwbDkTlce70/tmXN4cQ==} engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} dev: false @@ -18551,15 +17687,6 @@ packages: /json-stable-stringify-without-jsonify@1.0.1: resolution: {integrity: sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==} - /json-stable-stringify@1.1.0: - resolution: {integrity: sha512-zfA+5SuwYN2VWqN1/5HZaDzQKLJHaBVMZIIM+wuYjdptkaQsqzDdqjqf+lZZJUuJq1aanHiY8LhH8LmH+qBYJA==} - engines: {node: '>= 0.4'} - dependencies: - call-bind: 1.0.5 - isarray: 2.0.5 - jsonify: 0.0.1 - object-keys: 1.1.1 - /json-stringify-nice@1.1.4: resolution: {integrity: sha512-5Z5RFW63yxReJ7vANgW6eZFGWaQvnPE3WNmZoOJrSkGju2etKA2L5rrOa1sm877TVTFt57A80BH1bArcmlLfPw==} dev: false @@ -18578,8 +17705,9 @@ packages: engines: {node: '>=6'} hasBin: true - /jsonc-parser@3.2.0: - resolution: {integrity: sha512-gfFQZrcTc8CnKXp6Y4/CBT3fTc0OVuDofpre4aEeEpSBPV5X5v4+Vmx+8snU7RLPrNHPKSgLxGo9YuQzz20o+w==} + /jsonc-parser@3.2.1: + resolution: {integrity: sha512-AilxAyFOAcK5wA1+LeaySVBrHsGQvUFCDWXKpZjzaL0PqW+xfBOttn8GNtWKFWqneyMZj41MWF9Kl6iPWLwgOA==} + dev: true /jsonfile@4.0.0: resolution: {integrity: sha512-m6F1R3z8jjlf2imQHS2Qez5sjKWQzbuuhuJ/FKYFRZvPE3PuHcSMVZzfsLhGVOkfd20obL5SWEBew5ShlquNxg==} @@ -18590,13 +17718,10 @@ packages: /jsonfile@6.1.0: resolution: {integrity: sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==} dependencies: - universalify: 2.0.0 + universalify: 2.0.1 optionalDependencies: graceful-fs: 4.2.11 - /jsonify@0.0.1: - resolution: {integrity: sha512-2/Ki0GcmuqSrgFyelQq9M05y7PS0mEwuIzrf3f1fPqkVDVRvZrPZtVSMHxdgo8Aq0sxAOb/cr2aqqA3LeWHVPg==} - /jsonparse@1.3.1: resolution: {integrity: sha512-POQXvpdL69+CluYsillJ7SUhKvytYjW9vG/GKpnf+xP8UWgYEM/RaMzHHofbALDiKbbP1W8UEYmgGl39WkPZsg==} engines: {'0': node >= 0.2.0} @@ -18618,16 +17743,16 @@ packages: lodash.isstring: 4.0.1 lodash.once: 4.1.1 ms: 2.1.3 - semver: 7.5.4 + semver: 7.6.2 /jsx-ast-utils@3.3.5: resolution: {integrity: sha512-ZZow9HBI5O6EPgSJLUb8n2NKgmVWTwCvHGwFuJlMjvLFqlGG6pjirPhtdsseaLZjSibD8eegzmYpUZwoIlj2cQ==} engines: {node: '>=4.0'} dependencies: - array-includes: 3.1.7 + array-includes: 3.1.8 array.prototype.flat: 1.3.2 - object.assign: 4.1.4 - object.values: 1.1.7 + object.assign: 4.1.5 + object.values: 1.2.0 dev: false /jszip@3.10.1: @@ -18647,8 +17772,8 @@ packages: resolution: {integrity: sha512-S59eriX5u3/QhMNq3v/gm8Kd0w8OS6Tz2FS1NG4blv+z0MuQcBRJyFWjdovM0Rad4/P4aUPFtnkNjMjyMlMSYA==} dev: false - /just-extend@4.2.1: - resolution: {integrity: sha512-g3UB796vUFIY90VIv/WX3L2c8CS2MdWUww3CNrYmqza1Fg0DURc2K/O4YrnklBdQarSJ/y8JnJYDGc+1iumQjg==} + /just-extend@6.2.0: + resolution: {integrity: sha512-cYofQu2Xpom82S6qD778jBDpwvvy39s1l/hrYij2u9AMdQcGRpaBu6kY4mVhuno5kJVi1DAz4aiphA2WI1/OAw==} dev: true /jwa@1.4.1: @@ -18664,7 +17789,6 @@ packages: buffer-equal-constant-time: 1.0.1 ecdsa-sig-formatter: 1.0.11 safe-buffer: 5.2.1 - dev: false /jws@3.2.2: resolution: {integrity: sha512-YHlZCB6lMTllWDtSPHz/ZXTsi8S00usEV6v1tjq8tOUZzw7DpSDWVXjXDre6ed1w/pd495ODpHZYSdkRTsa0HA==} @@ -18677,14 +17801,13 @@ packages: dependencies: jwa: 2.0.0 safe-buffer: 5.2.1 - dev: false /keytar@7.9.0: resolution: {integrity: sha512-VPD8mtVtm5JNtA2AErl6Chp06JBfy7diFQ7TQQhdpWOl6MrCRB+eRbvAZUsbGQS9kiMq0coJsy0W0vHpDCkWsQ==} requiresBuild: true dependencies: node-addon-api: 4.3.0 - prebuild-install: 7.1.1 + prebuild-install: 7.1.2 dev: true optional: true @@ -18709,20 +17832,21 @@ packages: dev: false optional: true - /language-subtag-registry@0.3.22: - resolution: {integrity: sha512-tN0MCzyWnoz/4nHS6uxdlFWoUZT7ABptwKPQ52Ea7URk6vll88bWBVhodtnlfEuCcKWNGoc+uGbw1cwa9IKh/w==} + /language-subtag-registry@0.3.23: + resolution: {integrity: sha512-0K65Lea881pHotoGEa5gDlMxt3pctLi2RplBb7Ezh4rRdLEOtgi7n4EwK9lamnUCkKBqaeKRVebTq6BAxSkpXQ==} dev: false - /language-tags@1.0.5: - resolution: {integrity: sha512-qJhlO9cGXi6hBGKoxEG/sKZDAHD5Hnu9Hs4WbOY3pCWXDhw0N8x1NenNzm2EnNLkLkk7J2SdxAkDSbb6ftT+UQ==} + /language-tags@1.0.9: + resolution: {integrity: sha512-MbjN408fEndfiQXbFQ1vnd+1NoLDsnQW41410oQBXiyXDMYH5z505juWa4KUE1LqxRC7DgOgZDbKLxHIwm27hA==} + engines: {node: '>=0.10'} dependencies: - language-subtag-registry: 0.3.22 + language-subtag-registry: 0.3.23 dev: false - /launch-editor@2.6.1: - resolution: {integrity: sha512-eB/uXmFVpY4zezmGp5XtU21kwo7GBbKB+EQ+UZeWtGb9yAM5xt/Evk+lYH3eRNAtId+ej4u7TYPFZ07w4s7rRw==} + /launch-editor@2.8.0: + resolution: {integrity: sha512-vJranOAJrI/llyWGRQqiDM+adrw+k83fvmmx3+nV47g3+36xM15jE+zyZ6Ffel02+xSvuM0b2GDRosXZkbb6wA==} dependencies: - picocolors: 1.0.0 + picocolors: 1.0.1 shell-quote: 1.8.1 dev: false @@ -18731,7 +17855,7 @@ packages: engines: {node: '>=14.0.0'} dependencies: app-root-dir: 1.0.2 - dotenv: 16.3.1 + dotenv: 16.4.5 dotenv-expand: 10.0.0 dev: true @@ -18740,6 +17864,7 @@ packages: engines: {node: '>= 0.6.3'} dependencies: readable-stream: 2.3.8 + dev: true /leven@3.1.0: resolution: {integrity: sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A==} @@ -18763,8 +17888,8 @@ packages: resolution: {integrity: sha512-utWOt/GHzuUxnLKxB6dk81RoOeoNeHgbrXiuGk4yyF5qlRz+iIVWu56E2fqGHFrXz0QNUhLB/8nKqvRH66JKGQ==} engines: {node: '>=10'} - /lilconfig@3.1.1: - resolution: {integrity: sha512-O18pf7nyvHTckunPWCV1XUNXU1piu01y2b7ATJ0ppkUkk8ocqVWBrYjJBCwHDjD/ZWcfyrA0P4gKhzWGi5EINQ==} + /lilconfig@3.1.2: + resolution: {integrity: sha512-eop+wDAvpItUys0FWkHIKeC9ybYrTGbU41U5K7+bttZZeohvnY7M9dZ5kB21GNWiFT2q1OoPTvncPCgSOVO5ow==} engines: {node: '>=14'} /lines-and-columns@1.2.4: @@ -18776,18 +17901,18 @@ packages: uc.micro: 1.0.6 dev: true - /linkify-react@4.1.1(linkifyjs@4.1.1)(react@18.2.0): - resolution: {integrity: sha512-2K9Y1cUdvq40dFWqCJ//X+WP19nlzIVITFGI93RjLnA0M7KbnxQ/ffC3AZIZaEIrLangF9Hjt3i0GQ9/anEG5A==} + /linkify-react@4.1.3(linkifyjs@4.1.3)(react@18.3.1): + resolution: {integrity: sha512-rhI3zM/fxn5BfRPHfi4r9N7zgac4vOIxub1wHIWXLA5ENTMs+BGaIaFO1D1PhmxgwhIKmJz3H7uCP0Dg5JwSlA==} peerDependencies: linkifyjs: ^4.0.0 react: '>= 15.0.0' dependencies: - linkifyjs: 4.1.1 - react: 18.2.0 + linkifyjs: 4.1.3 + react: 18.3.1 dev: false - /linkifyjs@4.1.1: - resolution: {integrity: sha512-zFN/CTVmbcVef+WaDXT63dNzzkfRBKT1j464NJQkV7iSgJU0sLBus9W0HBwnXK13/hf168pbrx/V/bjEHOXNHA==} + /linkifyjs@4.1.3: + resolution: {integrity: sha512-auMesunaJ8yfkHvK4gfg1K0SaKX/6Wn9g2Aac/NwX+l5VdmFZzo/hdPGxEOETj+ryRa4/fiOPjeeKURSAJx1sg==} dev: false /load-json-file@4.0.0: @@ -18824,8 +17949,8 @@ packages: resolution: {integrity: sha512-ok6z3qlYyCDS4ZEU27HaU6x/xZa9Whf8jD4ptH5UZTQYZVYeb9bnZ3ojVhiJNLiXK1Hfc0GNbLXcmZ5plLDDBg==} engines: {node: '>=14'} dependencies: - mlly: 1.4.2 - pkg-types: 1.0.3 + mlly: 1.7.1 + pkg-types: 1.1.1 dev: true /locate-path@2.0.0: @@ -18956,20 +18081,21 @@ packages: engines: {node: '>=8.0'} dependencies: date-format: 4.0.14 - debug: 4.3.4(supports-color@5.5.0) - flatted: 3.2.9 - rfdc: 1.3.0 + debug: 4.3.5(supports-color@5.5.0) + flatted: 3.3.1 + rfdc: 1.4.1 streamroller: 3.1.5 transitivePeerDependencies: - supports-color dev: true - /logform@2.5.1: - resolution: {integrity: sha512-9FyqAm9o9NKKfiAKfZoYo9bGXXuwMkxQiQttkT4YjjVtQVIQtK6LmVtlxmCaFswo6N4AfEkHqZTV0taDtPotNg==} + /logform@2.6.0: + resolution: {integrity: sha512-1ulHeNPp6k/LD8H91o7VYFBng5i1BDE7HoKxVbZiGFidS1Rj65qcywLxX+pVfAPoQJEjRdvKcusKwOupHCVOVQ==} + engines: {node: '>= 12.0.0'} requiresBuild: true dependencies: - '@colors/colors': 1.5.0 - '@types/triple-beam': 1.3.3 + '@colors/colors': 1.6.0 + '@types/triple-beam': 1.3.5 fecha: 4.2.3 ms: 2.1.3 safe-stable-stringify: 2.4.3 @@ -18981,6 +18107,10 @@ packages: resolution: {integrity: sha512-lcHwpNoggQTObv5apGNCTdJrO69eHOZMi4BNC+rTLER8iHAqGrUVeLh/irVIM7zTw2bOXA8T6uNPeujwOLg/2Q==} dev: false + /longest-streak@3.1.0: + resolution: {integrity: sha512-9Ri+o0JYgehTaVBBDoMqIl8GXtbWg711O3srftcHhZ0dqnETqLaoIK0x17fUw9rFSlK/0NlsKe0Ahhyl5pXE2g==} + dev: false + /loose-envify@1.4.0: resolution: {integrity: sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==} hasBin: true @@ -18993,12 +18123,8 @@ packages: get-func-name: 2.0.2 dev: true - /lru-cache@10.0.1: - resolution: {integrity: sha512-IJ4uwUTi2qCccrioU6g9g/5rvvVl13bsdczUUcqbciD9iLr095yj8DQKdObriEvuNSx325N1rV1O0sJFszx75g==} - engines: {node: 14 || >=16.14} - - /lru-cache@10.2.0: - resolution: {integrity: sha512-2bIM8x+VAf6JT4bKAljS1qUWgMsqZRPGJS6FSahIMPVvctcNhyVp7AJu7quxOW9jwkryBReKZY5tY5JYv2n/7Q==} + /lru-cache@10.2.2: + resolution: {integrity: sha512-9hp3Vp2/hFQUiIwKo8XCeFVnrg8Pk3TYNPIR7tJADKi5YfcF7vEaK7avFHTlSy3kOKYaJQaalfEo6YuXdceBOQ==} engines: {node: 14 || >=16.14} /lru-cache@5.1.1: @@ -19018,12 +18144,8 @@ packages: engines: {node: '>=12'} dev: false - /lru_map@0.3.3: - resolution: {integrity: sha512-Pn9cox5CsMYngeDbmChANltQl+5pi6XmTrraMSzhPmMBbmgcxmqWry0U3PGapCU1yB4/LqCcom7qhHZiF/jGfQ==} - dev: true - - /luxon@3.4.3: - resolution: {integrity: sha512-tFWBiv3h7z+T/tDaoxA8rqTxy1CHV6gHS//QdaH4pulbq/JuBSGgQspQQqcgnwdAx6pNI7cmvz5Sv/addzHmUg==} + /luxon@3.4.4: + resolution: {integrity: sha512-zobTr7akeGHnv7eBOXcRgMeCP6+uyYsczwmeRCauvpvaAltgNyTbLH/+VaEAPUeWBT+1GuNmz4wC/6jtQzbbVA==} engines: {node: '>=12'} dev: false @@ -19039,16 +18161,8 @@ packages: '@jridgewell/sourcemap-codec': 1.4.15 dev: true - /magic-string@0.30.4: - resolution: {integrity: sha512-Q/TKtsC5BPm0kGqgBIF9oXAs/xEf2vRKiIB4wCRQTJOQIByZ1d+NnUOotvJOvNpi5RNIgVOMC3pOuaP1ZTDlVg==} - engines: {node: '>=12'} - dependencies: - '@jridgewell/sourcemap-codec': 1.4.15 - dev: true - - /magic-string@0.30.7: - resolution: {integrity: sha512-8vBuFF/I/+OSLRmdf2wwFCJCz+nSn0m6DPvGH1fS/KiQoSaR+sETbov0eIk9KhEKy8CYqIkIAnbohxT/4H0kuA==} - engines: {node: '>=12'} + /magic-string@0.30.10: + resolution: {integrity: sha512-iIRwTIf0QKV3UAnYK4PU8uiEc4SRh5jX0mwpIwETPpHdhVM4f53RSwS/vXvN1JhGX+Cs7B8qIq3d6AH49O5fAQ==} dependencies: '@jridgewell/sourcemap-codec': 1.4.15 dev: true @@ -19079,47 +18193,25 @@ packages: resolution: {integrity: sha512-hXdUTZYIVOt1Ex//jAQi+wTZZpUpwBj/0QsOzqegb3rGMMeJiSEu5xLHnYfBrRV4RH2+OCSOO95Is/7x1WJ4bw==} engines: {node: '>=10'} dependencies: - semver: 7.5.4 + semver: 7.6.2 dev: true - /make-fetch-happen@11.1.1: - resolution: {integrity: sha512-rLWS7GCSTcEujjVBs2YqG7Y4643u8ucvCJeSRqiLYhesrDuzeuFIk37xREzAsfQaqzl8b9rNCE4m6J8tvX4Q8w==} - engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} - dependencies: - agentkeepalive: 4.5.0 - cacache: 17.1.4 - http-cache-semantics: 4.1.1 - http-proxy-agent: 5.0.0 - https-proxy-agent: 5.0.1 - is-lambda: 1.0.1 - lru-cache: 7.18.3 - minipass: 5.0.0 - minipass-fetch: 3.0.4 - minipass-flush: 1.0.5 - minipass-pipeline: 1.2.4 - negotiator: 0.6.3 - promise-retry: 2.0.1 - socks-proxy-agent: 7.0.0 - ssri: 10.0.5 - transitivePeerDependencies: - - supports-color - dev: false - - /make-fetch-happen@13.0.0: - resolution: {integrity: sha512-7ThobcL8brtGo9CavByQrQi+23aIfgYU++wg4B87AIS8Rb2ZBt/MEaDqzA00Xwv/jUjAjYkLHjVolYuTLKda2A==} + /make-fetch-happen@13.0.1: + resolution: {integrity: sha512-cKTUFc/rbKUd/9meOvgrpJ2WrNzymt6jfRDdwg5UCnVzv9dTpEj9JS5m3wtziXVCjluIXyL8pcaukYqezIzZQA==} engines: {node: ^16.14.0 || >=18.0.0} dependencies: - '@npmcli/agent': 2.2.0 - cacache: 18.0.0 + '@npmcli/agent': 2.2.2 + cacache: 18.0.3 http-cache-semantics: 4.1.1 is-lambda: 1.0.1 - minipass: 7.0.4 - minipass-fetch: 3.0.4 + minipass: 7.1.2 + minipass-fetch: 3.0.5 minipass-flush: 1.0.5 minipass-pipeline: 1.2.4 negotiator: 0.6.3 + proc-log: 4.2.0 promise-retry: 2.0.1 - ssri: 10.0.5 + ssri: 10.0.6 transitivePeerDependencies: - supports-color dev: false @@ -19161,13 +18253,13 @@ packages: uc.micro: 1.0.6 dev: true - /markdown-to-jsx@7.3.2(react@18.2.0): - resolution: {integrity: sha512-B+28F5ucp83aQm+OxNrPkS8z0tMKaeHiy0lHJs3LqCyDQFtWuenaIrkaVTgAm1pf1AU85LXltva86hlaT17i8Q==} + /markdown-to-jsx@7.4.7(react@18.3.1): + resolution: {integrity: sha512-0+ls1IQZdU6cwM1yu0ZjjiVWYtkbExSyUIFU2ZeDIFuZM1W42Mh4OlJ4nb4apX4H8smxDHRdFaoIVJGwfv5hkg==} engines: {node: '>= 10'} peerDependencies: react: '>= 0.14.0' dependencies: - react: 18.2.0 + react: 18.3.1 dev: true /mdast-util-definitions@4.0.0: @@ -19176,10 +18268,10 @@ packages: unist-util-visit: 2.0.3 dev: true - /mdast-util-from-markdown@2.0.0: - resolution: {integrity: sha512-n7MTOr/z+8NAX/wmhhDji8O3bRvPTV/U0oTCaZJkjhPSKTPhS3xufVhKGF8s1pJ7Ox4QgoIU7KHseh09S+9rTA==} + /mdast-util-from-markdown@2.0.1: + resolution: {integrity: sha512-aJEUyzZ6TzlsX2s5B4Of7lN7EQtAxvtradMMglCQDyaTFgse6CmtmdJ15ElnVRlCg1vpNyVtbem0PWzlNieZsA==} dependencies: - '@types/mdast': 4.0.3 + '@types/mdast': 4.0.4 '@types/unist': 3.0.2 decode-named-character-reference: 1.0.2 devlop: 1.1.0 @@ -19195,17 +18287,84 @@ packages: - supports-color dev: false - /mdast-util-to-hast@13.0.2: - resolution: {integrity: sha512-U5I+500EOOw9e3ZrclN3Is3fRpw8c19SMyNZlZ2IS+7vLsNzb2Om11VpIVOR+/0137GhZsFEF6YiKD5+0Hr2Og==} + /mdast-util-mdx-expression@2.0.0: + resolution: {integrity: sha512-fGCu8eWdKUKNu5mohVGkhBXCXGnOTLuFqOvGMvdikr+J1w7lDJgxThOKpwRWzzbyXAU2hhSwsmssOY4yTokluw==} dependencies: - '@types/hast': 3.0.3 - '@types/mdast': 4.0.3 + '@types/estree-jsx': 1.0.5 + '@types/hast': 3.0.4 + '@types/mdast': 4.0.4 + devlop: 1.1.0 + mdast-util-from-markdown: 2.0.1 + mdast-util-to-markdown: 2.1.0 + transitivePeerDependencies: + - supports-color + dev: false + + /mdast-util-mdx-jsx@3.1.2: + resolution: {integrity: sha512-eKMQDeywY2wlHc97k5eD8VC+9ASMjN8ItEZQNGwJ6E0XWKiW/Z0V5/H8pvoXUf+y+Mj0VIgeRRbujBmFn4FTyA==} + dependencies: + '@types/estree-jsx': 1.0.5 + '@types/hast': 3.0.4 + '@types/mdast': 4.0.4 + '@types/unist': 3.0.2 + ccount: 2.0.1 + devlop: 1.1.0 + mdast-util-from-markdown: 2.0.1 + mdast-util-to-markdown: 2.1.0 + parse-entities: 4.0.1 + stringify-entities: 4.0.4 + unist-util-remove-position: 5.0.0 + unist-util-stringify-position: 4.0.0 + vfile-message: 4.0.2 + transitivePeerDependencies: + - supports-color + dev: false + + /mdast-util-mdxjs-esm@2.0.1: + resolution: {integrity: sha512-EcmOpxsZ96CvlP03NghtH1EsLtr0n9Tm4lPUJUBccV9RwUOneqSycg19n5HGzCf+10LozMRSObtVr3ee1WoHtg==} + dependencies: + '@types/estree-jsx': 1.0.5 + '@types/hast': 3.0.4 + '@types/mdast': 4.0.4 + devlop: 1.1.0 + mdast-util-from-markdown: 2.0.1 + mdast-util-to-markdown: 2.1.0 + transitivePeerDependencies: + - supports-color + dev: false + + /mdast-util-phrasing@4.1.0: + resolution: {integrity: sha512-TqICwyvJJpBwvGAMZjj4J2n0X8QWp21b9l0o7eXyVJ25YNWYbJDVIyD1bZXE6WtV6RmKJVYmQAKWa0zWOABz2w==} + dependencies: + '@types/mdast': 4.0.4 + unist-util-is: 6.0.0 + dev: false + + /mdast-util-to-hast@13.2.0: + resolution: {integrity: sha512-QGYKEuUsYT9ykKBCMOEDLsU5JRObWQusAolFMeko/tYPufNkRffBAQjIE+99jbA87xv6FgmjLtwjh9wBWajwAA==} + dependencies: + '@types/hast': 3.0.4 + '@types/mdast': 4.0.4 '@ungap/structured-clone': 1.2.0 devlop: 1.1.0 micromark-util-sanitize-uri: 2.0.0 trim-lines: 3.0.1 unist-util-position: 5.0.0 unist-util-visit: 5.0.0 + vfile: 6.0.1 + dev: false + + /mdast-util-to-markdown@2.1.0: + resolution: {integrity: sha512-SR2VnIEdVNCJbP6y7kVTJgPLifdr8WEU440fQec7qHoHOUz/oJ2jmNRqdDQ3rbiStOXb2mCDGTuwsK5OPUgYlQ==} + dependencies: + '@types/mdast': 4.0.4 + '@types/unist': 3.0.2 + longest-streak: 3.1.0 + mdast-util-phrasing: 4.1.0 + mdast-util-to-string: 4.0.0 + micromark-util-decode-string: 2.0.0 + unist-util-visit: 5.0.0 + zwitch: 2.0.4 dev: false /mdast-util-to-string@1.1.0: @@ -19215,7 +18374,7 @@ packages: /mdast-util-to-string@4.0.0: resolution: {integrity: sha512-0H44vDimn51F0YwvxSJSm0eCDOJTRlmN0R1yBh4HLj9wiV1Dn0QoXGbvFAWj2hSItVTlCmBF1hqKlIyUBVFLPg==} dependencies: - '@types/mdast': 4.0.3 + '@types/mdast': 4.0.4 dev: false /mdn-data@2.0.14: @@ -19248,7 +18407,7 @@ packages: resolution: {integrity: sha512-r85E3NdZ+mpYk1C6RjPFEMSE+s1iZMuHtsHAqY0DT3jZczl0diWUZ8g6oU7h0M9cD2EL+PzaYghhCLzR0ZNn5Q==} engines: {node: '>=10'} dependencies: - '@types/minimist': 1.2.3 + '@types/minimist': 1.2.5 camelcase-keys: 6.2.2 decamelize-keys: 1.1.1 hard-rejection: 2.1.0 @@ -19275,8 +18434,8 @@ packages: resolution: {integrity: sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w==} engines: {node: '>= 0.6'} - /micromark-core-commonmark@2.0.0: - resolution: {integrity: sha512-jThOz/pVmAYUtkroV3D5c1osFXAMv9e0ypGDOIZuCeAe91/sD6BoE2Sjzt30yuXtwOYUmySOhMas/PVyh02itA==} + /micromark-core-commonmark@2.0.1: + resolution: {integrity: sha512-CUQyKr1e///ZODyD1U3xit6zXwy1a8q2a1S1HKtIlmgvurrEpaw/Y9y6KSIbF8P59cn/NjzHyO+Q2fAyYLQrAA==} dependencies: decode-named-character-reference: 1.0.2 devlop: 1.1.0 @@ -19285,13 +18444,13 @@ packages: micromark-factory-space: 2.0.0 micromark-factory-title: 2.0.0 micromark-factory-whitespace: 2.0.0 - micromark-util-character: 2.0.1 + micromark-util-character: 2.1.0 micromark-util-chunked: 2.0.0 micromark-util-classify-character: 2.0.0 micromark-util-html-tag-name: 2.0.0 micromark-util-normalize-identifier: 2.0.0 micromark-util-resolve-all: 2.0.0 - micromark-util-subtokenize: 2.0.0 + micromark-util-subtokenize: 2.0.1 micromark-util-symbol: 2.0.0 micromark-util-types: 2.0.0 dev: false @@ -19299,7 +18458,7 @@ packages: /micromark-factory-destination@2.0.0: resolution: {integrity: sha512-j9DGrQLm/Uhl2tCzcbLhy5kXsgkHUrjJHg4fFAeoMRwJmJerT9aw4FEhIbZStWN8A3qMwOp1uzHr4UL8AInxtA==} dependencies: - micromark-util-character: 2.0.1 + micromark-util-character: 2.1.0 micromark-util-symbol: 2.0.0 micromark-util-types: 2.0.0 dev: false @@ -19308,7 +18467,7 @@ packages: resolution: {integrity: sha512-RR3i96ohZGde//4WSe/dJsxOX6vxIg9TimLAS3i4EhBAFx8Sm5SmqVfR8E87DPSR31nEAjZfbt91OMZWcNgdZw==} dependencies: devlop: 1.1.0 - micromark-util-character: 2.0.1 + micromark-util-character: 2.1.0 micromark-util-symbol: 2.0.0 micromark-util-types: 2.0.0 dev: false @@ -19316,7 +18475,7 @@ packages: /micromark-factory-space@2.0.0: resolution: {integrity: sha512-TKr+LIDX2pkBJXFLzpyPyljzYK3MtmllMUMODTQJIUfDGncESaqB90db9IAUcz4AZAJFdd8U9zOp9ty1458rxg==} dependencies: - micromark-util-character: 2.0.1 + micromark-util-character: 2.1.0 micromark-util-types: 2.0.0 dev: false @@ -19324,7 +18483,7 @@ packages: resolution: {integrity: sha512-jY8CSxmpWLOxS+t8W+FG3Xigc0RDQA9bKMY/EwILvsesiRniiVMejYTE4wumNc2f4UbAa4WsHqe3J1QS1sli+A==} dependencies: micromark-factory-space: 2.0.0 - micromark-util-character: 2.0.1 + micromark-util-character: 2.1.0 micromark-util-symbol: 2.0.0 micromark-util-types: 2.0.0 dev: false @@ -19333,13 +18492,13 @@ packages: resolution: {integrity: sha512-28kbwaBjc5yAI1XadbdPYHX/eDnqaUFVikLwrO7FDnKG7lpgxnvk/XGRhX/PN0mOZ+dBSZ+LgunHS+6tYQAzhA==} dependencies: micromark-factory-space: 2.0.0 - micromark-util-character: 2.0.1 + micromark-util-character: 2.1.0 micromark-util-symbol: 2.0.0 micromark-util-types: 2.0.0 dev: false - /micromark-util-character@2.0.1: - resolution: {integrity: sha512-3wgnrmEAJ4T+mGXAUfMvMAbxU9RDG43XmGce4j6CwPtVxB3vfwXSZ6KhFwDzZ3mZHhmPimMAXg71veiBGzeAZw==} + /micromark-util-character@2.1.0: + resolution: {integrity: sha512-KvOVV+X1yLBfs9dCBSopq/+G1PcgT3lAK07mC4BzXi5E7ahzMAF8oIupDDJ6mievI6F+lAATkbQQlQixJfT3aQ==} dependencies: micromark-util-symbol: 2.0.0 micromark-util-types: 2.0.0 @@ -19354,7 +18513,7 @@ packages: /micromark-util-classify-character@2.0.0: resolution: {integrity: sha512-S0ze2R9GH+fu41FA7pbSqNWObo/kzwf8rN/+IGlW/4tC6oACOs8B++bh+i9bVyNnwCcuksbFwsBme5OCKXCwIw==} dependencies: - micromark-util-character: 2.0.1 + micromark-util-character: 2.1.0 micromark-util-symbol: 2.0.0 micromark-util-types: 2.0.0 dev: false @@ -19376,7 +18535,7 @@ packages: resolution: {integrity: sha512-r4Sc6leeUTn3P6gk20aFMj2ntPwn6qpDZqWvYmAG6NgvFTIlj4WtrAudLi65qYoaGdXYViXYw2pkmn7QnIFasA==} dependencies: decode-named-character-reference: 1.0.2 - micromark-util-character: 2.0.1 + micromark-util-character: 2.1.0 micromark-util-decode-numeric-character-reference: 2.0.1 micromark-util-symbol: 2.0.0 dev: false @@ -19404,13 +18563,13 @@ packages: /micromark-util-sanitize-uri@2.0.0: resolution: {integrity: sha512-WhYv5UEcZrbAtlsnPuChHUAsu/iBPOVaEVsntLBIdpibO0ddy8OzavZz3iL2xVvBZOpolujSliP65Kq0/7KIYw==} dependencies: - micromark-util-character: 2.0.1 + micromark-util-character: 2.1.0 micromark-util-encode: 2.0.0 micromark-util-symbol: 2.0.0 dev: false - /micromark-util-subtokenize@2.0.0: - resolution: {integrity: sha512-vc93L1t+gpR3p8jxeVdaYlbV2jTYteDje19rNSS/H5dlhxUYll5Fy6vJ2cDwP8RnsXi818yGty1ayP55y3W6fg==} + /micromark-util-subtokenize@2.0.1: + resolution: {integrity: sha512-jZNtiFl/1aY73yS3UGQkutD0UbhTt68qnRpw2Pifmz5wV9h8gOVsN70v+Lq/f1rKaU/W8pxRe8y8Q9FX1AOe1Q==} dependencies: devlop: 1.1.0 micromark-util-chunked: 2.0.0 @@ -19430,12 +18589,12 @@ packages: resolution: {integrity: sha512-o/sd0nMof8kYff+TqcDx3VSrgBTcZpSvYcAHIfHhv5VAuNmisCxjhx6YmxS8PFEpb9z5WKWKPdzf0jM23ro3RQ==} dependencies: '@types/debug': 4.1.12 - debug: 4.3.4(supports-color@5.5.0) + debug: 4.3.5(supports-color@5.5.0) decode-named-character-reference: 1.0.2 devlop: 1.1.0 - micromark-core-commonmark: 2.0.0 + micromark-core-commonmark: 2.0.1 micromark-factory-space: 2.0.0 - micromark-util-character: 2.0.1 + micromark-util-character: 2.1.0 micromark-util-chunked: 2.0.0 micromark-util-combine-extensions: 2.0.0 micromark-util-decode-numeric-character-reference: 2.0.1 @@ -19443,18 +18602,18 @@ packages: micromark-util-normalize-identifier: 2.0.0 micromark-util-resolve-all: 2.0.0 micromark-util-sanitize-uri: 2.0.0 - micromark-util-subtokenize: 2.0.0 + micromark-util-subtokenize: 2.0.1 micromark-util-symbol: 2.0.0 micromark-util-types: 2.0.0 transitivePeerDependencies: - supports-color dev: false - /micromatch@4.0.5: - resolution: {integrity: sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==} + /micromatch@4.0.7: + resolution: {integrity: sha512-LPP/3KorzCwBxfeUuZmaR6bG2kdeHSbe0P2tY3FLRU4vYrjYz5hI4QZwV0njUx3jeuKe67YukQ1LSPZBKDqO/Q==} engines: {node: '>=8.6'} dependencies: - braces: 3.0.2 + braces: 3.0.3 picomatch: 2.3.1 /mime-db@1.52.0: @@ -19505,13 +18664,6 @@ packages: dependencies: brace-expansion: 1.1.11 - /minimatch@5.1.0: - resolution: {integrity: sha512-9TPBGGak4nHfGZsPBohm9AWg6NoT7QTCehS3BIJABslyZbzxfV78QM2Y6+i741OPZIafFAaiiEMh5OyIrJPgtg==} - engines: {node: '>=10'} - dependencies: - brace-expansion: 2.0.1 - dev: true - /minimatch@5.1.6: resolution: {integrity: sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==} engines: {node: '>=10'} @@ -19523,6 +18675,7 @@ packages: engines: {node: '>=16 || 14 >=14.17'} dependencies: brace-expansion: 2.0.1 + dev: true /minimatch@9.0.4: resolution: {integrity: sha512-KqWh+VchfxcMNRAJjj2tnsSJdNbHsVgnkBhTNrW7AjVo6OvLtxw8zfT9oLw1JSohlFzJ8jCoTgaoXvJ+kHt6fw==} @@ -19542,18 +18695,18 @@ packages: /minimist@1.2.8: resolution: {integrity: sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==} - /minipass-collect@1.0.2: - resolution: {integrity: sha512-6T6lH0H8OG9kITm/Jm6tdooIbogG9e0tLgpY6mphXSm/A9u8Nq1ryBG+Qspiub9LjWlBPsPS3tWQ/Botq4FdxA==} - engines: {node: '>= 8'} + /minipass-collect@2.0.1: + resolution: {integrity: sha512-D7V8PO9oaz7PWGLbCACuI1qEOsq7UKfLotx/C0Aet43fCUB/wfQ7DYeq2oR/svFJGYDHPr38SHATeaj/ZoKHKw==} + engines: {node: '>=16 || 14 >=14.17'} dependencies: - minipass: 3.3.6 + minipass: 7.1.2 dev: false - /minipass-fetch@3.0.4: - resolution: {integrity: sha512-jHAqnA728uUpIaFm7NWsCnqKT6UqZz7GcI/bDpPATuwYyKwJwW0remxSCxUlKiEty+eopHGa3oc8WxgQ1FFJqg==} + /minipass-fetch@3.0.5: + resolution: {integrity: sha512-2N8elDQAtSnFV0Dk7gt15KHsS0Fyz6CbYZ360h0WTYV1Ty46li3rAXVOQj1THMNLdmrD9Vt5pBPtWtVkpwGBqg==} engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} dependencies: - minipass: 7.0.4 + minipass: 7.1.2 minipass-sized: 1.0.3 minizlib: 2.1.2 optionalDependencies: @@ -19567,13 +18720,6 @@ packages: minipass: 3.3.6 dev: false - /minipass-json-stream@1.0.1: - resolution: {integrity: sha512-ODqY18UZt/I8k+b7rl2AENgbWE8IDYam+undIJONvigAz8KR5GWblsFTEfQs0WODsjbSXWlm+JHEv8Gr6Tfdbg==} - dependencies: - jsonparse: 1.3.1 - minipass: 3.3.6 - dev: false - /minipass-pipeline@1.2.4: resolution: {integrity: sha512-xuIq7cIOt09RPRJ19gdi4b+RiNvDFYe5JH+ggNvBqGqpQXcru3PcRmOZuHBKWK1Txf9+cQ+HMVN4d6z46LZP7A==} engines: {node: '>=8'} @@ -19603,8 +18749,8 @@ packages: resolution: {integrity: sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ==} engines: {node: '>=8'} - /minipass@7.0.4: - resolution: {integrity: sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ==} + /minipass@7.1.2: + resolution: {integrity: sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==} engines: {node: '>=16 || 14 >=14.17'} /minizlib@2.1.2: @@ -19631,13 +18777,13 @@ packages: engines: {node: '>=10'} hasBin: true - /mlly@1.4.2: - resolution: {integrity: sha512-i/Ykufi2t1EZ6NaPLdfnZk2AX8cs0d+mTzVKuPfqPKPatxLApaBoxJQ9x1/uckXtrS/U5oisPMDkNs0yQTaBRg==} + /mlly@1.7.1: + resolution: {integrity: sha512-rrVRZRELyQzrIUAVMHxP97kv+G786pHmOKzuFII8zDYahFBS7qnHh2AlYSl1GAHhaMPCz6/oHjVMcfFYgFYHgA==} dependencies: - acorn: 8.10.0 - pathe: 1.1.1 - pkg-types: 1.0.3 - ufo: 1.3.1 + acorn: 8.12.0 + pathe: 1.1.2 + pkg-types: 1.1.1 + ufo: 1.5.3 /mnemonist@0.38.3: resolution: {integrity: sha512-2K9QYubXx/NAjv4VLq1d1Ly8pWNC5L3BrixtdkyTegXWJIqY+zLNDhhX/A+ZwWt70tB1S8H4BE8FLYEFyNoOBw==} @@ -19648,7 +18794,7 @@ packages: /mock-gcs@1.2.0: resolution: {integrity: sha512-/RsqqS9ZsjFnTNTYjOwW7q0y9Y84idZVNMA+S9kVdbWjPVq92jzxNWqBmOIEFY9D2O1JZw+wyGh9gwuMm3TT+g==} dependencies: - stream-buffers: 3.0.2 + stream-buffers: 3.0.3 dev: true /modify-values@1.0.1: @@ -19659,6 +18805,7 @@ packages: /mri@1.2.0: resolution: {integrity: sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA==} engines: {node: '>=4'} + dev: false /ms@2.0.0: resolution: {integrity: sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==} @@ -19684,11 +18831,11 @@ packages: object-assign: 4.1.1 thenify-all: 1.6.0 - /nan@2.19.0: - resolution: {integrity: sha512-nO1xXxfh/RWNxfd/XPfbIfFk5vgLsAxUR9y5O0cHMJu/AW9U95JLXqthYHjEp+8gQ5p96K9jUp8nbVOxCdRbtw==} + /nan@2.20.0: + resolution: {integrity: sha512-bk3gXBZDGILuuo/6sKtr0DQmSThYHLtNCdSdXk9YkxD/jK6X2vmCyyXBBxyqZ4XcnzTyYEAThfX3DCEnLf6igw==} dev: true - /nano-css@5.6.1(react-dom@18.2.0)(react@18.2.0): + /nano-css@5.6.1(react-dom@18.3.1)(react@18.3.1): resolution: {integrity: sha512-T2Mhc//CepkTa3X4pUhKgbEheJHYAxD0VptuqFhDbGMUWVV2m+lkNiW/Ieuj35wrfC8Zm0l7HvssQh7zcEttSw==} peerDependencies: react: '*' @@ -19696,20 +18843,14 @@ packages: dependencies: '@jridgewell/sourcemap-codec': 1.4.15 css-tree: 1.1.3 - csstype: 3.1.2 + csstype: 3.1.3 fastest-stable-stringify: 2.0.2 inline-style-prefixer: 7.0.0 - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) + react: 18.3.1 + react-dom: 18.3.1(react@18.3.1) rtl-css-js: 1.16.1 stacktrace-js: 2.0.2 - stylis: 4.3.0 - dev: false - - /nanoid@3.3.6: - resolution: {integrity: sha512-BGcqMMJuToF7i1rt+2PWSNVnWIkGCU78jBG3RxO/bZlnZPK2Cmi2QaffxGO/2RvWi9sL+FAiRiXMgsyxQ1DIDA==} - engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} - hasBin: true + stylis: 4.3.2 dev: false /nanoid@3.3.7: @@ -19758,22 +18899,22 @@ packages: resolution: {integrity: sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==} dev: true - /nise@5.1.4: - resolution: {integrity: sha512-8+Ib8rRJ4L0o3kfmyVCL7gzrohyDe0cMFTBa2d364yIrEGMEoetznKJx899YxjybU6bL9SQkYPSBBs1gyYs8Xg==} + /nise@5.1.9: + resolution: {integrity: sha512-qOnoujW4SV6e40dYxJOb3uvuoPHtmLzIk4TFo+j0jPJoC+5Z9xja5qH5JZobEPsa8+YYphMrOSwnrshEhG2qww==} dependencies: - '@sinonjs/commons': 2.0.0 - '@sinonjs/fake-timers': 10.3.0 + '@sinonjs/commons': 3.0.1 + '@sinonjs/fake-timers': 11.2.2 '@sinonjs/text-encoding': 0.7.2 - just-extend: 4.2.1 - path-to-regexp: 1.8.0 + just-extend: 6.2.0 + path-to-regexp: 6.2.2 dev: true - /node-abi@3.47.0: - resolution: {integrity: sha512-2s6B2CWZM//kPgwnuI0KrYwNjfdByE25zvAaEpq9IH4zcNsarH8Ihu/UuX6XMPEogDAxkuUFeZn60pXNHAqn3A==} + /node-abi@3.65.0: + resolution: {integrity: sha512-ThjYBfoDNr08AWx6hGaRbfPwxKV9kVzAzOzlLKbk2CuqXE2xnCh+cbAGnwM3t8Lq4v9rUB7VfondlkBckcJrVA==} engines: {node: '>=10'} requiresBuild: true dependencies: - semver: 7.5.4 + semver: 7.6.2 dev: true /node-addon-api@4.3.0: @@ -19804,20 +18945,8 @@ packages: engines: {node: '>=10.5.0'} dev: true - /node-fetch-native@1.4.0: - resolution: {integrity: sha512-F5kfEj95kX8tkDhUCYdV8dg3/8Olx/94zB8+ZNthFs6Bz31UpUi8Xh40TN3thLwXgrwXry1pEg9lJ++tLWTcqA==} - - /node-fetch@2.6.7: - resolution: {integrity: sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==} - engines: {node: 4.x || >=6.0.0} - peerDependencies: - encoding: ^0.1.0 - peerDependenciesMeta: - encoding: - optional: true - dependencies: - whatwg-url: 5.0.0 - dev: true + /node-fetch-native@1.6.4: + resolution: {integrity: sha512-IhOigYzAKHd244OC0JIMIUrjzctirCmPkaIfhDeGcEETWof5zKYUW7e7MYvChGWh/4CJeXEgsRyGzuF334rOOQ==} /node-fetch@2.7.0: resolution: {integrity: sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==} @@ -19844,27 +18973,26 @@ packages: engines: {node: '>= 6.13.0'} dev: false - /node-gyp-build@4.8.0: - resolution: {integrity: sha512-u6fs2AEUljNho3EYTJNBfImO5QTo/J/1Etd+NVdCj7qWKUSN/bSLkZwhDv7I+w/MSC6qJ4cknepkAYykDdK8og==} + /node-gyp-build@4.8.1: + resolution: {integrity: sha512-OSs33Z9yWr148JZcbZd5WiAXhh/n9z8TxQcdMhIOlpN9AhWpLfvVFO73+m77bBABQMaY9XSvIa+qk0jlI7Gcaw==} hasBin: true dev: false - /node-gyp@9.4.0: - resolution: {integrity: sha512-dMXsYP6gc9rRbejLXmTbVRYjAHw7ppswsKyMxuxJxxOHzluIO1rGp9TOQgjFJ+2MCqcOcQTOPB/8Xwhr+7s4Eg==} - engines: {node: ^12.13 || ^14.13 || >=16} + /node-gyp@10.1.0: + resolution: {integrity: sha512-B4J5M1cABxPc5PwfjhbV5hoy2DP9p8lFXASnEN6hugXOa61416tnTZ29x9sSwAd0o99XNIcpvDDy1swAExsVKA==} + engines: {node: ^16.14.0 || >=18.0.0} hasBin: true dependencies: env-paths: 2.2.1 exponential-backoff: 3.1.1 - glob: 7.2.3 + glob: 10.4.2 graceful-fs: 4.2.11 - make-fetch-happen: 11.1.1 - nopt: 6.0.0 - npmlog: 6.0.2 - rimraf: 3.0.2 - semver: 7.5.4 - tar: 6.2.0 - which: 2.0.2 + make-fetch-happen: 13.0.1 + nopt: 7.2.1 + proc-log: 3.0.0 + semver: 7.6.2 + tar: 6.2.1 + which: 4.0.0 transitivePeerDependencies: - supports-color dev: false @@ -19873,48 +19001,29 @@ packages: resolution: {integrity: sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw==} dev: true - /node-releases@2.0.13: - resolution: {integrity: sha512-uYr7J37ae/ORWdZeQ1xxMJe3NtdmqMC/JZK+geofDrkLUApKRHPd18/TxtBOJ4A0/+uUIliorNrfYV6s1b02eQ==} - dev: true - /node-releases@2.0.14: resolution: {integrity: sha512-y10wOWt8yZpqXmOgRo77WaHEmhYQYGNA6y421PKsKYWEK8aW+cqAphborZDhqfyKrbZEN92CN1X2KbafY2s7Yw==} dev: true - /nodemon@3.1.0: - resolution: {integrity: sha512-xqlktYlDMCepBJd43ZQhjWwMw2obW/JRvkrLxq5RCNcuDDX1DbcPT+qT1IlIIdf+DhnWs90JpTMe+Y5KxOchvA==} + /nodemon@3.1.4: + resolution: {integrity: sha512-wjPBbFhtpJwmIeY2yP7QF+UKzPfltVGtfce1g/bB15/8vCGZj8uxD62b/b9M9/WVgme0NZudpownKN+c0plXlQ==} engines: {node: '>=10'} hasBin: true dependencies: - chokidar: 3.5.3 - debug: 4.3.4(supports-color@5.5.0) + chokidar: 3.6.0 + debug: 4.3.5(supports-color@5.5.0) ignore-by-default: 1.0.1 minimatch: 3.1.2 pstree.remy: 1.1.8 - semver: 7.5.4 + semver: 7.6.2 simple-update-notifier: 2.0.0 supports-color: 5.5.0 - touch: 3.1.0 + touch: 3.1.1 undefsafe: 2.0.5 dev: true - /nopt@1.0.10: - resolution: {integrity: sha512-NWmpvLSqUrgrAC9HCuxEvb+PSloHpqVu+FqcO4eeF2h5qYRhA7ev6KvelyQAKtegUbC6RypJnlEOhd8vloNKYg==} - hasBin: true - dependencies: - abbrev: 1.1.1 - dev: true - - /nopt@6.0.0: - resolution: {integrity: sha512-ZwLpbTgdhuZUnZzjd7nb1ZV+4DoiC6/sfiVKok72ym/4Tlf+DFdlHYmT2JPmcNNWV6Pi3SDf1kT+A4r9RTuT9g==} - engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0} - hasBin: true - dependencies: - abbrev: 1.1.1 - dev: false - - /nopt@7.2.0: - resolution: {integrity: sha512-CVDtwCdhYIvnAzFoJ6NJ6dX3oga9/HyciQDnG1vQDjSLMeKLJ4A93ZqYKDrgYSr1FBY5/hMYC+2VCi24pgpkGA==} + /nopt@7.2.1: + resolution: {integrity: sha512-taM24ViiimT/XntxbPyJQzCG+p4EKOpgD3mxFwW38mGjVUrfERQOeY4EDHjdnptttfHuHQXFx+lTP08Q+mLa/w==} engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} hasBin: true dependencies: @@ -19934,8 +19043,8 @@ packages: engines: {node: '>=10'} dependencies: hosted-git-info: 4.1.0 - is-core-module: 2.13.0 - semver: 7.5.4 + is-core-module: 2.14.0 + semver: 7.6.2 validate-npm-package-license: 3.0.4 dev: true @@ -19944,18 +19053,18 @@ packages: engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} dependencies: hosted-git-info: 6.1.1 - is-core-module: 2.13.0 - semver: 7.5.4 + is-core-module: 2.14.0 + semver: 7.6.2 validate-npm-package-license: 3.0.4 dev: false - /normalize-package-data@6.0.0: - resolution: {integrity: sha512-UL7ELRVxYBHBgYEtZCXjxuD5vPxnmvMGq0jp/dGPKKrN7tfsBh2IY7TlJ15WWwdjRWD3RJbnsygUurTK3xkPkg==} + /normalize-package-data@6.0.1: + resolution: {integrity: sha512-6rvCfeRW+OEZagAB4lMLSNuTNYZWLVtKccK79VSTf//yTY5VOCgcpH80O+bZK8Neps7pUnd5G+QlMg1yV/2iZQ==} engines: {node: ^16.14.0 || >=18.0.0} dependencies: - hosted-git-info: 7.0.1 - is-core-module: 2.13.0 - semver: 7.5.4 + hosted-git-info: 7.0.2 + is-core-module: 2.14.0 + semver: 7.6.2 validate-npm-package-license: 3.0.4 dev: false @@ -19972,8 +19081,8 @@ packages: resolution: {integrity: sha512-3e9FwDyRAhbxXw4slm4Tjv40u78yPwMc/WZkACpqNQOs5sM7wic853AeTLkMFEVhivZkclGYlse8iYsklz0Yvg==} dev: false - /npm-bundled@3.0.0: - resolution: {integrity: sha512-Vq0eyEQy+elFpzsKjMss9kxqb9tG3YHg4dsyWuUENuzvSUWe1TCnW/vV9FkhvBk/brEDoDiVd+M1Btosa6ImdQ==} + /npm-bundled@3.0.1: + resolution: {integrity: sha512-+AvaheE/ww1JEwRHOrn4WHNzOxGtVp+adrg2AeZS/7KuxGUYFuBta98wYpfHBbJp6Tg6j1NKSEVHNcfZzJHQwQ==} engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} dependencies: npm-normalize-package-bin: 3.0.1 @@ -19983,7 +19092,7 @@ packages: resolution: {integrity: sha512-W29RiK/xtpCGqn6f3ixfRYGk+zRyr+Ew9F2E20BfXxT5/euLdA/Nm7fO7OeTGuAmTs30cpgInyJ0cYe708YTZw==} engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} dependencies: - semver: 7.5.4 + semver: 7.6.2 dev: false /npm-normalize-package-bin@3.0.1: @@ -19991,21 +19100,21 @@ packages: engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} dev: false - /npm-package-arg@11.0.1: - resolution: {integrity: sha512-M7s1BD4NxdAvBKUPqqRW957Xwcl/4Zvo8Aj+ANrzvIPzGJZElrH7Z//rSaec2ORcND6FHHLnZeY8qgTpXDMFQQ==} + /npm-package-arg@11.0.2: + resolution: {integrity: sha512-IGN0IAwmhDJwy13Wc8k+4PEbTPhpJnMtfR53ZbOyjkvmEcLS4nCwp6mvMWjS5sUjeiW3mpx6cHmuhKEu9XmcQw==} engines: {node: ^16.14.0 || >=18.0.0} dependencies: - hosted-git-info: 7.0.1 - proc-log: 3.0.0 - semver: 7.5.4 - validate-npm-package-name: 5.0.0 + hosted-git-info: 7.0.2 + proc-log: 4.2.0 + semver: 7.6.2 + validate-npm-package-name: 5.0.1 dev: false - /npm-packlist@8.0.0: - resolution: {integrity: sha512-ErAGFB5kJUciPy1mmx/C2YFbvxoJ0QJ9uwkCZOeR6CqLLISPZBOiFModAbSXnjjlwW5lOhuhXva+fURsSGJqyw==} + /npm-packlist@8.0.2: + resolution: {integrity: sha512-shYrPFIS/JLP4oQmAwDyk5HcyysKW8/JLTEA32S0Z5TzvpaeeX2yMFfoK1fjEBnCBvVyIB/Jj/GBFdm0wsgzbA==} engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} dependencies: - ignore-walk: 6.0.3 + ignore-walk: 6.0.5 dev: false /npm-path@2.0.4: @@ -20015,27 +19124,28 @@ packages: dependencies: which: 1.3.1 - /npm-pick-manifest@9.0.0: - resolution: {integrity: sha512-VfvRSs/b6n9ol4Qb+bDwNGUXutpy76x6MARw/XssevE0TnctIKcmklJZM5Z7nqs5z5aW+0S63pgCNbpkUNNXBg==} + /npm-pick-manifest@9.0.1: + resolution: {integrity: sha512-Udm1f0l2nXb3wxDpKjfohwgdFUSV50UVwzEIpDXVsbDMXVIEF81a/i0UhuQbhrPMMmdiq3+YMFLFIRVLs3hxQw==} engines: {node: ^16.14.0 || >=18.0.0} dependencies: npm-install-checks: 6.3.0 npm-normalize-package-bin: 3.0.1 - npm-package-arg: 11.0.1 - semver: 7.5.4 + npm-package-arg: 11.0.2 + semver: 7.6.2 dev: false - /npm-registry-fetch@16.0.0: - resolution: {integrity: sha512-JFCpAPUpvpwfSydv99u85yhP68rNIxSFmDpNbNnRWKSe3gpjHnWL8v320gATwRzjtgmZ9Jfe37+ZPOLZPwz6BQ==} + /npm-registry-fetch@17.1.0: + resolution: {integrity: sha512-5+bKQRH0J1xG1uZ1zMNvxW0VEyoNWgJpY9UDuluPFLKDfJ9u2JmmjmTJV1srBGQOROfdBMiVvnH2Zvpbm+xkVA==} engines: {node: ^16.14.0 || >=18.0.0} dependencies: - make-fetch-happen: 13.0.0 - minipass: 7.0.4 - minipass-fetch: 3.0.4 - minipass-json-stream: 1.0.1 + '@npmcli/redact': 2.0.1 + jsonparse: 1.3.1 + make-fetch-happen: 13.0.1 + minipass: 7.1.2 + minipass-fetch: 3.0.5 minizlib: 2.1.2 - npm-package-arg: 11.0.1 - proc-log: 3.0.0 + npm-package-arg: 11.0.2 + proc-log: 4.2.0 transitivePeerDependencies: - supports-color dev: false @@ -20046,8 +19156,8 @@ packages: dependencies: path-key: 3.1.1 - /npm-run-path@5.1.0: - resolution: {integrity: sha512-sJOdmRGrY2sjNTRMbSvluQqg+8X7ZK61yvzBEIDhz4f8z1TZFYABsqjjCBd/0PUNE9M6QDgHJXQkGUEm7Q+l9Q==} + /npm-run-path@5.3.0: + resolution: {integrity: sha512-ppwTtiJZq0O/ai0z7yfudtBpWIoxM8yE6nHi1X47eFR2EWORqfbu6CnPlNsjeN683eT0qG6H/Pyf9fCcvjnnnQ==} engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} dependencies: path-key: 4.0.0 @@ -20061,8 +19171,8 @@ packages: npm-path: 2.0.4 which: 1.3.1 - /npm@9.9.0: - resolution: {integrity: sha512-wkd7sjz4KmdmddYQcd0aTP73P1cEuPlekeulz4jTDeMVx/Zo5XZ5KQ1z3eUzV3Q/WZpEO0NJXTrD5FNFe6fhCA==} + /npm@9.9.3: + resolution: {integrity: sha512-Z1l+rcQ5kYb17F3hHtO601arEpvdRYnCLtg8xo3AGtyj3IthwaraEOexI9903uANkifFbqHC8hT53KIrozWg8A==} engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} hasBin: true dev: true @@ -20138,32 +19248,23 @@ packages: - which - write-file-atomic - /npmlog@6.0.2: - resolution: {integrity: sha512-/vBvz5Jfr9dT/aFWd0FIRf+T/Q2WBsLENygUaFUqstqsycmZAP/t5BvFJTK0viFmSUxiUKTUplWy5vt+rvKIxg==} - engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0} - dependencies: - are-we-there-yet: 3.0.1 - console-control-strings: 1.1.0 - gauge: 4.0.4 - set-blocking: 2.0.0 - dev: false - - /npmlog@7.0.1: - resolution: {integrity: sha512-uJ0YFk/mCQpLBt+bxN88AKd+gyqZvZDbtiNxk6Waqcj2aPRyfVx8ITawkyQynxUagInjdYT1+qj4NfA5KJJUxg==} - engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} - dependencies: - are-we-there-yet: 4.0.1 - console-control-strings: 1.1.0 - gauge: 5.0.1 - set-blocking: 2.0.0 - dev: false - /nth-check@2.1.1: resolution: {integrity: sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w==} dependencies: boolbase: 1.0.0 dev: true + /nypm@0.3.8: + resolution: {integrity: sha512-IGWlC6So2xv6V4cIDmoV0SwwWx7zLG086gyqkyumteH2fIgCAM4nDVFB2iDRszDvmdSVW9xb1N+2KjQ6C7d4og==} + engines: {node: ^14.16.0 || >=16.10.0} + hasBin: true + dependencies: + citty: 0.1.6 + consola: 3.2.3 + execa: 8.0.1 + pathe: 1.1.2 + ufo: 1.5.3 + /object-assign@4.1.1: resolution: {integrity: sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==} engines: {node: '>=0.10.0'} @@ -20177,69 +19278,72 @@ packages: resolution: {integrity: sha512-RSn9F68PjH9HqtltsSnqYC1XXoWe9Bju5+213R98cNGttag9q9yAOTzdbsqvIa7aNm5WffBZFpWYr2aWrklWAw==} engines: {node: '>= 6'} - /object-inspect@1.12.3: - resolution: {integrity: sha512-geUvdk7c+eizMNUDkRpW1wJwgfOiOeHbxBR/hLXK1aT6zmVSO0jsQcs7fj6MGw89jC/cjGfLcNOrtMYtGqm81g==} + /object-inspect@1.13.2: + resolution: {integrity: sha512-IRZSRuzJiynemAXPYtPe5BoI/RESNYR7TYm50MC5Mqbd3Jmw5y790sErYw3V6SryFJD64b74qQQs9wn5Bg/k3g==} + engines: {node: '>= 0.4'} - /object-is@1.1.5: - resolution: {integrity: sha512-3cyDsyHgtmi7I7DfSSI2LDp6SK2lwvtbg0p0R1e0RvTqF5ceGx+K2dfSjm1bKDMVCFEDAQvy+o8c6a7VujOddw==} + /object-is@1.1.6: + resolution: {integrity: sha512-F8cZ+KfGlSGi09lJT7/Nd6KJZ9ygtvYC0/UYYLI9nmQKLMnydpB9yvbv9K1uSkEu7FU9vYPmVwLg328tX+ot3Q==} engines: {node: '>= 0.4'} dependencies: - call-bind: 1.0.5 + call-bind: 1.0.7 define-properties: 1.2.1 - dev: true /object-keys@1.1.1: resolution: {integrity: sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==} engines: {node: '>= 0.4'} - /object.assign@4.1.4: - resolution: {integrity: sha512-1mxKf0e58bvyjSCtKYY4sRe9itRk3PJpquJOjeIkz885CczcI4IvJJDLPS72oowuSh+pBxUFROpX+TU++hxhZQ==} + /object.assign@4.1.5: + resolution: {integrity: sha512-byy+U7gp+FVwmyzKPYhW2h5l3crpmGsxl7X2s8y43IgxvG4g3QZ6CffDtsNQy1WsmZpQbO+ybo0AlW7TY6DcBQ==} engines: {node: '>= 0.4'} dependencies: - call-bind: 1.0.5 + call-bind: 1.0.7 define-properties: 1.2.1 has-symbols: 1.0.3 object-keys: 1.1.1 - /object.entries@1.1.7: - resolution: {integrity: sha512-jCBs/0plmPsOnrKAfFQXRG2NFjlhZgjjcBLSmTnEhU8U6vVTsVe8ANeQJCHTl3gSsI4J+0emOoCgoKlmQPMgmA==} + /object.entries@1.1.8: + resolution: {integrity: sha512-cmopxi8VwRIAw/fkijJohSfpef5PdN0pMQJN6VC/ZKvn0LIknWD8KtgY6KlQdEc4tIjcQ3HxSMmnvtzIscdaYQ==} engines: {node: '>= 0.4'} dependencies: - call-bind: 1.0.2 + call-bind: 1.0.7 define-properties: 1.2.1 - es-abstract: 1.22.2 + es-object-atoms: 1.0.0 dev: false - /object.fromentries@2.0.7: - resolution: {integrity: sha512-UPbPHML6sL8PI/mOqPwsH4G6iyXcCGzLin8KvEPenOZN5lpCNBZZQ+V62vdjB1mQHrmqGQt5/OJzemUA+KJmEA==} + /object.fromentries@2.0.8: + resolution: {integrity: sha512-k6E21FzySsSK5a21KRADBd/NGneRegFO5pLHfdQLpRDETUNJueLXs3WCzyQ3tFRDYgbq3KHGXfTbi2bs8WQ6rQ==} engines: {node: '>= 0.4'} dependencies: - call-bind: 1.0.2 + call-bind: 1.0.7 define-properties: 1.2.1 - es-abstract: 1.22.2 + es-abstract: 1.23.3 + es-object-atoms: 1.0.0 - /object.groupby@1.0.1: - resolution: {integrity: sha512-HqaQtqLnp/8Bn4GL16cj+CUYbnpe1bh0TtEaWvybszDG4tgxCJuRpV8VGuvNaI1fAnI4lUJzDG55MXcOH4JZcQ==} + /object.groupby@1.0.3: + resolution: {integrity: sha512-+Lhy3TQTuzXI5hevh8sBGqbmurHbbIjAi0Z4S63nthVLmLxfbj4T54a4CfZrXIrt9iP4mVAPYMo/v99taj3wjQ==} + engines: {node: '>= 0.4'} dependencies: - call-bind: 1.0.2 + call-bind: 1.0.7 define-properties: 1.2.1 - es-abstract: 1.22.2 - get-intrinsic: 1.2.1 + es-abstract: 1.23.3 - /object.hasown@1.1.3: - resolution: {integrity: sha512-fFI4VcYpRHvSLXxP7yiZOMAd331cPfd2p7PFDVbgUsYOfCT3tICVqXWngbjr4m49OvsBwUBQ6O2uQoJvy3RexA==} + /object.hasown@1.1.4: + resolution: {integrity: sha512-FZ9LZt9/RHzGySlBARE3VF+gE26TxR38SdmqOqliuTnl9wrKulaQs+4dee1V+Io8VfxqzAfHu6YuRgUy8OHoTg==} + engines: {node: '>= 0.4'} dependencies: define-properties: 1.2.1 - es-abstract: 1.22.2 + es-abstract: 1.23.3 + es-object-atoms: 1.0.0 dev: false - /object.values@1.1.7: - resolution: {integrity: sha512-aU6xnDFYT3x17e/f0IiiwlGPTy2jzMySGfUB4fq6z7CV8l85CWHDk5ErhyhpfDHhrOMwGFhSQkhMGHaIotA6Ng==} + /object.values@1.2.0: + resolution: {integrity: sha512-yBYjY9QX2hnRmZHAjG/f13MzmBzxzYgQhFrke06TTyKY5zSTEqkOeukBzIdVA3j3ulu8Qa3MbVFShV7T2RmGtQ==} engines: {node: '>= 0.4'} dependencies: - call-bind: 1.0.2 + call-bind: 1.0.7 define-properties: 1.2.1 - es-abstract: 1.22.2 + es-object-atoms: 1.0.0 /obliterator@1.6.1: resolution: {integrity: sha512-9WXswnqINnnhOG/5SLimUlzuU1hFJUc8zkwyD59Sd+dPOMf05PmnYG/d6Q7HZ+KmgkZJa1PxRso6QdM3sTNHig==} @@ -20249,33 +19353,32 @@ packages: resolution: {integrity: sha512-lgHwxlxV1qIg1Eap7LgIeoBWIMFibOjbrYPIPJZcI1mmGAI2m3lNYpK12Y+GBdPQ0U1hRwSord7GIaawz962qQ==} dev: true - /octokit@3.1.2: - resolution: {integrity: sha512-MG5qmrTL5y8KYwFgE1A4JWmgfQBaIETE/lOlfwNYx1QOtCQHGVxkRJmdUJltFc1HVn73d61TlMhMyNTOtMl+ng==} + /octokit@3.2.1: + resolution: {integrity: sha512-u+XuSejhe3NdIvty3Jod00JvTdAE/0/+XbhIDhefHbu+2OcTRHd80aCiH6TX19ZybJmwPQBKFQmHGxp0i9mJrg==} engines: {node: '>= 18'} dependencies: - '@octokit/app': 14.0.2 - '@octokit/core': 5.0.1 - '@octokit/oauth-app': 6.0.0 - '@octokit/plugin-paginate-graphql': 4.0.0(@octokit/core@5.0.1) - '@octokit/plugin-paginate-rest': 9.0.0(@octokit/core@5.0.1) - '@octokit/plugin-rest-endpoint-methods': 10.0.0(@octokit/core@5.0.1) - '@octokit/plugin-retry': 6.0.1(@octokit/core@5.0.1) - '@octokit/plugin-throttling': 8.0.0(@octokit/core@5.0.1) - '@octokit/request-error': 5.0.1 - '@octokit/types': 12.0.0 + '@octokit/app': 14.1.0 + '@octokit/core': 5.2.0 + '@octokit/oauth-app': 6.1.0 + '@octokit/plugin-paginate-graphql': 4.0.1(@octokit/core@5.2.0) + '@octokit/plugin-paginate-rest': 11.3.1(@octokit/core@5.2.0) + '@octokit/plugin-rest-endpoint-methods': 13.2.2(@octokit/core@5.2.0) + '@octokit/plugin-retry': 6.0.1(@octokit/core@5.2.0) + '@octokit/plugin-throttling': 8.2.0(@octokit/core@5.2.0) + '@octokit/request-error': 5.1.0 + '@octokit/types': 13.5.0 dev: true - /ofetch@1.3.3: - resolution: {integrity: sha512-s1ZCMmQWXy4b5K/TW9i/DtiN8Ku+xCiHcjQ6/J/nDdssirrQNOoB165Zu8EqLMA2lln1JUth9a0aW9Ap2ctrUg==} + /ofetch@1.3.4: + resolution: {integrity: sha512-KLIET85ik3vhEfS+3fDlc/BAZiAp+43QEC/yCo5zkNoY2YaKvNkOaFr/6wCFgFH1kuYQM5pMNi0Tg8koiIemtw==} dependencies: - destr: 2.0.1 - node-fetch-native: 1.4.0 - ufo: 1.3.1 + destr: 2.0.3 + node-fetch-native: 1.6.4 + ufo: 1.5.3 dev: false /ohash@1.1.3: resolution: {integrity: sha512-zuHHiGTYTA1sYJ/wZN+t5HKZaH23i4yI1HMwbuXm24Nid7Dv0KcuRlKoNKS9UNfAVSBlnGLcuQrnOKWOZoEGaw==} - dev: false /on-finished@2.4.1: resolution: {integrity: sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==} @@ -20313,8 +19416,8 @@ packages: dependencies: mimic-fn: 4.0.0 - /oo-ascii-tree@1.94.0: - resolution: {integrity: sha512-i6UllReifEW2InBJHVFJNxrledRp3yr/yKVbpDmgWTguRe8/7BtBK3njzjvZNcPLEAtiWWxr0o9SpwYjapmTOw==} + /oo-ascii-tree@1.100.0: + resolution: {integrity: sha512-Y/C4AN9IVjsIyNQ1iK4x65xe2AV9q0MtXlYAOKZLA2ZscOzZJbRNi0BzcpmeMb/DSIAFm9M5kaxLqdAKpETbHg==} engines: {node: '>= 14.17.0'} /open@7.4.2: @@ -20343,16 +19446,16 @@ packages: is-wsl: 2.2.0 dev: false - /optionator@0.9.3: - resolution: {integrity: sha512-JjCoypp+jKn1ttEFExxhetCKeJt9zhAgAve5FXHixTvFDW/5aEktX9bufBKLRRMdU7bNtpLfcGu94B3cdEJgjg==} + /optionator@0.9.4: + resolution: {integrity: sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==} engines: {node: '>= 0.8.0'} dependencies: - '@aashutoshrathi/word-wrap': 1.2.6 deep-is: 0.1.4 fast-levenshtein: 2.0.6 levn: 0.4.1 prelude-ls: 1.2.1 type-check: 0.4.0 + word-wrap: 1.2.5 /ora@5.4.1: resolution: {integrity: sha512-5b6Y85tPxZZ7QytO+BQzysW31HJku27cRIlkbAXaNx+BdcVi+LlRFmVXzeF6a7JCwJpyw5c4b+YSVImQIrBpuQ==} @@ -20361,7 +19464,7 @@ packages: bl: 4.1.0 chalk: 4.1.2 cli-cursor: 3.1.0 - cli-spinners: 2.9.1 + cli-spinners: 2.9.2 is-interactive: 1.0.0 is-unicode-supported: 0.1.0 log-symbols: 4.1.0 @@ -20457,29 +19560,31 @@ packages: resolution: {integrity: sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==} engines: {node: '>=6'} - /pacote@17.0.4: - resolution: {integrity: sha512-eGdLHrV/g5b5MtD5cTPyss+JxOlaOloSMG3UwPMAvL8ywaLJ6beONPF40K4KKl/UI6q5hTKCJq5rCu8tkF+7Dg==} + /package-json-from-dist@1.0.0: + resolution: {integrity: sha512-dATvCeZN/8wQsGywez1mzHtTlP22H8OEfPrVMLNr4/eGa+ijtLn/6M5f0dY8UKNrC2O9UCU6SSoG3qRKnt7STw==} + + /pacote@18.0.6: + resolution: {integrity: sha512-+eK3G27SMwsB8kLIuj4h1FUhHtwiEUo21Tw8wNjmvdlpOEr613edv+8FUsTj/4F/VN5ywGE19X18N7CC2EJk6A==} engines: {node: ^16.14.0 || >=18.0.0} hasBin: true dependencies: - '@npmcli/git': 5.0.3 - '@npmcli/installed-package-contents': 2.0.2 - '@npmcli/promise-spawn': 7.0.0 - '@npmcli/run-script': 7.0.1 - cacache: 18.0.0 + '@npmcli/git': 5.0.7 + '@npmcli/installed-package-contents': 2.1.0 + '@npmcli/package-json': 5.2.0 + '@npmcli/promise-spawn': 7.0.2 + '@npmcli/run-script': 8.1.0 + cacache: 18.0.3 fs-minipass: 3.0.3 - minipass: 7.0.4 - npm-package-arg: 11.0.1 - npm-packlist: 8.0.0 - npm-pick-manifest: 9.0.0 - npm-registry-fetch: 16.0.0 - proc-log: 3.0.0 + minipass: 7.1.2 + npm-package-arg: 11.0.2 + npm-packlist: 8.0.2 + npm-pick-manifest: 9.0.1 + npm-registry-fetch: 17.1.0 + proc-log: 4.2.0 promise-retry: 2.0.1 - read-package-json: 7.0.0 - read-package-json-fast: 3.0.2 - sigstore: 2.1.0 - ssri: 10.0.5 - tar: 6.2.0 + sigstore: 2.3.1 + ssri: 10.0.6 + tar: 6.2.1 transitivePeerDependencies: - bluebird - supports-color @@ -20503,11 +19608,24 @@ packages: resolution: {integrity: sha512-01TvEktc68vwbJOtWZluyWeVGWjP+bZwXtPDMQVbBKzbJ/vZBif0L69KH1+cHv1SZ6e0FKLvjyHe8mqsIqYOmw==} engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} dependencies: - json-parse-even-better-errors: 3.0.0 + json-parse-even-better-errors: 3.0.2 just-diff: 6.0.2 just-diff-apply: 5.5.0 dev: false + /parse-entities@4.0.1: + resolution: {integrity: sha512-SWzvYcSJh4d/SGLIOQfZ/CoNv6BTlI6YEQ7Nj82oDVnRpwe/Z/F1EMx42x3JAOwGBlCjeCH0BRJQbQ/opHL17w==} + dependencies: + '@types/unist': 2.0.10 + character-entities: 2.0.2 + character-entities-legacy: 3.0.0 + character-reference-invalid: 2.0.1 + decode-named-character-reference: 1.0.2 + is-alphanumerical: 2.0.1 + is-decimal: 2.0.1 + is-hexadecimal: 2.0.1 + dev: false + /parse-gitignore@1.0.1: resolution: {integrity: sha512-UGyowyjtx26n65kdAMWhm6/3uy5uSrpcuH7tt+QEVudiBoVS+eqHxD5kbi9oWVRwj7sCzXqwuM+rUGw7earl6A==} engines: {node: '>=6'} @@ -20525,7 +19643,7 @@ packages: resolution: {integrity: sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==} engines: {node: '>=8'} dependencies: - '@babel/code-frame': 7.23.5 + '@babel/code-frame': 7.24.7 error-ex: 1.3.2 json-parse-even-better-errors: 2.3.1 lines-and-columns: 1.2.4 @@ -20600,19 +19718,12 @@ packages: /path-parse@1.0.7: resolution: {integrity: sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==} - /path-scurry@1.10.1: - resolution: {integrity: sha512-MkhCqzzBEpPvxxQ71Md0b1Kk51W01lrYvlMzSUaIzNsODdd7mqhiimSZlr+VegAz5Z6Vzt9Xg2ttE//XBhH3EQ==} - engines: {node: '>=16 || 14 >=14.17'} - dependencies: - lru-cache: 10.0.1 - minipass: 7.0.4 - - /path-scurry@1.10.2: - resolution: {integrity: sha512-7xTavNy5RQXnsjANvVvMkEjvloOinkAjv/Z6Ildz9v2RinZ4SBKTWFOVRbaF8p0vpHnyjV/UwNDdKuUv6M5qcA==} - engines: {node: '>=16 || 14 >=14.17'} + /path-scurry@1.11.1: + resolution: {integrity: sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==} + engines: {node: '>=16 || 14 >=14.18'} dependencies: - lru-cache: 10.2.0 - minipass: 7.0.4 + lru-cache: 10.2.2 + minipass: 7.1.2 /path-temp@2.1.0: resolution: {integrity: sha512-cMMJTAZlion/RWRRC48UbrDymEIt+/YSD/l8NqjneyDw2rDOBQcP5yRkMB4CYGn47KMhZvbblBP7Z79OsMw72w==} @@ -20624,10 +19735,8 @@ packages: /path-to-regexp@0.1.7: resolution: {integrity: sha512-5DFkuoqlv1uYQKxy8omFBeJPQcdoE07Kv2sferDCrAq1ohOU+MSDswDIbnx3YAM60qIOnYa53wBhXW0EbMonrQ==} - /path-to-regexp@1.8.0: - resolution: {integrity: sha512-n43JRhlUKUAlibEJhPeir1ncUID16QnEjNpwzNdO3Lm4ywrBpBZ5oLD0I6br9evr1Y9JTqwRtAh7JLoOzAQdVA==} - dependencies: - isarray: 0.0.1 + /path-to-regexp@6.2.2: + resolution: {integrity: sha512-GQX3SSMokngb36+whdpRXE+3f9V8UzyAorlYvOGx87ufGHehNTn5lCxrKtLyZ4Yl/wEKnNnr98ZzOwwDZV5ogw==} dev: true /path-type@3.0.0: @@ -20641,8 +19750,8 @@ packages: resolution: {integrity: sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==} engines: {node: '>=8'} - /pathe@1.1.1: - resolution: {integrity: sha512-d+RQGp0MAYTIaDBIMmOfMwz3E+LOZnxx1HZd5R18mmCZY0QBlK0LDZfPc8FW8Ed2DlvsuE6PRjroDY+wg4+j/Q==} + /pathe@1.1.2: + resolution: {integrity: sha512-whLdWMYL2TwI08hn8/ZqAbrVemu0LNaNNJZX73O6qaIdCTfXutsLhMkjdENX0qhsQ9uIimo4/aQOmXkoon2nDQ==} /pathval@1.1.1: resolution: {integrity: sha512-Dp6zGqpTdETdR63lehJYPeIOqpiNBNtc7BpWSLrOje7UaIsE5aY92r/AunQA7rsXvet3lrJ3JnZX29UPTKXyKQ==} @@ -20664,8 +19773,8 @@ packages: resolution: {integrity: sha512-xCy9V055GLEqoFaHoC1SoLIaLmWctgCUaBaWxDZ7/Zx4CTyX7cJQLJOok/orfjZAh9kEYpjJa4d0KcJmCbctZA==} dev: false - /picocolors@1.0.0: - resolution: {integrity: sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==} + /picocolors@1.0.1: + resolution: {integrity: sha512-anP1Z8qwhkbmu7MFP5iTt+wQKXgwzf7zTyGlcdzabySa9vd0Xt392U0rVmz9poOaBj0uHJKyyo9/upk0HrEQew==} /picomatch@2.3.1: resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==} @@ -20723,12 +19832,12 @@ packages: find-up: 5.0.0 dev: true - /pkg-types@1.0.3: - resolution: {integrity: sha512-nN7pYi0AQqJnoLPC9eHFQ8AcyaixBUOwvqc5TDnIKCMEE6I0y8P7OKA7fPexsXGCGxQDl/cmrLAp26LhcwxZ4A==} + /pkg-types@1.1.1: + resolution: {integrity: sha512-ko14TjmDuQJ14zsotODv7dBlwxKhUKQEhuhmbqo1uCi9BB0Z2alo/wAXg6q1dTR5TyuqYyWhjtfe/Tsh+X28jQ==} dependencies: - jsonc-parser: 3.2.0 - mlly: 1.4.2 - pathe: 1.1.1 + confbox: 0.1.7 + mlly: 1.7.1 + pathe: 1.1.2 /pkg-up@3.1.0: resolution: {integrity: sha512-nDywThFk1i4BQK4twPQ6TA4RT8bDY96yeuCVBWL3ePARCiEKDRSrNGbFIgUJpLp+XeIR65v8ra7WuJOFUBtkMA==} @@ -20737,18 +19846,18 @@ packages: find-up: 3.0.0 dev: true - /playwright-core@1.38.1: - resolution: {integrity: sha512-tQqNFUKa3OfMf4b2jQ7aGLB8o9bS3bOY0yMEtldtC2+spf8QXG9zvXLTXUeRsoNuxEYMgLYR+NXfAa1rjKRcrg==} + /playwright-core@1.44.1: + resolution: {integrity: sha512-wh0JWtYTrhv1+OSsLPgFzGzt67Y7BE/ZS3jEqgGBlp2ppp1ZDj8c+9IARNW4dwf1poq5MgHreEM2KV/GuR4cFA==} engines: {node: '>=16'} hasBin: true dev: true - /playwright@1.38.1: - resolution: {integrity: sha512-oRMSJmZrOu1FP5iu3UrCx8JEFRIMxLDM0c/3o4bpzU5Tz97BypefWf7TuTNPWeCe279TPal5RtPPZ+9lW/Qkow==} + /playwright@1.44.1: + resolution: {integrity: sha512-qr/0UJ5CFAtloI3avF95Y0L1xQo6r3LQArLIg/z/PoGJ6xa+EwzrwO5lpNr/09STxdHuUoP2mvuELJS+hLdtgg==} engines: {node: '>=16'} hasBin: true dependencies: - playwright-core: 1.38.1 + playwright-core: 1.44.1 optionalDependencies: fsevents: 2.3.2 dev: true @@ -20758,13 +19867,17 @@ packages: engines: {node: '>=4'} dev: false - /polished@4.2.2: - resolution: {integrity: sha512-Sz2Lkdxz6F2Pgnpi9U5Ng/WdWAUZxmHrNPoVlm3aAemxoy2Qy7LGjQg4uf8qKelDAUW94F4np3iH2YPf2qefcQ==} + /polished@4.3.1: + resolution: {integrity: sha512-OBatVyC/N7SCW/FaDHrSd+vn0o5cS855TOmYi4OkdWUMSJCET/xip//ch8xGUvtr3i44X9LVyWwQlRMTN3pwSA==} engines: {node: '>=10'} dependencies: - '@babel/runtime': 7.23.1 + '@babel/runtime': 7.24.7 dev: true + /possible-typed-array-names@1.0.0: + resolution: {integrity: sha512-d7Uw+eZoloe0EHDIYoe+bQ5WXnGMOpmiZFTuMWCwpjzzkL2nTjcKiAk4hh8TjnGye2TwWOk3UXucZ+3rbmBa8Q==} + engines: {node: '>= 0.4'} + /postcss-import@15.1.0(postcss@8.4.38): resolution: {integrity: sha512-hpr+J05B2FVYUAXHeK1YyI267J/dDDhMU6B6civm8hSY1jYJnBXxzKDKDswzJmtLHryrjhnDjqqp/49t8FALew==} engines: {node: '>=14.0.0'} @@ -20801,23 +19914,6 @@ packages: yaml: 1.10.2 dev: true - /postcss-load-config@4.0.1(postcss@8.4.38): - resolution: {integrity: sha512-vEJIc8RdiBRu3oRAI0ymerOn+7rPuMvRXslTvZUKZonDHFIczxztIyJ1urxM1x9JXEikvpWWTUUqal5j/8QgvA==} - engines: {node: '>= 14'} - peerDependencies: - postcss: '>=8.0.9' - ts-node: '>=9.0.0' - peerDependenciesMeta: - postcss: - optional: true - ts-node: - optional: true - dependencies: - lilconfig: 2.1.0 - postcss: 8.4.38 - yaml: 2.3.2 - dev: true - /postcss-load-config@4.0.2(postcss@8.4.38): resolution: {integrity: sha512-bSVhyJGL00wMVoPUzAVAnbEoWyqRxkjv64tUl427SKnPrENtq6hJwUojroMz2VB+Q1edmi4IfrAPpami5VVgMQ==} engines: {node: '>= 14'} @@ -20830,9 +19926,9 @@ packages: ts-node: optional: true dependencies: - lilconfig: 3.1.1 + lilconfig: 3.1.2 postcss: 8.4.38 - yaml: 2.4.1 + yaml: 2.4.5 /postcss-nested@6.0.1(postcss@8.4.38): resolution: {integrity: sha512-mEp4xPMi5bSWiMbsgoPfcP74lsWLHkQbZc3sY+jWYd65CUwXrUaTp0fmNpa01ZcETKlIgUdFN/MpS2xZtqL9dQ==} @@ -20841,7 +19937,7 @@ packages: postcss: ^8.2.14 dependencies: postcss: 8.4.38 - postcss-selector-parser: 6.0.16 + postcss-selector-parser: 6.1.0 /postcss-selector-parser@6.0.10: resolution: {integrity: sha512-IQ7TZdoaqbT+LCpShg46jnZVlhWD2w6iQYAcYXfHARZ7X1t/UGhhceQDs5X0cGqKvYlHNOuv7Oa1xmb0oQuA3w==} @@ -20851,16 +19947,8 @@ packages: util-deprecate: 1.0.2 dev: false - /postcss-selector-parser@6.0.13: - resolution: {integrity: sha512-EaV1Gl4mUEV4ddhDnv/xtj7sxwrwxdetHdWUGnT4VJQf+4d05v6lHYZr8N573k5Z0BViss7BDhfWtKS3+sfAqQ==} - engines: {node: '>=4'} - dependencies: - cssesc: 3.0.0 - util-deprecate: 1.0.2 - dev: false - - /postcss-selector-parser@6.0.16: - resolution: {integrity: sha512-A0RVJrX+IUkVZbW3ClroRWurercFhieevHB38sr2+l9eUClMqome3LmEmnhlNy+5Mr2EYN6B2Kaw9wYdd+VHiw==} + /postcss-selector-parser@6.1.0: + resolution: {integrity: sha512-UMz42UD0UY0EApS0ZL9o1XnLhSTtvvvLe5Dc2H2O56fvRZi+KulDyf5ctDhhtYJBGKStV2FL1fy6253cmLgqVQ==} engines: {node: '>=4'} dependencies: cssesc: 3.0.0 @@ -20869,35 +19957,26 @@ packages: /postcss-value-parser@4.2.0: resolution: {integrity: sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==} - /postcss@8.4.35: - resolution: {integrity: sha512-u5U8qYpBCpN13BsiEB0CbR1Hhh4Gc0zLFuedrHJKMctHCHAGrMdG0PRM/KErzAL3CU6/eckEtmHNB3x6e3c0vA==} - engines: {node: ^10 || ^12 || >=14} - dependencies: - nanoid: 3.3.7 - picocolors: 1.0.0 - source-map-js: 1.0.2 - dev: true - /postcss@8.4.38: resolution: {integrity: sha512-Wglpdk03BSfXkHoQa3b/oulrotAkwrlLDRSOb9D0bN86FdRyE9lppSp33aHNPgBa0JKCoB+drFLZkQoRRYae5A==} engines: {node: ^10 || ^12 || >=14} dependencies: nanoid: 3.3.7 - picocolors: 1.0.0 + picocolors: 1.0.1 source-map-js: 1.2.0 - /prebuild-install@7.1.1: - resolution: {integrity: sha512-jAXscXWMcCK8GgCoHOfIr0ODh5ai8mj63L2nWrjuAgXE6tDyYGnx4/8o/rCgU+B4JSyZBKbeZqzhtwtC3ovxjw==} + /prebuild-install@7.1.2: + resolution: {integrity: sha512-UnNke3IQb6sgarcZIDU3gbMeTp/9SSU1DAIkil7PrqG1vZlBtY5msYccSKSHDqa3hNg436IXK+SNImReuA1wEQ==} engines: {node: '>=10'} hasBin: true dependencies: - detect-libc: 2.0.2 + detect-libc: 2.0.3 expand-template: 2.0.3 github-from-package: 0.0.0 minimist: 1.2.8 mkdirp-classic: 0.5.3 napi-build-utils: 1.0.2 - node-abi: 3.47.0 + node-abi: 3.65.0 pump: 3.0.0 rc: 1.2.8 simple-get: 4.0.1 @@ -20941,7 +20020,7 @@ packages: '@jest/schemas': 28.1.3 ansi-regex: 5.0.1 ansi-styles: 5.2.0 - react-is: 18.2.0 + react-is: 18.3.1 dev: true /pretty-format@29.7.0: @@ -20950,7 +20029,7 @@ packages: dependencies: '@jest/schemas': 29.6.3 ansi-styles: 5.2.0 - react-is: 18.2.0 + react-is: 18.3.1 dev: true /pretty-hrtime@1.0.3: @@ -20974,6 +20053,11 @@ packages: engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} dev: false + /proc-log@4.2.0: + resolution: {integrity: sha512-g8+OnU/L2v+wyiVK+D5fA34J7EH8jZ8DDlvwhRCMxmMj7UCBvxiO1mGeN+36JXIKF4zevU4kRBd8lVgG9vLelA==} + engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} + dev: false + /process-nextick-args@2.0.1: resolution: {integrity: sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==} @@ -20981,6 +20065,11 @@ packages: resolution: {integrity: sha512-cdGef/drWFoydD1JsMzuFf8100nZl+GT+yacc2bEced5f9Rjk4z+WtFUTBu9PhOi9j/jfmBPu0mMEY4wIdAF8A==} engines: {node: '>= 0.6.0'} + /proggy@2.0.0: + resolution: {integrity: sha512-69agxLtnI8xBs9gUGqEnK26UfiexpHy+KUpBQWabiytQjnn5wFY8rklAi7GRfABIuPNnQ/ik48+LGLkYYJcy4A==} + engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} + dev: false + /progress@2.0.3: resolution: {integrity: sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==} engines: {node: '>=0.4.0'} @@ -21023,8 +20112,8 @@ packages: resolution: {integrity: sha512-vuf0Lf0lOxyQREH7GDIOUMLS7kz+gs8i6B+Yi8dC68a2sychGrHTJYghMBD6k7eUcH0H5P73EckCA48xijWqXw==} dev: false - /promise-call-limit@1.0.2: - resolution: {integrity: sha512-1vTUnfI2hzui8AEIixbdAJlFY4LFDXqQswy/2eOlThAscXCY4It8FdVuI0fMJGAB2aWGbdQf/gv0skKYXmdrHA==} + /promise-call-limit@3.0.1: + resolution: {integrity: sha512-utl+0x8gIDasV5X+PI5qWEPqH6fJS0pFtQ/4gZ95xfEFb/89dmh+/b895TbFDBLiafBvxD/PGTKfvxl4kH/pQg==} dev: false /promise-inflight@1.0.1: @@ -21059,19 +20148,19 @@ packages: object-assign: 4.1.1 react-is: 16.13.1 - /property-information@6.4.0: - resolution: {integrity: sha512-9t5qARVofg2xQqKtytzt+lZ4d1Qvj8t5B8fEwXK6qOfgRLgH/b13QlgEyDh033NOS31nXeFbYv7CLUDG1CeifQ==} + /property-information@6.5.0: + resolution: {integrity: sha512-PgTgs/BlvHxOu8QuEN7wi5A0OmXaBcHpmCSTehcs6Uuu9IkDIEo13Hy7n898RHfrQ49vKCoGeWZSaAK01nwVig==} dev: false /proto-list@1.2.4: resolution: {integrity: sha512-vtK/94akxsTMhe0/cbfpR+syPuszcuwhqVjJq26CuNDgFGj682oRBXOP5MJpv2r7JtE8MsiepGIqvvOTBwn2vA==} dev: false - /proto3-json-serializer@2.0.0: - resolution: {integrity: sha512-FB/YaNrpiPkyQNSNPilpn8qn0KdEfkgmJ9JP93PQyF/U4bAiXY5BiUdDhiDO4S48uSQ6AesklgVlrKiqZPzegw==} + /proto3-json-serializer@2.0.2: + resolution: {integrity: sha512-SAzp/O4Yh02jGdRc+uIrGoe87dkN/XtwxfZ4ZyafJHymd79ozp5VG5nyZ7ygqPM5+cpLDjjGnYFUkngonyDPOQ==} engines: {node: '>=14.0.0'} dependencies: - protobufjs: 7.2.5(patch_hash=plkkb5oxv62w7nyvt6cqmvgk4q) + protobufjs: 7.3.2 dev: false /protobufjs@7.2.5(patch_hash=plkkb5oxv62w7nyvt6cqmvgk4q): @@ -21089,11 +20178,30 @@ packages: '@protobufjs/path': 1.1.2 '@protobufjs/pool': 1.1.0 '@protobufjs/utf8': 1.1.0 - '@types/node': 20.14.2 + '@types/node': 20.14.8 long: 5.2.3 dev: false patched: true + /protobufjs@7.3.2: + resolution: {integrity: sha512-RXyHaACeqXeqAKGLDl68rQKbmObRsTIn4TYVUUug1KfS47YWCo5MacGITEryugIgZqORCvJWEk4l449POg5Txg==} + engines: {node: '>=12.0.0'} + requiresBuild: true + dependencies: + '@protobufjs/aspromise': 1.1.2 + '@protobufjs/base64': 1.1.2 + '@protobufjs/codegen': 2.0.4 + '@protobufjs/eventemitter': 1.1.0 + '@protobufjs/fetch': 1.1.0 + '@protobufjs/float': 1.0.2 + '@protobufjs/inquire': 1.1.0 + '@protobufjs/path': 1.1.2 + '@protobufjs/pool': 1.1.0 + '@protobufjs/utf8': 1.1.0 + '@types/node': 20.14.8 + long: 5.2.3 + dev: false + /proxy-addr@2.0.7: resolution: {integrity: sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==} engines: {node: '>= 0.10'} @@ -21103,7 +20211,6 @@ packages: /proxy-from-env@1.1.0: resolution: {integrity: sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==} - dev: true /pstree.remy@1.1.8: resolution: {integrity: sha512-77DZwxQmxKnu3aR542U+X8FypNzbfJ+C5XQDk3uWjWxn6151aIMGthWYRXTqT1E5oJvg+ljaa2OJi+VfvCOQ8w==} @@ -21131,16 +20238,20 @@ packages: pump: 2.0.1 dev: true - /punycode@2.3.0: - resolution: {integrity: sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA==} + /punycode@1.4.1: + resolution: {integrity: sha512-jmYNElW7yvO7TV33CjSmvSiE2yco3bV2czu/OzDKdMNVZQWfxCblURLhf+47syQRBntjfLdd/H0egrzIG+oaFQ==} + dev: false + + /punycode@2.3.1: + resolution: {integrity: sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==} engines: {node: '>=6'} /puppeteer-core@2.1.1: resolution: {integrity: sha512-n13AWriBMPYxnpbb6bnaY5YoY6rGj8vPLrz6CZF3o0qJNEwlcfJVxBzYZ0NJsQ21UbdJoijPCDrM++SUVEz7+w==} engines: {node: '>=8.16.0'} dependencies: - '@types/mime-types': 2.1.2 - debug: 4.3.4(supports-color@5.5.0) + '@types/mime-types': 2.1.4 + debug: 4.3.5(supports-color@5.5.0) extract-zip: 1.7.0 https-proxy-agent: 4.0.0 mime: 3.0.0(patch_hash=2he2uszztbibyal6zfzmv2a2oa) @@ -21148,7 +20259,7 @@ packages: progress: 2.0.3 proxy-from-env: 1.1.0 rimraf: 2.7.1 - ws: 6.2.2 + ws: 6.2.3 transitivePeerDependencies: - bufferutil - supports-color @@ -21158,27 +20269,28 @@ packages: /q@1.5.1: resolution: {integrity: sha512-kV/CThkXo6xyFEZUugw/+pIOywXcDbFYgSct5cT3gqlbkBE1SJdwy6UQoZvodiWF/ckQLZyDE/Bu1M6gVu5lVw==} engines: {node: '>=0.6.0', teleport: '>=0.2.0'} + deprecated: |- + You or someone you depend on is using Q, the JavaScript Promise library that gave JavaScript developers strong feelings about promises. They can almost certainly migrate to the native JavaScript promise now. Thank you literally everyone for joining me in this bet against the odds. Be excellent to each other. + + (For a CapTP with native promises, see @endo/eventual-send and @endo/captp) dev: true /qs@6.11.0: resolution: {integrity: sha512-MvjoMCJwEarSbUYk5O+nmoSzSutSsTwF85zcHPQ9OrlFoZOYIjaqBAJIqIXjptyD5vThxGq52Xu/MaJzRkIk4Q==} engines: {node: '>=0.6'} dependencies: - side-channel: 1.0.4 + side-channel: 1.0.6 - /qs@6.11.2: - resolution: {integrity: sha512-tDNIz22aBzCDxLtVH++VnTfzxlfeK5CbqohpSqpJgj1Wg/cQbStNAz3NuqCs5vV+pjBsK4x4pN9HlVh7rcYRiA==} + /qs@6.12.1: + resolution: {integrity: sha512-zWmv4RSuB9r2mYQw3zxQuHWeU+42aKi1wWig/j4ele4ygELZ7PEO6MM7rim9oAQH2A5MWfsAVf/jPvTPgCbvUQ==} engines: {node: '>=0.6'} dependencies: - side-channel: 1.0.4 + side-channel: 1.0.6 dev: true /queue-microtask@1.2.3: resolution: {integrity: sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==} - /queue-tick@1.0.1: - resolution: {integrity: sha512-kJt5qhMxoszgU/62PLP1CJytzd2NKetjSRnyuj31fDd3Rlcz3fzlFdFLD1SItunPwyqEOkca6GbV612BWfaBag==} - /quick-lru@4.0.1: resolution: {integrity: sha512-ARhCpm70fzdcvNQfPoy49IaanKkTlRWF2JMzqhcJbhSFRZv7nPTvZJdcY7301IPmvW+/p0RgIWnQDLJxifsQ7g==} engines: {node: '>=8'} @@ -21212,12 +20324,11 @@ packages: iconv-lite: 0.4.24 unpipe: 1.0.0 - /rc9@2.1.1: - resolution: {integrity: sha512-lNeOl38Ws0eNxpO3+wD1I9rkHGQyj1NU1jlzv4go2CtEnEQEUfqnIvZG7W+bC/aXdJ27n5x/yUjb6RoT9tko+Q==} + /rc9@2.1.2: + resolution: {integrity: sha512-btXCnMmRIBINM2LDZoEmOogIZU7Qe7zn4BpomSKZ/ykbLObuBdvG+mFq11DL6fjH1DRwHhrlgtYWG96bJiC7Cg==} dependencies: - defu: 6.1.2 - destr: 2.0.1 - flat: 5.0.2 + defu: 6.1.4 + destr: 2.0.3 dev: false /rc@1.2.8: @@ -21231,63 +20342,62 @@ packages: strip-json-comments: 2.0.1 dev: true - /react-colorful@5.6.1(react-dom@18.2.0)(react@18.2.0): + /react-colorful@5.6.1(react-dom@18.3.1)(react@18.3.1): resolution: {integrity: sha512-1exovf0uGTGyq5mXQT0zgQ80uvj2PCwvF8zY1RN9/vbJVSjSo3fsB/4L3ObbF7u70NduSiK4xu4Y6q1MHoUGEw==} peerDependencies: react: '>=16.8.0' react-dom: '>=16.8.0' dependencies: - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) + react: 18.3.1 + react-dom: 18.3.1(react@18.3.1) dev: true - /react-devtools-core@4.28.4: - resolution: {integrity: sha512-IUZKLv3CimeM07G3vX4H4loxVpByrzq3HvfTX7v9migalwvLs9ZY5D3S3pKR33U+GguYfBBdMMZyToFhsSE/iQ==} + /react-devtools-core@4.28.5: + resolution: {integrity: sha512-cq/o30z9W2Wb4rzBefjv5fBalHU0rJGZCHAkf/RHSBWSSYwh8PlQTqqOJmgIIbBtpj27T6FIPXeomIjZtCNVqA==} dependencies: shell-quote: 1.8.1 - ws: 7.5.9 + ws: 7.5.10 transitivePeerDependencies: - bufferutil - utf-8-validate dev: true - /react-docgen-typescript@2.2.2(typescript@5.2.2): + /react-docgen-typescript@2.2.2(typescript@5.5.2): resolution: {integrity: sha512-tvg2ZtOpOi6QDwsb3GZhOjDkkX0h8Z2gipvTg6OVMUyoYoURhEiRNePT8NZItTVCDh39JJHnLdfCOkzoLbFnTg==} peerDependencies: typescript: '>= 4.3.x' dependencies: - typescript: 5.2.2 + typescript: 5.5.2 dev: true - /react-docgen@6.0.0-alpha.3: - resolution: {integrity: sha512-DDLvB5EV9As1/zoUsct6Iz2Cupw9FObEGD3DMcIs3EDFIoSKyz8FZtoWj3Wj+oodrU4/NfidN0BL5yrapIcTSA==} - engines: {node: '>=12.0.0'} - hasBin: true + /react-docgen@7.0.3: + resolution: {integrity: sha512-i8aF1nyKInZnANZ4uZrH49qn1paRgBZ7wZiCNBMnenlPzEv0mRl+ShpTVEI6wZNl8sSc79xZkivtgLKQArcanQ==} + engines: {node: '>=16.14.0'} dependencies: - '@babel/core': 7.23.9 - '@babel/generator': 7.23.0 - ast-types: 0.14.2 - commander: 2.20.3 + '@babel/core': 7.24.7 + '@babel/traverse': 7.24.7 + '@babel/types': 7.24.7 + '@types/babel__core': 7.20.5 + '@types/babel__traverse': 7.20.6 + '@types/doctrine': 0.0.9 + '@types/resolve': 1.20.6 doctrine: 3.0.0 - estree-to-babel: 3.2.1 - neo-async: 2.6.2 - node-dir: 0.1.17 - resolve: 1.22.6 - strip-indent: 3.0.0 + resolve: 1.22.8 + strip-indent: 4.0.0 transitivePeerDependencies: - supports-color dev: true - /react-dom@18.2.0(react@18.2.0): - resolution: {integrity: sha512-6IMTriUmvsjHUjNtEDudZfuDQUoWXVxKHhlEGSk81n4YFS+r/Kl99wXiwlVXtPBtJenozv2P+hxDsw9eA7Xo6g==} + /react-dom@18.3.1(react@18.3.1): + resolution: {integrity: sha512-5m4nQKp+rZRb09LNH59GM4BxTh9251/ylbKIbpe7TpGxfJ+9kv6BLkLBXIjjspbgbnIBNqlI23tRnTWT0snUIw==} peerDependencies: - react: ^18.2.0 + react: ^18.3.1 dependencies: loose-envify: 1.4.0 - react: 18.2.0 - scheduler: 0.23.0 + react: 18.3.1 + scheduler: 0.23.2 - /react-element-to-jsx-string@15.0.0(react-dom@18.2.0)(react@18.2.0): + /react-element-to-jsx-string@15.0.0(react-dom@18.3.1)(react@18.3.1): resolution: {integrity: sha512-UDg4lXB6BzlobN60P8fHWVPX3Kyw8ORrTeBtClmIlGdkOOE+GYQSFvmEU5iLLpwp/6v42DINwNcwOhOLfQ//FQ==} peerDependencies: react: ^0.14.8 || ^15.0.1 || ^16.0.0 || ^17.0.1 || ^18.0.0 @@ -21295,8 +20405,8 @@ packages: dependencies: '@base2/pretty-print-object': 1.0.1 is-plain-object: 5.0.0 - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) + react: 18.3.1 + react-dom: 18.3.1(react@18.3.1) react-is: 18.1.0 dev: true @@ -21304,14 +20414,6 @@ packages: resolution: {integrity: sha512-nsO+KSNgo1SbJqJEYRE9ERzo7YtYbou/OqjSQKxV7jcKox7+usiUVZOAC+XnDOABXggQTno0Y1CpVnuWEc1boQ==} dev: false - /react-inspector@6.0.2(react@18.2.0): - resolution: {integrity: sha512-x+b7LxhmHXjHoU/VrFAzw5iutsILRoYyDq97EDYdFpPLcvqtEzk4ZSZSQjnFPbr5T57tLXnHcqFYoN1pI6u8uQ==} - peerDependencies: - react: ^16.8.4 || ^17.0.0 || ^18.0.0 - dependencies: - react: 18.2.0 - dev: true - /react-is@16.13.1: resolution: {integrity: sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==} @@ -21323,33 +20425,33 @@ packages: resolution: {integrity: sha512-Fl7FuabXsJnV5Q1qIOQwx/sagGF18kogb4gpfcG4gjLBWO0WDiiz1ko/ExayuxE7InyQkBLkxRFG5oxY6Uu3Kg==} dev: true - /react-is@18.2.0: - resolution: {integrity: sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w==} + /react-is@18.3.1: + resolution: {integrity: sha512-/LLMVyas0ljjAtoYiPqYiL8VWXzUUdThrmU5+n20DZv+a+ClRoevUzw5JxU+Ieh5/c87ytoTBV9G1FiKfNJdmg==} dev: true - /react-markdown@9.0.1(@types/react@18.2.25)(react@18.2.0): + /react-markdown@9.0.1(@types/react@18.3.3)(react@18.3.1): resolution: {integrity: sha512-186Gw/vF1uRkydbsOIkcGXw7aHq0sZOCRFFjGrr7b9+nVZg4UfA4enXCaxm4fUzecU38sWfrNDitGhshuU7rdg==} peerDependencies: '@types/react': '>=18' react: '>=18' dependencies: - '@types/hast': 3.0.3 - '@types/react': 18.2.25 + '@types/hast': 3.0.4 + '@types/react': 18.3.3 devlop: 1.1.0 - hast-util-to-jsx-runtime: 2.2.0 + hast-util-to-jsx-runtime: 2.3.0 html-url-attributes: 3.0.0 - mdast-util-to-hast: 13.0.2 - react: 18.2.0 + mdast-util-to-hast: 13.2.0 + react: 18.3.1 remark-parse: 11.0.0 - remark-rehype: 11.0.0 - unified: 11.0.4 + remark-rehype: 11.1.0 + unified: 11.0.5 unist-util-visit: 5.0.0 vfile: 6.0.1 transitivePeerDependencies: - supports-color dev: false - /react-popper@2.3.0(@popperjs/core@2.11.8)(react-dom@18.2.0)(react@18.2.0): + /react-popper@2.3.0(@popperjs/core@2.11.8)(react-dom@18.3.1)(react@18.3.1): resolution: {integrity: sha512-e1hj8lL3uM+sgSR4Lxzn5h1GxBlpa4CQz0XLF8kx4MDrDRWY0Ena4c97PUeSX9i5W3UAfDP0z0FXCTQkoXUl3Q==} peerDependencies: '@popperjs/core': ^2.0.0 @@ -21357,8 +20459,8 @@ packages: react-dom: ^16.8.0 || ^17 || ^18 dependencies: '@popperjs/core': 2.11.8 - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) + react: 18.3.1 + react-dom: 18.3.1(react@18.3.1) react-fast-compare: 3.2.2 warning: 4.0.3 dev: false @@ -21375,13 +20477,13 @@ packages: scheduler: 0.20.2 dev: true - /react-refresh@0.14.0: - resolution: {integrity: sha512-wViHqhAd8OHeLS/IRMJjTSDHF3U9eWi62F/MledQGPdJGDhodXJ9PBLNGr6WWL7qlH12Mt3TyTpbS+hGXMjCzQ==} + /react-refresh@0.14.2: + resolution: {integrity: sha512-jCvmsr+1IUSMUyzOkRcvnVbX3ZYC6g9TDrDbFuFmRDq7PD4yaGbLKNQL6k2jnArV8hjYxh7hVhAZB6s9HDGpZA==} engines: {node: '>=0.10.0'} dev: true - /react-remove-scroll-bar@2.3.4(@types/react@18.2.25)(react@18.2.0): - resolution: {integrity: sha512-63C4YQBUt0m6ALadE9XV56hV8BgJWDmmTPY758iIJjfQKt2nYwoUrPk0LXRXcB/yIj82T1/Ixfdpdk68LwIB0A==} + /react-remove-scroll-bar@2.3.6(@types/react@18.3.3)(react@18.3.1): + resolution: {integrity: sha512-DtSYaao4mBmX+HDo5YWYdBWQwYIQQshUV/dVxFxK+KM26Wjwp1gZ6rv6OC3oujI6Bfu6Xyg3TwK533AQutsn/g==} engines: {node: '>=10'} peerDependencies: '@types/react': ^16.8.0 || ^17.0.0 || ^18.0.0 @@ -21390,13 +20492,13 @@ packages: '@types/react': optional: true dependencies: - '@types/react': 18.2.25 - react: 18.2.0 - react-style-singleton: 2.2.1(@types/react@18.2.25)(react@18.2.0) - tslib: 2.6.2 + '@types/react': 18.3.3 + react: 18.3.1 + react-style-singleton: 2.2.1(@types/react@18.3.3)(react@18.3.1) + tslib: 2.6.3 dev: true - /react-remove-scroll@2.5.5(@types/react@18.2.25)(react@18.2.0): + /react-remove-scroll@2.5.5(@types/react@18.3.3)(react@18.3.1): resolution: {integrity: sha512-ImKhrzJJsyXJfBZ4bzu8Bwpka14c/fQt0k+cyFp/PBhTfyDnU5hjOtM4AG/0AMyy8oKzOTR0lDgJIM7pYXI0kw==} engines: {node: '>=10'} peerDependencies: @@ -21406,16 +20508,16 @@ packages: '@types/react': optional: true dependencies: - '@types/react': 18.2.25 - react: 18.2.0 - react-remove-scroll-bar: 2.3.4(@types/react@18.2.25)(react@18.2.0) - react-style-singleton: 2.2.1(@types/react@18.2.25)(react@18.2.0) - tslib: 2.6.2 - use-callback-ref: 1.3.0(@types/react@18.2.25)(react@18.2.0) - use-sidecar: 1.1.2(@types/react@18.2.25)(react@18.2.0) + '@types/react': 18.3.3 + react: 18.3.1 + react-remove-scroll-bar: 2.3.6(@types/react@18.3.3)(react@18.3.1) + react-style-singleton: 2.2.1(@types/react@18.3.3)(react@18.3.1) + tslib: 2.6.3 + use-callback-ref: 1.3.2(@types/react@18.3.3)(react@18.3.1) + use-sidecar: 1.1.2(@types/react@18.3.3)(react@18.3.1) dev: true - /react-style-singleton@2.2.1(@types/react@18.2.25)(react@18.2.0): + /react-style-singleton@2.2.1(@types/react@18.3.3)(react@18.3.1): resolution: {integrity: sha512-ZWj0fHEMyWkHzKYUr2Bs/4zU6XLmq9HsgBURm7g5pAVfyn49DgUiNgY2d4lXRlYSiCif9YBGpQleewkcqddc7g==} engines: {node: '>=10'} peerDependencies: @@ -21425,25 +20527,25 @@ packages: '@types/react': optional: true dependencies: - '@types/react': 18.2.25 + '@types/react': 18.3.3 get-nonce: 1.0.1 invariant: 2.2.4 - react: 18.2.0 - tslib: 2.6.2 + react: 18.3.1 + tslib: 2.6.3 dev: true - /react-universal-interface@0.6.2(react@18.2.0)(tslib@2.6.2): + /react-universal-interface@0.6.2(react@18.3.1)(tslib@2.6.3): resolution: {integrity: sha512-dg8yXdcQmvgR13RIlZbTRQOoUrDciFVoSBZILwjE2LFISxZZ8loVJKAkuzswl5js8BHda79bIb2b84ehU8IjXw==} peerDependencies: react: '*' tslib: '*' dependencies: - react: 18.2.0 - tslib: 2.6.2 + react: 18.3.1 + tslib: 2.6.3 dev: false - /react-use@17.4.2(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-1jPtmWLD8OJJNYCdYLJEH/HM+bPDfJuyGwCYeJFgPmWY8ttwpgZnW5QnzgM55CYUByUiTjHxsGOnEpLl6yQaoQ==} + /react-use@17.5.0(react-dom@18.3.1)(react@18.3.1): + resolution: {integrity: sha512-PbfwSPMwp/hoL847rLnm/qkjg3sTRCvn6YhUZiHaUa3FA6/aNoFX79ul5Xt70O1rK+9GxSVqkY0eTwMdsR/bWg==} peerDependencies: react: '*' react-dom: '*' @@ -21454,16 +20556,16 @@ packages: fast-deep-equal: 3.1.3 fast-shallow-equal: 1.0.0 js-cookie: 2.2.1 - nano-css: 5.6.1(react-dom@18.2.0)(react@18.2.0) - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) - react-universal-interface: 0.6.2(react@18.2.0)(tslib@2.6.2) + nano-css: 5.6.1(react-dom@18.3.1)(react@18.3.1) + react: 18.3.1 + react-dom: 18.3.1(react@18.3.1) + react-universal-interface: 0.6.2(react@18.3.1)(tslib@2.6.3) resize-observer-polyfill: 1.5.1 screenfull: 5.2.0 set-harmonic-interval: 1.0.1 throttle-debounce: 3.0.1 ts-easing: 0.2.0 - tslib: 2.6.2 + tslib: 2.6.3 dev: false /react@17.0.2: @@ -21474,8 +20576,8 @@ packages: object-assign: 4.1.1 dev: true - /react@18.2.0: - resolution: {integrity: sha512-/3IjMdb2L9QbBdWiW5e3P2/npwMBaU9mHCSCUzNln0ZCYbcfTsGbTJrU/kGemdH2IWmB2ioZ+zkxtmq6g09fGQ==} + /react@18.3.1: + resolution: {integrity: sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==} engines: {node: '>=0.10.0'} dependencies: loose-envify: 1.4.0 @@ -21502,17 +20604,7 @@ packages: resolution: {integrity: sha512-0J+Msgym3vrLOUB3hzQCuZHII0xkNGCtz/HJH9xZshwv9DbDwkw1KaE3gx/e2J5rpEY5rtOy6cyhKOPrkP7FZw==} engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} dependencies: - json-parse-even-better-errors: 3.0.0 - npm-normalize-package-bin: 3.0.1 - dev: false - - /read-package-json@7.0.0: - resolution: {integrity: sha512-uL4Z10OKV4p6vbdvIXB+OzhInYtIozl/VxUBPgNkBuUi2DeRonnuspmaVAMcrkmfjKGNmRndyQAbE7/AmzGwFg==} - engines: {node: ^16.14.0 || >=18.0.0} - dependencies: - glob: 10.3.10 - json-parse-even-better-errors: 3.0.0 - normalize-package-data: 6.0.0 + json-parse-even-better-errors: 3.0.2 npm-normalize-package-bin: 3.0.1 dev: false @@ -21545,7 +20637,7 @@ packages: resolution: {integrity: sha512-Ug69mNOpfvKDAc2Q8DRpMjjzdtrnv9HcSMX+4VsZxD1aZ6ZzrIE7rlzXBtWTyhULSMKg076AW6WR5iZpD0JiOg==} engines: {node: '>=8'} dependencies: - '@types/normalize-package-data': 2.4.2 + '@types/normalize-package-data': 2.4.4 normalize-package-data: 2.5.0 parse-json: 5.2.0 type-fest: 0.6.0 @@ -21584,21 +20676,11 @@ packages: string_decoder: 1.3.0 util-deprecate: 1.0.2 - /readable-stream@4.4.2: - resolution: {integrity: sha512-Lk/fICSyIhodxy1IDK2HazkeGjSmezAWX2egdtJnYhtzKEsBPJowlI6F6LPb5tqIQILrMbx22S5o3GuJavPusA==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - dependencies: - abort-controller: 3.0.0 - buffer: 6.0.3 - events: 3.3.0 - process: 0.11.10 - string_decoder: 1.3.0 - dev: false - /readdir-glob@1.1.3: resolution: {integrity: sha512-v05I2k7xN8zXvPD9N+z/uhXPaj0sUFCe2rcWZIpBsqxfP7xXFQ0tipAd/wjj1YxWyWtUS5IDJpOG82JKt2EAVA==} dependencies: minimatch: 5.1.6 + dev: true /readdirp@3.6.0: resolution: {integrity: sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==} @@ -21611,25 +20693,15 @@ packages: engines: {node: '>=10'} dev: false - /recast@0.21.5: - resolution: {integrity: sha512-hjMmLaUXAm1hIuTqOdeYObMslq/q+Xff6QE3Y2P+uoHAg2nmVlLBps2hzh1UJDdMtDTMXOFewK6ky51JQIeECg==} - engines: {node: '>= 4'} - dependencies: - ast-types: 0.15.2 - esprima: 4.0.1 - source-map: 0.6.1 - tslib: 2.6.2 - dev: true - - /recast@0.23.4: - resolution: {integrity: sha512-qtEDqIZGVcSZCHniWwZWbRy79Dc6Wp3kT/UmDA2RJKBPg7+7k51aQBZirHmUGn5uvHf2rg8DkjizrN26k61ATw==} + /recast@0.23.9: + resolution: {integrity: sha512-Hx/BGIbwj+Des3+xy5uAtAbdCyqK9y9wbBcDFDYanLS9JnMqf7OeF87HQwUimE87OEc72mr6tkKUKMBBL+hF9Q==} engines: {node: '>= 4'} dependencies: - assert: 2.1.0 ast-types: 0.16.1 esprima: 4.0.1 source-map: 0.6.1 - tslib: 2.6.2 + tiny-invariant: 1.3.3 + tslib: 2.6.3 dev: true /rechoir@0.6.2: @@ -21658,26 +20730,27 @@ packages: redis-errors: 1.2.0 dev: false - /redis@4.6.10: - resolution: {integrity: sha512-mmbyhuKgDiJ5TWUhiKhBssz+mjsuSI/lSZNPI9QvZOYzWvYGejtb+W3RlDDf8LD6Bdl5/mZeG8O1feUGhXTxEg==} + /redis@4.6.14: + resolution: {integrity: sha512-GrNg/e33HtsQwNXL7kJT+iNFPSwE1IPmd7wzV3j4f2z0EYxZfZE7FVTmUysgAtqQQtg5NXF5SNLR9OdO/UHOfw==} dependencies: - '@redis/bloom': 1.2.0(@redis/client@1.5.11) - '@redis/client': 1.5.11 - '@redis/graph': 1.1.0(@redis/client@1.5.11) - '@redis/json': 1.0.6(@redis/client@1.5.11) - '@redis/search': 1.1.5(@redis/client@1.5.11) - '@redis/time-series': 1.0.5(@redis/client@1.5.11) + '@redis/bloom': 1.2.0(@redis/client@1.5.16) + '@redis/client': 1.5.16 + '@redis/graph': 1.1.1(@redis/client@1.5.16) + '@redis/json': 1.0.6(@redis/client@1.5.16) + '@redis/search': 1.1.6(@redis/client@1.5.16) + '@redis/time-series': 1.0.5(@redis/client@1.5.16) dev: true - /reflect.getprototypeof@1.0.4: - resolution: {integrity: sha512-ECkTw8TmJwW60lOTR+ZkODISW6RQ8+2CL3COqtiJKLd6MmB45hN51HprHFziKLGkAuTGQhBb91V8cy+KHlaCjw==} + /reflect.getprototypeof@1.0.6: + resolution: {integrity: sha512-fmfw4XgoDke3kdI6h4xcUz1dG8uaiv5q9gcEwLS4Pnth2kxT+GZ7YehS1JTMGBQmtV7Y4GFGbs2re2NqhdozUg==} engines: {node: '>= 0.4'} dependencies: - call-bind: 1.0.5 + call-bind: 1.0.7 define-properties: 1.2.1 - es-abstract: 1.22.2 - get-intrinsic: 1.2.1 - globalthis: 1.0.3 + es-abstract: 1.23.3 + es-errors: 1.3.0 + get-intrinsic: 1.2.4 + globalthis: 1.0.4 which-builtin-type: 1.1.3 dev: false @@ -21692,13 +20765,13 @@ packages: resolution: {integrity: sha512-zrceR/XhGYU/d/opr2EKO7aRHUeiBI8qjtfHqADTwZd6Szfy16la6kqD0MIUs5z5hx6AaKa+PixpPrR289+I0A==} dev: true - /regenerator-runtime@0.14.0: - resolution: {integrity: sha512-srw17NI0TUWHuGa5CFGGmhfNIeja30WMBfbslPNhf6JrqQlLN5gcrvig1oqPxiVaXb0oW0XRKtH6Nngs5lKCIA==} + /regenerator-runtime@0.14.1: + resolution: {integrity: sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw==} /regenerator-transform@0.15.2: resolution: {integrity: sha512-hfMp2BoF0qOk3uc5V20ALGDS2ddjQaLrdl7xrGXvAIow7qeWRM2VA2HuCHkUKk9slq3VwEwLNK3DFBqDfPGYtg==} dependencies: - '@babel/runtime': 7.23.1 + '@babel/runtime': 7.24.7 dev: true /regexp-tree@0.1.27: @@ -21706,13 +20779,14 @@ packages: hasBin: true dev: false - /regexp.prototype.flags@1.5.1: - resolution: {integrity: sha512-sy6TXMN+hnP/wMy+ISxg3krXx7BAtWVO4UouuCN/ziM9UEne0euamVNafDfvC83bRNr95y0V5iijeDQFUNpvrg==} + /regexp.prototype.flags@1.5.2: + resolution: {integrity: sha512-NcDiDkTLuPR+++OCKB0nWafEmhg/Da8aUPLPMQbK+bxKKCm1/S5he+AqYa4PlMCVBalb4/yxIRub6qkEx5yJbw==} engines: {node: '>= 0.4'} dependencies: - call-bind: 1.0.2 + call-bind: 1.0.7 define-properties: 1.2.1 - set-function-name: 2.0.1 + es-errors: 1.3.0 + set-function-name: 2.0.2 /regexpu-core@5.3.2: resolution: {integrity: sha512-RAM5FlZz+Lhmo7db9L298p2vHP5ZywrVXmVXpmAD9GuL5MPH6t9ROw1iA/wfHkQ76Qe7AaPF0nGuim96/IrQMQ==} @@ -21753,21 +20827,21 @@ packages: /remark-parse@11.0.0: resolution: {integrity: sha512-FCxlKLNGknS5ba/1lmpYijMUzX2esxW5xQqjWxw2eHFfS2MSdaHVINFmhjo+qN1WhZhNimq0dZATN9pH0IDrpA==} dependencies: - '@types/mdast': 4.0.3 - mdast-util-from-markdown: 2.0.0 + '@types/mdast': 4.0.4 + mdast-util-from-markdown: 2.0.1 micromark-util-types: 2.0.0 - unified: 11.0.4 + unified: 11.0.5 transitivePeerDependencies: - supports-color dev: false - /remark-rehype@11.0.0: - resolution: {integrity: sha512-vx8x2MDMcxuE4lBmQ46zYUDfcFMmvg80WYX+UNLeG6ixjdCCLcw1lrgAukwBTuOFsS78eoAedHGn9sNM0w7TPw==} + /remark-rehype@11.1.0: + resolution: {integrity: sha512-z3tJrAs2kIs1AqIIy6pzHmAHlF1hWQ+OdY4/hv+Wxe35EhyLKcajL33iUEn3ScxtFox9nUvRufR/Zre8Q08H/g==} dependencies: - '@types/hast': 3.0.3 - '@types/mdast': 4.0.3 - mdast-util-to-hast: 13.0.2 - unified: 11.0.4 + '@types/hast': 3.0.4 + '@types/mdast': 4.0.4 + mdast-util-to-hast: 13.2.0 + unified: 11.0.5 vfile: 6.0.1 dev: false @@ -21820,27 +20894,19 @@ packages: /resolve-pkg-maps@1.0.0: resolution: {integrity: sha512-seS2Tj26TBVOC2NIc2rOe2y2ZO7efxITtLZcGSOnHHNOQ7CkiUBfw0Iw2ck6xkIhPwLhKNLS8BO+hEpngQlqzw==} - /resolve@1.22.6: - resolution: {integrity: sha512-njhxM7mV12JfufShqGy3Rz8j11RPdLy4xi15UurGJeoHLfJpVXKdh3ueuOqbYUcDZnffr6X739JBo5LzyahEsw==} - hasBin: true - dependencies: - is-core-module: 2.13.0 - path-parse: 1.0.7 - supports-preserve-symlinks-flag: 1.0.0 - /resolve@1.22.8: resolution: {integrity: sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==} hasBin: true dependencies: - is-core-module: 2.13.1 + is-core-module: 2.14.0 path-parse: 1.0.7 supports-preserve-symlinks-flag: 1.0.0 - /resolve@2.0.0-next.4: - resolution: {integrity: sha512-iMDbmAWtfU+MHpxt/I5iWI7cY6YVEZUQ3MBgPQ++XD1PELuJHIl82xBmObyP2KyQmkNB2dsqF7seoQQiAn5yDQ==} + /resolve@2.0.0-next.5: + resolution: {integrity: sha512-U7WjGVG9sH8tvjW5SmGbQuui75FiyjAX72HX15DwBBwF9dNiQZRQAg9nnPhYy+TUnE0+VcrttuvNI8oSxZcocA==} hasBin: true dependencies: - is-core-module: 2.13.0 + is-core-module: 2.14.0 path-parse: 1.0.7 supports-preserve-symlinks-flag: 1.0.0 dev: false @@ -21856,18 +20922,17 @@ packages: resolution: {integrity: sha512-wfI3pk7EE80lCIXprqh7ym48IHYdwmAAzESdbU8Q9l7pnRCk9LEhpbOTNKjz6FARLm/Bl5m+4F0ABxOkYUujSQ==} engines: {node: '>=12'} dependencies: - debug: 4.3.4(supports-color@5.5.0) + debug: 4.3.5(supports-color@5.5.0) extend: 3.0.2 transitivePeerDependencies: - supports-color dev: false - /retry-request@7.0.1: - resolution: {integrity: sha512-ZI6vJp9rfB71mrZpw+n9p/B6HCsd7QJlSEQftZ+xfJzr3cQ9EPGKw1FF0BnViJ0fYREX6FhymBD2CARpmsFciQ==} + /retry-request@7.0.2: + resolution: {integrity: sha512-dUOvLMJ0/JJYEn8NrpOaGNE7X3vpI5XlZS/u0ANjqtcZVKnIxP7IgCFwrKTxENw29emmwug53awKtaMm4i9g5w==} engines: {node: '>=14'} dependencies: - '@types/request': 2.48.11 - debug: 4.3.4(supports-color@5.5.0) + '@types/request': 2.48.12 extend: 3.0.2 teeny-request: 9.0.0 transitivePeerDependencies: @@ -21889,21 +20954,23 @@ packages: resolution: {integrity: sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==} engines: {iojs: '>=1.0.0', node: '>=0.10.0'} - /rfc4648@1.5.2: - resolution: {integrity: sha512-tLOizhR6YGovrEBLatX1sdcuhoSCXddw3mqNVAcKxGJ+J0hFeJ+SjeWCv5UPA/WU3YzWPPuCVYgXBKZUPGpKtg==} + /rfc4648@1.5.3: + resolution: {integrity: sha512-MjOWxM065+WswwnmNONOT+bD1nXzY9Km6u3kzvnx8F8/HXGZdz3T6e6vZJ8Q/RIMUSp/nxqjH3GwvJDy8ijeQQ==} dev: false - /rfdc@1.3.0: - resolution: {integrity: sha512-V2hovdzFbOi77/WajaSMXk2OLm+xNIeQdMMuB7icj7bk6zi2F8GGAxigcnDFpJHbNyNcgyJDiP+8nOrY5cZGrA==} + /rfdc@1.4.1: + resolution: {integrity: sha512-q1b3N5QkRUWUl7iyylaaj3kOpIT0N2i9MqIEQXP73GVsN9cw3fdx8X63cEmWhJGi2PPCF23Ijp7ktmd39rawIA==} dev: true /right-pad@1.0.1: resolution: {integrity: sha512-bYBjgxmkvTAfgIYy328fmkwhp39v8lwVgWhhrzxPV3yHtcSqyYKe9/XOhvW48UFjATg3VuJbpsp5822ACNvkmw==} engines: {node: '>= 0.10'} + deprecated: Please use String.prototype.padEnd() over this package. dev: false /rimraf@2.6.3: resolution: {integrity: sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA==} + deprecated: Rimraf versions prior to v4 are no longer supported hasBin: true dependencies: glob: 7.2.3 @@ -21911,6 +20978,7 @@ packages: /rimraf@2.7.1: resolution: {integrity: sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==} + deprecated: Rimraf versions prior to v4 are no longer supported hasBin: true dependencies: glob: 7.2.3 @@ -21918,6 +20986,7 @@ packages: /rimraf@3.0.2: resolution: {integrity: sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==} + deprecated: Rimraf versions prior to v4 are no longer supported hasBin: true dependencies: glob: 7.2.3 @@ -21959,7 +21028,7 @@ packages: /rtl-css-js@1.16.1: resolution: {integrity: sha512-lRQgou1mu19e+Ya0LsTvKrVJ5TYUbqCVPAiImX3UfLTenarvPUl1QFdvu5Z3PYmHT9RCcwIfbjRQBntExyj3Zg==} dependencies: - '@babel/runtime': 7.23.1 + '@babel/runtime': 7.24.7 dev: false /run-applescript@5.0.0: @@ -21988,14 +21057,14 @@ packages: /rxjs@7.8.1: resolution: {integrity: sha512-AA3TVj+0A2iuIoQkWEK/tqFjBq2j+6PO6Y0zJcvzLAFhEFIO3HL0vls9hWLncZbAAbK0mar7oZ4V079I/qPMxg==} dependencies: - tslib: 2.6.2 + tslib: 2.6.3 - /safe-array-concat@1.0.1: - resolution: {integrity: sha512-6XbUAseYE2KtOuGueyeobCySj9L4+66Tn6KQMOPQJrAJEowYKW/YR/MGJZl7FdydUdaFu4LYyDZjxf4/Nmo23Q==} + /safe-array-concat@1.1.2: + resolution: {integrity: sha512-vj6RsCsWBCf19jIeHEfkRMw8DPiBb+DMXklQ/1SGDHOMlHdPUkZXFQ2YdplS23zESTijAcurb1aSgJA3AgMu1Q==} engines: {node: '>=0.4'} dependencies: - call-bind: 1.0.2 - get-intrinsic: 1.2.1 + call-bind: 1.0.7 + get-intrinsic: 1.2.4 has-symbols: 1.0.3 isarray: 2.0.5 @@ -22020,11 +21089,12 @@ packages: dev: false optional: true - /safe-regex-test@1.0.0: - resolution: {integrity: sha512-JBUUzyOgEwXQY1NuPtvcj/qcBDbDmEvWufhlnXZIm75DEHp+afM1r1ujJpJsV/gSM4t59tpDyPi1sd6ZaPFfsA==} + /safe-regex-test@1.0.3: + resolution: {integrity: sha512-CdASjNJPvRa7roO6Ra/gLYBTzYzzPyyBXxIMdGW3USQLyjWEls2RgW5UBTXaQVp+OrpeCK3bLem8smtmheoRuw==} + engines: {node: '>= 0.4'} dependencies: - call-bind: 1.0.5 - get-intrinsic: 1.2.1 + call-bind: 1.0.7 + es-errors: 1.3.0 is-regex: 1.1.4 /safe-regex@2.1.1: @@ -22042,8 +21112,8 @@ packages: resolution: {integrity: sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==} requiresBuild: true - /sax@1.3.0: - resolution: {integrity: sha512-0s+oAmw9zLl1V1cS9BtZN7JAd0cW5e0QH4W3LWEK6a4LaLEA2OTpGYWDY+6XasBLtz6wkm3u1xRw95mRuJ59WA==} + /sax@1.4.1: + resolution: {integrity: sha512-+aWOz7yVScEGoKNd4PA10LZ8sk0A/z5+nXQG5giUO5rprX9jgYsTdov9qCchZiPIZezbZH+jRut8nPodFAX4Jg==} /scheduler@0.20.2: resolution: {integrity: sha512-2eWfGgAqqWFGqtdMmcL5zCMK1U8KlXv8SQFGglL3CEtd0aDVDWgeF/YoCmvln55m5zSk3J/20hTaSBeSObsQDQ==} @@ -22052,8 +21122,8 @@ packages: object-assign: 4.1.1 dev: true - /scheduler@0.23.0: - resolution: {integrity: sha512-CtuThmgHNg7zIZWAXi3AsyIzA3n4xx7aNyjwC2VJldO2LMVDhFK+63xGqq6CsJH4rTAt6/M+N4GhZiDYPx9eUw==} + /scheduler@0.23.2: + resolution: {integrity: sha512-UOShsPwz7NrMUqhR6t0hWjFduvOzbtv7toDH1/hIrfRNIDBnnBWd0CwJTGvTpngVlmwGCdP9/Zl/tVrDqcuYzQ==} dependencies: loose-envify: 1.4.0 @@ -22061,7 +21131,7 @@ packages: resolution: {integrity: sha512-pN/yOAvcC+5rQ5nERGuwrjLlYvLTbCibnZ1I7B1LaiAz9BRBlE9GMgE/eqV30P7aJQUf7Ddimy/RsbYO/GrVGg==} engines: {node: '>= 10.13.0'} dependencies: - '@types/json-schema': 7.0.13 + '@types/json-schema': 7.0.15 ajv: 6.12.6 ajv-keywords: 3.5.2(ajv@6.12.6) dev: true @@ -22071,8 +21141,8 @@ packages: engines: {node: '>=0.10.0'} dev: false - /scule@1.0.0: - resolution: {integrity: sha512-4AsO/FrViE/iDNEPaAQlb77tf0csuq27EsVpy6ett584EcRTp6pTDLoGWVxCD77y5iU5FauOvhsI4o1APwPoSQ==} + /scule@1.3.0: + resolution: {integrity: sha512-6FtHJEvt+pVMIB9IBY+IcCJ6Z5f1iQnytgyfKMhDKgmzYG+TeH/wx1y3l27rshSbLiSanrR9ffZDrEsmjlQF2g==} dev: false /semver-intersect@1.5.0: @@ -22096,6 +21166,19 @@ packages: dependencies: lru-cache: 6.0.0 + /semver@7.6.0: + resolution: {integrity: sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==} + engines: {node: '>=10'} + hasBin: true + dependencies: + lru-cache: 6.0.0 + dev: true + + /semver@7.6.2: + resolution: {integrity: sha512-FNAIBWCx9qcRhoHcgcJ0gvU7SN1lYU2ZXuSfl04bSC5OpvDHFyJCjdNHomPXxjQlCBU67YW64PzY7/VIEH7F2w==} + engines: {node: '>=10'} + hasBin: true + /send@0.18.0: resolution: {integrity: sha512-qqWzuOjSFOuqPjFe4NOsMLafToQQwBSOEpS+FwEt3A2V3vKubTquT3vmLTQpFgMXp8AlFWFuP1qKaJZOtPpVXg==} engines: {node: '>= 0.8.0'} @@ -22116,8 +21199,8 @@ packages: transitivePeerDependencies: - supports-color - /serialize-javascript@6.0.1: - resolution: {integrity: sha512-owoXEFjWRllis8/M1Q+Cw5k8ZH40e3zhp/ovX+Xr/vi1qj6QesbyXXViFbpNvWvPNAD62SutwEXavefrLJWj7w==} + /serialize-javascript@6.0.2: + resolution: {integrity: sha512-Saa1xPByTTq2gdeFZYLLo+RFE35NHZkAbqZeWNd3BpzppeVisAqpDjcp8dyf6uIvEqJRd46jemmyA4iFIeVk8g==} dependencies: randombytes: 2.1.0 dev: true @@ -22135,24 +21218,27 @@ packages: /set-blocking@2.0.0: resolution: {integrity: sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw==} + dev: true - /set-function-length@1.2.0: - resolution: {integrity: sha512-4DBHDoyHlM1IRPGYcoxexgh67y4ueR53FKV1yyxwFMY7aCqcN/38M1+SwZ/qJQ8iLv7+ck385ot4CcisOAPT9w==} + /set-function-length@1.2.2: + resolution: {integrity: sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==} engines: {node: '>= 0.4'} dependencies: - define-data-property: 1.1.1 + define-data-property: 1.1.4 + es-errors: 1.3.0 function-bind: 1.1.2 - get-intrinsic: 1.2.2 + get-intrinsic: 1.2.4 gopd: 1.0.1 - has-property-descriptors: 1.0.1 + has-property-descriptors: 1.0.2 - /set-function-name@2.0.1: - resolution: {integrity: sha512-tMNCiqYVkXIZgc2Hnoy2IvC/f8ezc5koaRFkCjrpWzGpCd3qbZXPzVy9MAZzK1ch/X0jvSkojys3oqJN0qCmdA==} + /set-function-name@2.0.2: + resolution: {integrity: sha512-7PGFlmtwsEADb0WYyvCMa1t+yke6daIG4Wirafur5kcf+MhUnPms1UeR0CKQdTZD81yESwMHbtn+TR+dMviakQ==} engines: {node: '>= 0.4'} dependencies: - define-data-property: 1.1.0 + define-data-property: 1.1.4 + es-errors: 1.3.0 functions-have-names: 1.2.3 - has-property-descriptors: 1.0.0 + has-property-descriptors: 1.0.2 /set-harmonic-interval@1.0.1: resolution: {integrity: sha512-AhICkFV84tBP1aWqPwLZqFvAwqEoVA9kxNMniGEUvzOlm4vLmOFLiTT3UZ6bziJTy4bOVpzWGTfSCbmaayGx8g==} @@ -22203,12 +21289,14 @@ packages: minimist: 1.2.8 shelljs: 0.8.5 - /side-channel@1.0.4: - resolution: {integrity: sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==} + /side-channel@1.0.6: + resolution: {integrity: sha512-fDW/EZ6Q9RiO8eFG8Hj+7u/oW+XrPTIChwCOM2+th2A6OblDtYYIpve9m+KvI9Z4C9qSEXlaGR6bTEYHReuglA==} + engines: {node: '>= 0.4'} dependencies: - call-bind: 1.0.5 - get-intrinsic: 1.2.2 - object-inspect: 1.12.3 + call-bind: 1.0.7 + es-errors: 1.3.0 + get-intrinsic: 1.2.4 + object-inspect: 1.13.2 /siginfo@2.0.0: resolution: {integrity: sha512-ybx0WO1/8bSBLEWXZvEd7gMW3Sn3JFlW3TvX1nREbDLRNQNaeNN8WK0meBwPdAaOI7TtRRRJn/Es1zhrrCHu7g==} @@ -22221,14 +21309,16 @@ packages: resolution: {integrity: sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==} engines: {node: '>=14'} - /sigstore@2.1.0: - resolution: {integrity: sha512-kPIj+ZLkyI3QaM0qX8V/nSsweYND3W448pwkDgS6CQ74MfhEkIR8ToK5Iyx46KJYRjseVcD3Rp9zAmUAj6ZjPw==} + /sigstore@2.3.1: + resolution: {integrity: sha512-8G+/XDU8wNsJOQS5ysDVO0Etg9/2uA5gR9l4ZwijjlwxBcrU6RPfwi2+jJmbP+Ap1Hlp/nVAaEO4Fj22/SL2gQ==} engines: {node: ^16.14.0 || >=18.0.0} dependencies: - '@sigstore/bundle': 2.1.0 - '@sigstore/protobuf-specs': 0.2.1 - '@sigstore/sign': 2.1.0 - '@sigstore/tuf': 2.2.0 + '@sigstore/bundle': 2.3.2 + '@sigstore/core': 1.1.0 + '@sigstore/protobuf-specs': 0.3.2 + '@sigstore/sign': 2.3.2 + '@sigstore/tuf': 2.3.4 + '@sigstore/verify': 1.2.1 transitivePeerDependencies: - supports-color dev: false @@ -22259,7 +21349,7 @@ packages: resolution: {integrity: sha512-a2B9Y0KlNXl9u/vsW6sTIu9vGEpfKu2wRV6l1H3XEas/0gUIzGzBoP/IouTcUQbm9JWZLH3COxyn03TYlFax6w==} engines: {node: '>=10'} dependencies: - semver: 7.5.4 + semver: 7.6.2 dev: true /sinon@14.0.2: @@ -22269,8 +21359,8 @@ packages: '@sinonjs/commons': 2.0.0 '@sinonjs/fake-timers': 9.1.2 '@sinonjs/samsam': 7.0.1 - diff: 5.1.0 - nise: 5.1.4 + diff: 5.2.0 + nise: 5.1.9 supports-color: 7.2.0 dev: true @@ -22295,33 +21385,22 @@ packages: engines: {node: '>= 6.0.0', npm: '>= 3.0.0'} dev: false - /socks-proxy-agent@7.0.0: - resolution: {integrity: sha512-Fgl0YPZ902wEsAyiQ+idGd1A7rSFx/ayC1CQVMw5P+EQx2V0SgpGtf6OKFhVjPflPUl9YMmEOnmfjCdMUsygww==} - engines: {node: '>= 10'} - dependencies: - agent-base: 6.0.2 - debug: 4.3.4(supports-color@5.5.0) - socks: 2.7.1 - transitivePeerDependencies: - - supports-color - dev: false - - /socks-proxy-agent@8.0.2: - resolution: {integrity: sha512-8zuqoLv1aP/66PHF5TqwJ7Czm3Yv32urJQHrVyhD7mmA6d61Zv8cIXQYPTWwmg6qlupnPvs/QKDmfa4P/qct2g==} + /socks-proxy-agent@8.0.3: + resolution: {integrity: sha512-VNegTZKhuGq5vSD6XNKlbqWhyt/40CgoEw8XxD6dhnm8Jq9IEa3nIa4HwnM8XOqU0CdB0BwWVXusqiFXfHB3+A==} engines: {node: '>= 14'} dependencies: - agent-base: 7.1.0 - debug: 4.3.4(supports-color@5.5.0) - socks: 2.7.1 + agent-base: 7.1.1 + debug: 4.3.5(supports-color@5.5.0) + socks: 2.8.3 transitivePeerDependencies: - supports-color dev: false - /socks@2.7.1: - resolution: {integrity: sha512-7maUZy1N7uo6+WVEX6psASxtNlKaNVMlGQKkG/63nEDdLOWNbiUMoLK7X4uYoLhQstau72mLgfEWcXcwsaHbYQ==} - engines: {node: '>= 10.13.0', npm: '>= 3.0.0'} + /socks@2.8.3: + resolution: {integrity: sha512-l5x7VUUWbjVFbafGLxPWkYsHIhEvmF85tbIeFZWc8ZPtoMyybuEhL7Jye/ooC4/d48FgOjSJXgsF/AJPYCW8Zw==} + engines: {node: '>= 10.0.0', npm: '>= 3.0.0'} dependencies: - ip: 2.0.0 + ip-address: 9.0.5 smart-buffer: 4.2.0 dev: false @@ -22341,11 +21420,6 @@ packages: is-plain-obj: 2.1.0 dev: false - /source-map-js@1.0.2: - resolution: {integrity: sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==} - engines: {node: '>=0.10.0'} - dev: true - /source-map-js@1.2.0: resolution: {integrity: sha512-itJW8lvSA0TXEphiRoawsCksnlf8SyvmFzIhltqAHluXd88pkCd+cXJVHTDwdCr0IzwptSm035IHQktUu1QUMg==} engines: {node: '>=0.10.0'} @@ -22385,22 +21459,22 @@ packages: resolution: {integrity: sha512-kN9dJbvnySHULIluDHy32WHRUu3Og7B9sbY7tsFLctQkIqnMh3hErYgdMjTYuqmcXX+lK5T1lnUt3G7zNswmZA==} dependencies: spdx-expression-parse: 3.0.1 - spdx-license-ids: 3.0.16 + spdx-license-ids: 3.0.18 - /spdx-exceptions@2.3.0: - resolution: {integrity: sha512-/tTrYOC7PPI1nUAgx34hUpqXuyJG+DTHJTnIULG4rDygi4xu/tfgmq1e1cIRwRzwZgo4NLySi+ricLkZkw4i5A==} + /spdx-exceptions@2.5.0: + resolution: {integrity: sha512-PiU42r+xO4UbUS1buo3LPJkjlO7430Xn5SVAhdpzzsPHsjbYVflnnFdATgabnLude+Cqu25p6N+g2lw/PFsa4w==} /spdx-expression-parse@3.0.1: resolution: {integrity: sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==} dependencies: - spdx-exceptions: 2.3.0 - spdx-license-ids: 3.0.16 + spdx-exceptions: 2.5.0 + spdx-license-ids: 3.0.18 - /spdx-license-ids@3.0.16: - resolution: {integrity: sha512-eWN+LnM3GR6gPu35WxNgbGl8rmY1AEmoMDvL/QD6zYmPWgywxWqJWNdLGT+ke8dKNWrcYgYjPpG5gbTfghP8rw==} + /spdx-license-ids@3.0.18: + resolution: {integrity: sha512-xxRs31BqRYHwiMzudOrpSiHtZ8i/GeionCBDSilhYRj+9gIcI8wCZTlXZKu9vZIVqViP3dcp9qE5G6AlIaD+TQ==} - /spdx-license-list@6.8.0: - resolution: {integrity: sha512-5UdM7r9yJ1EvsPQZWfa41AZjLQngl9iMMysm9XBW7Lqhq7aF8cllfqjS+rFCHB8FFMGSM0yFWue2LUV9mR0QzQ==} + /spdx-license-list@6.9.0: + resolution: {integrity: sha512-L2jl5vc2j6jxWcNCvcVj/BW9A8yGIG02Dw+IUw0ZxDM70f7Ylf5Hq39appV1BI9yxyWQRpq2TQ1qaXvf+yjkqA==} engines: {node: '>=8'} dev: true @@ -22424,16 +21498,20 @@ packages: /sprintf-js@1.0.3: resolution: {integrity: sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==} + /sprintf-js@1.1.3: + resolution: {integrity: sha512-Oo+0REFV59/rz3gfJNKQiBlwfHaSESl1pcGyABQsnnIfWOFt6JNj5gCog2U6MLZ//IGYD+nA8nI+mTShREReaA==} + dev: false + /sscaff@1.2.274: resolution: {integrity: sha512-sztRa50SL1LVxZnF1au6QT1SC2z0S1oEOyi2Kpnlg6urDns93aL32YxiJcNkLcY+VHFtVqm/SRv4cb+6LeoBQA==} engines: {node: '>= 12.13.0'} dev: true - /ssri@10.0.5: - resolution: {integrity: sha512-bSf16tAFkGeRlUNDjXu8FzaMQt6g2HZJrun7mtMbIPOddxt3GLMSz5VWUWcqTJUPfLEaDIepGxv+bYQW49596A==} + /ssri@10.0.6: + resolution: {integrity: sha512-MGrFH9Z4NP9Iyhqn16sDtBpRRNJ0Y2hNa6D65h736fVSaPCHr4DM4sWUNvVaSuC+0OBGhwsrydQwmgfg5LncqQ==} engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} dependencies: - minipass: 7.0.4 + minipass: 7.1.2 dev: false /stack-generator@2.0.10: @@ -22505,7 +21583,7 @@ packages: figures: 3.2.0 find-up: 5.0.0 git-semver-tags: 4.1.1 - semver: 7.5.4 + semver: 7.6.2 stringify-package: 1.0.1 yargs: 16.2.0 dev: true @@ -22514,35 +21592,28 @@ packages: resolution: {integrity: sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==} engines: {node: '>= 0.8'} - /std-env@3.4.3: - resolution: {integrity: sha512-f9aPhy8fYBuMN+sNfakZV18U39PbalgjXG3lLB9WkaYTxijru61wb57V9wxxNthXM5Sd88ETBWi29qLAsHO52Q==} - dev: false - /std-env@3.7.0: resolution: {integrity: sha512-JPbdCEQLj1w5GilpiHAx3qJvFndqybBysA3qUOnznweH4QbNYUsW/ea8QzSrnh0vNsezMMw5bcVool8lM0gwzg==} - dev: true /stop-iteration-iterator@1.0.0: resolution: {integrity: sha512-iCGQj+0l0HOdZ2AEeBADlsRC+vsnDsZsbdSiH1yNSjcfKM7fdpCMfqAL/dwF5BLiw/XhRft/Wax6zQbhq2BcjQ==} engines: {node: '>= 0.4'} dependencies: - internal-slot: 1.0.5 - dev: true + internal-slot: 1.0.7 /stoppable@1.1.0: resolution: {integrity: sha512-KXDYZ9dszj6bzvnEMRYvxgeTHU74QBFL54XKtP3nyMuJ81CFYtABZ3bAzL2EdFUaEwJOBOgENyFj3R7oTzDyyw==} engines: {node: '>=4', npm: '>=6'} - dev: false - /store2@2.14.2: - resolution: {integrity: sha512-siT1RiqlfQnGqgT/YzXVUNsom9S0H1OX+dpdGN1xkyYATo4I6sep5NmsRD/40s3IIOvlCq6akxkqG82urIZW1w==} + /store2@2.14.3: + resolution: {integrity: sha512-4QcZ+yx7nzEFiV4BMLnr/pRa5HYzNITX2ri0Zh6sT9EyQHbBHacC6YigllUPU9X3D0f/22QCgfokpKs52YRrUg==} dev: true - /storybook@7.4.6: - resolution: {integrity: sha512-YkFSpnR47j5zz7yElA+2axLjXN7K7TxDGJRHHlqXmG5iQ0PXzmjrj2RxMDKFz4Ybp/QjEUoJ4rx//ESEY0Nb5A==} + /storybook@7.6.19: + resolution: {integrity: sha512-xWD1C4vD/4KMffCrBBrUpsLUO/9uNpm8BVW8+Vcb30gkQDfficZ0oziWkmLexpT53VSioa24iazGXMwBqllYjQ==} hasBin: true dependencies: - '@storybook/cli': 7.4.6 + '@storybook/cli': 7.6.19 transitivePeerDependencies: - bufferutil - encoding @@ -22555,6 +21626,11 @@ packages: engines: {node: '>= 0.10.0'} dev: true + /stream-buffers@3.0.3: + resolution: {integrity: sha512-pqMqwQCso0PBJt2PQmDO0cFj0lyqmiwOMiMSkVtRokl7e+ZTRYgDHKnuZNbqjiJXgsg4nuqtD/zxuo9KqTp0Yw==} + engines: {node: '>= 0.10.0'} + dev: true + /stream-chain@2.2.5: resolution: {integrity: sha512-1TJmBx6aSWqZ4tx7aTpBDXK0/e2hhcNSTV8+CbFJtDjbb+I1mZ8lHit0Grw9GRT+6JbIrrDd8esncgBi8aBXGA==} dev: true @@ -22571,26 +21647,20 @@ packages: stream-chain: 2.2.5 dev: true - /stream-shift@1.0.1: - resolution: {integrity: sha512-AiisoFqQ0vbGcZgQPY1cdP2I76glaVA/RauYR4G4thNFgkTqr90yXTo4LYX60Jl+sIlPNHHdGSwo01AvbKUSVQ==} + /stream-shift@1.0.3: + resolution: {integrity: sha512-76ORR0DO1o1hlKwTbi/DM3EXWGf3ZJYO8cXX5RJwnul2DEg2oyoZyjLNoQM8WsvZiFKCRfC1O0J7iCvie3RZmQ==} /streamroller@3.1.5: resolution: {integrity: sha512-KFxaM7XT+irxvdqSP1LGLgNWbYN7ay5owZ3r/8t77p+EtSUAfUgtl7be3xtqtOmGUl9K9YPO2ca8133RlTjvKw==} engines: {node: '>=8.0'} dependencies: date-format: 4.0.14 - debug: 4.3.4(supports-color@5.5.0) + debug: 4.3.5(supports-color@5.5.0) fs-extra: 8.1.0 transitivePeerDependencies: - supports-color dev: true - /streamx@2.15.7: - resolution: {integrity: sha512-NPEKS5+yjyo597eafGbKW5ujh7Sm6lDLHZQd/lRSz6S0VarpADBJItqfB4PnwpS+472oob1GX5cCY9vzfJpHUA==} - dependencies: - fast-fifo: 1.3.2 - queue-tick: 1.0.1 - /string-length@4.0.2: resolution: {integrity: sha512-+l6rNN5fYHNhZZy41RXsYptCjA2Igmq4EG7kZAYFQI1E1VTXarr6ZPXBg6eq7Y6eK4FEhY6AJlyuFIb/v/S0VQ==} engines: {node: '>=10'} @@ -22615,45 +21685,65 @@ packages: emoji-regex: 9.2.2 strip-ansi: 7.1.0 - /string.prototype.matchall@4.0.10: - resolution: {integrity: sha512-rGXbGmOEosIQi6Qva94HUjgPs9vKW+dkG7Y8Q5O2OYkWL6wFaTRZO8zM4mhP94uX55wgyrXzfS2aGtGzUL7EJQ==} + /string.prototype.includes@2.0.0: + resolution: {integrity: sha512-E34CkBgyeqNDcrbU76cDjL5JLcVrtSdYq0MEh/B10r17pRP4ciHLwTgnuLV8Ay6cgEMLkcBkFCKyFZ43YldYzg==} + dependencies: + define-properties: 1.2.1 + es-abstract: 1.23.3 + dev: false + + /string.prototype.matchall@4.0.11: + resolution: {integrity: sha512-NUdh0aDavY2og7IbBPenWqR9exH+E26Sv8e0/eTe1tltDGZL+GtBkDAnnyBtmekfK6/Dq3MkcGtzXFEd1LQrtg==} + engines: {node: '>= 0.4'} dependencies: - call-bind: 1.0.2 + call-bind: 1.0.7 define-properties: 1.2.1 - es-abstract: 1.22.2 - get-intrinsic: 1.2.1 + es-abstract: 1.23.3 + es-errors: 1.3.0 + es-object-atoms: 1.0.0 + get-intrinsic: 1.2.4 + gopd: 1.0.1 has-symbols: 1.0.3 - internal-slot: 1.0.5 - regexp.prototype.flags: 1.5.1 - set-function-name: 2.0.1 - side-channel: 1.0.4 + internal-slot: 1.0.7 + regexp.prototype.flags: 1.5.2 + set-function-name: 2.0.2 + side-channel: 1.0.6 dev: false /string.prototype.repeat@0.2.0: resolution: {integrity: sha512-1BH+X+1hSthZFW+X+JaUkjkkUPwIlLEMJBLANN3hOob3RhEk5snLWNECDnYbgn/m5c5JV7Ersu1Yubaf+05cIA==} dev: true - /string.prototype.trim@1.2.8: - resolution: {integrity: sha512-lfjY4HcixfQXOfaqCvcBuOIapyaroTXhbkfJN3gcB1OtyupngWK4sEET9Knd0cXd28kTUqu/kHoV4HKSJdnjiQ==} + /string.prototype.repeat@1.0.0: + resolution: {integrity: sha512-0u/TldDbKD8bFCQ/4f5+mNRrXwZ8hg2w7ZR8wa16e8z9XpePWl3eGEcUD0OXpEH/VJH/2G3gjUtR3ZOiBe2S/w==} + dependencies: + define-properties: 1.2.1 + es-abstract: 1.23.3 + dev: true + + /string.prototype.trim@1.2.9: + resolution: {integrity: sha512-klHuCNxiMZ8MlsOihJhJEBJAiMVqU3Z2nEXWfWnIqjN0gEFS9J9+IxKozWWtQGcgoa1WUZzLjKPTr4ZHNFTFxw==} engines: {node: '>= 0.4'} dependencies: - call-bind: 1.0.5 + call-bind: 1.0.7 define-properties: 1.2.1 - es-abstract: 1.22.2 + es-abstract: 1.23.3 + es-object-atoms: 1.0.0 - /string.prototype.trimend@1.0.7: - resolution: {integrity: sha512-Ni79DqeB72ZFq1uH/L6zJ+DKZTkOtPIHovb3YZHQViE+HDouuU4mBrLOLDn5Dde3RF8qw5qVETEjhu9locMLvA==} + /string.prototype.trimend@1.0.8: + resolution: {integrity: sha512-p73uL5VCHCO2BZZ6krwwQE3kCzM7NKmis8S//xEC6fQonchbum4eP6kR4DLEjQFO3Wnj3Fuo8NM0kOSjVdHjZQ==} dependencies: - call-bind: 1.0.5 + call-bind: 1.0.7 define-properties: 1.2.1 - es-abstract: 1.22.2 + es-object-atoms: 1.0.0 - /string.prototype.trimstart@1.0.7: - resolution: {integrity: sha512-NGhtDFu3jCEm7B4Fy0DpLewdJQOZcQ0rGbwQ/+stjnrp2i+rlKeCvos9hOIeCmqwratM47OBxY7uFZzjxHXmrg==} + /string.prototype.trimstart@1.0.8: + resolution: {integrity: sha512-UXSH262CSZY1tfu3G3Secr6uGLCFVPMhIqHjlgCUtCCcgihYc/xKs9djMTMUOb2j1mVSeU8EU6NWc/iQKU6Gfg==} + engines: {node: '>= 0.4'} dependencies: - call-bind: 1.0.5 + call-bind: 1.0.7 define-properties: 1.2.1 - es-abstract: 1.22.2 + es-object-atoms: 1.0.0 /string_decoder@1.1.1: resolution: {integrity: sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==} @@ -22665,6 +21755,13 @@ packages: dependencies: safe-buffer: 5.2.1 + /stringify-entities@4.0.4: + resolution: {integrity: sha512-IwfBptatlO+QCJUo19AqvrPNqlVMpW9YEL2LIVY+Rpv2qsjCGxaDLNRgeGsQWJhfItebuJhsGSLjaBbNSQ+ieg==} + dependencies: + character-entities-html4: 2.1.0 + character-entities-legacy: 3.0.0 + dev: false + /stringify-package@1.0.1: resolution: {integrity: sha512-sa4DUQsYciMP1xhKWGuFM04fB0LG/9DlluZoSVywUMRNvzid6XucHK0/90xGxRoHrAaROrcHK1aPKaijCtSrhg==} deprecated: This module is not used anymore, and has been replaced by @npmcli/package-json @@ -22709,6 +21806,13 @@ packages: dependencies: min-indent: 1.0.1 + /strip-indent@4.0.0: + resolution: {integrity: sha512-mnVSV2l+Zv6BLpSD/8V87CW/y9EmmbYzGCIavsnsI6/nwn26DwffM/yztm30Z/I2DY9wdS3vXVCMnHDgZaVNoA==} + engines: {node: '>=12'} + dependencies: + min-indent: 1.0.1 + dev: true + /strip-json-comments@2.0.1: resolution: {integrity: sha512-4gB8na07fecVVkOI6Rs4e7T6NOTki5EmL7TUduTs6bu3EdnSycntVJ4re8kgZA+wx9IueI2Y11bfbgwtzuE0KQ==} engines: {node: '>=0.10.0'} @@ -22719,10 +21823,10 @@ packages: resolution: {integrity: sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==} engines: {node: '>=8'} - /strip-literal@2.0.0: - resolution: {integrity: sha512-f9vHgsCWBq2ugHAkGMiiYY+AYG0D/cbloKKg0nhaaaSNsujdGIpVXCNsrJpCKr5M0f4aI31mr13UjY6GAuXCKA==} + /strip-literal@2.1.0: + resolution: {integrity: sha512-Op+UycaUt/8FbN/Z2TWPBLge3jWrP3xj10f3fnYxf052bKuS3EKs1ZQcVGjnEMdsNVAM+plXRdmjrZ/KgG3Skw==} dependencies: - js-tokens: 8.0.3 + js-tokens: 9.0.0 dev: true /strnum@1.0.5: @@ -22733,29 +21837,15 @@ packages: resolution: {integrity: sha512-PdHt7hHUJKxvTCgbKX9C1V/ftOcjJQgz8BZwNfV5c4B6dcGqlpelTbJ999jBGZ2jYiPAwcX5dP6oBwVlBlUbxw==} dev: false - /style-to-object@0.4.4: - resolution: {integrity: sha512-HYNoHZa2GorYNyqiCaBgsxvcJIn7OHq6inEga+E6Ke3m5JkoqpQbnFssk4jwe+K7AhGa2fcha4wSOf1Kn01dMg==} - dependencies: - inline-style-parser: 0.1.1 - dev: false - - /stylis@4.3.0: - resolution: {integrity: sha512-E87pIogpwUsUwXw7dNyU4QDjdgVMy52m+XEOPEKUn161cCzWjjhPSQhByfd1CcNvrOLnXQ6OnnZDwnJrz/Z4YQ==} - dev: false - - /sucrase@3.34.0: - resolution: {integrity: sha512-70/LQEZ07TEcxiU2dz51FKaE6hCTWC6vr7FOk3Gr0U60C3shtAN+H+BFr9XlYe5xqf3RA8nrc+VIwzCfnxuXJw==} - engines: {node: '>=8'} - hasBin: true + /style-to-object@1.0.6: + resolution: {integrity: sha512-khxq+Qm3xEyZfKd/y9L3oIWQimxuc4STrQKtQn8aSDRHb8mFgpukgX1hdzfrMEW6JCjyJ8p89x+IUMVnCBI1PA==} dependencies: - '@jridgewell/gen-mapping': 0.3.3 - commander: 4.1.1 - glob: 7.1.6 - lines-and-columns: 1.2.4 - mz: 2.7.0 - pirates: 4.0.6 - ts-interface-checker: 0.1.13 - dev: true + inline-style-parser: 0.2.3 + dev: false + + /stylis@4.3.2: + resolution: {integrity: sha512-bhtUjWd/z6ltJiQwg0dUfxEJ+W+jdqQd8TbWLWyeIJHlnsqmGLRFFd8e5mA0AZi/zx90smXRlN66YMTcaSFifg==} + dev: false /sucrase@3.35.0: resolution: {integrity: sha512-8EbVDiu9iN/nESwxeSxDKe0dunta1GOlHufmSSXxMD2z2/tMZpDMpvXQGsc+ajGo8y2uYUmixaSRUc/QPoQ0GA==} @@ -22764,7 +21854,7 @@ packages: dependencies: '@jridgewell/gen-mapping': 0.3.5 commander: 4.1.1 - glob: 10.3.12 + glob: 10.4.2 lines-and-columns: 1.2.4 mz: 2.7.0 pirates: 4.0.6 @@ -22807,8 +21897,8 @@ packages: resolution: {integrity: sha512-AsS729u2RHUfEra9xJrE39peJcc2stq2+poBXX8bcM08Y6g9j/i/PUzwNQqkaJde7Ntg1TO7bSREbR5sdosQ+g==} dev: true - /tailwindcss@3.4.3: - resolution: {integrity: sha512-U7sxQk/n397Bmx4JHbJx/iSOOv5G+II3f1kpLpY2QeUv5DcPdcTsYLlusZfq1NthHS1c1cZoyFmmkex1rzke0A==} + /tailwindcss@3.4.4: + resolution: {integrity: sha512-ZoyXOdJjISB7/BcLTR6SEsLgKtDStYyYZVLsUtWChO4Ps20CBad7lfJKVDiejocV4ME1hLmyY0WJE3hSDcmQ2A==} engines: {node: '>=14.0.0'} hasBin: true dependencies: @@ -22820,18 +21910,18 @@ packages: fast-glob: 3.3.2 glob-parent: 6.0.2 is-glob: 4.0.3 - jiti: 1.21.0 + jiti: 1.21.6 lilconfig: 2.1.0 - micromatch: 4.0.5 + micromatch: 4.0.7 normalize-path: 3.0.0 object-hash: 3.0.0 - picocolors: 1.0.0 + picocolors: 1.0.1 postcss: 8.4.38 postcss-import: 15.1.0(postcss@8.4.38) postcss-js: 4.0.1(postcss@8.4.38) postcss-load-config: 4.0.2(postcss@8.4.38) postcss-nested: 6.0.1(postcss@8.4.38) - postcss-selector-parser: 6.0.16 + postcss-selector-parser: 6.1.0 resolve: 1.22.8 sucrase: 3.35.0 transitivePeerDependencies: @@ -22861,15 +21951,8 @@ packages: readable-stream: 3.6.2 dev: true - /tar-stream@3.1.7: - resolution: {integrity: sha512-qJj60CXt7IU1Ffyc3NJMjh6EkuCFej46zUqJ4J7pqYlThyd9bO0XBTmcOIhSzZJVWfsLks0+nle/j538YAW9RQ==} - dependencies: - b4a: 1.6.6 - fast-fifo: 1.3.2 - streamx: 2.15.7 - - /tar@6.2.0: - resolution: {integrity: sha512-/Wo7DcT0u5HUV486xg675HtjNd3BXZ6xDbzsCUZPt5iw8bTQ63bP0Raut3mvro9u+CUyq7YQd8Cx55fsZXxqLQ==} + /tar@6.2.1: + resolution: {integrity: sha512-DZ4yORTwrbTj/7MZYq2w+/ZFdI6OZ/f9SFHR+71gIVUZhOQPHzVCLpvRnPgyaMpfWxxk/4ONva3GQSyNIKRv6A==} engines: {node: '>=10'} dependencies: chownr: 2.0.0 @@ -22946,8 +22029,8 @@ packages: dev: false optional: true - /terser-webpack-plugin@5.3.9(esbuild@0.19.12)(webpack@5.88.2): - resolution: {integrity: sha512-ZuXsqE07EcggTWQjXUj+Aot/OMcD0bMKGgF63f7UxYcu5/AJF53aIpK1YoP5xR9l6s/Hy2b+t1AM0bLNPRuhwA==} + /terser-webpack-plugin@5.3.10(esbuild@0.21.5)(webpack@5.92.1): + resolution: {integrity: sha512-BKFPWlPDndPs+NGGCr1U59t0XScL5317Y0UReNrHaw9/FwhPENlq6bfgs+4yPfyP51vqC1bQ4rp1EfXW5ZSH9w==} engines: {node: '>= 10.13.0'} peerDependencies: '@swc/core': '*' @@ -22962,22 +22045,22 @@ packages: uglify-js: optional: true dependencies: - '@jridgewell/trace-mapping': 0.3.20 - esbuild: 0.19.12 + '@jridgewell/trace-mapping': 0.3.25 + esbuild: 0.21.5 jest-worker: 27.5.1 schema-utils: 3.3.0 - serialize-javascript: 6.0.1 - terser: 5.21.0 - webpack: 5.88.2(esbuild@0.19.12) + serialize-javascript: 6.0.2 + terser: 5.31.1 + webpack: 5.92.1(esbuild@0.21.5) dev: true - /terser@5.21.0: - resolution: {integrity: sha512-WtnFKrxu9kaoXuiZFSGrcAvvBqAdmKx0SFNmVNYdJamMu9yyN3I/QF0FbH4QcqJQ+y1CJnzxGIKH0cSj+FGYRw==} + /terser@5.31.1: + resolution: {integrity: sha512-37upzU1+viGvuFtBo9NPufCb9dwM0+l9hMxYyWfBA+fbwrPqNJAhbZ6W47bBFnZHKHTUBnMvi87434qq+qnxOg==} engines: {node: '>=10'} hasBin: true dependencies: - '@jridgewell/source-map': 0.3.5 - acorn: 8.10.0 + '@jridgewell/source-map': 0.3.6 + acorn: 8.12.0 commander: 2.20.3 source-map-support: 0.5.21 dev: true @@ -23036,24 +22119,24 @@ packages: /through@2.3.8: resolution: {integrity: sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg==} - /tiny-colors@2.1.2: - resolution: {integrity: sha512-6peGRBtkYBJpVrQUWOPKrC0ECo6WotUlXxirVTKvihjdgxQETpKtLdCKIb68IHjJYH1AOE7GM7RnxFvkGHsqOg==} + /tiny-colors@2.2.1: + resolution: {integrity: sha512-TfI6HAOtUH6SEIDF8hlztirPlbGKShLhKmSf8Wne0M8bvVFdleHuVhBZkR3UqJKhKs9oIkJYigv4yRaxHnoATQ==} dev: false - /tiny-invariant@1.3.1: - resolution: {integrity: sha512-AD5ih2NlSssTCwsMznbvwMZpJ1cbhkGd2uueNxzv2jDlEeZdU04JQfRnggJQ8DrcVBGjAsCKwFBbDlVNtEMlzw==} + /tiny-invariant@1.3.3: + resolution: {integrity: sha512-+FbBPE1o9QAYvviau/qC5SE3caw21q3xkvWKBtja5vgqOWIHHJ3ioaq1VPfn/Szqctz2bU/oYeKd9/z5BL+PVg==} dev: true - /tiny-updater@3.5.1: - resolution: {integrity: sha512-kh1922FSNPTmrdr353x+xJRTrrVFl9zq/Q1Vz47YNWhTO0jn3ZyZd6Cahe8qW5MLXg+gia+0G7b6HIgW7pbBMg==} + /tiny-updater@3.5.2: + resolution: {integrity: sha512-5EjK01h0rvgv+Eb0XaiTZJZR+ujdjCDHZ1ZCVCu+1h4+MyOYZ+za8UKuKdNOOOSKhkkC9B08o6ZhF4JnQg7ZLg==} dependencies: ionstore: 1.0.0 - tiny-colors: 2.1.2 - when-exit: 2.1.1 + tiny-colors: 2.2.1 + when-exit: 2.1.2 dev: false - /tinybench@2.5.1: - resolution: {integrity: sha512-65NKvSuAVDP/n4CqH+a9w2kTlLReS9vhsAP06MWx+/89nMinJyB2icyl58RIcqCmIggpojIGeuJGhjU1aGMBSg==} + /tinybench@2.8.0: + resolution: {integrity: sha512-1/eK7zUnIklz4JUUlL+658n58XO2hHLQfSk1Zf2LKieUjxidN16eKFEoDEfjHc3ohofSSqK3X5yO6VGb6iW8Lw==} dev: true /tinypool@0.8.4: @@ -23061,8 +22144,8 @@ packages: engines: {node: '>=14.0.0'} dev: true - /tinyspy@2.2.0: - resolution: {integrity: sha512-d2eda04AN/cPOR89F7Xv5bK/jrQEhmcLFe6HFldoeO9AJtps+fqEnh486vnT/8y4bw38pSyxDcTCAq+Ks2aJTg==} + /tinyspy@2.2.1: + resolution: {integrity: sha512-KYad6Vy5VDWV4GH3fjpseMQ/XU2BhIYP7Vzd0LG44qRWm/Yt2WCOTicFdvmgo6gWaqooMQCawTtILVQJupKu7A==} engines: {node: '>=14.0.0'} dev: true @@ -23078,11 +22161,9 @@ packages: dependencies: os-tmpdir: 1.0.2 - /tmp@0.2.1: - resolution: {integrity: sha512-76SUhtfqR2Ijn+xllcI5P1oyannHNHByD80W1q447gU3mp9G9PSpGdWmjUOHRDPiHYacIk66W7ubDTuPF3BEtQ==} - engines: {node: '>=8.17.0'} - dependencies: - rimraf: 3.0.2 + /tmp@0.2.3: + resolution: {integrity: sha512-nZD7m9iCPC5g0pYmcaxogYKggSfLsdxl8of3Q/oIbqCqLLIO9IAF0GWjX1z9NZRHPiXv8Wex4yDCaZsgEw0Y8w==} + engines: {node: '>=14.14'} dev: true /tmpl@1.0.5: @@ -23100,8 +22181,8 @@ packages: dependencies: is-number: 7.0.0 - /tocbot@4.21.2: - resolution: {integrity: sha512-R5Muhi/TUu4i4snWVrMgNoXyJm2f8sJfdgIkQvqb+cuIXQEIMAiWGWgCgYXHqX4+XiS/Bnm7IYZ9Zy6NVe6lhw==} + /tocbot@4.28.2: + resolution: {integrity: sha512-/MaSa9xI6mIo84IxqqliSCtPlH0oy7sLcY9s26qPMyH/2CxtZ2vNAXYlIdEQ7kjAkCQnc0rbLygf//F5c663oQ==} dev: true /toggle-selection@1.0.6: @@ -23116,11 +22197,9 @@ packages: resolution: {integrity: sha512-y/mWCZinnvxjTKYhJ+pYxwD0mRLVvOtdS2Awbgxln6iEnt4rk0yBxeSBHkGJcPucRiG0e55mwWp+g/05rsrd6w==} dev: false - /touch@3.1.0: - resolution: {integrity: sha512-WBx8Uy5TLtOSRtIq+M03/sKDrXCLHxwDcquSP2c43Le03/9serjQBIztjRz6FkJez9D/hleyAXTBGLwwZUw9lA==} + /touch@3.1.1: + resolution: {integrity: sha512-r0eojU4bI8MnHr8c5bNo7lJDdI2qXlWWJk6a9EAFG7vbhTjElYhBVS3/miuE0uOuoLdb8Mc/rVfsmm6eo5o9GA==} hasBin: true - dependencies: - nopt: 1.0.10 dev: true /tr46@0.0.3: @@ -23129,7 +22208,7 @@ packages: /tr46@1.0.1: resolution: {integrity: sha512-dTpowEjclQ7Kgx5SdBkqRzVhERQXov8/l9Ft9dVM9fmg0W0KQSVaXX9T4i6twCPNtYiZM53lpSSUAwJbFPOHxA==} dependencies: - punycode: 2.3.0 + punycode: 2.3.1 dev: true /tree-kill@1.2.2: @@ -23148,7 +22227,7 @@ packages: requiresBuild: true dependencies: node-addon-api: 8.0.0 - node-gyp-build: 4.8.0 + node-gyp-build: 4.8.1 dev: false /treeverse@3.0.0: @@ -23172,17 +22251,17 @@ packages: dev: false optional: true - /trough@2.1.0: - resolution: {integrity: sha512-AqTiAOLcj85xS7vQ8QkAV41hPDIJ71XJB4RCUrzo/1GM2CQwhkJGaf9Hgr7BOugMRpgGUrqRg/DrBDl4H40+8g==} + /trough@2.2.0: + resolution: {integrity: sha512-tmMpK00BjZiUyVyvrBK7knerNgmgvcV/KLVyuma/SC+TQN167GrMRciANTz09+k3zW8L8t60jWO1GpfkZdjTaw==} dev: false - /ts-api-utils@1.0.3(typescript@5.3.3): - resolution: {integrity: sha512-wNMeqtMz5NtwpT/UZGY5alT+VoKdSsOOP/kqHFcUW1P/VRhH2wJ48+DN2WwUliNbQ976ETwDL0Ifd2VVvgonvg==} - engines: {node: '>=16.13.0'} + /ts-api-utils@1.3.0(typescript@5.5.2): + resolution: {integrity: sha512-UQMIo7pb8WRomKR1/+MFVLTroIvDVtMX3K6OUir8ynLyzB8Jeriont2bTAtmNPa1ekAgN7YPDyf6V+ygrdU+eQ==} + engines: {node: '>=16'} peerDependencies: typescript: '>=4.2.0' dependencies: - typescript: 5.3.3 + typescript: 5.5.2 dev: true /ts-dedent@2.2.0: @@ -23197,8 +22276,8 @@ packages: /ts-interface-checker@0.1.13: resolution: {integrity: sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==} - /tsconfig-paths@3.14.2: - resolution: {integrity: sha512-o/9iXgCYc5L/JxCHPe3Hvh8Q/2xm5Z+p18PESBU6Ff33695QnCHBEjcytY2q19ua7Mbl/DavtBOLq+oG0RCL+g==} + /tsconfig-paths@3.15.0: + resolution: {integrity: sha512-2Ac2RgzDe/cn48GvOe3M+o82pEFewD3UPbyoUHHdKasHwJKjds4fLXWf/Ux5kATBKN20oaFGu+jbElp1pos0mg==} dependencies: '@types/json5': 0.0.29 json5: 1.0.2 @@ -23208,10 +22287,10 @@ packages: /tslib@1.14.1: resolution: {integrity: sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==} - /tslib@2.6.2: - resolution: {integrity: sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==} + /tslib@2.6.3: + resolution: {integrity: sha512-xNvxJEOUiWPGhUuUdQgAJPKOOJfGnIyKySOc09XkKsgdUV/3E2zvwZYdejjmRgPCgcym1juLH3226yA7sEFJKQ==} - /tsup@6.7.0(typescript@5.3.3): + /tsup@6.7.0(typescript@5.5.2): resolution: {integrity: sha512-L3o8hGkaHnu5TdJns+mCqFsDBo83bJ44rlK7e6VdanIvpea4ArPcU3swWGsLVbXak1PqQx/V+SSmFPujBK+zEQ==} engines: {node: '>=14.18'} hasBin: true @@ -23227,10 +22306,10 @@ packages: typescript: optional: true dependencies: - bundle-require: 4.0.2(esbuild@0.17.19) + bundle-require: 4.2.1(esbuild@0.17.19) cac: 6.7.14 - chokidar: 3.5.3 - debug: 4.3.4(supports-color@5.5.0) + chokidar: 3.6.0 + debug: 4.3.5(supports-color@5.5.0) esbuild: 0.17.19 execa: 5.1.1 globby: 11.1.0 @@ -23239,16 +22318,16 @@ packages: resolve-from: 5.0.0 rollup: 3.29.4 source-map: 0.8.0-beta.0 - sucrase: 3.34.0 + sucrase: 3.35.0 tree-kill: 1.2.2 - typescript: 5.3.3 + typescript: 5.5.2 transitivePeerDependencies: - supports-color - ts-node dev: true - /tsup@8.0.2(postcss@8.4.38)(typescript@5.2.2): - resolution: {integrity: sha512-NY8xtQXdH7hDUAZwcQdY/Vzlw9johQsaqf7iwZ6g1DOUlFYQ5/AtVAjTvihhEyeRlGo4dLRVHtrRaL35M1daqQ==} + /tsup@8.1.0(postcss@8.4.38)(typescript@5.5.2): + resolution: {integrity: sha512-UFdfCAXukax+U6KzeTNO2kAARHcWxmKsnvSPXUcfA1D+kU05XDccCrkffCQpFaWDsZfV0jMyTsxU39VfCp6EOg==} engines: {node: '>=18'} hasBin: true peerDependencies: @@ -23266,87 +22345,47 @@ packages: typescript: optional: true dependencies: - bundle-require: 4.0.2(esbuild@0.19.12) + bundle-require: 4.2.1(esbuild@0.21.5) cac: 6.7.14 - chokidar: 3.5.3 - debug: 4.3.4(supports-color@5.5.0) - esbuild: 0.19.12 + chokidar: 3.6.0 + debug: 4.3.5(supports-color@5.5.0) + esbuild: 0.21.5 execa: 5.1.1 globby: 11.1.0 joycon: 3.1.1 postcss: 8.4.38 - postcss-load-config: 4.0.1(postcss@8.4.38) - resolve-from: 5.0.0 - rollup: 4.18.0 - source-map: 0.8.0-beta.0 - sucrase: 3.34.0 - tree-kill: 1.2.2 - typescript: 5.2.2 - transitivePeerDependencies: - - supports-color - - ts-node - dev: true - - /tsup@8.0.2(typescript@5.3.3): - resolution: {integrity: sha512-NY8xtQXdH7hDUAZwcQdY/Vzlw9johQsaqf7iwZ6g1DOUlFYQ5/AtVAjTvihhEyeRlGo4dLRVHtrRaL35M1daqQ==} - engines: {node: '>=18'} - hasBin: true - peerDependencies: - '@microsoft/api-extractor': ^7.36.0 - '@swc/core': ^1 - postcss: ^8.4.12 - typescript: '>=4.5.0' - peerDependenciesMeta: - '@microsoft/api-extractor': - optional: true - '@swc/core': - optional: true - postcss: - optional: true - typescript: - optional: true - dependencies: - bundle-require: 4.0.2(esbuild@0.19.12) - cac: 6.7.14 - chokidar: 3.5.3 - debug: 4.3.4(supports-color@5.5.0) - esbuild: 0.19.12 - execa: 5.1.1 - globby: 11.1.0 - joycon: 3.1.1 - postcss-load-config: 4.0.1(postcss@8.4.38) + postcss-load-config: 4.0.2(postcss@8.4.38) resolve-from: 5.0.0 rollup: 4.18.0 source-map: 0.8.0-beta.0 - sucrase: 3.34.0 + sucrase: 3.35.0 tree-kill: 1.2.2 - typescript: 5.3.3 + typescript: 5.5.2 transitivePeerDependencies: - supports-color - ts-node dev: true - /tsutils@3.21.0(typescript@5.2.2): + /tsutils@3.21.0(typescript@5.3.3): resolution: {integrity: sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==} engines: {node: '>= 6'} peerDependencies: typescript: '>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta' dependencies: tslib: 1.14.1 - typescript: 5.2.2 - dev: false + typescript: 5.3.3 - /tsutils@3.21.0(typescript@5.3.3): + /tsutils@3.21.0(typescript@5.5.2): resolution: {integrity: sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==} engines: {node: '>= 6'} peerDependencies: typescript: '>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta' dependencies: tslib: 1.14.1 - typescript: 5.3.3 + typescript: 5.5.2 - /tsx@4.15.2: - resolution: {integrity: sha512-kIZTOCmR37nEw0qxQks2dR+eZWSXydhTGmz7yx94vEiJtJGBTkUl0D/jt/5fey+CNdm6i3Cp+29WKRay9ScQUw==} + /tsx@4.15.7: + resolution: {integrity: sha512-u3H0iSFDZM3za+VxkZ1kywdCeHCn+8/qHQS1MNoO2sONDgD95HlWtt8aB23OzeTmFP9IU4/8bZUdg58Uu5J4cg==} engines: {node: '>=18.0.0'} hasBin: true dependencies: @@ -23354,25 +22393,14 @@ packages: get-tsconfig: 4.7.5 optionalDependencies: fsevents: 2.3.3 - dev: true - - /tsx@4.7.0: - resolution: {integrity: sha512-I+t79RYPlEYlHn9a+KzwrvEwhJg35h/1zHsLC2JXvhC2mdynMv6Zxzvhv5EMV6VF5qJlLlkSnMVvdZV3PSIGcg==} - engines: {node: '>=18.0.0'} - hasBin: true - dependencies: - esbuild: 0.19.12 - get-tsconfig: 4.7.2 - optionalDependencies: - fsevents: 2.3.3 - /tuf-js@2.1.0: - resolution: {integrity: sha512-eD7YPPjVlMzdggrOeE8zwoegUaG/rt6Bt3jwoQPunRiNVzgcCE009UDFJKJjG+Gk9wFu6W/Vi+P5d/5QpdD9jA==} + /tuf-js@2.2.1: + resolution: {integrity: sha512-GwIJau9XaA8nLVbUXsN3IlFi7WmQ48gBUrl3FTkkL/XLu/POhBzfmX9hd33FNMX1qAsfl6ozO1iMmW9NC8YniA==} engines: {node: ^16.14.0 || >=18.0.0} dependencies: - '@tufjs/models': 2.0.0 - debug: 4.3.4(supports-color@5.5.0) - make-fetch-happen: 13.0.0 + '@tufjs/models': 2.0.1 + debug: 4.3.5(supports-color@5.5.0) + make-fetch-happen: 13.0.1 transitivePeerDependencies: - supports-color dev: false @@ -23387,64 +22415,64 @@ packages: resolution: {integrity: sha512-1h/Lnq9yajKY2PEbBadPXj3VxsDDu844OnaAo52UVmIzIvwwtBPIuNvkjuzBlTWpfJyUbG3ez0KSBibQkj4ojg==} engines: {node: '>=0.6.11 <=0.7.0 || >=0.7.3'} - /turbo-darwin-64@1.13.3: - resolution: {integrity: sha512-glup8Qx1qEFB5jerAnXbS8WrL92OKyMmg5Hnd4PleLljAeYmx+cmmnsmLT7tpaVZIN58EAAwu8wHC6kIIqhbWA==} + /turbo-darwin-64@1.13.4: + resolution: {integrity: sha512-A0eKd73R7CGnRinTiS7txkMElg+R5rKFp9HV7baDiEL4xTG1FIg/56Vm7A5RVgg8UNgG2qNnrfatJtb+dRmNdw==} cpu: [x64] os: [darwin] requiresBuild: true dev: true optional: true - /turbo-darwin-arm64@1.13.3: - resolution: {integrity: sha512-/np2xD+f/+9qY8BVtuOQXRq5f9LehCFxamiQnwdqWm5iZmdjygC5T3uVSYuagVFsZKMvX3ycySwh8dylGTl6lg==} + /turbo-darwin-arm64@1.13.4: + resolution: {integrity: sha512-eG769Q0NF6/Vyjsr3mKCnkG/eW6dKMBZk6dxWOdrHfrg6QgfkBUk0WUUujzdtVPiUIvsh4l46vQrNVd9EOtbyA==} cpu: [arm64] os: [darwin] requiresBuild: true dev: true optional: true - /turbo-linux-64@1.13.3: - resolution: {integrity: sha512-G+HGrau54iAnbXLfl+N/PynqpDwi/uDzb6iM9hXEDG+yJnSJxaHMShhOkXYJPk9offm9prH33Khx2scXrYVW1g==} + /turbo-linux-64@1.13.4: + resolution: {integrity: sha512-Bq0JphDeNw3XEi+Xb/e4xoKhs1DHN7OoLVUbTIQz+gazYjigVZvtwCvgrZI7eW9Xo1eOXM2zw2u1DGLLUfmGkQ==} cpu: [x64] os: [linux] requiresBuild: true dev: true optional: true - /turbo-linux-arm64@1.13.3: - resolution: {integrity: sha512-qWwEl5VR02NqRyl68/3pwp3c/olZuSp+vwlwrunuoNTm6JXGLG5pTeme4zoHNnk0qn4cCX7DFrOboArlYxv0wQ==} + /turbo-linux-arm64@1.13.4: + resolution: {integrity: sha512-BJcXw1DDiHO/okYbaNdcWN6szjXyHWx9d460v6fCHY65G8CyqGU3y2uUTPK89o8lq/b2C8NK0yZD+Vp0f9VoIg==} cpu: [arm64] os: [linux] requiresBuild: true dev: true optional: true - /turbo-windows-64@1.13.3: - resolution: {integrity: sha512-Nudr4bRChfJzBPzEmpVV85VwUYRCGKecwkBFpbp2a4NtrJ3+UP1VZES653ckqCu2FRyRuS0n03v9euMbAvzH+Q==} + /turbo-windows-64@1.13.4: + resolution: {integrity: sha512-OFFhXHOFLN7A78vD/dlVuuSSVEB3s9ZBj18Tm1hk3aW1HTWTuAw0ReN6ZNlVObZUHvGy8d57OAGGxf2bT3etQw==} cpu: [x64] os: [win32] requiresBuild: true dev: true optional: true - /turbo-windows-arm64@1.13.3: - resolution: {integrity: sha512-ouJCgsVLd3icjRLmRvHQDDZnmGzT64GBupM1Y+TjtYn2LVaEBoV6hicFy8x5DUpnqdLy+YpCzRMkWlwhmkX7sQ==} + /turbo-windows-arm64@1.13.4: + resolution: {integrity: sha512-u5A+VOKHswJJmJ8o8rcilBfU5U3Y1TTAfP9wX8bFh8teYF1ghP0EhtMRLjhtp6RPa+XCxHHVA2CiC3gbh5eg5g==} cpu: [arm64] os: [win32] requiresBuild: true dev: true optional: true - /turbo@1.13.3: - resolution: {integrity: sha512-n17HJv4F4CpsYTvKzUJhLbyewbXjq1oLCi90i5tW1TiWDz16ML1eDG7wi5dHaKxzh5efIM56SITnuVbMq5dk4g==} + /turbo@1.13.4: + resolution: {integrity: sha512-1q7+9UJABuBAHrcC4Sxp5lOqYS5mvxRrwa33wpIyM18hlOCpRD/fTJNxZ0vhbMcJmz15o9kkVm743mPn7p6jpQ==} hasBin: true optionalDependencies: - turbo-darwin-64: 1.13.3 - turbo-darwin-arm64: 1.13.3 - turbo-linux-64: 1.13.3 - turbo-linux-arm64: 1.13.3 - turbo-windows-64: 1.13.3 - turbo-windows-arm64: 1.13.3 + turbo-darwin-64: 1.13.4 + turbo-darwin-arm64: 1.13.4 + turbo-linux-64: 1.13.4 + turbo-linux-arm64: 1.13.4 + turbo-windows-64: 1.13.4 + turbo-windows-arm64: 1.13.4 dev: true /type-check@0.4.0: @@ -23501,44 +22529,50 @@ packages: media-typer: 0.3.0 mime-types: 2.1.35 - /typed-array-buffer@1.0.0: - resolution: {integrity: sha512-Y8KTSIglk9OZEr8zywiIHG/kmQ7KWyjseXs1CbSo8vC42w7hg2HgYTxSWwP0+is7bWDc1H+Fo026CpHFwm8tkw==} + /typed-array-buffer@1.0.2: + resolution: {integrity: sha512-gEymJYKZtKXzzBzM4jqa9w6Q1Jjm7x2d+sh19AdsD4wqnMPDYyvwpsIc2Q/835kHuo3BEQ7CjelGhfTsoBb2MQ==} engines: {node: '>= 0.4'} dependencies: - call-bind: 1.0.5 - get-intrinsic: 1.2.1 - is-typed-array: 1.1.12 + call-bind: 1.0.7 + es-errors: 1.3.0 + is-typed-array: 1.1.13 - /typed-array-byte-length@1.0.0: - resolution: {integrity: sha512-Or/+kvLxNpeQ9DtSydonMxCx+9ZXOswtwJn17SNLvhptaXYDJvkFFP5zbfU/uLmvnBJlI4yrnXRxpdWH/M5tNA==} + /typed-array-byte-length@1.0.1: + resolution: {integrity: sha512-3iMJ9q0ao7WE9tWcaYKIptkNBuOIcZCCT0d4MRvuuH88fEoEH62IuQe0OtraD3ebQEoTRk8XCBoknUNc1Y67pw==} engines: {node: '>= 0.4'} dependencies: - call-bind: 1.0.5 + call-bind: 1.0.7 for-each: 0.3.3 - has-proto: 1.0.1 - is-typed-array: 1.1.12 + gopd: 1.0.1 + has-proto: 1.0.3 + is-typed-array: 1.1.13 - /typed-array-byte-offset@1.0.0: - resolution: {integrity: sha512-RD97prjEt9EL8YgAgpOkf3O4IF9lhJFr9g0htQkm0rchFp/Vx7LW5Q8fSXXub7BXAODyUQohRMyOc3faCPd0hg==} + /typed-array-byte-offset@1.0.2: + resolution: {integrity: sha512-Ous0vodHa56FviZucS2E63zkgtgrACj7omjwd/8lTEMEPFFyjfixMZ1ZXenpgCFBBt4EC1J2XsyVS2gkG0eTFA==} engines: {node: '>= 0.4'} dependencies: - available-typed-arrays: 1.0.5 - call-bind: 1.0.5 + available-typed-arrays: 1.0.7 + call-bind: 1.0.7 for-each: 0.3.3 - has-proto: 1.0.1 - is-typed-array: 1.1.12 + gopd: 1.0.1 + has-proto: 1.0.3 + is-typed-array: 1.1.13 - /typed-array-length@1.0.4: - resolution: {integrity: sha512-KjZypGq+I/H7HI5HlOoGHkWUUGq+Q0TPhQurLbyrVrvnKTBgzLhIJ7j6J/XTQOi0d1RjyZ0wdas8bKs2p0x3Ng==} + /typed-array-length@1.0.6: + resolution: {integrity: sha512-/OxDN6OtAk5KBpGb28T+HZc2M+ADtvRxXrKKbUwtsLgdoxgX13hyy7ek6bFRl5+aBs2yZzB0c4CnQfAtVypW/g==} + engines: {node: '>= 0.4'} dependencies: - call-bind: 1.0.5 + call-bind: 1.0.7 for-each: 0.3.3 - is-typed-array: 1.1.12 + gopd: 1.0.1 + has-proto: 1.0.3 + is-typed-array: 1.1.13 + possible-typed-array-names: 1.0.0 /typed-rest-client@1.8.11: resolution: {integrity: sha512-5UvfMpd1oelmUPRbbaVnq+rHP7ng2cE4qoQkQeAqxRL6PklkxsM0g32/HL0yfvruK6ojQ5x8EE+HF4YV6DtuCA==} dependencies: - qs: 6.11.2 + qs: 6.12.1 tunnel: 0.0.6 underscore: 1.13.6 dev: true @@ -23556,11 +22590,6 @@ packages: hasBin: true dev: true - /typescript@5.2.2: - resolution: {integrity: sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w==} - engines: {node: '>=14.17'} - hasBin: true - /typescript@5.3.3: resolution: {integrity: sha512-pXWcraxM0uxAS+tN0AG/BF2TyqmHO014Z070UsJ+pFvYuRSq8KH8DmWpnbXe0pEPDHXZV3FcAbJkijJ5oNEnWw==} engines: {node: '>=14.17'} @@ -23572,8 +22601,13 @@ packages: hasBin: true dev: true - /typescript@5.6.0-dev.20240612: - resolution: {integrity: sha512-C5WDxLlEMZhdyZBkhZkysctw9uOpGnua48Zrq0FxJLx6+tFrNkanXn4Zhatjg1vbKjzk19FYggX4Gc6Wgz5flg==} + /typescript@5.5.2: + resolution: {integrity: sha512-NcRtPEOsPFFWjobJEtfihkLCZCXZt/os3zf8nTxjVH3RvTSxjrCamJpbExGvYOF+tFHc3pA65qpdwPbzjohhew==} + engines: {node: '>=14.17'} + hasBin: true + + /typescript@5.6.0-dev.20240623: + resolution: {integrity: sha512-g9nRTnzICZMqhhULQsQC/Teb2Kbrd9Ad/sklK65F7Q1MNAF57X2t5y9u7GI1nCyiQLhGrmJqnxXETwDOBtjADQ==} engines: {node: '>=14.17'} hasBin: true dev: true @@ -23582,11 +22616,11 @@ packages: resolution: {integrity: sha512-8Y75pvTYkLJW2hWQHXxoqRgV7qb9B+9vFEtidML+7koHUFapnVJAZ6cKs+Qjz5Aw3aZWHMC6u0wJE3At+nSGwA==} dev: true - /ufo@1.3.1: - resolution: {integrity: sha512-uY/99gMLIOlJPwATcMVYfqDSxUR9//AUcgZMzwfSTJPDKzA1S8mX4VLqa+fiAtveraQUBCz4FFcwVZBGbwBXIw==} + /ufo@1.5.3: + resolution: {integrity: sha512-Y7HYmWaFwPUmkoQCUIAYpKqkOf+SbVj/2fJJZ4RJMCfZp0rTGwRbzQD+HghfnhKOjL9E01okqz+ncJskGYfBNw==} - /uglify-js@3.17.4: - resolution: {integrity: sha512-T9q82TJI9e/C1TAxYvfb16xO120tMVFZrGA3f9/P4424DNu6ypK103y0GPFVa17yotwSyZW5iYXgjYHkGrJW/g==} + /uglify-js@3.18.0: + resolution: {integrity: sha512-SyVVbcNBCk0dzr9XL/R/ySrmYf0s372K6/hFklzgcp2lBFyXtw4I7BOdDjlLhE1aVqaI/SHWXWmYdlZxuyF38A==} engines: {node: '>=0.8.0'} hasBin: true requiresBuild: true @@ -23601,7 +22635,7 @@ packages: /unbox-primitive@1.0.2: resolution: {integrity: sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw==} dependencies: - call-bind: 1.0.5 + call-bind: 1.0.7 has-bigints: 1.0.2 has-symbols: 1.0.3 which-boxed-primitive: 1.0.2 @@ -23617,11 +22651,11 @@ packages: /undici-types@5.26.5: resolution: {integrity: sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==} - /undici@5.25.4: - resolution: {integrity: sha512-450yJxT29qKMf3aoudzFpIciqpx6Pji3hEWaXqXmanbXF58LTAGCKxcJjxMXWu3iG+Mudgo3ZUfDB6YDFd/dAw==} + /undici@5.28.4: + resolution: {integrity: sha512-72RFADWFqKmUb2hmmvNODKL3p9hcB6Gt2DOQMis1SEBaV6a4MH8soBvzg+95CYhCKPFedut2JY9bMfrDl9D23g==} engines: {node: '>=14.0'} dependencies: - '@fastify/busboy': 2.0.0 + '@fastify/busboy': 2.1.1 dev: false /unicode-canonical-property-names-ecmascript@2.0.0: @@ -23647,15 +22681,15 @@ packages: engines: {node: '>=4'} dev: true - /unified@11.0.4: - resolution: {integrity: sha512-apMPnyLjAX+ty4OrNap7yumyVAMlKx5IWU2wlzzUdYJO9A8f1p9m/gywF/GM2ZDFcjQPrx59Mc90KwmxsoklxQ==} + /unified@11.0.5: + resolution: {integrity: sha512-xKvGhPWw3k84Qjh8bI3ZeJjqnyadK+GEFtazSfZv/rKeTkTjOJho6mFqh2SM96iIcZokxiOpg78GazTSg8+KHA==} dependencies: '@types/unist': 3.0.2 bail: 2.0.2 devlop: 1.1.0 extend: 3.0.2 is-plain-obj: 4.1.0 - trough: 2.1.0 + trough: 2.2.0 vfile: 6.0.1 dev: false @@ -23695,6 +22729,13 @@ packages: '@types/unist': 3.0.2 dev: false + /unist-util-remove-position@5.0.0: + resolution: {integrity: sha512-Hp5Kh3wLxv0PHj9m2yZhhLt58KzPtEYKQQ4yxfYFEO7EvHwzyDYnduhHnY1mDxoqr7VUwVuHXk9RXKIiYS1N8Q==} + dependencies: + '@types/unist': 3.0.2 + unist-util-visit: 5.0.0 + dev: false + /unist-util-stringify-position@4.0.0: resolution: {integrity: sha512-0ASV06AAoKCDkS2+xw5RXJywruurpbC4JZSm7nr7MOt1ojAzvyyaO+UxZf18j8FCF6kmzCZKcAgN/yu2gm2XgQ==} dependencies: @@ -23731,75 +22772,65 @@ packages: unist-util-visit-parents: 6.0.1 dev: false - /universal-github-app-jwt@1.1.1: - resolution: {integrity: sha512-G33RTLrIBMFmlDV4u4CBF7dh71eWwykck4XgaxaIVeZKOYZRAAxvcGMRFTUclVY6xoUPQvO4Ne5wKGxYm/Yy9w==} + /universal-github-app-jwt@1.1.2: + resolution: {integrity: sha512-t1iB2FmLFE+yyJY9+3wMx0ejB+MQpEVkH0gQv7dR6FZyltyq+ZZO0uDpbopxhrZ3SLEO4dCEkIujOMldEQ2iOA==} dependencies: - '@types/jsonwebtoken': 9.0.3 + '@types/jsonwebtoken': 9.0.6 jsonwebtoken: 9.0.2 dev: true - /universal-user-agent@6.0.0: - resolution: {integrity: sha512-isyNax3wXoKaulPDZWHQqbmIx1k2tb9fb3GGDBRxCscfYV2Ch7WxPArBsFEG8s/safwXTT7H4QGhaIkTp9447w==} + /universal-user-agent@6.0.1: + resolution: {integrity: sha512-yCzhz6FN2wU1NiiQRogkTQszlQSlpWaw8SvVegAc+bDxbzHgh1vX8uIe8OYyMH6DwH+sdTJsgMl36+mSMdRJIQ==} /universalify@0.1.2: resolution: {integrity: sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==} engines: {node: '>= 4.0.0'} dev: true - /universalify@2.0.0: - resolution: {integrity: sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==} + /universalify@2.0.1: + resolution: {integrity: sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==} engines: {node: '>= 10.0.0'} /unpipe@1.0.0: resolution: {integrity: sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==} engines: {node: '>= 0.8'} - /unplugin@1.5.0: - resolution: {integrity: sha512-9ZdRwbh/4gcm1JTOkp9lAkIDrtOyOxgHmY7cjuwI8L/2RTikMcVG25GsZwNAgRuap3iDw2jeq7eoqtAsz5rW3A==} + /unplugin@1.10.1: + resolution: {integrity: sha512-d6Mhq8RJeGA8UfKCu54Um4lFA0eSaRa3XxdAJg8tIdxbu1ubW0hBCZUL7yI2uGyYCRndvbK8FLHzqy2XKfeMsg==} + engines: {node: '>=14.0.0'} dependencies: - acorn: 8.10.0 + acorn: 8.12.0 chokidar: 3.6.0 webpack-sources: 3.2.3 - webpack-virtual-modules: 0.5.0 + webpack-virtual-modules: 0.6.2 dev: true /untildify@4.0.0: resolution: {integrity: sha512-KK8xQ1mkzZeg9inewmFVDNkg3l5LUhoq9kN6iWYB/CC9YMG8HA+c1Q8HwDe6dEX7kErrEVNVBO3fWsVq5iDgtw==} engines: {node: '>=8'} - /update-browserslist-db@1.0.13(browserslist@4.22.1): - resolution: {integrity: sha512-xebP81SNcPuNpPP3uzeW1NYXxI3rxyJzF3pD6sH4jE7o/IX+WtSpwnVU+qIsDPyk0d3hmFQ7mjqc6AtV604hbg==} - hasBin: true - peerDependencies: - browserslist: '>= 4.21.0' - dependencies: - browserslist: 4.22.1 - escalade: 3.1.1 - picocolors: 1.0.0 - dev: true - - /update-browserslist-db@1.0.13(browserslist@4.23.0): - resolution: {integrity: sha512-xebP81SNcPuNpPP3uzeW1NYXxI3rxyJzF3pD6sH4jE7o/IX+WtSpwnVU+qIsDPyk0d3hmFQ7mjqc6AtV604hbg==} + /update-browserslist-db@1.0.16(browserslist@4.23.1): + resolution: {integrity: sha512-KVbTxlBYlckhF5wgfyZXTWnMn7MMZjMu9XG8bPlliUOP9ThaF4QnhP8qrjrH7DRzHfSk0oQv1wToW+iA5GajEQ==} hasBin: true peerDependencies: browserslist: '>= 4.21.0' dependencies: - browserslist: 4.23.0 - escalade: 3.1.1 - picocolors: 1.0.0 + browserslist: 4.23.1 + escalade: 3.1.2 + picocolors: 1.0.1 dev: true /uri-js@4.4.1: resolution: {integrity: sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==} dependencies: - punycode: 2.3.0 + punycode: 2.3.1 /url-join@4.0.1: resolution: {integrity: sha512-jk1+QP6ZJqyOiuEI9AEWQfju/nB2Pw466kbA0LEZljHwKeMgd9WrAEgEGxjPDD2+TNbbb37rTyhEfrCXfuKXnA==} dev: true - /use-callback-ref@1.3.0(@types/react@18.2.25)(react@18.2.0): - resolution: {integrity: sha512-3FT9PRuRdbB9HfXhEq35u4oZkvpJ5kuYbpqhCfmiZyReuRgpnhDlbr2ZEnnuS0RrJAPn6l23xjFg9kpDM+Ms7w==} + /use-callback-ref@1.3.2(@types/react@18.3.3)(react@18.3.1): + resolution: {integrity: sha512-elOQwe6Q8gqZgDA8mrh44qRTQqpIHDcZ3hXTLjBe1i4ph8XpNJnO+aQf3NaG+lriLopI4HMx9VjQLfPQ6vhnoA==} engines: {node: '>=10'} peerDependencies: '@types/react': ^16.8.0 || ^17.0.0 || ^18.0.0 @@ -23808,23 +22839,23 @@ packages: '@types/react': optional: true dependencies: - '@types/react': 18.2.25 - react: 18.2.0 - tslib: 2.6.2 + '@types/react': 18.3.3 + react: 18.3.1 + tslib: 2.6.3 dev: true - /use-resize-observer@9.1.0(react-dom@18.2.0)(react@18.2.0): + /use-resize-observer@9.1.0(react-dom@18.3.1)(react@18.3.1): resolution: {integrity: sha512-R25VqO9Wb3asSD4eqtcxk8sJalvIOYBqS8MNZlpDSQ4l4xMQxC/J7Id9HoTqPq8FwULIn0PVW+OAqF2dyYbjow==} peerDependencies: react: 16.8.0 - 18 react-dom: 16.8.0 - 18 dependencies: '@juggle/resize-observer': 3.4.0 - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) + react: 18.3.1 + react-dom: 18.3.1(react@18.3.1) dev: true - /use-sidecar@1.1.2(@types/react@18.2.25)(react@18.2.0): + /use-sidecar@1.1.2(@types/react@18.3.3)(react@18.3.1): resolution: {integrity: sha512-epTbsLuzZ7lPClpz2TyryBfztm7m+28DlEv2ZCQ3MDr5ssiwyOwGH/e5F9CkfWjJ1t4clvI58yF822/GUkjjhw==} engines: {node: '>=10'} peerDependencies: @@ -23834,18 +22865,18 @@ packages: '@types/react': optional: true dependencies: - '@types/react': 18.2.25 + '@types/react': 18.3.3 detect-node-es: 1.1.0 - react: 18.2.0 - tslib: 2.6.2 + react: 18.3.1 + tslib: 2.6.3 dev: true - /use-sync-external-store@1.2.0(react@18.2.0): - resolution: {integrity: sha512-eEgnFxGQ1Ife9bzYs6VLi8/4X6CObHMw9Qr9tPY43iKwsPw8xE8+EFsf/2cFZ5S3esXgpWgtSCtLNS41F+sKPA==} + /use-sync-external-store@1.2.2(react@18.3.1): + resolution: {integrity: sha512-PElTlVMwpblvbNqQ82d2n6RjStvdSoNe9FG28kNfz3WiXilJm4DdNkEzRhCZuIDwY8U08WVihhGR5iRqAwfDiw==} peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 dependencies: - react: 18.2.0 + react: 18.3.1 dev: false /util-deprecate@1.0.2: @@ -23857,12 +22888,12 @@ packages: inherits: 2.0.4 is-arguments: 1.1.1 is-generator-function: 1.0.10 - is-typed-array: 1.1.12 - which-typed-array: 1.1.13 + is-typed-array: 1.1.13 + which-typed-array: 1.1.15 dev: true - /utility-types@3.10.0: - resolution: {integrity: sha512-O11mqxmi7wMKCo6HKFt5AhO4BwY3VV68YU07tgxfz8zJTIxr4BpsezN49Ffwy9j3ZpwwJp4fkRwjRzq3uWE6Rg==} + /utility-types@3.11.0: + resolution: {integrity: sha512-6Z7Ma2aVEWisaL6TvBCy7P8rm2LQoPv6dJ7ecIaIixHcwfbJ0x7mWdbcwlIM5IGQxPZSFYeqRCqlOOeKoJYMkw==} engines: {node: '>= 4'} requiresBuild: true dev: false @@ -23880,15 +22911,6 @@ packages: resolution: {integrity: sha512-b+1eJOlsR9K8HJpow9Ok3fiWOWSIcIzXodvv0rQjVoOVNpWMpxf1wZNpt4y9h10odCNrqnYp1OBzRktckBe3sA==} hasBin: true - /v8-to-istanbul@9.1.3: - resolution: {integrity: sha512-9lDD+EVI2fjFsMWXc6dy5JJzBsVTcQ2fVkfBvncZ6xJWG9wtBhOldG+mHkSL0+V1K/xgZz0JDO5UT5hFwHUghg==} - engines: {node: '>=10.12.0'} - dependencies: - '@jridgewell/trace-mapping': 0.3.25 - '@types/istanbul-lib-coverage': 2.0.4 - convert-source-map: 2.0.0 - dev: true - /validate-npm-package-license@3.0.4: resolution: {integrity: sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==} dependencies: @@ -23899,14 +22921,19 @@ packages: resolution: {integrity: sha512-mzR0L8ZDktZjpX4OB46KT+56MAhl4EIazWP/+G/HPGuvfdaqg4YsCdtOm6U9+LOFyYDoh4dpnpxZRB9MQQns5Q==} engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0} dependencies: - builtins: 5.0.1 + builtins: 5.1.0 dev: false /validate-npm-package-name@5.0.0: resolution: {integrity: sha512-YuKoXDAhBYxY7SfOKxHBDoSyENFeW5VvIIQp2TGQuit8gpK6MnWaQelBKxso72DoxTZfZdcP3W90LqpSkgPzLQ==} engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} dependencies: - builtins: 5.0.1 + builtins: 5.1.0 + dev: false + + /validate-npm-package-name@5.0.1: + resolution: {integrity: sha512-OljLrQ9SQdOUqTaQxqL5dEfZWrXExyyWsozYlAWFawPVNuD83igl7uJD2RTkNMbniIYgt8l81eCJGIdQF7avLQ==} + engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} dev: false /vary@1.1.2: @@ -23928,58 +22955,16 @@ packages: vfile-message: 4.0.2 dev: false - /vite-node@1.6.0: - resolution: {integrity: sha512-de6HJgzC+TFzOu0NTC4RAIsyf/DY/ibWDYQUcuEA84EMHhcefTUGkjFHKKEJhQN4A+6I0u++kr3l36ZF2d7XRw==} - engines: {node: ^18.0.0 || >=20.0.0} - hasBin: true - dependencies: - cac: 6.7.14 - debug: 4.3.4(supports-color@5.5.0) - pathe: 1.1.1 - picocolors: 1.0.0 - vite: 5.1.4(@types/node@20.11.20) - transitivePeerDependencies: - - '@types/node' - - less - - lightningcss - - sass - - stylus - - sugarss - - supports-color - - terser - dev: true - - /vite-node@1.6.0(@types/node@20.11.0): - resolution: {integrity: sha512-de6HJgzC+TFzOu0NTC4RAIsyf/DY/ibWDYQUcuEA84EMHhcefTUGkjFHKKEJhQN4A+6I0u++kr3l36ZF2d7XRw==} - engines: {node: ^18.0.0 || >=20.0.0} - hasBin: true - dependencies: - cac: 6.7.14 - debug: 4.3.4(supports-color@5.5.0) - pathe: 1.1.1 - picocolors: 1.0.0 - vite: 5.1.4(@types/node@20.11.0) - transitivePeerDependencies: - - '@types/node' - - less - - lightningcss - - sass - - stylus - - sugarss - - supports-color - - terser - dev: true - - /vite-node@1.6.0(@types/node@20.11.20): + /vite-node@1.6.0(@types/node@20.14.8): resolution: {integrity: sha512-de6HJgzC+TFzOu0NTC4RAIsyf/DY/ibWDYQUcuEA84EMHhcefTUGkjFHKKEJhQN4A+6I0u++kr3l36ZF2d7XRw==} engines: {node: ^18.0.0 || >=20.0.0} hasBin: true dependencies: cac: 6.7.14 - debug: 4.3.4(supports-color@5.5.0) - pathe: 1.1.1 - picocolors: 1.0.0 - vite: 5.1.4(@types/node@20.11.20) + debug: 4.3.5(supports-color@5.5.0) + pathe: 1.1.2 + picocolors: 1.0.1 + vite: 5.3.1(@types/node@20.14.8) transitivePeerDependencies: - '@types/node' - less @@ -23991,8 +22976,8 @@ packages: - terser dev: true - /vite@4.5.2: - resolution: {integrity: sha512-tBCZBNSBbHQkaGyhGCDUGqeo2ph8Fstyp6FMSvTtsXeZSPpSMGlviAOav2hxVTqFcx8Hj/twtWKsMJXNY0xI8w==} + /vite@4.5.3: + resolution: {integrity: sha512-kQL23kMeX92v3ph7IauVkXkikdDRsYMGTVl5KY2E9OY4ONLvkHf04MDTbnfo6NKxZiDLWzVpP5oTa8hQD8U3dg==} engines: {node: ^14.18.0 || >=16.0.0} hasBin: true peerDependencies: @@ -24020,50 +23005,14 @@ packages: optional: true dependencies: esbuild: 0.18.20 - postcss: 8.4.35 - rollup: 3.29.4 - optionalDependencies: - fsevents: 2.3.3 - dev: true - - /vite@5.1.4(@types/node@20.11.0): - resolution: {integrity: sha512-n+MPqzq+d9nMVTKyewqw6kSt+R3CkvF9QAKY8obiQn8g1fwTscKxyfaYnC632HtBXAQGc1Yjomphwn1dtwGAHg==} - engines: {node: ^18.0.0 || >=20.0.0} - hasBin: true - peerDependencies: - '@types/node': ^18.0.0 || >=20.0.0 - less: '*' - lightningcss: ^1.21.0 - sass: '*' - stylus: '*' - sugarss: '*' - terser: ^5.4.0 - peerDependenciesMeta: - '@types/node': - optional: true - less: - optional: true - lightningcss: - optional: true - sass: - optional: true - stylus: - optional: true - sugarss: - optional: true - terser: - optional: true - dependencies: - '@types/node': 20.11.0 - esbuild: 0.19.12 postcss: 8.4.38 - rollup: 4.18.0 + rollup: 3.29.4 optionalDependencies: fsevents: 2.3.3 dev: true - /vite@5.1.4(@types/node@20.11.20): - resolution: {integrity: sha512-n+MPqzq+d9nMVTKyewqw6kSt+R3CkvF9QAKY8obiQn8g1fwTscKxyfaYnC632HtBXAQGc1Yjomphwn1dtwGAHg==} + /vite@5.3.1(@types/node@20.14.8): + resolution: {integrity: sha512-XBmSKRLXLxiaPYamLv3/hnP/KXDai1NDexN0FpkTaZXTfycHvkRHoenpgl/fvuK/kPbB6xAgoyiryAhQNxYmAQ==} engines: {node: ^18.0.0 || >=20.0.0} hasBin: true peerDependencies: @@ -24090,71 +23039,15 @@ packages: terser: optional: true dependencies: - '@types/node': 20.11.20 - esbuild: 0.19.12 + '@types/node': 20.14.8 + esbuild: 0.21.5 postcss: 8.4.38 rollup: 4.18.0 optionalDependencies: fsevents: 2.3.3 dev: true - /vitest@1.6.0(@types/node@20.11.0): - resolution: {integrity: sha512-H5r/dN06swuFnzNFhq/dnz37bPXnq8xB2xB5JOVk8K09rUtoeNN+LHWkoQ0A/i3hvbUKKcCei9KpbxqHMLhLLA==} - engines: {node: ^18.0.0 || >=20.0.0} - hasBin: true - peerDependencies: - '@edge-runtime/vm': '*' - '@types/node': ^18.0.0 || >=20.0.0 - '@vitest/browser': 1.6.0 - '@vitest/ui': 1.6.0 - happy-dom: '*' - jsdom: '*' - peerDependenciesMeta: - '@edge-runtime/vm': - optional: true - '@types/node': - optional: true - '@vitest/browser': - optional: true - '@vitest/ui': - optional: true - happy-dom: - optional: true - jsdom: - optional: true - dependencies: - '@types/node': 20.11.0 - '@vitest/expect': 1.6.0 - '@vitest/runner': 1.6.0 - '@vitest/snapshot': 1.6.0 - '@vitest/spy': 1.6.0 - '@vitest/utils': 1.6.0 - acorn-walk: 8.3.2 - chai: 4.3.10 - debug: 4.3.4(supports-color@5.5.0) - execa: 8.0.1 - local-pkg: 0.5.0 - magic-string: 0.30.7 - pathe: 1.1.1 - picocolors: 1.0.0 - std-env: 3.7.0 - strip-literal: 2.0.0 - tinybench: 2.5.1 - tinypool: 0.8.4 - vite: 5.1.4(@types/node@20.11.0) - vite-node: 1.6.0(@types/node@20.11.0) - why-is-node-running: 2.2.2 - transitivePeerDependencies: - - less - - lightningcss - - sass - - stylus - - sugarss - - supports-color - - terser - dev: true - - /vitest@1.6.0(@types/node@20.11.20): + /vitest@1.6.0(@types/node@20.14.8): resolution: {integrity: sha512-H5r/dN06swuFnzNFhq/dnz37bPXnq8xB2xB5JOVk8K09rUtoeNN+LHWkoQ0A/i3hvbUKKcCei9KpbxqHMLhLLA==} engines: {node: ^18.0.0 || >=20.0.0} hasBin: true @@ -24179,26 +23072,26 @@ packages: jsdom: optional: true dependencies: - '@types/node': 20.11.20 + '@types/node': 20.14.8 '@vitest/expect': 1.6.0 '@vitest/runner': 1.6.0 '@vitest/snapshot': 1.6.0 '@vitest/spy': 1.6.0 '@vitest/utils': 1.6.0 - acorn-walk: 8.3.2 - chai: 4.3.10 - debug: 4.3.4(supports-color@5.5.0) + acorn-walk: 8.3.3 + chai: 4.4.1 + debug: 4.3.5(supports-color@5.5.0) execa: 8.0.1 local-pkg: 0.5.0 - magic-string: 0.30.7 - pathe: 1.1.1 - picocolors: 1.0.0 + magic-string: 0.30.10 + pathe: 1.1.2 + picocolors: 1.0.1 std-env: 3.7.0 - strip-literal: 2.0.0 - tinybench: 2.5.1 + strip-literal: 2.1.0 + tinybench: 2.8.0 tinypool: 0.8.4 - vite: 5.1.4(@types/node@20.11.20) - vite-node: 1.6.0(@types/node@20.11.20) + vite: 5.3.1(@types/node@20.14.8) + vite-node: 1.6.0(@types/node@20.14.8) why-is-node-running: 2.2.2 transitivePeerDependencies: - less @@ -24240,21 +23133,21 @@ packages: '@vitest/snapshot': 1.6.0 '@vitest/spy': 1.6.0 '@vitest/utils': 1.6.0 - acorn-walk: 8.3.2 - chai: 4.3.10 - debug: 4.3.4(supports-color@5.5.0) + acorn-walk: 8.3.3 + chai: 4.4.1 + debug: 4.3.5(supports-color@5.5.0) execa: 8.0.1 happy-dom: 9.20.3 local-pkg: 0.5.0 - magic-string: 0.30.7 - pathe: 1.1.1 - picocolors: 1.0.0 + magic-string: 0.30.10 + pathe: 1.1.2 + picocolors: 1.0.1 std-env: 3.7.0 - strip-literal: 2.0.0 - tinybench: 2.5.1 + strip-literal: 2.1.0 + tinybench: 2.8.0 tinypool: 0.8.4 - vite: 5.1.4(@types/node@20.11.20) - vite-node: 1.6.0 + vite: 5.3.1(@types/node@20.14.8) + vite-node: 1.6.0(@types/node@20.14.8) why-is-node-running: 2.2.2 transitivePeerDependencies: - less @@ -24279,7 +23172,7 @@ packages: engines: {vscode: ^1.67.0} dependencies: minimatch: 5.1.6 - semver: 7.5.4 + semver: 7.6.2 vscode-languageserver-protocol: 3.17.3 dev: true @@ -24322,7 +23215,7 @@ packages: dependencies: '@cowasm/memfs': 3.5.1 '@wapython/unionfs': 4.5.7 - debug: 4.3.4(supports-color@5.5.0) + debug: 4.3.5(supports-color@5.5.0) fflate: 0.7.4 path-browserify: 1.0.1 randomfill: 1.0.4 @@ -24332,8 +23225,8 @@ packages: dev: false patched: true - /watchpack@2.4.0: - resolution: {integrity: sha512-Lcvm7MGST/4fup+ifyKi2hjyIAwcdI4HRgtvTpIUxBRhB+RFtUh8XtDOxUfctVCnhVi+QQj49i91OyvzkJl6cg==} + /watchpack@2.4.1: + resolution: {integrity: sha512-8wrBCMtVhqcXP2Sup1ctSkga6uc2Bx0IIvKyT7yTFier5AXHooSI+QyQQAtTb7+E0IUCCKyTFmXqdqgum2XWGg==} engines: {node: '>=10.13.0'} dependencies: glob-to-regexp: 0.4.1 @@ -24345,8 +23238,8 @@ packages: dependencies: defaults: 1.0.4 - /web-streams-polyfill@3.2.1: - resolution: {integrity: sha512-e0MO3wdXWKrLbL0DgGnUV7WHVuw9OUvL4hjgnPkIeEvESk74gAITi5G606JtZPp39cd8HA9VQzCIvA49LpPN5Q==} + /web-streams-polyfill@3.3.3: + resolution: {integrity: sha512-d2JWLCivmZYTSIoge9MsgFCZrt571BikcWGYkjC1khllbTeDlGqZ2D8vD8E/lJa8WGWbb7Plm8/XJYV7IJHZZw==} engines: {node: '>= 8'} dev: true @@ -24367,12 +23260,12 @@ packages: engines: {node: '>=10.13.0'} dev: true - /webpack-virtual-modules@0.5.0: - resolution: {integrity: sha512-kyDivFZ7ZM0BVOUteVbDFhlRt7Ah/CSPwJdi8hBpkK7QLumUqdLtVfm/PX/hkcnrvr0i77fO5+TjZ94Pe+C9iw==} + /webpack-virtual-modules@0.6.2: + resolution: {integrity: sha512-66/V2i5hQanC51vBQKPH4aI8NMAcBW59FVBs+rC7eGHupMyfn34q7rZIE+ETlJ+XTevqfUhVVBgSUNSW2flEUQ==} dev: true - /webpack@5.88.2(esbuild@0.19.12): - resolution: {integrity: sha512-JmcgNZ1iKj+aiR0OvTYtWQqJwq37Pf683dY9bVORwVbUrDhLhdn/PlO2sHsFHPkj7sHNQF3JwaAkp49V+Sq1tQ==} + /webpack@5.92.1(esbuild@0.21.5): + resolution: {integrity: sha512-JECQ7IwJb+7fgUFBlrJzbyu3GEuNBcdqr1LD7IbSzwkSmIevTm8PF+wej3Oxuz/JFBUZ6O1o43zsPkwm1C4TmA==} engines: {node: '>=10.13.0'} hasBin: true peerDependencies: @@ -24381,17 +23274,17 @@ packages: webpack-cli: optional: true dependencies: - '@types/eslint-scope': 3.7.5 - '@types/estree': 1.0.2 - '@webassemblyjs/ast': 1.11.6 - '@webassemblyjs/wasm-edit': 1.11.6 - '@webassemblyjs/wasm-parser': 1.11.6 - acorn: 8.10.0 - acorn-import-assertions: 1.9.0(acorn@8.10.0) - browserslist: 4.22.1 - chrome-trace-event: 1.0.3 - enhanced-resolve: 5.15.0 - es-module-lexer: 1.3.1 + '@types/eslint-scope': 3.7.7 + '@types/estree': 1.0.5 + '@webassemblyjs/ast': 1.12.1 + '@webassemblyjs/wasm-edit': 1.12.1 + '@webassemblyjs/wasm-parser': 1.12.1 + acorn: 8.12.0 + acorn-import-attributes: 1.9.5(acorn@8.12.0) + browserslist: 4.23.1 + chrome-trace-event: 1.0.4 + enhanced-resolve: 5.17.0 + es-module-lexer: 1.5.3 eslint-scope: 5.1.1 events: 3.3.0 glob-to-regexp: 0.4.1 @@ -24402,8 +23295,8 @@ packages: neo-async: 2.6.2 schema-utils: 3.3.0 tapable: 2.2.1 - terser-webpack-plugin: 5.3.9(esbuild@0.19.12)(webpack@5.88.2) - watchpack: 2.4.0 + terser-webpack-plugin: 5.3.10(esbuild@0.21.5)(webpack@5.92.1) + watchpack: 2.4.1 webpack-sources: 3.2.3 transitivePeerDependencies: - '@swc/core' @@ -24437,8 +23330,8 @@ packages: webidl-conversions: 4.0.2 dev: true - /when-exit@2.1.1: - resolution: {integrity: sha512-XLipGldz/UcleuGaoQjbYuWwD+ICRnzIjlldtwTaTWr7aZz8yQW49rXk6MHQnh+KxOiWiJpM1vIyaxprOnlW4g==} + /when-exit@2.1.2: + resolution: {integrity: sha512-u9J+toaf3CCxCAzM/484qNAxQE75rFdVgiFEEV8Xps2gzYhf0tx73s1WXDQhkwV17E3MxRMz40m7Ekd2/121Lg==} dev: false /which-boxed-primitive@1.0.2: @@ -24455,7 +23348,7 @@ packages: engines: {node: '>= 0.4'} dependencies: function.prototype.name: 1.1.6 - has-tostringtag: 1.0.0 + has-tostringtag: 1.0.2 is-async-function: 2.0.0 is-date-object: 1.0.5 is-finalizationregistry: 1.0.2 @@ -24464,42 +23357,32 @@ packages: is-weakref: 1.0.2 isarray: 2.0.5 which-boxed-primitive: 1.0.2 - which-collection: 1.0.1 - which-typed-array: 1.1.11 + which-collection: 1.0.2 + which-typed-array: 1.1.15 dev: false - /which-collection@1.0.1: - resolution: {integrity: sha512-W8xeTUwaln8i3K/cY1nGXzdnVZlidBcagyNFtBdD5kxnb4TvGKR7FfSIS3mYpwWS1QUCutfKz8IY8RjftB0+1A==} + /which-collection@1.0.2: + resolution: {integrity: sha512-K4jVyjnBdgvc86Y6BkaLZEN933SwYOuBFkdmBu9ZfkcAbdVbpITnDmjvZ/aQjRXQrv5EPkTnD1s39GiiqbngCw==} + engines: {node: '>= 0.4'} dependencies: - is-map: 2.0.2 - is-set: 2.0.2 - is-weakmap: 2.0.1 - is-weakset: 2.0.2 + is-map: 2.0.3 + is-set: 2.0.3 + is-weakmap: 2.0.2 + is-weakset: 2.0.3 /which-module@2.0.1: resolution: {integrity: sha512-iBdZ57RDvnOR9AGBhML2vFZf7h8vmBjhoaZqODJBFWHVtKkDmKuHai3cx5PgVMrX5YDNp27AofYbAwctSS+vhQ==} dev: true - /which-typed-array@1.1.11: - resolution: {integrity: sha512-qe9UWWpkeG5yzZ0tNYxDmd7vo58HDBc39mZ0xWWpolAGADdFOzkfamWLDxkOWcvHQKVmdTyQdLD4NOfjLWTKew==} - engines: {node: '>= 0.4'} - dependencies: - available-typed-arrays: 1.0.5 - call-bind: 1.0.5 - for-each: 0.3.3 - gopd: 1.0.1 - has-tostringtag: 1.0.0 - - /which-typed-array@1.1.13: - resolution: {integrity: sha512-P5Nra0qjSncduVPEAr7xhoF5guty49ArDTwzJ/yNuPIbZppyRxFQsRCWrocxIY+CnMVG+qfbU2FmDKyvSGClow==} + /which-typed-array@1.1.15: + resolution: {integrity: sha512-oV0jmFtUky6CXfkqehVvBP/LSWJ2sy4vWMioiENyJLePrBO/yKyV9OyJySfAKosh+RYkIl5zJCNZ8/4JncrpdA==} engines: {node: '>= 0.4'} dependencies: - available-typed-arrays: 1.0.5 - call-bind: 1.0.5 + available-typed-arrays: 1.0.7 + call-bind: 1.0.7 for-each: 0.3.3 gopd: 1.0.1 - has-tostringtag: 1.0.0 - dev: true + has-tostringtag: 1.0.2 /which@1.3.1: resolution: {integrity: sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==} @@ -24514,14 +23397,6 @@ packages: dependencies: isexe: 2.0.0 - /which@3.0.1: - resolution: {integrity: sha512-XA1b62dzQzLfaEOSQFTCOd5KFf/1VSzZo7/7TUjnya6u0vGGKzU96UQBZTAThCb2j4/xjBAyii1OhRLJEivHvg==} - engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} - hasBin: true - dependencies: - isexe: 2.0.0 - dev: false - /which@4.0.0: resolution: {integrity: sha512-GlaYyEb07DPxYCKhKzplCWBJtvxZcZMrL+4UkrTSJHHPyZU4mYYTv3qaOe77H7EODLSSopAUFAc6W8U4yqvscg==} engines: {node: ^16.13.0 || >=18.0.0} @@ -24538,48 +23413,46 @@ packages: stackback: 0.0.2 dev: true - /wide-align@1.1.5: - resolution: {integrity: sha512-eDMORYaPNZ4sQIuuYPDHdQvf4gyCF9rEEV/yPxGfwPkRodwEgiMUUXTx/dex+Me0wxx53S+NgUHaP7y3MGlDmg==} - dependencies: - string-width: 4.2.3 - dev: false - /widest-line@3.1.0: resolution: {integrity: sha512-NsmoXalsWVDMGupxZ5R08ka9flZjjiLvHVAWYOKtiKM8ujtZWr9cRffak+uSE48+Ob8ObalXpwyeUiyDD6QFgg==} engines: {node: '>=8'} dependencies: string-width: 4.2.3 - /winston-transport@4.5.0: - resolution: {integrity: sha512-YpZzcUzBedhlTAfJg6vJDlyEai/IFMIVcaEZZyl3UXIl4gmqRpU7AE89AHLkbzLUsv0NVmw7ts+iztqKxxPW1Q==} - engines: {node: '>= 6.4.0'} + /winston-transport@4.7.0: + resolution: {integrity: sha512-ajBj65K5I7denzer2IYW6+2bNIVqLGDHqDw3Ow8Ohh+vdW+rv4MZ6eiDvHoKhfJFZ2auyN8byXieDDJ96ViONg==} + engines: {node: '>= 12.0.0'} requiresBuild: true dependencies: - logform: 2.5.1 + logform: 2.6.0 readable-stream: 3.6.2 triple-beam: 1.4.1 dev: false optional: true - /winston@3.11.0: - resolution: {integrity: sha512-L3yR6/MzZAOl0DsysUXHVjOwv8mKZ71TrA/41EIduGpOOV5LQVodqN+QdQ6BS6PJ/RdIshZhq84P/fStEZkk7g==} + /winston@3.13.0: + resolution: {integrity: sha512-rwidmA1w3SE4j0E5MuIufFhyJPBDG7Nu71RkZor1p2+qHvJSZ9GYDA81AyleQcZbh/+V6HjeBdfnTZJm9rSeQQ==} engines: {node: '>= 12.0.0'} requiresBuild: true dependencies: '@colors/colors': 1.6.0 '@dabh/diagnostics': 2.0.3 - async: 3.2.4 + async: 3.2.5 is-stream: 2.0.1 - logform: 2.5.1 + logform: 2.6.0 one-time: 1.0.0 readable-stream: 3.6.2 safe-stable-stringify: 2.4.3 stack-trace: 0.0.10 triple-beam: 1.4.1 - winston-transport: 4.5.0 + winston-transport: 4.7.0 dev: false optional: true + /word-wrap@1.2.5: + resolution: {integrity: sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==} + engines: {node: '>=0.10.0'} + /wordwrap@1.0.0: resolution: {integrity: sha512-gvVzJFlPycKc5dZN4yPkP8w7Dc37BtP1yczEneOb4uq34pXZcvrtRTmWV8W+Ume+XCxKgbjM+nevkyFPMybd4Q==} dev: true @@ -24647,8 +23520,8 @@ packages: write-file-atomic: 5.0.1 dev: false - /ws@6.2.2: - resolution: {integrity: sha512-zmhltoSR8u1cnDsD43TX59mzoMZsLKqUweyYBAIvTngR3shc0W6aOZylZmq/7hqyVxPdi+5Ud2QInblgyE72fw==} + /ws@6.2.3: + resolution: {integrity: sha512-jmTjYU0j60B+vHey6TfR3Z7RD61z/hmxBS3VMSGIrroOWXQEneK1zNuotOUrGyBHQj0yrpsLHPWtigEFd13ndA==} peerDependencies: bufferutil: ^4.0.1 utf-8-validate: ^5.0.2 @@ -24661,8 +23534,8 @@ packages: async-limiter: 1.0.1 dev: true - /ws@7.5.9: - resolution: {integrity: sha512-F+P9Jil7UiSKSkppIiD94dN07AwvFixvLIj1Og1Rl9GGMuNipJnV9JzjD6XuqmAeiswGvUmNLjr5cFuXwNS77Q==} + /ws@7.5.10: + resolution: {integrity: sha512-+dbF1tHwZpXcbOJdVOkzLDxZP1ailvSxM6ZweXTegylPny803bFhA+vqBYw4s31NSAk4S2Qz+AKXK9a4wkdjcQ==} engines: {node: '>=8.3.0'} peerDependencies: bufferutil: ^4.0.1 @@ -24674,8 +23547,8 @@ packages: optional: true dev: true - /ws@8.14.2: - resolution: {integrity: sha512-wEBG1ftX4jcglPxgFCMJmZ2PLtSbJ2Peg6TmpJFTbe9GZYOQCDPdMYu/Tm0/bGZkw8paZnJY45J4K2PZrLYq8g==} + /ws@8.17.1: + resolution: {integrity: sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==} engines: {node: '>=10.0.0'} peerDependencies: bufferutil: ^4.0.1 @@ -24690,14 +23563,14 @@ packages: resolution: {integrity: sha512-7rVi2KMfwfWFl+GpPg6m80IVMWXLRjO+PxTq7V2CDhoGak0wzYzFgUY2m4XJ47OGdXd8eLE8EmwfAmdjw7lC1g==} hasBin: true dependencies: - sax: 1.3.0 + sax: 1.4.1 dev: true /xml2js@0.5.0: resolution: {integrity: sha512-drPFnkQJik/O+uPKpqSgr22mpuFHqKdbS835iAQrUC73L2F5WkboIRd63ai/2Yg6I1jzifPFKH2NTK+cfglkIA==} engines: {node: '>=4.0.0'} dependencies: - sax: 1.3.0 + sax: 1.4.1 xmlbuilder: 11.0.1 /xmlbuilder2@3.1.1: @@ -24751,8 +23624,8 @@ packages: resolution: {integrity: sha512-N/lyzTPaJasoDmfV7YTrYCI0G/3ivm/9wdG0aHuheKowWQwGTsK0Eoiw6utmzAnI6pkJa0DUVygvp3spqqEKXg==} engines: {node: '>= 14'} - /yaml@2.4.1: - resolution: {integrity: sha512-pIXzoImaqmfOrL7teGUBt/T7ZDnyeGBWyXQBvOVhLkWLN37GXv8NMLK406UY6dS51JfcQHsmcW5cJ441bHg6Lg==} + /yaml@2.4.5: + resolution: {integrity: sha512-aBx2bnqDzVOyNKfsysjA2ms5ZlnjSAW2eG3/L5G/CSujfjLJTJsEw1bGw8kCf04KodQWk1pxlGnZ56CRxiawmg==} engines: {node: '>= 14'} hasBin: true @@ -24794,32 +23667,19 @@ packages: engines: {node: '>=10'} dependencies: cliui: 7.0.4 - escalade: 3.1.1 + escalade: 3.1.2 get-caller-file: 2.0.5 require-directory: 2.1.1 string-width: 4.2.3 y18n: 5.0.8 yargs-parser: 20.2.9 - /yargs@17.6.2: - resolution: {integrity: sha512-1/9UrdHjDZc0eOU0HxOHoS78C69UD3JRMvzlJ7S79S2nTaWRA/whGCTV8o9e/N/1Va9YIV7Q4sOxD8VV4pCWOw==} - engines: {node: '>=12'} - dependencies: - cliui: 8.0.1 - escalade: 3.1.1 - get-caller-file: 2.0.5 - require-directory: 2.1.1 - string-width: 4.2.3 - y18n: 5.0.8 - yargs-parser: 21.1.1 - dev: true - /yargs@17.7.2: resolution: {integrity: sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==} engines: {node: '>=12'} dependencies: cliui: 8.0.1 - escalade: 3.1.1 + escalade: 3.1.2 get-caller-file: 2.0.5 require-directory: 2.1.1 string-width: 4.2.3 @@ -24864,13 +23724,13 @@ packages: readable-stream: 3.6.2 dev: true - /zip-stream@5.0.1: - resolution: {integrity: sha512-UfZ0oa0C8LI58wJ+moL46BDIMgCQbnsb+2PoiJYtonhBsMh2bq1eRBVkvjfVsqbEHd9/EgKPUuL9saSSsec8OA==} - engines: {node: '>= 12.0.0'} - dependencies: - archiver-utils: 4.0.1 - compress-commons: 5.0.1 - readable-stream: 3.6.2 - /zod@3.22.4: resolution: {integrity: sha512-iC+8Io04lddc+mVqQ9AZ7OQ2MrUKGN+oIQyq1vemgt46jwCwLfhq7/pwnBnNXXXZb8VTVLKwp9EDkx+ryxIWmg==} + dev: true + + /zod@3.23.8: + resolution: {integrity: sha512-XBx9AXhXktjUqnepgTiE5flcKIYWi/rme0Eaj+5Y0lftuGBq+jyRu/md4WnuxqgP1ubdpNCsYEYPxrzVHD8d6g==} + + /zwitch@2.0.4: + resolution: {integrity: sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A==} + dev: false diff --git a/tools/bump-pack/package.json b/tools/bump-pack/package.json index ac190bbfbad..ab9cb71c80e 100644 --- a/tools/bump-pack/package.json +++ b/tools/bump-pack/package.json @@ -15,23 +15,23 @@ "type": "module", "scripts": {}, "devDependencies": { - "@types/fs-extra": "^11.0.1", + "@types/fs-extra": "^11.0.4", "@types/node": "^20.11.0", - "@types/semver": "^7.5.1", - "typescript": "^5.2.2", + "@types/semver": "^7.5.8", + "typescript": "^5.5.2", "vitest": "^1.6.0" }, "dependencies": { "@actions/core": "^1.10.1", - "@pnpm/find-workspace-dir": "^6.0.2", - "@pnpm/reviewing.dependencies-hierarchy": "^2.0.10", - "@pnpm/workspace.find-packages": "^1.0.5", + "@pnpm/find-workspace-dir": "^6.0.3", + "@pnpm/reviewing.dependencies-hierarchy": "^2.1.11", + "@pnpm/workspace.find-packages": "^1.1.12", "changelogen": "^0.5.5", - "fs-extra": "^11.1.1", - "minimatch": "^9.0.3", + "fs-extra": "^11.2.0", + "minimatch": "^9.0.4", "npm-which": "^3.0.1", - "semver": "^7.5.4", - "tsx": "^4.7.0" + "semver": "^7.6.2", + "tsx": "^4.15.7" }, "volta": { "extends": "../../package.json" diff --git a/tools/compatibility-matrix-automation/package.json b/tools/compatibility-matrix-automation/package.json index fd6be4675e2..b845a8bb20b 100644 --- a/tools/compatibility-matrix-automation/package.json +++ b/tools/compatibility-matrix-automation/package.json @@ -22,11 +22,11 @@ "winglang": "workspace:^" }, "devDependencies": { - "typescript": "^5.3.3", - "vitest": "^1.6.0", "@types/node": "^20.11.0", "npm-which": "^3.0.1", - "tsx": "^4.7.0" + "tsx": "^4.15.7", + "typescript": "^5.5.2", + "vitest": "^1.6.0" }, "files": [ "dist" diff --git a/tools/generate-workspace/package.json b/tools/generate-workspace/package.json index ff4ee42ce22..6b21a22438c 100644 --- a/tools/generate-workspace/package.json +++ b/tools/generate-workspace/package.json @@ -13,16 +13,16 @@ "type": "module", "scripts": {}, "devDependencies": { - "@types/fs-extra": "^11", + "@types/fs-extra": "^11.0.4", "@types/node": "^20.11.0", - "@types/semver": "^7.5.0", - "typescript": "^5.1.3" + "@types/semver": "^7.5.8", + "typescript": "^5.5.2" }, "dependencies": { - "@pnpm/find-workspace-dir": "^6.0.2", - "@pnpm/workspace.find-packages": "^1.0.1", - "tsx": "^4.7.0", - "npm-which": "^3.0.1" + "@pnpm/find-workspace-dir": "^6.0.3", + "@pnpm/workspace.find-packages": "^1.1.12", + "npm-which": "^3.0.1", + "tsx": "^4.15.7" }, "volta": { "extends": "../../package.json" diff --git a/tools/hangar/__snapshots__/platform.ts.snap b/tools/hangar/__snapshots__/platform.ts.snap index fb94f34cb93..e84f71a2ae4 100644 --- a/tools/hangar/__snapshots__/platform.ts.snap +++ b/tools/hangar/__snapshots__/platform.ts.snap @@ -6,7 +6,6 @@ exports[`Multiple platforms > only first platform app is used 1`] = ` "metadata": { "backend": "local", "stackName": "root", - "version": "0.20.3", }, "outputs": {}, }, @@ -170,7 +169,6 @@ exports[`Platform examples > AWS target platform > permission-boundary.js 1`] = "metadata": { "backend": "local", "stackName": "root", - "version": "0.20.3", }, "outputs": {}, }, @@ -335,7 +333,6 @@ exports[`Platform examples > AWS target platform > replicate-s3.js 1`] = ` "metadata": { "backend": "local", "stackName": "root", - "version": "0.20.3", }, "outputs": {}, }, @@ -687,7 +684,6 @@ exports[`Platform examples > AWS target platform > tf-backend.js > azurerm backe "metadata": { "backend": "local", "stackName": "root", - "version": "0.20.3", }, "outputs": {}, }, @@ -851,7 +847,6 @@ exports[`Platform examples > AWS target platform > tf-backend.js > gcp backend 1 "metadata": { "backend": "local", "stackName": "root", - "version": "0.20.3", }, "outputs": {}, }, @@ -1015,7 +1010,6 @@ exports[`Platform examples > AWS target platform > tf-backend.js > s3 backend 1` "metadata": { "backend": "local", "stackName": "root", - "version": "0.20.3", }, "outputs": {}, }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/api/404.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/api/404.test.w_compile_tf-aws.md index 2e69e0d539a..ff2802406af 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/api/404.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/api/404.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": { "root": { diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/api/aws-api.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/api/aws-api.test.w_compile_tf-aws.md index b734a10f596..820744d4420 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/api/aws-api.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/api/aws-api.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": { "root": { diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/api/cors.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/api/cors.test.w_compile_tf-aws.md index e0a19df7656..a327540a22d 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/api/cors.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/api/cors.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": { "root": { diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/api/cycle.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/api/cycle.test.w_compile_tf-aws.md index 52eba5c5629..1b15ff5215f 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/api/cycle.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/api/cycle.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": { "root": { diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/api/delete.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/api/delete.test.w_compile_tf-aws.md index 2fc97c382e3..59df67e2f5b 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/api/delete.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/api/delete.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": { "root": { diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/api/env.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/api/env.test.w_compile_tf-aws.md index 91a7ca9c92a..4471901e59d 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/api/env.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/api/env.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": { "root": { diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/api/get.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/api/get.test.w_compile_tf-aws.md index 08960625639..0c0cb69fc2b 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/api/get.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/api/get.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": { "root": { diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/api/options.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/api/options.test.w_compile_tf-aws.md index 408edb54d32..2939d696b38 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/api/options.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/api/options.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": { "root": { diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/api/patch.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/api/patch.test.w_compile_tf-aws.md index b52acfc51d1..a4813fe4271 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/api/patch.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/api/patch.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": { "root": { diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/api/path_vars.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/api/path_vars.test.w_compile_tf-aws.md index 126cf33b243..66be21d4186 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/api/path_vars.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/api/path_vars.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": { "root": { diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/api/post.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/api/post.test.w_compile_tf-aws.md index ccfc1c80390..2b0f508898d 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/api/post.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/api/post.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": { "root": { diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/api/put.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/api/put.test.w_compile_tf-aws.md index eb8365bb636..3126fb63256 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/api/put.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/api/put.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": { "root": { diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/api/root_path_vars.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/api/root_path_vars.test.w_compile_tf-aws.md index a8795f148a8..3c7cfd311c2 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/api/root_path_vars.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/api/root_path_vars.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": { "root": { diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/add_file.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/add_file.test.w_compile_tf-aws.md index e4719bb5745..c701bf8af93 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/add_file.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/add_file.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/add_object.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/add_object.test.w_compile_tf-aws.md index 39d223484d7..fd229b304a2 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/add_object.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/add_object.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/aws-bucket.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/aws-bucket.test.w_compile_tf-aws.md index d049080c330..6c28ee917f4 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/aws-bucket.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/aws-bucket.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/bucket-ref.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/bucket-ref.test.w_compile_tf-aws.md index ba9742fa736..cbebcf65c2c 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/bucket-ref.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/bucket-ref.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/bucket_list.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/bucket_list.test.w_compile_tf-aws.md index b0ed7a36d27..c8432572921 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/bucket_list.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/bucket_list.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/copy.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/copy.test.w_compile_tf-aws.md index 16dd6f4614e..807a4d8097a 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/copy.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/copy.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/delete.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/delete.test.w_compile_tf-aws.md index 2e1f40f16d6..f9e46bb401a 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/delete.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/delete.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/events.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/events.test.w_compile_tf-aws.md index fd0815e36ad..7133526bbf1 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/events.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/events.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/exists.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/exists.test.w_compile_tf-aws.md index 6c160682628..0fb2b17bec6 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/exists.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/exists.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/get.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/get.test.w_compile_tf-aws.md index ee3ae6ed087..9bef80083da 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/get.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/get.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/load_test.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/load_test.test.w_compile_tf-aws.md index f95c803b170..914c5fa5d98 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/load_test.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/load_test.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/metadata.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/metadata.test.w_compile_tf-aws.md index ebe3bc13b71..d47e5aefb6e 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/metadata.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/metadata.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/public_url.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/public_url.test.w_compile_tf-aws.md index 24ef70aad31..bec0b9875ed 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/public_url.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/public_url.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/put.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/put.test.w_compile_tf-aws.md index b7d5f0c24cf..921addfd969 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/put.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/put.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/put_json.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/put_json.test.w_compile_tf-aws.md index ac7d745cd28..9dd39194b20 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/put_json.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/put_json.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/rename.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/rename.test.w_compile_tf-aws.md index ec66ecf7068..bb4055524bb 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/rename.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/rename.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/signed_url.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/signed_url.test.w_compile_tf-aws.md index 6001289d985..97e87081eff 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/signed_url.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/signed_url.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/try_delete.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/try_delete.test.w_compile_tf-aws.md index 2fa8598b48c..015633042ae 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/try_delete.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/try_delete.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/try_get.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/try_get.test.w_compile_tf-aws.md index df48dc834e2..41a8724c33f 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/try_get.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/try_get.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/try_get_json.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/try_get_json.test.w_compile_tf-aws.md index ca4e8be7014..aae5dadd28c 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/try_get_json.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/try_get_json.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/container/build-failure.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/container/build-failure.test.w_compile_tf-aws.md index d14f0f16ef3..85d00657591 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/container/build-failure.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/container/build-failure.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/container/container.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/container/container.test.w_compile_tf-aws.md index a2fe48a7876..6fd5c8993f7 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/container/container.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/container/container.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/container/entrypoint.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/container/entrypoint.test.w_compile_tf-aws.md index 6ccd60a89d0..006c6383071 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/container/entrypoint.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/container/entrypoint.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/container/mount.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/container/mount.test.w_compile_tf-aws.md index b6049bac43e..52c0e86eb87 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/container/mount.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/container/mount.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/container/network.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/container/network.test.w_compile_tf-aws.md index 0792b86c89c..00d8d40ed1d 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/container/network.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/container/network.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/container/pull-failure.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/container/pull-failure.test.w_compile_tf-aws.md index 3040813d746..338ca59fdb6 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/container/pull-failure.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/container/pull-failure.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/counter/aws-counter.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/counter/aws-counter.test.w_compile_tf-aws.md index feb65cfa25a..0116cb1b453 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/counter/aws-counter.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/counter/aws-counter.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/counter/dec.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/counter/dec.test.w_compile_tf-aws.md index 0705c097ef1..4fd8b5d1a8b 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/counter/dec.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/counter/dec.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/counter/inc.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/counter/inc.test.w_compile_tf-aws.md index 2b66def874c..fef26ea1bc1 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/counter/inc.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/counter/inc.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/counter/initial.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/counter/initial.test.w_compile_tf-aws.md index 7b2a248d66c..95c03ae889b 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/counter/initial.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/counter/initial.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/counter/peek.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/counter/peek.test.w_compile_tf-aws.md index 74e68f778f2..63927f489a3 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/counter/peek.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/counter/peek.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/counter/set.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/counter/set.test.w_compile_tf-aws.md index 5cadc6586ee..aa35c2ab3cd 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/counter/set.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/counter/set.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/endpoint/url.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/endpoint/url.test.w_compile_tf-aws.md index 8cfafdae611..2caf1d6975c 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/endpoint/url.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/endpoint/url.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": { "root": { diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/expect/assert.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/expect/assert.test.w_compile_tf-aws.md index bd71c72efd9..587299cf8ac 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/expect/assert.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/expect/assert.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/fs/basic.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/fs/basic.test.w_compile_tf-aws.md index fd604ff7062..8dac89959fe 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/fs/basic.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/fs/basic.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/fs/directory.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/fs/directory.test.w_compile_tf-aws.md index 52745c95589..a638fe6ab29 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/fs/directory.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/fs/directory.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/fs/json.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/fs/json.test.w_compile_tf-aws.md index 87290338185..a1d8f24a7fd 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/fs/json.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/fs/json.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/fs/options.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/fs/options.test.w_compile_tf-aws.md index 71047db945e..99676e6cb72 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/fs/options.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/fs/options.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/fs/path.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/fs/path.test.w_compile_tf-aws.md index 273a3cc8ccb..aaeb92f8444 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/fs/path.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/fs/path.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/fs/stat.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/fs/stat.test.w_compile_tf-aws.md index 03508d048ab..2b09b414daa 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/fs/stat.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/fs/stat.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/fs/temp_dir.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/fs/temp_dir.test.w_compile_tf-aws.md index 14e6e8b858c..ab5c7721e2e 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/fs/temp_dir.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/fs/temp_dir.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/fs/yaml.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/fs/yaml.test.w_compile_tf-aws.md index 5b23bd3dad9..030ef14b5ee 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/fs/yaml.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/fs/yaml.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/function/aws-function.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/function/aws-function.test.w_compile_tf-aws.md index c35fb9840c5..54a771ddfe7 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/function/aws-function.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/function/aws-function.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/function/concurrency.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/function/concurrency.test.w_compile_tf-aws.md index e18a196c5f3..eeb5620841c 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/function/concurrency.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/function/concurrency.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/function/env.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/function/env.test.w_compile_tf-aws.md index dcc67738bc2..9cd0df9d38c 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/function/env.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/function/env.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/function/function-ref.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/function/function-ref.test.w_compile_tf-aws.md index 2519193814a..125199f5b95 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/function/function-ref.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/function/function-ref.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/function/invoke.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/function/invoke.test.w_compile_tf-aws.md index 9596a7ffdef..e79a4f6170e 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/function/invoke.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/function/invoke.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/function/invoke_async.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/function/invoke_async.test.w_compile_tf-aws.md index 4c068818e22..2496e855a72 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/function/invoke_async.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/function/invoke_async.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/function/logging.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/function/logging.test.w_compile_tf-aws.md index 5497f3536e4..e485e963ef2 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/function/logging.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/function/logging.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/function/memory_and_env.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/function/memory_and_env.test.w_compile_tf-aws.md index 0b3aa6739d6..3a8ddd2d176 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/function/memory_and_env.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/function/memory_and_env.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/function/timeout.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/function/timeout.test.w_compile_tf-aws.md index 7628bef06af..fc16e252d4c 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/function/timeout.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/function/timeout.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/http/fetch.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/http/fetch.test.w_compile_tf-aws.md index 6f1ed792bcb..f596453e5d4 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/http/fetch.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/http/fetch.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": { "root": { diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/http/url.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/http/url.test.w_compile_tf-aws.md index 11dade15e49..a7c440a626d 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/http/url.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/http/url.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/abs.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/abs.test.w_compile_tf-aws.md index ed356062800..ba01b24c00e 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/abs.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/abs.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/acos.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/acos.test.w_compile_tf-aws.md index 952c83c2fcd..74e342e5f24 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/acos.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/acos.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/acot.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/acot.test.w_compile_tf-aws.md index a9f3896b988..15a64632528 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/acot.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/acot.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/acsc.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/acsc.test.w_compile_tf-aws.md index 639eb1189ba..73cb02e1075 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/acsc.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/acsc.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/angular_conversion.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/angular_conversion.test.w_compile_tf-aws.md index 720373b3260..66b06306aad 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/angular_conversion.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/angular_conversion.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/asec.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/asec.test.w_compile_tf-aws.md index 7cd2db97658..74211770e0e 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/asec.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/asec.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/asin.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/asin.test.w_compile_tf-aws.md index adf6f8fe44f..3974ea4be24 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/asin.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/asin.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/atan.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/atan.test.w_compile_tf-aws.md index 6b0c9012781..0322881e539 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/atan.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/atan.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/atan2.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/atan2.test.w_compile_tf-aws.md index 11f564b8d5f..87f2673ee32 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/atan2.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/atan2.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/combinations.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/combinations.test.w_compile_tf-aws.md index 6c8d57efb16..f6e00132786 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/combinations.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/combinations.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/cos.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/cos.test.w_compile_tf-aws.md index db290c3880c..4dc660ae032 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/cos.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/cos.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/cot.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/cot.test.w_compile_tf-aws.md index 1c251e3b1e4..cb65e023f0b 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/cot.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/cot.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/csc.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/csc.test.w_compile_tf-aws.md index 1e14a4218cb..aa9bc2f8e3d 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/csc.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/csc.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/euler.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/euler.test.w_compile_tf-aws.md index b6bde767c33..19ceab8b13d 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/euler.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/euler.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/factorial.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/factorial.test.w_compile_tf-aws.md index b5e246b2a0c..cba2f520c8f 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/factorial.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/factorial.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/fibonacci.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/fibonacci.test.w_compile_tf-aws.md index 53fec009700..a2a4bf12ae4 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/fibonacci.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/fibonacci.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/floor_ceil_round.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/floor_ceil_round.test.w_compile_tf-aws.md index 9d47857f7d3..67d945c8be9 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/floor_ceil_round.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/floor_ceil_round.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/hypot.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/hypot.test.w_compile_tf-aws.md index 897585ddfc7..f6309c94d2f 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/hypot.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/hypot.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/log.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/log.test.w_compile_tf-aws.md index 2d4373cff16..9e8d2880521 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/log.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/log.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/log10.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/log10.test.w_compile_tf-aws.md index d534fafa48b..20ebae22730 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/log10.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/log10.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/log2.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/log2.test.w_compile_tf-aws.md index 96d7783948a..51eb956daf7 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/log2.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/log2.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/median_mode_mean.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/median_mode_mean.test.w_compile_tf-aws.md index 58faaa96f84..c042ac4a06b 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/median_mode_mean.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/median_mode_mean.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/min_max.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/min_max.test.w_compile_tf-aws.md index 40770f93e45..ef40becdd50 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/min_max.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/min_max.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/pi.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/pi.test.w_compile_tf-aws.md index 0103c1d9ad4..85481104800 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/pi.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/pi.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/prime.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/prime.test.w_compile_tf-aws.md index ba7a74d5dd4..14638fbc1bb 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/prime.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/prime.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/random.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/random.test.w_compile_tf-aws.md index 17424c6dc92..5b81833a9ab 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/random.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/random.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/sec.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/sec.test.w_compile_tf-aws.md index 043486fef89..b259e3be098 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/sec.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/sec.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/sign.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/sign.test.w_compile_tf-aws.md index b16b2723c2e..0df27a0bba9 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/sign.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/sign.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/sin.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/sin.test.w_compile_tf-aws.md index 700c24c5e64..ce8989c7fe9 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/sin.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/sin.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/sqrt.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/sqrt.test.w_compile_tf-aws.md index 48c9f8d011b..b5f4bfdf7f6 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/sqrt.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/sqrt.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/tan.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/tan.test.w_compile_tf-aws.md index f337afc2018..67bdd9dcd1e 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/tan.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/tan.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/tau.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/tau.test.w_compile_tf-aws.md index 271b31e9f58..fdea12bc761 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/tau.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/tau.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/toradix.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/toradix.test.w_compile_tf-aws.md index ba799558907..c33b3a754bf 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/toradix.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/toradix.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/misc/empty-actions.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/misc/empty-actions.test.w_compile_tf-aws.md index 1c7913d381c..b65178d87c6 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/misc/empty-actions.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/misc/empty-actions.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": { "root": { diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/on_deploy/execute_after.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/on_deploy/execute_after.test.w_compile_tf-aws.md index c0393e01129..544f2a7c294 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/on_deploy/execute_after.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/on_deploy/execute_after.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/queue/aws-queue.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/queue/aws-queue.test.w_compile_tf-aws.md index d73d3909dbc..62e892bbfa3 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/queue/aws-queue.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/queue/aws-queue.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/queue/dead-letter-queue.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/queue/dead-letter-queue.test.w_compile_tf-aws.md index 74d09daa612..c94468cd892 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/queue/dead-letter-queue.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/queue/dead-letter-queue.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/queue/pop.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/queue/pop.test.w_compile_tf-aws.md index f688c872133..10f3edcd554 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/queue/pop.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/queue/pop.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/queue/purge.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/queue/purge.test.w_compile_tf-aws.md index 5a16918438b..0b26b53ae42 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/queue/purge.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/queue/purge.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/queue/push.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/queue/push.test.w_compile_tf-aws.md index f70ffc92a1f..2da2eb175f9 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/queue/push.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/queue/push.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/queue/queue-ref.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/queue/queue-ref.test.w_compile_tf-aws.md index 94a40a2c55b..d50af586038 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/queue/queue-ref.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/queue/queue-ref.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/queue/retention_period.main.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/queue/retention_period.main.w_compile_tf-aws.md index 61c408281a5..1c107dfd8bc 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/queue/retention_period.main.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/queue/retention_period.main.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/queue/set_consumer.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/queue/set_consumer.test.w_compile_tf-aws.md index df687695171..996708c7f6e 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/queue/set_consumer.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/queue/set_consumer.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/resource/call.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/resource/call.test.w_compile_tf-aws.md index e527d4c1172..6478bc081cd 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/resource/call.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/resource/call.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/resource/no-stop.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/resource/no-stop.test.w_compile_tf-aws.md index d7d3d990bae..af9f6163826 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/resource/no-stop.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/resource/no-stop.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/resource/on-start.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/resource/on-start.test.w_compile_tf-aws.md index d404a2ea874..2e7e47c0cb7 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/resource/on-start.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/resource/on-start.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/resource/on-stop.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/resource/on-stop.test.w_compile_tf-aws.md index ac1a5770bc1..3292ce56b18 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/resource/on-stop.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/resource/on-stop.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/resource/resource.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/resource/resource.test.w_compile_tf-aws.md index 57b1eb52867..be782972452 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/resource/resource.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/resource/resource.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/resource/state.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/resource/state.test.w_compile_tf-aws.md index accf259f9e4..385ebb4de45 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/resource/state.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/resource/state.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/resource/tokens.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/resource/tokens.test.w_compile_tf-aws.md index b519f90012b..389dadf5601 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/resource/tokens.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/resource/tokens.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/schedule/on_tick.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/schedule/on_tick.test.w_compile_tf-aws.md index c71573ca178..9a916a2b6cd 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/schedule/on_tick.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/schedule/on_tick.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/secret/secret-ref.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/secret/secret-ref.test.w_compile_tf-aws.md index 40dd93c916f..110ba3b46c2 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/secret/secret-ref.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/secret/secret-ref.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/service/callbacks.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/service/callbacks.test.w_compile_tf-aws.md index 07b8c69b216..cd516eb87f1 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/service/callbacks.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/service/callbacks.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/service/http-server.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/service/http-server.test.w_compile_tf-aws.md index 84e10b1f46a..3b7c132462f 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/service/http-server.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/service/http-server.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/service/minimal.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/service/minimal.test.w_compile_tf-aws.md index 19a403618bb..dcadabd7500 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/service/minimal.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/service/minimal.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/service/stateful.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/service/stateful.test.w_compile_tf-aws.md index f1afeeb7bb3..1043f65b9d0 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/service/stateful.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/service/stateful.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/service/tokens.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/service/tokens.test.w_compile_tf-aws.md index f57e8cabceb..b6dcb9a3331 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/service/tokens.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/service/tokens.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/state/get.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/state/get.test.w_compile_tf-aws.md index 2203fe4be96..a94e9a92d99 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/state/get.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/state/get.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/state/set.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/state/set.test.w_compile_tf-aws.md index 6c00ede2136..7088789e5ca 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/state/set.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/state/set.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/std/array.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/std/array.test.w_compile_tf-aws.md index 1e68df87e0e..1fb807ca602 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/std/array.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/std/array.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/std/bool.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/std/bool.test.w_compile_tf-aws.md index 3960353a6f9..33a0562fb96 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/std/bool.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/std/bool.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/std/datetime.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/std/datetime.test.w_compile_tf-aws.md index b2326a2eaba..687efac7319 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/std/datetime.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/std/datetime.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/std/duration.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/std/duration.test.w_compile_tf-aws.md index 95a3ca0c4a2..3d1bda09a6c 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/std/duration.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/std/duration.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/std/json.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/std/json.test.w_compile_tf-aws.md index 3ee16348bf0..adacf815b94 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/std/json.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/std/json.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/std/map.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/std/map.test.w_compile_tf-aws.md index af178b8e28c..c7d976d9ec5 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/std/map.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/std/map.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/std/node.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/std/node.test.w_compile_tf-aws.md index 49526bce222..55b1618ac79 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/std/node.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/std/node.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/std/number.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/std/number.test.w_compile_tf-aws.md index eaae3ae3bf7..be8e5b28f15 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/std/number.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/std/number.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/std/range.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/std/range.test.w_compile_tf-aws.md index 6a69b90025c..a2fae949bf9 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/std/range.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/std/range.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/std/regex.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/std/regex.test.w_compile_tf-aws.md index aee06b0cf5d..5e8cade1ea1 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/std/regex.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/std/regex.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/std/set.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/std/set.test.w_compile_tf-aws.md index 21eaaee6635..1a143abc4a1 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/std/set.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/std/set.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/std/string.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/std/string.test.w_compile_tf-aws.md index d8a219a8336..58203e47248 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/std/string.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/std/string.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/std/struct.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/std/struct.test.w_compile_tf-aws.md index 9fa937052e7..4233ad1b44a 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/std/struct.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/std/struct.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/table/add_row.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/table/add_row.test.w_compile_tf-aws.md index 27da3eb1c30..08b438523c2 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/table/add_row.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/table/add_row.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/table/aws-table.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/table/aws-table.test.w_compile_tf-aws.md index 4d1b2324136..eda164c4db7 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/table/aws-table.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/table/aws-table.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/table/get.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/table/get.test.w_compile_tf-aws.md index b1285932d9c..b6158189d58 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/table/get.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/table/get.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/table/list.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/table/list.test.w_compile_tf-aws.md index 1e43be52fd2..c719eb4f371 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/table/list.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/table/list.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/table/try_get.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/table/try_get.test.w_compile_tf-aws.md index aecf17b8a05..1a1e85f272f 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/table/try_get.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/table/try_get.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/table/upsert.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/table/upsert.test.w_compile_tf-aws.md index 7c86738a100..749a80d1802 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/table/upsert.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/table/upsert.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/topic/aws-topic.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/topic/aws-topic.test.w_compile_tf-aws.md index d6541c4a7b5..0c07f5f757b 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/topic/aws-topic.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/topic/aws-topic.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/topic/no_blocking.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/topic/no_blocking.test.w_compile_tf-aws.md index 394bb49b81f..bc2fe0d289a 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/topic/no_blocking.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/topic/no_blocking.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/topic/on_message.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/topic/on_message.test.w_compile_tf-aws.md index 7aaf444dfd8..85566241f56 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/topic/on_message.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/topic/on_message.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/topic/subscribe-queue.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/topic/subscribe-queue.test.w_compile_tf-aws.md index f833a206df1..d03f215ea79 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/topic/subscribe-queue.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/topic/subscribe-queue.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/topic/variadic-parameter.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/topic/variadic-parameter.test.w_compile_tf-aws.md index 2bc3d594eaf..db19b75aeb7 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/topic/variadic-parameter.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/topic/variadic-parameter.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/ui/section.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/ui/section.test.w_compile_tf-aws.md index 8d2643ac397..02dfaafd1e5 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/ui/section.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/ui/section.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/util/base64.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/util/base64.test.w_compile_tf-aws.md index 581d9609926..db03dcf9549 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/util/base64.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/util/base64.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/util/env.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/util/env.test.w_compile_tf-aws.md index dba0ead4db6..46588649572 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/util/env.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/util/env.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/util/exec.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/util/exec.test.w_compile_tf-aws.md index 5d691b6ce5b..f69f2e0b4af 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/util/exec.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/util/exec.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/util/nanoid.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/util/nanoid.test.w_compile_tf-aws.md index 3cd1d916b3c..634a7cd9702 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/util/nanoid.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/util/nanoid.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/util/os.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/util/os.test.w_compile_tf-aws.md index 73da961e99c..4484f4781ea 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/util/os.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/util/os.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/util/sha256.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/util/sha256.test.w_compile_tf-aws.md index 0d9c16e0826..fe3c057a45e 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/util/sha256.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/util/sha256.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/util/shell.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/util/shell.test.w_compile_tf-aws.md index b9964567ec6..2ebe90bd19d 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/util/shell.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/util/shell.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/util/sleep.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/util/sleep.test.w_compile_tf-aws.md index 92843433c6b..49e03e97a21 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/util/sleep.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/util/sleep.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/util/spawn.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/util/spawn.test.w_compile_tf-aws.md index c42cac57689..61f009baf7a 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/util/spawn.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/util/spawn.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/util/uuidv4.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/util/uuidv4.test.w_compile_tf-aws.md index be29596dc4c..773c1b08bba 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/util/uuidv4.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/util/uuidv4.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/util/wait-until.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/util/wait-until.test.w_compile_tf-aws.md index 59131abc2d7..05800ae6292 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/util/wait-until.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/util/wait-until.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/website/aws-website.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/website/aws-website.test.w_compile_tf-aws.md index 728f121f212..8a42d90b6e6 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/website/aws-website.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/website/aws-website.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": { "root": { diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/website/two_websites.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/website/two_websites.test.w_compile_tf-aws.md index 27628368c3d..410435ffba8 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/website/two_websites.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/website/two_websites.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": { "root": { diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/website/website.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/website/website.test.w_compile_tf-aws.md index 962bd1d1f03..e8f94cddfa8 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/website/website.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/website/website.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": { "root": { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/anon_function.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/anon_function.test.w_compile_tf-aws.md index 870b3b37f1d..48f9f26410c 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/anon_function.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/anon_function.test.w_compile_tf-aws.md @@ -29,8 +29,7 @@ module.exports = function({ }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/api.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/api.test.w_compile_tf-aws.md index 5628045bad3..6f5ab27a73c 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/api.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/api.test.w_compile_tf-aws.md @@ -85,8 +85,7 @@ module.exports = function({ }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": { "root": { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/api_cors_custom.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/api_cors_custom.test.w_compile_tf-aws.md index 359500e3039..34cc0b087ff 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/api_cors_custom.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/api_cors_custom.test.w_compile_tf-aws.md @@ -105,8 +105,7 @@ module.exports = function({ $api_url, $expect_Util, $http_HttpMethod, $http_Util "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": { "root": { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/api_cors_default.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/api_cors_default.test.w_compile_tf-aws.md index 22bb3845ffe..7a432fa81b5 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/api_cors_default.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/api_cors_default.test.w_compile_tf-aws.md @@ -80,8 +80,7 @@ module.exports = function({ $apiDefaultCors_url, $expect_Util, $http_HttpMethod, "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": { "root": { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/api_valid_path.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/api_valid_path.test.w_compile_tf-aws.md index 712527ac8e7..636daf6a931 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/api_valid_path.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/api_valid_path.test.w_compile_tf-aws.md @@ -26,8 +26,7 @@ module.exports = function({ }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": { "root": { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/assert.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/assert.test.w_compile_tf-aws.md index a8b74bcff60..affbcd93807 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/assert.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/assert.test.w_compile_tf-aws.md @@ -40,8 +40,7 @@ module.exports = function({ $s1, $s2 }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/asynchronous_model_implicit_await_in_functions.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/asynchronous_model_implicit_await_in_functions.test.w_compile_tf-aws.md index e0374f97b56..a1abff069c0 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/asynchronous_model_implicit_await_in_functions.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/asynchronous_model_implicit_await_in_functions.test.w_compile_tf-aws.md @@ -46,8 +46,7 @@ module.exports = function({ $strToStr }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/bring_alias.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/bring_alias.test.w_compile_tf-aws.md index 2ddcec22ea9..91d1d890678 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/bring_alias.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/bring_alias.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/bring_awscdk.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/bring_awscdk.test.w_compile_tf-aws.md index 6d00372de57..0619d7e6677 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/bring_awscdk.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/bring_awscdk.test.w_compile_tf-aws.md @@ -20,8 +20,7 @@ module.exports = function({ }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/bring_cdk8s.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/bring_cdk8s.test.w_compile_tf-aws.md index fb60c5bbf3e..759bd050819 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/bring_cdk8s.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/bring_cdk8s.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/bring_cdktf.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/bring_cdktf.test.w_compile_tf-aws.md index 313b72c26fe..60cc9c5b347 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/bring_cdktf.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/bring_cdktf.test.w_compile_tf-aws.md @@ -20,8 +20,7 @@ module.exports = function({ }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/bring_extend_non_entry.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/bring_extend_non_entry.test.w_compile_tf-aws.md index 4c65ccbc197..7d08220759d 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/bring_extend_non_entry.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/bring_extend_non_entry.test.w_compile_tf-aws.md @@ -21,8 +21,7 @@ module.exports = function({ $cdk8s_Chart }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/bring_jsii.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/bring_jsii.test.w_compile_tf-aws.md index aba835d1317..8ce43dccc57 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/bring_jsii.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/bring_jsii.test.w_compile_tf-aws.md @@ -42,8 +42,7 @@ module.exports = function({ }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/bring_local.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/bring_local.test.w_compile_tf-aws.md index 57561d5972f..eaea16be38c 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/bring_local.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/bring_local.test.w_compile_tf-aws.md @@ -143,8 +143,7 @@ module.exports = function({ }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/bring_local_dir.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/bring_local_dir.test.w_compile_tf-aws.md index 60c18b17f6a..0161018121b 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/bring_local_dir.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/bring_local_dir.test.w_compile_tf-aws.md @@ -62,8 +62,7 @@ module.exports = function({ }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/bring_local_normalization.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/bring_local_normalization.test.w_compile_tf-aws.md index 9a8d4a73c93..4fc2a4d1afb 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/bring_local_normalization.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/bring_local_normalization.test.w_compile_tf-aws.md @@ -48,8 +48,7 @@ module.exports = function({ }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/bring_projen.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/bring_projen.test.w_compile_tf-aws.md index 2ac6ea6ecac..85d3f6033f6 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/bring_projen.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/bring_projen.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/bring_wing_library.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/bring_wing_library.test.w_compile_tf-aws.md index b7fc78e23b0..39d1b1cbf04 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/bring_wing_library.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/bring_wing_library.test.w_compile_tf-aws.md @@ -71,8 +71,7 @@ module.exports = function({ }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/bucket_keys.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/bucket_keys.test.w_compile_tf-aws.md index 78bf0995b95..4b8c605b7a2 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/bucket_keys.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/bucket_keys.test.w_compile_tf-aws.md @@ -36,8 +36,7 @@ module.exports = function({ $b }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/bypass_return.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/bypass_return.test.w_compile_tf-aws.md index 356c05c83b2..ea4602f5b01 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/bypass_return.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/bypass_return.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/call_static_of_myself.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/call_static_of_myself.test.w_compile_tf-aws.md index bdda85c409b..4611883ee58 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/call_static_of_myself.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/call_static_of_myself.test.w_compile_tf-aws.md @@ -77,8 +77,7 @@ module.exports = function({ }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/calling_inflight_variants.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/calling_inflight_variants.test.w_compile_tf-aws.md index 695224e3999..fd928e94383 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/calling_inflight_variants.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/calling_inflight_variants.test.w_compile_tf-aws.md @@ -88,8 +88,7 @@ module.exports = function({ }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/capture_containers.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/capture_containers.test.w_compile_tf-aws.md index f7477a1faef..16cf7d4204f 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/capture_containers.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/capture_containers.test.w_compile_tf-aws.md @@ -34,8 +34,7 @@ module.exports = function({ $arr, $arrOfMap, $j, $myMap, $mySet }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/capture_in_binary.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/capture_in_binary.test.w_compile_tf-aws.md index 91071782782..73647713356 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/capture_in_binary.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/capture_in_binary.test.w_compile_tf-aws.md @@ -28,8 +28,7 @@ module.exports = function({ $b, $x }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/capture_mutables.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/capture_mutables.test.w_compile_tf-aws.md index 14947547926..538560e462b 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/capture_mutables.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/capture_mutables.test.w_compile_tf-aws.md @@ -49,8 +49,7 @@ module.exports = function({ $handler }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/capture_primitives.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/capture_primitives.test.w_compile_tf-aws.md index acdaed6230a..1b5082f1c70 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/capture_primitives.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/capture_primitives.test.w_compile_tf-aws.md @@ -40,8 +40,7 @@ module.exports = function({ $myBool, $myDur, $myNum, $mySecondBool, $myStr }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/capture_reassigable_class_field.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/capture_reassigable_class_field.test.w_compile_tf-aws.md index 2a4cce23d48..0e3e34f9f93 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/capture_reassigable_class_field.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/capture_reassigable_class_field.test.w_compile_tf-aws.md @@ -98,8 +98,7 @@ module.exports = function({ }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/capture_reassignable.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/capture_reassignable.test.w_compile_tf-aws.md index 45dfc0c4221..17f9085dddc 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/capture_reassignable.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/capture_reassignable.test.w_compile_tf-aws.md @@ -46,8 +46,7 @@ module.exports = function({ $handler }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/capture_resource_and_data.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/capture_resource_and_data.test.w_compile_tf-aws.md index 18954b6e717..3e4023e45ec 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/capture_resource_and_data.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/capture_resource_and_data.test.w_compile_tf-aws.md @@ -29,8 +29,7 @@ module.exports = function({ $data, $queue, $res }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/capture_resource_with_no_inflight.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/capture_resource_with_no_inflight.test.w_compile_tf-aws.md index d763246da9a..54af4c008fb 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/capture_resource_with_no_inflight.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/capture_resource_with_no_inflight.test.w_compile_tf-aws.md @@ -47,8 +47,7 @@ module.exports = function({ }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/capture_tokens.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/capture_tokens.test.w_compile_tf-aws.md index 12ec3390d08..55d284b2ce0 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/capture_tokens.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/capture_tokens.test.w_compile_tf-aws.md @@ -70,8 +70,7 @@ module.exports = function({ }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": { "root": { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/captures.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/captures.test.w_compile_tf-aws.md index 01ee869a182..5e70bb4a547 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/captures.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/captures.test.w_compile_tf-aws.md @@ -80,8 +80,7 @@ module.exports = function({ $headers }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": { "root": { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/casting.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/casting.test.w_compile_tf-aws.md index 1624c1c557f..d6739f9b1c8 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/casting.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/casting.test.w_compile_tf-aws.md @@ -11,8 +11,7 @@ "bucket_prefix" ] }, - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/class.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/class.test.w_compile_tf-aws.md index 281194d8046..c3bd201d752 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/class.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/class.test.w_compile_tf-aws.md @@ -506,8 +506,7 @@ module.exports = function({ $PaidStudent }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/closure_class.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/closure_class.test.w_compile_tf-aws.md index a979018aad0..8527d14afd4 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/closure_class.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/closure_class.test.w_compile_tf-aws.md @@ -50,8 +50,7 @@ module.exports = function({ }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/construct-base.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/construct-base.test.w_compile_tf-aws.md index 113c2ed00c5..b303e7c3cea 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/construct-base.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/construct-base.test.w_compile_tf-aws.md @@ -20,8 +20,7 @@ module.exports = function({ }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/container_types.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/container_types.test.w_compile_tf-aws.md index 34176ad7a2a..bfc1c7752f2 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/container_types.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/container_types.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/custom_obj_id.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/custom_obj_id.test.w_compile_tf-aws.md index c52158d6b98..09fd1622e94 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/custom_obj_id.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/custom_obj_id.test.w_compile_tf-aws.md @@ -20,8 +20,7 @@ module.exports = function({ }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/debug_env.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/debug_env.test.w_compile_tf-aws.md index 25341c9e579..3cc240d6983 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/debug_env.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/debug_env.test.w_compile_tf-aws.md @@ -20,8 +20,7 @@ module.exports = function({ }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/deep_equality.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/deep_equality.test.w_compile_tf-aws.md index 812670d01cf..3d139298a72 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/deep_equality.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/deep_equality.test.w_compile_tf-aws.md @@ -281,8 +281,7 @@ module.exports = function({ $mapA, $mapB, $mapC }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/double_reference.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/double_reference.test.w_compile_tf-aws.md index d6e7eeb4aac..f93187e3c3d 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/double_reference.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/double_reference.test.w_compile_tf-aws.md @@ -65,8 +65,7 @@ module.exports = function({ $initCount }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/doubler.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/doubler.test.w_compile_tf-aws.md index 7fbcf885962..0fabf02ee95 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/doubler.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/doubler.test.w_compile_tf-aws.md @@ -124,8 +124,7 @@ module.exports = function({ }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/enums.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/enums.test.w_compile_tf-aws.md index 426be7f4c97..9dfb3b6b408 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/enums.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/enums.test.w_compile_tf-aws.md @@ -49,8 +49,7 @@ module.exports = function({ $SomeEnum }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/explicit_lift_qualification.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/explicit_lift_qualification.test.w_compile_tf-aws.md index ba3a676f207..25ed7a932e0 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/explicit_lift_qualification.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/explicit_lift_qualification.test.w_compile_tf-aws.md @@ -144,8 +144,7 @@ module.exports = function({ }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/expressions_binary_operators.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/expressions_binary_operators.test.w_compile_tf-aws.md index 0ed26f1e9f0..5c8ac0336ed 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/expressions_binary_operators.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/expressions_binary_operators.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/expressions_string_interpolation.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/expressions_string_interpolation.test.w_compile_tf-aws.md index cb0d2ed7a5f..b320cc977b3 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/expressions_string_interpolation.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/expressions_string_interpolation.test.w_compile_tf-aws.md @@ -31,8 +31,7 @@ module.exports = function({ $expect_Util, $number }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/extern_implementation.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/extern_implementation.test.w_compile_tf-aws.md index 8c7d821d3a8..8763ce21760 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/extern_implementation.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/extern_implementation.test.w_compile_tf-aws.md @@ -98,8 +98,7 @@ module.exports = function({ }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/file_counter.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/file_counter.test.w_compile_tf-aws.md index 7cab4a39fc8..a244a8ce90e 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/file_counter.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/file_counter.test.w_compile_tf-aws.md @@ -28,8 +28,7 @@ module.exports = function({ $bucket, $counter }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/for_loop.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/for_loop.test.w_compile_tf-aws.md index 133f07c0354..49fed41ce7f 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/for_loop.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/for_loop.test.w_compile_tf-aws.md @@ -49,8 +49,7 @@ module.exports = function({ }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/forward_decl.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/forward_decl.test.w_compile_tf-aws.md index f942377bb06..287a91f1761 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/forward_decl.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/forward_decl.test.w_compile_tf-aws.md @@ -20,8 +20,7 @@ module.exports = function({ }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/function_optional_arguments.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/function_optional_arguments.test.w_compile_tf-aws.md index 1c62e45a42f..2feba53142a 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/function_optional_arguments.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/function_optional_arguments.test.w_compile_tf-aws.md @@ -20,8 +20,7 @@ module.exports = function({ }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/function_returns_function.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/function_returns_function.test.w_compile_tf-aws.md index 9d84ab99e3f..0a2609770f3 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/function_returns_function.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/function_returns_function.test.w_compile_tf-aws.md @@ -34,8 +34,7 @@ module.exports = function({ }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/function_type.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/function_type.test.w_compile_tf-aws.md index ca5805b236a..1047d0fd693 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/function_type.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/function_type.test.w_compile_tf-aws.md @@ -81,8 +81,7 @@ module.exports = function({ }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/function_variadic_arguments.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/function_variadic_arguments.test.w_compile_tf-aws.md index a963252161b..d0346334c75 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/function_variadic_arguments.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/function_variadic_arguments.test.w_compile_tf-aws.md @@ -35,8 +35,7 @@ module.exports = function({ $A }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/hello.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/hello.test.w_compile_tf-aws.md index 27941b931ba..a61df751352 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/hello.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/hello.test.w_compile_tf-aws.md @@ -26,8 +26,7 @@ module.exports = function({ $bucket }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/identical_inflights.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/identical_inflights.test.w_compile_tf-aws.md index a354c770c40..8f2cbcbb2ea 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/identical_inflights.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/identical_inflights.test.w_compile_tf-aws.md @@ -44,8 +44,7 @@ module.exports = function({ }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/impl_interface.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/impl_interface.test.w_compile_tf-aws.md index caf2cd8e6aa..ee3ceb316ad 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/impl_interface.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/impl_interface.test.w_compile_tf-aws.md @@ -243,8 +243,7 @@ module.exports = function({ }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/implicit_std.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/implicit_std.test.w_compile_tf-aws.md index 3086f935883..c2c93e1f0e7 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/implicit_std.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/implicit_std.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/in_scope_construct.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/in_scope_construct.test.w_compile_tf-aws.md index 8ae55982b3c..c0fa4e1a016 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/in_scope_construct.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/in_scope_construct.test.w_compile_tf-aws.md @@ -20,8 +20,7 @@ module.exports = function({ }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/indexing.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/indexing.test.w_compile_tf-aws.md index 11d7a61fd58..63ac7687524 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/indexing.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/indexing.test.w_compile_tf-aws.md @@ -20,8 +20,7 @@ module.exports = function({ }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inference.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inference.test.w_compile_tf-aws.md index ed9ebd76926..d9c9ec036f8 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inference.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inference.test.w_compile_tf-aws.md @@ -26,8 +26,7 @@ module.exports = function({ }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": { "root": { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflight-subscribers.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inflight-subscribers.test.w_compile_tf-aws.md index 32e4f4a90e5..c00ce72a039 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflight-subscribers.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflight-subscribers.test.w_compile_tf-aws.md @@ -46,8 +46,7 @@ module.exports = function({ }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflight_capture_static.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inflight_capture_static.test.w_compile_tf-aws.md index 7f67e80adcf..099441fc26c 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflight_capture_static.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflight_capture_static.test.w_compile_tf-aws.md @@ -132,8 +132,7 @@ module.exports = function({ }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_as_struct_members.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_as_struct_members.test.w_compile_tf-aws.md index 1b2a1dcf38c..63eac774a41 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_as_struct_members.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_as_struct_members.test.w_compile_tf-aws.md @@ -62,8 +62,7 @@ module.exports = function({ }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_capture_const.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_capture_const.test.w_compile_tf-aws.md index b8eb8f5eb65..fd1516e9e87 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_capture_const.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_capture_const.test.w_compile_tf-aws.md @@ -42,8 +42,7 @@ module.exports = function({ $myConst }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_capture_preflight_object.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_capture_preflight_object.test.w_compile_tf-aws.md index 570536b9cec..b11b224548b 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_capture_preflight_object.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_capture_preflight_object.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_definitions.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_definitions.test.w_compile_tf-aws.md index e1d3da35aa7..e537abc4187 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_definitions.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_definitions.test.w_compile_tf-aws.md @@ -156,8 +156,7 @@ module.exports = function({ }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_inner_capture_mutable.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_inner_capture_mutable.test.w_compile_tf-aws.md index f00e099cee6..dabe240a3a0 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_inner_capture_mutable.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_inner_capture_mutable.test.w_compile_tf-aws.md @@ -37,8 +37,7 @@ module.exports = function({ }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_inside_inflight_closure.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_inside_inflight_closure.test.w_compile_tf-aws.md index a4590c97062..856df8223f3 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_inside_inflight_closure.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_inside_inflight_closure.test.w_compile_tf-aws.md @@ -100,8 +100,7 @@ module.exports = function({ }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_modifiers.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_modifiers.test.w_compile_tf-aws.md index d888f13496b..8e93c5ec0c9 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_modifiers.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_modifiers.test.w_compile_tf-aws.md @@ -25,8 +25,7 @@ module.exports = function({ }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_outside_inflight_closure.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_outside_inflight_closure.test.w_compile_tf-aws.md index 0712ff6a4e8..0c04970c411 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_outside_inflight_closure.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_outside_inflight_closure.test.w_compile_tf-aws.md @@ -48,8 +48,7 @@ module.exports = function({ }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_structural_interace_handler.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_structural_interace_handler.test.w_compile_tf-aws.md index 2d2852e84dc..983628a34c9 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_structural_interace_handler.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_structural_interace_handler.test.w_compile_tf-aws.md @@ -52,8 +52,7 @@ module.exports = function({ }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_without_init.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_without_init.test.w_compile_tf-aws.md index c9a1079e75c..2b1a60b79bb 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_without_init.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_without_init.test.w_compile_tf-aws.md @@ -38,8 +38,7 @@ module.exports = function({ }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflight_closure_as_super_param.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inflight_closure_as_super_param.test.w_compile_tf-aws.md index dd11ada8e03..90f1cc224eb 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflight_closure_as_super_param.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflight_closure_as_super_param.test.w_compile_tf-aws.md @@ -89,8 +89,7 @@ module.exports = function({ }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflight_closure_autoid.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inflight_closure_autoid.test.w_compile_tf-aws.md index 6e531964898..3053064bc53 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflight_closure_autoid.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflight_closure_autoid.test.w_compile_tf-aws.md @@ -48,8 +48,7 @@ module.exports = function({ $inflights }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflight_closure_inside_preflight_closure.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inflight_closure_inside_preflight_closure.test.w_compile_tf-aws.md index cb6d209f39c..f12ec6a9126 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflight_closure_inside_preflight_closure.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflight_closure_inside_preflight_closure.test.w_compile_tf-aws.md @@ -39,8 +39,7 @@ module.exports = function({ }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflight_concat.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inflight_concat.test.w_compile_tf-aws.md index 4432a818dc0..fcd905fd09c 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflight_concat.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflight_concat.test.w_compile_tf-aws.md @@ -24,8 +24,7 @@ module.exports = function({ }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflight_handler_singleton.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inflight_handler_singleton.test.w_compile_tf-aws.md index e41ad83c914..ef4d5090935 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflight_handler_singleton.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflight_handler_singleton.test.w_compile_tf-aws.md @@ -144,8 +144,7 @@ module.exports = function({ }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflight_init.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inflight_init.test.w_compile_tf-aws.md index 657d4d9293a..107f59abfa7 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflight_init.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflight_init.test.w_compile_tf-aws.md @@ -170,8 +170,7 @@ module.exports = function({ $Foo }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflights_calling_inflights.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inflights_calling_inflights.test.w_compile_tf-aws.md index ef201514841..5ed1e8afb45 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflights_calling_inflights.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflights_calling_inflights.test.w_compile_tf-aws.md @@ -133,8 +133,7 @@ module.exports = function({ }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inherit_stdlib_class.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inherit_stdlib_class.test.w_compile_tf-aws.md index 159a58075a1..605a0562d1d 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inherit_stdlib_class.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inherit_stdlib_class.test.w_compile_tf-aws.md @@ -62,8 +62,7 @@ module.exports = function({ $cloud_Api }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": { "root": { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inheritance_class_inflight.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inheritance_class_inflight.test.w_compile_tf-aws.md index 3784a8a054c..28e66cf857a 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inheritance_class_inflight.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inheritance_class_inflight.test.w_compile_tf-aws.md @@ -69,8 +69,7 @@ module.exports = function({ }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inheritance_class_preflight.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inheritance_class_preflight.test.w_compile_tf-aws.md index fd16413a92a..0675acb048d 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inheritance_class_preflight.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inheritance_class_preflight.test.w_compile_tf-aws.md @@ -35,8 +35,7 @@ module.exports = function({ }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inheritance_interface.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inheritance_interface.test.w_compile_tf-aws.md index 7d55a61e604..1cfce89b825 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inheritance_interface.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inheritance_interface.test.w_compile_tf-aws.md @@ -20,8 +20,7 @@ module.exports = function({ }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/interface.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/interface.test.w_compile_tf-aws.md index 2df8723afdf..25d7dcdd312 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/interface.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/interface.test.w_compile_tf-aws.md @@ -34,8 +34,7 @@ module.exports = function({ }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/intrinsics.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/intrinsics.test.w_compile_tf-aws.md index 8ac2e856142..826fa5f8c0b 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/intrinsics.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/intrinsics.test.w_compile_tf-aws.md @@ -81,8 +81,7 @@ module.exports = function({ $counter }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/issue_2889.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/issue_2889.test.w_compile_tf-aws.md index 72edd480440..28a3a575564 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/issue_2889.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/issue_2889.test.w_compile_tf-aws.md @@ -50,8 +50,7 @@ module.exports = function({ $api_url, $http_Util, $std_Json }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": { "root": { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/json.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/json.test.w_compile_tf-aws.md index 97e4d34eb85..2bafdc5c8a2 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/json.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/json.test.w_compile_tf-aws.md @@ -20,8 +20,7 @@ module.exports = function({ }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/json_bucket.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/json_bucket.test.w_compile_tf-aws.md index 180a6a15dbe..0774d81ea04 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/json_bucket.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/json_bucket.test.w_compile_tf-aws.md @@ -48,8 +48,7 @@ module.exports = function({ $b, $fileName, $getJson, $j }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/json_static.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/json_static.test.w_compile_tf-aws.md index cbef2880146..c707fb3a1fa 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/json_static.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/json_static.test.w_compile_tf-aws.md @@ -49,8 +49,7 @@ module.exports = function({ }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/json_string_interpolation.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/json_string_interpolation.test.w_compile_tf-aws.md index 7dfc3aa272d..e2fc9034d6b 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/json_string_interpolation.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/json_string_interpolation.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/lift_expr_with_this.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/lift_expr_with_this.test.w_compile_tf-aws.md index 458c3ebe66e..0b2bd167ff6 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/lift_expr_with_this.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/lift_expr_with_this.test.w_compile_tf-aws.md @@ -41,8 +41,7 @@ module.exports = function({ }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/lift_inflight_closure_collection.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/lift_inflight_closure_collection.test.w_compile_tf-aws.md index 18db0e302fc..a2e5f968652 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/lift_inflight_closure_collection.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/lift_inflight_closure_collection.test.w_compile_tf-aws.md @@ -216,8 +216,7 @@ module.exports = function({ $complex }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/lift_inflight_closure_returning_object_issue6501.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/lift_inflight_closure_returning_object_issue6501.test.w_compile_tf-aws.md index 0e22d0f29a0..78f61f0bbcd 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/lift_inflight_closure_returning_object_issue6501.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/lift_inflight_closure_returning_object_issue6501.test.w_compile_tf-aws.md @@ -104,8 +104,7 @@ module.exports = function({ }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/lift_parent_fields.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/lift_parent_fields.test.w_compile_tf-aws.md index 9854460a01c..b9b5b77c4ab 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/lift_parent_fields.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/lift_parent_fields.test.w_compile_tf-aws.md @@ -86,8 +86,7 @@ module.exports = function({ $B }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/lift_redefinition.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/lift_redefinition.test.w_compile_tf-aws.md index 008fd5cb20d..7b0d6b976a7 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/lift_redefinition.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/lift_redefinition.test.w_compile_tf-aws.md @@ -28,8 +28,7 @@ module.exports = function({ $y }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/lift_shared_resource.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/lift_shared_resource.test.w_compile_tf-aws.md index 39d5e3d398f..7ed560804f7 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/lift_shared_resource.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/lift_shared_resource.test.w_compile_tf-aws.md @@ -67,8 +67,7 @@ module.exports = function({ }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": { "root": { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/lift_this.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/lift_this.test.w_compile_tf-aws.md index aead5f77bbb..a71a833cc41 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/lift_this.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/lift_this.test.w_compile_tf-aws.md @@ -50,8 +50,7 @@ module.exports = function({ }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/lift_via_closure.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/lift_via_closure.test.w_compile_tf-aws.md index e36aa1d5837..b1bfee214a8 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/lift_via_closure.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/lift_via_closure.test.w_compile_tf-aws.md @@ -99,8 +99,7 @@ module.exports = function({ $bucket2 }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/lift_via_closure_explicit.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/lift_via_closure_explicit.test.w_compile_tf-aws.md index 55c83d2f17b..09892856fa3 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/lift_via_closure_explicit.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/lift_via_closure_explicit.test.w_compile_tf-aws.md @@ -47,8 +47,7 @@ module.exports = function({ }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/lift_weird_order.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/lift_weird_order.test.w_compile_tf-aws.md index 38549ae6e98..267393b209b 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/lift_weird_order.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/lift_weird_order.test.w_compile_tf-aws.md @@ -61,8 +61,7 @@ module.exports = function({ }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/lift_with_phase_ind.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/lift_with_phase_ind.test.w_compile_tf-aws.md index ca66b36a28a..eda26b8fc99 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/lift_with_phase_ind.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/lift_with_phase_ind.test.w_compile_tf-aws.md @@ -33,8 +33,7 @@ module.exports = function({ $ar, $math_Util }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/map_entries.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/map_entries.test.w_compile_tf-aws.md index 2af554c8351..c50b025eeeb 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/map_entries.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/map_entries.test.w_compile_tf-aws.md @@ -93,8 +93,7 @@ module.exports = function({ }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/mut_container_types.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/mut_container_types.test.w_compile_tf-aws.md index c62dfd7a085..4664729ab76 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/mut_container_types.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/mut_container_types.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/mutation_after_class_init.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/mutation_after_class_init.test.w_compile_tf-aws.md index 6b7558fe72e..cc3f653a9d3 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/mutation_after_class_init.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/mutation_after_class_init.test.w_compile_tf-aws.md @@ -108,8 +108,7 @@ module.exports = function({ }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/new_in_static.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/new_in_static.test.w_compile_tf-aws.md index 16866ffa5cc..94699c966bf 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/new_in_static.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/new_in_static.test.w_compile_tf-aws.md @@ -98,8 +98,7 @@ module.exports = function({ }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/new_jsii.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/new_jsii.test.w_compile_tf-aws.md index aeee02c5419..6ddb1f36591 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/new_jsii.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/new_jsii.test.w_compile_tf-aws.md @@ -20,8 +20,7 @@ module.exports = function({ }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/nil.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/nil.test.w_compile_tf-aws.md index 7a58f2cd9c0..f532f728ef4 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/nil.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/nil.test.w_compile_tf-aws.md @@ -82,8 +82,7 @@ module.exports = function({ }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/on_lift.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/on_lift.test.w_compile_tf-aws.md index 167265a0c23..7e78d7ad70d 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/on_lift.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/on_lift.test.w_compile_tf-aws.md @@ -49,8 +49,7 @@ module.exports = function({ $util_Util }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/optionals.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/optionals.test.w_compile_tf-aws.md index 0fe1fc6a2e6..0ea88a8d77f 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/optionals.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/optionals.test.w_compile_tf-aws.md @@ -87,8 +87,7 @@ module.exports = function({ }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/parameters/nested/parameters.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/parameters/nested/parameters.test.w_compile_tf-aws.md index 811e2fa2337..3503181bdfd 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/parameters/nested/parameters.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/parameters/nested/parameters.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/parameters/simple/parameters.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/parameters/simple/parameters.test.w_compile_tf-aws.md index 3d38905013f..e304cb025bd 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/parameters/simple/parameters.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/parameters/simple/parameters.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/phase_independent_method_on_string.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/phase_independent_method_on_string.test.w_compile_tf-aws.md index 32663fe374b..9bf16ceb677 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/phase_independent_method_on_string.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/phase_independent_method_on_string.test.w_compile_tf-aws.md @@ -28,8 +28,7 @@ module.exports = function({ $api_url, $expect_Util, $tokenLength, $urlRegex }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": { "root": { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/primitive_methods.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/primitive_methods.test.w_compile_tf-aws.md index 441e37501dd..b1371d2ece1 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/primitive_methods.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/primitive_methods.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/print.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/print.test.w_compile_tf-aws.md index 562f60a538d..a01629c4119 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/print.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/print.test.w_compile_tf-aws.md @@ -48,8 +48,7 @@ module.exports = function({ }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/reassignment.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/reassignment.test.w_compile_tf-aws.md index e19b9812b63..9a2f46ad429 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/reassignment.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/reassignment.test.w_compile_tf-aws.md @@ -20,8 +20,7 @@ module.exports = function({ }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/redis.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/redis.test.w_compile_tf-aws.md index 3f9fcd0a62b..df675212cda 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/redis.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/redis.test.w_compile_tf-aws.md @@ -53,8 +53,7 @@ module.exports = function({ $queue, $r, $r2, $util_Util }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/resource.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/resource.test.w_compile_tf-aws.md index 15d32e4e829..c53272518fe 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/resource.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/resource.test.w_compile_tf-aws.md @@ -232,8 +232,7 @@ module.exports = function({ }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/resource_as_inflight_literal.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/resource_as_inflight_literal.test.w_compile_tf-aws.md index f4c393d508d..4ae8a6f7e61 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/resource_as_inflight_literal.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/resource_as_inflight_literal.test.w_compile_tf-aws.md @@ -46,8 +46,7 @@ module.exports = function({ }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/resource_call_static.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/resource_call_static.test.w_compile_tf-aws.md index 42248faa995..0509113ee0e 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/resource_call_static.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/resource_call_static.test.w_compile_tf-aws.md @@ -43,8 +43,7 @@ module.exports = function({ $globalCounter }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/resource_captures.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/resource_captures.test.w_compile_tf-aws.md index 1a3e83f0e53..e3a9b7f7cbe 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/resource_captures.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/resource_captures.test.w_compile_tf-aws.md @@ -152,8 +152,7 @@ module.exports = function({ }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/resource_captures_globals.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/resource_captures_globals.test.w_compile_tf-aws.md index 81a9d2c67bd..83635822e9d 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/resource_captures_globals.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/resource_captures_globals.test.w_compile_tf-aws.md @@ -138,8 +138,7 @@ module.exports = function({ $_parentThis_localCounter, $globalCounter }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/service.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/service.test.w_compile_tf-aws.md index 1cbc516d9b3..72c0fe616c3 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/service.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/service.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/shadowing.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/shadowing.test.w_compile_tf-aws.md index c1a060431ee..f0b9fecca15 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/shadowing.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/shadowing.test.w_compile_tf-aws.md @@ -58,8 +58,7 @@ module.exports = function({ $fn }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/sim_resource.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/sim_resource.test.w_compile_tf-aws.md index 0a5d8eb39a4..fd0ae7a5677 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/sim_resource.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/sim_resource.test.w_compile_tf-aws.md @@ -53,8 +53,7 @@ module.exports = function({ $MyEnum }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/statements_if.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/statements_if.test.w_compile_tf-aws.md index d4d62ba28dc..30eb8fa4754 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/statements_if.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/statements_if.test.w_compile_tf-aws.md @@ -45,8 +45,7 @@ module.exports = function({ }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/statements_variable_declarations.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/statements_variable_declarations.test.w_compile_tf-aws.md index 78aaec16adc..8d74f4b9971 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/statements_variable_declarations.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/statements_variable_declarations.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/static_members.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/static_members.test.w_compile_tf-aws.md index eb12cc98e9c..780b990a746 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/static_members.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/static_members.test.w_compile_tf-aws.md @@ -53,8 +53,7 @@ module.exports = function({ }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/std_containers.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/std_containers.test.w_compile_tf-aws.md index b7b54c36a69..d6009c0537f 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/std_containers.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/std_containers.test.w_compile_tf-aws.md @@ -50,8 +50,7 @@ module.exports = function({ $Animal }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/std_string.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/std_string.test.w_compile_tf-aws.md index a2d9f9663d6..9838e17fea0 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/std_string.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/std_string.test.w_compile_tf-aws.md @@ -28,8 +28,7 @@ module.exports = function({ $s1, $s2 }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/stringify.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/stringify.test.w_compile_tf-aws.md index 20a9e71037f..abf6a1f0424 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/stringify.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/stringify.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/struct_from_json.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/struct_from_json.test.w_compile_tf-aws.md index 9c8950ca3e1..dbd874c1694 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/struct_from_json.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/struct_from_json.test.w_compile_tf-aws.md @@ -154,8 +154,7 @@ module.exports = function({ }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/structs.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/structs.test.w_compile_tf-aws.md index 162436a039d..c7f1e74c5a8 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/structs.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/structs.test.w_compile_tf-aws.md @@ -45,8 +45,7 @@ module.exports = function({ }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/super_call.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/super_call.test.w_compile_tf-aws.md index 32581de0f4b..def61b603a0 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/super_call.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/super_call.test.w_compile_tf-aws.md @@ -187,8 +187,7 @@ module.exports = function({ $InflightA }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/symbol_shadow.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/symbol_shadow.test.w_compile_tf-aws.md index 7ec26fa5fea..421ba0afddc 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/symbol_shadow.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/symbol_shadow.test.w_compile_tf-aws.md @@ -101,8 +101,7 @@ module.exports = function({ }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/table.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/table.test.w_compile_tf-aws.md index 57b28e91c18..0e2da91975a 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/table.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/table.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/test_bucket.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/test_bucket.test.w_compile_tf-aws.md index 036ebaba3e5..3c3ac279786 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/test_bucket.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/test_bucket.test.w_compile_tf-aws.md @@ -49,8 +49,7 @@ module.exports = function({ $b }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/test_without_bring.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/test_without_bring.test.w_compile_tf-aws.md index 48e551a1e6e..7b18f6b34ae 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/test_without_bring.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/test_without_bring.test.w_compile_tf-aws.md @@ -26,8 +26,7 @@ module.exports = function({ }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/this.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/this.test.w_compile_tf-aws.md index 879ac5c835e..2356d69988e 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/this.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/this.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/to_inflight.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/to_inflight.test.w_compile_tf-aws.md index 4e535330401..c6e72bfd406 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/to_inflight.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/to_inflight.test.w_compile_tf-aws.md @@ -26,8 +26,7 @@ module.exports = function({ $b }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/try_catch.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/try_catch.test.w_compile_tf-aws.md index 95648e798ba..4010f1331de 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/try_catch.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/try_catch.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/unused_lift.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/unused_lift.test.w_compile_tf-aws.md index b235736da4c..096a246a18b 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/unused_lift.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/unused_lift.test.w_compile_tf-aws.md @@ -84,8 +84,7 @@ module.exports = function({ $b }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/use_inflight_method_inside_init_closure.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/use_inflight_method_inside_init_closure.test.w_compile_tf-aws.md index f374ccee292..b66cafb179b 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/use_inflight_method_inside_init_closure.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/use_inflight_method_inside_init_closure.test.w_compile_tf-aws.md @@ -42,8 +42,7 @@ module.exports = function({ }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/website_with_api.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/website_with_api.test.w_compile_tf-aws.md index 8cbcb5f95bd..692db90b036 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/website_with_api.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/website_with_api.test.w_compile_tf-aws.md @@ -102,8 +102,7 @@ module.exports = function({ $api_url, $expect_Util, $http_HttpMethod, $http_Util "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": { "root": { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/while.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/while.test.w_compile_tf-aws.md index da069f993dc..d380f7b9611 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/while.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/while.test.w_compile_tf-aws.md @@ -6,8 +6,7 @@ "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/test_corpus/valid/while_loop_await.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/while_loop_await.test.w_compile_tf-aws.md index 5baaa695c11..536b86d5155 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/while_loop_await.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/while_loop_await.test.w_compile_tf-aws.md @@ -32,8 +32,7 @@ module.exports = function({ }) { "//": { "metadata": { "backend": "local", - "stackName": "root", - "version": "0.20.3" + "stackName": "root" }, "outputs": {} }, diff --git a/tools/hangar/__snapshots__/tree_json.ts.snap b/tools/hangar/__snapshots__/tree_json.ts.snap index 2714d9cf470..b04ea26dd55 100644 --- a/tools/hangar/__snapshots__/tree_json.ts.snap +++ b/tools/hangar/__snapshots__/tree_json.ts.snap @@ -11,7 +11,7 @@ exports[`tree.json for an app with many resources 1`] = ` "Code": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.0.0", }, "display": {}, "id": "Code", @@ -50,7 +50,7 @@ exports[`tree.json for an app with many resources 1`] = ` "Default": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.0.0", }, "display": {}, "id": "Default", @@ -126,7 +126,7 @@ exports[`tree.json for an app with many resources 1`] = ` "Default": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.0.0", }, "display": {}, "id": "Default", @@ -149,7 +149,7 @@ exports[`tree.json for an app with many resources 1`] = ` "Default": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.0.0", }, "display": {}, "id": "Default", @@ -158,7 +158,7 @@ exports[`tree.json for an app with many resources 1`] = ` "EventSourceMapping": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.0.0", }, "display": {}, "id": "EventSourceMapping", @@ -181,7 +181,7 @@ exports[`tree.json for an app with many resources 1`] = ` "Asset": { "constructInfo": { "fqn": "cdktf.TerraformAsset", - "version": "0.20.3", + "version": "0.0.0", }, "display": {}, "id": "Asset", @@ -190,7 +190,7 @@ exports[`tree.json for an app with many resources 1`] = ` "CloudwatchLogGroup": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.0.0", }, "display": {}, "id": "CloudwatchLogGroup", @@ -199,7 +199,7 @@ exports[`tree.json for an app with many resources 1`] = ` "Default": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.0.0", }, "display": {}, "id": "Default", @@ -208,7 +208,7 @@ exports[`tree.json for an app with many resources 1`] = ` "IamRole": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.0.0", }, "display": {}, "id": "IamRole", @@ -217,7 +217,7 @@ exports[`tree.json for an app with many resources 1`] = ` "IamRolePolicy": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.0.0", }, "display": {}, "id": "IamRolePolicy", @@ -226,7 +226,7 @@ exports[`tree.json for an app with many resources 1`] = ` "IamRolePolicyAttachment": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.0.0", }, "display": {}, "id": "IamRolePolicyAttachment", @@ -235,7 +235,7 @@ exports[`tree.json for an app with many resources 1`] = ` "S3Object": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.0.0", }, "display": {}, "id": "S3Object", @@ -258,7 +258,7 @@ exports[`tree.json for an app with many resources 1`] = ` "Default": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.0.0", }, "display": {}, "id": "Default", @@ -267,7 +267,7 @@ exports[`tree.json for an app with many resources 1`] = ` "TopicSubscription0": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.0.0", }, "display": {}, "id": "TopicSubscription0", @@ -290,7 +290,7 @@ exports[`tree.json for an app with many resources 1`] = ` "Asset": { "constructInfo": { "fqn": "cdktf.TerraformAsset", - "version": "0.20.3", + "version": "0.0.0", }, "display": {}, "id": "Asset", @@ -299,7 +299,7 @@ exports[`tree.json for an app with many resources 1`] = ` "CloudwatchLogGroup": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.0.0", }, "display": {}, "id": "CloudwatchLogGroup", @@ -308,7 +308,7 @@ exports[`tree.json for an app with many resources 1`] = ` "Default": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.0.0", }, "display": {}, "id": "Default", @@ -317,7 +317,7 @@ exports[`tree.json for an app with many resources 1`] = ` "IamRole": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.0.0", }, "display": {}, "id": "IamRole", @@ -326,7 +326,7 @@ exports[`tree.json for an app with many resources 1`] = ` "IamRolePolicy": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.0.0", }, "display": {}, "id": "IamRolePolicy", @@ -335,7 +335,7 @@ exports[`tree.json for an app with many resources 1`] = ` "IamRolePolicyAttachment": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.0.0", }, "display": {}, "id": "IamRolePolicyAttachment", @@ -344,7 +344,7 @@ exports[`tree.json for an app with many resources 1`] = ` "InvokePermission-c884cd53ef51dde6112319447c29f4ea9473f19e6a": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.0.0", }, "display": {}, "id": "InvokePermission-c884cd53ef51dde6112319447c29f4ea9473f19e6a", @@ -353,7 +353,7 @@ exports[`tree.json for an app with many resources 1`] = ` "S3Object": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.0.0", }, "display": {}, "id": "S3Object", @@ -376,7 +376,7 @@ exports[`tree.json for an app with many resources 1`] = ` "Default": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.0.0", }, "display": {}, "id": "Default", @@ -387,7 +387,7 @@ exports[`tree.json for an app with many resources 1`] = ` "Default": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.0.0", }, "display": {}, "id": "Default", @@ -396,7 +396,7 @@ exports[`tree.json for an app with many resources 1`] = ` "PublishPermission-c851683a81379a8ef8351c83fe31924055584271ad": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.0.0", }, "display": {}, "id": "PublishPermission-c851683a81379a8ef8351c83fe31924055584271ad", @@ -405,7 +405,7 @@ exports[`tree.json for an app with many resources 1`] = ` "TopicSubscription0": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.0.0", }, "display": {}, "id": "TopicSubscription0", @@ -428,7 +428,7 @@ exports[`tree.json for an app with many resources 1`] = ` "Asset": { "constructInfo": { "fqn": "cdktf.TerraformAsset", - "version": "0.20.3", + "version": "0.0.0", }, "display": {}, "id": "Asset", @@ -437,7 +437,7 @@ exports[`tree.json for an app with many resources 1`] = ` "CloudwatchLogGroup": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.0.0", }, "display": {}, "id": "CloudwatchLogGroup", @@ -446,7 +446,7 @@ exports[`tree.json for an app with many resources 1`] = ` "Default": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.0.0", }, "display": {}, "id": "Default", @@ -455,7 +455,7 @@ exports[`tree.json for an app with many resources 1`] = ` "IamRole": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.0.0", }, "display": {}, "id": "IamRole", @@ -464,7 +464,7 @@ exports[`tree.json for an app with many resources 1`] = ` "IamRolePolicy": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.0.0", }, "display": {}, "id": "IamRolePolicy", @@ -473,7 +473,7 @@ exports[`tree.json for an app with many resources 1`] = ` "IamRolePolicyAttachment": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.0.0", }, "display": {}, "id": "IamRolePolicyAttachment", @@ -482,7 +482,7 @@ exports[`tree.json for an app with many resources 1`] = ` "InvokePermission-c8957161bd24a9a75910007bdeef4fc517fd85b21a": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.0.0", }, "display": {}, "id": "InvokePermission-c8957161bd24a9a75910007bdeef4fc517fd85b21a", @@ -491,7 +491,7 @@ exports[`tree.json for an app with many resources 1`] = ` "S3Object": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.0.0", }, "display": {}, "id": "S3Object", @@ -512,7 +512,7 @@ exports[`tree.json for an app with many resources 1`] = ` "S3BucketNotification": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.0.0", }, "display": {}, "id": "S3BucketNotification", @@ -544,7 +544,7 @@ exports[`tree.json for an app with many resources 1`] = ` "Default": { "constructInfo": { "fqn": "cdktf.TerraformResource", - "version": "0.20.3", + "version": "0.0.0", }, "display": {}, "id": "Default", @@ -691,7 +691,7 @@ exports[`tree.json for an app with many resources 1`] = ` "aws": { "constructInfo": { "fqn": "cdktf.TerraformProvider", - "version": "0.20.3", + "version": "0.0.0", }, "display": {}, "id": "aws", @@ -709,7 +709,7 @@ exports[`tree.json for an app with many resources 1`] = ` "backend": { "constructInfo": { "fqn": "cdktf.LocalBackend", - "version": "0.20.3", + "version": "0.0.0", }, "display": {}, "id": "backend", @@ -718,7 +718,7 @@ exports[`tree.json for an app with many resources 1`] = ` }, "constructInfo": { "fqn": "cdktf.TerraformStack", - "version": "0.20.3", + "version": "0.0.0", }, "display": {}, "id": "root", @@ -727,7 +727,7 @@ exports[`tree.json for an app with many resources 1`] = ` }, "constructInfo": { "fqn": "cdktf.App", - "version": "0.20.3", + "version": "0.0.0", }, "display": {}, "id": "App", diff --git a/tools/hangar/package.json b/tools/hangar/package.json index 852e2807ca2..5210efb0ea8 100644 --- a/tools/hangar/package.json +++ b/tools/hangar/package.json @@ -17,19 +17,19 @@ "@wingconsole/design-system": "workspace:^", "@wingconsole/server": "workspace:^", "@wingconsole/ui": "workspace:^", + "@winglang/compatibility-spy": "workspace:^", "@winglang/compiler": "workspace:^", - "@winglang/sdk": "workspace:^", "@winglang/platform-awscdk": "workspace:^", - "@winglang/compatibility-spy": "workspace:^", - "cdktf": "^0.20.3", + "@winglang/sdk": "workspace:^", + "cdktf": "^0.20.7", "execa": "^7.2.0", - "fflate": "^0.8.1", - "npm": "^9.8.1", - "octokit": "^3.1.2", - "tsx": "^4.7.0", + "fflate": "^0.8.2", + "npm": "^9.9.3", + "octokit": "^3.2.1", + "tsx": "^4.15.7", "vitest": "^1.6.0", "winglang": "workspace:^", - "yaml": "^2.3.2" + "yaml": "^2.4.5" }, "volta": { "extends": "../../package.json" diff --git a/tools/hangar/src/tree_json.test.ts b/tools/hangar/src/tree_json.test.ts index 914118ba651..7869256bf4e 100644 --- a/tools/hangar/src/tree_json.test.ts +++ b/tools/hangar/src/tree_json.test.ts @@ -20,7 +20,9 @@ test("tree.json for an app with many resources", async () => { }); const treeJson = JSON.parse( - await fs.readFile(path.join(targetDir, "tree.json"), "utf-8") + await fs.readFile(path.join(targetDir, "tree.json"), "utf-8"), + // reviver to remove any "version" fields + function (key, value){ return (key === "version" && ("fqn" in (this ?? {})) ? "0.0.0" : value)} ); expect(treeJson).toMatchSnapshot(); }); diff --git a/tools/hangar/src/utils.ts b/tools/hangar/src/utils.ts index 998b0dd788d..2ad79d242cb 100644 --- a/tools/hangar/src/utils.ts +++ b/tools/hangar/src/utils.ts @@ -99,6 +99,8 @@ export function sanitize_json_paths(path: string) { .replace(sourceHashRegex, '"${filemd5()}"'); const finalObj = JSON.parse(sanitizedJsonText); delete finalObj.terraform; + // Remove cdktf version + delete finalObj["//"]["metadata"]["version"]; return finalObj; } From 162df85331c07d7ceff5ee5f03f609b4f673fcf7 Mon Sep 17 00:00:00 2001 From: Doron Voerman <13679169+DoronV@users.noreply.github.com> Date: Tue, 25 Jun 2024 12:27:03 +0200 Subject: [PATCH 08/17] feat(sdk): `http.connect()` and `http.trace()` (#6782) The CONNECT and TRACE methods were not added to the http module yet, as described in https://github.com/winglang/wing/issues/4818 - [x] Description explains motivation and solution - [x] Tests added (always) - [x] Docs updated (only required for features) - [ ] Added `pr/e2e-full` label if this feature requires end-to-end testing *By submitting this pull request, I confirm that my contribution is made under the terms of the [Wing Cloud Contribution License](https://github.com/winglang/wing/blob/main/CONTRIBUTION_LICENSE.md)*. --- .../04-standard-library/http/api-reference.md | 70 +++++++++++++++++++ .../completions/namespace_inflight.snap | 28 +++++++- libs/wingsdk/src/http/http.ts | 42 +++++++++++ libs/wingsdk/test/http/http.test.ts | 4 +- 4 files changed, 141 insertions(+), 3 deletions(-) diff --git a/docs/docs/04-standard-library/http/api-reference.md b/docs/docs/04-standard-library/http/api-reference.md index a5b931eeeb5..31f9c3dbb02 100644 --- a/docs/docs/04-standard-library/http/api-reference.md +++ b/docs/docs/04-standard-library/http/api-reference.md @@ -22,6 +22,7 @@ The Http class is used for calling different HTTP methods and requesting and sen | **Name** | **Description** | | --- | --- | +| connect | Executes a CONNECT request to a specified URL and provides a formatted response. | | delete | Executes a DELETE request to a specified URL and provides a formatted response. | | fetch | Executes a HTTP request to a specified URL and provides a formatted response. | | formatUrl | Serializes an URL Struct to a String. | @@ -30,6 +31,33 @@ The Http class is used for calling different HTTP methods and requesting and sen | patch | Executes a PATCH request to a specified URL and provides a formatted response. | | post | Executes a POST request to a specified URL and provides a formatted response. | | put | Executes a PUT request to a specified URL and provides a formatted response. | +| trace | Executes a TRACE request to a specified URL and provides a formatted response. | + +--- + +##### `connect` + +```wing +bring http; + +inflight http.connect(url: str, options?: RequestOptions); +``` + +Executes a CONNECT request to a specified URL and provides a formatted response. + +###### `url`Required + +- *Type:* str + +The target URL for the CONNECT request. + +--- + +###### `options`Optional + +- *Type:* RequestOptions + +Optional parameters for customizing the CONNECT request. --- @@ -233,6 +261,32 @@ ptional parameters for customizing the PUT request. --- +##### `trace` + +```wing +bring http; + +inflight http.trace(url: str, options?: RequestOptions); +``` + +Executes a TRACE request to a specified URL and provides a formatted response. + +###### `url`Required + +- *Type:* str + +The target URL for the TRACE request. + +--- + +###### `options`Optional + +- *Type:* RequestOptions + +Optional parameters for customizing the TRACE request. + +--- + ## Structs @@ -681,6 +735,8 @@ The request's method. | POST | POST. | | OPTIONS | OPTIONS. | | HEAD | HEAD. | +| CONNECT | CONNECT. | +| TRACE | TRACE. | --- @@ -733,6 +789,20 @@ HEAD. --- +##### `CONNECT` + +CONNECT. + +--- + + +##### `TRACE` + +TRACE. + +--- + + ### RequestCache The cache mode of the request. diff --git a/libs/wingc/src/lsp/snapshots/completions/namespace_inflight.snap b/libs/wingc/src/lsp/snapshots/completions/namespace_inflight.snap index 37bfac8859a..eef1041ce02 100644 --- a/libs/wingc/src/lsp/snapshots/completions/namespace_inflight.snap +++ b/libs/wingc/src/lsp/snapshots/completions/namespace_inflight.snap @@ -1,6 +1,18 @@ --- source: libs/wingc/src/lsp/completions.rs --- +- label: connect + kind: 2 + detail: "inflight (url: str, options: RequestOptions?): Response" + documentation: + kind: markdown + value: "Executes a CONNECT request to a specified URL and provides a formatted response.\n\n#### Returns\nthe formatted response of the call" + sortText: ff|connect + insertText: connect($1) + insertTextFormat: 2 + command: + title: triggerParameterHints + command: editor.action.triggerParameterHints - label: delete kind: 2 detail: "inflight (url: str, options: RequestOptions?): Response" @@ -97,11 +109,23 @@ source: libs/wingc/src/lsp/completions.rs command: title: triggerParameterHints command: editor.action.triggerParameterHints +- label: trace + kind: 2 + detail: "inflight (url: str, options: RequestOptions?): Response" + documentation: + kind: markdown + value: "Executes a TRACE request to a specified URL and provides a formatted response.\n\n#### Returns\nthe formatted response of the call" + sortText: ff|trace + insertText: trace($1) + insertTextFormat: 2 + command: + title: triggerParameterHints + command: editor.action.triggerParameterHints - label: Util kind: 7 documentation: kind: markdown - value: "```wing\nclass Util {\n static inflight delete(): Response;\n static inflight fetch(): Response;\n static inflight formatUrl(): str;\n static inflight get(): Response;\n static inflight parseUrl(): Url;\n static inflight patch(): Response;\n /* ... */\n}\n```\n---\nThe Http class is used for calling different HTTP methods and requesting and sending information online, as well as testing public accessible resources." + value: "```wing\nclass Util {\n static inflight connect(): Response;\n static inflight delete(): Response;\n static inflight fetch(): Response;\n static inflight formatUrl(): str;\n static inflight get(): Response;\n static inflight parseUrl(): Url;\n /* ... */\n}\n```\n---\nThe Http class is used for calling different HTTP methods and requesting and sending information online, as well as testing public accessible resources." sortText: gg|Util - label: FormatUrlOptions kind: 22 @@ -131,7 +155,7 @@ source: libs/wingc/src/lsp/completions.rs kind: 13 documentation: kind: markdown - value: "```wing\nenum HttpMethod {\n GET,\n PUT,\n DELETE,\n PATCH,\n POST,\n OPTIONS,\n HEAD,\n}\n```\n---\nThe request's method." + value: "```wing\nenum HttpMethod {\n GET,\n PUT,\n DELETE,\n PATCH,\n POST,\n OPTIONS,\n HEAD,\n CONNECT,\n TRACE,\n}\n```\n---\nThe request's method." sortText: jj|HttpMethod - label: RequestCache kind: 13 diff --git a/libs/wingsdk/src/http/http.ts b/libs/wingsdk/src/http/http.ts index c70e8b9a76b..05fcdbe0d4f 100644 --- a/libs/wingsdk/src/http/http.ts +++ b/libs/wingsdk/src/http/http.ts @@ -91,6 +91,14 @@ export enum HttpMethod { * HEAD */ HEAD = "HEAD", + /** + * CONNECT + */ + CONNECT = "CONNECT", + /** + * TRACE + */ + TRACE = "TRACE", } /** @@ -328,6 +336,40 @@ export class Util { }); } + /** + * Executes a CONNECT request to a specified URL and provides a formatted response. + * @param url The target URL for the CONNECT request. + * @param options Optional parameters for customizing the CONNECT request. + * @inflight + * @returns the formatted response of the call + */ + public static async connect( + url: string, + options?: RequestOptions + ): Promise { + return this.fetch(url, { + ...options, + method: HttpMethod.CONNECT, + }); + } + + /** + * Executes a TRACE request to a specified URL and provides a formatted response. + * @param url The target URL for the TRACE request. + * @param options Optional parameters for customizing the TRACE request. + * @inflight + * @returns the formatted response of the call + */ + public static async trace( + url: string, + options?: RequestOptions + ): Promise { + return this.fetch(url, { + ...options, + method: HttpMethod.TRACE, + }); + } + /** * Parses the input URL String using WHATWG URL API and returns an URL Struct. * @param urlString The URL String to be parsed. diff --git a/libs/wingsdk/test/http/http.test.ts b/libs/wingsdk/test/http/http.test.ts index 5975655c094..a33335b1cbd 100644 --- a/libs/wingsdk/test/http/http.test.ts +++ b/libs/wingsdk/test/http/http.test.ts @@ -21,7 +21,7 @@ describe("fetch", () => { (global.fetch as Mock).mockClear(); }); - test("get, post, put, patch and delete return response when supplying a url", async () => { + test("get, post, put, patch, delete, connect and trace return response when supplying a url", async () => { (global.fetch as Mock).mockImplementation((url) => ({ url, headers: new Headers([["content-type", "application/json"]]), @@ -41,6 +41,8 @@ describe("fetch", () => { expectResponse(await Http.post("url")); expectResponse(await Http.patch("url")); expectResponse(await Http.delete("url")); + expectResponse(await Http.connect("url")); + expectResponse(await Http.trace("url")); }); test("http.fetch is working with all methods", async () => { From 95857b54bcfbadbe26ad6e55b7efbb337f19b12f Mon Sep 17 00:00:00 2001 From: Chris Rybicki Date: Tue, 25 Jun 2024 08:28:24 -0400 Subject: [PATCH 09/17] chore: diff-based simulator updates in Wing Console by default (#6530) Enables diff-based simulator updates on the Wing Console by default. Closes #6185 ## Checklist - [ ] Title matches [Winglang's style guide](https://www.winglang.io/contributing/start-here/pull_requests#how-are-pull-request-titles-formatted) - [ ] Description explains motivation and solution - [ ] Tests added (always) - [ ] Docs updated (only required for features) - [ ] Added `pr/e2e-full` label if this feature requires end-to-end testing *By submitting this pull request, I confirm that my contribution is made under the terms of the [Wing Cloud Contribution License](https://github.com/winglang/wing/blob/main/CONTRIBUTION_LICENSE.md)*. --- apps/wing-console/console/server/src/index.ts | 7 +------ .../console/server/src/utils/simulator.ts | 15 ++++----------- 2 files changed, 5 insertions(+), 17 deletions(-) diff --git a/apps/wing-console/console/server/src/index.ts b/apps/wing-console/console/server/src/index.ts index 9e2312a4788..6f7127b1ca1 100644 --- a/apps/wing-console/console/server/src/index.ts +++ b/apps/wing-console/console/server/src/index.ts @@ -60,10 +60,6 @@ export type RouteNames = keyof inferRouterInputs | undefined; export { isTermsAccepted } from "./utils/terms-and-conditions.js"; -const enableSimUpdates = - process.env.WING_ENABLE_INPLACE_UPDATES === "true" || - process.env.WING_ENABLE_INPLACE_UPDATES === "1"; - export interface CreateConsoleServerOptions { wingfile: string; log: LogInterface; @@ -144,7 +140,6 @@ export const createConsoleServer = async ({ const simulator = createSimulator({ stateDir, - enableSimUpdates, }); if (onTrace) { simulator.on("trace", onTrace); @@ -169,7 +164,7 @@ export const createConsoleServer = async ({ testing: true, watchGlobs, }); - const testSimulator = createSimulator({ enableSimUpdates }); + const testSimulator = createSimulator(); testCompiler.on("compiled", ({ simfile }) => { testSimulator.start(simfile); }); diff --git a/apps/wing-console/console/server/src/utils/simulator.ts b/apps/wing-console/console/server/src/utils/simulator.ts index 0cfe50efb52..393d3769936 100644 --- a/apps/wing-console/console/server/src/utils/simulator.ts +++ b/apps/wing-console/console/server/src/utils/simulator.ts @@ -28,7 +28,6 @@ export interface Simulator { export interface CreateSimulatorProps { stateDir?: string; - enableSimUpdates?: boolean; } const stopSilently = async (simulator: simulator.Simulator) => { @@ -53,16 +52,10 @@ export const createSimulator = (props?: CreateSimulatorProps): Simulator => { if (!instance) { return true; } - if (props?.enableSimUpdates) { - await events.emit("starting", { instance }); - await instance.update(simfile); - await events.emit("started"); - return false; - } else { - await events.emit("stopping"); - await stopSilently(instance); - return true; - } + await events.emit("starting", { instance }); + await instance.update(simfile); + await events.emit("started"); + return false; }; const start = async (simfile: string) => { try { From 734a760cc94748deb880b424e92b0fac4a696411 Mon Sep 17 00:00:00 2001 From: Chris Rybicki Date: Wed, 26 Jun 2024 06:26:00 -0400 Subject: [PATCH 10/17] feat(sdk): aws lambda layers (#6790) Closes #6761 ## Checklist - [x] Title matches [Winglang's style guide](https://www.winglang.io/contributing/start-here/pull_requests#how-are-pull-request-titles-formatted) - [x] Description explains motivation and solution - [x] Tests added (always) - [ ] Docs updated (only required for features) - [ ] Added `pr/e2e-full` label if this feature requires end-to-end testing *By submitting this pull request, I confirm that my contribution is made under the terms of the [Wing Cloud Contribution License](https://github.com/winglang/wing/blob/main/CONTRIBUTION_LICENSE.md)*. --- .../04-standard-library/aws/api-reference.md | 21 +++ .../valid/function.md_example_5/main.w | 11 ++ .../valid/function.md_example_6/main.w | 24 ++++ .../tests/sdk_tests/function/aws-layer.test.w | 20 +++ libs/awscdk/src/function.ts | 10 ++ libs/wingsdk/src/shared-aws/function.ts | 6 + libs/wingsdk/src/target-tf-aws/function.ts | 15 ++ .../__snapshots__/tokens.test.ts.snap | 6 +- .../aws-layer.test.w_compile_tf-aws.md | 129 ++++++++++++++++++ .../function/aws-layer.test.w_test_sim.md | 12 ++ .../function-ref.test.w_compile_tf-aws.md | 4 +- .../queue/queue-ref.test.w_compile_tf-aws.md | 2 +- .../valid/api.test.w_compile_tf-aws.md | 2 +- 13 files changed, 255 insertions(+), 7 deletions(-) create mode 100644 examples/tests/doc_examples/valid/function.md_example_5/main.w create mode 100644 examples/tests/doc_examples/valid/function.md_example_6/main.w create mode 100644 examples/tests/sdk_tests/function/aws-layer.test.w create mode 100644 tools/hangar/__snapshots__/test_corpus/sdk_tests/function/aws-layer.test.w_compile_tf-aws.md create mode 100644 tools/hangar/__snapshots__/test_corpus/sdk_tests/function/aws-layer.test.w_test_sim.md diff --git a/docs/docs/04-standard-library/aws/api-reference.md b/docs/docs/04-standard-library/aws/api-reference.md index a8a4c731b1d..5a80c77b384 100644 --- a/docs/docs/04-standard-library/aws/api-reference.md +++ b/docs/docs/04-standard-library/aws/api-reference.md @@ -1727,6 +1727,27 @@ AWS Dynamodb name. A shared interface for AWS functions. +#### Methods + +| **Name** | **Description** | +| --- | --- | +| addLambdaLayer | Add a Lambda layer to the function. | + +--- + +##### `addLambdaLayer` + +```wing +addLambdaLayer(layerArn: str): void +``` + +Add a Lambda layer to the function. + +###### `layerArn`Required + +- *Type:* str + +--- #### Properties diff --git a/examples/tests/doc_examples/valid/function.md_example_5/main.w b/examples/tests/doc_examples/valid/function.md_example_5/main.w new file mode 100644 index 00000000000..5005c597b03 --- /dev/null +++ b/examples/tests/doc_examples/valid/function.md_example_5/main.w @@ -0,0 +1,11 @@ +// This file was auto generated from an example found in: function.md_example_5 +// Example metadata: {"valid":true} +bring aws; +bring cloud; + +let f = new cloud.Function(inflight () => { + log("Hello world!"); +}); +if let lambdaFn = aws.Function.from(f) { + lambdaFn.addLambdaLayer("arn:aws:lambda:us-west-2:123456789012:layer:my-layer:1"); +} diff --git a/examples/tests/doc_examples/valid/function.md_example_6/main.w b/examples/tests/doc_examples/valid/function.md_example_6/main.w new file mode 100644 index 00000000000..6e474a667ec --- /dev/null +++ b/examples/tests/doc_examples/valid/function.md_example_6/main.w @@ -0,0 +1,24 @@ +// This file was auto generated from an example found in: function.md_example_6 +// Example metadata: {"valid":true} +bring aws; +bring cloud; + +class Datadog { + pub inflight fetchMetrics() { + // ...implementation... + } + pub onLift(host: std.IInflightHost, ops: Array) { + // Note: `ops` is an array of inflight methods that are being used + // so you can conditionally add the layer based on the methods called + if let lambdaFn = aws.Function.from(host) { + lambdaFn.addLambdaLayer("arn:aws:lambda:us-west-2:123456789012:layer:datadog-layer:1"); + } + } +} + +let d = new Datadog(); + +let api = new cloud.Api(); +api.get("/metrics", inflight () => { + d.fetchMetrics(); +}); diff --git a/examples/tests/sdk_tests/function/aws-layer.test.w b/examples/tests/sdk_tests/function/aws-layer.test.w new file mode 100644 index 00000000000..06124776aa5 --- /dev/null +++ b/examples/tests/sdk_tests/function/aws-layer.test.w @@ -0,0 +1,20 @@ +bring aws; +bring cloud; +bring expect; +bring util; + +if util.env("WING_TARGET") == "tf-aws" { + let fn = new cloud.Function(inflight () => { + return "Hello world!"; + }); + + if let lambda = aws.Function.from(fn) { + // Using a public layer from https://docs.powertools.aws.dev/lambda/typescript/latest/ + lambda.addLambdaLayer("arn:aws:lambda:us-east-1:094274105915:layer:AWSLambdaPowertoolsTypeScriptV2:7"); + } + + test "the function runs" { + let result = fn.invoke(); + expect.equal(result, "Hello world!"); + } +} diff --git a/libs/awscdk/src/function.ts b/libs/awscdk/src/function.ts index 14d71f3af0b..0db24ca0fe7 100644 --- a/libs/awscdk/src/function.ts +++ b/libs/awscdk/src/function.ts @@ -5,6 +5,7 @@ import { Function as CdkFunction, Code, Runtime, + LayerVersion, } from "aws-cdk-lib/aws-lambda"; import { LogGroup, RetentionDays } from "aws-cdk-lib/aws-logs"; import { Asset } from "aws-cdk-lib/aws-s3-assets"; @@ -96,6 +97,15 @@ export class Function this.assetPath = asset.assetPath; } + public addLambdaLayer(layerArn: string): void { + const layer = LayerVersion.fromLayerVersionArn( + this, + `Layer${layerArn}`, + layerArn + ); + this.function.addLayers(layer); + } + /** @internal */ public _preSynthesize(): void { super._preSynthesize(); diff --git a/libs/wingsdk/src/shared-aws/function.ts b/libs/wingsdk/src/shared-aws/function.ts index b603eebf6f7..f0ec73b0972 100644 --- a/libs/wingsdk/src/shared-aws/function.ts +++ b/libs/wingsdk/src/shared-aws/function.ts @@ -30,6 +30,12 @@ export interface IAwsFunction extends IAwsInflightHost { * AWS Function name */ readonly functionName: string; + + /** + * Add a Lambda layer to the function. + * @param layer The ARN of the layer. + */ + addLambdaLayer(layerArn: string): void; } /** diff --git a/libs/wingsdk/src/target-tf-aws/function.ts b/libs/wingsdk/src/target-tf-aws/function.ts index 5a68c137b9a..f5176439e87 100644 --- a/libs/wingsdk/src/target-tf-aws/function.ts +++ b/libs/wingsdk/src/target-tf-aws/function.ts @@ -58,6 +58,7 @@ export class Function extends cloud.Function implements IAwsFunction { private subnets?: Set; private vpcPermissionsAdded = false; private securityGroups?: Set; + private layers?: Set; /** * Qualified Function ARN @@ -201,6 +202,10 @@ export class Function extends cloud.Function implements IAwsFunction { runtime: "nodejs20.x", role: this.role.arn, publish: true, + layers: Lazy.listValue({ + produce: () => + this.layers ? Array.from(this.layers.values()) : undefined, + }), vpcConfig: { subnetIds: Lazy.listValue({ produce: () => @@ -319,6 +324,16 @@ export class Function extends cloud.Function implements IAwsFunction { ); } + /** + * Add a Lambda Layer to the function + */ + public addLambdaLayer(layerArn: string): void { + if (!this.layers) { + this.layers = new Set(); + } + this.layers.add(layerArn); + } + /** * Add VPC configurations to lambda function */ diff --git a/libs/wingsdk/test/target-tf-aws/__snapshots__/tokens.test.ts.snap b/libs/wingsdk/test/target-tf-aws/__snapshots__/tokens.test.ts.snap index bde8733cf1e..bb53a931bb4 100644 --- a/libs/wingsdk/test/target-tf-aws/__snapshots__/tokens.test.ts.snap +++ b/libs/wingsdk/test/target-tf-aws/__snapshots__/tokens.test.ts.snap @@ -160,7 +160,7 @@ exports[`captures tokens inside plain objects 1`] = ` console.log(ctx.foo.str, ctx.foo.num); } const $ctx = { - foo: {"str": JSON.parse(process.env["WING_TOKEN_HTTPS_TFTOKEN_TOKEN_38_EXECUTE_API_TFTOKEN_TOKEN_30_AMAZONAWS_COM_TFTOKEN_TOKEN_39"]),"num": JSON.parse(process.env["WING_TOKEN_8_109562212591416E_298"]),} + foo: {"str": JSON.parse(process.env["WING_TOKEN_HTTPS_TFTOKEN_TOKEN_39_EXECUTE_API_TFTOKEN_TOKEN_31_AMAZONAWS_COM_TFTOKEN_TOKEN_40"]),"num": JSON.parse(process.env["WING_TOKEN_8_109562212591417E_298"]),} }; let newFunction = async (...args) => { return $func($ctx, ...args); @@ -246,8 +246,8 @@ exports[`captures tokens inside plain objects 2`] = ` "variables": { "NODE_OPTIONS": "--enable-source-maps", "WING_FUNCTION_NAME": "get_0-c86d29bb", - "WING_TOKEN_8_109562212591416E_298": "\${jsonencode(var.Number)}", - "WING_TOKEN_HTTPS_TFTOKEN_TOKEN_38_EXECUTE_API_TFTOKEN_TOKEN_30_AMAZONAWS_COM_TFTOKEN_TOKEN_39": "\${jsonencode("https://\${aws_api_gateway_rest_api.Api_api_91C07D84.id}.execute-api.\${data.aws_region.Region.name}.amazonaws.com/\${aws_api_gateway_stage.Api_api_stage_E0FA39D6.stage_name}")}", + "WING_TOKEN_8_109562212591417E_298": "\${jsonencode(var.Number)}", + "WING_TOKEN_HTTPS_TFTOKEN_TOKEN_39_EXECUTE_API_TFTOKEN_TOKEN_31_AMAZONAWS_COM_TFTOKEN_TOKEN_40": "\${jsonencode("https://\${aws_api_gateway_rest_api.Api_api_91C07D84.id}.execute-api.\${data.aws_region.Region.name}.amazonaws.com/\${aws_api_gateway_stage.Api_api_stage_E0FA39D6.stage_name}")}", }, }, "function_name": "get_0-c86d29bb", diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/function/aws-layer.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/function/aws-layer.test.w_compile_tf-aws.md new file mode 100644 index 00000000000..5ffdb4a2fd7 --- /dev/null +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/function/aws-layer.test.w_compile_tf-aws.md @@ -0,0 +1,129 @@ +# [aws-layer.test.w](../../../../../../examples/tests/sdk_tests/function/aws-layer.test.w) | compile | tf-aws + +## main.tf.json +```json +{ + "//": { + "metadata": { + "backend": "local", + "stackName": "root" + }, + "outputs": {} + }, + "provider": { + "aws": [ + {} + ] + }, + "resource": { + "aws_cloudwatch_log_group": { + "Function_CloudwatchLogGroup_ABDCF4C4": { + "//": { + "metadata": { + "path": "root/Default/Default/Function/CloudwatchLogGroup", + "uniqueId": "Function_CloudwatchLogGroup_ABDCF4C4" + } + }, + "name": "/aws/lambda/Function-c852aba6", + "retention_in_days": 30 + } + }, + "aws_iam_role": { + "Function_IamRole_678BE84C": { + "//": { + "metadata": { + "path": "root/Default/Default/Function/IamRole", + "uniqueId": "Function_IamRole_678BE84C" + } + }, + "assume_role_policy": "{\"Version\":\"2012-10-17\",\"Statement\":[{\"Action\":\"sts:AssumeRole\",\"Principal\":{\"Service\":\"lambda.amazonaws.com\"},\"Effect\":\"Allow\"}]}" + } + }, + "aws_iam_role_policy": { + "Function_IamRolePolicy_E3B26607": { + "//": { + "metadata": { + "path": "root/Default/Default/Function/IamRolePolicy", + "uniqueId": "Function_IamRolePolicy_E3B26607" + } + }, + "policy": "{\"Version\":\"2012-10-17\",\"Statement\":[{\"Effect\":\"Allow\",\"Action\":\"none:null\",\"Resource\":\"*\"}]}", + "role": "${aws_iam_role.Function_IamRole_678BE84C.name}" + } + }, + "aws_iam_role_policy_attachment": { + "Function_IamRolePolicyAttachment_CACE1358": { + "//": { + "metadata": { + "path": "root/Default/Default/Function/IamRolePolicyAttachment", + "uniqueId": "Function_IamRolePolicyAttachment_CACE1358" + } + }, + "policy_arn": "arn:aws:iam::aws:policy/service-role/AWSLambdaBasicExecutionRole", + "role": "${aws_iam_role.Function_IamRole_678BE84C.name}" + } + }, + "aws_lambda_function": { + "Function": { + "//": { + "metadata": { + "path": "root/Default/Default/Function/Default", + "uniqueId": "Function" + } + }, + "architectures": [ + "arm64" + ], + "environment": { + "variables": { + "NODE_OPTIONS": "--enable-source-maps", + "WING_FUNCTION_NAME": "Function-c852aba6", + "WING_TARGET": "tf-aws" + } + }, + "function_name": "Function-c852aba6", + "handler": "index.handler", + "layers": [ + "arn:aws:lambda:us-east-1:094274105915:layer:AWSLambdaPowertoolsTypeScriptV2:7" + ], + "memory_size": 1024, + "publish": true, + "role": "${aws_iam_role.Function_IamRole_678BE84C.arn}", + "runtime": "nodejs20.x", + "s3_bucket": "${aws_s3_bucket.Code.bucket}", + "s3_key": "${aws_s3_object.Function_S3Object_C62A0C2D.key}", + "timeout": 60, + "vpc_config": { + "security_group_ids": [], + "subnet_ids": [] + } + } + }, + "aws_s3_bucket": { + "Code": { + "//": { + "metadata": { + "path": "root/Default/Code", + "uniqueId": "Code" + } + }, + "bucket_prefix": "code-c84a50b1-" + } + }, + "aws_s3_object": { + "Function_S3Object_C62A0C2D": { + "//": { + "metadata": { + "path": "root/Default/Default/Function/S3Object", + "uniqueId": "Function_S3Object_C62A0C2D" + } + }, + "bucket": "${aws_s3_bucket.Code.bucket}", + "key": "", + "source": "" + } + } + } +} +``` + diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/function/aws-layer.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/function/aws-layer.test.w_test_sim.md new file mode 100644 index 00000000000..75a21f20cc6 --- /dev/null +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/function/aws-layer.test.w_test_sim.md @@ -0,0 +1,12 @@ +# [aws-layer.test.w](../../../../../../examples/tests/sdk_tests/function/aws-layer.test.w) | test | sim + +## stdout.log +```log +pass ─ aws-layer.test.wsim (no tests) + +Tests 1 passed (1) +Snapshots 1 skipped +Test Files 1 passed (1) +Duration +``` + diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/function/function-ref.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/function/function-ref.test.w_compile_tf-aws.md index 125199f5b95..d5a8c1d3394 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/function/function-ref.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/function/function-ref.test.w_compile_tf-aws.md @@ -208,7 +208,7 @@ "NODE_OPTIONS": "--enable-source-maps", "WING_FUNCTION_NAME": "Handler-c89bc30b", "WING_TARGET": "tf-aws", - "WING_TOKEN_TFTOKEN_TOKEN_15": "${jsonencode(aws_lambda_function.Function.arn)}" + "WING_TOKEN_TFTOKEN_TOKEN_16": "${jsonencode(aws_lambda_function.Function.arn)}" } }, "function_name": "Handler-c89bc30b", @@ -240,7 +240,7 @@ "NODE_OPTIONS": "--enable-source-maps", "WING_FUNCTION_NAME": "Handler-c8f37d21", "WING_TARGET": "tf-aws", - "WING_TOKEN_TFTOKEN_TOKEN_15": "${jsonencode(aws_lambda_function.Function.arn)}" + "WING_TOKEN_TFTOKEN_TOKEN_16": "${jsonencode(aws_lambda_function.Function.arn)}" } }, "function_name": "Handler-c8f37d21", diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/queue/queue-ref.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/queue/queue-ref.test.w_compile_tf-aws.md index d50af586038..90989a1fe90 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/queue/queue-ref.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/queue/queue-ref.test.w_compile_tf-aws.md @@ -366,7 +366,7 @@ "NODE_OPTIONS": "--enable-source-maps", "WING_FUNCTION_NAME": "Handler-c8c3c90a", "WING_TARGET": "tf-aws", - "WING_TOKEN_TFTOKEN_TOKEN_20": "${jsonencode(aws_sqs_queue.Queue.arn)}" + "WING_TOKEN_TFTOKEN_TOKEN_21": "${jsonencode(aws_sqs_queue.Queue.arn)}" } }, "function_name": "Handler-c8c3c90a", diff --git a/tools/hangar/__snapshots__/test_corpus/valid/api.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/api.test.w_compile_tf-aws.md index 6f5ab27a73c..a225949abbd 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/api.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/api.test.w_compile_tf-aws.md @@ -349,7 +349,7 @@ module.exports = function({ }) { "NODE_OPTIONS": "--enable-source-maps", "WING_FUNCTION_NAME": "get_endpoint10-c8e91512", "WING_TARGET": "tf-aws", - "WING_TOKEN_HTTPS_TFTOKEN_TOKEN_33_EXECUTE_API_TFTOKEN_TOKEN_25_AMAZONAWS_COM_TFTOKEN_TOKEN_34": "${jsonencode(\"https://${aws_api_gateway_rest_api.A_Api_api_06466CBC.id}.execute-api.${data.aws_region.Region.name}.amazonaws.com/${aws_api_gateway_stage.A_Api_api_stage_75CEFF9A.stage_name}\")}" + "WING_TOKEN_HTTPS_TFTOKEN_TOKEN_34_EXECUTE_API_TFTOKEN_TOKEN_26_AMAZONAWS_COM_TFTOKEN_TOKEN_35": "${jsonencode(\"https://${aws_api_gateway_rest_api.A_Api_api_06466CBC.id}.execute-api.${data.aws_region.Region.name}.amazonaws.com/${aws_api_gateway_stage.A_Api_api_stage_75CEFF9A.stage_name}\")}" } }, "function_name": "get_endpoint10-c8e91512", From 9ca714639214c564daab0f6654632894f743baf2 Mon Sep 17 00:00:00 2001 From: Marcio Cruz de Almeida <67694075+marciocadev@users.noreply.github.com> Date: Wed, 26 Jun 2024 15:47:18 -0300 Subject: [PATCH 11/17] fix(compiler): adding statements before super() (#6699) This PR allows statements to be executed before calling `super()`, with the exception of any statement that includes the reserved word `this` or `super` and the `super()` call is only valid when called in the top scope of the constructor. The PR also cleans up some redundant `super()` related diagnostics generated in _parser.rs_ they were also handled (and more correctly) in _type_check.rs_. Closes #6387 ## Checklist - [x] Title matches [Winglang's style guide](https://www.winglang.io/contributing/start-here/pull_requests#how-are-pull-request-titles-formatted) - [x] Description explains motivation and solution - [x] Tests added (always) - [ ] Docs updated (only required for features) - [ ] Added `pr/e2e-full` label if this feature requires end-to-end testing *By submitting this pull request, I confirm that my contribution is made under the terms of the [Wing Cloud Contribution License](https://github.com/winglang/wing/blob/main/CONTRIBUTION_LICENSE.md)*. --- .../valid/function.md_example_5/main.w | 11 -- .../valid/function.md_example_6/main.w | 24 --- examples/tests/invalid/class.test.w | 2 +- .../tests/invalid/invalid_call_before_super.w | 76 ++++++++ examples/tests/valid/class.test.w | 31 +++ .../tests/valid/statements_before_super.w | 13 ++ libs/wingc/src/jsify.rs | 12 +- libs/wingc/src/lib.rs | 1 + libs/wingc/src/parser.rs | 40 ---- libs/wingc/src/type_check.rs | 75 +++++--- libs/wingc/src/visit_stmt_before_super.rs | 99 ++++++++++ tools/hangar/__snapshots__/invalid.ts.snap | 160 ++++++++++++---- .../valid/class.test.w_compile_tf-aws.md | 179 ++++++++++++++++++ ...tatements_before_super.w_compile_tf-aws.md | 101 ++++++++++ 14 files changed, 686 insertions(+), 138 deletions(-) delete mode 100644 examples/tests/doc_examples/valid/function.md_example_5/main.w delete mode 100644 examples/tests/doc_examples/valid/function.md_example_6/main.w create mode 100644 examples/tests/invalid/invalid_call_before_super.w create mode 100644 examples/tests/valid/statements_before_super.w create mode 100644 libs/wingc/src/visit_stmt_before_super.rs create mode 100644 tools/hangar/__snapshots__/test_corpus/valid/statements_before_super.w_compile_tf-aws.md diff --git a/examples/tests/doc_examples/valid/function.md_example_5/main.w b/examples/tests/doc_examples/valid/function.md_example_5/main.w deleted file mode 100644 index 5005c597b03..00000000000 --- a/examples/tests/doc_examples/valid/function.md_example_5/main.w +++ /dev/null @@ -1,11 +0,0 @@ -// This file was auto generated from an example found in: function.md_example_5 -// Example metadata: {"valid":true} -bring aws; -bring cloud; - -let f = new cloud.Function(inflight () => { - log("Hello world!"); -}); -if let lambdaFn = aws.Function.from(f) { - lambdaFn.addLambdaLayer("arn:aws:lambda:us-west-2:123456789012:layer:my-layer:1"); -} diff --git a/examples/tests/doc_examples/valid/function.md_example_6/main.w b/examples/tests/doc_examples/valid/function.md_example_6/main.w deleted file mode 100644 index 6e474a667ec..00000000000 --- a/examples/tests/doc_examples/valid/function.md_example_6/main.w +++ /dev/null @@ -1,24 +0,0 @@ -// This file was auto generated from an example found in: function.md_example_6 -// Example metadata: {"valid":true} -bring aws; -bring cloud; - -class Datadog { - pub inflight fetchMetrics() { - // ...implementation... - } - pub onLift(host: std.IInflightHost, ops: Array) { - // Note: `ops` is an array of inflight methods that are being used - // so you can conditionally add the layer based on the methods called - if let lambdaFn = aws.Function.from(host) { - lambdaFn.addLambdaLayer("arn:aws:lambda:us-west-2:123456789012:layer:datadog-layer:1"); - } - } -} - -let d = new Datadog(); - -let api = new cloud.Api(); -api.get("/metrics", inflight () => { - d.fetchMetrics(); -}); diff --git a/examples/tests/invalid/class.test.w b/examples/tests/invalid/class.test.w index 4f641a81d35..b18bc793130 100644 --- a/examples/tests/invalid/class.test.w +++ b/examples/tests/invalid/class.test.w @@ -106,8 +106,8 @@ class PaidStudent extends Student { new(name: str, major: str, hrlyWage: num) { this.hrlyWage = hrlyWage; +// ^^^^^^^^^^^^^^^^^^^^^^^^^ 'super()' must be called before accessing 'this' in the constructor of a derived class super(name, major); -// ^^^^^^^^^^^^^^^^^^^ Expected call to super to be first statement in constructor } something() { diff --git a/examples/tests/invalid/invalid_call_before_super.w b/examples/tests/invalid/invalid_call_before_super.w new file mode 100644 index 00000000000..bc077195bfe --- /dev/null +++ b/examples/tests/invalid/invalid_call_before_super.w @@ -0,0 +1,76 @@ +class A { + a: num; + new(a: num) { this.a = a; } + get_a(): num { return this.a; } + get_one(): num { return 1; } + get_five(): num { return 5; } + get_opt(): num? { + return nil; + } +} + +class B extends A { + b:num; + new() { + this.b = 3; +// ^^^^^^^^^^^ 'super()' must be called before accessing 'this' in the constructor of a derived class + this.hello(); +// ^^^^^^^^^^^^^ 'super()' must be called before accessing 'this' in the constructor of a derived class + super.get_a(); +// ^^^^^^^^^^^^^^ 'super()' must be called before calling a method of 'super' in the constructor of a derived class + super(5); + } + + hello(): str { return "hello"; } +} + +class C extends A { + new(x: bool) { + let var v = 0; + for z in 0..super.get_five() { + v += 1; + } +// ^ 'super()' must be called before calling a method of 'super' in the constructor of a derived class + + if v == 0 { + for z in 0..super.get_five() { + v += 1; + } + } +// ^ 'super()' must be called at the top scope before accessing 'super' in the constructor of a derived class + + if x { + v = super.get_five(); + } +// ^ 'super()' must be called at the top scope before accessing 'super' in the constructor of a derived class + + if !x { + v = this.get_six(); + } +// ^'super()' must be called at the top scope before accessing 'this' in the constructor of a derived class + + while v < 100 { + v += super.get_five(); + } +// ^ 'super()' must be called at the top scope before accessing 'super' in the constructor of a derived class + + super(v); + } + + get_six(): num { return 6; } +} + +class D extends A { + new() { + super(5); + super(5); // Super can only be called once + } +} + +class E extends A { + new() { + if true { + super(5); // Super can't be called from inner scope + } + } +} \ No newline at end of file diff --git a/examples/tests/valid/class.test.w b/examples/tests/valid/class.test.w index 159c4d873a6..ff71c798f45 100644 --- a/examples/tests/valid/class.test.w +++ b/examples/tests/valid/class.test.w @@ -227,4 +227,35 @@ class DocClass { /// Ctor documentation /// blah blah blah new() { this.docField = 0; } +} + +// Extend a class and define an inner class that access its this and super before calling super() +// this should be ok because the inner class doesn't need to be checked when searching for +// this/super access before super() call. +class BaseClassWithCtorArg { + pub x: num; + new(x: num) { + this.x = x; + } +} + +class DerivedClassWithInnerClass extends BaseClassWithCtorArg { + new() { + class InnerBaseClass { + pub x: num; + new(x: num) { + this.x = x; + } + pub method() {} + } + class InnerDerivedClass extends InnerBaseClass { + new() { + super(1); + this.method(); + super.method(); + this.x; + } + } + super(1); + } } \ No newline at end of file diff --git a/examples/tests/valid/statements_before_super.w b/examples/tests/valid/statements_before_super.w new file mode 100644 index 00000000000..a35182a382a --- /dev/null +++ b/examples/tests/valid/statements_before_super.w @@ -0,0 +1,13 @@ +class A { + a: num; + new(a: num) { + this.a = a; + } +} + +class B extends A { + new() { + let x = 3 + 5; + super(x); + } +} diff --git a/libs/wingc/src/jsify.rs b/libs/wingc/src/jsify.rs index c6539e5076a..bba287f31a7 100644 --- a/libs/wingc/src/jsify.rs +++ b/libs/wingc/src/jsify.rs @@ -1868,12 +1868,12 @@ impl<'a> JSifier<'a> { FunctionBody::External(_) => panic!("'init' cannot be 'extern'"), }; - // Check if the first statement is a super constructor call, if not we need to add one - let super_called = if let Some(s) = init_statements.statements.iter().find(|s| !s.kind.is_type_def()) { - matches!(s.kind, StmtKind::SuperConstructor { .. }) - } else { - false - }; + // Check if some of the statements is the super constructor call, if not we need to add one + // as the first statement. + let super_called = init_statements + .statements + .iter() + .any(|s| matches!(s.kind, StmtKind::SuperConstructor { .. })); let mut body_code = CodeMaker::with_source(&class.name.span); diff --git a/libs/wingc/src/lib.rs b/libs/wingc/src/lib.rs index 965fd5a164d..6ae54eadf25 100644 --- a/libs/wingc/src/lib.rs +++ b/libs/wingc/src/lib.rs @@ -68,6 +68,7 @@ mod type_check_assert; mod valid_json_visitor; pub mod visit; mod visit_context; +mod visit_stmt_before_super; mod visit_types; mod wasm_util; diff --git a/libs/wingc/src/parser.rs b/libs/wingc/src/parser.rs index d9662107e6f..99a7d33dda1 100644 --- a/libs/wingc/src/parser.rs +++ b/libs/wingc/src/parser.rs @@ -2643,46 +2643,6 @@ impl<'s> Parser<'s> { } fn build_super_constructor_statement(&self, statement_node: &Node, phase: Phase) -> Result { - // Calls to super constructor can only occur in specific scenario: - // We are in a derived class' constructor - let parent_block = statement_node.parent(); - if let Some(p) = parent_block { - let parent_block_context = p.parent(); - - if let Some(context) = parent_block_context { - match context.kind() { - "initializer" | "inflight_initializer" => { - // Check that the class has a parent - let class_node = context.parent().unwrap().parent().unwrap(); - let parent_class = class_node.child_by_field_name("parent"); - - if let None = parent_class { - self.with_error( - "Call to super constructor can only be made from derived classes", - statement_node, - )?; - } - } - _ => { - // super constructor used outside of an initializer IE: - // class B extends A { - // someMethod() {super()}; - // } - self.with_error( - "Call to super constructor can only be done from within class constructor", - statement_node, - )?; - } - } - } else { - // No parent block found this probably means super() call was found in top level statements - self.with_error( - "Call to super constructor can only be done from within a class constructor", - statement_node, - )?; - } - } - let arg_node = statement_node.child_by_field_name("args").unwrap(); let arg_list = self.build_arg_list(&arg_node, phase)?; diff --git a/libs/wingc/src/type_check.rs b/libs/wingc/src/type_check.rs index 09c8080533f..ce3fe0891a3 100644 --- a/libs/wingc/src/type_check.rs +++ b/libs/wingc/src/type_check.rs @@ -22,7 +22,9 @@ use crate::docs::Docs; use crate::file_graph::FileGraph; use crate::type_check::has_type_stmt::HasStatementVisitor; use crate::type_check::symbol_env::SymbolEnvKind; +use crate::visit::Visit; use crate::visit_context::{VisitContext, VisitorWithContext}; +use crate::visit_stmt_before_super::{CheckSuperCtorLocationVisitor, CheckValidBeforeSuperVisitor}; use crate::visit_types::{VisitType, VisitTypeMut}; use crate::{ dbg_panic, debug, CONSTRUCT_BASE_CLASS, CONSTRUCT_BASE_INTERFACE, CONSTRUCT_NODE_PROPERTY, UTIL_CLASS_NAME, @@ -4667,36 +4669,41 @@ new cloud.Function(@inflight("./handler.ts"), lifts: { bucket: ["put"] }); // Make sure there's a `super()` call to the parent ctor if parent_ctor_sig.min_parameters() > 0 { // Find the `super()` call - if let Some((idx, super_call)) = ctor_body + if let Some((idx, _super_call)) = ctor_body .statements .iter() .enumerate() .find(|(_, s)| matches!(s.kind, StmtKind::SuperConstructor { .. })) { - // We have a super call, make sure it's the first statement (after any type defs) - let expected_idx = ctor_body - .statements - .iter() - .position(|s| !s.kind.is_type_def()) - .expect("at least the super call stmt"); - if idx != expected_idx { - self.spanned_error( - super_call, - format!( - "super() call must be the first statement of {}'s constructor", - ast_class.name - ), - ); + // Check if any of the statements before the super() call are invalid + for i in 0..idx { + self.type_check_valid_stmt_before_super(&ctor_body.statements[i]); } } else { self.spanned_error( ctor_body, - format!( - "Missing super() call as first statement of {}'s constructor", - ast_class.name - ), + format!("Missing super() call in {}'s constructor", ast_class.name), ); } + + // Check `super()` call occurs in valid location + let mut super_ctor_loc_check = CheckSuperCtorLocationVisitor::new(); + super_ctor_loc_check.visit_scope(ctor_body); + // Redundant super() calls diagnostics + for span in super_ctor_loc_check.redundant_calls.iter() { + self.spanned_error_with_annotations( + span, + "super() should be called only once", + vec![DiagnosticAnnotation::new( + "First super call occurs here", + super_ctor_loc_check.first_call.as_ref().unwrap(), + )], + ); + } + // Inner scope super() calls diagnostics + for span in super_ctor_loc_check.inner_calls.iter() { + self.spanned_error(span, "super() should be called at the top scope of the constructor"); + } } } } @@ -4778,6 +4785,25 @@ new cloud.Function(@inflight("./handler.ts"), lifts: { bucket: ["put"] }); self.ctx.pop_class(); } + fn type_check_valid_stmt_before_super(&mut self, stmt: &Stmt) { + let mut check = CheckValidBeforeSuperVisitor::new(); + check.visit_stmt(stmt); + + for span in check.this_accesses.iter() { + self.spanned_error( + span, + "'super()' must be called before accessing 'this' in the constructor of a derived class", + ); + } + + for span in check.super_accesses.iter() { + self.spanned_error( + span, + "'super()' must be called before calling a method of 'super' in the constructor of a derived class", + ); + } + } + fn check_method_is_resource_compatible(&mut self, method_type: TypeRef, method_def: &FunctionDefinition) { let sig = method_type .as_function_sig() @@ -5236,7 +5262,7 @@ new cloud.Function(@inflight("./handler.ts"), lifts: { bucket: ["put"] }); } else { self.spanned_error( super_constructor_call, - "Call to super constructor can only be done from within a class initializer", + "Call to super constructor can only be done from within a class constructor", ); return; }; @@ -5252,13 +5278,18 @@ new cloud.Function(@inflight("./handler.ts"), lifts: { bucket: ["put"] }); if method_name.name != init_name { self.spanned_error( super_constructor_call, - "Call to super constructor can only be done from within a class initializer", + "Call to super constructor can only be done from within a class constructor", ); return; } // Verify the class has a parent class - let Some(parent_class) = &class_type.as_class().expect("class type to be a class").parent else { + let Some(parent_class) = &class_type + .as_class() + .expect("class type to be a class") + .parent + .filter(|p| !p.is_same_type_as(&self.types.resource_base_type())) + else { self.spanned_error( super_constructor_call, format!("Class \"{class_type}\" does not have a parent class"), diff --git a/libs/wingc/src/visit_stmt_before_super.rs b/libs/wingc/src/visit_stmt_before_super.rs new file mode 100644 index 00000000000..0795e032271 --- /dev/null +++ b/libs/wingc/src/visit_stmt_before_super.rs @@ -0,0 +1,99 @@ +use crate::{ + ast::{CalleeKind, Class, Expr, ExprKind, Reference, Scope, Spanned, Stmt, StmtKind}, + diagnostic::WingSpan, + visit::{self, Visit}, +}; + +pub struct CheckValidBeforeSuperVisitor { + /// A list of locations where there's a `super.method_call()` within this statement. + /// These are illegal before a call to the `super()` constructor. + pub super_accesses: Vec, + /// A list of locations where `this` is referenced within this statement. + /// These are illegal before a call to the `super()` constructor. + pub this_accesses: Vec, +} + +impl CheckValidBeforeSuperVisitor { + pub fn new() -> Self { + CheckValidBeforeSuperVisitor { + super_accesses: vec![], + this_accesses: vec![], + } + } +} + +impl<'ast> Visit<'ast> for CheckValidBeforeSuperVisitor { + fn visit_expr(&mut self, node: &'ast Expr) { + if matches!( + &node.kind, + ExprKind::Call { + callee: CalleeKind::SuperCall(..), + .. + } + ) { + self.super_accesses.push(node.span()); + } + visit::visit_expr(self, node); + } + + fn visit_reference(&mut self, node: &'ast Reference) { + if matches!(node, Reference::Identifier(s) if s.name == "this") { + self.this_accesses.push(node.span()); + } + visit::visit_reference(self, node); + } + + fn visit_class(&mut self, _node: &'ast Class) { + return; + } +} + +// A visitor that checks `super()` is called from the top scope +// and that there's only one `super()` call +pub struct CheckSuperCtorLocationVisitor { + pub redundant_calls: Vec, + pub inner_calls: Vec, + pub first_call: Option, + pub scope_depth: usize, +} + +impl CheckSuperCtorLocationVisitor { + pub fn new() -> Self { + CheckSuperCtorLocationVisitor { + redundant_calls: vec![], + inner_calls: vec![], + first_call: None, + scope_depth: 0, + } + } +} + +impl Visit<'_> for CheckSuperCtorLocationVisitor { + fn visit_stmt(&mut self, node: &'_ Stmt) { + if matches!(node.kind, StmtKind::SuperConstructor { .. }) { + // If we're in an inner scope then mark this call as invalid + if self.scope_depth > 1 { + self.inner_calls.push(node.span()); + } + // If we've already found a valid call then mark this call as redundant + else if self.first_call.is_some() { + self.redundant_calls.push(node.span()); + } else { + // This seems like a valid call, store the span + self.first_call = Some(node.span()); + } + } + visit::visit_stmt(self, node); + } + + fn visit_scope(&mut self, node: &'_ Scope) { + self.scope_depth += 1; + visit::visit_scope(self, node); + self.scope_depth -= 1; + } + + fn visit_class(&mut self, _node: &Class) { + // Ignore inner classes + return; + } +} diff --git a/tools/hangar/__snapshots__/invalid.ts.snap b/tools/hangar/__snapshots__/invalid.ts.snap index d9674665bb4..69435c8a33d 100644 --- a/tools/hangar/__snapshots__/invalid.ts.snap +++ b/tools/hangar/__snapshots__/invalid.ts.snap @@ -719,28 +719,7 @@ Duration " `; exports[`class.test.w 1`] = ` -"error: Call to super constructor can only be made from derived classes - --> ../../../examples/tests/invalid/class.test.w:97:5 - | -97 | super(); - | ^^^^^^^^ - - -error: Call to super constructor can only be done from within class constructor - --> ../../../examples/tests/invalid/class.test.w:114:5 - | -114 | super("cool", "blue"); - | ^^^^^^^^^^^^^^^^^^^^^^ - - -error: Call to super constructor can only be done from within a class constructor - --> ../../../examples/tests/invalid/class.test.w:119:4 - | -119 | super(); - | ^^^^^^^^ - - -error: Reserved method name. Constructors are declared with a method named "new" +"error: Reserved method name. Constructors are declared with a method named "new" --> ../../../examples/tests/invalid/class.test.w:171:3 | 171 | constructor() { @@ -880,11 +859,18 @@ error: Unknown symbol "C11" | ^^^ -error: super() call must be the first statement of PaidStudent's constructor - --> ../../../examples/tests/invalid/class.test.w:109:5 +error: 'super()' must be called before accessing 'this' in the constructor of a derived class + --> ../../../examples/tests/invalid/class.test.w:108:5 | -109 | super(name, major); - | ^^^^^^^^^^^^^^^^^^^ +108 | this.hrlyWage = hrlyWage; + | ^^^^ + + +error: Call to super constructor can only be done from within a class constructor + --> ../../../examples/tests/invalid/class.test.w:119:4 + | +119 | super(); + | ^^^^^^^^ error: Cannot instantiate abstract class "Resource" @@ -967,6 +953,20 @@ error: Variable cannot be reassigned from inflight | ^^^^^^ +error: Class "Student" does not have a parent class + --> ../../../examples/tests/invalid/class.test.w:97:5 + | +97 | super(); + | ^^^^^^^^ + + +error: Call to super constructor can only be done from within a class constructor + --> ../../../examples/tests/invalid/class.test.w:114:5 + | +114 | super("cool", "blue"); + | ^^^^^^^^^^^^^^^^^^^^^^ + + error: Expected type to be "num", but got "str" instead --> ../../../examples/tests/invalid/class.test.w:134:11 | @@ -1306,35 +1306,35 @@ Duration " `; exports[`ctor_super.test.w 1`] = ` -"error: Missing super() call as first statement of PreflighChild1's constructor +"error: Missing super() call in PreflighChild1's constructor --> ../../../examples/tests/invalid/ctor_super.test.w:9:7 | 9 | class PreflighChild1 extends PreflightBaseWithCtorParam {} | ^^^^^^^^^^^^^^ -error: Missing super() call as first statement of PreflighChild2's constructor +error: Missing super() call in PreflighChild2's constructor --> ../../../examples/tests/invalid/ctor_super.test.w:13:15 | 13 | new(a: num) {} | ^^ -error: Missing super() call as first statement of InflightChild1's constructor +error: Missing super() call in InflightChild1's constructor --> ../../../examples/tests/invalid/ctor_super.test.w:29:16 | 29 | inflight class InflightChild1 extends InflightBaseWithCtorParam {} | ^^^^^^^^^^^^^^ -error: Missing super() call as first statement of InflightChild2's constructor +error: Missing super() call in InflightChild2's constructor --> ../../../examples/tests/invalid/ctor_super.test.w:33:15 | 33 | new(a: num) {} | ^^ -error: Missing super() call as first statement of InflightChild4's constructor +error: Missing super() call in InflightChild4's constructor --> ../../../examples/tests/invalid/ctor_super.test.w:45:9 | 45 | new() {} @@ -1355,21 +1355,21 @@ error: Expected 1 positional argument(s) but got 0 | ^^^^^^^^ -error: Missing super() call as first statement of InflightChild1's constructor +error: Missing super() call in InflightChild1's constructor --> ../../../examples/tests/invalid/ctor_super.test.w:55:9 | 55 | class InflightChild1 extends InflightBaseWithCtorParam {} | ^^^^^^^^^^^^^^ -error: Missing super() call as first statement of InflightChild2's constructor +error: Missing super() call in InflightChild2's constructor --> ../../../examples/tests/invalid/ctor_super.test.w:59:17 | 59 | new(a: num) {} | ^^ -error: Missing super() call as first statement of InflightChild4's constructor +error: Missing super() call in InflightChild4's constructor --> ../../../examples/tests/invalid/ctor_super.test.w:71:11 | 71 | new() {} @@ -2971,6 +2971,98 @@ exports[`invalid compile directory 1`] = ` " `; +exports[`invalid_call_before_super.w 1`] = ` +"error: 'super()' must be called before accessing 'this' in the constructor of a derived class + --> ../../../examples/tests/invalid/invalid_call_before_super.w:15:5 + | +15 | this.b = 3; + | ^^^^ + + +error: 'super()' must be called before accessing 'this' in the constructor of a derived class + --> ../../../examples/tests/invalid/invalid_call_before_super.w:17:5 + | +17 | this.hello(); + | ^^^^ + + +error: 'super()' must be called before calling a method of 'super' in the constructor of a derived class + --> ../../../examples/tests/invalid/invalid_call_before_super.w:19:5 + | +19 | super.get_a(); + | ^^^^^^^^^^^^^ + + +error: 'super()' must be called before calling a method of 'super' in the constructor of a derived class + --> ../../../examples/tests/invalid/invalid_call_before_super.w:30:17 + | +30 | for z in 0..super.get_five() { + | ^^^^^^^^^^^^^^^^ + + +error: 'super()' must be called before calling a method of 'super' in the constructor of a derived class + --> ../../../examples/tests/invalid/invalid_call_before_super.w:36:19 + | +36 | for z in 0..super.get_five() { + | ^^^^^^^^^^^^^^^^ + + +error: 'super()' must be called before calling a method of 'super' in the constructor of a derived class + --> ../../../examples/tests/invalid/invalid_call_before_super.w:43:11 + | +43 | v = super.get_five(); + | ^^^^^^^^^^^^^^^^ + + +error: 'super()' must be called before accessing 'this' in the constructor of a derived class + --> ../../../examples/tests/invalid/invalid_call_before_super.w:48:11 + | +48 | v = this.get_six(); + | ^^^^ + + +error: 'super()' must be called before calling a method of 'super' in the constructor of a derived class + --> ../../../examples/tests/invalid/invalid_call_before_super.w:53:12 + | +53 | v += super.get_five(); + | ^^^^^^^^^^^^^^^^ + + +error: super() should be called only once + --> ../../../examples/tests/invalid/invalid_call_before_super.w:66:5 + | +65 | super(5); + | --------- First super call occurs here +66 | super(5); // Super can only be called once + | ^^^^^^^^^ + + +error: Missing super() call in E's constructor + --> ../../../examples/tests/invalid/invalid_call_before_super.w:71:9 + | +71 | new() { + | /---------^ +72 | | if true { +73 | | super(5); // Super can't be called from inner scope +74 | | } +75 | | } + | \\---^ + + +error: super() should be called at the top scope of the constructor + --> ../../../examples/tests/invalid/invalid_call_before_super.w:73:7 + | +73 | super(5); // Super can't be called from inner scope + | ^^^^^^^^^ + + + +Tests 1 failed (1) +Snapshots 1 skipped +Test Files 1 failed (1) +Duration " +`; + exports[`issue_2767.test.w 1`] = ` "error: Expected type to be "MutJson", but got "Bucket" instead --> ../../../examples/tests/invalid/issue_2767.test.w:4:16 diff --git a/tools/hangar/__snapshots__/test_corpus/valid/class.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/class.test.w_compile_tf-aws.md index c3bd201d752..222177a3393 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/class.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/class.test.w_compile_tf-aws.md @@ -214,6 +214,20 @@ module.exports = function({ }) { //# sourceMappingURL=inflight.Bar-1.cjs.map ``` +## inflight.BaseClassWithCtorArg-1.cjs +```cjs +"use strict"; +const $helpers = require("@winglang/sdk/lib/helpers"); +module.exports = function({ }) { + class BaseClassWithCtorArg { + constructor({ }) { + } + } + return BaseClassWithCtorArg; +} +//# sourceMappingURL=inflight.BaseClassWithCtorArg-1.cjs.map +``` + ## inflight.Baz-1.cjs ```cjs "use strict"; @@ -410,6 +424,21 @@ module.exports = function({ }) { //# sourceMappingURL=inflight.C5-1.cjs.map ``` +## inflight.DerivedClassWithInnerClass-1.cjs +```cjs +"use strict"; +const $helpers = require("@winglang/sdk/lib/helpers"); +module.exports = function({ $BaseClassWithCtorArg }) { + class DerivedClassWithInnerClass extends $BaseClassWithCtorArg { + constructor({ }) { + super({ }); + } + } + return DerivedClassWithInnerClass; +} +//# sourceMappingURL=inflight.DerivedClassWithInnerClass-1.cjs.map +``` + ## inflight.DocClass-1.cjs ```cjs "use strict"; @@ -441,6 +470,35 @@ module.exports = function({ $Bar }) { //# sourceMappingURL=inflight.Foo-1.cjs.map ``` +## inflight.InnerBaseClass-1.cjs +```cjs +"use strict"; +const $helpers = require("@winglang/sdk/lib/helpers"); +module.exports = function({ }) { + class InnerBaseClass { + constructor({ }) { + } + } + return InnerBaseClass; +} +//# sourceMappingURL=inflight.InnerBaseClass-1.cjs.map +``` + +## inflight.InnerDerivedClass-1.cjs +```cjs +"use strict"; +const $helpers = require("@winglang/sdk/lib/helpers"); +module.exports = function({ $InnerBaseClass }) { + class InnerDerivedClass extends $InnerBaseClass { + constructor({ }) { + super({ }); + } + } + return InnerDerivedClass; +} +//# sourceMappingURL=inflight.InnerDerivedClass-1.cjs.map +``` + ## inflight.PaidStudent-1.cjs ```cjs "use strict"; @@ -1391,6 +1449,127 @@ class $Root extends $stdlib.std.Resource { }); } } + class BaseClassWithCtorArg extends $stdlib.std.Resource { + constructor($scope, $id, x) { + super($scope, $id); + this.x = x; + } + static _toInflightType() { + return ` + require("${$helpers.normalPath(__dirname)}/inflight.BaseClassWithCtorArg-1.cjs")({ + }) + `; + } + _toInflight() { + return ` + (await (async () => { + const BaseClassWithCtorArgClient = ${BaseClassWithCtorArg._toInflightType()}; + const client = new BaseClassWithCtorArgClient({ + }); + if (client.$inflight_init) { await client.$inflight_init(); } + return client; + })()) + `; + } + get _liftMap() { + return ({ + "$inflight_init": [ + ], + }); + } + } + class DerivedClassWithInnerClass extends BaseClassWithCtorArg { + constructor($scope, $id, ) { + class InnerBaseClass extends $stdlib.std.Resource { + constructor($scope, $id, x) { + super($scope, $id); + this.x = x; + } + method() { + } + static _toInflightType() { + return ` + require("${$helpers.normalPath(__dirname)}/inflight.InnerBaseClass-1.cjs")({ + }) + `; + } + _toInflight() { + return ` + (await (async () => { + const InnerBaseClassClient = ${InnerBaseClass._toInflightType()}; + const client = new InnerBaseClassClient({ + }); + if (client.$inflight_init) { await client.$inflight_init(); } + return client; + })()) + `; + } + get _liftMap() { + return ({ + "$inflight_init": [ + ], + }); + } + } + class InnerDerivedClass extends InnerBaseClass { + constructor($scope, $id, ) { + super($scope, $id, 1); + (this.method()); + (super.method()); + this.x; + } + static _toInflightType() { + return ` + require("${$helpers.normalPath(__dirname)}/inflight.InnerDerivedClass-1.cjs")({ + $InnerBaseClass: ${$stdlib.core.liftObject(InnerBaseClass)}, + }) + `; + } + _toInflight() { + return ` + (await (async () => { + const InnerDerivedClassClient = ${InnerDerivedClass._toInflightType()}; + const client = new InnerDerivedClassClient({ + }); + if (client.$inflight_init) { await client.$inflight_init(); } + return client; + })()) + `; + } + get _liftMap() { + return $stdlib.core.mergeLiftDeps(super._liftMap, { + "$inflight_init": [ + ], + }); + } + } + super($scope, $id, 1); + } + static _toInflightType() { + return ` + require("${$helpers.normalPath(__dirname)}/inflight.DerivedClassWithInnerClass-1.cjs")({ + $BaseClassWithCtorArg: ${$stdlib.core.liftObject(BaseClassWithCtorArg)}, + }) + `; + } + _toInflight() { + return ` + (await (async () => { + const DerivedClassWithInnerClassClient = ${DerivedClassWithInnerClass._toInflightType()}; + const client = new DerivedClassWithInnerClassClient({ + }); + if (client.$inflight_init) { await client.$inflight_init(); } + return client; + })()) + `; + } + get _liftMap() { + return $stdlib.core.mergeLiftDeps(super._liftMap, { + "$inflight_init": [ + ], + }); + } + } new C1(this, "C1"); const c2 = new C2(this, "C2"); $helpers.assert($helpers.eq(c2.x, 1), "c2.x == 1"); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/statements_before_super.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/statements_before_super.w_compile_tf-aws.md new file mode 100644 index 00000000000..7fdd23242c0 --- /dev/null +++ b/tools/hangar/__snapshots__/test_corpus/valid/statements_before_super.w_compile_tf-aws.md @@ -0,0 +1,101 @@ +# [statements_before_super.w](../../../../../examples/tests/valid/statements_before_super.w) | compile | tf-aws + +## inflight.A-1.cjs +```cjs +"use strict"; +const $helpers = require("@winglang/sdk/lib/helpers"); +module.exports = function({ }) { + class A { + constructor({ }) { + } + } + return A; +} +//# sourceMappingURL=inflight.A-1.cjs.map +``` + +## inflight.B-1.cjs +```cjs +"use strict"; +const $helpers = require("@winglang/sdk/lib/helpers"); +module.exports = function({ $A }) { + class B extends $A { + constructor({ }) { + super({ }); + } + } + return B; +} +//# sourceMappingURL=inflight.B-1.cjs.map +``` + +## preflight.cjs +```cjs +"use strict"; +const $stdlib = require('@winglang/sdk'); +const std = $stdlib.std; +const $helpers = $stdlib.helpers; +const $extern = $helpers.createExternRequire(__dirname); +class A extends $stdlib.std.Resource { + constructor($scope, $id, a) { + super($scope, $id); + this.a = a; + } + static _toInflightType() { + return ` + require("${$helpers.normalPath(__dirname)}/inflight.A-1.cjs")({ + }) + `; + } + _toInflight() { + return ` + (await (async () => { + const AClient = ${A._toInflightType()}; + const client = new AClient({ + }); + if (client.$inflight_init) { await client.$inflight_init(); } + return client; + })()) + `; + } + get _liftMap() { + return ({ + "$inflight_init": [ + ], + }); + } +} +class B extends A { + constructor($scope, $id, ) { + const x = (3 + 5); + super($scope, $id, x); + } + static _toInflightType() { + return ` + require("${$helpers.normalPath(__dirname)}/inflight.B-1.cjs")({ + $A: ${$stdlib.core.liftObject(A)}, + }) + `; + } + _toInflight() { + return ` + (await (async () => { + const BClient = ${B._toInflightType()}; + const client = new BClient({ + }); + if (client.$inflight_init) { await client.$inflight_init(); } + return client; + })()) + `; + } + get _liftMap() { + return $stdlib.core.mergeLiftDeps(super._liftMap, { + "$inflight_init": [ + ], + }); + } +} +module.exports = { }; +//# sourceMappingURL=preflight.cjs.map +``` + From d599e44d7e8516a493f1217a84bdd3d8a522c969 Mon Sep 17 00:00:00 2001 From: Chris Rybicki Date: Wed, 26 Jun 2024 15:31:09 -0400 Subject: [PATCH 12/17] chore: improve cloud.Function docs (#6795) Add docs that were missing from https://github.com/winglang/wing/pull/6790 ## Checklist - [x] Title matches [Winglang's style guide](https://www.winglang.io/contributing/start-here/pull_requests#how-are-pull-request-titles-formatted) - [x] Description explains motivation and solution - [ ] Tests added (always) - [x] Docs updated (only required for features) - [ ] Added `pr/e2e-full` label if this feature requires end-to-end testing *By submitting this pull request, I confirm that my contribution is made under the terms of the [Wing Cloud Contribution License](https://github.com/winglang/wing/blob/main/CONTRIBUTION_LICENSE.md)*. --- .../04-standard-library/cloud/function.md | 52 ++++++++++++++++++- .../valid/function.md_example_5/main.w | 11 ++++ .../valid/function.md_example_6/main.w | 24 +++++++++ libs/wingsdk/src/cloud/function.md | 52 ++++++++++++++++++- 4 files changed, 137 insertions(+), 2 deletions(-) create mode 100644 examples/tests/doc_examples/valid/function.md_example_5/main.w create mode 100644 examples/tests/doc_examples/valid/function.md_example_6/main.w diff --git a/docs/docs/04-standard-library/cloud/function.md b/docs/docs/04-standard-library/cloud/function.md index 16af5f6bd26..889c004d001 100644 --- a/docs/docs/04-standard-library/cloud/function.md +++ b/docs/docs/04-standard-library/cloud/function.md @@ -109,6 +109,8 @@ new cloud.Function(inflight () => { The AWS implementation of `cloud.Function` uses [AWS Lambda](https://aws.amazon.com/lambda/). +#### Adding custom IAM permissions + To add extra IAM permissions to the function, you can use the `aws.Function` class as shown below. ```ts playground example @@ -129,7 +131,9 @@ if let lambdaFn = aws.Function.from(f) { } ``` -To access the AWS Lambda context object, you can use the `aws.Function` class as shown below. +#### Accessing the Lambda context + +To access the [AWS Lambda context object](https://docs.aws.amazon.com/lambda/latest/dg/nodejs-context.html), you can use the `aws.Function` class as shown below. ```ts playground example bring aws; @@ -148,6 +152,52 @@ let f = new cloud.Function(inflight () => { The `context()` method returns `nil` when ran on non-AWS targets. +#### Adding Lambda layers + +To add a [Lambda layer](https://docs.aws.amazon.com/lambda/latest/dg/chapter-layers.html) to the function, you can use the `aws.Function` class as shown below. + +```ts playground example +bring aws; +bring cloud; + +let f = new cloud.Function(inflight () => { + log("Hello world!"); +}); +if let lambdaFn = aws.Function.from(f) { + lambdaFn.addLambdaLayer("arn:aws:lambda:us-west-2:123456789012:layer:my-layer:1"); +} +``` + +In some scenarios, you might want to a Lambda layer to be automatically added to all Lambda function's that use a class's inflight methods. +You can achieve this by using the `onLift` or `onLiftType` hook. + +```ts playground example +bring aws; +bring cloud; + +class Datadog { + pub inflight fetchMetrics() { + // ...implementation... + } + pub onLift(host: std.IInflightHost, ops: Array) { + // Note: the "ops" argument is an array of inflight methods that were used + // so you could conditionally add the layer based on the methods called + if let lambdaFn = aws.Function.from(host) { + lambdaFn.addLambdaLayer("arn:aws:lambda:us-west-2:123456789012:layer:datadog-layer:1"); + } + } +} + +let d = new Datadog(); + +let api = new cloud.Api(); +api.get("/metrics", inflight () => { + d.fetchMetrics(); +}); +``` + +In the previous example, a Lambda function is implicitly created for handling the "/metrics" endpoint, and the `datadog-layer` is automatically added to it. + ### Azure (`tf-azure`) The Azure implementation of `cloud.Function` uses [Azure Functions](https://azure.microsoft.com/en-us/products/functions). diff --git a/examples/tests/doc_examples/valid/function.md_example_5/main.w b/examples/tests/doc_examples/valid/function.md_example_5/main.w new file mode 100644 index 00000000000..5005c597b03 --- /dev/null +++ b/examples/tests/doc_examples/valid/function.md_example_5/main.w @@ -0,0 +1,11 @@ +// This file was auto generated from an example found in: function.md_example_5 +// Example metadata: {"valid":true} +bring aws; +bring cloud; + +let f = new cloud.Function(inflight () => { + log("Hello world!"); +}); +if let lambdaFn = aws.Function.from(f) { + lambdaFn.addLambdaLayer("arn:aws:lambda:us-west-2:123456789012:layer:my-layer:1"); +} diff --git a/examples/tests/doc_examples/valid/function.md_example_6/main.w b/examples/tests/doc_examples/valid/function.md_example_6/main.w new file mode 100644 index 00000000000..467cae5b0b7 --- /dev/null +++ b/examples/tests/doc_examples/valid/function.md_example_6/main.w @@ -0,0 +1,24 @@ +// This file was auto generated from an example found in: function.md_example_6 +// Example metadata: {"valid":true} +bring aws; +bring cloud; + +class Datadog { + pub inflight fetchMetrics() { + // ...implementation... + } + pub onLift(host: std.IInflightHost, ops: Array) { + // Note: the "ops" argument is an array of inflight methods that were used + // so you could conditionally add the layer based on the methods called + if let lambdaFn = aws.Function.from(host) { + lambdaFn.addLambdaLayer("arn:aws:lambda:us-west-2:123456789012:layer:datadog-layer:1"); + } + } +} + +let d = new Datadog(); + +let api = new cloud.Api(); +api.get("/metrics", inflight () => { + d.fetchMetrics(); +}); diff --git a/libs/wingsdk/src/cloud/function.md b/libs/wingsdk/src/cloud/function.md index ea649f9c4ac..ad7a50d3eff 100644 --- a/libs/wingsdk/src/cloud/function.md +++ b/libs/wingsdk/src/cloud/function.md @@ -109,6 +109,8 @@ new cloud.Function(inflight () => { The AWS implementation of `cloud.Function` uses [AWS Lambda](https://aws.amazon.com/lambda/). +#### Adding custom IAM permissions + To add extra IAM permissions to the function, you can use the `aws.Function` class as shown below. ```ts playground example @@ -129,7 +131,9 @@ if let lambdaFn = aws.Function.from(f) { } ``` -To access the AWS Lambda context object, you can use the `aws.Function` class as shown below. +#### Accessing the Lambda context + +To access the [AWS Lambda context object](https://docs.aws.amazon.com/lambda/latest/dg/nodejs-context.html), you can use the `aws.Function` class as shown below. ```ts playground example bring aws; @@ -148,6 +152,52 @@ let f = new cloud.Function(inflight () => { The `context()` method returns `nil` when ran on non-AWS targets. +#### Adding Lambda layers + +To add a [Lambda layer](https://docs.aws.amazon.com/lambda/latest/dg/chapter-layers.html) to the function, you can use the `aws.Function` class as shown below. + +```ts playground example +bring aws; +bring cloud; + +let f = new cloud.Function(inflight () => { + log("Hello world!"); +}); +if let lambdaFn = aws.Function.from(f) { + lambdaFn.addLambdaLayer("arn:aws:lambda:us-west-2:123456789012:layer:my-layer:1"); +} +``` + +In some scenarios, you might want to a Lambda layer to be automatically added to all Lambda function's that use a class's inflight methods. +You can achieve this by using the `onLift` or `onLiftType` hook. + +```ts playground example +bring aws; +bring cloud; + +class Datadog { + pub inflight fetchMetrics() { + // ...implementation... + } + pub onLift(host: std.IInflightHost, ops: Array) { + // Note: the "ops" argument is an array of inflight methods that were used + // so you could conditionally add the layer based on the methods called + if let lambdaFn = aws.Function.from(host) { + lambdaFn.addLambdaLayer("arn:aws:lambda:us-west-2:123456789012:layer:datadog-layer:1"); + } + } +} + +let d = new Datadog(); + +let api = new cloud.Api(); +api.get("/metrics", inflight () => { + d.fetchMetrics(); +}); +``` + +In the previous example, a Lambda function is implicitly created for handling the "/metrics" endpoint, and the `datadog-layer` is automatically added to it. + ### Azure (`tf-azure`) The Azure implementation of `cloud.Function` uses [Azure Functions](https://azure.microsoft.com/en-us/products/functions). From d6d896915e2a2e61352f90a628a83fafc0c38df3 Mon Sep 17 00:00:00 2001 From: yoav-steinberg Date: Thu, 27 Jun 2024 14:07:30 +0300 Subject: [PATCH 13/17] fix(compiler): missing span information when bringing invalid directory (#6780) When bringing an invalid directory no span information was shown so it was difficult to figure out where the error came from. ## Checklist - [x] Title matches [Winglang's style guide](https://www.winglang.io/contributing/start-here/pull_requests#how-are-pull-request-titles-formatted) - [x] Description explains motivation and solution - [x] Tests added (always) - [ ] Docs updated (only required for features) - [ ] Added `pr/e2e-full` label if this feature requires end-to-end testing *By submitting this pull request, I confirm that my contribution is made under the terms of the [Wing Cloud Contribution License](https://github.com/winglang/wing/blob/main/CONTRIBUTION_LICENSE.md)*. --- libs/wingc/src/parser.rs | 91 ++++++++++++++-------- tools/hangar/__snapshots__/invalid.ts.snap | 20 ++++- 2 files changed, 76 insertions(+), 35 deletions(-) diff --git a/libs/wingc/src/parser.rs b/libs/wingc/src/parser.rs index 99a7d33dda1..491a2d48590 100644 --- a/libs/wingc/src/parser.rs +++ b/libs/wingc/src/parser.rs @@ -164,7 +164,14 @@ pub fn parse_wing_project( ) -> Vec { // Parse the initial path (even if we have already seen it before) let dependent_wing_paths = match init_path.is_dir() { - true => parse_wing_directory(&init_path, files, file_graph, tree_sitter_trees, asts), + true => parse_wing_directory( + &init_path, + &WingSpan::for_file(init_path.to_string()), + files, + file_graph, + tree_sitter_trees, + asts, + ), false => parse_wing_file(&init_path, init_text, files, file_graph, tree_sitter_trees, asts), }; @@ -172,7 +179,7 @@ pub fn parse_wing_project( let mut unparsed_files = dependent_wing_paths; // Parse all remaining files in the project - while let Some(file_or_dir_path) = unparsed_files.pop() { + while let Some((file_or_dir_path, source_ref)) = unparsed_files.pop() { // Skip files that we have already seen before (they should already be parsed) if files.contains_file(&file_or_dir_path) { assert!( @@ -189,7 +196,14 @@ pub fn parse_wing_project( // Parse the file or directory let dependent_wing_paths = match file_or_dir_path.is_dir() { - true => parse_wing_directory(&file_or_dir_path, files, file_graph, tree_sitter_trees, asts), + true => parse_wing_directory( + &file_or_dir_path, + &source_ref, + files, + file_graph, + tree_sitter_trees, + asts, + ), false => parse_wing_file(&file_or_dir_path, None, files, file_graph, tree_sitter_trees, asts), }; @@ -227,7 +241,7 @@ fn parse_wing_file( file_graph: &mut FileGraph, tree_sitter_trees: &mut IndexMap, asts: &mut IndexMap, -) -> Vec { +) -> Vec<(Utf8PathBuf, WingSpan)> { let source_text = match source_text { Some(text) => text, None => fs::read_to_string(source_path).expect("read_to_string call failed"), @@ -258,7 +272,7 @@ fn parse_wing_file( // Update our collections of trees and ASTs and our file graph tree_sitter_trees.insert(source_path.to_owned(), tree_sitter_tree); asts.insert(source_path.to_owned(), scope); - file_graph.update_file(source_path, &dependent_wing_paths); + file_graph.update_file(source_path, dependent_wing_paths.iter().map(|(path, _)| path)); dependent_wing_paths } @@ -285,40 +299,32 @@ fn contains_non_symbolic(str: &str) -> bool { !re.is_match(str) } -fn check_valid_wing_dir_name(dir_path: &Utf8Path) { +fn check_valid_wing_dir_name(dir_path: &Utf8Path) -> bool { if contains_non_symbolic(dir_path.file_name().unwrap()) { - report_diagnostic(Diagnostic { - message: format!( - "Cannot bring Wing directories that contain invalid characters: \"{}\"", - dir_path.file_name().unwrap() - ), - span: None, - annotations: vec![], - hints: vec![], - }); + return false; } + true } fn parse_wing_directory( source_path: &Utf8Path, + source_ref: &WingSpan, files: &mut Files, file_graph: &mut FileGraph, tree_sitter_trees: &mut IndexMap, asts: &mut IndexMap, -) -> Vec { +) -> Vec<(Utf8PathBuf, WingSpan)> { // Collect a list of all files and subdirectories in the directory let mut files_and_dirs = Vec::new(); if source_path.is_dir() && !dir_contains_wing_file(&source_path) { - report_diagnostic(Diagnostic { - message: format!( + report_diagnostic(Diagnostic::new( + format!( "Cannot explicitly bring directory with no Wing files \"{}\"", source_path.file_name().unwrap() ), - span: None, - annotations: vec![], - hints: vec![], - }) + source_ref, + )) } for entry in fs::read_dir(&source_path).expect("read_dir call failed") { @@ -336,9 +342,17 @@ fn parse_wing_directory( { // before we add the path, we need to check that directory names are valid if path.is_dir() { - check_valid_wing_dir_name(&path); + if !check_valid_wing_dir_name(&path) { + report_diagnostic(Diagnostic::new( + format!( + "Cannot bring Wing directories that contain sub-directories with invalid characters: \"{}\"", + path.file_name().unwrap() + ), + source_ref, + ).hint("Directory names must start with a letter or underscore and contain only letters, numbers, and underscores.")); + } } - files_and_dirs.push(path); + files_and_dirs.push((path, source_ref.clone())); } } @@ -356,7 +370,7 @@ fn parse_wing_directory( files.update_file(&source_path, "".to_string()); tree_sitter_trees.insert(source_path.to_owned(), tree_sitter_tree); asts.insert(source_path.to_owned(), scope); - file_graph.update_file(source_path, &dependent_wing_paths); + file_graph.update_file(source_path, dependent_wing_paths.iter().map(|(path, _)| path)); dependent_wing_paths } @@ -371,9 +385,9 @@ pub struct Parser<'a> { in_json: RefCell, is_in_mut_json: RefCell, is_in_loop: RefCell, - /// Track all file paths that have been found while parsing the current file + /// Track all file paths (and where they appear in the source) that have been found while parsing the current file /// These will need to be eventually parsed (or diagnostics will be reported if they don't exist) - referenced_wing_paths: RefCell>, + referenced_wing_paths: RefCell>, } struct ParseErrorBuilder<'s> { @@ -419,7 +433,7 @@ impl<'s> Parser<'s> { } } - pub fn parse(self, root: &Node) -> (Scope, Vec) { + pub fn parse(self, root: &Node) -> (Scope, Vec<(Utf8PathBuf, WingSpan)>) { let scope = match root.kind() { "source" => self.build_scope(&root, Phase::Preflight), _ => Scope::empty(), @@ -1017,7 +1031,10 @@ impl<'s> Parser<'s> { ); } - self.referenced_wing_paths.borrow_mut().push(source_path.clone()); + self + .referenced_wing_paths + .borrow_mut() + .push((source_path.clone(), module_name.span())); // parse error if no alias is provided let module = if let Some(alias) = alias { @@ -1039,7 +1056,10 @@ impl<'s> Parser<'s> { // case: directory if source_path.is_dir() { - self.referenced_wing_paths.borrow_mut().push(source_path.clone()); + self + .referenced_wing_paths + .borrow_mut() + .push((source_path.clone(), module_name.span())); // parse error if no alias is provided let module = if let Some(alias) = alias { @@ -1088,7 +1108,10 @@ impl<'s> Parser<'s> { if is_wing_library(&Utf8Path::new(&module_dir)) { return if let Some(alias) = alias { // make sure the Wing library is also parsed - self.referenced_wing_paths.borrow_mut().push(module_dir.clone()); + self + .referenced_wing_paths + .borrow_mut() + .push((module_dir.clone(), module_name.span())); Ok(StmtKind::Bring { source: BringSource::WingLibrary( @@ -1156,9 +1179,11 @@ impl<'s> Parser<'s> { .err(); })?; - self.referenced_wing_paths.borrow_mut().push(module_dir.clone()); // make sure the trusted library is also parsed - self.referenced_wing_paths.borrow_mut().push(module_dir.clone()); + self + .referenced_wing_paths + .borrow_mut() + .push((module_dir.clone(), module_name.span())); Ok(StmtKind::Bring { source: BringSource::TrustedModule( diff --git a/tools/hangar/__snapshots__/invalid.ts.snap b/tools/hangar/__snapshots__/invalid.ts.snap index 69435c8a33d..6021af442d6 100644 --- a/tools/hangar/__snapshots__/invalid.ts.snap +++ b/tools/hangar/__snapshots__/invalid.ts.snap @@ -464,12 +464,28 @@ Duration " exports[`bring_invalid_dir.w 1`] = ` "error: Cannot explicitly bring directory with no Wing files "no_wing_files" + --> ../../../examples/tests/invalid/bring_invalid_dir.w:4:7 + | +4 | bring "./subdir3/no_wing_files" as whatchaGonnaBring; + | ^^^^^^^^^^^^^^^^^^^^^^^^^ -error: Cannot bring Wing directories that contain invalid characters: "in.valid" +error: Cannot bring Wing directories that contain sub-directories with invalid characters: "in.valid" + --> ../../../examples/tests/invalid/bring_invalid_dir.w:1:7 + | +1 | bring "./subdir3" as wontWork; + | ^^^^^^^^^^^ + | + = hint: Directory names must start with a letter or underscore and contain only letters, numbers, and underscores. -error: Cannot bring Wing directories that contain invalid characters: "not-valid" +error: Cannot bring Wing directories that contain sub-directories with invalid characters: "not-valid" + --> ../../../examples/tests/invalid/bring_invalid_dir.w:1:7 + | +1 | bring "./subdir3" as wontWork; + | ^^^^^^^^^^^ + | + = hint: Directory names must start with a letter or underscore and contain only letters, numbers, and underscores. From fb6404e7bd3126a26e1c5904418d0f7b7da30503 Mon Sep 17 00:00:00 2001 From: yoav-steinberg Date: Thu, 27 Jun 2024 15:36:17 +0300 Subject: [PATCH 14/17] fix(compiler): lifting globals from inflight classes defined in preflight fails (#5559) Fixes #2730 The wing compiler always generated dummy preflight classes for inflight classes defined preflight. This means such inflight classes have a lift map and therefore already include all the lift qualification information needed when their mehtods are used inflight. The problem was that our lift visitor ignored references to such classes because it looks for **preflight** expressions to lift, but references to inflight classes aren't preflight expressions. This PR finds such references and creates a special lift with correct qualifications using dummy singleton preflight object representing the relevant inflight class. To get this working the following changes where made: * Each inflight class **defined in preflight** gets a unique id * The generated JS code for each such class stores a map from these unique ids to the generated js preflight class of that inflight class. * Each generated preflight file (wing module) has this map, and when it's imported by another module its map is merged into the importer's map. * The root construct contains a global map from all the unique ids to all the inflight types defined preflight. To achieve this I had to make the imported js files local to the construct tree, so they are now imported in the root object's (entry point object) ctor and not globally. * The base `Resource` class has a satatic `_singleton()` method * The lift visitor, when encountering a reference to an inflight class instance (defined preflight) will qualify the lift in a similar manner to preflight class instances, but it'll use the `_singleton()` method to get a preflight expression representing that object. - [x] Title matches [Winglang's style guide](https://www.winglang.io/contributing/start-here/pull_requests#how-are-pull-request-titles-formatted) - [x] Description explains motivation and solution - [x] Tests added (always) - [ ] Docs updated (only required for features) - [ ] Added `pr/e2e-full` label if this feature requires end-to-end testing *By submitting this pull request, I confirm that my contribution is made under the terms of the [Wing Cloud Contribution License](https://github.com/winglang/wing/blob/main/CONTRIBUTION_LICENSE.md)*. --- apps/wing/src/commands/pack.test.ts | 1 + ...ight_class_capture_preflight_object.test.w | 64 +- examples/tests/valid/subdir2/inflight_class.w | 5 + .../src/dtsify/snapshots/declarations.snap | 13 +- .../wingc/src/dtsify/snapshots/optionals.snap | 9 +- libs/wingc/src/jsify.rs | 128 +-- ...methods_and_properties_on_collections.snap | 3 + .../access_property_on_primitive.snap | 3 + ...rty_on_value_returned_from_collection.snap | 3 + .../allow_type_def_before_super.snap | 3 + .../base_class_captures_inflight.snap | 3 + .../base_class_captures_preflight.snap | 3 + .../snapshots/base_class_lift_indirect.snap | 5 +- .../base_class_with_fields_inflight.snap | 3 + .../base_class_with_fields_preflight.snap | 3 + .../base_class_with_lifted_field_object.snap | 5 +- .../base_class_with_lifted_fields.snap | 3 + libs/wingc/src/jsify/snapshots/builtins.snap | 3 + ..._static_inflight_from_static_inflight.snap | 5 + .../calls_methods_on_preflight_object.snap | 5 +- ...pture_from_inside_an_inflight_closure.snap | 5 +- ...entifier_closure_from_preflight_scope.snap | 3 + ...pture_identifier_from_preflight_scope.snap | 3 + ...from_preflight_scope_with_method_call.snap | 3 + ...om_preflight_scope_with_nested_object.snap | 5 +- ...er_from_preflight_scope_with_property.snap | 3 + .../snapshots/capture_in_keyword_args.snap | 7 +- .../capture_object_with_this_in_name.snap | 5 +- .../src/jsify/snapshots/capture_token.snap | 5 +- ...type_inflight_class_sibling_from_init.snap | 3 + ...pe_inflight_class_sibling_from_method.snap | 3 + ...e_new_inflight_class_inner_no_capture.snap | 3 + ...capture_type_new_inflight_class_outer.snap | 7 + .../snapshots/capture_type_static_method.snap | 3 + ...ure_type_static_method_inflight_class.snap | 7 + .../capture_var_from_method_inflight.snap | 3 + ...ht_class_extends_outer_inflight_class.snap | 7 + .../src/jsify/snapshots/closure_field.snap | 5 +- .../src/jsify/snapshots/entrypoint_this.snap | 3 + .../wingc/src/jsify/snapshots/enum_value.snap | 5 + .../free_inflight_obj_from_inflight.snap | 3 + .../free_preflight_object_from_preflight.snap | 3 + .../jsify/snapshots/func_returns_func.snap | 3 + .../src/jsify/snapshots/identify_field.snap | 5 +- .../implicit_lift_inflight_init.snap | 5 +- .../src/jsify/snapshots/indirect_capture.snap | 5 +- ..._extends_both_inside_inflight_closure.snap | 3 + ...inflight_class_extends_inflight_class.snap | 7 + .../jsify/snapshots/inflight_constructor.snap | 3 + .../src/jsify/snapshots/inflight_field.snap | 3 + .../inflight_field_from_inflight.snap | 3 + .../inflight_field_from_inflight_class.snap | 5 + .../snapshots/inline_inflight_class.snap | 5 +- .../src/jsify/snapshots/json_object.snap | 5 + ...ary_preflight_and_inflight_expression.snap | 3 + .../lift_binary_preflight_expression.snap | 3 + ...lift_element_from_collection_as_field.snap | 5 +- ...ft_element_from_collection_of_objects.snap | 5 +- .../snapshots/lift_inflight_closure.snap | 3 + .../lift_inside_preflight_method.snap | 5 +- .../jsify/snapshots/lift_self_reference.snap | 3 + .../src/jsify/snapshots/lift_string.snap | 3 + libs/wingc/src/jsify/snapshots/lift_this.snap | 3 + .../jsify/snapshots/lift_var_with_this.snap | 3 + .../src/jsify/snapshots/lift_via_closure.snap | 5 +- .../lift_via_closure_class_explicit.snap | 5 +- .../namespaced_static_from_inflight.snap | 7 +- ...ed_inflight_after_preflight_operation.snap | 5 +- .../snapshots/nested_preflight_operation.snap | 5 +- .../jsify/snapshots/new_inflight_object.snap | 7 + .../snapshots/no_capture_inside_methods.snap | 3 + ...apture_of_identifier_from_inner_scope.snap | 3 + ...capture_of_identifier_from_same_scope.snap | 3 + ...no_capture_shadow_inside_inner_scopes.snap | 3 + .../no_lift_shadow_inside_inner_scopes.snap | 3 + ...eflight_class_extends_preflight_class.snap | 3 + .../jsify/snapshots/preflight_collection.snap | 3 + ...light_collection_of_preflight_objects.snap | 5 +- ...eflight_nested_object_with_operations.snap | 5 +- .../src/jsify/snapshots/preflight_object.snap | 3 + .../preflight_object_through_property.snap | 5 +- .../preflight_object_with_operations.snap | 5 +- ...ject_with_operations_multiple_methods.snap | 5 +- .../snapshots/preflight_value_field.snap | 3 + ...ht_type_refrencing_preflight_instance.snap | 209 +++++ .../jsify/snapshots/read_primitive_value.snap | 3 + .../snapshots/reassign_captured_variable.snap | 3 + ...eassigned_captured_variable_preflight.snap | 3 + .../src/jsify/snapshots/ref_std_macro.snap | 3 + .../reference_from_static_inflight.snap | 3 + .../snapshots/reference_inflight_class.snap | 7 + .../snapshots/reference_inflight_field.snap | 3 + .../reference_inflight_from_inflight.snap | 7 + .../reference_lift_of_collection.snap | 3 + .../snapshots/reference_preflight_field.snap | 3 + ...eflight_field_call_independent_method.snap | 3 + .../snapshots/reference_preflight_fields.snap | 5 +- ..._variable_with_this_in_the_expression.snap | 5 +- ...preflight_object_from_static_inflight.snap | 5 +- .../snapshots/reference_static_inflight.snap | 3 + ...ght_which_references_preflight_object.snap | 5 +- .../static_external_inflight_class.snap | 7 + .../static_external_preflight_class.snap | 3 + .../snapshots/static_inflight_operation.snap | 5 +- .../static_local_inflight_class.snap | 3 + .../jsify/snapshots/static_on_std_type.snap | 7 + .../jsify/snapshots/transitive_reference.snap | 5 +- ...ansitive_reference_via_inflight_class.snap | 11 +- .../transitive_reference_via_static.snap | 5 +- .../jsify/snapshots/two_identical_lifts.snap | 5 +- .../jsify/snapshots/use_util_functions.snap | 7 +- .../var_inflight_field_from_inflight.snap | 3 + libs/wingc/src/jsify/snapshots/wait_util.snap | 7 +- libs/wingc/src/jsify/tests.rs | 23 + libs/wingc/src/lifting.rs | 57 +- libs/wingc/src/lsp/symbol_locator.rs | 2 +- libs/wingc/src/type_check.rs | 129 +-- libs/wingc/src/type_check/jsii_importer.rs | 5 + libs/wingc/src/type_check/lifts.rs | 2 +- libs/wingc/src/visit_context.rs | 8 +- libs/wingsdk/src/core/lifting.ts | 5 +- libs/wingsdk/src/helpers.ts | 60 ++ tools/hangar/__snapshots__/invalid.ts.snap | 14 - .../anon_function.test.w_compile_tf-aws.md | 3 + .../valid/api.test.w_compile_tf-aws.md | 7 +- .../api_cors_custom.test.w_compile_tf-aws.md | 27 +- .../api_cors_default.test.w_compile_tf-aws.md | 21 +- .../api_valid_path.test.w_compile_tf-aws.md | 7 +- .../valid/assert.test.w_compile_tf-aws.md | 3 + ...wait_in_functions.test.w_compile_tf-aws.md | 5 +- .../test_corpus/valid/baz.w_compile_tf-aws.md | 3 +- .../bring_alias.test.w_compile_tf-aws.md | 7 +- .../bring_awscdk.test.w_compile_tf-aws.md | 5 +- .../bring_cdk8s.test.w_compile_tf-aws.md | 7 +- .../bring_cdktf.test.w_compile_tf-aws.md | 7 +- ..._extend_non_entry.test.w_compile_tf-aws.md | 8 +- .../valid/bring_jsii.test.w_compile_tf-aws.md | 11 +- .../bring_local.test.w_compile_tf-aws.md | 26 +- .../bring_local_dir.test.w_compile_tf-aws.md | 98 ++- ...cal_normalization.test.w_compile_tf-aws.md | 22 +- .../bring_projen.test.w_compile_tf-aws.md | 5 +- ...ring_wing_library.test.w_compile_tf-aws.md | 36 +- .../bucket_keys.test.w_compile_tf-aws.md | 5 +- .../bypass_return.test.w_compile_tf-aws.md | 3 + ..._static_of_myself.test.w_compile_tf-aws.md | 11 + ...inflight_variants.test.w_compile_tf-aws.md | 3 + ...apture_containers.test.w_compile_tf-aws.md | 5 +- ...capture_in_binary.test.w_compile_tf-aws.md | 5 +- .../capture_mutables.test.w_compile_tf-aws.md | 3 + ...apture_primitives.test.w_compile_tf-aws.md | 5 +- ...gable_class_field.test.w_compile_tf-aws.md | 9 +- ...ture_reassignable.test.w_compile_tf-aws.md | 5 +- ...resource_and_data.test.w_compile_tf-aws.md | 5 +- ..._with_no_inflight.test.w_compile_tf-aws.md | 5 +- .../capture_tokens.test.w_compile_tf-aws.md | 5 +- .../valid/captures.test.w_compile_tf-aws.md | 5 +- .../valid/casting.test.w_compile_tf-aws.md | 9 +- .../valid/class.test.w_compile_tf-aws.md | 13 +- .../closure_class.test.w_compile_tf-aws.md | 3 + .../construct-base.test.w_compile_tf-aws.md | 9 +- .../container_types.test.w_compile_tf-aws.md | 5 +- .../custom_obj_id.test.w_compile_tf-aws.md | 3 + .../valid/debug_env.test.w_compile_tf-aws.md | 5 +- .../deep_equality.test.w_compile_tf-aws.md | 5 + .../double_reference.test.w_compile_tf-aws.md | 5 +- .../valid/doubler.test.w_compile_tf-aws.md | 9 +- .../valid/enums.test.w_compile_tf-aws.md | 7 + ...ift_qualification.test.w_compile_tf-aws.md | 5 +- ..._binary_operators.test.w_compile_tf-aws.md | 3 + ...ing_interpolation.test.w_compile_tf-aws.md | 7 +- .../extend_non_entrypoint.w_compile_tf-aws.md | 3 +- ...rn_implementation.test.w_compile_tf-aws.md | 5 +- .../file_counter.test.w_compile_tf-aws.md | 5 +- .../valid/for_loop.test.w_compile_tf-aws.md | 5 +- .../forward_decl.test.w_compile_tf-aws.md | 3 + ...ptional_arguments.test.w_compile_tf-aws.md | 3 + ..._returns_function.test.w_compile_tf-aws.md | 5 +- .../function_type.test.w_compile_tf-aws.md | 3 + ...ariadic_arguments.test.w_compile_tf-aws.md | 5 +- .../valid/hello.test.w_compile_tf-aws.md | 5 +- ...entical_inflights.test.w_compile_tf-aws.md | 3 + .../impl_interface.test.w_compile_tf-aws.md | 9 +- .../implicit_std.test.w_compile_tf-aws.md | 3 + ...n_scope_construct.test.w_compile_tf-aws.md | 5 +- .../valid/indexing.test.w_compile_tf-aws.md | 7 +- .../valid/inference.test.w_compile_tf-aws.md | 5 +- ...light-subscribers.test.w_compile_tf-aws.md | 5 +- ...ht_capture_static.test.w_compile_tf-aws.md | 11 +- ...as_struct_members.test.w_compile_tf-aws.md | 9 + ...ass_capture_const.test.w_compile_tf-aws.md | 11 +- ..._preflight_object.test.w_compile_tf-aws.md | 746 ++++++++++++++++++ ...apture_preflight_object.test.w_test_sim.md | 8 +- ...class_definitions.test.w_compile_tf-aws.md | 15 + ...r_capture_mutable.test.w_compile_tf-aws.md | 5 +- ..._inflight_closure.test.w_compile_tf-aws.md | 5 +- ...t_class_modifiers.test.w_compile_tf-aws.md | 5 + ..._inflight_closure.test.w_compile_tf-aws.md | 11 +- ..._interace_handler.test.w_compile_tf-aws.md | 10 +- ...lass_without_init.test.w_compile_tf-aws.md | 9 +- ...re_as_super_param.test.w_compile_tf-aws.md | 3 + ...ht_closure_autoid.test.w_compile_tf-aws.md | 3 + ...preflight_closure.test.w_compile_tf-aws.md | 3 + .../inflight_concat.test.w_compile_tf-aws.md | 5 +- ...handler_singleton.test.w_compile_tf-aws.md | 19 +- .../inflight_init.test.w_compile_tf-aws.md | 19 +- ...calling_inflights.test.w_compile_tf-aws.md | 5 +- ...erit_stdlib_class.test.w_compile_tf-aws.md | 9 +- ...ce_class_inflight.test.w_compile_tf-aws.md | 7 +- ...e_class_preflight.test.w_compile_tf-aws.md | 5 +- ...ritance_interface.test.w_compile_tf-aws.md | 5 +- .../valid/interface.test.w_compile_tf-aws.md | 3 + .../valid/intrinsics.test.w_compile_tf-aws.md | 16 +- .../valid/issue_2889.test.w_compile_tf-aws.md | 13 +- .../valid/json.test.w_compile_tf-aws.md | 5 +- .../json_bucket.test.w_compile_tf-aws.md | 5 +- .../json_static.test.w_compile_tf-aws.md | 7 +- ...ing_interpolation.test.w_compile_tf-aws.md | 3 + ...ft_expr_with_this.test.w_compile_tf-aws.md | 3 + ...losure_collection.test.w_compile_tf-aws.md | 5 +- ..._object_issue6501.test.w_compile_tf-aws.md | 11 +- ...ift_parent_fields.test.w_compile_tf-aws.md | 3 + ...lift_redefinition.test.w_compile_tf-aws.md | 3 + ...t_shared_resource.test.w_compile_tf-aws.md | 9 +- .../valid/lift_this.test.w_compile_tf-aws.md | 7 +- .../lift_via_closure.test.w_compile_tf-aws.md | 5 +- ..._closure_explicit.test.w_compile_tf-aws.md | 5 +- .../lift_weird_order.test.w_compile_tf-aws.md | 3 + ...ft_with_phase_ind.test.w_compile_tf-aws.md | 7 +- .../map_entries.test.w_compile_tf-aws.md | 3 + ...t_container_types.test.w_compile_tf-aws.md | 5 +- ..._after_class_init.test.w_compile_tf-aws.md | 9 +- .../new_in_static.test.w_compile_tf-aws.md | 14 +- .../new_in_static_lib.w_compile_tf-aws.md | 3 +- .../valid/new_jsii.test.w_compile_tf-aws.md | 5 +- .../valid/nil.test.w_compile_tf-aws.md | 5 +- .../valid/on_lift.test.w_compile_tf-aws.md | 8 +- .../valid/optionals.test.w_compile_tf-aws.md | 5 +- .../parameters.test.w_compile_tf-aws.md | 3 + .../parameters.test.w_compile_tf-aws.md | 3 + ..._method_on_string.test.w_compile_tf-aws.md | 9 +- ...primitive_methods.test.w_compile_tf-aws.md | 3 + .../valid/print.test.w_compile_tf-aws.md | 5 +- .../reassignment.test.w_compile_tf-aws.md | 3 + .../valid/redis.test.w_compile_tf-aws.md | 11 +- .../valid/resource.test.w_compile_tf-aws.md | 11 +- ..._inflight_literal.test.w_compile_tf-aws.md | 5 +- ...ource_call_static.test.w_compile_tf-aws.md | 5 +- ...resource_captures.test.w_compile_tf-aws.md | 5 +- ..._captures_globals.test.w_compile_tf-aws.md | 9 +- .../valid/service.test.w_compile_tf-aws.md | 3 + .../valid/shadowing.test.w_compile_tf-aws.md | 5 +- .../sim_resource.test.w_compile_tf-aws.md | 9 +- ...tatements_before_super.w_compile_tf-aws.md | 3 +- .../statements_if.test.w_compile_tf-aws.md | 5 +- ...able_declarations.test.w_compile_tf-aws.md | 3 + .../static_members.test.w_compile_tf-aws.md | 5 +- .../std_containers.test.w_compile_tf-aws.md | 3 + .../valid/std_string.test.w_compile_tf-aws.md | 3 + .../valid/store.w_compile_tf-aws.md | 8 +- .../valid/stringify.test.w_compile_tf-aws.md | 3 + .../struct_from_json.test.w_compile_tf-aws.md | 33 +- .../valid/structs.test.w_compile_tf-aws.md | 5 +- .../valid/super_call.test.w_compile_tf-aws.md | 19 +- .../symbol_shadow.test.w_compile_tf-aws.md | 5 +- .../valid/table.test.w_compile_tf-aws.md | 5 +- .../test_bucket.test.w_compile_tf-aws.md | 5 +- ...est_without_bring.test.w_compile_tf-aws.md | 3 + .../valid/this.test.w_compile_tf-aws.md | 5 +- .../to_inflight.test.w_compile_tf-aws.md | 5 +- .../valid/try_catch.test.w_compile_tf-aws.md | 3 + .../unused_lift.test.w_compile_tf-aws.md | 5 +- ...side_init_closure.test.w_compile_tf-aws.md | 5 +- .../website_with_api.test.w_compile_tf-aws.md | 27 +- .../valid/while.test.w_compile_tf-aws.md | 3 + .../while_loop_await.test.w_compile_tf-aws.md | 5 +- 275 files changed, 2670 insertions(+), 416 deletions(-) create mode 100644 examples/tests/valid/subdir2/inflight_class.w create mode 100644 libs/wingc/src/jsify/snapshots/qualify_inflight_type_refrencing_preflight_instance.snap diff --git a/apps/wing/src/commands/pack.test.ts b/apps/wing/src/commands/pack.test.ts index 3bc815e0143..d424bb258ba 100644 --- a/apps/wing/src/commands/pack.test.ts +++ b/apps/wing/src/commands/pack.test.ts @@ -200,6 +200,7 @@ describe("wing pack", () => { expect(mod).toBeDefined(); expect(Object.keys(mod).sort()).toMatchInlineSnapshot(` [ + "$preflightTypesMap", "FavoriteNumbers", "Store", "default", diff --git a/examples/tests/valid/inflight_class_capture_preflight_object.test.w b/examples/tests/valid/inflight_class_capture_preflight_object.test.w index 1dfeaceedaf..e23242ddb45 100644 --- a/examples/tests/valid/inflight_class_capture_preflight_object.test.w +++ b/examples/tests/valid/inflight_class_capture_preflight_object.test.w @@ -1,18 +1,54 @@ -// https://github.com/winglang/wing/issues/2730 -// FAILING: +bring cloud; +bring "./subdir2" as subdir; -// bring cloud; +let b = new cloud.Bucket(); -// let b = new cloud.Bucket(); -// let myConst = "bang bang"; +inflight class Foo { + pub uploadToBucket(k: str, value: str) { + b.put(k, value); + assert(b.get(k) == value); + } -// inflight class Foo { -// uploadToBucket(k: str, value: str) { -// b.put(k, value); -// } -// } + static pub fooStatic() { + b.put("a", "b"); + assert(b.list() == ["a"]); + } +} -// test "inflight class captures preflight resource" { -// let f = new Foo(); -// f.uploadToBucket("hello.txt", "world"); -// } +test "inflight class captures preflight resource" { + let f = new Foo(); + f.uploadToBucket("hello.txt", "world"); +} + +test "inflight class type captures preflight resource" { + Foo.fooStatic(); +} + + +let getFoo = inflight () => { + return new Foo(); +}; + +test "inflight class qualified without explicit reference" { + // Get instance of Foo without mentioning the type + let foo = getFoo(); + // Now Foo needs to be qualified correcly + foo.uploadToBucket("greetings.txt", "universe"); +} + +test "inflight class defined inflight captures preflight object" { + class Foo2 { + pub uploadToBucket() { + b.put("x", "y"); + assert(b.get("x") == "y"); + } + } + + let f = new Foo2(); + f.uploadToBucket(); +} + +test "bring inflight class from subdir" { + let x = new subdir.InflightClass(); + assert(x.method() == "What did you expect?"); +} diff --git a/examples/tests/valid/subdir2/inflight_class.w b/examples/tests/valid/subdir2/inflight_class.w new file mode 100644 index 00000000000..bdf37243fe0 --- /dev/null +++ b/examples/tests/valid/subdir2/inflight_class.w @@ -0,0 +1,5 @@ +pub inflight class InflightClass { + pub method(): str { + return "What did you expect?"; + } +} \ No newline at end of file diff --git a/libs/wingc/src/dtsify/snapshots/declarations.snap b/libs/wingc/src/dtsify/snapshots/declarations.snap index 98f93db09e3..59471505957 100644 --- a/libs/wingc/src/dtsify/snapshots/declarations.snap +++ b/libs/wingc/src/dtsify/snapshots/declarations.snap @@ -105,9 +105,9 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -module.exports = { - ...require("./preflight.lib-1.cjs"), -}; +const $preflightTypesMap = {}; +Object.assign(module.exports, $helpers.bringJs(`${__dirname}/preflight.lib-1.cjs`, $preflightTypesMap)); +module.exports = { ...module.exports, $preflightTypesMap }; //# sourceMappingURL=preflight.cjs.map ``` @@ -125,6 +125,7 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +let $preflightTypesMap = {}; class InflightClass extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -155,6 +156,8 @@ class InflightClass extends $stdlib.std.Resource { }); } } +if ($preflightTypesMap[1]) { throw new Error("InflightClass is already in type map"); } +$preflightTypesMap[1] = InflightClass; class ParentClass extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -186,12 +189,14 @@ class ParentClass extends $stdlib.std.Resource { "bar": [ ], "$inflight_init": [ + [InflightClass, []], ], }); } static get _liftTypeMap() { return ({ "static_method": [ + [InflightClass, []], ], }); } @@ -225,7 +230,7 @@ class Child extends ParentClass { }); } } -module.exports = { InflightClass, ParentClass, Child }; +module.exports = { $preflightTypesMap, InflightClass, ParentClass, Child }; //# sourceMappingURL=preflight.lib-1.cjs.map ``` diff --git a/libs/wingc/src/dtsify/snapshots/optionals.snap b/libs/wingc/src/dtsify/snapshots/optionals.snap index deac88efa6f..f2ec550c899 100644 --- a/libs/wingc/src/dtsify/snapshots/optionals.snap +++ b/libs/wingc/src/dtsify/snapshots/optionals.snap @@ -46,9 +46,9 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -module.exports = { - ...require("./preflight.lib-1.cjs"), -}; +const $preflightTypesMap = {}; +Object.assign(module.exports, $helpers.bringJs(`${__dirname}/preflight.lib-1.cjs`, $preflightTypesMap)); +module.exports = { ...module.exports, $preflightTypesMap }; //# sourceMappingURL=preflight.cjs.map ``` @@ -66,6 +66,7 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +let $preflightTypesMap = {}; class ParentClass extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -96,7 +97,7 @@ class ParentClass extends $stdlib.std.Resource { }); } } -module.exports = { ParentClass }; +module.exports = { $preflightTypesMap, ParentClass }; //# sourceMappingURL=preflight.lib-1.cjs.map ``` diff --git a/libs/wingc/src/jsify.rs b/libs/wingc/src/jsify.rs index bba287f31a7..93d8d35c89a 100644 --- a/libs/wingc/src/jsify.rs +++ b/libs/wingc/src/jsify.rs @@ -41,8 +41,8 @@ const PREFLIGHT_FILE_NAME: &str = "preflight.cjs"; const STDLIB: &str = "$stdlib"; const STDLIB_CORE: &str = formatcp!("{STDLIB}.core"); -const STDLIB_CORE_RESOURCE: &str = formatcp!("{}.{}", STDLIB, WINGSDK_RESOURCE); -const STDLIB_CORE_AUTOID_RESOURCE: &str = formatcp!("{}.{}", STDLIB, WINGSDK_AUTOID_RESOURCE); +const STDLIB_CORE_RESOURCE: &str = formatcp!("{STDLIB}.{WINGSDK_RESOURCE}"); +const STDLIB_CORE_AUTOID_RESOURCE: &str = formatcp!("{STDLIB}.{WINGSDK_AUTOID_RESOURCE}"); const STDLIB_MODULE: &str = WINGSDK_ASSEMBLY_NAME; const ENV_WING_IS_TEST: &str = "$wing_is_test"; @@ -59,6 +59,9 @@ const __DIRNAME: &str = "__dirname"; const SUPER_CLASS_INFLIGHT_INIT_NAME: &str = formatcp!("super_{CLASS_INFLIGHT_INIT_NAME}"); +const PREFLIGHT_TYPES_MAP: &str = "$helpers.nodeof(this).root.$preflightTypesMap"; +const MODULE_PREFLIGHT_TYPES_MAP: &str = "$preflightTypesMap"; + const SCOPE_PARAM: &str = "$scope"; pub struct JSifyContext<'a> { @@ -100,7 +103,7 @@ impl VisitorWithContext for JSifyContext<'_> { /// Preflight classes have two types of host binding methods: /// `Type` for binding static fields and methods to the host and /// `instance` for binding instance fields and methods to the host. -#[derive(PartialEq, Eq)] +#[derive(PartialEq)] enum BindMethod { Type, Instance, @@ -154,11 +157,7 @@ impl<'a> JSifier<'a> { }) { let scope_env = self.types.get_scope_env(&scope); let s = self.jsify_statement(&scope_env, statement, &mut jsify_context); // top level statements are always preflight - if let StmtKind::Bring { - identifier: _, - source: _, - } = statement.kind - { + if matches!(statement.kind, StmtKind::Bring { .. }) { imports.add_code(s); } else { js.add_code(s); @@ -193,14 +192,23 @@ impl<'a> JSifier<'a> { output.line(format!( "const {EXTERN_VAR} = {HELPERS_VAR}.createExternRequire({__DIRNAME});" )); - output.add_code(imports); if is_entrypoint { let mut root_class = CodeMaker::default(); root_class.open(format!("class {} extends {} {{", ROOT_CLASS, STDLIB_CORE_RESOURCE)); root_class.open(format!("{JS_CONSTRUCTOR}({SCOPE_PARAM}, $id) {{")); root_class.line(format!("super({SCOPE_PARAM}, $id);")); + root_class.line(format!("{PREFLIGHT_TYPES_MAP} = {{ }};")); + + // The root preflight types map + root_class.line(format!("let {MODULE_PREFLIGHT_TYPES_MAP} = {{}};")); + + root_class.add_code(imports); root_class.add_code(self.jsify_struct_schemas(source_path)); + + // A global map pointing to the root preflight types map + root_class.line(format!("{PREFLIGHT_TYPES_MAP} = {MODULE_PREFLIGHT_TYPES_MAP};")); + root_class.add_code(js); root_class.close("}"); root_class.close("}"); @@ -220,35 +228,43 @@ impl<'a> JSifier<'a> { let directory_children = self.source_file_graph.dependencies_of(source_path); let preflight_file_map = self.preflight_file_map.borrow(); - // supposing a directory has two files and two subdirectories in it, + // supposing a directory has a file and a subdirectory in it, // we generate code like this: // ``` - // module.exports = { - // get inner_directory1() { return require("./preflight.inner-directory1.cjs") }, - // get inner_directory2() { return require("./preflight.inner-directory2.cjs") }, - // ...require("./preflight.inner-file1.cjs"), - // ...require("./preflight.inner-file2.cjs"), - // }; + // let $preflightTypesMap = {}; + // Object.assign(module.exports, $helpers.bringJs("./preflight.inner-file1.js", $preflightTypesMap)); + // Object.assign(module.exports, { get inner_directory1() { $helpers.bringJs("./preflight.inner-directory1.js", $preflightTypesMap); } }); + // module.exports = { ...module.exports, $preflightTypesMap }; // ``` - output.open("module.exports = {"); + + // This module's preflight type map + output.line(format!("const {MODULE_PREFLIGHT_TYPES_MAP} = {{}};")); + for file in directory_children { let preflight_file_name = preflight_file_map.get(file).expect("no emitted JS file found"); if file.is_dir() { let directory_name = file.file_stem().unwrap(); output.line(format!( - "get {directory_name}() {{ return require(\"./{preflight_file_name}\") }}," + "Object.assign(module.exports, {{ get {directory_name}() {{ return $helpers.bringJs(`${{__dirname}}/{preflight_file_name}`, {MODULE_PREFLIGHT_TYPES_MAP}); }} }});" )); } else { - output.line(format!("...require(\"./{preflight_file_name}\"),")); + output.line(format!( + "Object.assign(module.exports, $helpers.bringJs(`${{__dirname}}/{preflight_file_name}`, {MODULE_PREFLIGHT_TYPES_MAP}));" + )); } } - output.close("};"); + output.line(format!( + "module.exports = {{ ...module.exports, {MODULE_PREFLIGHT_TYPES_MAP} }};" + )); } else { + // This module's preflight type map + output.line(format!("let {MODULE_PREFLIGHT_TYPES_MAP} = {{}};")); + output.add_code(imports); output.add_code(self.jsify_struct_schemas(source_path)); output.add_code(js); let exports = get_public_symbols(&scope); output.line(format!( - "module.exports = {{ {} }};", + "module.exports = {{ {MODULE_PREFLIGHT_TYPES_MAP}, {} }};", exports.iter().map(ToString::to_string).join(", ") )); } @@ -1166,10 +1182,7 @@ impl<'a> JSifier<'a> { code.line(format!("const {var_name} = {STDLIB}.{name};")) } BringSource::TrustedModule(name, module_dir) => { - let preflight_file_map = self.preflight_file_map.borrow(); - let preflight_file_name = preflight_file_map.get(module_dir).unwrap(); - let var_name = identifier.as_ref().unwrap_or(&name); - code.line(format!("const {var_name} = require(\"./{preflight_file_name}\");")) + code.append(self.jsify_bring_stmt(module_dir, &Some(identifier.as_ref().unwrap_or(name).clone()))); } BringSource::JsiiModule(name) => { // checked during type checking @@ -1177,25 +1190,10 @@ impl<'a> JSifier<'a> { code.line(format!("const {var_name} = require(\"{name}\");")) } BringSource::WingLibrary(_, module_dir) => { - // checked during type checking - let var_name = identifier.as_ref().expect("bring wing library requires an alias"); - let preflight_file_map = self.preflight_file_map.borrow(); - let preflight_file_name = preflight_file_map.get(module_dir).unwrap(); - code.line(format!("const {var_name} = require(\"./{preflight_file_name}\");")) - } - BringSource::WingFile(path) => { - // checked during type checking - let var_name = identifier.as_ref().expect("bring wing file requires an alias"); - let preflight_file_map = self.preflight_file_map.borrow(); - let preflight_file_name = preflight_file_map.get(path).unwrap(); - code.line(format!("const {var_name} = require(\"./{preflight_file_name}\");")) + code.append(self.jsify_bring_stmt(module_dir, identifier)); } - BringSource::Directory(path) => { - // checked during type checking - let preflight_file_map = self.preflight_file_map.borrow(); - let preflight_file_name = preflight_file_map.get(path).unwrap(); - let var_name = identifier.as_ref().expect("bring wing directory requires an alias"); - code.line(format!("const {var_name} = require(\"./{preflight_file_name}\");")) + BringSource::Directory(path) | BringSource::WingFile(path) => { + code.append(self.jsify_bring_stmt(path, identifier)); } }, StmtKind::SuperConstructor { arg_list } => { @@ -1498,6 +1496,18 @@ impl<'a> JSifier<'a> { code } + fn jsify_bring_stmt(&self, path: &Utf8Path, identifier: &Option) -> CodeMaker { + let mut code = CodeMaker::default(); + // checked during type checking + let var_name = identifier.as_ref().expect("bring wing module requires an alias"); + let preflight_file_map = self.preflight_file_map.borrow(); + let preflight_file_name = preflight_file_map.get(path).unwrap(); + code.line(format!( + "const {var_name} = $helpers.bringJs(`${{__dirname}}/{preflight_file_name}`, {MODULE_PREFLIGHT_TYPES_MAP});" + )); + code + } + fn jsify_enum(&self, name: &Symbol, values: &IndexMap>) -> CodeMaker { let mut code = CodeMaker::with_source(&name.span); let mut value_index = 0; @@ -1849,10 +1859,32 @@ impl<'a> JSifier<'a> { code.add_code(self.jsify_register_bind_method(class, class_type, BindMethod::Type, ctx)); code.close("}"); + + // Inflight classes might need to be lift-qualified (onLift), but their type name might not be necessarily available + // at the scope when they are qualified (it might even be shadowed by another type name). We store a reference to these + // class types in a global preflight types map indexed by the class's unique id. + if class.phase == Phase::Inflight { + code.line(format!( + "if ({MODULE_PREFLIGHT_TYPES_MAP}[{}]) {{ throw new Error(\"{} is already in type map\"); }}", + class_type.as_class().unwrap().uid, + class.name + )); + code.line(format!( + "{MODULE_PREFLIGHT_TYPES_MAP}[{}] = {};", + class_type.as_class().unwrap().uid, + class.name + )); + } + code }) } + pub fn class_singleton(&self, type_: TypeRef) -> String { + let c = type_.as_class().unwrap(); + format!("$helpers.preflightClassSingleton(this, {})", c.uid) + } + fn jsify_preflight_constructor(&self, class: &AstClass, ctx: &mut JSifyContext) -> CodeMaker { let mut code = new_code!( &class.name.span, @@ -2170,9 +2202,9 @@ impl<'a> JSifier<'a> { } } - for m in class.inflight_fields() { - let name = &m.name; - let is_static = m.is_static; + for f in class.inflight_fields() { + let name = &f.name; + let is_static = f.is_static; let filter = match bind_method_kind { BindMethod::Instance => !is_static, BindMethod::Type => is_static, @@ -2197,7 +2229,9 @@ impl<'a> JSifier<'a> { if bind_method_kind == BindMethod::Instance && class.parent.is_some() { // mergeLiftDeps is a helper method that combines the lift deps of the parent class with the // lift deps of this class - bind_method.open(format!("return {STDLIB_CORE}.mergeLiftDeps(super._liftMap, {{")); + bind_method.open(format!( + "return {STDLIB_CORE}.mergeLiftDeps(super.{bind_method_name}, {{" + )); } else { bind_method.open("return ({".to_string()); } diff --git a/libs/wingc/src/jsify/snapshots/access_methods_and_properties_on_collections.snap b/libs/wingc/src/jsify/snapshots/access_methods_and_properties_on_collections.snap index ebc433dcb62..c396742c435 100644 --- a/libs/wingc/src/jsify/snapshots/access_methods_and_properties_on_collections.snap +++ b/libs/wingc/src/jsify/snapshots/access_methods_and_properties_on_collections.snap @@ -51,6 +51,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/access_property_on_primitive.snap b/libs/wingc/src/jsify/snapshots/access_property_on_primitive.snap index b5771fcc0b9..d093b8b3e3f 100644 --- a/libs/wingc/src/jsify/snapshots/access_property_on_primitive.snap +++ b/libs/wingc/src/jsify/snapshots/access_property_on_primitive.snap @@ -48,6 +48,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/access_property_on_value_returned_from_collection.snap b/libs/wingc/src/jsify/snapshots/access_property_on_value_returned_from_collection.snap index fdce5f92022..3a47440282e 100644 --- a/libs/wingc/src/jsify/snapshots/access_property_on_value_returned_from_collection.snap +++ b/libs/wingc/src/jsify/snapshots/access_property_on_value_returned_from_collection.snap @@ -48,6 +48,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/allow_type_def_before_super.snap b/libs/wingc/src/jsify/snapshots/allow_type_def_before_super.snap index bd00d29aa47..afc28743af5 100644 --- a/libs/wingc/src/jsify/snapshots/allow_type_def_before_super.snap +++ b/libs/wingc/src/jsify/snapshots/allow_type_def_before_super.snap @@ -77,6 +77,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, x) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/base_class_captures_inflight.snap b/libs/wingc/src/jsify/snapshots/base_class_captures_inflight.snap index c996859fb2d..ca2c6cc48fd 100644 --- a/libs/wingc/src/jsify/snapshots/base_class_captures_inflight.snap +++ b/libs/wingc/src/jsify/snapshots/base_class_captures_inflight.snap @@ -72,6 +72,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Base extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/base_class_captures_preflight.snap b/libs/wingc/src/jsify/snapshots/base_class_captures_preflight.snap index 989c402998a..53de74f2c34 100644 --- a/libs/wingc/src/jsify/snapshots/base_class_captures_preflight.snap +++ b/libs/wingc/src/jsify/snapshots/base_class_captures_preflight.snap @@ -66,6 +66,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Base extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/base_class_lift_indirect.snap b/libs/wingc/src/jsify/snapshots/base_class_lift_indirect.snap index a1098a4325a..945f43e89f4 100644 --- a/libs/wingc/src/jsify/snapshots/base_class_lift_indirect.snap +++ b/libs/wingc/src/jsify/snapshots/base_class_lift_indirect.snap @@ -77,10 +77,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Base extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/base_class_with_fields_inflight.snap b/libs/wingc/src/jsify/snapshots/base_class_with_fields_inflight.snap index 1bcabfc5528..188a438eafd 100644 --- a/libs/wingc/src/jsify/snapshots/base_class_with_fields_inflight.snap +++ b/libs/wingc/src/jsify/snapshots/base_class_with_fields_inflight.snap @@ -81,6 +81,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Base extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/base_class_with_fields_preflight.snap b/libs/wingc/src/jsify/snapshots/base_class_with_fields_preflight.snap index c5faa235839..e055ea9023c 100644 --- a/libs/wingc/src/jsify/snapshots/base_class_with_fields_preflight.snap +++ b/libs/wingc/src/jsify/snapshots/base_class_with_fields_preflight.snap @@ -71,6 +71,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Base extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/base_class_with_lifted_field_object.snap b/libs/wingc/src/jsify/snapshots/base_class_with_lifted_field_object.snap index e2a2891ef78..70cc6660dad 100644 --- a/libs/wingc/src/jsify/snapshots/base_class_with_lifted_field_object.snap +++ b/libs/wingc/src/jsify/snapshots/base_class_with_lifted_field_object.snap @@ -68,10 +68,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Base extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/base_class_with_lifted_fields.snap b/libs/wingc/src/jsify/snapshots/base_class_with_lifted_fields.snap index 7793850313b..eef16a40a7e 100644 --- a/libs/wingc/src/jsify/snapshots/base_class_with_lifted_fields.snap +++ b/libs/wingc/src/jsify/snapshots/base_class_with_lifted_fields.snap @@ -71,6 +71,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Base extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/builtins.snap b/libs/wingc/src/jsify/snapshots/builtins.snap index 53008dfdff0..c27f7a970b4 100644 --- a/libs/wingc/src/jsify/snapshots/builtins.snap +++ b/libs/wingc/src/jsify/snapshots/builtins.snap @@ -46,6 +46,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/call_static_inflight_from_static_inflight.snap b/libs/wingc/src/jsify/snapshots/call_static_inflight_from_static_inflight.snap index d131a1db629..74ed9c87f61 100644 --- a/libs/wingc/src/jsify/snapshots/call_static_inflight_from_static_inflight.snap +++ b/libs/wingc/src/jsify/snapshots/call_static_inflight_from_static_inflight.snap @@ -65,6 +65,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class A extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -136,6 +139,8 @@ class $Root extends $stdlib.std.Resource { }); } } + if ($preflightTypesMap[2]) { throw new Error("B is already in type map"); } + $preflightTypesMap[2] = B; } } const $PlatformManager = new $stdlib.platform.PlatformManager({platformPaths: $platforms}); diff --git a/libs/wingc/src/jsify/snapshots/calls_methods_on_preflight_object.snap b/libs/wingc/src/jsify/snapshots/calls_methods_on_preflight_object.snap index e34ef9d6acd..4bf1644e044 100644 --- a/libs/wingc/src/jsify/snapshots/calls_methods_on_preflight_object.snap +++ b/libs/wingc/src/jsify/snapshots/calls_methods_on_preflight_object.snap @@ -48,10 +48,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/capture_from_inside_an_inflight_closure.snap b/libs/wingc/src/jsify/snapshots/capture_from_inside_an_inflight_closure.snap index 09e9197b655..f3d25d6bb08 100644 --- a/libs/wingc/src/jsify/snapshots/capture_from_inside_an_inflight_closure.snap +++ b/libs/wingc/src/jsify/snapshots/capture_from_inside_an_inflight_closure.snap @@ -48,10 +48,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const util = $stdlib.util; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const util = $stdlib.util; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/capture_identifier_closure_from_preflight_scope.snap b/libs/wingc/src/jsify/snapshots/capture_identifier_closure_from_preflight_scope.snap index 855df068e77..f699bc23896 100644 --- a/libs/wingc/src/jsify/snapshots/capture_identifier_closure_from_preflight_scope.snap +++ b/libs/wingc/src/jsify/snapshots/capture_identifier_closure_from_preflight_scope.snap @@ -67,6 +67,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/capture_identifier_from_preflight_scope.snap b/libs/wingc/src/jsify/snapshots/capture_identifier_from_preflight_scope.snap index 7fc9b80532b..79c6953004d 100644 --- a/libs/wingc/src/jsify/snapshots/capture_identifier_from_preflight_scope.snap +++ b/libs/wingc/src/jsify/snapshots/capture_identifier_from_preflight_scope.snap @@ -47,6 +47,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/capture_identifier_from_preflight_scope_with_method_call.snap b/libs/wingc/src/jsify/snapshots/capture_identifier_from_preflight_scope_with_method_call.snap index 13cc38e59bb..b2f07c217a5 100644 --- a/libs/wingc/src/jsify/snapshots/capture_identifier_from_preflight_scope_with_method_call.snap +++ b/libs/wingc/src/jsify/snapshots/capture_identifier_from_preflight_scope_with_method_call.snap @@ -68,6 +68,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/capture_identifier_from_preflight_scope_with_nested_object.snap b/libs/wingc/src/jsify/snapshots/capture_identifier_from_preflight_scope_with_nested_object.snap index b5fbf73536b..0ec257d3e11 100644 --- a/libs/wingc/src/jsify/snapshots/capture_identifier_from_preflight_scope_with_nested_object.snap +++ b/libs/wingc/src/jsify/snapshots/capture_identifier_from_preflight_scope_with_nested_object.snap @@ -68,10 +68,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/capture_identifier_from_preflight_scope_with_property.snap b/libs/wingc/src/jsify/snapshots/capture_identifier_from_preflight_scope_with_property.snap index a758b92f8cc..9a5ef810928 100644 --- a/libs/wingc/src/jsify/snapshots/capture_identifier_from_preflight_scope_with_property.snap +++ b/libs/wingc/src/jsify/snapshots/capture_identifier_from_preflight_scope_with_property.snap @@ -47,6 +47,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/capture_in_keyword_args.snap b/libs/wingc/src/jsify/snapshots/capture_in_keyword_args.snap index 312283f1f43..0d9c3a3923e 100644 --- a/libs/wingc/src/jsify/snapshots/capture_in_keyword_args.snap +++ b/libs/wingc/src/jsify/snapshots/capture_in_keyword_args.snap @@ -49,10 +49,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const util = $stdlib.util; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const util = $stdlib.util; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -81,9 +84,11 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), ["waitUntil"]], [x, []], ], "$inflight_init": [ + [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), []], [x, []], ], }); diff --git a/libs/wingc/src/jsify/snapshots/capture_object_with_this_in_name.snap b/libs/wingc/src/jsify/snapshots/capture_object_with_this_in_name.snap index e08d93d3d5f..af034f5f15a 100644 --- a/libs/wingc/src/jsify/snapshots/capture_object_with_this_in_name.snap +++ b/libs/wingc/src/jsify/snapshots/capture_object_with_this_in_name.snap @@ -45,10 +45,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/capture_token.snap b/libs/wingc/src/jsify/snapshots/capture_token.snap index 7d280541b37..b4e6974caca 100644 --- a/libs/wingc/src/jsify/snapshots/capture_token.snap +++ b/libs/wingc/src/jsify/snapshots/capture_token.snap @@ -44,10 +44,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/capture_type_inflight_class_sibling_from_init.snap b/libs/wingc/src/jsify/snapshots/capture_type_inflight_class_sibling_from_init.snap index e33734b441e..0a05c2e625e 100644 --- a/libs/wingc/src/jsify/snapshots/capture_type_inflight_class_sibling_from_init.snap +++ b/libs/wingc/src/jsify/snapshots/capture_type_inflight_class_sibling_from_init.snap @@ -71,6 +71,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/capture_type_inflight_class_sibling_from_method.snap b/libs/wingc/src/jsify/snapshots/capture_type_inflight_class_sibling_from_method.snap index 47fb417fa00..979744061a1 100644 --- a/libs/wingc/src/jsify/snapshots/capture_type_inflight_class_sibling_from_method.snap +++ b/libs/wingc/src/jsify/snapshots/capture_type_inflight_class_sibling_from_method.snap @@ -57,6 +57,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/capture_type_new_inflight_class_inner_no_capture.snap b/libs/wingc/src/jsify/snapshots/capture_type_new_inflight_class_inner_no_capture.snap index b0d4cbe8f02..af7adb56121 100644 --- a/libs/wingc/src/jsify/snapshots/capture_type_new_inflight_class_inner_no_capture.snap +++ b/libs/wingc/src/jsify/snapshots/capture_type_new_inflight_class_inner_no_capture.snap @@ -49,6 +49,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/capture_type_new_inflight_class_outer.snap b/libs/wingc/src/jsify/snapshots/capture_type_new_inflight_class_outer.snap index 8489eec5041..291806a0b6a 100644 --- a/libs/wingc/src/jsify/snapshots/capture_type_new_inflight_class_outer.snap +++ b/libs/wingc/src/jsify/snapshots/capture_type_new_inflight_class_outer.snap @@ -61,6 +61,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -89,6 +92,8 @@ class $Root extends $stdlib.std.Resource { }); } } + if ($preflightTypesMap[1]) { throw new Error("Foo is already in type map"); } + $preflightTypesMap[1] = Foo; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -116,8 +121,10 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [Foo, []], ], "$inflight_init": [ + [Foo, []], ], }); } diff --git a/libs/wingc/src/jsify/snapshots/capture_type_static_method.snap b/libs/wingc/src/jsify/snapshots/capture_type_static_method.snap index b6277673600..3cfdfa00daa 100644 --- a/libs/wingc/src/jsify/snapshots/capture_type_static_method.snap +++ b/libs/wingc/src/jsify/snapshots/capture_type_static_method.snap @@ -68,6 +68,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/capture_type_static_method_inflight_class.snap b/libs/wingc/src/jsify/snapshots/capture_type_static_method_inflight_class.snap index cd7cc8981dd..3a90eddef62 100644 --- a/libs/wingc/src/jsify/snapshots/capture_type_static_method_inflight_class.snap +++ b/libs/wingc/src/jsify/snapshots/capture_type_static_method_inflight_class.snap @@ -66,6 +66,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -100,6 +103,8 @@ class $Root extends $stdlib.std.Resource { }); } } + if ($preflightTypesMap[1]) { throw new Error("Foo is already in type map"); } + $preflightTypesMap[1] = Foo; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -127,8 +132,10 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [Foo, ["bar"]], ], "$inflight_init": [ + [Foo, []], ], }); } diff --git a/libs/wingc/src/jsify/snapshots/capture_var_from_method_inflight.snap b/libs/wingc/src/jsify/snapshots/capture_var_from_method_inflight.snap index 9254bf82239..12e633ae877 100644 --- a/libs/wingc/src/jsify/snapshots/capture_var_from_method_inflight.snap +++ b/libs/wingc/src/jsify/snapshots/capture_var_from_method_inflight.snap @@ -54,6 +54,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/closed_inflight_class_extends_outer_inflight_class.snap b/libs/wingc/src/jsify/snapshots/closed_inflight_class_extends_outer_inflight_class.snap index ebda1fe8f15..163c019e172 100644 --- a/libs/wingc/src/jsify/snapshots/closed_inflight_class_extends_outer_inflight_class.snap +++ b/libs/wingc/src/jsify/snapshots/closed_inflight_class_extends_outer_inflight_class.snap @@ -64,6 +64,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Base extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -92,6 +95,8 @@ class $Root extends $stdlib.std.Resource { }); } } + if ($preflightTypesMap[1]) { throw new Error("Base is already in type map"); } + $preflightTypesMap[1] = Base; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -119,8 +124,10 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [Base, []], ], "$inflight_init": [ + [Base, []], ], }); } diff --git a/libs/wingc/src/jsify/snapshots/closure_field.snap b/libs/wingc/src/jsify/snapshots/closure_field.snap index 22d34a6d686..cb2ea648ef7 100644 --- a/libs/wingc/src/jsify/snapshots/closure_field.snap +++ b/libs/wingc/src/jsify/snapshots/closure_field.snap @@ -106,10 +106,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class MyResource extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/entrypoint_this.snap b/libs/wingc/src/jsify/snapshots/entrypoint_this.snap index b61f8369c14..5e03a620b84 100644 --- a/libs/wingc/src/jsify/snapshots/entrypoint_this.snap +++ b/libs/wingc/src/jsify/snapshots/entrypoint_this.snap @@ -23,6 +23,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; this; } } diff --git a/libs/wingc/src/jsify/snapshots/enum_value.snap b/libs/wingc/src/jsify/snapshots/enum_value.snap index e48c24d9f1e..759fb0f233f 100644 --- a/libs/wingc/src/jsify/snapshots/enum_value.snap +++ b/libs/wingc/src/jsify/snapshots/enum_value.snap @@ -51,6 +51,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; const MyEnum = (function (tmp) { tmp["B"] = "B"; @@ -86,9 +89,11 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [MyEnum, [].concat(["B"], ["C"])], [x, []], ], "$inflight_init": [ + [MyEnum, []], [x, []], ], }); diff --git a/libs/wingc/src/jsify/snapshots/free_inflight_obj_from_inflight.snap b/libs/wingc/src/jsify/snapshots/free_inflight_obj_from_inflight.snap index 5257f8a3c70..9b476ad3879 100644 --- a/libs/wingc/src/jsify/snapshots/free_inflight_obj_from_inflight.snap +++ b/libs/wingc/src/jsify/snapshots/free_inflight_obj_from_inflight.snap @@ -59,6 +59,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/free_preflight_object_from_preflight.snap b/libs/wingc/src/jsify/snapshots/free_preflight_object_from_preflight.snap index 15ebf279878..24507645cfb 100644 --- a/libs/wingc/src/jsify/snapshots/free_preflight_object_from_preflight.snap +++ b/libs/wingc/src/jsify/snapshots/free_preflight_object_from_preflight.snap @@ -42,6 +42,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class A extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/func_returns_func.snap b/libs/wingc/src/jsify/snapshots/func_returns_func.snap index 2b8e67d67c0..8bb3df26820 100644 --- a/libs/wingc/src/jsify/snapshots/func_returns_func.snap +++ b/libs/wingc/src/jsify/snapshots/func_returns_func.snap @@ -56,6 +56,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/identify_field.snap b/libs/wingc/src/jsify/snapshots/identify_field.snap index 8cdc9ae7a00..bb5fcb10c79 100644 --- a/libs/wingc/src/jsify/snapshots/identify_field.snap +++ b/libs/wingc/src/jsify/snapshots/identify_field.snap @@ -48,10 +48,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class A extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/implicit_lift_inflight_init.snap b/libs/wingc/src/jsify/snapshots/implicit_lift_inflight_init.snap index ede8b4806e1..2df0dbd74bc 100644 --- a/libs/wingc/src/jsify/snapshots/implicit_lift_inflight_init.snap +++ b/libs/wingc/src/jsify/snapshots/implicit_lift_inflight_init.snap @@ -66,10 +66,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/indirect_capture.snap b/libs/wingc/src/jsify/snapshots/indirect_capture.snap index 15a89bd9a55..8d67de04315 100644 --- a/libs/wingc/src/jsify/snapshots/indirect_capture.snap +++ b/libs/wingc/src/jsify/snapshots/indirect_capture.snap @@ -81,10 +81,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Capture extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/inflight_class_extends_both_inside_inflight_closure.snap b/libs/wingc/src/jsify/snapshots/inflight_class_extends_both_inside_inflight_closure.snap index c496a96fb04..da1e9d8141b 100644 --- a/libs/wingc/src/jsify/snapshots/inflight_class_extends_both_inside_inflight_closure.snap +++ b/libs/wingc/src/jsify/snapshots/inflight_class_extends_both_inside_inflight_closure.snap @@ -50,6 +50,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/inflight_class_extends_inflight_class.snap b/libs/wingc/src/jsify/snapshots/inflight_class_extends_inflight_class.snap index 681b87585d6..8a86b9e9704 100644 --- a/libs/wingc/src/jsify/snapshots/inflight_class_extends_inflight_class.snap +++ b/libs/wingc/src/jsify/snapshots/inflight_class_extends_inflight_class.snap @@ -50,6 +50,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class A extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -78,6 +81,8 @@ class $Root extends $stdlib.std.Resource { }); } } + if ($preflightTypesMap[1]) { throw new Error("A is already in type map"); } + $preflightTypesMap[1] = A; class B extends A { constructor($scope, $id, ) { super($scope, $id); @@ -107,6 +112,8 @@ class $Root extends $stdlib.std.Resource { }); } } + if ($preflightTypesMap[2]) { throw new Error("B is already in type map"); } + $preflightTypesMap[2] = B; } } const $PlatformManager = new $stdlib.platform.PlatformManager({platformPaths: $platforms}); diff --git a/libs/wingc/src/jsify/snapshots/inflight_constructor.snap b/libs/wingc/src/jsify/snapshots/inflight_constructor.snap index 80faa3b1138..1e355d4b666 100644 --- a/libs/wingc/src/jsify/snapshots/inflight_constructor.snap +++ b/libs/wingc/src/jsify/snapshots/inflight_constructor.snap @@ -54,6 +54,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/inflight_field.snap b/libs/wingc/src/jsify/snapshots/inflight_field.snap index 0cfde3b80c0..44c9860c391 100644 --- a/libs/wingc/src/jsify/snapshots/inflight_field.snap +++ b/libs/wingc/src/jsify/snapshots/inflight_field.snap @@ -53,6 +53,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class A extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/inflight_field_from_inflight.snap b/libs/wingc/src/jsify/snapshots/inflight_field_from_inflight.snap index f300ef416e6..168eb48e6e2 100644 --- a/libs/wingc/src/jsify/snapshots/inflight_field_from_inflight.snap +++ b/libs/wingc/src/jsify/snapshots/inflight_field_from_inflight.snap @@ -52,6 +52,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class MyType extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/inflight_field_from_inflight_class.snap b/libs/wingc/src/jsify/snapshots/inflight_field_from_inflight_class.snap index 04d361bfed3..fd0b68dc5e0 100644 --- a/libs/wingc/src/jsify/snapshots/inflight_field_from_inflight_class.snap +++ b/libs/wingc/src/jsify/snapshots/inflight_field_from_inflight_class.snap @@ -51,6 +51,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class MyType extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -85,6 +88,8 @@ class $Root extends $stdlib.std.Resource { }); } } + if ($preflightTypesMap[1]) { throw new Error("MyType is already in type map"); } + $preflightTypesMap[1] = MyType; } } const $PlatformManager = new $stdlib.platform.PlatformManager({platformPaths: $platforms}); diff --git a/libs/wingc/src/jsify/snapshots/inline_inflight_class.snap b/libs/wingc/src/jsify/snapshots/inline_inflight_class.snap index 2a44a3b8b81..40650349c5e 100644 --- a/libs/wingc/src/jsify/snapshots/inline_inflight_class.snap +++ b/libs/wingc/src/jsify/snapshots/inline_inflight_class.snap @@ -69,10 +69,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/json_object.snap b/libs/wingc/src/jsify/snapshots/json_object.snap index 62036dd7fef..e95b6a0cd8f 100644 --- a/libs/wingc/src/jsify/snapshots/json_object.snap +++ b/libs/wingc/src/jsify/snapshots/json_object.snap @@ -48,6 +48,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -76,9 +79,11 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$stdlib.core.toLiftableModuleType(std.Json, "@winglang/sdk/std", "Json"), ["stringify"]], [jsonObj1, []], ], "$inflight_init": [ + [$stdlib.core.toLiftableModuleType(std.Json, "@winglang/sdk/std", "Json"), []], [jsonObj1, []], ], }); diff --git a/libs/wingc/src/jsify/snapshots/lift_binary_preflight_and_inflight_expression.snap b/libs/wingc/src/jsify/snapshots/lift_binary_preflight_and_inflight_expression.snap index b61054c3b05..093f1c00f6a 100644 --- a/libs/wingc/src/jsify/snapshots/lift_binary_preflight_and_inflight_expression.snap +++ b/libs/wingc/src/jsify/snapshots/lift_binary_preflight_and_inflight_expression.snap @@ -49,6 +49,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/lift_binary_preflight_expression.snap b/libs/wingc/src/jsify/snapshots/lift_binary_preflight_expression.snap index 229498fdb1d..d845e175d9f 100644 --- a/libs/wingc/src/jsify/snapshots/lift_binary_preflight_expression.snap +++ b/libs/wingc/src/jsify/snapshots/lift_binary_preflight_expression.snap @@ -48,6 +48,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/lift_element_from_collection_as_field.snap b/libs/wingc/src/jsify/snapshots/lift_element_from_collection_as_field.snap index c047a224ca7..a4f169e0d4f 100644 --- a/libs/wingc/src/jsify/snapshots/lift_element_from_collection_as_field.snap +++ b/libs/wingc/src/jsify/snapshots/lift_element_from_collection_as_field.snap @@ -49,10 +49,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/lift_element_from_collection_of_objects.snap b/libs/wingc/src/jsify/snapshots/lift_element_from_collection_of_objects.snap index 3cbfadf715d..7be2754fb37 100644 --- a/libs/wingc/src/jsify/snapshots/lift_element_from_collection_of_objects.snap +++ b/libs/wingc/src/jsify/snapshots/lift_element_from_collection_of_objects.snap @@ -46,10 +46,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/lift_inflight_closure.snap b/libs/wingc/src/jsify/snapshots/lift_inflight_closure.snap index 28b88a5ba27..9d50a7be1d5 100644 --- a/libs/wingc/src/jsify/snapshots/lift_inflight_closure.snap +++ b/libs/wingc/src/jsify/snapshots/lift_inflight_closure.snap @@ -68,6 +68,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/lift_inside_preflight_method.snap b/libs/wingc/src/jsify/snapshots/lift_inside_preflight_method.snap index 4e5080a5db6..e8d95f5729a 100644 --- a/libs/wingc/src/jsify/snapshots/lift_inside_preflight_method.snap +++ b/libs/wingc/src/jsify/snapshots/lift_inside_preflight_method.snap @@ -70,10 +70,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/lift_self_reference.snap b/libs/wingc/src/jsify/snapshots/lift_self_reference.snap index a7b5c6332a4..a6390026b34 100644 --- a/libs/wingc/src/jsify/snapshots/lift_self_reference.snap +++ b/libs/wingc/src/jsify/snapshots/lift_self_reference.snap @@ -49,6 +49,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/lift_string.snap b/libs/wingc/src/jsify/snapshots/lift_string.snap index 72b030f22ac..6822e8fce9e 100644 --- a/libs/wingc/src/jsify/snapshots/lift_string.snap +++ b/libs/wingc/src/jsify/snapshots/lift_string.snap @@ -47,6 +47,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/lift_this.snap b/libs/wingc/src/jsify/snapshots/lift_this.snap index 6ab8730b88c..cf64779fc21 100644 --- a/libs/wingc/src/jsify/snapshots/lift_this.snap +++ b/libs/wingc/src/jsify/snapshots/lift_this.snap @@ -85,6 +85,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/lift_var_with_this.snap b/libs/wingc/src/jsify/snapshots/lift_var_with_this.snap index 1274cd10e3a..e9e961e1cf7 100644 --- a/libs/wingc/src/jsify/snapshots/lift_var_with_this.snap +++ b/libs/wingc/src/jsify/snapshots/lift_var_with_this.snap @@ -68,6 +68,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/lift_via_closure.snap b/libs/wingc/src/jsify/snapshots/lift_via_closure.snap index c2031ed3b27..e022d28e821 100644 --- a/libs/wingc/src/jsify/snapshots/lift_via_closure.snap +++ b/libs/wingc/src/jsify/snapshots/lift_via_closure.snap @@ -72,10 +72,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/lift_via_closure_class_explicit.snap b/libs/wingc/src/jsify/snapshots/lift_via_closure_class_explicit.snap index 460441dd0a4..8fbf308b920 100644 --- a/libs/wingc/src/jsify/snapshots/lift_via_closure_class_explicit.snap +++ b/libs/wingc/src/jsify/snapshots/lift_via_closure_class_explicit.snap @@ -87,10 +87,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class MyClosure extends $stdlib.std.Resource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/namespaced_static_from_inflight.snap b/libs/wingc/src/jsify/snapshots/namespaced_static_from_inflight.snap index d7c67b36828..0d641dd4434 100644 --- a/libs/wingc/src/jsify/snapshots/namespaced_static_from_inflight.snap +++ b/libs/wingc/src/jsify/snapshots/namespaced_static_from_inflight.snap @@ -44,10 +44,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const util = $stdlib.util; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const util = $stdlib.util; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -75,8 +78,10 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), ["tryEnv"]], ], "$inflight_init": [ + [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), []], ], }); } diff --git a/libs/wingc/src/jsify/snapshots/nested_inflight_after_preflight_operation.snap b/libs/wingc/src/jsify/snapshots/nested_inflight_after_preflight_operation.snap index 2c771b0b1f7..88c3a32572e 100644 --- a/libs/wingc/src/jsify/snapshots/nested_inflight_after_preflight_operation.snap +++ b/libs/wingc/src/jsify/snapshots/nested_inflight_after_preflight_operation.snap @@ -71,10 +71,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class YourType extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/nested_preflight_operation.snap b/libs/wingc/src/jsify/snapshots/nested_preflight_operation.snap index 91257bfd431..016fb850a22 100644 --- a/libs/wingc/src/jsify/snapshots/nested_preflight_operation.snap +++ b/libs/wingc/src/jsify/snapshots/nested_preflight_operation.snap @@ -89,10 +89,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class YourType extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/new_inflight_object.snap b/libs/wingc/src/jsify/snapshots/new_inflight_object.snap index 4c0fcdbb3da..9b3694cc392 100644 --- a/libs/wingc/src/jsify/snapshots/new_inflight_object.snap +++ b/libs/wingc/src/jsify/snapshots/new_inflight_object.snap @@ -61,6 +61,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -89,6 +92,8 @@ class $Root extends $stdlib.std.Resource { }); } } + if ($preflightTypesMap[1]) { throw new Error("Foo is already in type map"); } + $preflightTypesMap[1] = Foo; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -116,8 +121,10 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [Foo, []], ], "$inflight_init": [ + [Foo, []], ], }); } diff --git a/libs/wingc/src/jsify/snapshots/no_capture_inside_methods.snap b/libs/wingc/src/jsify/snapshots/no_capture_inside_methods.snap index c053dcae157..e61472625e7 100644 --- a/libs/wingc/src/jsify/snapshots/no_capture_inside_methods.snap +++ b/libs/wingc/src/jsify/snapshots/no_capture_inside_methods.snap @@ -52,6 +52,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/no_capture_of_identifier_from_inner_scope.snap b/libs/wingc/src/jsify/snapshots/no_capture_of_identifier_from_inner_scope.snap index d3992988748..37f163fc6d2 100644 --- a/libs/wingc/src/jsify/snapshots/no_capture_of_identifier_from_inner_scope.snap +++ b/libs/wingc/src/jsify/snapshots/no_capture_of_identifier_from_inner_scope.snap @@ -52,6 +52,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/no_capture_of_identifier_from_same_scope.snap b/libs/wingc/src/jsify/snapshots/no_capture_of_identifier_from_same_scope.snap index 8c96fb27ae5..37d68e92fbf 100644 --- a/libs/wingc/src/jsify/snapshots/no_capture_of_identifier_from_same_scope.snap +++ b/libs/wingc/src/jsify/snapshots/no_capture_of_identifier_from_same_scope.snap @@ -48,6 +48,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/no_capture_shadow_inside_inner_scopes.snap b/libs/wingc/src/jsify/snapshots/no_capture_shadow_inside_inner_scopes.snap index 54db26e1554..e5a833fbf3d 100644 --- a/libs/wingc/src/jsify/snapshots/no_capture_shadow_inside_inner_scopes.snap +++ b/libs/wingc/src/jsify/snapshots/no_capture_shadow_inside_inner_scopes.snap @@ -60,6 +60,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/no_lift_shadow_inside_inner_scopes.snap b/libs/wingc/src/jsify/snapshots/no_lift_shadow_inside_inner_scopes.snap index 5b6c9f12da8..8cf87f1c99b 100644 --- a/libs/wingc/src/jsify/snapshots/no_lift_shadow_inside_inner_scopes.snap +++ b/libs/wingc/src/jsify/snapshots/no_lift_shadow_inside_inner_scopes.snap @@ -58,6 +58,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/preflight_class_extends_preflight_class.snap b/libs/wingc/src/jsify/snapshots/preflight_class_extends_preflight_class.snap index f8df6a1e343..6f8b36e738e 100644 --- a/libs/wingc/src/jsify/snapshots/preflight_class_extends_preflight_class.snap +++ b/libs/wingc/src/jsify/snapshots/preflight_class_extends_preflight_class.snap @@ -55,6 +55,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Base extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/preflight_collection.snap b/libs/wingc/src/jsify/snapshots/preflight_collection.snap index a2e0f01dcee..3323d0b5213 100644 --- a/libs/wingc/src/jsify/snapshots/preflight_collection.snap +++ b/libs/wingc/src/jsify/snapshots/preflight_collection.snap @@ -49,6 +49,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/preflight_collection_of_preflight_objects.snap b/libs/wingc/src/jsify/snapshots/preflight_collection_of_preflight_objects.snap index ccbf4ba8352..3c7d184510c 100644 --- a/libs/wingc/src/jsify/snapshots/preflight_collection_of_preflight_objects.snap +++ b/libs/wingc/src/jsify/snapshots/preflight_collection_of_preflight_objects.snap @@ -50,10 +50,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/preflight_nested_object_with_operations.snap b/libs/wingc/src/jsify/snapshots/preflight_nested_object_with_operations.snap index d1f4f50769d..24b2d65c6cc 100644 --- a/libs/wingc/src/jsify/snapshots/preflight_nested_object_with_operations.snap +++ b/libs/wingc/src/jsify/snapshots/preflight_nested_object_with_operations.snap @@ -68,10 +68,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class A extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/preflight_object.snap b/libs/wingc/src/jsify/snapshots/preflight_object.snap index c7d6b9c02a2..a9bbc073db2 100644 --- a/libs/wingc/src/jsify/snapshots/preflight_object.snap +++ b/libs/wingc/src/jsify/snapshots/preflight_object.snap @@ -72,6 +72,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class A extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/preflight_object_through_property.snap b/libs/wingc/src/jsify/snapshots/preflight_object_through_property.snap index 73ae66c5d8a..9408fa25143 100644 --- a/libs/wingc/src/jsify/snapshots/preflight_object_through_property.snap +++ b/libs/wingc/src/jsify/snapshots/preflight_object_through_property.snap @@ -69,10 +69,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class MyType extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/preflight_object_with_operations.snap b/libs/wingc/src/jsify/snapshots/preflight_object_with_operations.snap index 3118c933228..ccfc374b9c7 100644 --- a/libs/wingc/src/jsify/snapshots/preflight_object_with_operations.snap +++ b/libs/wingc/src/jsify/snapshots/preflight_object_with_operations.snap @@ -47,10 +47,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/preflight_object_with_operations_multiple_methods.snap b/libs/wingc/src/jsify/snapshots/preflight_object_with_operations_multiple_methods.snap index 30684d0011d..1151652abb0 100644 --- a/libs/wingc/src/jsify/snapshots/preflight_object_with_operations_multiple_methods.snap +++ b/libs/wingc/src/jsify/snapshots/preflight_object_with_operations_multiple_methods.snap @@ -52,10 +52,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/preflight_value_field.snap b/libs/wingc/src/jsify/snapshots/preflight_value_field.snap index 9a150a8c71d..506fe835563 100644 --- a/libs/wingc/src/jsify/snapshots/preflight_value_field.snap +++ b/libs/wingc/src/jsify/snapshots/preflight_value_field.snap @@ -77,6 +77,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class MyType extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/qualify_inflight_type_refrencing_preflight_instance.snap b/libs/wingc/src/jsify/snapshots/qualify_inflight_type_refrencing_preflight_instance.snap new file mode 100644 index 00000000000..f35589d1325 --- /dev/null +++ b/libs/wingc/src/jsify/snapshots/qualify_inflight_type_refrencing_preflight_instance.snap @@ -0,0 +1,209 @@ +--- +source: libs/wingc/src/jsify/tests.rs +--- +## Code + +```w + + class PreflightC { + pub inflight bar() {} + } + let pc = new PreflightC(); + + inflight class InflightC { + pub foo() { + pc.bar(); + } + } + + test "test" { + let ic = new InflightC(); + ic.foo(); + } + +``` + +## inflight.$Closure1-1.cjs + +```js +"use strict"; +const $helpers = require("@winglang/sdk/lib/helpers"); +module.exports = function({ $InflightC }) { + class $Closure1 { + constructor({ }) { + const $obj = (...args) => this.handle(...args); + Object.setPrototypeOf($obj, this); + return $obj; + } + async handle() { + const ic = (await (async () => {const o = new $InflightC(); await o.$inflight_init?.(); return o; })()); + (await ic.foo()); + } + } + return $Closure1; +} +//# sourceMappingURL=inflight.$Closure1-1.cjs.map +``` + +## inflight.InflightC-1.cjs + +```js +"use strict"; +const $helpers = require("@winglang/sdk/lib/helpers"); +module.exports = function({ $pc }) { + class InflightC { + async foo() { + (await $pc.bar()); + } + } + return InflightC; +} +//# sourceMappingURL=inflight.InflightC-1.cjs.map +``` + +## inflight.PreflightC-1.cjs + +```js +"use strict"; +const $helpers = require("@winglang/sdk/lib/helpers"); +module.exports = function({ }) { + class PreflightC { + constructor({ }) { + } + async bar() { + } + } + return PreflightC; +} +//# sourceMappingURL=inflight.PreflightC-1.cjs.map +``` + +## preflight.cjs + +```js +"use strict"; +const $stdlib = require('@winglang/sdk'); +const $platforms = ((s) => !s ? [] : s.split(';'))(process.env.WING_PLATFORMS); +const $outdir = process.env.WING_SYNTH_DIR ?? "."; +const $wing_is_test = process.env.WING_IS_TEST === "true"; +const std = $stdlib.std; +const $helpers = $stdlib.helpers; +const $extern = $helpers.createExternRequire(__dirname); +class $Root extends $stdlib.std.Resource { + constructor($scope, $id) { + super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; + class PreflightC extends $stdlib.std.Resource { + constructor($scope, $id, ) { + super($scope, $id); + } + static _toInflightType() { + return ` + require("${$helpers.normalPath(__dirname)}/inflight.PreflightC-1.cjs")({ + }) + `; + } + _toInflight() { + return ` + (await (async () => { + const PreflightCClient = ${PreflightC._toInflightType()}; + const client = new PreflightCClient({ + }); + if (client.$inflight_init) { await client.$inflight_init(); } + return client; + })()) + `; + } + get _liftMap() { + return ({ + "bar": [ + ], + "$inflight_init": [ + ], + }); + } + } + class InflightC extends $stdlib.std.Resource { + constructor($scope, $id, ) { + super($scope, $id); + } + static _toInflightType() { + return ` + require("${$helpers.normalPath(__dirname)}/inflight.InflightC-1.cjs")({ + $pc: ${$stdlib.core.liftObject(pc)}, + }) + `; + } + _toInflight() { + return ` + (await (async () => { + const InflightCClient = ${InflightC._toInflightType()}; + const client = new InflightCClient({ + }); + if (client.$inflight_init) { await client.$inflight_init(); } + return client; + })()) + `; + } + get _liftMap() { + return ({ + "foo": [ + [pc, ["bar"]], + ], + "$inflight_init": [ + [pc, []], + ], + }); + } + } + if ($preflightTypesMap[2]) { throw new Error("InflightC is already in type map"); } + $preflightTypesMap[2] = InflightC; + class $Closure1 extends $stdlib.std.AutoIdResource { + _id = $stdlib.core.closureId(); + constructor($scope, $id, ) { + super($scope, $id); + $helpers.nodeof(this).hidden = true; + } + static _toInflightType() { + return ` + require("${$helpers.normalPath(__dirname)}/inflight.$Closure1-1.cjs")({ + $InflightC: ${$stdlib.core.liftObject(InflightC)}, + }) + `; + } + _toInflight() { + return ` + (await (async () => { + const $Closure1Client = ${$Closure1._toInflightType()}; + const client = new $Closure1Client({ + }); + if (client.$inflight_init) { await client.$inflight_init(); } + return client; + })()) + `; + } + get _liftMap() { + return ({ + "handle": [ + [$helpers.preflightClassSingleton(this, 2), ["foo"]], + [InflightC, []], + ], + "$inflight_init": [ + [$helpers.preflightClassSingleton(this, 2), []], + [InflightC, []], + ], + }); + } + } + const pc = new PreflightC(this, "PreflightC"); + this.node.root.new("@winglang/sdk.std.Test", std.Test, this, "test:test", new $Closure1(this, "$Closure1")); + } +} +const $PlatformManager = new $stdlib.platform.PlatformManager({platformPaths: $platforms}); +const $APP = $PlatformManager.createApp({ outdir: $outdir, name: "main", rootConstruct: $Root, isTestEnvironment: $wing_is_test, entrypointDir: process.env['WING_SOURCE_DIR'], rootId: process.env['WING_ROOT_ID'] }); +$APP.synth(); +//# sourceMappingURL=preflight.cjs.map +``` + diff --git a/libs/wingc/src/jsify/snapshots/read_primitive_value.snap b/libs/wingc/src/jsify/snapshots/read_primitive_value.snap index 774da98ff7f..db2b0b6ac0f 100644 --- a/libs/wingc/src/jsify/snapshots/read_primitive_value.snap +++ b/libs/wingc/src/jsify/snapshots/read_primitive_value.snap @@ -48,6 +48,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/reassign_captured_variable.snap b/libs/wingc/src/jsify/snapshots/reassign_captured_variable.snap index cdab8211e67..2cd0be9082c 100644 --- a/libs/wingc/src/jsify/snapshots/reassign_captured_variable.snap +++ b/libs/wingc/src/jsify/snapshots/reassign_captured_variable.snap @@ -57,6 +57,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/reassigned_captured_variable_preflight.snap b/libs/wingc/src/jsify/snapshots/reassigned_captured_variable_preflight.snap index bbde03ffe57..0d37b640455 100644 --- a/libs/wingc/src/jsify/snapshots/reassigned_captured_variable_preflight.snap +++ b/libs/wingc/src/jsify/snapshots/reassigned_captured_variable_preflight.snap @@ -26,6 +26,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; let i = 10; (() => { i = 12; diff --git a/libs/wingc/src/jsify/snapshots/ref_std_macro.snap b/libs/wingc/src/jsify/snapshots/ref_std_macro.snap index d421e6a3c7d..3156b19bcd9 100644 --- a/libs/wingc/src/jsify/snapshots/ref_std_macro.snap +++ b/libs/wingc/src/jsify/snapshots/ref_std_macro.snap @@ -48,6 +48,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/reference_from_static_inflight.snap b/libs/wingc/src/jsify/snapshots/reference_from_static_inflight.snap index b4e479c49bf..4d446e7d47b 100644 --- a/libs/wingc/src/jsify/snapshots/reference_from_static_inflight.snap +++ b/libs/wingc/src/jsify/snapshots/reference_from_static_inflight.snap @@ -47,6 +47,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class MyType extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/reference_inflight_class.snap b/libs/wingc/src/jsify/snapshots/reference_inflight_class.snap index 7037afed5fc..c4c96cd62bd 100644 --- a/libs/wingc/src/jsify/snapshots/reference_inflight_class.snap +++ b/libs/wingc/src/jsify/snapshots/reference_inflight_class.snap @@ -66,6 +66,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -100,6 +103,8 @@ class $Root extends $stdlib.std.Resource { }); } } + if ($preflightTypesMap[1]) { throw new Error("Foo is already in type map"); } + $preflightTypesMap[1] = Foo; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -127,8 +132,10 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [Foo, ["a"]], ], "$inflight_init": [ + [Foo, []], ], }); } diff --git a/libs/wingc/src/jsify/snapshots/reference_inflight_field.snap b/libs/wingc/src/jsify/snapshots/reference_inflight_field.snap index 28ee4f47cc6..6444a8083db 100644 --- a/libs/wingc/src/jsify/snapshots/reference_inflight_field.snap +++ b/libs/wingc/src/jsify/snapshots/reference_inflight_field.snap @@ -54,6 +54,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/reference_inflight_from_inflight.snap b/libs/wingc/src/jsify/snapshots/reference_inflight_from_inflight.snap index 6ddf585201a..0597623b6b5 100644 --- a/libs/wingc/src/jsify/snapshots/reference_inflight_from_inflight.snap +++ b/libs/wingc/src/jsify/snapshots/reference_inflight_from_inflight.snap @@ -78,6 +78,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -111,6 +114,8 @@ class $Root extends $stdlib.std.Resource { }); } } + if ($preflightTypesMap[1]) { throw new Error("Foo is already in type map"); } + $preflightTypesMap[1] = Foo; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -138,8 +143,10 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [Foo, []], ], "$inflight_init": [ + [Foo, []], ], }); } diff --git a/libs/wingc/src/jsify/snapshots/reference_lift_of_collection.snap b/libs/wingc/src/jsify/snapshots/reference_lift_of_collection.snap index 4baa0e5b574..b478fce8fab 100644 --- a/libs/wingc/src/jsify/snapshots/reference_lift_of_collection.snap +++ b/libs/wingc/src/jsify/snapshots/reference_lift_of_collection.snap @@ -48,6 +48,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/reference_preflight_field.snap b/libs/wingc/src/jsify/snapshots/reference_preflight_field.snap index 6d418fe4b67..328f3d3829f 100644 --- a/libs/wingc/src/jsify/snapshots/reference_preflight_field.snap +++ b/libs/wingc/src/jsify/snapshots/reference_preflight_field.snap @@ -52,6 +52,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/reference_preflight_field_call_independent_method.snap b/libs/wingc/src/jsify/snapshots/reference_preflight_field_call_independent_method.snap index 17388473e70..69384186b30 100644 --- a/libs/wingc/src/jsify/snapshots/reference_preflight_field_call_independent_method.snap +++ b/libs/wingc/src/jsify/snapshots/reference_preflight_field_call_independent_method.snap @@ -52,6 +52,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/reference_preflight_fields.snap b/libs/wingc/src/jsify/snapshots/reference_preflight_fields.snap index cabd4783e02..27863adcafe 100644 --- a/libs/wingc/src/jsify/snapshots/reference_preflight_fields.snap +++ b/libs/wingc/src/jsify/snapshots/reference_preflight_fields.snap @@ -65,10 +65,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class MyType extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/reference_preflight_free_variable_with_this_in_the_expression.snap b/libs/wingc/src/jsify/snapshots/reference_preflight_free_variable_with_this_in_the_expression.snap index f7b74ca97e8..7630bff1ae1 100644 --- a/libs/wingc/src/jsify/snapshots/reference_preflight_free_variable_with_this_in_the_expression.snap +++ b/libs/wingc/src/jsify/snapshots/reference_preflight_free_variable_with_this_in_the_expression.snap @@ -52,10 +52,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/reference_preflight_object_from_static_inflight.snap b/libs/wingc/src/jsify/snapshots/reference_preflight_object_from_static_inflight.snap index bee06339319..efc8fc0eed4 100644 --- a/libs/wingc/src/jsify/snapshots/reference_preflight_object_from_static_inflight.snap +++ b/libs/wingc/src/jsify/snapshots/reference_preflight_object_from_static_inflight.snap @@ -46,10 +46,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class MyType extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/reference_static_inflight.snap b/libs/wingc/src/jsify/snapshots/reference_static_inflight.snap index 39e5714deae..8b105fd7f38 100644 --- a/libs/wingc/src/jsify/snapshots/reference_static_inflight.snap +++ b/libs/wingc/src/jsify/snapshots/reference_static_inflight.snap @@ -68,6 +68,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class MyType extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/reference_static_inflight_which_references_preflight_object.snap b/libs/wingc/src/jsify/snapshots/reference_static_inflight_which_references_preflight_object.snap index 5fe4ab94cc7..c79a04b67f9 100644 --- a/libs/wingc/src/jsify/snapshots/reference_static_inflight_which_references_preflight_object.snap +++ b/libs/wingc/src/jsify/snapshots/reference_static_inflight_which_references_preflight_object.snap @@ -73,10 +73,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class MyType extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/static_external_inflight_class.snap b/libs/wingc/src/jsify/snapshots/static_external_inflight_class.snap index 1478a64ae25..322b97d5ff9 100644 --- a/libs/wingc/src/jsify/snapshots/static_external_inflight_class.snap +++ b/libs/wingc/src/jsify/snapshots/static_external_inflight_class.snap @@ -77,6 +77,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class A extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -111,6 +114,8 @@ class $Root extends $stdlib.std.Resource { }); } } + if ($preflightTypesMap[1]) { throw new Error("A is already in type map"); } + $preflightTypesMap[1] = A; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -138,8 +143,10 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [A, ["foo"]], ], "$inflight_init": [ + [A, []], ], }); } diff --git a/libs/wingc/src/jsify/snapshots/static_external_preflight_class.snap b/libs/wingc/src/jsify/snapshots/static_external_preflight_class.snap index 6bdecac309e..1fbad7370de 100644 --- a/libs/wingc/src/jsify/snapshots/static_external_preflight_class.snap +++ b/libs/wingc/src/jsify/snapshots/static_external_preflight_class.snap @@ -76,6 +76,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class A extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/static_inflight_operation.snap b/libs/wingc/src/jsify/snapshots/static_inflight_operation.snap index a3afeeb210c..562280f0c7d 100644 --- a/libs/wingc/src/jsify/snapshots/static_inflight_operation.snap +++ b/libs/wingc/src/jsify/snapshots/static_inflight_operation.snap @@ -70,10 +70,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class A extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/static_local_inflight_class.snap b/libs/wingc/src/jsify/snapshots/static_local_inflight_class.snap index ddd7d0bbc12..e93803cd00f 100644 --- a/libs/wingc/src/jsify/snapshots/static_local_inflight_class.snap +++ b/libs/wingc/src/jsify/snapshots/static_local_inflight_class.snap @@ -68,6 +68,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/static_on_std_type.snap b/libs/wingc/src/jsify/snapshots/static_on_std_type.snap index cddb49b66f0..a8ddfb7e07e 100644 --- a/libs/wingc/src/jsify/snapshots/static_on_std_type.snap +++ b/libs/wingc/src/jsify/snapshots/static_on_std_type.snap @@ -48,6 +48,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -76,8 +79,12 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$stdlib.core.toLiftableModuleType(std.Json, "@winglang/sdk/std", "Json"), ["values"]], + [$stdlib.core.toLiftableModuleType(std.String, "@winglang/sdk/std", "String"), ["fromJson"]], ], "$inflight_init": [ + [$stdlib.core.toLiftableModuleType(std.Json, "@winglang/sdk/std", "Json"), []], + [$stdlib.core.toLiftableModuleType(std.String, "@winglang/sdk/std", "String"), []], ], }); } diff --git a/libs/wingc/src/jsify/snapshots/transitive_reference.snap b/libs/wingc/src/jsify/snapshots/transitive_reference.snap index 847626e2f23..ae54a46416d 100644 --- a/libs/wingc/src/jsify/snapshots/transitive_reference.snap +++ b/libs/wingc/src/jsify/snapshots/transitive_reference.snap @@ -88,10 +88,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class MyType extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/transitive_reference_via_inflight_class.snap b/libs/wingc/src/jsify/snapshots/transitive_reference_via_inflight_class.snap index 4d646d3361c..c3e61474e94 100644 --- a/libs/wingc/src/jsify/snapshots/transitive_reference_via_inflight_class.snap +++ b/libs/wingc/src/jsify/snapshots/transitive_reference_via_inflight_class.snap @@ -71,10 +71,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class MyInflightClass extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -108,6 +111,8 @@ class $Root extends $stdlib.std.Resource { }); } } + if ($preflightTypesMap[1]) { throw new Error("MyInflightClass is already in type map"); } + $preflightTypesMap[1] = MyInflightClass; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -135,8 +140,12 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$helpers.preflightClassSingleton(this, 1), ["putInBucket"]], + [MyInflightClass, []], ], "$inflight_init": [ + [$helpers.preflightClassSingleton(this, 1), []], + [MyInflightClass, []], ], }); } diff --git a/libs/wingc/src/jsify/snapshots/transitive_reference_via_static.snap b/libs/wingc/src/jsify/snapshots/transitive_reference_via_static.snap index 6360ecad233..1b0e1405a7e 100644 --- a/libs/wingc/src/jsify/snapshots/transitive_reference_via_static.snap +++ b/libs/wingc/src/jsify/snapshots/transitive_reference_via_static.snap @@ -96,10 +96,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class MyType extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/two_identical_lifts.snap b/libs/wingc/src/jsify/snapshots/two_identical_lifts.snap index bc7e393332e..ae17e2d8048 100644 --- a/libs/wingc/src/jsify/snapshots/two_identical_lifts.snap +++ b/libs/wingc/src/jsify/snapshots/two_identical_lifts.snap @@ -53,10 +53,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/use_util_functions.snap b/libs/wingc/src/jsify/snapshots/use_util_functions.snap index 85f8f9563f2..6df9d47b4ac 100644 --- a/libs/wingc/src/jsify/snapshots/use_util_functions.snap +++ b/libs/wingc/src/jsify/snapshots/use_util_functions.snap @@ -43,10 +43,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const util = $stdlib.util; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const util = $stdlib.util; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -74,8 +77,10 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), ["env"]], ], "$inflight_init": [ + [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), []], ], }); } diff --git a/libs/wingc/src/jsify/snapshots/var_inflight_field_from_inflight.snap b/libs/wingc/src/jsify/snapshots/var_inflight_field_from_inflight.snap index d0e74b4002d..4b1282f2b4b 100644 --- a/libs/wingc/src/jsify/snapshots/var_inflight_field_from_inflight.snap +++ b/libs/wingc/src/jsify/snapshots/var_inflight_field_from_inflight.snap @@ -54,6 +54,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class MyType extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/wait_util.snap b/libs/wingc/src/jsify/snapshots/wait_util.snap index e2f23baff21..baae474a327 100644 --- a/libs/wingc/src/jsify/snapshots/wait_util.snap +++ b/libs/wingc/src/jsify/snapshots/wait_util.snap @@ -50,10 +50,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const util = $stdlib.util; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const util = $stdlib.util; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -81,8 +84,10 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), ["waitUntil"]], ], "$inflight_init": [ + [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), []], ], }); } diff --git a/libs/wingc/src/jsify/tests.rs b/libs/wingc/src/jsify/tests.rs index a07511e90c7..775bfe69365 100644 --- a/libs/wingc/src/jsify/tests.rs +++ b/libs/wingc/src/jsify/tests.rs @@ -43,6 +43,29 @@ fn free_inflight_obj_from_inflight() { ); } +#[test] +fn qualify_inflight_type_refrencing_preflight_instance() { + assert_compile_ok!( + r#" + class PreflightC { + pub inflight bar() {} + } + let pc = new PreflightC(); + + inflight class InflightC { + pub foo() { + pc.bar(); + } + } + + test "test" { + let ic = new InflightC(); + ic.foo(); + } + "# + ); +} + #[test] fn call_static_inflight_from_static_inflight() { assert_compile_ok!( diff --git a/libs/wingc/src/lifting.rs b/libs/wingc/src/lifting.rs index 3be3514185f..ab5f4ec4baf 100644 --- a/libs/wingc/src/lifting.rs +++ b/libs/wingc/src/lifting.rs @@ -9,6 +9,7 @@ use crate::{ diagnostic::{report_diagnostic, Diagnostic}, jsify::{JSifier, JSifyContext}, type_check::{ + get_udt_definition_phase, lifts::{Liftable, Lifts}, resolve_user_defined_type, symbol_env::LookupResult, @@ -201,7 +202,7 @@ impl<'a> Visit<'a> for LiftVisitor<'a> { fn visit_expr(&mut self, node: &'a Expr) { CompilationContext::set(CompilationPhase::Lifting, &node.span); - self.with_expr(node.id, |v| { + self.with_expr(&node, |v| { let expr_phase = v.jsify.types.get_expr_phase(&node).unwrap(); let expr_type = v.jsify.types.get_expr_type(&node); @@ -244,9 +245,9 @@ impl<'a> Visit<'a> for LiftVisitor<'a> { Some((PropertyObject::Instance(prop_expr_id), property)) if node.id == prop_expr_id => Some(property), _ => { if expr_type.is_closure() { - // this is the case where we are lifting a "closure class" (e.g. a class that has a "handle" - // method). The "property" here is implicitly `handle`, these are generally syntheticaly generated by the compiler - // from closures. + // this is the case where we are lifting a "closure class" (a preflight class that has an inflight `handle` + // method is being called) the reason we might not have "property" set is because closure classes might be + // syntheticaly generated by the compiler from closures. Some(Symbol::global(CLOSURE_CLASS_HANDLE_METHOD)) } else { None @@ -274,7 +275,26 @@ impl<'a> Visit<'a> for LiftVisitor<'a> { return; } + // Before we continue lets dive into this (non-preflight) expression to see if we need to lift any parts of it visit::visit_expr(v, node); + + // Check if this is an inflight class defined preflight and if we need to qualify the lift with the current property + if expr_phase == Phase::Inflight { + if let Some(class) = expr_type.as_class() { + if class.phase == Phase::Inflight && class.defined_in_phase == Phase::Preflight { + if let Some((_, property)) = v.ctx.current_property() { + let m = v.ctx.current_method().map(|(m, _)| m).expect("a method"); + let mut lifts = v.lifts_stack.pop().unwrap(); + // Get preflight code that references the type of the class so we can qualify the lift, note we use a unique + // type alias here since we might not have the actual type name available in scope here. + let code = &v.jsify.class_singleton(expr_type); + lifts.lift(m, Some(v.jsify_symbol_to_op_array(&property)), code); + v.lifts_stack.push(lifts); + return; + } + } + } + } }); } @@ -293,14 +313,11 @@ impl<'a> Visit<'a> for LiftVisitor<'a> { } // Get the type of the udt - let udt_type = resolve_user_defined_type( - node, - self.ctx.current_env().expect("an env"), - self.ctx.current_stmt_idx(), - ) - .unwrap_or(self.jsify.types.error()); - - // Since our target languages is isn't statically typed, we don't need to capture interfaces + let env = self.ctx.current_env().expect("an env"); + let udt_type = + resolve_user_defined_type(node, env, self.ctx.current_stmt_idx()).unwrap_or(self.jsify.types.error()); + + // Since our target language is isn't statically typed, we don't need to capture interfaces if udt_type.as_interface().is_some() { visit::visit_user_defined_type(self, node); return; @@ -308,25 +325,11 @@ impl<'a> Visit<'a> for LiftVisitor<'a> { //--------------- // LIFT - if udt_type.is_preflight_class() { + if get_udt_definition_phase(node, env).expect("a phase") == Phase::Preflight { // jsify the expression so we can get the preflight code let code = self.jsify_udt(&node); let property = self.ctx.current_property(); - - // check that we can qualify the lift (e.g. determine which property is being accessed) - if property.is_none() { - report_diagnostic(Diagnostic { - message: format!( - "Cannot qualify access to a lifted type \"{udt_type}\" (see https://github.com/winglang/wing/issues/76 for more details)"), - span: Some(node.span.clone()), - annotations: vec![], - hints: vec![], - }); - - return; - } - let mut lifts = self.lifts_stack.pop().unwrap(); lifts.lift( self.ctx.current_method().map(|(m, _)| m).expect("a method"), diff --git a/libs/wingc/src/lsp/symbol_locator.rs b/libs/wingc/src/lsp/symbol_locator.rs index 9bdbd0b0b20..7c6fa79acae 100644 --- a/libs/wingc/src/lsp/symbol_locator.rs +++ b/libs/wingc/src/lsp/symbol_locator.rs @@ -302,7 +302,7 @@ impl<'a> Visit<'a> for SymbolLocator<'a> { return; } - self.ctx.push_expr(node.id); + self.ctx.push_expr(&node); match &node.kind { ExprKind::New(new_expr) => 'new_expr: { diff --git a/libs/wingc/src/type_check.rs b/libs/wingc/src/type_check.rs index ce3fe0891a3..6825cb1c77a 100644 --- a/libs/wingc/src/type_check.rs +++ b/libs/wingc/src/type_check.rs @@ -329,11 +329,20 @@ pub struct Class { pub docs: Docs, pub lifts: Option, + // The phase in which this class was defined (this should be the same as the env.phase where the class name is defined) + pub defined_in_phase: Phase, + // Preflight classes are CDK Constructs which means they have a scope and id as their first arguments // this is natively supported by wing using the `as` `in` keywords. However theoretically it is possible // to have a construct which does not have these arguments, in which case we can't use the `as` `in` keywords // and instead the user will need to pass the relevant args to the class's init method. pub std_construct_args: bool, + + // Unique identifier for this class type, used to get access to the type's generated preflight code even when + // the type name isn't available in scope or is shadowed. + // Ideally we should use the FQN and unify the implementation of JSII imported classes and Wing classes, currently + // uid is used for Wing classes and is always 0 for JSII classes to avoid snapshot noise. + pub uid: usize, } impl Class { pub(crate) fn set_lifts(&mut self, lifts: Lifts) { @@ -345,8 +354,8 @@ impl Class { pub fn get_closure_method(&self) -> Option { self .methods(true) - .find(|(name, type_)| name == CLOSURE_CLASS_HANDLE_METHOD && type_.is_inflight_function()) - .map(|(_, t)| t) + .find(|(name, v)| name == CLOSURE_CLASS_HANDLE_METHOD && v.type_.is_inflight_function()) + .map(|(_, v)| v.type_) } } @@ -378,15 +387,15 @@ impl Display for Interface { } type ClassLikeIterator<'a> = - FilterMap, fn(::Item) -> Option<(String, TypeRef)>>; + FilterMap, fn(::Item) -> Option<(String, VariableInfo)>>; pub trait ClassLike: Display { fn get_env(&self) -> &SymbolEnv; fn methods(&self, with_ancestry: bool) -> ClassLikeIterator<'_> { - self.get_env().iter(with_ancestry).filter_map(|(s, t, ..)| { - if t.as_variable()?.type_.as_function_sig().is_some() { - Some((s, t.as_variable()?.type_)) + self.get_env().iter(with_ancestry).filter_map(|(s, sym_kind, ..)| { + if sym_kind.as_variable()?.type_.as_function_sig().is_some() { + Some((s, sym_kind.as_variable()?.clone())) } else { None } @@ -394,9 +403,9 @@ pub trait ClassLike: Display { } fn fields(&self, with_ancestry: bool) -> ClassLikeIterator<'_> { - self.get_env().iter(with_ancestry).filter_map(|(s, t, ..)| { - if t.as_variable()?.type_.as_function_sig().is_none() { - Some((s, t.as_variable()?.type_)) + self.get_env().iter(with_ancestry).filter_map(|(s, sym_kind, ..)| { + if sym_kind.as_variable()?.type_.as_function_sig().is_none() { + Some((s, sym_kind.as_variable()?.clone())) } else { None } @@ -638,16 +647,14 @@ impl Subtype for Type { // method type (aka "closure classes"). // First, check if there is exactly one inflight method in the interface - let mut inflight_methods = iface - .methods(true) - .filter(|(_name, type_)| type_.is_inflight_function()); + let mut inflight_methods = iface.methods(true).filter(|(_name, v)| v.type_.is_inflight_function()); let handler_method = inflight_methods.next(); if handler_method.is_none() || inflight_methods.next().is_some() { return false; } // Next, check that the method's name is "handle" - let (handler_method_name, handler_method_type) = handler_method.unwrap(); + let (handler_method_name, handler_method_var) = handler_method.unwrap(); if handler_method_name != CLOSURE_CLASS_HANDLE_METHOD { return false; } @@ -660,7 +667,7 @@ impl Subtype for Type { }; // Finally check if they're subtypes - res_handle_type.is_subtype_of(&handler_method_type) + res_handle_type.is_subtype_of(&handler_method_var.type_) } (Self::Class(res), Self::Function(_)) => { // To support flexible inflight closures, we say that any @@ -1085,12 +1092,13 @@ impl TypeRef { /// Returns whether type represents a closure (either a function or a closure class). pub fn is_closure(&self) -> bool { - if self.as_function_sig().is_some() { - return true; - } + self.as_function_sig().is_some() || self.is_closure_class() + } - if let Some(ref class) = self.as_preflight_class() { - return class.get_closure_method().is_some(); + /// Returns whether type represents a class representing an inflight closure. + pub fn is_closure_class(&self) -> bool { + if let Some(ref class) = self.as_class() { + return class.get_closure_method().is_some() && class.defined_in_phase == Phase::Preflight; } false } @@ -1220,7 +1228,7 @@ impl TypeRef { Type::MutArray(t) => t.is_serializable(), Type::Map(t) => t.is_serializable(), Type::MutMap(t) => t.is_serializable(), - Type::Struct(s) => s.fields(true).map(|(_, t)| t).all(|t| t.is_serializable()), + Type::Struct(s) => s.fields(true).map(|(_, v)| v.type_).all(|t| t.is_serializable()), Type::Enum(_) => true, // not serializable Type::Duration => false, @@ -1258,7 +1266,7 @@ impl TypeRef { Type::Map(v) => v.is_json_legal_value(), Type::Optional(v) => v.is_json_legal_value(), Type::Struct(ref s) => { - for (_, t) in s.fields(true) { + for t in s.fields(true).map(|(_, v)| v.type_) { if !t.is_json_legal_value() { return false; } @@ -1295,8 +1303,8 @@ impl TypeRef { match &**self { Type::Struct(s) => { // check all its fields are json compatible - for (_, field) in s.fields(true) { - if !field.has_json_representation() { + for t in s.fields(true).map(|(_, v)| v.type_) { + if !t.has_json_representation() { return false; } } @@ -1391,6 +1399,8 @@ pub struct Types { type_expressions: IndexMap, /// Append empty struct to end of arg list pub append_empty_struct_to_arglist: HashSet, + /// Class counter, used to generate unique ids for class types + pub class_counter: usize, } impl Types { @@ -1443,6 +1453,9 @@ impl Types { append_empty_struct_to_arglist: HashSet::new(), libraries: SymbolEnv::new(None, SymbolEnvKind::Scope, Phase::Preflight, 0), intrinsics: SymbolEnv::new(None, SymbolEnvKind::Scope, Phase::Independent, 0), + // 1 based to avoid conflict with imported JSII classes. This isn't strictly needed since brought JSII classes are never accessed + // through their unique ID, but still good to avoid confusion. + class_counter: 1, } } @@ -2301,14 +2314,14 @@ new cloud.Function(@inflight("./handler.ts"), lifts: { bucket: ["put"] }); self.spanned_error( exp, format!( - "Binary operator '+' cannot be applied to operands of type '{}' and '{}'; only ({}, {}) and ({}, {}) are supported", - ltype, - rtype, - self.types.number(), - self.types.number(), - self.types.string(), - self.types.string(), - ), + "Binary operator '+' cannot be applied to operands of type '{}' and '{}'; only ({}, {}) and ({}, {}) are supported", + ltype, + rtype, + self.types.number(), + self.types.number(), + self.types.string(), + self.types.string(), + ), ); } self.resolved_error() @@ -2499,7 +2512,8 @@ new cloud.Function(@inflight("./handler.ts"), lifts: { bucket: ["put"] }); .expect(&format!("Expected \"{}\" to be a struct type", struct_type)); // Verify that all expected fields are present and are the right type - for (name, field_type) in st.fields(true) { + for (name, v) in st.fields(true) { + let field_type = v.type_; match fields.get(name.as_str()) { Some(field_exp) => { let t = field_types.get(name.as_str()).unwrap(); @@ -2755,21 +2769,9 @@ new cloud.Function(@inflight("./handler.ts"), lifts: { bucket: ["put"] }); // Make sure this is a function signature type let func_sig = if let Some(func_sig) = func_type.as_deep_function_sig() { func_sig.clone() - } else if let Some(class) = func_type.as_preflight_class() { - // return the signature of the "handle" method - let lookup_res = class.get_method(&CLOSURE_CLASS_HANDLE_METHOD.into()); - let handle_type = if let Some(method) = lookup_res { - method.type_ - } else { - self.spanned_error(callee, "Expected a function or method"); - return self.resolved_error(); - }; - if let Some(sig_type) = handle_type.as_function_sig() { - sig_type.clone() - } else { - self.spanned_error(callee, "Expected a function or method"); - return self.resolved_error(); - } + } else if func_type.is_closure_class() { + let handle_type = func_type.as_class().unwrap().get_closure_method().unwrap(); + handle_type.as_function_sig().unwrap().clone() } else { self.spanned_error( callee, @@ -3062,7 +3064,7 @@ new cloud.Function(@inflight("./handler.ts"), lifts: { bucket: ["put"] }); pub fn all_optional_struct(t: TypeRef) -> bool { match &*t { - Type::Struct(s) => s.fields(true).all(|(_, t)| t.is_option()), + Type::Struct(s) => s.fields(true).all(|(_, v)| v.type_.is_option()), _ => false, } } @@ -4520,10 +4522,13 @@ new cloud.Function(@inflight("./handler.ts"), lifts: { bucket: ["put"] }); implements: impl_interfaces.clone(), is_abstract: false, phase: ast_class.phase, + defined_in_phase: env.phase, docs: stmt.doc.as_ref().map_or(Docs::default(), |s| Docs::with_summary(s)), std_construct_args: ast_class.phase == Phase::Preflight, lifts: None, + uid: self.types.class_counter, }; + self.types.class_counter += 1; let mut class_type = self.types.add_type(Type::Class(class_spec)); match env.define( &ast_class.name, @@ -4738,7 +4743,8 @@ new cloud.Function(@inflight("./handler.ts"), lifts: { bucket: ["put"] }); }; // Check all methods are implemented - for (method_name, method_type) in interface_type.methods(true) { + for (method_name, v) in interface_type.methods(true) { + let method_type = v.type_; if let Some(symbol) = &mut class_type .as_class_mut() .unwrap() @@ -5297,7 +5303,7 @@ new cloud.Function(@inflight("./handler.ts"), lifts: { bucket: ["put"] }); return; }; - // If the parent class is phase independent than its constructor name is just "new" regardless of + // If the parent class is phase independent then its constructor name is just "new" regardless of // whether we're inflight or not. let parent_init_name = if parent_class.as_class().unwrap().phase == Phase::Independent { CLASS_INIT_NAME @@ -5309,13 +5315,13 @@ new cloud.Function(@inflight("./handler.ts"), lifts: { bucket: ["put"] }); .as_class() .unwrap() .methods(false) - .filter(|(name, _type)| name == parent_init_name) - .collect_vec()[0] + .find(|(name, ..)| name == parent_init_name) + .unwrap() .1; self.type_check_arg_list_against_function_sig( &arg_list, - parent_initializer.as_function_sig().unwrap(), + parent_initializer.type_.as_function_sig().unwrap(), super_constructor_call, arg_list_types, ); @@ -5755,6 +5761,8 @@ new cloud.Function(@inflight("./handler.ts"), lifts: { bucket: ["put"] }); docs: c.docs.clone(), std_construct_args: c.std_construct_args, lifts: None, + defined_in_phase: env.phase, + uid: c.uid, }), Type::Interface(iface) => Type::Interface(Interface { name: iface.name.clone(), @@ -6281,7 +6289,7 @@ new cloud.Function(@inflight("./handler.ts"), lifts: { bucket: ["put"] }); if property.name == FROM_JSON || property.name == TRY_FROM_JSON { // we need to validate that only structs with all valid json fields can have a fromJson method for (name, field) in s.fields(true) { - if !field.has_json_representation() { + if !field.type_.has_json_representation() { self.spanned_error_with_var( property, format!( @@ -6982,6 +6990,19 @@ pub fn resolve_user_defined_type_ref<'a>( } } +pub fn get_udt_definition_phase(user_defined_type: &UserDefinedType, env: &SymbolEnv) -> Option { + let mut nested_name = vec![&user_defined_type.root]; + nested_name.extend(user_defined_type.fields.iter().collect_vec()); + + let lookup_result = env.lookup_nested(&nested_name, None); + + if let LookupResult::Found(_, lookup_info) = lookup_result { + Some(lookup_info.env.phase) + } else { + None + } +} + pub fn is_udt_struct_type(udt: &UserDefinedType, env: &SymbolEnv) -> bool { if let Ok(type_) = resolve_user_defined_type(udt, env, 0) { type_.as_struct().is_some() diff --git a/libs/wingc/src/type_check/jsii_importer.rs b/libs/wingc/src/type_check/jsii_importer.rs index 65c99014da2..de39f947dff 100644 --- a/libs/wingc/src/type_check/jsii_importer.rs +++ b/libs/wingc/src/type_check/jsii_importer.rs @@ -732,9 +732,14 @@ impl<'a> JsiiImporter<'a> { implements: vec![], is_abstract: jsii_class.abstract_.unwrap_or(false), phase: class_phase, + defined_in_phase: Phase::Preflight, docs: Docs::from(&jsii_class.docs), std_construct_args: false, // Temporary value, will be updated once we parse the initializer args lifts: None, + + // uid is used to create unique names class types so we can access the correct type regardless of type name shadowing, + // this isn't relevant for imported types (that aren't code generated), so we can default to 0 + uid: 0, }; let mut new_type = self.wing_types.add_type(Type::Class(class_spec)); self.register_jsii_type(&jsii_class_fqn, &new_type_symbol, new_type); diff --git a/libs/wingc/src/type_check/lifts.rs b/libs/wingc/src/type_check/lifts.rs index 8606c5e2bdc..61c7413bc08 100644 --- a/libs/wingc/src/type_check/lifts.rs +++ b/libs/wingc/src/type_check/lifts.rs @@ -10,7 +10,7 @@ use super::{ExprId, CLASS_INFLIGHT_INIT_NAME}; #[derive(Debug)] pub struct Lifts { // TODO: make all these private and add accessors+helper logic - /// All the lifts. Map from method to a map from inflight code to lift qualifications. + /// All the lifts. Map from method to a map from preflight code to lift qualifications. pub lifts_qualifications: BTreeMap>, /// All the captures. The key is token the value is the preflight code. diff --git a/libs/wingc/src/visit_context.rs b/libs/wingc/src/visit_context.rs index 5004ba58074..f2850b9424e 100644 --- a/libs/wingc/src/visit_context.rs +++ b/libs/wingc/src/visit_context.rs @@ -1,7 +1,7 @@ use itertools::Itertools; use crate::{ - ast::{Class, ExprId, FunctionSignature, Phase, Stmt, StmtKind, Symbol, UserDefinedType}, + ast::{Class, Expr, ExprId, FunctionSignature, Phase, Stmt, StmtKind, Symbol, UserDefinedType}, type_check::symbol_env::SymbolEnvRef, }; @@ -91,8 +91,8 @@ impl VisitContext { // -- - pub fn push_expr(&mut self, expr: ExprId) { - self.expression.push(expr); + pub fn push_expr(&mut self, expr: &Expr) { + self.expression.push(expr.id); } pub fn pop_expr(&mut self) { @@ -237,7 +237,7 @@ impl VisitContext { pub trait VisitorWithContext { fn ctx(&mut self) -> &mut VisitContext; - fn with_expr(&mut self, expr: ExprId, f: impl FnOnce(&mut Self)) { + fn with_expr(&mut self, expr: &Expr, f: impl FnOnce(&mut Self)) { self.ctx().push_expr(expr); f(self); self.ctx().pop_expr(); diff --git a/libs/wingsdk/src/core/lifting.ts b/libs/wingsdk/src/core/lifting.ts index 737f4cfd434..41d2bb7fad0 100644 --- a/libs/wingsdk/src/core/lifting.ts +++ b/libs/wingsdk/src/core/lifting.ts @@ -265,10 +265,7 @@ export function collectLifts( } else if (typeof obj === "object" && obj._liftMap !== undefined) { matrix = parseMatrix(obj._liftMap ?? {}); matrixCache.set(obj, matrix); - } else if ( - typeof obj === "function" && - typeof obj._liftTypeMap !== undefined - ) { + } else if (typeof obj === "function" && obj._liftTypeMap !== undefined) { matrix = parseMatrix(obj._liftTypeMap ?? {}); matrixCache.set(obj, matrix); } else { diff --git a/libs/wingsdk/src/helpers.ts b/libs/wingsdk/src/helpers.ts index a54598218d8..26f4697b1a8 100644 --- a/libs/wingsdk/src/helpers.ts +++ b/libs/wingsdk/src/helpers.ts @@ -3,6 +3,7 @@ import { notDeepStrictEqual } from "node:assert"; import * as path from "node:path"; import type { Construct } from "constructs"; +import type { Resource } from "./std"; import type { Node } from "./std/node"; // since we moved from node:18 to node:20 the deepStrictEqual doesn't work as expected. // https://github.com/winglang/wing/issues/4444 @@ -166,3 +167,62 @@ export function resolveDirname( ): string { return normalPath(path.resolve(outdir, relativeSourceDir)); } + +/** + * Helper function to `require` a compiled preflight wing file (js) into another compiled (js) wing file. + * We need this instead of simply calling `require` because in addition to returning the imported module's exports, + * we also need to update the current module's preflight types map with the brought module's preflight types map. + * @param moduleFile - the file to `require` + * @param outPreflightTypesObject - the current module's $preflightTypesMap + * @returns all symbols exported by the `moduleFile` except `$preflightTypesMap` + */ +export function bringJs( + moduleFile: string, + outPreflightTypesObject: Object +): Object { + /* eslint-disable @typescript-eslint/no-require-imports */ + return Object.fromEntries( + Object.entries(require(moduleFile)).filter(([k, v]) => { + // If this is the preflight types array then update the input object and skip it + if (k === "$preflightTypesMap") { + // Verify no key collision (should never happen) + Object.keys(v as object).forEach((key) => { + if (key in outPreflightTypesObject) { + throw new Error(`Key collision (${key}) in preflight types map`); + } + }); + Object.assign(outPreflightTypesObject, v); + return false; + } + return true; + }) + ); +} + +/** + * Helper function to get a singleton instance of a class defined in preflight. + * In practice this is used to get the preflight instance of **inflight** classes defined **preflight**. + * This instance is used for accessing the lift map of such classes. + * @param scope - a scope in the construct tree that'll hold the instance (a singleton within that tree). + * @param typeId - the unique id of the preflight class type we want. + * @returns the instance of the class. + */ +export function preflightClassSingleton( + scope: Construct, + typeId: number +): Resource { + const root: any = nodeof(scope).root; + const type: any = root.$preflightTypesMap[typeId]; + if (root.resourceSingletons === undefined) { + root.resourceSingletons = {}; + } + const instance = root.resourceSingletons[type]; + if (instance) { + return instance; + } + root.resourceSingletons[type] = new type( + scope, + `${type.name}_singleton_${typeId}` + ); + return root.resourceSingletons[type]; +} diff --git a/tools/hangar/__snapshots__/invalid.ts.snap b/tools/hangar/__snapshots__/invalid.ts.snap index 6021af442d6..e944ae5e824 100644 --- a/tools/hangar/__snapshots__/invalid.ts.snap +++ b/tools/hangar/__snapshots__/invalid.ts.snap @@ -2613,13 +2613,6 @@ error: Cannot create preflight class "PreflightClass" in inflight phase | ^^^^^^^^^^^^^^^^^^^^ -error: Cannot qualify access to a lifted type "PreflightClass" (see https://github.com/winglang/wing/issues/76 for more details) - --> ../../../examples/tests/invalid/inflight_class_created_in_preflight.test.w:19:7 - | -19 | new PreflightClass(); - | ^^^^^^^^^^^^^^ - - Tests 1 failed (1) Snapshots 1 skipped @@ -4091,13 +4084,6 @@ exports[`resource_inflight.test.w 1`] = ` | ^^^^^^^^^^^^^^^^^^ -error: Cannot qualify access to a lifted type "Bucket" (see https://github.com/winglang/wing/issues/76 for more details) - --> ../../../examples/tests/invalid/resource_inflight.test.w:4:7 - | -4 | new cloud.Bucket(); // Should fail because we can't create resources inflight - | ^^^^^^^^^^^^ - - Tests 1 failed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/valid/anon_function.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/anon_function.test.w_compile_tf-aws.md index 48f9f26410c..a0171da37a6 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/anon_function.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/anon_function.test.w_compile_tf-aws.md @@ -54,6 +54,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/api.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/api.test.w_compile_tf-aws.md index a225949abbd..8693e2fefec 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/api.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/api.test.w_compile_tf-aws.md @@ -476,10 +476,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -508,9 +511,11 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$stdlib.core.toLiftableModuleType(std.Json, "@winglang/sdk/std", "Json"), ["stringify"]], [counter, ["inc"]], ], "$inflight_init": [ + [$stdlib.core.toLiftableModuleType(std.Json, "@winglang/sdk/std", "Json"), []], [counter, []], ], }); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/api_cors_custom.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/api_cors_custom.test.w_compile_tf-aws.md index 34cc0b087ff..bc5e0bfed85 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/api_cors_custom.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/api_cors_custom.test.w_compile_tf-aws.md @@ -332,13 +332,16 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; -const ex = $stdlib.ex; -const http = $stdlib.http; -const expect = $stdlib.expect; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + const ex = $stdlib.ex; + const http = $stdlib.http; + const expect = $stdlib.expect; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -400,9 +403,13 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), [].concat(["equal"], ["nil"])], + [$stdlib.core.toLiftableModuleType(http.Util, "@winglang/sdk/http", "Util"), ["get"]], [api.url, []], ], "$inflight_init": [ + [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), []], + [$stdlib.core.toLiftableModuleType(http.Util, "@winglang/sdk/http", "Util"), []], [api.url, []], ], }); @@ -438,9 +445,15 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), [].concat(["equal"], ["nil"])], + [$stdlib.core.toLiftableModuleType(http.HttpMethod, "@winglang/sdk/http", "HttpMethod"), ["OPTIONS"]], + [$stdlib.core.toLiftableModuleType(http.Util, "@winglang/sdk/http", "Util"), ["fetch"]], [api.url, []], ], "$inflight_init": [ + [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), []], + [$stdlib.core.toLiftableModuleType(http.HttpMethod, "@winglang/sdk/http", "HttpMethod"), []], + [$stdlib.core.toLiftableModuleType(http.Util, "@winglang/sdk/http", "Util"), []], [api.url, []], ], }); @@ -476,9 +489,15 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), ["equal"]], + [$stdlib.core.toLiftableModuleType(http.HttpMethod, "@winglang/sdk/http", "HttpMethod"), ["OPTIONS"]], + [$stdlib.core.toLiftableModuleType(http.Util, "@winglang/sdk/http", "Util"), ["fetch"]], [api.url, []], ], "$inflight_init": [ + [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), []], + [$stdlib.core.toLiftableModuleType(http.HttpMethod, "@winglang/sdk/http", "HttpMethod"), []], + [$stdlib.core.toLiftableModuleType(http.Util, "@winglang/sdk/http", "Util"), []], [api.url, []], ], }); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/api_cors_default.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/api_cors_default.test.w_compile_tf-aws.md index 7a432fa81b5..3c077f31ee8 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/api_cors_default.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/api_cors_default.test.w_compile_tf-aws.md @@ -307,13 +307,16 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; -const ex = $stdlib.ex; -const http = $stdlib.http; -const expect = $stdlib.expect; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + const ex = $stdlib.ex; + const http = $stdlib.http; + const expect = $stdlib.expect; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -375,9 +378,13 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), [].concat(["equal"], ["nil"])], + [$stdlib.core.toLiftableModuleType(http.Util, "@winglang/sdk/http", "Util"), ["get"]], [apiDefaultCors.url, []], ], "$inflight_init": [ + [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), []], + [$stdlib.core.toLiftableModuleType(http.Util, "@winglang/sdk/http", "Util"), []], [apiDefaultCors.url, []], ], }); @@ -413,9 +420,15 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), [].concat(["equal"], ["nil"])], + [$stdlib.core.toLiftableModuleType(http.HttpMethod, "@winglang/sdk/http", "HttpMethod"), ["OPTIONS"]], + [$stdlib.core.toLiftableModuleType(http.Util, "@winglang/sdk/http", "Util"), ["fetch"]], [apiDefaultCors.url, []], ], "$inflight_init": [ + [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), []], + [$stdlib.core.toLiftableModuleType(http.HttpMethod, "@winglang/sdk/http", "HttpMethod"), []], + [$stdlib.core.toLiftableModuleType(http.Util, "@winglang/sdk/http", "Util"), []], [apiDefaultCors.url, []], ], }); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/api_valid_path.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/api_valid_path.test.w_compile_tf-aws.md index 636daf6a931..1ff40e38af2 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/api_valid_path.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/api_valid_path.test.w_compile_tf-aws.md @@ -550,11 +550,14 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; -const expect = $stdlib.expect; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + const expect = $stdlib.expect; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/assert.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/assert.test.w_compile_tf-aws.md index affbcd93807..9c24a66a33b 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/assert.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/assert.test.w_compile_tf-aws.md @@ -65,6 +65,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/asynchronous_model_implicit_await_in_functions.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/asynchronous_model_implicit_await_in_functions.test.w_compile_tf-aws.md index a1abff069c0..64402b8eac2 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/asynchronous_model_implicit_await_in_functions.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/asynchronous_model_implicit_await_in_functions.test.w_compile_tf-aws.md @@ -269,10 +269,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/baz.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/baz.w_compile_tf-aws.md index 806f0755f05..0bef77200bc 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/baz.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/baz.w_compile_tf-aws.md @@ -21,6 +21,7 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +let $preflightTypesMap = {}; class Baz extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -52,7 +53,7 @@ class Baz extends $stdlib.std.Resource { }); } } -module.exports = { Baz }; +module.exports = { $preflightTypesMap, Baz }; //# sourceMappingURL=preflight.cjs.map ``` diff --git a/tools/hangar/__snapshots__/test_corpus/valid/bring_alias.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/bring_alias.test.w_compile_tf-aws.md index 91d1d890678..2355f752634 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/bring_alias.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/bring_alias.test.w_compile_tf-aws.md @@ -28,11 +28,14 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const stdFs = $stdlib.fs; -const stdFs2 = $stdlib.fs; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const stdFs = $stdlib.fs; + const stdFs2 = $stdlib.fs; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; $helpers.assert($helpers.eq((stdFs.Util.dirname("/")), "/"), "stdFs.dirname(\"/\") == \"/\""); $helpers.assert($helpers.eq((stdFs2.Util.dirname("/")), "/"), "stdFs2.dirname(\"/\") == \"/\""); } diff --git a/tools/hangar/__snapshots__/test_corpus/valid/bring_awscdk.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/bring_awscdk.test.w_compile_tf-aws.md index 0619d7e6677..76c18f32c64 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/bring_awscdk.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/bring_awscdk.test.w_compile_tf-aws.md @@ -42,10 +42,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cdk = require("aws-cdk-lib"); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cdk = require("aws-cdk-lib"); + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class CdkDockerImageFunction extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/bring_cdk8s.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/bring_cdk8s.test.w_compile_tf-aws.md index 759bd050819..43ef75b0daa 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/bring_cdk8s.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/bring_cdk8s.test.w_compile_tf-aws.md @@ -28,11 +28,14 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cdk8s = require("cdk8s"); -const kplus = require("cdk8s-plus-27"); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cdk8s = require("cdk8s"); + const kplus = require("cdk8s-plus-27"); + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; const app = this.node.root.new("cdk8s.App", cdk8s.App, ); const chart = this.node.root.new("cdk8s.Chart", cdk8s.Chart, this, "Chart"); const deploy = ($scope => $scope.node.root.new("cdk8s-plus-27.Deployment", kplus.Deployment, $scope, "Deployment"))(chart); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/bring_cdktf.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/bring_cdktf.test.w_compile_tf-aws.md index 60cc9c5b347..47db08390c9 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/bring_cdktf.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/bring_cdktf.test.w_compile_tf-aws.md @@ -59,11 +59,14 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const aws = require("@cdktf/provider-aws"); -const cdktf = require("cdktf"); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const aws = require("@cdktf/provider-aws"); + const cdktf = require("cdktf"); + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/bring_extend_non_entry.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/bring_extend_non_entry.test.w_compile_tf-aws.md index 7d08220759d..169b251befa 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/bring_extend_non_entry.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/bring_extend_non_entry.test.w_compile_tf-aws.md @@ -43,10 +43,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const lib = require("./preflight.extendnonentrypoint-1.cjs"); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const lib = $helpers.bringJs(`${__dirname}/preflight.extendnonentrypoint-1.cjs`, $preflightTypesMap); + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; const f = new lib.Foo(this, "Foo"); } } @@ -63,6 +66,7 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +let $preflightTypesMap = {}; const cdk8s = require("cdk8s"); class Foo extends (this?.node?.root?.typeForFqn("cdk8s.Chart") ?? cdk8s.Chart) { constructor($scope, $id, ) { @@ -93,7 +97,7 @@ class Foo extends (this?.node?.root?.typeForFqn("cdk8s.Chart") ?? cdk8s.Chart) { }); } } -module.exports = { Foo }; +module.exports = { $preflightTypesMap, Foo }; //# sourceMappingURL=preflight.extendnonentrypoint-1.cjs.map ``` diff --git a/tools/hangar/__snapshots__/test_corpus/valid/bring_jsii.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/bring_jsii.test.w_compile_tf-aws.md index 8ce43dccc57..e670a56f704 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/bring_jsii.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/bring_jsii.test.w_compile_tf-aws.md @@ -64,12 +64,15 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; -const stuff = require("jsii-code-samples"); -const jsii_fixture = require("jsii-fixture"); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + const stuff = require("jsii-code-samples"); + const jsii_fixture = require("jsii-fixture"); + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -98,9 +101,11 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$stdlib.core.toLiftableModuleType(stuff.HelloWorld, "jsii-code-samples", "HelloWorld"), []], [greeting, []], ], "$inflight_init": [ + [$stdlib.core.toLiftableModuleType(stuff.HelloWorld, "jsii-code-samples", "HelloWorld"), []], [greeting, []], ], }); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/bring_local.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/bring_local.test.w_compile_tf-aws.md index eaea16be38c..731e6cfad7f 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/bring_local.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/bring_local.test.w_compile_tf-aws.md @@ -297,14 +297,17 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const file1 = require("./preflight.store-2.cjs"); -const file2 = require("./preflight.subfile-3.cjs"); -const file3 = require("./preflight.empty-1.cjs"); -const math = $stdlib.math; -const expect = $stdlib.expect; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const file1 = $helpers.bringJs(`${__dirname}/preflight.store-2.cjs`, $preflightTypesMap); + const file2 = $helpers.bringJs(`${__dirname}/preflight.subfile-3.cjs`, $preflightTypesMap); + const file3 = $helpers.bringJs(`${__dirname}/preflight.empty-1.cjs`, $preflightTypesMap); + const math = $stdlib.math; + const expect = $stdlib.expect; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -368,9 +371,11 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), ["equal"]], [$stdlib.core.toLiftableModuleType(file2.Q, "", "Q"), ["greet"]], ], "$inflight_init": [ + [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), []], [$stdlib.core.toLiftableModuleType(file2.Q, "", "Q"), []], ], }); @@ -459,7 +464,8 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -module.exports = { }; +let $preflightTypesMap = {}; +module.exports = { $preflightTypesMap, }; //# sourceMappingURL=preflight.empty-1.cjs.map ``` @@ -470,7 +476,8 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const file3 = require("./preflight.empty-1.cjs"); +let $preflightTypesMap = {}; +const file3 = $helpers.bringJs(`${__dirname}/preflight.empty-1.cjs`, $preflightTypesMap); const math = $stdlib.math; const cloud = $stdlib.cloud; const Color = @@ -580,7 +587,7 @@ class Store extends $stdlib.std.Resource { }); } } -module.exports = { Util, Store, Color }; +module.exports = { $preflightTypesMap, Util, Store, Color }; //# sourceMappingURL=preflight.store-2.cjs.map ``` @@ -591,6 +598,7 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +let $preflightTypesMap = {}; const math = $stdlib.math; class Q extends $stdlib.std.Resource { constructor($scope, $id, ) { @@ -629,7 +637,7 @@ class Q extends $stdlib.std.Resource { }); } } -module.exports = { Q }; +module.exports = { $preflightTypesMap, Q }; //# sourceMappingURL=preflight.subfile-3.cjs.map ``` diff --git a/tools/hangar/__snapshots__/test_corpus/valid/bring_local_dir.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/bring_local_dir.test.w_compile_tf-aws.md index 0161018121b..2dd33865c8f 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/bring_local_dir.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/bring_local_dir.test.w_compile_tf-aws.md @@ -42,6 +42,21 @@ module.exports = function({ }) { //# sourceMappingURL=inflight.Foo-3.cjs.map ``` +## inflight.InflightClass-4.cjs +```cjs +"use strict"; +const $helpers = require("@winglang/sdk/lib/helpers"); +module.exports = function({ }) { + class InflightClass { + async method() { + return "What did you expect?"; + } + } + return InflightClass; +} +//# sourceMappingURL=inflight.InflightClass-4.cjs.map +``` + ## inflight.Widget-1.cjs ```cjs "use strict"; @@ -84,11 +99,14 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const w = require("./preflight.widget-1.cjs"); -const subdir = require("./preflight.subdir2-5.cjs"); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const w = $helpers.bringJs(`${__dirname}/preflight.widget-1.cjs`, $preflightTypesMap); + const subdir = $helpers.bringJs(`${__dirname}/preflight.subdir2-6.cjs`, $preflightTypesMap); + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; const widget1 = new w.Widget(this, "widget1"); $helpers.assert($helpers.eq((widget1.compute()), 42), "widget1.compute() == 42"); const foo = new subdir.Foo(this, "Foo"); @@ -113,7 +131,8 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const blah = require("./preflight.inner-2.cjs"); +let $preflightTypesMap = {}; +const blah = $helpers.bringJs(`${__dirname}/preflight.inner-2.cjs`, $preflightTypesMap); const cloud = $stdlib.cloud; const util = $stdlib.util; class Foo extends $stdlib.std.Resource { @@ -150,7 +169,7 @@ class Foo extends $stdlib.std.Resource { }); } } -module.exports = { Foo }; +module.exports = { $preflightTypesMap, Foo }; //# sourceMappingURL=preflight.file1-3.cjs.map ``` @@ -161,6 +180,7 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +let $preflightTypesMap = {}; const util = $stdlib.util; class Bar extends $stdlib.std.Resource { constructor($scope, $id, ) { @@ -222,10 +242,54 @@ class Foo extends $stdlib.std.Resource { }); } } -module.exports = { Bar }; +module.exports = { $preflightTypesMap, Bar }; //# sourceMappingURL=preflight.file2-4.cjs.map ``` +## preflight.inflightclass-5.cjs +```cjs +"use strict"; +const $stdlib = require('@winglang/sdk'); +const std = $stdlib.std; +const $helpers = $stdlib.helpers; +const $extern = $helpers.createExternRequire(__dirname); +let $preflightTypesMap = {}; +class InflightClass extends $stdlib.std.Resource { + constructor($scope, $id, ) { + super($scope, $id); + } + static _toInflightType() { + return ` + require("${$helpers.normalPath(__dirname)}/inflight.InflightClass-4.cjs")({ + }) + `; + } + _toInflight() { + return ` + (await (async () => { + const InflightClassClient = ${InflightClass._toInflightType()}; + const client = new InflightClassClient({ + }); + if (client.$inflight_init) { await client.$inflight_init(); } + return client; + })()) + `; + } + get _liftMap() { + return ({ + "method": [ + ], + "$inflight_init": [ + ], + }); + } +} +if ($preflightTypesMap[5]) { throw new Error("InflightClass is already in type map"); } +$preflightTypesMap[5] = InflightClass; +module.exports = { $preflightTypesMap, InflightClass }; +//# sourceMappingURL=preflight.inflightclass-5.cjs.map +``` + ## preflight.inner-2.cjs ```cjs "use strict"; @@ -233,25 +297,26 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -module.exports = { - ...require("./preflight.widget-1.cjs"), -}; +const $preflightTypesMap = {}; +Object.assign(module.exports, $helpers.bringJs(`${__dirname}/preflight.widget-1.cjs`, $preflightTypesMap)); +module.exports = { ...module.exports, $preflightTypesMap }; //# sourceMappingURL=preflight.inner-2.cjs.map ``` -## preflight.subdir2-5.cjs +## preflight.subdir2-6.cjs ```cjs "use strict"; const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -module.exports = { - get inner() { return require("./preflight.inner-2.cjs") }, - ...require("./preflight.file2-4.cjs"), - ...require("./preflight.file1-3.cjs"), -}; -//# sourceMappingURL=preflight.subdir2-5.cjs.map +const $preflightTypesMap = {}; +Object.assign(module.exports, { get inner() { return $helpers.bringJs(`${__dirname}/preflight.inner-2.cjs`, $preflightTypesMap); } }); +Object.assign(module.exports, $helpers.bringJs(`${__dirname}/preflight.inflightclass-5.cjs`, $preflightTypesMap)); +Object.assign(module.exports, $helpers.bringJs(`${__dirname}/preflight.file2-4.cjs`, $preflightTypesMap)); +Object.assign(module.exports, $helpers.bringJs(`${__dirname}/preflight.file1-3.cjs`, $preflightTypesMap)); +module.exports = { ...module.exports, $preflightTypesMap }; +//# sourceMappingURL=preflight.subdir2-6.cjs.map ``` ## preflight.widget-1.cjs @@ -261,6 +326,7 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +let $preflightTypesMap = {}; class Widget extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -295,7 +361,7 @@ class Widget extends $stdlib.std.Resource { }); } } -module.exports = { Widget }; +module.exports = { $preflightTypesMap, Widget }; //# sourceMappingURL=preflight.widget-1.cjs.map ``` diff --git a/tools/hangar/__snapshots__/test_corpus/valid/bring_local_normalization.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/bring_local_normalization.test.w_compile_tf-aws.md index 4fc2a4d1afb..7398aa21dd1 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/bring_local_normalization.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/bring_local_normalization.test.w_compile_tf-aws.md @@ -67,6 +67,7 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +let $preflightTypesMap = {}; class Bar extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -101,7 +102,7 @@ class Bar extends $stdlib.std.Resource { }); } } -module.exports = { Bar }; +module.exports = { $preflightTypesMap, Bar }; //# sourceMappingURL=preflight.bar-1.cjs.map ``` @@ -112,6 +113,7 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +let $preflightTypesMap = {}; class Baz extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -143,7 +145,7 @@ class Baz extends $stdlib.std.Resource { }); } } -module.exports = { Baz }; +module.exports = { $preflightTypesMap, Baz }; //# sourceMappingURL=preflight.baz-2.cjs.map ``` @@ -157,12 +159,15 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const foo = require("./preflight.foo-3.cjs"); -const bar = require("./preflight.bar-1.cjs"); -const baz = require("./preflight.baz-2.cjs"); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const foo = $helpers.bringJs(`${__dirname}/preflight.foo-3.cjs`, $preflightTypesMap); + const bar = $helpers.bringJs(`${__dirname}/preflight.bar-1.cjs`, $preflightTypesMap); + const baz = $helpers.bringJs(`${__dirname}/preflight.baz-2.cjs`, $preflightTypesMap); + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; $helpers.assert($helpers.eq((foo.Foo.foo(this)), "foo"), "foo.Foo.foo() == \"foo\""); $helpers.assert($helpers.eq((foo.Foo.bar(this)), "bar"), "foo.Foo.bar() == \"bar\""); $helpers.assert($helpers.eq((foo.Foo.baz(this)), "baz"), "foo.Foo.baz() == \"baz\""); @@ -183,8 +188,9 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const bar = require("./preflight.bar-1.cjs"); -const baz = require("./preflight.baz-2.cjs"); +let $preflightTypesMap = {}; +const bar = $helpers.bringJs(`${__dirname}/preflight.bar-1.cjs`, $preflightTypesMap); +const baz = $helpers.bringJs(`${__dirname}/preflight.baz-2.cjs`, $preflightTypesMap); class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -222,7 +228,7 @@ class Foo extends $stdlib.std.Resource { }); } } -module.exports = { Foo }; +module.exports = { $preflightTypesMap, Foo }; //# sourceMappingURL=preflight.foo-3.cjs.map ``` diff --git a/tools/hangar/__snapshots__/test_corpus/valid/bring_projen.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/bring_projen.test.w_compile_tf-aws.md index 85d3f6033f6..7ccc2ee5a0c 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/bring_projen.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/bring_projen.test.w_compile_tf-aws.md @@ -28,10 +28,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const projen = require("projen"); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const projen = require("projen"); + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; $helpers.assert($helpers.neq(projen.LogLevel.OFF, projen.LogLevel.VERBOSE), "projen.LogLevel.OFF != projen.LogLevel.VERBOSE"); } } diff --git a/tools/hangar/__snapshots__/test_corpus/valid/bring_wing_library.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/bring_wing_library.test.w_compile_tf-aws.md index 39d1b1cbf04..5e58a8ff2aa 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/bring_wing_library.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/bring_wing_library.test.w_compile_tf-aws.md @@ -107,12 +107,15 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const fixture = require("./preflight.testfixture-5.cjs"); -const testfixture = require("./preflight.testfixture-5.cjs"); -const testfixture2 = require("./preflight.testfixture-5.cjs"); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const fixture = $helpers.bringJs(`${__dirname}/preflight.testfixture-5.cjs`, $preflightTypesMap); + const testfixture = $helpers.bringJs(`${__dirname}/preflight.testfixture-5.cjs`, $preflightTypesMap); + const testfixture2 = $helpers.bringJs(`${__dirname}/preflight.testfixture-5.cjs`, $preflightTypesMap); + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -169,6 +172,7 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +let $preflightTypesMap = {}; const FavoriteNumbers = (function (tmp) { tmp["SEVEN"] = "SEVEN"; @@ -176,7 +180,7 @@ const FavoriteNumbers = return tmp; })({}) ; -module.exports = { FavoriteNumbers }; +module.exports = { $preflightTypesMap, FavoriteNumbers }; //# sourceMappingURL=preflight.enums-1.cjs.map ``` @@ -187,8 +191,9 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +let $preflightTypesMap = {}; const cloud = $stdlib.cloud; -const myutil = require("./preflight.util-2.cjs"); +const myutil = $helpers.bringJs(`${__dirname}/preflight.util-2.cjs`, $preflightTypesMap); class Store extends $stdlib.std.Resource { constructor($scope, $id, options) { super($scope, $id); @@ -242,7 +247,7 @@ class Store extends $stdlib.std.Resource { }); } } -module.exports = { Store }; +module.exports = { $preflightTypesMap, Store }; //# sourceMappingURL=preflight.store-3.cjs.map ``` @@ -253,9 +258,9 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -module.exports = { - ...require("./preflight.util-2.cjs"), -}; +const $preflightTypesMap = {}; +Object.assign(module.exports, $helpers.bringJs(`${__dirname}/preflight.util-2.cjs`, $preflightTypesMap)); +module.exports = { ...module.exports, $preflightTypesMap }; //# sourceMappingURL=preflight.subdir-4.cjs.map ``` @@ -266,11 +271,11 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -module.exports = { - get subdir() { return require("./preflight.subdir-4.cjs") }, - ...require("./preflight.store-3.cjs"), - ...require("./preflight.enums-1.cjs"), -}; +const $preflightTypesMap = {}; +Object.assign(module.exports, { get subdir() { return $helpers.bringJs(`${__dirname}/preflight.subdir-4.cjs`, $preflightTypesMap); } }); +Object.assign(module.exports, $helpers.bringJs(`${__dirname}/preflight.store-3.cjs`, $preflightTypesMap)); +Object.assign(module.exports, $helpers.bringJs(`${__dirname}/preflight.enums-1.cjs`, $preflightTypesMap)); +module.exports = { ...module.exports, $preflightTypesMap }; //# sourceMappingURL=preflight.testfixture-5.cjs.map ``` @@ -281,6 +286,7 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +let $preflightTypesMap = {}; class Util extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -317,7 +323,7 @@ class Util extends $stdlib.std.Resource { }); } } -module.exports = { Util }; +module.exports = { $preflightTypesMap, Util }; //# sourceMappingURL=preflight.util-2.cjs.map ``` diff --git a/tools/hangar/__snapshots__/test_corpus/valid/bucket_keys.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/bucket_keys.test.w_compile_tf-aws.md index 4b8c605b7a2..e762d20f3e9 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/bucket_keys.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/bucket_keys.test.w_compile_tf-aws.md @@ -72,10 +72,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/bypass_return.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/bypass_return.test.w_compile_tf-aws.md index ea4602f5b01..03d5a647c20 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/bypass_return.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/bypass_return.test.w_compile_tf-aws.md @@ -31,6 +31,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; const simpleThrow = (() => { throw new Error("not implemented"); }); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/call_static_of_myself.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/call_static_of_myself.test.w_compile_tf-aws.md index 4611883ee58..84dbcc76d5b 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/call_static_of_myself.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/call_static_of_myself.test.w_compile_tf-aws.md @@ -102,6 +102,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -167,8 +170,10 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "callThis": [ + [Bar, ["bar"]], ], "$inflight_init": [ + [Bar, []], ], }); } @@ -179,6 +184,8 @@ class $Root extends $stdlib.std.Resource { }); } } + if ($preflightTypesMap[2]) { throw new Error("Bar is already in type map"); } + $preflightTypesMap[2] = Bar; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -208,10 +215,14 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$helpers.preflightClassSingleton(this, 2), ["callThis"]], + [Bar, ["bar"]], [Foo, ["foo"]], [foo, ["callThis"]], ], "$inflight_init": [ + [$helpers.preflightClassSingleton(this, 2), []], + [Bar, []], [Foo, []], [foo, []], ], diff --git a/tools/hangar/__snapshots__/test_corpus/valid/calling_inflight_variants.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/calling_inflight_variants.test.w_compile_tf-aws.md index fd928e94383..00adcc28e4c 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/calling_inflight_variants.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/calling_inflight_variants.test.w_compile_tf-aws.md @@ -113,6 +113,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/capture_containers.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/capture_containers.test.w_compile_tf-aws.md index 16cf7d4204f..dad39b8b93b 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/capture_containers.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/capture_containers.test.w_compile_tf-aws.md @@ -56,10 +56,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/capture_in_binary.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/capture_in_binary.test.w_compile_tf-aws.md index 73647713356..ecf8ade3a00 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/capture_in_binary.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/capture_in_binary.test.w_compile_tf-aws.md @@ -64,10 +64,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/capture_mutables.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/capture_mutables.test.w_compile_tf-aws.md index 538560e462b..1ec46a6ba0e 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/capture_mutables.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/capture_mutables.test.w_compile_tf-aws.md @@ -74,6 +74,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/capture_primitives.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/capture_primitives.test.w_compile_tf-aws.md index 1b5082f1c70..0725bb48d7e 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/capture_primitives.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/capture_primitives.test.w_compile_tf-aws.md @@ -168,10 +168,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/capture_reassigable_class_field.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/capture_reassigable_class_field.test.w_compile_tf-aws.md index 0e3e34f9f93..081361e3401 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/capture_reassigable_class_field.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/capture_reassigable_class_field.test.w_compile_tf-aws.md @@ -153,11 +153,14 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; -const util = $stdlib.util; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + const util = $stdlib.util; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class KeyValueStore extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -298,10 +301,12 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), ["waitUntil"]], [counter, ["peek"]], [kv, [].concat(["set"], ["get"])], ], "$inflight_init": [ + [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), []], [counter, []], [kv, []], ], diff --git a/tools/hangar/__snapshots__/test_corpus/valid/capture_reassignable.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/capture_reassignable.test.w_compile_tf-aws.md index 17f9085dddc..8ce585923d3 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/capture_reassignable.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/capture_reassignable.test.w_compile_tf-aws.md @@ -68,10 +68,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/capture_resource_and_data.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/capture_resource_and_data.test.w_compile_tf-aws.md index 3e4023e45ec..92ddc8fb9b6 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/capture_resource_and_data.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/capture_resource_and_data.test.w_compile_tf-aws.md @@ -78,10 +78,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/capture_resource_with_no_inflight.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/capture_resource_with_no_inflight.test.w_compile_tf-aws.md index 54af4c008fb..69f6253c74e 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/capture_resource_with_no_inflight.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/capture_resource_with_no_inflight.test.w_compile_tf-aws.md @@ -90,10 +90,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class A extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/capture_tokens.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/capture_tokens.test.w_compile_tf-aws.md index 55d284b2ce0..c2e624d2b4e 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/capture_tokens.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/capture_tokens.test.w_compile_tf-aws.md @@ -227,10 +227,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class MyResource extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/captures.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/captures.test.w_compile_tf-aws.md index 5e70bb4a547..e01268f629c 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/captures.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/captures.test.w_compile_tf-aws.md @@ -648,10 +648,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/casting.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/casting.test.w_compile_tf-aws.md index d6739f9b1c8..fefdc50a3b4 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/casting.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/casting.test.w_compile_tf-aws.md @@ -47,12 +47,15 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; -const util = $stdlib.util; -const aws = require("@cdktf/provider-aws"); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + const util = $stdlib.util; + const aws = require("@cdktf/provider-aws"); + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; const b = this.node.root.new("@winglang/sdk.cloud.Bucket", cloud.Bucket, this, "Bucket"); if ($helpers.eq((util.Util.env("WING_TARGET")), "tf-aws")) { const s3Bucket = ($helpers.nodeof(b).findChild("Default")); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/class.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/class.test.w_compile_tf-aws.md index 222177a3393..16865355b48 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/class.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/class.test.w_compile_tf-aws.md @@ -586,10 +586,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class C1 extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -1211,6 +1214,8 @@ class $Root extends $stdlib.std.Resource { }); } } + if ($preflightTypesMap[20]) { throw new Error("A is already in type map"); } + $preflightTypesMap[20] = A; class B extends A { constructor($scope, $id, ) { super($scope, $id); @@ -1240,6 +1245,8 @@ class $Root extends $stdlib.std.Resource { }); } } + if ($preflightTypesMap[21]) { throw new Error("B is already in type map"); } + $preflightTypesMap[21] = B; class $Closure5 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -1267,8 +1274,12 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$helpers.preflightClassSingleton(this, 21), ["sound"]], + [B, []], ], "$inflight_init": [ + [$helpers.preflightClassSingleton(this, 21), []], + [B, []], ], }); } diff --git a/tools/hangar/__snapshots__/test_corpus/valid/closure_class.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/closure_class.test.w_compile_tf-aws.md index 8527d14afd4..62b11c93ac9 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/closure_class.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/closure_class.test.w_compile_tf-aws.md @@ -75,6 +75,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class MyClosure extends $stdlib.std.Resource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/construct-base.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/construct-base.test.w_compile_tf-aws.md index b303e7c3cea..a2ad6b661c8 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/construct-base.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/construct-base.test.w_compile_tf-aws.md @@ -54,12 +54,15 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; -const cx = require("constructs"); -const aws = require("@cdktf/provider-aws"); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + const cx = require("constructs"); + const aws = require("@cdktf/provider-aws"); + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class WingResource extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/container_types.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/container_types.test.w_compile_tf-aws.md index bfc1c7752f2..a583447f5bf 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/container_types.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/container_types.test.w_compile_tf-aws.md @@ -62,10 +62,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; const bucket1 = this.node.root.new("@winglang/sdk.cloud.Bucket", cloud.Bucket, this, "bucket1"); const bucket2 = this.node.root.new("@winglang/sdk.cloud.Bucket", cloud.Bucket, this, "bucket2"); const bucket3 = this.node.root.new("@winglang/sdk.cloud.Bucket", cloud.Bucket, this, "bucket3"); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/custom_obj_id.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/custom_obj_id.test.w_compile_tf-aws.md index 09fd1622e94..fa553b1f8f1 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/custom_obj_id.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/custom_obj_id.test.w_compile_tf-aws.md @@ -45,6 +45,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/debug_env.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/debug_env.test.w_compile_tf-aws.md index 3cc240d6983..9f75a4cfd6e 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/debug_env.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/debug_env.test.w_compile_tf-aws.md @@ -42,10 +42,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class A extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/deep_equality.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/deep_equality.test.w_compile_tf-aws.md index 3d139298a72..fcb628d4bbd 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/deep_equality.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/deep_equality.test.w_compile_tf-aws.md @@ -306,6 +306,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -500,8 +503,10 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$stdlib.core.toLiftableModuleType(std.Json, "@winglang/sdk/std", "Json"), ["values"]], ], "$inflight_init": [ + [$stdlib.core.toLiftableModuleType(std.Json, "@winglang/sdk/std", "Json"), []], ], }); } diff --git a/tools/hangar/__snapshots__/test_corpus/valid/double_reference.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/double_reference.test.w_compile_tf-aws.md index f93187e3c3d..1796d7a91f5 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/double_reference.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/double_reference.test.w_compile_tf-aws.md @@ -108,10 +108,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/doubler.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/doubler.test.w_compile_tf-aws.md index 0fabf02ee95..1f81a187a68 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/doubler.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/doubler.test.w_compile_tf-aws.md @@ -252,10 +252,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Doubler extends $stdlib.std.Resource { constructor($scope, $id, func) { super($scope, $id); @@ -356,9 +359,13 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$stdlib.core.toLiftableModuleType(std.Json, "@winglang/sdk/std", "Json"), ["stringify"]], + [$stdlib.core.toLiftableModuleType(std.Number, "@winglang/sdk/std", "Number"), ["fromStr"]], [handler, ["handle"]], ], "$inflight_init": [ + [$stdlib.core.toLiftableModuleType(std.Json, "@winglang/sdk/std", "Json"), []], + [$stdlib.core.toLiftableModuleType(std.Number, "@winglang/sdk/std", "Number"), []], [handler, []], ], }); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/enums.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/enums.test.w_compile_tf-aws.md index 9dfb3b6b408..9d7aa868863 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/enums.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/enums.test.w_compile_tf-aws.md @@ -74,6 +74,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; const SomeEnum = (function (tmp) { tmp["ONE"] = "ONE"; @@ -117,10 +120,12 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [SomeEnum, [].concat(["ONE"], ["TWO"])], [one, []], [two, []], ], "$inflight_init": [ + [SomeEnum, []], [one, []], [two, []], ], @@ -154,8 +159,10 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [SomeEnum, [].concat(["ONE"], ["TWO"], ["THREE"])], ], "$inflight_init": [ + [SomeEnum, []], ], }); } diff --git a/tools/hangar/__snapshots__/test_corpus/valid/explicit_lift_qualification.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/explicit_lift_qualification.test.w_compile_tf-aws.md index 25ed7a932e0..82bfb8995d5 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/explicit_lift_qualification.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/explicit_lift_qualification.test.w_compile_tf-aws.md @@ -213,10 +213,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/expressions_binary_operators.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/expressions_binary_operators.test.w_compile_tf-aws.md index 5c8ac0336ed..1e163ed75c5 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/expressions_binary_operators.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/expressions_binary_operators.test.w_compile_tf-aws.md @@ -31,6 +31,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; const x = (-1); const y = (2 * x); const z = ((x + y) - 1); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/expressions_string_interpolation.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/expressions_string_interpolation.test.w_compile_tf-aws.md index b320cc977b3..6fb16c92c8a 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/expressions_string_interpolation.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/expressions_string_interpolation.test.w_compile_tf-aws.md @@ -53,10 +53,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const expect = $stdlib.expect; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const expect = $stdlib.expect; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -85,9 +88,11 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), ["equal"]], [number, []], ], "$inflight_init": [ + [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), []], [number, []], ], }); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/extend_non_entrypoint.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/extend_non_entrypoint.w_compile_tf-aws.md index 794ec04a576..8bf44dfdc83 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/extend_non_entrypoint.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/extend_non_entrypoint.w_compile_tf-aws.md @@ -22,6 +22,7 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +let $preflightTypesMap = {}; const cdk8s = require("cdk8s"); class Foo extends (this?.node?.root?.typeForFqn("cdk8s.Chart") ?? cdk8s.Chart) { constructor($scope, $id, ) { @@ -52,7 +53,7 @@ class Foo extends (this?.node?.root?.typeForFqn("cdk8s.Chart") ?? cdk8s.Chart) { }); } } -module.exports = { Foo }; +module.exports = { $preflightTypesMap, Foo }; //# sourceMappingURL=preflight.cjs.map ``` diff --git a/tools/hangar/__snapshots__/test_corpus/valid/extern_implementation.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/extern_implementation.test.w_compile_tf-aws.md index 8763ce21760..a8effb04aa1 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/extern_implementation.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/extern_implementation.test.w_compile_tf-aws.md @@ -236,10 +236,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/file_counter.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/file_counter.test.w_compile_tf-aws.md index a244a8ce90e..aceec6e2d13 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/file_counter.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/file_counter.test.w_compile_tf-aws.md @@ -216,10 +216,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/for_loop.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/for_loop.test.w_compile_tf-aws.md index 49fed41ce7f..be92a25fbfe 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/for_loop.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/for_loop.test.w_compile_tf-aws.md @@ -177,10 +177,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/forward_decl.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/forward_decl.test.w_compile_tf-aws.md index 287a91f1761..d176dedbad8 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/forward_decl.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/forward_decl.test.w_compile_tf-aws.md @@ -45,6 +45,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class R extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/function_optional_arguments.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/function_optional_arguments.test.w_compile_tf-aws.md index 2feba53142a..4cde6e758c9 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/function_optional_arguments.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/function_optional_arguments.test.w_compile_tf-aws.md @@ -45,6 +45,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/function_returns_function.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/function_returns_function.test.w_compile_tf-aws.md index 0a2609770f3..02edb318a6f 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/function_returns_function.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/function_returns_function.test.w_compile_tf-aws.md @@ -56,10 +56,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/function_type.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/function_type.test.w_compile_tf-aws.md index 1047d0fd693..d65d23f80fa 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/function_type.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/function_type.test.w_compile_tf-aws.md @@ -106,6 +106,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/function_variadic_arguments.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/function_variadic_arguments.test.w_compile_tf-aws.md index d0346334c75..c8978d701ca 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/function_variadic_arguments.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/function_variadic_arguments.test.w_compile_tf-aws.md @@ -91,10 +91,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class A extends $stdlib.std.Resource { constructor($scope, $id, msg) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/hello.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/hello.test.w_compile_tf-aws.md index a61df751352..88bcc5a917b 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/hello.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/hello.test.w_compile_tf-aws.md @@ -194,10 +194,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/identical_inflights.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/identical_inflights.test.w_compile_tf-aws.md index 8f2cbcbb2ea..34ffe393f1a 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/identical_inflights.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/identical_inflights.test.w_compile_tf-aws.md @@ -69,6 +69,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/impl_interface.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/impl_interface.test.w_compile_tf-aws.md index ee3ceb316ad..1ba04695a5b 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/impl_interface.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/impl_interface.test.w_compile_tf-aws.md @@ -265,11 +265,14 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; -const jsii_fixture = require("jsii-fixture"); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + const jsii_fixture = require("jsii-fixture"); + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class A extends $stdlib.std.Resource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -625,6 +628,8 @@ class $Root extends $stdlib.std.Resource { }); } } + if ($preflightTypesMap[11]) { throw new Error("ImplInflightIfaceInInflightClass is already in type map"); } + $preflightTypesMap[11] = ImplInflightIfaceInInflightClass; class ImplInflightIfaceInPreflightClass extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/implicit_std.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/implicit_std.test.w_compile_tf-aws.md index c2c93e1f0e7..22ee565a070 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/implicit_std.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/implicit_std.test.w_compile_tf-aws.md @@ -31,6 +31,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; const d = (std.Duration.fromMinutes(5)); const n = ((args) => { if (isNaN(args)) {throw new Error("unable to parse \"" + args + "\" as a number")}; return Number(args) })("12"); $helpers.assert($helpers.eq(d.seconds, (5 * 60)), "d.seconds == 5 * 60"); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/in_scope_construct.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/in_scope_construct.test.w_compile_tf-aws.md index c0fa4e1a016..04c31a4940f 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/in_scope_construct.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/in_scope_construct.test.w_compile_tf-aws.md @@ -42,10 +42,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const c = require("constructs"); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const c = require("constructs"); + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class MyClass extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/indexing.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/indexing.test.w_compile_tf-aws.md index 63ac7687524..36a734bcd31 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/indexing.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/indexing.test.w_compile_tf-aws.md @@ -42,11 +42,14 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; -const expect = $stdlib.expect; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + const expect = $stdlib.expect; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class A extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inference.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inference.test.w_compile_tf-aws.md index d9c9ec036f8..5cbb1cd8f3d 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inference.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inference.test.w_compile_tf-aws.md @@ -253,10 +253,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflight-subscribers.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inflight-subscribers.test.w_compile_tf-aws.md index c00ce72a039..ff2bdeff84e 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflight-subscribers.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflight-subscribers.test.w_compile_tf-aws.md @@ -322,10 +322,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflight_capture_static.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inflight_capture_static.test.w_compile_tf-aws.md index 099441fc26c..6acea4f262b 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflight_capture_static.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflight_capture_static.test.w_compile_tf-aws.md @@ -154,10 +154,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const util = $stdlib.util; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const util = $stdlib.util; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Preflight extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -226,6 +229,8 @@ class $Root extends $stdlib.std.Resource { }); } } + if ($preflightTypesMap[2]) { throw new Error("OuterInflight is already in type map"); } + $preflightTypesMap[2] = OuterInflight; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -288,8 +293,10 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [OuterInflight, ["staticMethod"]], ], "$inflight_init": [ + [OuterInflight, []], ], }); } @@ -353,8 +360,10 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), ["tryEnv"]], ], "$inflight_init": [ + [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), []], ], }); } diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_as_struct_members.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_as_struct_members.test.w_compile_tf-aws.md index 63eac774a41..22418a19e92 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_as_struct_members.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_as_struct_members.test.w_compile_tf-aws.md @@ -87,6 +87,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -117,6 +120,8 @@ class $Root extends $stdlib.std.Resource { }); } } + if ($preflightTypesMap[1]) { throw new Error("Foo is already in type map"); } + $preflightTypesMap[1] = Foo; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -144,8 +149,10 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [Foo, []], ], "$inflight_init": [ + [Foo, []], ], }); } @@ -177,9 +184,11 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$helpers.preflightClassSingleton(this, 1), ["get"]], [getBar, ["handle"]], ], "$inflight_init": [ + [$helpers.preflightClassSingleton(this, 1), []], [getBar, []], ], }); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_capture_const.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_capture_const.test.w_compile_tf-aws.md index fd1516e9e87..3a91adb2ae5 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_capture_const.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_capture_const.test.w_compile_tf-aws.md @@ -64,10 +64,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -101,6 +104,8 @@ class $Root extends $stdlib.std.Resource { }); } } + if ($preflightTypesMap[1]) { throw new Error("Foo is already in type map"); } + $preflightTypesMap[1] = Foo; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -129,9 +134,13 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$helpers.preflightClassSingleton(this, 1), ["getValue"]], + [Foo, []], [myConst, []], ], "$inflight_init": [ + [$helpers.preflightClassSingleton(this, 1), []], + [Foo, []], [myConst, []], ], }); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_capture_preflight_object.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_capture_preflight_object.test.w_compile_tf-aws.md index b11b224548b..07738803002 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_capture_preflight_object.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_capture_preflight_object.test.w_compile_tf-aws.md @@ -1,5 +1,226 @@ # [inflight_class_capture_preflight_object.test.w](../../../../../examples/tests/valid/inflight_class_capture_preflight_object.test.w) | compile | tf-aws +## inflight.$Closure1-5.cjs +```cjs +"use strict"; +const $helpers = require("@winglang/sdk/lib/helpers"); +module.exports = function({ $Foo }) { + class $Closure1 { + constructor({ }) { + const $obj = (...args) => this.handle(...args); + Object.setPrototypeOf($obj, this); + return $obj; + } + async handle() { + const f = (await (async () => {const o = new $Foo(); await o.$inflight_init?.(); return o; })()); + (await f.uploadToBucket("hello.txt", "world")); + } + } + return $Closure1; +} +//# sourceMappingURL=inflight.$Closure1-5.cjs.map +``` + +## inflight.$Closure2-5.cjs +```cjs +"use strict"; +const $helpers = require("@winglang/sdk/lib/helpers"); +module.exports = function({ $Foo }) { + class $Closure2 { + constructor({ }) { + const $obj = (...args) => this.handle(...args); + Object.setPrototypeOf($obj, this); + return $obj; + } + async handle() { + (await $Foo.fooStatic()); + } + } + return $Closure2; +} +//# sourceMappingURL=inflight.$Closure2-5.cjs.map +``` + +## inflight.$Closure3-5.cjs +```cjs +"use strict"; +const $helpers = require("@winglang/sdk/lib/helpers"); +module.exports = function({ $Foo }) { + class $Closure3 { + constructor({ }) { + const $obj = (...args) => this.handle(...args); + Object.setPrototypeOf($obj, this); + return $obj; + } + async handle() { + return (await (async () => {const o = new $Foo(); await o.$inflight_init?.(); return o; })()); + } + } + return $Closure3; +} +//# sourceMappingURL=inflight.$Closure3-5.cjs.map +``` + +## inflight.$Closure4-5.cjs +```cjs +"use strict"; +const $helpers = require("@winglang/sdk/lib/helpers"); +module.exports = function({ $getFoo }) { + class $Closure4 { + constructor({ }) { + const $obj = (...args) => this.handle(...args); + Object.setPrototypeOf($obj, this); + return $obj; + } + async handle() { + const foo = (await $getFoo()); + (await foo.uploadToBucket("greetings.txt", "universe")); + } + } + return $Closure4; +} +//# sourceMappingURL=inflight.$Closure4-5.cjs.map +``` + +## inflight.$Closure5-5.cjs +```cjs +"use strict"; +const $helpers = require("@winglang/sdk/lib/helpers"); +module.exports = function({ $b }) { + class $Closure5 { + constructor({ }) { + const $obj = (...args) => this.handle(...args); + Object.setPrototypeOf($obj, this); + return $obj; + } + async handle() { + class Foo2 { + async uploadToBucket() { + (await $b.put("x", "y")); + $helpers.assert($helpers.eq((await $b.get("x")), "y"), "b.get(\"x\") == \"y\""); + } + } + const f = (await (async () => {const o = new Foo2(); await o.$inflight_init?.(); return o; })()); + (await f.uploadToBucket()); + } + } + return $Closure5; +} +//# sourceMappingURL=inflight.$Closure5-5.cjs.map +``` + +## inflight.$Closure6-5.cjs +```cjs +"use strict"; +const $helpers = require("@winglang/sdk/lib/helpers"); +module.exports = function({ $subdir_InflightClass }) { + class $Closure6 { + constructor({ }) { + const $obj = (...args) => this.handle(...args); + Object.setPrototypeOf($obj, this); + return $obj; + } + async handle() { + const x = (await (async () => {const o = new $subdir_InflightClass(); await o.$inflight_init?.(); return o; })()); + $helpers.assert($helpers.eq((await x.method()), "What did you expect?"), "x.method() == \"What did you expect?\""); + } + } + return $Closure6; +} +//# sourceMappingURL=inflight.$Closure6-5.cjs.map +``` + +## inflight.Bar-3.cjs +```cjs +"use strict"; +const $helpers = require("@winglang/sdk/lib/helpers"); +module.exports = function({ }) { + class Bar { + constructor({ }) { + } + } + return Bar; +} +//# sourceMappingURL=inflight.Bar-3.cjs.map +``` + +## inflight.Foo-2.cjs +```cjs +"use strict"; +const $helpers = require("@winglang/sdk/lib/helpers"); +module.exports = function({ }) { + class Foo { + constructor({ }) { + } + } + return Foo; +} +//# sourceMappingURL=inflight.Foo-2.cjs.map +``` + +## inflight.Foo-3.cjs +```cjs +"use strict"; +const $helpers = require("@winglang/sdk/lib/helpers"); +module.exports = function({ }) { + class Foo { + constructor({ }) { + } + } + return Foo; +} +//# sourceMappingURL=inflight.Foo-3.cjs.map +``` + +## inflight.Foo-5.cjs +```cjs +"use strict"; +const $helpers = require("@winglang/sdk/lib/helpers"); +module.exports = function({ $b }) { + class Foo { + async uploadToBucket(k, value) { + (await $b.put(k, value)); + $helpers.assert($helpers.eq((await $b.get(k)), value), "b.get(k) == value"); + } + static async fooStatic() { + (await $b.put("a", "b")); + $helpers.assert($helpers.eq((await $b.list()), ["a"]), "b.list() == [\"a\"]"); + } + } + return Foo; +} +//# sourceMappingURL=inflight.Foo-5.cjs.map +``` + +## inflight.InflightClass-4.cjs +```cjs +"use strict"; +const $helpers = require("@winglang/sdk/lib/helpers"); +module.exports = function({ }) { + class InflightClass { + async method() { + return "What did you expect?"; + } + } + return InflightClass; +} +//# sourceMappingURL=inflight.InflightClass-4.cjs.map +``` + +## inflight.Widget-1.cjs +```cjs +"use strict"; +const $helpers = require("@winglang/sdk/lib/helpers"); +module.exports = function({ }) { + class Widget { + constructor({ }) { + } + } + return Widget; +} +//# sourceMappingURL=inflight.Widget-1.cjs.map +``` + ## main.tf.json ```json { @@ -14,6 +235,20 @@ "aws": [ {} ] + }, + "resource": { + "aws_s3_bucket": { + "Bucket": { + "//": { + "metadata": { + "path": "root/Default/Default/Bucket/Default", + "uniqueId": "Bucket" + } + }, + "bucket_prefix": "bucket-c88fdc5f-", + "force_destroy": false + } + } } } ``` @@ -31,6 +266,276 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + const subdir = $helpers.bringJs(`${__dirname}/preflight.subdir2-6.cjs`, $preflightTypesMap); + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; + class Foo extends $stdlib.std.Resource { + constructor($scope, $id, ) { + super($scope, $id); + } + static _toInflightType() { + return ` + require("${$helpers.normalPath(__dirname)}/inflight.Foo-5.cjs")({ + $b: ${$stdlib.core.liftObject(b)}, + }) + `; + } + _toInflight() { + return ` + (await (async () => { + const FooClient = ${Foo._toInflightType()}; + const client = new FooClient({ + }); + if (client.$inflight_init) { await client.$inflight_init(); } + return client; + })()) + `; + } + get _liftMap() { + return ({ + "uploadToBucket": [ + [b, [].concat(["put"], ["get"])], + ], + "$inflight_init": [ + [b, []], + ], + }); + } + static get _liftTypeMap() { + return ({ + "fooStatic": [ + [b, [].concat(["put"], ["list"])], + ], + }); + } + } + if ($preflightTypesMap[6]) { throw new Error("Foo is already in type map"); } + $preflightTypesMap[6] = Foo; + class $Closure1 extends $stdlib.std.AutoIdResource { + _id = $stdlib.core.closureId(); + constructor($scope, $id, ) { + super($scope, $id); + $helpers.nodeof(this).hidden = true; + } + static _toInflightType() { + return ` + require("${$helpers.normalPath(__dirname)}/inflight.$Closure1-5.cjs")({ + $Foo: ${$stdlib.core.liftObject(Foo)}, + }) + `; + } + _toInflight() { + return ` + (await (async () => { + const $Closure1Client = ${$Closure1._toInflightType()}; + const client = new $Closure1Client({ + }); + if (client.$inflight_init) { await client.$inflight_init(); } + return client; + })()) + `; + } + get _liftMap() { + return ({ + "handle": [ + [$helpers.preflightClassSingleton(this, 6), ["uploadToBucket"]], + [Foo, []], + ], + "$inflight_init": [ + [$helpers.preflightClassSingleton(this, 6), []], + [Foo, []], + ], + }); + } + } + class $Closure2 extends $stdlib.std.AutoIdResource { + _id = $stdlib.core.closureId(); + constructor($scope, $id, ) { + super($scope, $id); + $helpers.nodeof(this).hidden = true; + } + static _toInflightType() { + return ` + require("${$helpers.normalPath(__dirname)}/inflight.$Closure2-5.cjs")({ + $Foo: ${$stdlib.core.liftObject(Foo)}, + }) + `; + } + _toInflight() { + return ` + (await (async () => { + const $Closure2Client = ${$Closure2._toInflightType()}; + const client = new $Closure2Client({ + }); + if (client.$inflight_init) { await client.$inflight_init(); } + return client; + })()) + `; + } + get _liftMap() { + return ({ + "handle": [ + [Foo, ["fooStatic"]], + ], + "$inflight_init": [ + [Foo, []], + ], + }); + } + } + class $Closure3 extends $stdlib.std.AutoIdResource { + _id = $stdlib.core.closureId(); + constructor($scope, $id, ) { + super($scope, $id); + $helpers.nodeof(this).hidden = true; + } + static _toInflightType() { + return ` + require("${$helpers.normalPath(__dirname)}/inflight.$Closure3-5.cjs")({ + $Foo: ${$stdlib.core.liftObject(Foo)}, + }) + `; + } + _toInflight() { + return ` + (await (async () => { + const $Closure3Client = ${$Closure3._toInflightType()}; + const client = new $Closure3Client({ + }); + if (client.$inflight_init) { await client.$inflight_init(); } + return client; + })()) + `; + } + get _liftMap() { + return ({ + "handle": [ + [Foo, []], + ], + "$inflight_init": [ + [Foo, []], + ], + }); + } + } + class $Closure4 extends $stdlib.std.AutoIdResource { + _id = $stdlib.core.closureId(); + constructor($scope, $id, ) { + super($scope, $id); + $helpers.nodeof(this).hidden = true; + } + static _toInflightType() { + return ` + require("${$helpers.normalPath(__dirname)}/inflight.$Closure4-5.cjs")({ + $getFoo: ${$stdlib.core.liftObject(getFoo)}, + }) + `; + } + _toInflight() { + return ` + (await (async () => { + const $Closure4Client = ${$Closure4._toInflightType()}; + const client = new $Closure4Client({ + }); + if (client.$inflight_init) { await client.$inflight_init(); } + return client; + })()) + `; + } + get _liftMap() { + return ({ + "handle": [ + [$helpers.preflightClassSingleton(this, 6), ["uploadToBucket"]], + [getFoo, ["handle"]], + ], + "$inflight_init": [ + [$helpers.preflightClassSingleton(this, 6), []], + [getFoo, []], + ], + }); + } + } + class $Closure5 extends $stdlib.std.AutoIdResource { + _id = $stdlib.core.closureId(); + constructor($scope, $id, ) { + super($scope, $id); + $helpers.nodeof(this).hidden = true; + } + static _toInflightType() { + return ` + require("${$helpers.normalPath(__dirname)}/inflight.$Closure5-5.cjs")({ + $b: ${$stdlib.core.liftObject(b)}, + }) + `; + } + _toInflight() { + return ` + (await (async () => { + const $Closure5Client = ${$Closure5._toInflightType()}; + const client = new $Closure5Client({ + }); + if (client.$inflight_init) { await client.$inflight_init(); } + return client; + })()) + `; + } + get _liftMap() { + return ({ + "handle": [ + [b, [].concat(["put"], ["get"])], + ], + "$inflight_init": [ + [b, []], + ], + }); + } + } + class $Closure6 extends $stdlib.std.AutoIdResource { + _id = $stdlib.core.closureId(); + constructor($scope, $id, ) { + super($scope, $id); + $helpers.nodeof(this).hidden = true; + } + static _toInflightType() { + return ` + require("${$helpers.normalPath(__dirname)}/inflight.$Closure6-5.cjs")({ + $subdir_InflightClass: ${$stdlib.core.liftObject($stdlib.core.toLiftableModuleType(subdir.InflightClass, "", "InflightClass"))}, + }) + `; + } + _toInflight() { + return ` + (await (async () => { + const $Closure6Client = ${$Closure6._toInflightType()}; + const client = new $Closure6Client({ + }); + if (client.$inflight_init) { await client.$inflight_init(); } + return client; + })()) + `; + } + get _liftMap() { + return ({ + "handle": [ + [$helpers.preflightClassSingleton(this, 5), ["method"]], + [$stdlib.core.toLiftableModuleType(subdir.InflightClass, "", "InflightClass"), []], + ], + "$inflight_init": [ + [$helpers.preflightClassSingleton(this, 5), []], + [$stdlib.core.toLiftableModuleType(subdir.InflightClass, "", "InflightClass"), []], + ], + }); + } + } + const b = this.node.root.new("@winglang/sdk.cloud.Bucket", cloud.Bucket, this, "Bucket"); + this.node.root.new("@winglang/sdk.std.Test", std.Test, this, "test:inflight class captures preflight resource", new $Closure1(this, "$Closure1")); + this.node.root.new("@winglang/sdk.std.Test", std.Test, this, "test:inflight class type captures preflight resource", new $Closure2(this, "$Closure2")); + const getFoo = new $Closure3(this, "$Closure3"); + this.node.root.new("@winglang/sdk.std.Test", std.Test, this, "test:inflight class qualified without explicit reference", new $Closure4(this, "$Closure4")); + this.node.root.new("@winglang/sdk.std.Test", std.Test, this, "test:inflight class defined inflight captures preflight object", new $Closure5(this, "$Closure5")); + this.node.root.new("@winglang/sdk.std.Test", std.Test, this, "test:bring inflight class from subdir", new $Closure6(this, "$Closure6")); } } const $PlatformManager = new $stdlib.platform.PlatformManager({platformPaths: $platforms}); @@ -39,3 +544,244 @@ $APP.synth(); //# sourceMappingURL=preflight.cjs.map ``` +## preflight.file1-3.cjs +```cjs +"use strict"; +const $stdlib = require('@winglang/sdk'); +const std = $stdlib.std; +const $helpers = $stdlib.helpers; +const $extern = $helpers.createExternRequire(__dirname); +let $preflightTypesMap = {}; +const blah = $helpers.bringJs(`${__dirname}/preflight.inner-2.cjs`, $preflightTypesMap); +const cloud = $stdlib.cloud; +const util = $stdlib.util; +class Foo extends $stdlib.std.Resource { + constructor($scope, $id, ) { + super($scope, $id); + } + foo() { + return "foo"; + } + checkWidget(widget) { + return ((widget.compute()) + (blah.Widget.staticCompute(this))); + } + static _toInflightType() { + return ` + require("${$helpers.normalPath(__dirname)}/inflight.Foo-2.cjs")({ + }) + `; + } + _toInflight() { + return ` + (await (async () => { + const FooClient = ${Foo._toInflightType()}; + const client = new FooClient({ + }); + if (client.$inflight_init) { await client.$inflight_init(); } + return client; + })()) + `; + } + get _liftMap() { + return ({ + "$inflight_init": [ + ], + }); + } +} +module.exports = { $preflightTypesMap, Foo }; +//# sourceMappingURL=preflight.file1-3.cjs.map +``` + +## preflight.file2-4.cjs +```cjs +"use strict"; +const $stdlib = require('@winglang/sdk'); +const std = $stdlib.std; +const $helpers = $stdlib.helpers; +const $extern = $helpers.createExternRequire(__dirname); +let $preflightTypesMap = {}; +const util = $stdlib.util; +class Bar extends $stdlib.std.Resource { + constructor($scope, $id, ) { + super($scope, $id); + } + bar() { + (util.Util.nanoid()); + return "bar"; + } + static _toInflightType() { + return ` + require("${$helpers.normalPath(__dirname)}/inflight.Bar-3.cjs")({ + }) + `; + } + _toInflight() { + return ` + (await (async () => { + const BarClient = ${Bar._toInflightType()}; + const client = new BarClient({ + }); + if (client.$inflight_init) { await client.$inflight_init(); } + return client; + })()) + `; + } + get _liftMap() { + return ({ + "$inflight_init": [ + ], + }); + } +} +class Foo extends $stdlib.std.Resource { + constructor($scope, $id, ) { + super($scope, $id); + } + static _toInflightType() { + return ` + require("${$helpers.normalPath(__dirname)}/inflight.Foo-3.cjs")({ + }) + `; + } + _toInflight() { + return ` + (await (async () => { + const FooClient = ${Foo._toInflightType()}; + const client = new FooClient({ + }); + if (client.$inflight_init) { await client.$inflight_init(); } + return client; + })()) + `; + } + get _liftMap() { + return ({ + "$inflight_init": [ + ], + }); + } +} +module.exports = { $preflightTypesMap, Bar }; +//# sourceMappingURL=preflight.file2-4.cjs.map +``` + +## preflight.inflightclass-5.cjs +```cjs +"use strict"; +const $stdlib = require('@winglang/sdk'); +const std = $stdlib.std; +const $helpers = $stdlib.helpers; +const $extern = $helpers.createExternRequire(__dirname); +let $preflightTypesMap = {}; +class InflightClass extends $stdlib.std.Resource { + constructor($scope, $id, ) { + super($scope, $id); + } + static _toInflightType() { + return ` + require("${$helpers.normalPath(__dirname)}/inflight.InflightClass-4.cjs")({ + }) + `; + } + _toInflight() { + return ` + (await (async () => { + const InflightClassClient = ${InflightClass._toInflightType()}; + const client = new InflightClassClient({ + }); + if (client.$inflight_init) { await client.$inflight_init(); } + return client; + })()) + `; + } + get _liftMap() { + return ({ + "method": [ + ], + "$inflight_init": [ + ], + }); + } +} +if ($preflightTypesMap[5]) { throw new Error("InflightClass is already in type map"); } +$preflightTypesMap[5] = InflightClass; +module.exports = { $preflightTypesMap, InflightClass }; +//# sourceMappingURL=preflight.inflightclass-5.cjs.map +``` + +## preflight.inner-2.cjs +```cjs +"use strict"; +const $stdlib = require('@winglang/sdk'); +const std = $stdlib.std; +const $helpers = $stdlib.helpers; +const $extern = $helpers.createExternRequire(__dirname); +const $preflightTypesMap = {}; +Object.assign(module.exports, $helpers.bringJs(`${__dirname}/preflight.widget-1.cjs`, $preflightTypesMap)); +module.exports = { ...module.exports, $preflightTypesMap }; +//# sourceMappingURL=preflight.inner-2.cjs.map +``` + +## preflight.subdir2-6.cjs +```cjs +"use strict"; +const $stdlib = require('@winglang/sdk'); +const std = $stdlib.std; +const $helpers = $stdlib.helpers; +const $extern = $helpers.createExternRequire(__dirname); +const $preflightTypesMap = {}; +Object.assign(module.exports, { get inner() { return $helpers.bringJs(`${__dirname}/preflight.inner-2.cjs`, $preflightTypesMap); } }); +Object.assign(module.exports, $helpers.bringJs(`${__dirname}/preflight.inflightclass-5.cjs`, $preflightTypesMap)); +Object.assign(module.exports, $helpers.bringJs(`${__dirname}/preflight.file2-4.cjs`, $preflightTypesMap)); +Object.assign(module.exports, $helpers.bringJs(`${__dirname}/preflight.file1-3.cjs`, $preflightTypesMap)); +module.exports = { ...module.exports, $preflightTypesMap }; +//# sourceMappingURL=preflight.subdir2-6.cjs.map +``` + +## preflight.widget-1.cjs +```cjs +"use strict"; +const $stdlib = require('@winglang/sdk'); +const std = $stdlib.std; +const $helpers = $stdlib.helpers; +const $extern = $helpers.createExternRequire(__dirname); +let $preflightTypesMap = {}; +class Widget extends $stdlib.std.Resource { + constructor($scope, $id, ) { + super($scope, $id); + } + compute() { + return 42; + } + static staticCompute($scope) { + return 1337; + } + static _toInflightType() { + return ` + require("${$helpers.normalPath(__dirname)}/inflight.Widget-1.cjs")({ + }) + `; + } + _toInflight() { + return ` + (await (async () => { + const WidgetClient = ${Widget._toInflightType()}; + const client = new WidgetClient({ + }); + if (client.$inflight_init) { await client.$inflight_init(); } + return client; + })()) + `; + } + get _liftMap() { + return ({ + "$inflight_init": [ + ], + }); + } +} +module.exports = { $preflightTypesMap, Widget }; +//# sourceMappingURL=preflight.widget-1.cjs.map +``` + diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_capture_preflight_object.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_capture_preflight_object.test.w_test_sim.md index e9aae34f065..e7220befa0b 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_capture_preflight_object.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_capture_preflight_object.test.w_test_sim.md @@ -2,9 +2,13 @@ ## stdout.log ```log -pass ─ inflight_class_capture_preflight_object.test.wsim (no tests) +pass ─ inflight_class_capture_preflight_object.test.wsim » root/env0/test:inflight class captures preflight resource +pass ─ inflight_class_capture_preflight_object.test.wsim » root/env1/test:inflight class type captures preflight resource +pass ─ inflight_class_capture_preflight_object.test.wsim » root/env2/test:inflight class qualified without explicit reference +pass ─ inflight_class_capture_preflight_object.test.wsim » root/env3/test:inflight class defined inflight captures preflight object +pass ─ inflight_class_capture_preflight_object.test.wsim » root/env4/test:bring inflight class from subdir -Tests 1 passed (1) +Tests 5 passed (5) Snapshots 1 skipped Test Files 1 passed (1) Duration diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_definitions.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_definitions.test.w_compile_tf-aws.md index e537abc4187..7b51ee2ebbf 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_definitions.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_definitions.test.w_compile_tf-aws.md @@ -181,6 +181,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class A extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -244,6 +247,8 @@ class $Root extends $stdlib.std.Resource { }); } } + if ($preflightTypesMap[2]) { throw new Error("B is already in type map"); } + $preflightTypesMap[2] = B; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -342,6 +347,8 @@ class $Root extends $stdlib.std.Resource { }); } } + if ($preflightTypesMap[8]) { throw new Error("F is already in type map"); } + $preflightTypesMap[8] = F; class $Closure2 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -369,8 +376,12 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$helpers.preflightClassSingleton(this, 8), ["foo"]], + [F, ["foo"]], ], "$inflight_init": [ + [$helpers.preflightClassSingleton(this, 8), []], + [F, []], ], }); } @@ -440,12 +451,16 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$helpers.preflightClassSingleton(this, 2), ["foo"]], + [B, []], [a, ["goo"]], [d, ["callInner"]], [fn, ["handle"]], [innerD, ["handle"]], ], "$inflight_init": [ + [$helpers.preflightClassSingleton(this, 2), []], + [B, []], [a, []], [d, []], [fn, []], diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_inner_capture_mutable.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_inner_capture_mutable.test.w_compile_tf-aws.md index dabe240a3a0..7486f263ddb 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_inner_capture_mutable.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_inner_capture_mutable.test.w_compile_tf-aws.md @@ -59,10 +59,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_inside_inflight_closure.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_inside_inflight_closure.test.w_compile_tf-aws.md index 856df8223f3..1901d050321 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_inside_inflight_closure.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_inside_inflight_closure.test.w_compile_tf-aws.md @@ -239,10 +239,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class PreflightClass extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_modifiers.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_modifiers.test.w_compile_tf-aws.md index 8e93c5ec0c9..9a3dfce7fbf 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_modifiers.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_modifiers.test.w_compile_tf-aws.md @@ -50,6 +50,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class C extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -83,6 +86,8 @@ class $Root extends $stdlib.std.Resource { }); } } + if ($preflightTypesMap[1]) { throw new Error("C is already in type map"); } + $preflightTypesMap[1] = C; } } const $PlatformManager = new $stdlib.platform.PlatformManager({platformPaths: $platforms}); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_outside_inflight_closure.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_outside_inflight_closure.test.w_compile_tf-aws.md index 0c04970c411..9384086dc1a 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_outside_inflight_closure.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_outside_inflight_closure.test.w_compile_tf-aws.md @@ -70,10 +70,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class BinaryOperation extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -110,6 +113,8 @@ class $Root extends $stdlib.std.Resource { }); } } + if ($preflightTypesMap[1]) { throw new Error("BinaryOperation is already in type map"); } + $preflightTypesMap[1] = BinaryOperation; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -137,8 +142,12 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$helpers.preflightClassSingleton(this, 1), ["add"]], + [BinaryOperation, []], ], "$inflight_init": [ + [$helpers.preflightClassSingleton(this, 1), []], + [BinaryOperation, []], ], }); } diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_structural_interace_handler.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_structural_interace_handler.test.w_compile_tf-aws.md index 983628a34c9..8a655af51ed 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_structural_interace_handler.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_structural_interace_handler.test.w_compile_tf-aws.md @@ -74,11 +74,15 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class NotGoo extends $stdlib.std.Resource { + _id = $stdlib.core.closureId(); constructor($scope, $id, ) { super($scope, $id); } @@ -108,6 +112,8 @@ class $Root extends $stdlib.std.Resource { }); } } + if ($preflightTypesMap[1]) { throw new Error("NotGoo is already in type map"); } + $preflightTypesMap[1] = NotGoo; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -135,8 +141,10 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [NotGoo, []], ], "$inflight_init": [ + [NotGoo, []], ], }); } diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_without_init.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_without_init.test.w_compile_tf-aws.md index 2b1a60b79bb..f7b737fd9b7 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_without_init.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_without_init.test.w_compile_tf-aws.md @@ -60,10 +60,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -92,6 +95,8 @@ class $Root extends $stdlib.std.Resource { }); } } + if ($preflightTypesMap[1]) { throw new Error("Foo is already in type map"); } + $preflightTypesMap[1] = Foo; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -119,8 +124,10 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [Foo, []], ], "$inflight_init": [ + [Foo, []], ], }); } diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflight_closure_as_super_param.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inflight_closure_as_super_param.test.w_compile_tf-aws.md index 90f1cc224eb..f9e7a4dc4a0 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflight_closure_as_super_param.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflight_closure_as_super_param.test.w_compile_tf-aws.md @@ -114,6 +114,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflight_closure_autoid.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inflight_closure_autoid.test.w_compile_tf-aws.md index 3053064bc53..f960ed7ec92 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflight_closure_autoid.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflight_closure_autoid.test.w_compile_tf-aws.md @@ -73,6 +73,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure2 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflight_closure_inside_preflight_closure.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inflight_closure_inside_preflight_closure.test.w_compile_tf-aws.md index f12ec6a9126..1504fc3015e 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflight_closure_inside_preflight_closure.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflight_closure_inside_preflight_closure.test.w_compile_tf-aws.md @@ -64,6 +64,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflight_concat.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inflight_concat.test.w_compile_tf-aws.md index fcd905fd09c..054dbbd2863 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflight_concat.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflight_concat.test.w_compile_tf-aws.md @@ -46,10 +46,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class R extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflight_handler_singleton.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inflight_handler_singleton.test.w_compile_tf-aws.md index ef4d5090935..b49cf2c35f0 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflight_handler_singleton.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflight_handler_singleton.test.w_compile_tf-aws.md @@ -434,12 +434,15 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; -const expect = $stdlib.expect; -const util = $stdlib.util; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + const expect = $stdlib.expect; + const util = $stdlib.util; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -574,11 +577,13 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), ["equal"]], [fn, ["invoke"]], [fn2, ["invoke"]], [sim, []], ], "$inflight_init": [ + [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), []], [fn, []], [fn2, []], [sim, []], @@ -615,9 +620,13 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$stdlib.core.toLiftableModuleType(std.Duration, "@winglang/sdk/std", "Duration"), ["fromSeconds"]], + [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), ["sleep"]], [foo, [].concat(["inc"], ["get"])], ], "$inflight_init": [ + [$stdlib.core.toLiftableModuleType(std.Duration, "@winglang/sdk/std", "Duration"), []], + [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), []], [foo, []], ], }); @@ -652,9 +661,13 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$stdlib.core.toLiftableModuleType(std.Duration, "@winglang/sdk/std", "Duration"), ["fromSeconds"]], + [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), ["sleep"]], [fn3, [].concat(["invokeAsync"], ["invoke"])], ], "$inflight_init": [ + [$stdlib.core.toLiftableModuleType(std.Duration, "@winglang/sdk/std", "Duration"), []], + [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), []], [fn3, []], ], }); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflight_init.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inflight_init.test.w_compile_tf-aws.md index 107f59abfa7..fae9583fd66 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflight_init.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflight_init.test.w_compile_tf-aws.md @@ -192,10 +192,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const jsii_fixture = require("jsii-fixture"); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const jsii_fixture = require("jsii-fixture"); + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -231,6 +234,8 @@ class $Root extends $stdlib.std.Resource { }); } } + if ($preflightTypesMap[1]) { throw new Error("Foo is already in type map"); } + $preflightTypesMap[1] = Foo; class FooChild extends Foo { constructor($scope, $id, ) { super($scope, $id); @@ -263,6 +268,8 @@ class $Root extends $stdlib.std.Resource { }); } } + if ($preflightTypesMap[2]) { throw new Error("FooChild is already in type map"); } + $preflightTypesMap[2] = FooChild; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -290,8 +297,12 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$helpers.preflightClassSingleton(this, 1), [].concat(["field1"], ["field2"])], + [Foo, []], ], "$inflight_init": [ + [$helpers.preflightClassSingleton(this, 1), []], + [Foo, []], ], }); } @@ -323,8 +334,12 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$helpers.preflightClassSingleton(this, 2), [].concat(["field1"], ["field2"], ["field3"])], + [FooChild, []], ], "$inflight_init": [ + [$helpers.preflightClassSingleton(this, 2), []], + [FooChild, []], ], }); } @@ -388,8 +403,10 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$stdlib.core.toLiftableModuleType(jsii_fixture.JsiiClass, "jsii-fixture", "JsiiClass"), []], ], "$inflight_init": [ + [$stdlib.core.toLiftableModuleType(jsii_fixture.JsiiClass, "jsii-fixture", "JsiiClass"), []], ], }); } diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflights_calling_inflights.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inflights_calling_inflights.test.w_compile_tf-aws.md index 5ed1e8afb45..4141cadd9c9 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflights_calling_inflights.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflights_calling_inflights.test.w_compile_tf-aws.md @@ -272,10 +272,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inherit_stdlib_class.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inherit_stdlib_class.test.w_compile_tf-aws.md index 605a0562d1d..f23be52247e 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inherit_stdlib_class.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inherit_stdlib_class.test.w_compile_tf-aws.md @@ -289,11 +289,14 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; -const http = $stdlib.http; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + const http = $stdlib.http; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class AnApi extends (this?.node?.root?.typeForFqn("@winglang/sdk.cloud.Api") ?? cloud.Api) { constructor($scope, $id, ) { super($scope, $id); @@ -383,9 +386,11 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$stdlib.core.toLiftableModuleType(http.Util, "@winglang/sdk/http", "Util"), ["get"]], [api.url, []], ], "$inflight_init": [ + [$stdlib.core.toLiftableModuleType(http.Util, "@winglang/sdk/http", "Util"), []], [api.url, []], ], }); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inheritance_class_inflight.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inheritance_class_inflight.test.w_compile_tf-aws.md index 28e66cf857a..0a09272fbde 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inheritance_class_inflight.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inheritance_class_inflight.test.w_compile_tf-aws.md @@ -91,10 +91,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const expect = $stdlib.expect; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const expect = $stdlib.expect; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class FooBase extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -188,9 +191,11 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), ["equal"]], [foo, [].concat(["bang"], ["bug"], ["over_inflight"])], ], "$inflight_init": [ + [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), []], [foo, []], ], }); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inheritance_class_preflight.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inheritance_class_preflight.test.w_compile_tf-aws.md index 0675acb048d..e8d29f44d7c 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inheritance_class_preflight.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inheritance_class_preflight.test.w_compile_tf-aws.md @@ -57,10 +57,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const expect = $stdlib.expect; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const expect = $stdlib.expect; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class FooBase extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inheritance_interface.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inheritance_interface.test.w_compile_tf-aws.md index 1cfce89b825..8250a5117e6 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inheritance_interface.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inheritance_interface.test.w_compile_tf-aws.md @@ -42,10 +42,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const expect = $stdlib.expect; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const expect = $stdlib.expect; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Baz extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/interface.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/interface.test.w_compile_tf-aws.md index 25d7dcdd312..5ae5aa0d286 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/interface.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/interface.test.w_compile_tf-aws.md @@ -59,6 +59,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class C extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/intrinsics.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/intrinsics.test.w_compile_tf-aws.md index 826fa5f8c0b..013392f80ab 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/intrinsics.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/intrinsics.test.w_compile_tf-aws.md @@ -226,6 +226,7 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +let $preflightTypesMap = {}; class Bar extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -260,7 +261,7 @@ class Bar extends $stdlib.std.Resource { }); } } -module.exports = { Bar }; +module.exports = { $preflightTypesMap, Bar }; //# sourceMappingURL=preflight.bar-1.cjs.map ``` @@ -274,14 +275,17 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const fs = $stdlib.fs; -const expect = $stdlib.expect; -const cloud = $stdlib.cloud; -const util = $stdlib.util; -const bar = require("./preflight.bar-1.cjs"); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const fs = $stdlib.fs; + const expect = $stdlib.expect; + const cloud = $stdlib.cloud; + const util = $stdlib.util; + const bar = $helpers.bringJs(`${__dirname}/preflight.bar-1.cjs`, $preflightTypesMap); + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Example extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/issue_2889.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/issue_2889.test.w_compile_tf-aws.md index 28a3a575564..f59607ffdf5 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/issue_2889.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/issue_2889.test.w_compile_tf-aws.md @@ -277,11 +277,14 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; -const http = $stdlib.http; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + const http = $stdlib.http; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -309,8 +312,10 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$stdlib.core.toLiftableModuleType(std.Json, "@winglang/sdk/std", "Json"), [].concat(["parse"], ["stringify"])], ], "$inflight_init": [ + [$stdlib.core.toLiftableModuleType(std.Json, "@winglang/sdk/std", "Json"), []], ], }); } @@ -344,9 +349,13 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$stdlib.core.toLiftableModuleType(http.Util, "@winglang/sdk/http", "Util"), ["get"]], + [$stdlib.core.toLiftableModuleType(std.Json, "@winglang/sdk/std", "Json"), ["parse"]], [api.url, []], ], "$inflight_init": [ + [$stdlib.core.toLiftableModuleType(http.Util, "@winglang/sdk/http", "Util"), []], + [$stdlib.core.toLiftableModuleType(std.Json, "@winglang/sdk/std", "Json"), []], [api.url, []], ], }); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/json.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/json.test.w_compile_tf-aws.md index 2bafdc5c8a2..b3e36dff030 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/json.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/json.test.w_compile_tf-aws.md @@ -66,10 +66,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/json_bucket.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/json_bucket.test.w_compile_tf-aws.md index 0774d81ea04..22f947fe294 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/json_bucket.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/json_bucket.test.w_compile_tf-aws.md @@ -187,10 +187,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/json_static.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/json_static.test.w_compile_tf-aws.md index c707fb3a1fa..4c64066df78 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/json_static.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/json_static.test.w_compile_tf-aws.md @@ -71,10 +71,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -103,9 +106,11 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$stdlib.core.toLiftableModuleType(std.Json, "@winglang/sdk/std", "Json"), ["stringify"]], [jj, []], ], "$inflight_init": [ + [$stdlib.core.toLiftableModuleType(std.Json, "@winglang/sdk/std", "Json"), []], [jj, []], ], }); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/json_string_interpolation.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/json_string_interpolation.test.w_compile_tf-aws.md index e2fc9034d6b..b0b433492ed 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/json_string_interpolation.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/json_string_interpolation.test.w_compile_tf-aws.md @@ -31,6 +31,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; const obj = ({"strValue": "test", "numValue": 1}); const notStringifyStrValue = String.raw({ raw: ["string: ", ""] }, JSON.stringify(((obj, args) => { if (obj[args] === undefined) throw new Error(`Json property "${args}" does not exist`); return obj[args] })(obj, "strValue"))); $helpers.assert($helpers.eq(notStringifyStrValue, "string: \"test\""), "notStringifyStrValue == \"string: \\\"test\\\"\""); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/lift_expr_with_this.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/lift_expr_with_this.test.w_compile_tf-aws.md index 0b2bd167ff6..2d175572d59 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/lift_expr_with_this.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/lift_expr_with_this.test.w_compile_tf-aws.md @@ -66,6 +66,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/lift_inflight_closure_collection.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/lift_inflight_closure_collection.test.w_compile_tf-aws.md index a2e5f968652..53eeb3794f7 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/lift_inflight_closure_collection.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/lift_inflight_closure_collection.test.w_compile_tf-aws.md @@ -637,10 +637,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/lift_inflight_closure_returning_object_issue6501.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/lift_inflight_closure_returning_object_issue6501.test.w_compile_tf-aws.md index 78f61f0bbcd..5a63bd27a85 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/lift_inflight_closure_returning_object_issue6501.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/lift_inflight_closure_returning_object_issue6501.test.w_compile_tf-aws.md @@ -140,10 +140,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -174,6 +177,8 @@ class $Root extends $stdlib.std.Resource { }); } } + if ($preflightTypesMap[1]) { throw new Error("Foo is already in type map"); } + $preflightTypesMap[1] = Foo; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -201,8 +206,10 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [Foo, []], ], "$inflight_init": [ + [Foo, []], ], }); } @@ -234,9 +241,11 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$helpers.preflightClassSingleton(this, 1), ["do"]], [foo, ["handle"]], ], "$inflight_init": [ + [$helpers.preflightClassSingleton(this, 1), []], [foo, []], ], }); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/lift_parent_fields.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/lift_parent_fields.test.w_compile_tf-aws.md index b9b5b77c4ab..7357851ee5d 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/lift_parent_fields.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/lift_parent_fields.test.w_compile_tf-aws.md @@ -111,6 +111,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class A extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/lift_redefinition.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/lift_redefinition.test.w_compile_tf-aws.md index 7b0d6b976a7..8ae9c48474d 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/lift_redefinition.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/lift_redefinition.test.w_compile_tf-aws.md @@ -53,6 +53,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/lift_shared_resource.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/lift_shared_resource.test.w_compile_tf-aws.md index 7ed560804f7..3ebdba3c8b7 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/lift_shared_resource.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/lift_shared_resource.test.w_compile_tf-aws.md @@ -305,11 +305,14 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; -const http = $stdlib.http; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + const http = $stdlib.http; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class MyBucket extends $stdlib.std.Resource { constructor($scope, $id, bucket) { super($scope, $id); @@ -410,9 +413,11 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$stdlib.core.toLiftableModuleType(http.Util, "@winglang/sdk/http", "Util"), ["get"]], [api.url, []], ], "$inflight_init": [ + [$stdlib.core.toLiftableModuleType(http.Util, "@winglang/sdk/http", "Util"), []], [api.url, []], ], }); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/lift_this.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/lift_this.test.w_compile_tf-aws.md index a71a833cc41..5d669059063 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/lift_this.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/lift_this.test.w_compile_tf-aws.md @@ -72,10 +72,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const util = $stdlib.util; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const util = $stdlib.util; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -144,9 +147,11 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), ["env"]], [f, ["foo"]], ], "$inflight_init": [ + [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), []], [f, []], ], }); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/lift_via_closure.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/lift_via_closure.test.w_compile_tf-aws.md index b1bfee214a8..d730cf7808b 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/lift_via_closure.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/lift_via_closure.test.w_compile_tf-aws.md @@ -145,10 +145,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/lift_via_closure_explicit.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/lift_via_closure_explicit.test.w_compile_tf-aws.md index 09892856fa3..c20d2d303cd 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/lift_via_closure_explicit.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/lift_via_closure_explicit.test.w_compile_tf-aws.md @@ -84,10 +84,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class MyClosure extends $stdlib.std.Resource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/lift_weird_order.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/lift_weird_order.test.w_compile_tf-aws.md index 267393b209b..dcedef2d843 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/lift_weird_order.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/lift_weird_order.test.w_compile_tf-aws.md @@ -86,6 +86,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class B extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/lift_with_phase_ind.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/lift_with_phase_ind.test.w_compile_tf-aws.md index eda26b8fc99..d4c7ea807d1 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/lift_with_phase_ind.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/lift_with_phase_ind.test.w_compile_tf-aws.md @@ -55,10 +55,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const math = $stdlib.math; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const math = $stdlib.math; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -87,9 +90,11 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$stdlib.core.toLiftableModuleType(math.Util, "@winglang/sdk/math", "Util"), [].concat(["floor"], ["random"])], [ar, [].concat(["at"], ["length"], ["copyMut"])], ], "$inflight_init": [ + [$stdlib.core.toLiftableModuleType(math.Util, "@winglang/sdk/math", "Util"), []], [ar, []], ], }); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/map_entries.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/map_entries.test.w_compile_tf-aws.md index c50b025eeeb..24e28ee1f7f 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/map_entries.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/map_entries.test.w_compile_tf-aws.md @@ -118,6 +118,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/mut_container_types.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/mut_container_types.test.w_compile_tf-aws.md index 4664729ab76..a39a45436db 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/mut_container_types.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/mut_container_types.test.w_compile_tf-aws.md @@ -62,10 +62,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; const bucket1 = this.node.root.new("@winglang/sdk.cloud.Bucket", cloud.Bucket, this, "bucket1"); const bucket2 = this.node.root.new("@winglang/sdk.cloud.Bucket", cloud.Bucket, this, "bucket2"); const bucket3 = this.node.root.new("@winglang/sdk.cloud.Bucket", cloud.Bucket, this, "bucket3"); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/mutation_after_class_init.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/mutation_after_class_init.test.w_compile_tf-aws.md index cc3f653a9d3..36326b84129 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/mutation_after_class_init.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/mutation_after_class_init.test.w_compile_tf-aws.md @@ -339,11 +339,14 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; -const util = $stdlib.util; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + const util = $stdlib.util; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Queue extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -515,10 +518,12 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), ["waitUntil"]], [c, ["peek"]], [q, ["push"]], ], "$inflight_init": [ + [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), []], [c, []], [q, []], ], diff --git a/tools/hangar/__snapshots__/test_corpus/valid/new_in_static.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/new_in_static.test.w_compile_tf-aws.md index 94699c966bf..2ee9924e3f6 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/new_in_static.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/new_in_static.test.w_compile_tf-aws.md @@ -174,13 +174,16 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; -const c = require("constructs"); -const jsii_fixture = require("jsii-fixture"); -const new_in_static_lib = require("./preflight.newinstaticlib-1.cjs"); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + const c = require("constructs"); + const jsii_fixture = require("jsii-fixture"); + const new_in_static_lib = $helpers.bringJs(`${__dirname}/preflight.newinstaticlib-1.cjs`, $preflightTypesMap); + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class MyClass extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -358,6 +361,7 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +let $preflightTypesMap = {}; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -417,7 +421,7 @@ class LibClass extends $stdlib.std.Resource { }); } } -module.exports = { Foo, LibClass }; +module.exports = { $preflightTypesMap, Foo, LibClass }; //# sourceMappingURL=preflight.newinstaticlib-1.cjs.map ``` diff --git a/tools/hangar/__snapshots__/test_corpus/valid/new_in_static_lib.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/new_in_static_lib.w_compile_tf-aws.md index 2600606fde2..9905f1aa986 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/new_in_static_lib.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/new_in_static_lib.w_compile_tf-aws.md @@ -35,6 +35,7 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +let $preflightTypesMap = {}; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -94,7 +95,7 @@ class LibClass extends $stdlib.std.Resource { }); } } -module.exports = { Foo, LibClass }; +module.exports = { $preflightTypesMap, Foo, LibClass }; //# sourceMappingURL=preflight.cjs.map ``` diff --git a/tools/hangar/__snapshots__/test_corpus/valid/new_jsii.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/new_jsii.test.w_compile_tf-aws.md index 6ddb1f36591..4adf970a686 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/new_jsii.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/new_jsii.test.w_compile_tf-aws.md @@ -56,10 +56,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class CustomScope extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/nil.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/nil.test.w_compile_tf-aws.md index f532f728ef4..69b29e866b7 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/nil.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/nil.test.w_compile_tf-aws.md @@ -104,10 +104,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/on_lift.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/on_lift.test.w_compile_tf-aws.md index 7e78d7ad70d..325aa8db4a3 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/on_lift.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/on_lift.test.w_compile_tf-aws.md @@ -71,10 +71,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const util = $stdlib.util; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const util = $stdlib.util; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -110,14 +113,17 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "m1": [ + [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), ["env"]], ], "$inflight_init": [ + [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), []], ], }); } static get _liftTypeMap() { return ({ "m2": [ + [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), ["env"]], ], }); } diff --git a/tools/hangar/__snapshots__/test_corpus/valid/optionals.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/optionals.test.w_compile_tf-aws.md index 0ea88a8d77f..d8d0f7ef0f3 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/optionals.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/optionals.test.w_compile_tf-aws.md @@ -123,11 +123,14 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; const Person = $stdlib.std.Struct._createJsonSchema({$id:"/Person",type:"object",properties:{age:{type:"number"},name:{type:"string"},},required:["age","name",]}); + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Super extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/parameters/nested/parameters.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/parameters/nested/parameters.test.w_compile_tf-aws.md index 3503181bdfd..d98bb1e2e87 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/parameters/nested/parameters.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/parameters/nested/parameters.test.w_compile_tf-aws.md @@ -31,7 +31,10 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; const MyParams = $stdlib.std.Struct._createJsonSchema({$id:"/MyParams",type:"object",properties:{houses:{type:"array",items:{type:"object",properties:{address:{type:"string"},residents:{type:"array",items:{type:"object",properties:{age:{type:"number"},name:{type:"string"},},required:["age","name",]}},},required:["address","residents",]}},},required:["houses",]}); + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; const app = $helpers.nodeof(this).app; const myParams = MyParams._fromJson((app.parameters.read({ schema: MyParams }))); $helpers.assert($helpers.eq(myParams.houses.length, 2), "myParams.houses.length == 2"); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/parameters/simple/parameters.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/parameters/simple/parameters.test.w_compile_tf-aws.md index e304cb025bd..caa21223aea 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/parameters/simple/parameters.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/parameters/simple/parameters.test.w_compile_tf-aws.md @@ -31,7 +31,10 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; const MyParams = $stdlib.std.Struct._createJsonSchema({$id:"/MyParams",type:"object",properties:{foo:{type:"string"},meaningOfLife:{type:"number"},},required:["meaningOfLife",]}); + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; const app = $helpers.nodeof(this).app; const myParams = MyParams._fromJson((app.parameters.read({ schema: MyParams }))); { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/phase_independent_method_on_string.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/phase_independent_method_on_string.test.w_compile_tf-aws.md index 9bf16ceb677..16a89f4f03c 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/phase_independent_method_on_string.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/phase_independent_method_on_string.test.w_compile_tf-aws.md @@ -136,11 +136,14 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; -const expect = $stdlib.expect; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + const expect = $stdlib.expect; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -171,11 +174,13 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), [].concat(["equal"], ["notEqual"])], [api.url, [].concat(["startsWith"], ["length"])], [tokenLength, []], [urlRegex, ["test"]], ], "$inflight_init": [ + [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), []], [api.url, []], [tokenLength, []], [urlRegex, []], diff --git a/tools/hangar/__snapshots__/test_corpus/valid/primitive_methods.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/primitive_methods.test.w_compile_tf-aws.md index b1371d2ece1..7d06eb6d50c 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/primitive_methods.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/primitive_methods.test.w_compile_tf-aws.md @@ -31,6 +31,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; const dur = (std.Duration.fromSeconds(60)); const dur2 = (std.Duration.fromSeconds(600)); const f = ((d) => { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/print.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/print.test.w_compile_tf-aws.md index a01629c4119..58710b5f17d 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/print.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/print.test.w_compile_tf-aws.md @@ -70,10 +70,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/reassignment.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/reassignment.test.w_compile_tf-aws.md index 9a2f46ad429..d45eb465d4e 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/reassignment.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/reassignment.test.w_compile_tf-aws.md @@ -45,6 +45,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class R extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/redis.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/redis.test.w_compile_tf-aws.md index df675212cda..d398c6056c9 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/redis.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/redis.test.w_compile_tf-aws.md @@ -681,12 +681,15 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; -const util = $stdlib.util; -const ex = $stdlib.ex; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + const util = $stdlib.util; + const ex = $stdlib.ex; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -752,11 +755,13 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), ["waitUntil"]], [queue, ["push"]], [r, ["get"]], [r2, [].concat(["set"], ["get"])], ], "$inflight_init": [ + [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), []], [queue, []], [r, []], [r2, []], diff --git a/tools/hangar/__snapshots__/test_corpus/valid/resource.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/resource.test.w_compile_tf-aws.md index c53272518fe..3117975832c 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/resource.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/resource.test.w_compile_tf-aws.md @@ -708,11 +708,14 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; -const util = $stdlib.util; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + const util = $stdlib.util; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; const MyEnum = (function (tmp) { tmp["A"] = "A"; @@ -806,11 +809,13 @@ class $Root extends $stdlib.std.Resource { "testTypeAccess": [ [Bar, ["barStatic"]], [Foo, ["fooStatic"]], + [MyEnum, ["B"]], [this.e, []], ], "$inflight_init": [ [Bar, []], [Foo, []], + [MyEnum, []], [this.b, []], [this.e, []], [this.foo, []], @@ -1052,9 +1057,11 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), ["waitUntil"]], [bigOlPublisher, [].concat(["publish"], ["getObjectCount"])], ], "$inflight_init": [ + [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), []], [bigOlPublisher, []], ], }); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/resource_as_inflight_literal.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/resource_as_inflight_literal.test.w_compile_tf-aws.md index 4ae8a6f7e61..36da9581699 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/resource_as_inflight_literal.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/resource_as_inflight_literal.test.w_compile_tf-aws.md @@ -174,10 +174,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/resource_call_static.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/resource_call_static.test.w_compile_tf-aws.md index 0509113ee0e..c0ef8f3ca0f 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/resource_call_static.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/resource_call_static.test.w_compile_tf-aws.md @@ -86,10 +86,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Another extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/resource_captures.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/resource_captures.test.w_compile_tf-aws.md index e3a9b7f7cbe..41bd603ecf9 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/resource_captures.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/resource_captures.test.w_compile_tf-aws.md @@ -240,10 +240,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class First extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/resource_captures_globals.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/resource_captures_globals.test.w_compile_tf-aws.md index 83635822e9d..c3d106d17c4 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/resource_captures_globals.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/resource_captures_globals.test.w_compile_tf-aws.md @@ -362,11 +362,14 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; -const util = $stdlib.util; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + const util = $stdlib.util; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class First extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -517,6 +520,7 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "myPut": [ + [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), ["waitUntil"]], [Another, ["myStaticMethod"]], [globalAnother, ["myMethod"]], [globalAnother.first.myResource, ["put"]], @@ -532,6 +536,7 @@ class $Root extends $stdlib.std.Resource { [this.localTopic, ["publish"]], ], "$inflight_init": [ + [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), []], [Another, []], [globalAnother, []], [globalAnother.first.myResource, []], diff --git a/tools/hangar/__snapshots__/test_corpus/valid/service.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/service.test.w_compile_tf-aws.md index 72c0fe616c3..217349b8a7d 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/service.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/service.test.w_compile_tf-aws.md @@ -31,6 +31,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; } } const $PlatformManager = new $stdlib.platform.PlatformManager({platformPaths: $platforms}); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/shadowing.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/shadowing.test.w_compile_tf-aws.md index f0b9fecca15..a5c64b95b56 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/shadowing.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/shadowing.test.w_compile_tf-aws.md @@ -80,10 +80,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/sim_resource.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/sim_resource.test.w_compile_tf-aws.md index fd0ae7a5677..7711b440596 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/sim_resource.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/sim_resource.test.w_compile_tf-aws.md @@ -75,10 +75,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const sim = $stdlib.sim; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const sim = $stdlib.sim; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; const MyEnum = (function (tmp) { tmp["A"] = "A"; @@ -126,6 +129,7 @@ class $Root extends $stdlib.std.Resource { "methodWithJsons": [ ], "methodWithEnums": [ + [MyEnum, ["A"]], ], "methodWithArrays": [ ], @@ -138,10 +142,13 @@ class $Root extends $stdlib.std.Resource { "methodWithComplexTypes": [ ], "$inflight_init": [ + [MyEnum, []], ], }); } } + if ($preflightTypesMap[1]) { throw new Error("ResourceBackend is already in type map"); } + $preflightTypesMap[1] = ResourceBackend; } } const $PlatformManager = new $stdlib.platform.PlatformManager({platformPaths: $platforms}); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/statements_before_super.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/statements_before_super.w_compile_tf-aws.md index 7fdd23242c0..87c6fd80fb3 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/statements_before_super.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/statements_before_super.w_compile_tf-aws.md @@ -36,6 +36,7 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +let $preflightTypesMap = {}; class A extends $stdlib.std.Resource { constructor($scope, $id, a) { super($scope, $id); @@ -95,7 +96,7 @@ class B extends A { }); } } -module.exports = { }; +module.exports = { $preflightTypesMap, }; //# sourceMappingURL=preflight.cjs.map ``` diff --git a/tools/hangar/__snapshots__/test_corpus/valid/statements_if.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/statements_if.test.w_compile_tf-aws.md index 30eb8fa4754..62dfa63453e 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/statements_if.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/statements_if.test.w_compile_tf-aws.md @@ -67,10 +67,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/statements_variable_declarations.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/statements_variable_declarations.test.w_compile_tf-aws.md index 8d74f4b9971..e4d65b4ad3f 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/statements_variable_declarations.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/statements_variable_declarations.test.w_compile_tf-aws.md @@ -31,6 +31,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; const x = 2; const y = x; const id = 1; diff --git a/tools/hangar/__snapshots__/test_corpus/valid/static_members.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/static_members.test.w_compile_tf-aws.md index 780b990a746..889b4c06696 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/static_members.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/static_members.test.w_compile_tf-aws.md @@ -75,10 +75,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/std_containers.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/std_containers.test.w_compile_tf-aws.md index d6009c0537f..2c88436783f 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/std_containers.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/std_containers.test.w_compile_tf-aws.md @@ -75,6 +75,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Animal extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/std_string.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/std_string.test.w_compile_tf-aws.md index 9838e17fea0..7e6b876f3f0 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/std_string.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/std_string.test.w_compile_tf-aws.md @@ -53,6 +53,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/store.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/store.w_compile_tf-aws.md index 5afb35fc2ee..2fc82a4643e 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/store.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/store.w_compile_tf-aws.md @@ -59,7 +59,8 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const file3 = require("./preflight.empty-1.cjs"); +let $preflightTypesMap = {}; +const file3 = $helpers.bringJs(`${__dirname}/preflight.empty-1.cjs`, $preflightTypesMap); const math = $stdlib.math; const cloud = $stdlib.cloud; const Color = @@ -169,7 +170,7 @@ class Store extends $stdlib.std.Resource { }); } } -module.exports = { Util, Store, Color }; +module.exports = { $preflightTypesMap, Util, Store, Color }; //# sourceMappingURL=preflight.cjs.map ``` @@ -180,7 +181,8 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -module.exports = { }; +let $preflightTypesMap = {}; +module.exports = { $preflightTypesMap, }; //# sourceMappingURL=preflight.empty-1.cjs.map ``` diff --git a/tools/hangar/__snapshots__/test_corpus/valid/stringify.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/stringify.test.w_compile_tf-aws.md index abf6a1f0424..c7c2345a711 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/stringify.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/stringify.test.w_compile_tf-aws.md @@ -31,6 +31,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; const MyEnum = (function (tmp) { tmp["A"] = "A"; diff --git a/tools/hangar/__snapshots__/test_corpus/valid/struct_from_json.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/struct_from_json.test.w_compile_tf-aws.md index dbd874c1694..65c76f35127 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/struct_from_json.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/struct_from_json.test.w_compile_tf-aws.md @@ -176,12 +176,14 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; -const externalStructs = require("./preflight.structs-1.cjs"); -const otherExternalStructs = require("./preflight.structs2-2.cjs"); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + const externalStructs = $helpers.bringJs(`${__dirname}/preflight.structs-1.cjs`, $preflightTypesMap); + const otherExternalStructs = $helpers.bringJs(`${__dirname}/preflight.structs2-2.cjs`, $preflightTypesMap); const Bar = $stdlib.std.Struct._createJsonSchema({$id:"/Bar",type:"object",properties:{b:{type:"number"},f:{type:"string"},},required:["b","f",]}); const Foo = $stdlib.std.Struct._createJsonSchema({$id:"/Foo",type:"object",properties:{f:{type:"string"},},required:["f",]}); const Foosible = $stdlib.std.Struct._createJsonSchema({$id:"/Foosible",type:"object",properties:{f:{type:"string"},},required:[]}); @@ -189,6 +191,7 @@ class $Root extends $stdlib.std.Resource { const Student = $stdlib.std.Struct._createJsonSchema({$id:"/Student",type:"object",properties:{additionalData:{type:["object","string","boolean","number","array"]},advisor:{type:"object",properties:{dob:{type:"object",properties:{day:{type:"number"},month:{type:"number"},year:{type:"number"},},required:["day","month","year",]},employeeID:{type:"string"},firstName:{type:"string"},lastName:{type:"string"},},required:["dob","employeeID","firstName","lastName",]},coursesTaken:{type:"array",items:{type:"object",properties:{course:{type:"object",properties:{credits:{type:"number"},name:{type:"string"},},required:["credits","name",]},dateTaken:{type:"object",properties:{day:{type:"number"},month:{type:"number"},year:{type:"number"},},required:["day","month","year",]},grade:{type:"string"},},required:["course","dateTaken","grade",]}},dob:{type:"object",properties:{day:{type:"number"},month:{type:"number"},year:{type:"number"},},required:["day","month","year",]},enrolled:{type:"boolean"},enrolledCourses:{type:"array",uniqueItems:true,items:{type:"object",properties:{credits:{type:"number"},name:{type:"string"},},required:["credits","name",]}},firstName:{type:"string"},lastName:{type:"string"},schoolId:{type:"string"},},required:["dob","enrolled","firstName","lastName","schoolId",]}); const cloud_BucketProps = $stdlib.std.Struct._createJsonSchema({$id:"/BucketProps",type:"object",properties:{public:{type:"boolean"},},required:[]}); const externalStructs_MyOtherStruct = $stdlib.std.Struct._createJsonSchema({$id:"/MyOtherStruct",type:"object",properties:{data:{type:"object",properties:{val:{type:"number"},},required:["val",]},},required:["data",]}); + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -217,9 +220,11 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$stdlib.core.toLiftableModuleType(cloud_BucketProps, "@winglang/sdk/cloud", "BucketProps"), ["fromJson"]], [j, []], ], "$inflight_init": [ + [$stdlib.core.toLiftableModuleType(cloud_BucketProps, "@winglang/sdk/cloud", "BucketProps"), []], [j, []], ], }); @@ -252,8 +257,10 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [Student, ["fromJson"]], ], "$inflight_init": [ + [Student, []], ], }); } @@ -286,9 +293,11 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [Student, ["fromJson"]], [jStudent1, []], ], "$inflight_init": [ + [Student, []], [jStudent1, []], ], }); @@ -325,11 +334,15 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$stdlib.core.toLiftableModuleType(std.Json, "@winglang/sdk/std", "Json"), ["stringify"]], + [MyStruct, ["schema"]], [expectedSchema, []], [jMyStruct, []], [schema, ["asStr"]], ], "$inflight_init": [ + [$stdlib.core.toLiftableModuleType(std.Json, "@winglang/sdk/std", "Json"), []], + [MyStruct, []], [expectedSchema, []], [jMyStruct, []], [schema, []], @@ -367,8 +380,16 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$stdlib.core.toLiftableModuleType(std.Boolean, "@winglang/sdk/std", "Boolean"), ["fromJson"]], + [$stdlib.core.toLiftableModuleType(std.Number, "@winglang/sdk/std", "Number"), ["fromJson"]], + [$stdlib.core.toLiftableModuleType(std.String, "@winglang/sdk/std", "String"), ["fromJson"]], + [Student, ["fromJson"]], ], "$inflight_init": [ + [$stdlib.core.toLiftableModuleType(std.Boolean, "@winglang/sdk/std", "Boolean"), []], + [$stdlib.core.toLiftableModuleType(std.Number, "@winglang/sdk/std", "Number"), []], + [$stdlib.core.toLiftableModuleType(std.String, "@winglang/sdk/std", "String"), []], + [Student, []], ], }); } @@ -511,7 +532,8 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -module.exports = { }; +let $preflightTypesMap = {}; +module.exports = { $preflightTypesMap, }; //# sourceMappingURL=preflight.structs-1.cjs.map ``` @@ -522,6 +544,7 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +let $preflightTypesMap = {}; const SomeStruct = $stdlib.std.Struct._createJsonSchema({$id:"/SomeStruct",type:"object",properties:{foo:{type:"string"},},required:["foo",]}); class UsesStructInImportedFile extends $stdlib.std.Resource { constructor($scope, $id, ) { @@ -552,7 +575,7 @@ class UsesStructInImportedFile extends $stdlib.std.Resource { }); } } -module.exports = { UsesStructInImportedFile }; +module.exports = { $preflightTypesMap, UsesStructInImportedFile }; //# sourceMappingURL=preflight.structs2-2.cjs.map ``` diff --git a/tools/hangar/__snapshots__/test_corpus/valid/structs.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/structs.test.w_compile_tf-aws.md index c7f1e74c5a8..234bfdbe3d8 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/structs.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/structs.test.w_compile_tf-aws.md @@ -67,10 +67,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const expect = $stdlib.expect; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const expect = $stdlib.expect; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, b) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/super_call.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/super_call.test.w_compile_tf-aws.md index def61b603a0..083a31cb4d7 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/super_call.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/super_call.test.w_compile_tf-aws.md @@ -223,11 +223,14 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const expect = $stdlib.expect; -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const expect = $stdlib.expect; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class A extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -412,6 +415,8 @@ class $Root extends $stdlib.std.Resource { }); } } + if ($preflightTypesMap[6]) { throw new Error("InflightA is already in type map"); } + $preflightTypesMap[6] = InflightA; class InflightB extends InflightA { constructor($scope, $id, ) { super($scope, $id); @@ -443,6 +448,8 @@ class $Root extends $stdlib.std.Resource { }); } } + if ($preflightTypesMap[7]) { throw new Error("InflightB is already in type map"); } + $preflightTypesMap[7] = InflightB; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -471,8 +478,14 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$helpers.preflightClassSingleton(this, 7), ["description"]], + [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), ["equal"]], + [InflightB, []], ], "$inflight_init": [ + [$helpers.preflightClassSingleton(this, 7), []], + [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), []], + [InflightB, []], ], }); } @@ -572,9 +585,11 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), ["equal"]], [extended, ["do"]], ], "$inflight_init": [ + [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), []], [extended, []], ], }); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/symbol_shadow.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/symbol_shadow.test.w_compile_tf-aws.md index 421ba0afddc..42b94770984 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/symbol_shadow.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/symbol_shadow.test.w_compile_tf-aws.md @@ -123,10 +123,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class A extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/table.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/table.test.w_compile_tf-aws.md index 0e2da91975a..c927d4a3054 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/table.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/table.test.w_compile_tf-aws.md @@ -52,10 +52,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const ex = $stdlib.ex; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const ex = $stdlib.ex; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; const t = this.node.root.new("@winglang/sdk.ex.Table", ex.Table, this, "Table", { name: "simple-table", primaryKey: "id", columns: ({["id"]: ex.ColumnType.STRING, ["name"]: ex.ColumnType.STRING, ["age"]: ex.ColumnType.NUMBER}) }); } } diff --git a/tools/hangar/__snapshots__/test_corpus/valid/test_bucket.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/test_bucket.test.w_compile_tf-aws.md index 3c3ac279786..5ea2ff2f6cb 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/test_bucket.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/test_bucket.test.w_compile_tf-aws.md @@ -85,10 +85,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/test_without_bring.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/test_without_bring.test.w_compile_tf-aws.md index 7b18f6b34ae..599ddd7e22c 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/test_without_bring.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/test_without_bring.test.w_compile_tf-aws.md @@ -51,6 +51,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/this.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/this.test.w_compile_tf-aws.md index 2356d69988e..a62860645e0 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/this.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/this.test.w_compile_tf-aws.md @@ -28,10 +28,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const expect = $stdlib.expect; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const expect = $stdlib.expect; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; const path = $helpers.nodeof(this).path; for (const c of $helpers.nodeof(this).children) { console.log($helpers.nodeof(c).path); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/to_inflight.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/to_inflight.test.w_compile_tf-aws.md index c6e72bfd406..250004648b3 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/to_inflight.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/to_inflight.test.w_compile_tf-aws.md @@ -62,10 +62,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/try_catch.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/try_catch.test.w_compile_tf-aws.md index 4010f1331de..ea344d1aede 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/try_catch.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/try_catch.test.w_compile_tf-aws.md @@ -31,6 +31,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; let x = ""; try { throw new Error("hello"); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/unused_lift.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/unused_lift.test.w_compile_tf-aws.md index 096a246a18b..ba775e69f5d 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/unused_lift.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/unused_lift.test.w_compile_tf-aws.md @@ -120,10 +120,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/use_inflight_method_inside_init_closure.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/use_inflight_method_inside_init_closure.test.w_compile_tf-aws.md index b66cafb179b..136422bbe26 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/use_inflight_method_inside_init_closure.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/use_inflight_method_inside_init_closure.test.w_compile_tf-aws.md @@ -170,10 +170,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/website_with_api.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/website_with_api.test.w_compile_tf-aws.md index 692db90b036..fabea5493dc 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/website_with_api.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/website_with_api.test.w_compile_tf-aws.md @@ -628,13 +628,16 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; -const ex = $stdlib.ex; -const http = $stdlib.http; -const expect = $stdlib.expect; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + const ex = $stdlib.ex; + const http = $stdlib.http; + const expect = $stdlib.expect; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -663,9 +666,11 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$stdlib.core.toLiftableModuleType(std.Json, "@winglang/sdk/std", "Json"), ["stringify"]], [usersTable, ["list"]], ], "$inflight_init": [ + [$stdlib.core.toLiftableModuleType(std.Json, "@winglang/sdk/std", "Json"), []], [usersTable, []], ], }); @@ -699,9 +704,11 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$stdlib.core.toLiftableModuleType(std.Json, "@winglang/sdk/std", "Json"), [].concat(["parse"], ["stringify"])], [usersTable, ["insert"]], ], "$inflight_init": [ + [$stdlib.core.toLiftableModuleType(std.Json, "@winglang/sdk/std", "Json"), []], [usersTable, []], ], }); @@ -737,9 +744,15 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), [].concat(["equal"], ["nil"])], + [$stdlib.core.toLiftableModuleType(http.HttpMethod, "@winglang/sdk/http", "HttpMethod"), ["GET"]], + [$stdlib.core.toLiftableModuleType(http.Util, "@winglang/sdk/http", "Util"), ["fetch"]], [api.url, []], ], "$inflight_init": [ + [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), []], + [$stdlib.core.toLiftableModuleType(http.HttpMethod, "@winglang/sdk/http", "HttpMethod"), []], + [$stdlib.core.toLiftableModuleType(http.Util, "@winglang/sdk/http", "Util"), []], [api.url, []], ], }); @@ -775,9 +788,15 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), ["equal"]], + [$stdlib.core.toLiftableModuleType(http.HttpMethod, "@winglang/sdk/http", "HttpMethod"), ["OPTIONS"]], + [$stdlib.core.toLiftableModuleType(http.Util, "@winglang/sdk/http", "Util"), ["fetch"]], [api.url, []], ], "$inflight_init": [ + [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), []], + [$stdlib.core.toLiftableModuleType(http.HttpMethod, "@winglang/sdk/http", "HttpMethod"), []], + [$stdlib.core.toLiftableModuleType(http.Util, "@winglang/sdk/http", "Util"), []], [api.url, []], ], }); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/while.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/while.test.w_compile_tf-aws.md index d380f7b9611..710be6ffecd 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/while.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/while.test.w_compile_tf-aws.md @@ -31,6 +31,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; while (false) { const x = 1; } diff --git a/tools/hangar/__snapshots__/test_corpus/valid/while_loop_await.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/while_loop_await.test.w_compile_tf-aws.md index 536b86d5155..b86de064c41 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/while_loop_await.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/while_loop_await.test.w_compile_tf-aws.md @@ -189,10 +189,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { From cbf8ee0757469d5de9615a0f82d4ad426a5f2081 Mon Sep 17 00:00:00 2001 From: eladcon Date: Thu, 27 Jun 2024 18:01:27 +0300 Subject: [PATCH 15/17] revert: lifting globals from inflight classes defined in preflight fails (#6799) Reverts winglang/wing#5559 --- apps/wing/src/commands/pack.test.ts | 1 - ...ight_class_capture_preflight_object.test.w | 64 +- examples/tests/valid/subdir2/inflight_class.w | 5 - .../src/dtsify/snapshots/declarations.snap | 13 +- .../wingc/src/dtsify/snapshots/optionals.snap | 9 +- libs/wingc/src/jsify.rs | 128 ++- ...methods_and_properties_on_collections.snap | 3 - .../access_property_on_primitive.snap | 3 - ...rty_on_value_returned_from_collection.snap | 3 - .../allow_type_def_before_super.snap | 3 - .../base_class_captures_inflight.snap | 3 - .../base_class_captures_preflight.snap | 3 - .../snapshots/base_class_lift_indirect.snap | 5 +- .../base_class_with_fields_inflight.snap | 3 - .../base_class_with_fields_preflight.snap | 3 - .../base_class_with_lifted_field_object.snap | 5 +- .../base_class_with_lifted_fields.snap | 3 - libs/wingc/src/jsify/snapshots/builtins.snap | 3 - ..._static_inflight_from_static_inflight.snap | 5 - .../calls_methods_on_preflight_object.snap | 5 +- ...pture_from_inside_an_inflight_closure.snap | 5 +- ...entifier_closure_from_preflight_scope.snap | 3 - ...pture_identifier_from_preflight_scope.snap | 3 - ...from_preflight_scope_with_method_call.snap | 3 - ...om_preflight_scope_with_nested_object.snap | 5 +- ...er_from_preflight_scope_with_property.snap | 3 - .../snapshots/capture_in_keyword_args.snap | 7 +- .../capture_object_with_this_in_name.snap | 5 +- .../src/jsify/snapshots/capture_token.snap | 5 +- ...type_inflight_class_sibling_from_init.snap | 3 - ...pe_inflight_class_sibling_from_method.snap | 3 - ...e_new_inflight_class_inner_no_capture.snap | 3 - ...capture_type_new_inflight_class_outer.snap | 7 - .../snapshots/capture_type_static_method.snap | 3 - ...ure_type_static_method_inflight_class.snap | 7 - .../capture_var_from_method_inflight.snap | 3 - ...ht_class_extends_outer_inflight_class.snap | 7 - .../src/jsify/snapshots/closure_field.snap | 5 +- .../src/jsify/snapshots/entrypoint_this.snap | 3 - .../wingc/src/jsify/snapshots/enum_value.snap | 5 - .../free_inflight_obj_from_inflight.snap | 3 - .../free_preflight_object_from_preflight.snap | 3 - .../jsify/snapshots/func_returns_func.snap | 3 - .../src/jsify/snapshots/identify_field.snap | 5 +- .../implicit_lift_inflight_init.snap | 5 +- .../src/jsify/snapshots/indirect_capture.snap | 5 +- ..._extends_both_inside_inflight_closure.snap | 3 - ...inflight_class_extends_inflight_class.snap | 7 - .../jsify/snapshots/inflight_constructor.snap | 3 - .../src/jsify/snapshots/inflight_field.snap | 3 - .../inflight_field_from_inflight.snap | 3 - .../inflight_field_from_inflight_class.snap | 5 - .../snapshots/inline_inflight_class.snap | 5 +- .../src/jsify/snapshots/json_object.snap | 5 - ...ary_preflight_and_inflight_expression.snap | 3 - .../lift_binary_preflight_expression.snap | 3 - ...lift_element_from_collection_as_field.snap | 5 +- ...ft_element_from_collection_of_objects.snap | 5 +- .../snapshots/lift_inflight_closure.snap | 3 - .../lift_inside_preflight_method.snap | 5 +- .../jsify/snapshots/lift_self_reference.snap | 3 - .../src/jsify/snapshots/lift_string.snap | 3 - libs/wingc/src/jsify/snapshots/lift_this.snap | 3 - .../jsify/snapshots/lift_var_with_this.snap | 3 - .../src/jsify/snapshots/lift_via_closure.snap | 5 +- .../lift_via_closure_class_explicit.snap | 5 +- .../namespaced_static_from_inflight.snap | 7 +- ...ed_inflight_after_preflight_operation.snap | 5 +- .../snapshots/nested_preflight_operation.snap | 5 +- .../jsify/snapshots/new_inflight_object.snap | 7 - .../snapshots/no_capture_inside_methods.snap | 3 - ...apture_of_identifier_from_inner_scope.snap | 3 - ...capture_of_identifier_from_same_scope.snap | 3 - ...no_capture_shadow_inside_inner_scopes.snap | 3 - .../no_lift_shadow_inside_inner_scopes.snap | 3 - ...eflight_class_extends_preflight_class.snap | 3 - .../jsify/snapshots/preflight_collection.snap | 3 - ...light_collection_of_preflight_objects.snap | 5 +- ...eflight_nested_object_with_operations.snap | 5 +- .../src/jsify/snapshots/preflight_object.snap | 3 - .../preflight_object_through_property.snap | 5 +- .../preflight_object_with_operations.snap | 5 +- ...ject_with_operations_multiple_methods.snap | 5 +- .../snapshots/preflight_value_field.snap | 3 - ...ht_type_refrencing_preflight_instance.snap | 209 ----- .../jsify/snapshots/read_primitive_value.snap | 3 - .../snapshots/reassign_captured_variable.snap | 3 - ...eassigned_captured_variable_preflight.snap | 3 - .../src/jsify/snapshots/ref_std_macro.snap | 3 - .../reference_from_static_inflight.snap | 3 - .../snapshots/reference_inflight_class.snap | 7 - .../snapshots/reference_inflight_field.snap | 3 - .../reference_inflight_from_inflight.snap | 7 - .../reference_lift_of_collection.snap | 3 - .../snapshots/reference_preflight_field.snap | 3 - ...eflight_field_call_independent_method.snap | 3 - .../snapshots/reference_preflight_fields.snap | 5 +- ..._variable_with_this_in_the_expression.snap | 5 +- ...preflight_object_from_static_inflight.snap | 5 +- .../snapshots/reference_static_inflight.snap | 3 - ...ght_which_references_preflight_object.snap | 5 +- .../static_external_inflight_class.snap | 7 - .../static_external_preflight_class.snap | 3 - .../snapshots/static_inflight_operation.snap | 5 +- .../static_local_inflight_class.snap | 3 - .../jsify/snapshots/static_on_std_type.snap | 7 - .../jsify/snapshots/transitive_reference.snap | 5 +- ...ansitive_reference_via_inflight_class.snap | 11 +- .../transitive_reference_via_static.snap | 5 +- .../jsify/snapshots/two_identical_lifts.snap | 5 +- .../jsify/snapshots/use_util_functions.snap | 7 +- .../var_inflight_field_from_inflight.snap | 3 - libs/wingc/src/jsify/snapshots/wait_util.snap | 7 +- libs/wingc/src/jsify/tests.rs | 23 - libs/wingc/src/lifting.rs | 57 +- libs/wingc/src/lsp/symbol_locator.rs | 2 +- libs/wingc/src/type_check.rs | 129 ++- libs/wingc/src/type_check/jsii_importer.rs | 5 - libs/wingc/src/type_check/lifts.rs | 2 +- libs/wingc/src/visit_context.rs | 8 +- libs/wingsdk/src/core/lifting.ts | 5 +- libs/wingsdk/src/helpers.ts | 60 -- tools/hangar/__snapshots__/invalid.ts.snap | 14 + .../anon_function.test.w_compile_tf-aws.md | 3 - .../valid/api.test.w_compile_tf-aws.md | 7 +- .../api_cors_custom.test.w_compile_tf-aws.md | 27 +- .../api_cors_default.test.w_compile_tf-aws.md | 21 +- .../api_valid_path.test.w_compile_tf-aws.md | 7 +- .../valid/assert.test.w_compile_tf-aws.md | 3 - ...wait_in_functions.test.w_compile_tf-aws.md | 5 +- .../test_corpus/valid/baz.w_compile_tf-aws.md | 3 +- .../bring_alias.test.w_compile_tf-aws.md | 7 +- .../bring_awscdk.test.w_compile_tf-aws.md | 5 +- .../bring_cdk8s.test.w_compile_tf-aws.md | 7 +- .../bring_cdktf.test.w_compile_tf-aws.md | 7 +- ..._extend_non_entry.test.w_compile_tf-aws.md | 8 +- .../valid/bring_jsii.test.w_compile_tf-aws.md | 11 +- .../bring_local.test.w_compile_tf-aws.md | 26 +- .../bring_local_dir.test.w_compile_tf-aws.md | 98 +-- ...cal_normalization.test.w_compile_tf-aws.md | 22 +- .../bring_projen.test.w_compile_tf-aws.md | 5 +- ...ring_wing_library.test.w_compile_tf-aws.md | 36 +- .../bucket_keys.test.w_compile_tf-aws.md | 5 +- .../bypass_return.test.w_compile_tf-aws.md | 3 - ..._static_of_myself.test.w_compile_tf-aws.md | 11 - ...inflight_variants.test.w_compile_tf-aws.md | 3 - ...apture_containers.test.w_compile_tf-aws.md | 5 +- ...capture_in_binary.test.w_compile_tf-aws.md | 5 +- .../capture_mutables.test.w_compile_tf-aws.md | 3 - ...apture_primitives.test.w_compile_tf-aws.md | 5 +- ...gable_class_field.test.w_compile_tf-aws.md | 9 +- ...ture_reassignable.test.w_compile_tf-aws.md | 5 +- ...resource_and_data.test.w_compile_tf-aws.md | 5 +- ..._with_no_inflight.test.w_compile_tf-aws.md | 5 +- .../capture_tokens.test.w_compile_tf-aws.md | 5 +- .../valid/captures.test.w_compile_tf-aws.md | 5 +- .../valid/casting.test.w_compile_tf-aws.md | 9 +- .../valid/class.test.w_compile_tf-aws.md | 13 +- .../closure_class.test.w_compile_tf-aws.md | 3 - .../construct-base.test.w_compile_tf-aws.md | 9 +- .../container_types.test.w_compile_tf-aws.md | 5 +- .../custom_obj_id.test.w_compile_tf-aws.md | 3 - .../valid/debug_env.test.w_compile_tf-aws.md | 5 +- .../deep_equality.test.w_compile_tf-aws.md | 5 - .../double_reference.test.w_compile_tf-aws.md | 5 +- .../valid/doubler.test.w_compile_tf-aws.md | 9 +- .../valid/enums.test.w_compile_tf-aws.md | 7 - ...ift_qualification.test.w_compile_tf-aws.md | 5 +- ..._binary_operators.test.w_compile_tf-aws.md | 3 - ...ing_interpolation.test.w_compile_tf-aws.md | 7 +- .../extend_non_entrypoint.w_compile_tf-aws.md | 3 +- ...rn_implementation.test.w_compile_tf-aws.md | 5 +- .../file_counter.test.w_compile_tf-aws.md | 5 +- .../valid/for_loop.test.w_compile_tf-aws.md | 5 +- .../forward_decl.test.w_compile_tf-aws.md | 3 - ...ptional_arguments.test.w_compile_tf-aws.md | 3 - ..._returns_function.test.w_compile_tf-aws.md | 5 +- .../function_type.test.w_compile_tf-aws.md | 3 - ...ariadic_arguments.test.w_compile_tf-aws.md | 5 +- .../valid/hello.test.w_compile_tf-aws.md | 5 +- ...entical_inflights.test.w_compile_tf-aws.md | 3 - .../impl_interface.test.w_compile_tf-aws.md | 9 +- .../implicit_std.test.w_compile_tf-aws.md | 3 - ...n_scope_construct.test.w_compile_tf-aws.md | 5 +- .../valid/indexing.test.w_compile_tf-aws.md | 7 +- .../valid/inference.test.w_compile_tf-aws.md | 5 +- ...light-subscribers.test.w_compile_tf-aws.md | 5 +- ...ht_capture_static.test.w_compile_tf-aws.md | 11 +- ...as_struct_members.test.w_compile_tf-aws.md | 9 - ...ass_capture_const.test.w_compile_tf-aws.md | 11 +- ..._preflight_object.test.w_compile_tf-aws.md | 746 ------------------ ...apture_preflight_object.test.w_test_sim.md | 8 +- ...class_definitions.test.w_compile_tf-aws.md | 15 - ...r_capture_mutable.test.w_compile_tf-aws.md | 5 +- ..._inflight_closure.test.w_compile_tf-aws.md | 5 +- ...t_class_modifiers.test.w_compile_tf-aws.md | 5 - ..._inflight_closure.test.w_compile_tf-aws.md | 11 +- ..._interace_handler.test.w_compile_tf-aws.md | 10 +- ...lass_without_init.test.w_compile_tf-aws.md | 9 +- ...re_as_super_param.test.w_compile_tf-aws.md | 3 - ...ht_closure_autoid.test.w_compile_tf-aws.md | 3 - ...preflight_closure.test.w_compile_tf-aws.md | 3 - .../inflight_concat.test.w_compile_tf-aws.md | 5 +- ...handler_singleton.test.w_compile_tf-aws.md | 19 +- .../inflight_init.test.w_compile_tf-aws.md | 19 +- ...calling_inflights.test.w_compile_tf-aws.md | 5 +- ...erit_stdlib_class.test.w_compile_tf-aws.md | 9 +- ...ce_class_inflight.test.w_compile_tf-aws.md | 7 +- ...e_class_preflight.test.w_compile_tf-aws.md | 5 +- ...ritance_interface.test.w_compile_tf-aws.md | 5 +- .../valid/interface.test.w_compile_tf-aws.md | 3 - .../valid/intrinsics.test.w_compile_tf-aws.md | 16 +- .../valid/issue_2889.test.w_compile_tf-aws.md | 13 +- .../valid/json.test.w_compile_tf-aws.md | 5 +- .../json_bucket.test.w_compile_tf-aws.md | 5 +- .../json_static.test.w_compile_tf-aws.md | 7 +- ...ing_interpolation.test.w_compile_tf-aws.md | 3 - ...ft_expr_with_this.test.w_compile_tf-aws.md | 3 - ...losure_collection.test.w_compile_tf-aws.md | 5 +- ..._object_issue6501.test.w_compile_tf-aws.md | 11 +- ...ift_parent_fields.test.w_compile_tf-aws.md | 3 - ...lift_redefinition.test.w_compile_tf-aws.md | 3 - ...t_shared_resource.test.w_compile_tf-aws.md | 9 +- .../valid/lift_this.test.w_compile_tf-aws.md | 7 +- .../lift_via_closure.test.w_compile_tf-aws.md | 5 +- ..._closure_explicit.test.w_compile_tf-aws.md | 5 +- .../lift_weird_order.test.w_compile_tf-aws.md | 3 - ...ft_with_phase_ind.test.w_compile_tf-aws.md | 7 +- .../map_entries.test.w_compile_tf-aws.md | 3 - ...t_container_types.test.w_compile_tf-aws.md | 5 +- ..._after_class_init.test.w_compile_tf-aws.md | 9 +- .../new_in_static.test.w_compile_tf-aws.md | 14 +- .../new_in_static_lib.w_compile_tf-aws.md | 3 +- .../valid/new_jsii.test.w_compile_tf-aws.md | 5 +- .../valid/nil.test.w_compile_tf-aws.md | 5 +- .../valid/on_lift.test.w_compile_tf-aws.md | 8 +- .../valid/optionals.test.w_compile_tf-aws.md | 5 +- .../parameters.test.w_compile_tf-aws.md | 3 - .../parameters.test.w_compile_tf-aws.md | 3 - ..._method_on_string.test.w_compile_tf-aws.md | 9 +- ...primitive_methods.test.w_compile_tf-aws.md | 3 - .../valid/print.test.w_compile_tf-aws.md | 5 +- .../reassignment.test.w_compile_tf-aws.md | 3 - .../valid/redis.test.w_compile_tf-aws.md | 11 +- .../valid/resource.test.w_compile_tf-aws.md | 11 +- ..._inflight_literal.test.w_compile_tf-aws.md | 5 +- ...ource_call_static.test.w_compile_tf-aws.md | 5 +- ...resource_captures.test.w_compile_tf-aws.md | 5 +- ..._captures_globals.test.w_compile_tf-aws.md | 9 +- .../valid/service.test.w_compile_tf-aws.md | 3 - .../valid/shadowing.test.w_compile_tf-aws.md | 5 +- .../sim_resource.test.w_compile_tf-aws.md | 9 +- ...tatements_before_super.w_compile_tf-aws.md | 3 +- .../statements_if.test.w_compile_tf-aws.md | 5 +- ...able_declarations.test.w_compile_tf-aws.md | 3 - .../static_members.test.w_compile_tf-aws.md | 5 +- .../std_containers.test.w_compile_tf-aws.md | 3 - .../valid/std_string.test.w_compile_tf-aws.md | 3 - .../valid/store.w_compile_tf-aws.md | 8 +- .../valid/stringify.test.w_compile_tf-aws.md | 3 - .../struct_from_json.test.w_compile_tf-aws.md | 33 +- .../valid/structs.test.w_compile_tf-aws.md | 5 +- .../valid/super_call.test.w_compile_tf-aws.md | 19 +- .../symbol_shadow.test.w_compile_tf-aws.md | 5 +- .../valid/table.test.w_compile_tf-aws.md | 5 +- .../test_bucket.test.w_compile_tf-aws.md | 5 +- ...est_without_bring.test.w_compile_tf-aws.md | 3 - .../valid/this.test.w_compile_tf-aws.md | 5 +- .../to_inflight.test.w_compile_tf-aws.md | 5 +- .../valid/try_catch.test.w_compile_tf-aws.md | 3 - .../unused_lift.test.w_compile_tf-aws.md | 5 +- ...side_init_closure.test.w_compile_tf-aws.md | 5 +- .../website_with_api.test.w_compile_tf-aws.md | 27 +- .../valid/while.test.w_compile_tf-aws.md | 3 - .../while_loop_await.test.w_compile_tf-aws.md | 5 +- 275 files changed, 416 insertions(+), 2670 deletions(-) delete mode 100644 examples/tests/valid/subdir2/inflight_class.w delete mode 100644 libs/wingc/src/jsify/snapshots/qualify_inflight_type_refrencing_preflight_instance.snap diff --git a/apps/wing/src/commands/pack.test.ts b/apps/wing/src/commands/pack.test.ts index d424bb258ba..3bc815e0143 100644 --- a/apps/wing/src/commands/pack.test.ts +++ b/apps/wing/src/commands/pack.test.ts @@ -200,7 +200,6 @@ describe("wing pack", () => { expect(mod).toBeDefined(); expect(Object.keys(mod).sort()).toMatchInlineSnapshot(` [ - "$preflightTypesMap", "FavoriteNumbers", "Store", "default", diff --git a/examples/tests/valid/inflight_class_capture_preflight_object.test.w b/examples/tests/valid/inflight_class_capture_preflight_object.test.w index e23242ddb45..1dfeaceedaf 100644 --- a/examples/tests/valid/inflight_class_capture_preflight_object.test.w +++ b/examples/tests/valid/inflight_class_capture_preflight_object.test.w @@ -1,54 +1,18 @@ -bring cloud; -bring "./subdir2" as subdir; +// https://github.com/winglang/wing/issues/2730 +// FAILING: -let b = new cloud.Bucket(); +// bring cloud; -inflight class Foo { - pub uploadToBucket(k: str, value: str) { - b.put(k, value); - assert(b.get(k) == value); - } +// let b = new cloud.Bucket(); +// let myConst = "bang bang"; - static pub fooStatic() { - b.put("a", "b"); - assert(b.list() == ["a"]); - } -} +// inflight class Foo { +// uploadToBucket(k: str, value: str) { +// b.put(k, value); +// } +// } -test "inflight class captures preflight resource" { - let f = new Foo(); - f.uploadToBucket("hello.txt", "world"); -} - -test "inflight class type captures preflight resource" { - Foo.fooStatic(); -} - - -let getFoo = inflight () => { - return new Foo(); -}; - -test "inflight class qualified without explicit reference" { - // Get instance of Foo without mentioning the type - let foo = getFoo(); - // Now Foo needs to be qualified correcly - foo.uploadToBucket("greetings.txt", "universe"); -} - -test "inflight class defined inflight captures preflight object" { - class Foo2 { - pub uploadToBucket() { - b.put("x", "y"); - assert(b.get("x") == "y"); - } - } - - let f = new Foo2(); - f.uploadToBucket(); -} - -test "bring inflight class from subdir" { - let x = new subdir.InflightClass(); - assert(x.method() == "What did you expect?"); -} +// test "inflight class captures preflight resource" { +// let f = new Foo(); +// f.uploadToBucket("hello.txt", "world"); +// } diff --git a/examples/tests/valid/subdir2/inflight_class.w b/examples/tests/valid/subdir2/inflight_class.w deleted file mode 100644 index bdf37243fe0..00000000000 --- a/examples/tests/valid/subdir2/inflight_class.w +++ /dev/null @@ -1,5 +0,0 @@ -pub inflight class InflightClass { - pub method(): str { - return "What did you expect?"; - } -} \ No newline at end of file diff --git a/libs/wingc/src/dtsify/snapshots/declarations.snap b/libs/wingc/src/dtsify/snapshots/declarations.snap index 59471505957..98f93db09e3 100644 --- a/libs/wingc/src/dtsify/snapshots/declarations.snap +++ b/libs/wingc/src/dtsify/snapshots/declarations.snap @@ -105,9 +105,9 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const $preflightTypesMap = {}; -Object.assign(module.exports, $helpers.bringJs(`${__dirname}/preflight.lib-1.cjs`, $preflightTypesMap)); -module.exports = { ...module.exports, $preflightTypesMap }; +module.exports = { + ...require("./preflight.lib-1.cjs"), +}; //# sourceMappingURL=preflight.cjs.map ``` @@ -125,7 +125,6 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -let $preflightTypesMap = {}; class InflightClass extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -156,8 +155,6 @@ class InflightClass extends $stdlib.std.Resource { }); } } -if ($preflightTypesMap[1]) { throw new Error("InflightClass is already in type map"); } -$preflightTypesMap[1] = InflightClass; class ParentClass extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -189,14 +186,12 @@ class ParentClass extends $stdlib.std.Resource { "bar": [ ], "$inflight_init": [ - [InflightClass, []], ], }); } static get _liftTypeMap() { return ({ "static_method": [ - [InflightClass, []], ], }); } @@ -230,7 +225,7 @@ class Child extends ParentClass { }); } } -module.exports = { $preflightTypesMap, InflightClass, ParentClass, Child }; +module.exports = { InflightClass, ParentClass, Child }; //# sourceMappingURL=preflight.lib-1.cjs.map ``` diff --git a/libs/wingc/src/dtsify/snapshots/optionals.snap b/libs/wingc/src/dtsify/snapshots/optionals.snap index f2ec550c899..deac88efa6f 100644 --- a/libs/wingc/src/dtsify/snapshots/optionals.snap +++ b/libs/wingc/src/dtsify/snapshots/optionals.snap @@ -46,9 +46,9 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const $preflightTypesMap = {}; -Object.assign(module.exports, $helpers.bringJs(`${__dirname}/preflight.lib-1.cjs`, $preflightTypesMap)); -module.exports = { ...module.exports, $preflightTypesMap }; +module.exports = { + ...require("./preflight.lib-1.cjs"), +}; //# sourceMappingURL=preflight.cjs.map ``` @@ -66,7 +66,6 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -let $preflightTypesMap = {}; class ParentClass extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -97,7 +96,7 @@ class ParentClass extends $stdlib.std.Resource { }); } } -module.exports = { $preflightTypesMap, ParentClass }; +module.exports = { ParentClass }; //# sourceMappingURL=preflight.lib-1.cjs.map ``` diff --git a/libs/wingc/src/jsify.rs b/libs/wingc/src/jsify.rs index 93d8d35c89a..bba287f31a7 100644 --- a/libs/wingc/src/jsify.rs +++ b/libs/wingc/src/jsify.rs @@ -41,8 +41,8 @@ const PREFLIGHT_FILE_NAME: &str = "preflight.cjs"; const STDLIB: &str = "$stdlib"; const STDLIB_CORE: &str = formatcp!("{STDLIB}.core"); -const STDLIB_CORE_RESOURCE: &str = formatcp!("{STDLIB}.{WINGSDK_RESOURCE}"); -const STDLIB_CORE_AUTOID_RESOURCE: &str = formatcp!("{STDLIB}.{WINGSDK_AUTOID_RESOURCE}"); +const STDLIB_CORE_RESOURCE: &str = formatcp!("{}.{}", STDLIB, WINGSDK_RESOURCE); +const STDLIB_CORE_AUTOID_RESOURCE: &str = formatcp!("{}.{}", STDLIB, WINGSDK_AUTOID_RESOURCE); const STDLIB_MODULE: &str = WINGSDK_ASSEMBLY_NAME; const ENV_WING_IS_TEST: &str = "$wing_is_test"; @@ -59,9 +59,6 @@ const __DIRNAME: &str = "__dirname"; const SUPER_CLASS_INFLIGHT_INIT_NAME: &str = formatcp!("super_{CLASS_INFLIGHT_INIT_NAME}"); -const PREFLIGHT_TYPES_MAP: &str = "$helpers.nodeof(this).root.$preflightTypesMap"; -const MODULE_PREFLIGHT_TYPES_MAP: &str = "$preflightTypesMap"; - const SCOPE_PARAM: &str = "$scope"; pub struct JSifyContext<'a> { @@ -103,7 +100,7 @@ impl VisitorWithContext for JSifyContext<'_> { /// Preflight classes have two types of host binding methods: /// `Type` for binding static fields and methods to the host and /// `instance` for binding instance fields and methods to the host. -#[derive(PartialEq)] +#[derive(PartialEq, Eq)] enum BindMethod { Type, Instance, @@ -157,7 +154,11 @@ impl<'a> JSifier<'a> { }) { let scope_env = self.types.get_scope_env(&scope); let s = self.jsify_statement(&scope_env, statement, &mut jsify_context); // top level statements are always preflight - if matches!(statement.kind, StmtKind::Bring { .. }) { + if let StmtKind::Bring { + identifier: _, + source: _, + } = statement.kind + { imports.add_code(s); } else { js.add_code(s); @@ -192,23 +193,14 @@ impl<'a> JSifier<'a> { output.line(format!( "const {EXTERN_VAR} = {HELPERS_VAR}.createExternRequire({__DIRNAME});" )); + output.add_code(imports); if is_entrypoint { let mut root_class = CodeMaker::default(); root_class.open(format!("class {} extends {} {{", ROOT_CLASS, STDLIB_CORE_RESOURCE)); root_class.open(format!("{JS_CONSTRUCTOR}({SCOPE_PARAM}, $id) {{")); root_class.line(format!("super({SCOPE_PARAM}, $id);")); - root_class.line(format!("{PREFLIGHT_TYPES_MAP} = {{ }};")); - - // The root preflight types map - root_class.line(format!("let {MODULE_PREFLIGHT_TYPES_MAP} = {{}};")); - - root_class.add_code(imports); root_class.add_code(self.jsify_struct_schemas(source_path)); - - // A global map pointing to the root preflight types map - root_class.line(format!("{PREFLIGHT_TYPES_MAP} = {MODULE_PREFLIGHT_TYPES_MAP};")); - root_class.add_code(js); root_class.close("}"); root_class.close("}"); @@ -228,43 +220,35 @@ impl<'a> JSifier<'a> { let directory_children = self.source_file_graph.dependencies_of(source_path); let preflight_file_map = self.preflight_file_map.borrow(); - // supposing a directory has a file and a subdirectory in it, + // supposing a directory has two files and two subdirectories in it, // we generate code like this: // ``` - // let $preflightTypesMap = {}; - // Object.assign(module.exports, $helpers.bringJs("./preflight.inner-file1.js", $preflightTypesMap)); - // Object.assign(module.exports, { get inner_directory1() { $helpers.bringJs("./preflight.inner-directory1.js", $preflightTypesMap); } }); - // module.exports = { ...module.exports, $preflightTypesMap }; + // module.exports = { + // get inner_directory1() { return require("./preflight.inner-directory1.cjs") }, + // get inner_directory2() { return require("./preflight.inner-directory2.cjs") }, + // ...require("./preflight.inner-file1.cjs"), + // ...require("./preflight.inner-file2.cjs"), + // }; // ``` - - // This module's preflight type map - output.line(format!("const {MODULE_PREFLIGHT_TYPES_MAP} = {{}};")); - + output.open("module.exports = {"); for file in directory_children { let preflight_file_name = preflight_file_map.get(file).expect("no emitted JS file found"); if file.is_dir() { let directory_name = file.file_stem().unwrap(); output.line(format!( - "Object.assign(module.exports, {{ get {directory_name}() {{ return $helpers.bringJs(`${{__dirname}}/{preflight_file_name}`, {MODULE_PREFLIGHT_TYPES_MAP}); }} }});" + "get {directory_name}() {{ return require(\"./{preflight_file_name}\") }}," )); } else { - output.line(format!( - "Object.assign(module.exports, $helpers.bringJs(`${{__dirname}}/{preflight_file_name}`, {MODULE_PREFLIGHT_TYPES_MAP}));" - )); + output.line(format!("...require(\"./{preflight_file_name}\"),")); } } - output.line(format!( - "module.exports = {{ ...module.exports, {MODULE_PREFLIGHT_TYPES_MAP} }};" - )); + output.close("};"); } else { - // This module's preflight type map - output.line(format!("let {MODULE_PREFLIGHT_TYPES_MAP} = {{}};")); - output.add_code(imports); output.add_code(self.jsify_struct_schemas(source_path)); output.add_code(js); let exports = get_public_symbols(&scope); output.line(format!( - "module.exports = {{ {MODULE_PREFLIGHT_TYPES_MAP}, {} }};", + "module.exports = {{ {} }};", exports.iter().map(ToString::to_string).join(", ") )); } @@ -1182,7 +1166,10 @@ impl<'a> JSifier<'a> { code.line(format!("const {var_name} = {STDLIB}.{name};")) } BringSource::TrustedModule(name, module_dir) => { - code.append(self.jsify_bring_stmt(module_dir, &Some(identifier.as_ref().unwrap_or(name).clone()))); + let preflight_file_map = self.preflight_file_map.borrow(); + let preflight_file_name = preflight_file_map.get(module_dir).unwrap(); + let var_name = identifier.as_ref().unwrap_or(&name); + code.line(format!("const {var_name} = require(\"./{preflight_file_name}\");")) } BringSource::JsiiModule(name) => { // checked during type checking @@ -1190,10 +1177,25 @@ impl<'a> JSifier<'a> { code.line(format!("const {var_name} = require(\"{name}\");")) } BringSource::WingLibrary(_, module_dir) => { - code.append(self.jsify_bring_stmt(module_dir, identifier)); + // checked during type checking + let var_name = identifier.as_ref().expect("bring wing library requires an alias"); + let preflight_file_map = self.preflight_file_map.borrow(); + let preflight_file_name = preflight_file_map.get(module_dir).unwrap(); + code.line(format!("const {var_name} = require(\"./{preflight_file_name}\");")) + } + BringSource::WingFile(path) => { + // checked during type checking + let var_name = identifier.as_ref().expect("bring wing file requires an alias"); + let preflight_file_map = self.preflight_file_map.borrow(); + let preflight_file_name = preflight_file_map.get(path).unwrap(); + code.line(format!("const {var_name} = require(\"./{preflight_file_name}\");")) } - BringSource::Directory(path) | BringSource::WingFile(path) => { - code.append(self.jsify_bring_stmt(path, identifier)); + BringSource::Directory(path) => { + // checked during type checking + let preflight_file_map = self.preflight_file_map.borrow(); + let preflight_file_name = preflight_file_map.get(path).unwrap(); + let var_name = identifier.as_ref().expect("bring wing directory requires an alias"); + code.line(format!("const {var_name} = require(\"./{preflight_file_name}\");")) } }, StmtKind::SuperConstructor { arg_list } => { @@ -1496,18 +1498,6 @@ impl<'a> JSifier<'a> { code } - fn jsify_bring_stmt(&self, path: &Utf8Path, identifier: &Option) -> CodeMaker { - let mut code = CodeMaker::default(); - // checked during type checking - let var_name = identifier.as_ref().expect("bring wing module requires an alias"); - let preflight_file_map = self.preflight_file_map.borrow(); - let preflight_file_name = preflight_file_map.get(path).unwrap(); - code.line(format!( - "const {var_name} = $helpers.bringJs(`${{__dirname}}/{preflight_file_name}`, {MODULE_PREFLIGHT_TYPES_MAP});" - )); - code - } - fn jsify_enum(&self, name: &Symbol, values: &IndexMap>) -> CodeMaker { let mut code = CodeMaker::with_source(&name.span); let mut value_index = 0; @@ -1859,32 +1849,10 @@ impl<'a> JSifier<'a> { code.add_code(self.jsify_register_bind_method(class, class_type, BindMethod::Type, ctx)); code.close("}"); - - // Inflight classes might need to be lift-qualified (onLift), but their type name might not be necessarily available - // at the scope when they are qualified (it might even be shadowed by another type name). We store a reference to these - // class types in a global preflight types map indexed by the class's unique id. - if class.phase == Phase::Inflight { - code.line(format!( - "if ({MODULE_PREFLIGHT_TYPES_MAP}[{}]) {{ throw new Error(\"{} is already in type map\"); }}", - class_type.as_class().unwrap().uid, - class.name - )); - code.line(format!( - "{MODULE_PREFLIGHT_TYPES_MAP}[{}] = {};", - class_type.as_class().unwrap().uid, - class.name - )); - } - code }) } - pub fn class_singleton(&self, type_: TypeRef) -> String { - let c = type_.as_class().unwrap(); - format!("$helpers.preflightClassSingleton(this, {})", c.uid) - } - fn jsify_preflight_constructor(&self, class: &AstClass, ctx: &mut JSifyContext) -> CodeMaker { let mut code = new_code!( &class.name.span, @@ -2202,9 +2170,9 @@ impl<'a> JSifier<'a> { } } - for f in class.inflight_fields() { - let name = &f.name; - let is_static = f.is_static; + for m in class.inflight_fields() { + let name = &m.name; + let is_static = m.is_static; let filter = match bind_method_kind { BindMethod::Instance => !is_static, BindMethod::Type => is_static, @@ -2229,9 +2197,7 @@ impl<'a> JSifier<'a> { if bind_method_kind == BindMethod::Instance && class.parent.is_some() { // mergeLiftDeps is a helper method that combines the lift deps of the parent class with the // lift deps of this class - bind_method.open(format!( - "return {STDLIB_CORE}.mergeLiftDeps(super.{bind_method_name}, {{" - )); + bind_method.open(format!("return {STDLIB_CORE}.mergeLiftDeps(super._liftMap, {{")); } else { bind_method.open("return ({".to_string()); } diff --git a/libs/wingc/src/jsify/snapshots/access_methods_and_properties_on_collections.snap b/libs/wingc/src/jsify/snapshots/access_methods_and_properties_on_collections.snap index c396742c435..ebc433dcb62 100644 --- a/libs/wingc/src/jsify/snapshots/access_methods_and_properties_on_collections.snap +++ b/libs/wingc/src/jsify/snapshots/access_methods_and_properties_on_collections.snap @@ -51,9 +51,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/access_property_on_primitive.snap b/libs/wingc/src/jsify/snapshots/access_property_on_primitive.snap index d093b8b3e3f..b5771fcc0b9 100644 --- a/libs/wingc/src/jsify/snapshots/access_property_on_primitive.snap +++ b/libs/wingc/src/jsify/snapshots/access_property_on_primitive.snap @@ -48,9 +48,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/access_property_on_value_returned_from_collection.snap b/libs/wingc/src/jsify/snapshots/access_property_on_value_returned_from_collection.snap index 3a47440282e..fdce5f92022 100644 --- a/libs/wingc/src/jsify/snapshots/access_property_on_value_returned_from_collection.snap +++ b/libs/wingc/src/jsify/snapshots/access_property_on_value_returned_from_collection.snap @@ -48,9 +48,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/allow_type_def_before_super.snap b/libs/wingc/src/jsify/snapshots/allow_type_def_before_super.snap index afc28743af5..bd00d29aa47 100644 --- a/libs/wingc/src/jsify/snapshots/allow_type_def_before_super.snap +++ b/libs/wingc/src/jsify/snapshots/allow_type_def_before_super.snap @@ -77,9 +77,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, x) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/base_class_captures_inflight.snap b/libs/wingc/src/jsify/snapshots/base_class_captures_inflight.snap index ca2c6cc48fd..c996859fb2d 100644 --- a/libs/wingc/src/jsify/snapshots/base_class_captures_inflight.snap +++ b/libs/wingc/src/jsify/snapshots/base_class_captures_inflight.snap @@ -72,9 +72,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Base extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/base_class_captures_preflight.snap b/libs/wingc/src/jsify/snapshots/base_class_captures_preflight.snap index 53de74f2c34..989c402998a 100644 --- a/libs/wingc/src/jsify/snapshots/base_class_captures_preflight.snap +++ b/libs/wingc/src/jsify/snapshots/base_class_captures_preflight.snap @@ -66,9 +66,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Base extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/base_class_lift_indirect.snap b/libs/wingc/src/jsify/snapshots/base_class_lift_indirect.snap index 945f43e89f4..a1098a4325a 100644 --- a/libs/wingc/src/jsify/snapshots/base_class_lift_indirect.snap +++ b/libs/wingc/src/jsify/snapshots/base_class_lift_indirect.snap @@ -77,13 +77,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Base extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/base_class_with_fields_inflight.snap b/libs/wingc/src/jsify/snapshots/base_class_with_fields_inflight.snap index 188a438eafd..1bcabfc5528 100644 --- a/libs/wingc/src/jsify/snapshots/base_class_with_fields_inflight.snap +++ b/libs/wingc/src/jsify/snapshots/base_class_with_fields_inflight.snap @@ -81,9 +81,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Base extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/base_class_with_fields_preflight.snap b/libs/wingc/src/jsify/snapshots/base_class_with_fields_preflight.snap index e055ea9023c..c5faa235839 100644 --- a/libs/wingc/src/jsify/snapshots/base_class_with_fields_preflight.snap +++ b/libs/wingc/src/jsify/snapshots/base_class_with_fields_preflight.snap @@ -71,9 +71,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Base extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/base_class_with_lifted_field_object.snap b/libs/wingc/src/jsify/snapshots/base_class_with_lifted_field_object.snap index 70cc6660dad..e2a2891ef78 100644 --- a/libs/wingc/src/jsify/snapshots/base_class_with_lifted_field_object.snap +++ b/libs/wingc/src/jsify/snapshots/base_class_with_lifted_field_object.snap @@ -68,13 +68,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Base extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/base_class_with_lifted_fields.snap b/libs/wingc/src/jsify/snapshots/base_class_with_lifted_fields.snap index eef16a40a7e..7793850313b 100644 --- a/libs/wingc/src/jsify/snapshots/base_class_with_lifted_fields.snap +++ b/libs/wingc/src/jsify/snapshots/base_class_with_lifted_fields.snap @@ -71,9 +71,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Base extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/builtins.snap b/libs/wingc/src/jsify/snapshots/builtins.snap index c27f7a970b4..53008dfdff0 100644 --- a/libs/wingc/src/jsify/snapshots/builtins.snap +++ b/libs/wingc/src/jsify/snapshots/builtins.snap @@ -46,9 +46,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/call_static_inflight_from_static_inflight.snap b/libs/wingc/src/jsify/snapshots/call_static_inflight_from_static_inflight.snap index 74ed9c87f61..d131a1db629 100644 --- a/libs/wingc/src/jsify/snapshots/call_static_inflight_from_static_inflight.snap +++ b/libs/wingc/src/jsify/snapshots/call_static_inflight_from_static_inflight.snap @@ -65,9 +65,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class A extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -139,8 +136,6 @@ class $Root extends $stdlib.std.Resource { }); } } - if ($preflightTypesMap[2]) { throw new Error("B is already in type map"); } - $preflightTypesMap[2] = B; } } const $PlatformManager = new $stdlib.platform.PlatformManager({platformPaths: $platforms}); diff --git a/libs/wingc/src/jsify/snapshots/calls_methods_on_preflight_object.snap b/libs/wingc/src/jsify/snapshots/calls_methods_on_preflight_object.snap index 4bf1644e044..e34ef9d6acd 100644 --- a/libs/wingc/src/jsify/snapshots/calls_methods_on_preflight_object.snap +++ b/libs/wingc/src/jsify/snapshots/calls_methods_on_preflight_object.snap @@ -48,13 +48,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/capture_from_inside_an_inflight_closure.snap b/libs/wingc/src/jsify/snapshots/capture_from_inside_an_inflight_closure.snap index f3d25d6bb08..09e9197b655 100644 --- a/libs/wingc/src/jsify/snapshots/capture_from_inside_an_inflight_closure.snap +++ b/libs/wingc/src/jsify/snapshots/capture_from_inside_an_inflight_closure.snap @@ -48,13 +48,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const util = $stdlib.util; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const util = $stdlib.util; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/capture_identifier_closure_from_preflight_scope.snap b/libs/wingc/src/jsify/snapshots/capture_identifier_closure_from_preflight_scope.snap index f699bc23896..855df068e77 100644 --- a/libs/wingc/src/jsify/snapshots/capture_identifier_closure_from_preflight_scope.snap +++ b/libs/wingc/src/jsify/snapshots/capture_identifier_closure_from_preflight_scope.snap @@ -67,9 +67,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/capture_identifier_from_preflight_scope.snap b/libs/wingc/src/jsify/snapshots/capture_identifier_from_preflight_scope.snap index 79c6953004d..7fc9b80532b 100644 --- a/libs/wingc/src/jsify/snapshots/capture_identifier_from_preflight_scope.snap +++ b/libs/wingc/src/jsify/snapshots/capture_identifier_from_preflight_scope.snap @@ -47,9 +47,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/capture_identifier_from_preflight_scope_with_method_call.snap b/libs/wingc/src/jsify/snapshots/capture_identifier_from_preflight_scope_with_method_call.snap index b2f07c217a5..13cc38e59bb 100644 --- a/libs/wingc/src/jsify/snapshots/capture_identifier_from_preflight_scope_with_method_call.snap +++ b/libs/wingc/src/jsify/snapshots/capture_identifier_from_preflight_scope_with_method_call.snap @@ -68,9 +68,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/capture_identifier_from_preflight_scope_with_nested_object.snap b/libs/wingc/src/jsify/snapshots/capture_identifier_from_preflight_scope_with_nested_object.snap index 0ec257d3e11..b5fbf73536b 100644 --- a/libs/wingc/src/jsify/snapshots/capture_identifier_from_preflight_scope_with_nested_object.snap +++ b/libs/wingc/src/jsify/snapshots/capture_identifier_from_preflight_scope_with_nested_object.snap @@ -68,13 +68,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/capture_identifier_from_preflight_scope_with_property.snap b/libs/wingc/src/jsify/snapshots/capture_identifier_from_preflight_scope_with_property.snap index 9a5ef810928..a758b92f8cc 100644 --- a/libs/wingc/src/jsify/snapshots/capture_identifier_from_preflight_scope_with_property.snap +++ b/libs/wingc/src/jsify/snapshots/capture_identifier_from_preflight_scope_with_property.snap @@ -47,9 +47,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/capture_in_keyword_args.snap b/libs/wingc/src/jsify/snapshots/capture_in_keyword_args.snap index 0d9c3a3923e..312283f1f43 100644 --- a/libs/wingc/src/jsify/snapshots/capture_in_keyword_args.snap +++ b/libs/wingc/src/jsify/snapshots/capture_in_keyword_args.snap @@ -49,13 +49,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const util = $stdlib.util; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const util = $stdlib.util; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -84,11 +81,9 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), ["waitUntil"]], [x, []], ], "$inflight_init": [ - [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), []], [x, []], ], }); diff --git a/libs/wingc/src/jsify/snapshots/capture_object_with_this_in_name.snap b/libs/wingc/src/jsify/snapshots/capture_object_with_this_in_name.snap index af034f5f15a..e08d93d3d5f 100644 --- a/libs/wingc/src/jsify/snapshots/capture_object_with_this_in_name.snap +++ b/libs/wingc/src/jsify/snapshots/capture_object_with_this_in_name.snap @@ -45,13 +45,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/capture_token.snap b/libs/wingc/src/jsify/snapshots/capture_token.snap index b4e6974caca..7d280541b37 100644 --- a/libs/wingc/src/jsify/snapshots/capture_token.snap +++ b/libs/wingc/src/jsify/snapshots/capture_token.snap @@ -44,13 +44,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/capture_type_inflight_class_sibling_from_init.snap b/libs/wingc/src/jsify/snapshots/capture_type_inflight_class_sibling_from_init.snap index 0a05c2e625e..e33734b441e 100644 --- a/libs/wingc/src/jsify/snapshots/capture_type_inflight_class_sibling_from_init.snap +++ b/libs/wingc/src/jsify/snapshots/capture_type_inflight_class_sibling_from_init.snap @@ -71,9 +71,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/capture_type_inflight_class_sibling_from_method.snap b/libs/wingc/src/jsify/snapshots/capture_type_inflight_class_sibling_from_method.snap index 979744061a1..47fb417fa00 100644 --- a/libs/wingc/src/jsify/snapshots/capture_type_inflight_class_sibling_from_method.snap +++ b/libs/wingc/src/jsify/snapshots/capture_type_inflight_class_sibling_from_method.snap @@ -57,9 +57,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/capture_type_new_inflight_class_inner_no_capture.snap b/libs/wingc/src/jsify/snapshots/capture_type_new_inflight_class_inner_no_capture.snap index af7adb56121..b0d4cbe8f02 100644 --- a/libs/wingc/src/jsify/snapshots/capture_type_new_inflight_class_inner_no_capture.snap +++ b/libs/wingc/src/jsify/snapshots/capture_type_new_inflight_class_inner_no_capture.snap @@ -49,9 +49,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/capture_type_new_inflight_class_outer.snap b/libs/wingc/src/jsify/snapshots/capture_type_new_inflight_class_outer.snap index 291806a0b6a..8489eec5041 100644 --- a/libs/wingc/src/jsify/snapshots/capture_type_new_inflight_class_outer.snap +++ b/libs/wingc/src/jsify/snapshots/capture_type_new_inflight_class_outer.snap @@ -61,9 +61,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -92,8 +89,6 @@ class $Root extends $stdlib.std.Resource { }); } } - if ($preflightTypesMap[1]) { throw new Error("Foo is already in type map"); } - $preflightTypesMap[1] = Foo; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -121,10 +116,8 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [Foo, []], ], "$inflight_init": [ - [Foo, []], ], }); } diff --git a/libs/wingc/src/jsify/snapshots/capture_type_static_method.snap b/libs/wingc/src/jsify/snapshots/capture_type_static_method.snap index 3cfdfa00daa..b6277673600 100644 --- a/libs/wingc/src/jsify/snapshots/capture_type_static_method.snap +++ b/libs/wingc/src/jsify/snapshots/capture_type_static_method.snap @@ -68,9 +68,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/capture_type_static_method_inflight_class.snap b/libs/wingc/src/jsify/snapshots/capture_type_static_method_inflight_class.snap index 3a90eddef62..cd7cc8981dd 100644 --- a/libs/wingc/src/jsify/snapshots/capture_type_static_method_inflight_class.snap +++ b/libs/wingc/src/jsify/snapshots/capture_type_static_method_inflight_class.snap @@ -66,9 +66,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -103,8 +100,6 @@ class $Root extends $stdlib.std.Resource { }); } } - if ($preflightTypesMap[1]) { throw new Error("Foo is already in type map"); } - $preflightTypesMap[1] = Foo; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -132,10 +127,8 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [Foo, ["bar"]], ], "$inflight_init": [ - [Foo, []], ], }); } diff --git a/libs/wingc/src/jsify/snapshots/capture_var_from_method_inflight.snap b/libs/wingc/src/jsify/snapshots/capture_var_from_method_inflight.snap index 12e633ae877..9254bf82239 100644 --- a/libs/wingc/src/jsify/snapshots/capture_var_from_method_inflight.snap +++ b/libs/wingc/src/jsify/snapshots/capture_var_from_method_inflight.snap @@ -54,9 +54,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/closed_inflight_class_extends_outer_inflight_class.snap b/libs/wingc/src/jsify/snapshots/closed_inflight_class_extends_outer_inflight_class.snap index 163c019e172..ebda1fe8f15 100644 --- a/libs/wingc/src/jsify/snapshots/closed_inflight_class_extends_outer_inflight_class.snap +++ b/libs/wingc/src/jsify/snapshots/closed_inflight_class_extends_outer_inflight_class.snap @@ -64,9 +64,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Base extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -95,8 +92,6 @@ class $Root extends $stdlib.std.Resource { }); } } - if ($preflightTypesMap[1]) { throw new Error("Base is already in type map"); } - $preflightTypesMap[1] = Base; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -124,10 +119,8 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [Base, []], ], "$inflight_init": [ - [Base, []], ], }); } diff --git a/libs/wingc/src/jsify/snapshots/closure_field.snap b/libs/wingc/src/jsify/snapshots/closure_field.snap index cb2ea648ef7..22d34a6d686 100644 --- a/libs/wingc/src/jsify/snapshots/closure_field.snap +++ b/libs/wingc/src/jsify/snapshots/closure_field.snap @@ -106,13 +106,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class MyResource extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/entrypoint_this.snap b/libs/wingc/src/jsify/snapshots/entrypoint_this.snap index 5e03a620b84..b61f8369c14 100644 --- a/libs/wingc/src/jsify/snapshots/entrypoint_this.snap +++ b/libs/wingc/src/jsify/snapshots/entrypoint_this.snap @@ -23,9 +23,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; this; } } diff --git a/libs/wingc/src/jsify/snapshots/enum_value.snap b/libs/wingc/src/jsify/snapshots/enum_value.snap index 759fb0f233f..e48c24d9f1e 100644 --- a/libs/wingc/src/jsify/snapshots/enum_value.snap +++ b/libs/wingc/src/jsify/snapshots/enum_value.snap @@ -51,9 +51,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; const MyEnum = (function (tmp) { tmp["B"] = "B"; @@ -89,11 +86,9 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [MyEnum, [].concat(["B"], ["C"])], [x, []], ], "$inflight_init": [ - [MyEnum, []], [x, []], ], }); diff --git a/libs/wingc/src/jsify/snapshots/free_inflight_obj_from_inflight.snap b/libs/wingc/src/jsify/snapshots/free_inflight_obj_from_inflight.snap index 9b476ad3879..5257f8a3c70 100644 --- a/libs/wingc/src/jsify/snapshots/free_inflight_obj_from_inflight.snap +++ b/libs/wingc/src/jsify/snapshots/free_inflight_obj_from_inflight.snap @@ -59,9 +59,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/free_preflight_object_from_preflight.snap b/libs/wingc/src/jsify/snapshots/free_preflight_object_from_preflight.snap index 24507645cfb..15ebf279878 100644 --- a/libs/wingc/src/jsify/snapshots/free_preflight_object_from_preflight.snap +++ b/libs/wingc/src/jsify/snapshots/free_preflight_object_from_preflight.snap @@ -42,9 +42,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class A extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/func_returns_func.snap b/libs/wingc/src/jsify/snapshots/func_returns_func.snap index 8bb3df26820..2b8e67d67c0 100644 --- a/libs/wingc/src/jsify/snapshots/func_returns_func.snap +++ b/libs/wingc/src/jsify/snapshots/func_returns_func.snap @@ -56,9 +56,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/identify_field.snap b/libs/wingc/src/jsify/snapshots/identify_field.snap index bb5fcb10c79..8cdc9ae7a00 100644 --- a/libs/wingc/src/jsify/snapshots/identify_field.snap +++ b/libs/wingc/src/jsify/snapshots/identify_field.snap @@ -48,13 +48,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class A extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/implicit_lift_inflight_init.snap b/libs/wingc/src/jsify/snapshots/implicit_lift_inflight_init.snap index 2df0dbd74bc..ede8b4806e1 100644 --- a/libs/wingc/src/jsify/snapshots/implicit_lift_inflight_init.snap +++ b/libs/wingc/src/jsify/snapshots/implicit_lift_inflight_init.snap @@ -66,13 +66,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/indirect_capture.snap b/libs/wingc/src/jsify/snapshots/indirect_capture.snap index 8d67de04315..15a89bd9a55 100644 --- a/libs/wingc/src/jsify/snapshots/indirect_capture.snap +++ b/libs/wingc/src/jsify/snapshots/indirect_capture.snap @@ -81,13 +81,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Capture extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/inflight_class_extends_both_inside_inflight_closure.snap b/libs/wingc/src/jsify/snapshots/inflight_class_extends_both_inside_inflight_closure.snap index da1e9d8141b..c496a96fb04 100644 --- a/libs/wingc/src/jsify/snapshots/inflight_class_extends_both_inside_inflight_closure.snap +++ b/libs/wingc/src/jsify/snapshots/inflight_class_extends_both_inside_inflight_closure.snap @@ -50,9 +50,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/inflight_class_extends_inflight_class.snap b/libs/wingc/src/jsify/snapshots/inflight_class_extends_inflight_class.snap index 8a86b9e9704..681b87585d6 100644 --- a/libs/wingc/src/jsify/snapshots/inflight_class_extends_inflight_class.snap +++ b/libs/wingc/src/jsify/snapshots/inflight_class_extends_inflight_class.snap @@ -50,9 +50,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class A extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -81,8 +78,6 @@ class $Root extends $stdlib.std.Resource { }); } } - if ($preflightTypesMap[1]) { throw new Error("A is already in type map"); } - $preflightTypesMap[1] = A; class B extends A { constructor($scope, $id, ) { super($scope, $id); @@ -112,8 +107,6 @@ class $Root extends $stdlib.std.Resource { }); } } - if ($preflightTypesMap[2]) { throw new Error("B is already in type map"); } - $preflightTypesMap[2] = B; } } const $PlatformManager = new $stdlib.platform.PlatformManager({platformPaths: $platforms}); diff --git a/libs/wingc/src/jsify/snapshots/inflight_constructor.snap b/libs/wingc/src/jsify/snapshots/inflight_constructor.snap index 1e355d4b666..80faa3b1138 100644 --- a/libs/wingc/src/jsify/snapshots/inflight_constructor.snap +++ b/libs/wingc/src/jsify/snapshots/inflight_constructor.snap @@ -54,9 +54,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/inflight_field.snap b/libs/wingc/src/jsify/snapshots/inflight_field.snap index 44c9860c391..0cfde3b80c0 100644 --- a/libs/wingc/src/jsify/snapshots/inflight_field.snap +++ b/libs/wingc/src/jsify/snapshots/inflight_field.snap @@ -53,9 +53,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class A extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/inflight_field_from_inflight.snap b/libs/wingc/src/jsify/snapshots/inflight_field_from_inflight.snap index 168eb48e6e2..f300ef416e6 100644 --- a/libs/wingc/src/jsify/snapshots/inflight_field_from_inflight.snap +++ b/libs/wingc/src/jsify/snapshots/inflight_field_from_inflight.snap @@ -52,9 +52,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class MyType extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/inflight_field_from_inflight_class.snap b/libs/wingc/src/jsify/snapshots/inflight_field_from_inflight_class.snap index fd0b68dc5e0..04d361bfed3 100644 --- a/libs/wingc/src/jsify/snapshots/inflight_field_from_inflight_class.snap +++ b/libs/wingc/src/jsify/snapshots/inflight_field_from_inflight_class.snap @@ -51,9 +51,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class MyType extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -88,8 +85,6 @@ class $Root extends $stdlib.std.Resource { }); } } - if ($preflightTypesMap[1]) { throw new Error("MyType is already in type map"); } - $preflightTypesMap[1] = MyType; } } const $PlatformManager = new $stdlib.platform.PlatformManager({platformPaths: $platforms}); diff --git a/libs/wingc/src/jsify/snapshots/inline_inflight_class.snap b/libs/wingc/src/jsify/snapshots/inline_inflight_class.snap index 40650349c5e..2a44a3b8b81 100644 --- a/libs/wingc/src/jsify/snapshots/inline_inflight_class.snap +++ b/libs/wingc/src/jsify/snapshots/inline_inflight_class.snap @@ -69,13 +69,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/json_object.snap b/libs/wingc/src/jsify/snapshots/json_object.snap index e95b6a0cd8f..62036dd7fef 100644 --- a/libs/wingc/src/jsify/snapshots/json_object.snap +++ b/libs/wingc/src/jsify/snapshots/json_object.snap @@ -48,9 +48,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -79,11 +76,9 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$stdlib.core.toLiftableModuleType(std.Json, "@winglang/sdk/std", "Json"), ["stringify"]], [jsonObj1, []], ], "$inflight_init": [ - [$stdlib.core.toLiftableModuleType(std.Json, "@winglang/sdk/std", "Json"), []], [jsonObj1, []], ], }); diff --git a/libs/wingc/src/jsify/snapshots/lift_binary_preflight_and_inflight_expression.snap b/libs/wingc/src/jsify/snapshots/lift_binary_preflight_and_inflight_expression.snap index 093f1c00f6a..b61054c3b05 100644 --- a/libs/wingc/src/jsify/snapshots/lift_binary_preflight_and_inflight_expression.snap +++ b/libs/wingc/src/jsify/snapshots/lift_binary_preflight_and_inflight_expression.snap @@ -49,9 +49,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/lift_binary_preflight_expression.snap b/libs/wingc/src/jsify/snapshots/lift_binary_preflight_expression.snap index d845e175d9f..229498fdb1d 100644 --- a/libs/wingc/src/jsify/snapshots/lift_binary_preflight_expression.snap +++ b/libs/wingc/src/jsify/snapshots/lift_binary_preflight_expression.snap @@ -48,9 +48,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/lift_element_from_collection_as_field.snap b/libs/wingc/src/jsify/snapshots/lift_element_from_collection_as_field.snap index a4f169e0d4f..c047a224ca7 100644 --- a/libs/wingc/src/jsify/snapshots/lift_element_from_collection_as_field.snap +++ b/libs/wingc/src/jsify/snapshots/lift_element_from_collection_as_field.snap @@ -49,13 +49,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/lift_element_from_collection_of_objects.snap b/libs/wingc/src/jsify/snapshots/lift_element_from_collection_of_objects.snap index 7be2754fb37..3cbfadf715d 100644 --- a/libs/wingc/src/jsify/snapshots/lift_element_from_collection_of_objects.snap +++ b/libs/wingc/src/jsify/snapshots/lift_element_from_collection_of_objects.snap @@ -46,13 +46,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/lift_inflight_closure.snap b/libs/wingc/src/jsify/snapshots/lift_inflight_closure.snap index 9d50a7be1d5..28b88a5ba27 100644 --- a/libs/wingc/src/jsify/snapshots/lift_inflight_closure.snap +++ b/libs/wingc/src/jsify/snapshots/lift_inflight_closure.snap @@ -68,9 +68,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/lift_inside_preflight_method.snap b/libs/wingc/src/jsify/snapshots/lift_inside_preflight_method.snap index e8d95f5729a..4e5080a5db6 100644 --- a/libs/wingc/src/jsify/snapshots/lift_inside_preflight_method.snap +++ b/libs/wingc/src/jsify/snapshots/lift_inside_preflight_method.snap @@ -70,13 +70,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/lift_self_reference.snap b/libs/wingc/src/jsify/snapshots/lift_self_reference.snap index a6390026b34..a7b5c6332a4 100644 --- a/libs/wingc/src/jsify/snapshots/lift_self_reference.snap +++ b/libs/wingc/src/jsify/snapshots/lift_self_reference.snap @@ -49,9 +49,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/lift_string.snap b/libs/wingc/src/jsify/snapshots/lift_string.snap index 6822e8fce9e..72b030f22ac 100644 --- a/libs/wingc/src/jsify/snapshots/lift_string.snap +++ b/libs/wingc/src/jsify/snapshots/lift_string.snap @@ -47,9 +47,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/lift_this.snap b/libs/wingc/src/jsify/snapshots/lift_this.snap index cf64779fc21..6ab8730b88c 100644 --- a/libs/wingc/src/jsify/snapshots/lift_this.snap +++ b/libs/wingc/src/jsify/snapshots/lift_this.snap @@ -85,9 +85,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/lift_var_with_this.snap b/libs/wingc/src/jsify/snapshots/lift_var_with_this.snap index e9e961e1cf7..1274cd10e3a 100644 --- a/libs/wingc/src/jsify/snapshots/lift_var_with_this.snap +++ b/libs/wingc/src/jsify/snapshots/lift_var_with_this.snap @@ -68,9 +68,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/lift_via_closure.snap b/libs/wingc/src/jsify/snapshots/lift_via_closure.snap index e022d28e821..c2031ed3b27 100644 --- a/libs/wingc/src/jsify/snapshots/lift_via_closure.snap +++ b/libs/wingc/src/jsify/snapshots/lift_via_closure.snap @@ -72,13 +72,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/lift_via_closure_class_explicit.snap b/libs/wingc/src/jsify/snapshots/lift_via_closure_class_explicit.snap index 8fbf308b920..460441dd0a4 100644 --- a/libs/wingc/src/jsify/snapshots/lift_via_closure_class_explicit.snap +++ b/libs/wingc/src/jsify/snapshots/lift_via_closure_class_explicit.snap @@ -87,13 +87,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class MyClosure extends $stdlib.std.Resource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/namespaced_static_from_inflight.snap b/libs/wingc/src/jsify/snapshots/namespaced_static_from_inflight.snap index 0d641dd4434..d7c67b36828 100644 --- a/libs/wingc/src/jsify/snapshots/namespaced_static_from_inflight.snap +++ b/libs/wingc/src/jsify/snapshots/namespaced_static_from_inflight.snap @@ -44,13 +44,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const util = $stdlib.util; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const util = $stdlib.util; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -78,10 +75,8 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), ["tryEnv"]], ], "$inflight_init": [ - [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), []], ], }); } diff --git a/libs/wingc/src/jsify/snapshots/nested_inflight_after_preflight_operation.snap b/libs/wingc/src/jsify/snapshots/nested_inflight_after_preflight_operation.snap index 88c3a32572e..2c771b0b1f7 100644 --- a/libs/wingc/src/jsify/snapshots/nested_inflight_after_preflight_operation.snap +++ b/libs/wingc/src/jsify/snapshots/nested_inflight_after_preflight_operation.snap @@ -71,13 +71,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class YourType extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/nested_preflight_operation.snap b/libs/wingc/src/jsify/snapshots/nested_preflight_operation.snap index 016fb850a22..91257bfd431 100644 --- a/libs/wingc/src/jsify/snapshots/nested_preflight_operation.snap +++ b/libs/wingc/src/jsify/snapshots/nested_preflight_operation.snap @@ -89,13 +89,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class YourType extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/new_inflight_object.snap b/libs/wingc/src/jsify/snapshots/new_inflight_object.snap index 9b3694cc392..4c0fcdbb3da 100644 --- a/libs/wingc/src/jsify/snapshots/new_inflight_object.snap +++ b/libs/wingc/src/jsify/snapshots/new_inflight_object.snap @@ -61,9 +61,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -92,8 +89,6 @@ class $Root extends $stdlib.std.Resource { }); } } - if ($preflightTypesMap[1]) { throw new Error("Foo is already in type map"); } - $preflightTypesMap[1] = Foo; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -121,10 +116,8 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [Foo, []], ], "$inflight_init": [ - [Foo, []], ], }); } diff --git a/libs/wingc/src/jsify/snapshots/no_capture_inside_methods.snap b/libs/wingc/src/jsify/snapshots/no_capture_inside_methods.snap index e61472625e7..c053dcae157 100644 --- a/libs/wingc/src/jsify/snapshots/no_capture_inside_methods.snap +++ b/libs/wingc/src/jsify/snapshots/no_capture_inside_methods.snap @@ -52,9 +52,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/no_capture_of_identifier_from_inner_scope.snap b/libs/wingc/src/jsify/snapshots/no_capture_of_identifier_from_inner_scope.snap index 37f163fc6d2..d3992988748 100644 --- a/libs/wingc/src/jsify/snapshots/no_capture_of_identifier_from_inner_scope.snap +++ b/libs/wingc/src/jsify/snapshots/no_capture_of_identifier_from_inner_scope.snap @@ -52,9 +52,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/no_capture_of_identifier_from_same_scope.snap b/libs/wingc/src/jsify/snapshots/no_capture_of_identifier_from_same_scope.snap index 37d68e92fbf..8c96fb27ae5 100644 --- a/libs/wingc/src/jsify/snapshots/no_capture_of_identifier_from_same_scope.snap +++ b/libs/wingc/src/jsify/snapshots/no_capture_of_identifier_from_same_scope.snap @@ -48,9 +48,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/no_capture_shadow_inside_inner_scopes.snap b/libs/wingc/src/jsify/snapshots/no_capture_shadow_inside_inner_scopes.snap index e5a833fbf3d..54db26e1554 100644 --- a/libs/wingc/src/jsify/snapshots/no_capture_shadow_inside_inner_scopes.snap +++ b/libs/wingc/src/jsify/snapshots/no_capture_shadow_inside_inner_scopes.snap @@ -60,9 +60,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/no_lift_shadow_inside_inner_scopes.snap b/libs/wingc/src/jsify/snapshots/no_lift_shadow_inside_inner_scopes.snap index 8cf87f1c99b..5b6c9f12da8 100644 --- a/libs/wingc/src/jsify/snapshots/no_lift_shadow_inside_inner_scopes.snap +++ b/libs/wingc/src/jsify/snapshots/no_lift_shadow_inside_inner_scopes.snap @@ -58,9 +58,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/preflight_class_extends_preflight_class.snap b/libs/wingc/src/jsify/snapshots/preflight_class_extends_preflight_class.snap index 6f8b36e738e..f8df6a1e343 100644 --- a/libs/wingc/src/jsify/snapshots/preflight_class_extends_preflight_class.snap +++ b/libs/wingc/src/jsify/snapshots/preflight_class_extends_preflight_class.snap @@ -55,9 +55,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Base extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/preflight_collection.snap b/libs/wingc/src/jsify/snapshots/preflight_collection.snap index 3323d0b5213..a2e0f01dcee 100644 --- a/libs/wingc/src/jsify/snapshots/preflight_collection.snap +++ b/libs/wingc/src/jsify/snapshots/preflight_collection.snap @@ -49,9 +49,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/preflight_collection_of_preflight_objects.snap b/libs/wingc/src/jsify/snapshots/preflight_collection_of_preflight_objects.snap index 3c7d184510c..ccbf4ba8352 100644 --- a/libs/wingc/src/jsify/snapshots/preflight_collection_of_preflight_objects.snap +++ b/libs/wingc/src/jsify/snapshots/preflight_collection_of_preflight_objects.snap @@ -50,13 +50,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/preflight_nested_object_with_operations.snap b/libs/wingc/src/jsify/snapshots/preflight_nested_object_with_operations.snap index 24b2d65c6cc..d1f4f50769d 100644 --- a/libs/wingc/src/jsify/snapshots/preflight_nested_object_with_operations.snap +++ b/libs/wingc/src/jsify/snapshots/preflight_nested_object_with_operations.snap @@ -68,13 +68,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class A extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/preflight_object.snap b/libs/wingc/src/jsify/snapshots/preflight_object.snap index a9bbc073db2..c7d6b9c02a2 100644 --- a/libs/wingc/src/jsify/snapshots/preflight_object.snap +++ b/libs/wingc/src/jsify/snapshots/preflight_object.snap @@ -72,9 +72,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class A extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/preflight_object_through_property.snap b/libs/wingc/src/jsify/snapshots/preflight_object_through_property.snap index 9408fa25143..73ae66c5d8a 100644 --- a/libs/wingc/src/jsify/snapshots/preflight_object_through_property.snap +++ b/libs/wingc/src/jsify/snapshots/preflight_object_through_property.snap @@ -69,13 +69,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class MyType extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/preflight_object_with_operations.snap b/libs/wingc/src/jsify/snapshots/preflight_object_with_operations.snap index ccfc374b9c7..3118c933228 100644 --- a/libs/wingc/src/jsify/snapshots/preflight_object_with_operations.snap +++ b/libs/wingc/src/jsify/snapshots/preflight_object_with_operations.snap @@ -47,13 +47,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/preflight_object_with_operations_multiple_methods.snap b/libs/wingc/src/jsify/snapshots/preflight_object_with_operations_multiple_methods.snap index 1151652abb0..30684d0011d 100644 --- a/libs/wingc/src/jsify/snapshots/preflight_object_with_operations_multiple_methods.snap +++ b/libs/wingc/src/jsify/snapshots/preflight_object_with_operations_multiple_methods.snap @@ -52,13 +52,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/preflight_value_field.snap b/libs/wingc/src/jsify/snapshots/preflight_value_field.snap index 506fe835563..9a150a8c71d 100644 --- a/libs/wingc/src/jsify/snapshots/preflight_value_field.snap +++ b/libs/wingc/src/jsify/snapshots/preflight_value_field.snap @@ -77,9 +77,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class MyType extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/qualify_inflight_type_refrencing_preflight_instance.snap b/libs/wingc/src/jsify/snapshots/qualify_inflight_type_refrencing_preflight_instance.snap deleted file mode 100644 index f35589d1325..00000000000 --- a/libs/wingc/src/jsify/snapshots/qualify_inflight_type_refrencing_preflight_instance.snap +++ /dev/null @@ -1,209 +0,0 @@ ---- -source: libs/wingc/src/jsify/tests.rs ---- -## Code - -```w - - class PreflightC { - pub inflight bar() {} - } - let pc = new PreflightC(); - - inflight class InflightC { - pub foo() { - pc.bar(); - } - } - - test "test" { - let ic = new InflightC(); - ic.foo(); - } - -``` - -## inflight.$Closure1-1.cjs - -```js -"use strict"; -const $helpers = require("@winglang/sdk/lib/helpers"); -module.exports = function({ $InflightC }) { - class $Closure1 { - constructor({ }) { - const $obj = (...args) => this.handle(...args); - Object.setPrototypeOf($obj, this); - return $obj; - } - async handle() { - const ic = (await (async () => {const o = new $InflightC(); await o.$inflight_init?.(); return o; })()); - (await ic.foo()); - } - } - return $Closure1; -} -//# sourceMappingURL=inflight.$Closure1-1.cjs.map -``` - -## inflight.InflightC-1.cjs - -```js -"use strict"; -const $helpers = require("@winglang/sdk/lib/helpers"); -module.exports = function({ $pc }) { - class InflightC { - async foo() { - (await $pc.bar()); - } - } - return InflightC; -} -//# sourceMappingURL=inflight.InflightC-1.cjs.map -``` - -## inflight.PreflightC-1.cjs - -```js -"use strict"; -const $helpers = require("@winglang/sdk/lib/helpers"); -module.exports = function({ }) { - class PreflightC { - constructor({ }) { - } - async bar() { - } - } - return PreflightC; -} -//# sourceMappingURL=inflight.PreflightC-1.cjs.map -``` - -## preflight.cjs - -```js -"use strict"; -const $stdlib = require('@winglang/sdk'); -const $platforms = ((s) => !s ? [] : s.split(';'))(process.env.WING_PLATFORMS); -const $outdir = process.env.WING_SYNTH_DIR ?? "."; -const $wing_is_test = process.env.WING_IS_TEST === "true"; -const std = $stdlib.std; -const $helpers = $stdlib.helpers; -const $extern = $helpers.createExternRequire(__dirname); -class $Root extends $stdlib.std.Resource { - constructor($scope, $id) { - super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; - class PreflightC extends $stdlib.std.Resource { - constructor($scope, $id, ) { - super($scope, $id); - } - static _toInflightType() { - return ` - require("${$helpers.normalPath(__dirname)}/inflight.PreflightC-1.cjs")({ - }) - `; - } - _toInflight() { - return ` - (await (async () => { - const PreflightCClient = ${PreflightC._toInflightType()}; - const client = new PreflightCClient({ - }); - if (client.$inflight_init) { await client.$inflight_init(); } - return client; - })()) - `; - } - get _liftMap() { - return ({ - "bar": [ - ], - "$inflight_init": [ - ], - }); - } - } - class InflightC extends $stdlib.std.Resource { - constructor($scope, $id, ) { - super($scope, $id); - } - static _toInflightType() { - return ` - require("${$helpers.normalPath(__dirname)}/inflight.InflightC-1.cjs")({ - $pc: ${$stdlib.core.liftObject(pc)}, - }) - `; - } - _toInflight() { - return ` - (await (async () => { - const InflightCClient = ${InflightC._toInflightType()}; - const client = new InflightCClient({ - }); - if (client.$inflight_init) { await client.$inflight_init(); } - return client; - })()) - `; - } - get _liftMap() { - return ({ - "foo": [ - [pc, ["bar"]], - ], - "$inflight_init": [ - [pc, []], - ], - }); - } - } - if ($preflightTypesMap[2]) { throw new Error("InflightC is already in type map"); } - $preflightTypesMap[2] = InflightC; - class $Closure1 extends $stdlib.std.AutoIdResource { - _id = $stdlib.core.closureId(); - constructor($scope, $id, ) { - super($scope, $id); - $helpers.nodeof(this).hidden = true; - } - static _toInflightType() { - return ` - require("${$helpers.normalPath(__dirname)}/inflight.$Closure1-1.cjs")({ - $InflightC: ${$stdlib.core.liftObject(InflightC)}, - }) - `; - } - _toInflight() { - return ` - (await (async () => { - const $Closure1Client = ${$Closure1._toInflightType()}; - const client = new $Closure1Client({ - }); - if (client.$inflight_init) { await client.$inflight_init(); } - return client; - })()) - `; - } - get _liftMap() { - return ({ - "handle": [ - [$helpers.preflightClassSingleton(this, 2), ["foo"]], - [InflightC, []], - ], - "$inflight_init": [ - [$helpers.preflightClassSingleton(this, 2), []], - [InflightC, []], - ], - }); - } - } - const pc = new PreflightC(this, "PreflightC"); - this.node.root.new("@winglang/sdk.std.Test", std.Test, this, "test:test", new $Closure1(this, "$Closure1")); - } -} -const $PlatformManager = new $stdlib.platform.PlatformManager({platformPaths: $platforms}); -const $APP = $PlatformManager.createApp({ outdir: $outdir, name: "main", rootConstruct: $Root, isTestEnvironment: $wing_is_test, entrypointDir: process.env['WING_SOURCE_DIR'], rootId: process.env['WING_ROOT_ID'] }); -$APP.synth(); -//# sourceMappingURL=preflight.cjs.map -``` - diff --git a/libs/wingc/src/jsify/snapshots/read_primitive_value.snap b/libs/wingc/src/jsify/snapshots/read_primitive_value.snap index db2b0b6ac0f..774da98ff7f 100644 --- a/libs/wingc/src/jsify/snapshots/read_primitive_value.snap +++ b/libs/wingc/src/jsify/snapshots/read_primitive_value.snap @@ -48,9 +48,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/reassign_captured_variable.snap b/libs/wingc/src/jsify/snapshots/reassign_captured_variable.snap index 2cd0be9082c..cdab8211e67 100644 --- a/libs/wingc/src/jsify/snapshots/reassign_captured_variable.snap +++ b/libs/wingc/src/jsify/snapshots/reassign_captured_variable.snap @@ -57,9 +57,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/reassigned_captured_variable_preflight.snap b/libs/wingc/src/jsify/snapshots/reassigned_captured_variable_preflight.snap index 0d37b640455..bbde03ffe57 100644 --- a/libs/wingc/src/jsify/snapshots/reassigned_captured_variable_preflight.snap +++ b/libs/wingc/src/jsify/snapshots/reassigned_captured_variable_preflight.snap @@ -26,9 +26,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; let i = 10; (() => { i = 12; diff --git a/libs/wingc/src/jsify/snapshots/ref_std_macro.snap b/libs/wingc/src/jsify/snapshots/ref_std_macro.snap index 3156b19bcd9..d421e6a3c7d 100644 --- a/libs/wingc/src/jsify/snapshots/ref_std_macro.snap +++ b/libs/wingc/src/jsify/snapshots/ref_std_macro.snap @@ -48,9 +48,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/reference_from_static_inflight.snap b/libs/wingc/src/jsify/snapshots/reference_from_static_inflight.snap index 4d446e7d47b..b4e479c49bf 100644 --- a/libs/wingc/src/jsify/snapshots/reference_from_static_inflight.snap +++ b/libs/wingc/src/jsify/snapshots/reference_from_static_inflight.snap @@ -47,9 +47,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class MyType extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/reference_inflight_class.snap b/libs/wingc/src/jsify/snapshots/reference_inflight_class.snap index c4c96cd62bd..7037afed5fc 100644 --- a/libs/wingc/src/jsify/snapshots/reference_inflight_class.snap +++ b/libs/wingc/src/jsify/snapshots/reference_inflight_class.snap @@ -66,9 +66,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -103,8 +100,6 @@ class $Root extends $stdlib.std.Resource { }); } } - if ($preflightTypesMap[1]) { throw new Error("Foo is already in type map"); } - $preflightTypesMap[1] = Foo; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -132,10 +127,8 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [Foo, ["a"]], ], "$inflight_init": [ - [Foo, []], ], }); } diff --git a/libs/wingc/src/jsify/snapshots/reference_inflight_field.snap b/libs/wingc/src/jsify/snapshots/reference_inflight_field.snap index 6444a8083db..28ee4f47cc6 100644 --- a/libs/wingc/src/jsify/snapshots/reference_inflight_field.snap +++ b/libs/wingc/src/jsify/snapshots/reference_inflight_field.snap @@ -54,9 +54,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/reference_inflight_from_inflight.snap b/libs/wingc/src/jsify/snapshots/reference_inflight_from_inflight.snap index 0597623b6b5..6ddf585201a 100644 --- a/libs/wingc/src/jsify/snapshots/reference_inflight_from_inflight.snap +++ b/libs/wingc/src/jsify/snapshots/reference_inflight_from_inflight.snap @@ -78,9 +78,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -114,8 +111,6 @@ class $Root extends $stdlib.std.Resource { }); } } - if ($preflightTypesMap[1]) { throw new Error("Foo is already in type map"); } - $preflightTypesMap[1] = Foo; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -143,10 +138,8 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [Foo, []], ], "$inflight_init": [ - [Foo, []], ], }); } diff --git a/libs/wingc/src/jsify/snapshots/reference_lift_of_collection.snap b/libs/wingc/src/jsify/snapshots/reference_lift_of_collection.snap index b478fce8fab..4baa0e5b574 100644 --- a/libs/wingc/src/jsify/snapshots/reference_lift_of_collection.snap +++ b/libs/wingc/src/jsify/snapshots/reference_lift_of_collection.snap @@ -48,9 +48,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/reference_preflight_field.snap b/libs/wingc/src/jsify/snapshots/reference_preflight_field.snap index 328f3d3829f..6d418fe4b67 100644 --- a/libs/wingc/src/jsify/snapshots/reference_preflight_field.snap +++ b/libs/wingc/src/jsify/snapshots/reference_preflight_field.snap @@ -52,9 +52,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/reference_preflight_field_call_independent_method.snap b/libs/wingc/src/jsify/snapshots/reference_preflight_field_call_independent_method.snap index 69384186b30..17388473e70 100644 --- a/libs/wingc/src/jsify/snapshots/reference_preflight_field_call_independent_method.snap +++ b/libs/wingc/src/jsify/snapshots/reference_preflight_field_call_independent_method.snap @@ -52,9 +52,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/reference_preflight_fields.snap b/libs/wingc/src/jsify/snapshots/reference_preflight_fields.snap index 27863adcafe..cabd4783e02 100644 --- a/libs/wingc/src/jsify/snapshots/reference_preflight_fields.snap +++ b/libs/wingc/src/jsify/snapshots/reference_preflight_fields.snap @@ -65,13 +65,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class MyType extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/reference_preflight_free_variable_with_this_in_the_expression.snap b/libs/wingc/src/jsify/snapshots/reference_preflight_free_variable_with_this_in_the_expression.snap index 7630bff1ae1..f7b74ca97e8 100644 --- a/libs/wingc/src/jsify/snapshots/reference_preflight_free_variable_with_this_in_the_expression.snap +++ b/libs/wingc/src/jsify/snapshots/reference_preflight_free_variable_with_this_in_the_expression.snap @@ -52,13 +52,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/reference_preflight_object_from_static_inflight.snap b/libs/wingc/src/jsify/snapshots/reference_preflight_object_from_static_inflight.snap index efc8fc0eed4..bee06339319 100644 --- a/libs/wingc/src/jsify/snapshots/reference_preflight_object_from_static_inflight.snap +++ b/libs/wingc/src/jsify/snapshots/reference_preflight_object_from_static_inflight.snap @@ -46,13 +46,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class MyType extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/reference_static_inflight.snap b/libs/wingc/src/jsify/snapshots/reference_static_inflight.snap index 8b105fd7f38..39e5714deae 100644 --- a/libs/wingc/src/jsify/snapshots/reference_static_inflight.snap +++ b/libs/wingc/src/jsify/snapshots/reference_static_inflight.snap @@ -68,9 +68,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class MyType extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/reference_static_inflight_which_references_preflight_object.snap b/libs/wingc/src/jsify/snapshots/reference_static_inflight_which_references_preflight_object.snap index c79a04b67f9..5fe4ab94cc7 100644 --- a/libs/wingc/src/jsify/snapshots/reference_static_inflight_which_references_preflight_object.snap +++ b/libs/wingc/src/jsify/snapshots/reference_static_inflight_which_references_preflight_object.snap @@ -73,13 +73,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class MyType extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/static_external_inflight_class.snap b/libs/wingc/src/jsify/snapshots/static_external_inflight_class.snap index 322b97d5ff9..1478a64ae25 100644 --- a/libs/wingc/src/jsify/snapshots/static_external_inflight_class.snap +++ b/libs/wingc/src/jsify/snapshots/static_external_inflight_class.snap @@ -77,9 +77,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class A extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -114,8 +111,6 @@ class $Root extends $stdlib.std.Resource { }); } } - if ($preflightTypesMap[1]) { throw new Error("A is already in type map"); } - $preflightTypesMap[1] = A; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -143,10 +138,8 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [A, ["foo"]], ], "$inflight_init": [ - [A, []], ], }); } diff --git a/libs/wingc/src/jsify/snapshots/static_external_preflight_class.snap b/libs/wingc/src/jsify/snapshots/static_external_preflight_class.snap index 1fbad7370de..6bdecac309e 100644 --- a/libs/wingc/src/jsify/snapshots/static_external_preflight_class.snap +++ b/libs/wingc/src/jsify/snapshots/static_external_preflight_class.snap @@ -76,9 +76,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class A extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/static_inflight_operation.snap b/libs/wingc/src/jsify/snapshots/static_inflight_operation.snap index 562280f0c7d..a3afeeb210c 100644 --- a/libs/wingc/src/jsify/snapshots/static_inflight_operation.snap +++ b/libs/wingc/src/jsify/snapshots/static_inflight_operation.snap @@ -70,13 +70,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class A extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/static_local_inflight_class.snap b/libs/wingc/src/jsify/snapshots/static_local_inflight_class.snap index e93803cd00f..ddd7d0bbc12 100644 --- a/libs/wingc/src/jsify/snapshots/static_local_inflight_class.snap +++ b/libs/wingc/src/jsify/snapshots/static_local_inflight_class.snap @@ -68,9 +68,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/static_on_std_type.snap b/libs/wingc/src/jsify/snapshots/static_on_std_type.snap index a8ddfb7e07e..cddb49b66f0 100644 --- a/libs/wingc/src/jsify/snapshots/static_on_std_type.snap +++ b/libs/wingc/src/jsify/snapshots/static_on_std_type.snap @@ -48,9 +48,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -79,12 +76,8 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$stdlib.core.toLiftableModuleType(std.Json, "@winglang/sdk/std", "Json"), ["values"]], - [$stdlib.core.toLiftableModuleType(std.String, "@winglang/sdk/std", "String"), ["fromJson"]], ], "$inflight_init": [ - [$stdlib.core.toLiftableModuleType(std.Json, "@winglang/sdk/std", "Json"), []], - [$stdlib.core.toLiftableModuleType(std.String, "@winglang/sdk/std", "String"), []], ], }); } diff --git a/libs/wingc/src/jsify/snapshots/transitive_reference.snap b/libs/wingc/src/jsify/snapshots/transitive_reference.snap index ae54a46416d..847626e2f23 100644 --- a/libs/wingc/src/jsify/snapshots/transitive_reference.snap +++ b/libs/wingc/src/jsify/snapshots/transitive_reference.snap @@ -88,13 +88,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class MyType extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/transitive_reference_via_inflight_class.snap b/libs/wingc/src/jsify/snapshots/transitive_reference_via_inflight_class.snap index c3e61474e94..4d646d3361c 100644 --- a/libs/wingc/src/jsify/snapshots/transitive_reference_via_inflight_class.snap +++ b/libs/wingc/src/jsify/snapshots/transitive_reference_via_inflight_class.snap @@ -71,13 +71,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class MyInflightClass extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -111,8 +108,6 @@ class $Root extends $stdlib.std.Resource { }); } } - if ($preflightTypesMap[1]) { throw new Error("MyInflightClass is already in type map"); } - $preflightTypesMap[1] = MyInflightClass; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -140,12 +135,8 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$helpers.preflightClassSingleton(this, 1), ["putInBucket"]], - [MyInflightClass, []], ], "$inflight_init": [ - [$helpers.preflightClassSingleton(this, 1), []], - [MyInflightClass, []], ], }); } diff --git a/libs/wingc/src/jsify/snapshots/transitive_reference_via_static.snap b/libs/wingc/src/jsify/snapshots/transitive_reference_via_static.snap index 1b0e1405a7e..6360ecad233 100644 --- a/libs/wingc/src/jsify/snapshots/transitive_reference_via_static.snap +++ b/libs/wingc/src/jsify/snapshots/transitive_reference_via_static.snap @@ -96,13 +96,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class MyType extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/two_identical_lifts.snap b/libs/wingc/src/jsify/snapshots/two_identical_lifts.snap index ae17e2d8048..bc7e393332e 100644 --- a/libs/wingc/src/jsify/snapshots/two_identical_lifts.snap +++ b/libs/wingc/src/jsify/snapshots/two_identical_lifts.snap @@ -53,13 +53,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/use_util_functions.snap b/libs/wingc/src/jsify/snapshots/use_util_functions.snap index 6df9d47b4ac..85f8f9563f2 100644 --- a/libs/wingc/src/jsify/snapshots/use_util_functions.snap +++ b/libs/wingc/src/jsify/snapshots/use_util_functions.snap @@ -43,13 +43,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const util = $stdlib.util; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const util = $stdlib.util; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -77,10 +74,8 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), ["env"]], ], "$inflight_init": [ - [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), []], ], }); } diff --git a/libs/wingc/src/jsify/snapshots/var_inflight_field_from_inflight.snap b/libs/wingc/src/jsify/snapshots/var_inflight_field_from_inflight.snap index 4b1282f2b4b..d0e74b4002d 100644 --- a/libs/wingc/src/jsify/snapshots/var_inflight_field_from_inflight.snap +++ b/libs/wingc/src/jsify/snapshots/var_inflight_field_from_inflight.snap @@ -54,9 +54,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class MyType extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/wait_util.snap b/libs/wingc/src/jsify/snapshots/wait_util.snap index baae474a327..e2f23baff21 100644 --- a/libs/wingc/src/jsify/snapshots/wait_util.snap +++ b/libs/wingc/src/jsify/snapshots/wait_util.snap @@ -50,13 +50,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const util = $stdlib.util; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const util = $stdlib.util; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -84,10 +81,8 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), ["waitUntil"]], ], "$inflight_init": [ - [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), []], ], }); } diff --git a/libs/wingc/src/jsify/tests.rs b/libs/wingc/src/jsify/tests.rs index 775bfe69365..a07511e90c7 100644 --- a/libs/wingc/src/jsify/tests.rs +++ b/libs/wingc/src/jsify/tests.rs @@ -43,29 +43,6 @@ fn free_inflight_obj_from_inflight() { ); } -#[test] -fn qualify_inflight_type_refrencing_preflight_instance() { - assert_compile_ok!( - r#" - class PreflightC { - pub inflight bar() {} - } - let pc = new PreflightC(); - - inflight class InflightC { - pub foo() { - pc.bar(); - } - } - - test "test" { - let ic = new InflightC(); - ic.foo(); - } - "# - ); -} - #[test] fn call_static_inflight_from_static_inflight() { assert_compile_ok!( diff --git a/libs/wingc/src/lifting.rs b/libs/wingc/src/lifting.rs index ab5f4ec4baf..3be3514185f 100644 --- a/libs/wingc/src/lifting.rs +++ b/libs/wingc/src/lifting.rs @@ -9,7 +9,6 @@ use crate::{ diagnostic::{report_diagnostic, Diagnostic}, jsify::{JSifier, JSifyContext}, type_check::{ - get_udt_definition_phase, lifts::{Liftable, Lifts}, resolve_user_defined_type, symbol_env::LookupResult, @@ -202,7 +201,7 @@ impl<'a> Visit<'a> for LiftVisitor<'a> { fn visit_expr(&mut self, node: &'a Expr) { CompilationContext::set(CompilationPhase::Lifting, &node.span); - self.with_expr(&node, |v| { + self.with_expr(node.id, |v| { let expr_phase = v.jsify.types.get_expr_phase(&node).unwrap(); let expr_type = v.jsify.types.get_expr_type(&node); @@ -245,9 +244,9 @@ impl<'a> Visit<'a> for LiftVisitor<'a> { Some((PropertyObject::Instance(prop_expr_id), property)) if node.id == prop_expr_id => Some(property), _ => { if expr_type.is_closure() { - // this is the case where we are lifting a "closure class" (a preflight class that has an inflight `handle` - // method is being called) the reason we might not have "property" set is because closure classes might be - // syntheticaly generated by the compiler from closures. + // this is the case where we are lifting a "closure class" (e.g. a class that has a "handle" + // method). The "property" here is implicitly `handle`, these are generally syntheticaly generated by the compiler + // from closures. Some(Symbol::global(CLOSURE_CLASS_HANDLE_METHOD)) } else { None @@ -275,26 +274,7 @@ impl<'a> Visit<'a> for LiftVisitor<'a> { return; } - // Before we continue lets dive into this (non-preflight) expression to see if we need to lift any parts of it visit::visit_expr(v, node); - - // Check if this is an inflight class defined preflight and if we need to qualify the lift with the current property - if expr_phase == Phase::Inflight { - if let Some(class) = expr_type.as_class() { - if class.phase == Phase::Inflight && class.defined_in_phase == Phase::Preflight { - if let Some((_, property)) = v.ctx.current_property() { - let m = v.ctx.current_method().map(|(m, _)| m).expect("a method"); - let mut lifts = v.lifts_stack.pop().unwrap(); - // Get preflight code that references the type of the class so we can qualify the lift, note we use a unique - // type alias here since we might not have the actual type name available in scope here. - let code = &v.jsify.class_singleton(expr_type); - lifts.lift(m, Some(v.jsify_symbol_to_op_array(&property)), code); - v.lifts_stack.push(lifts); - return; - } - } - } - } }); } @@ -313,11 +293,14 @@ impl<'a> Visit<'a> for LiftVisitor<'a> { } // Get the type of the udt - let env = self.ctx.current_env().expect("an env"); - let udt_type = - resolve_user_defined_type(node, env, self.ctx.current_stmt_idx()).unwrap_or(self.jsify.types.error()); - - // Since our target language is isn't statically typed, we don't need to capture interfaces + let udt_type = resolve_user_defined_type( + node, + self.ctx.current_env().expect("an env"), + self.ctx.current_stmt_idx(), + ) + .unwrap_or(self.jsify.types.error()); + + // Since our target languages is isn't statically typed, we don't need to capture interfaces if udt_type.as_interface().is_some() { visit::visit_user_defined_type(self, node); return; @@ -325,11 +308,25 @@ impl<'a> Visit<'a> for LiftVisitor<'a> { //--------------- // LIFT - if get_udt_definition_phase(node, env).expect("a phase") == Phase::Preflight { + if udt_type.is_preflight_class() { // jsify the expression so we can get the preflight code let code = self.jsify_udt(&node); let property = self.ctx.current_property(); + + // check that we can qualify the lift (e.g. determine which property is being accessed) + if property.is_none() { + report_diagnostic(Diagnostic { + message: format!( + "Cannot qualify access to a lifted type \"{udt_type}\" (see https://github.com/winglang/wing/issues/76 for more details)"), + span: Some(node.span.clone()), + annotations: vec![], + hints: vec![], + }); + + return; + } + let mut lifts = self.lifts_stack.pop().unwrap(); lifts.lift( self.ctx.current_method().map(|(m, _)| m).expect("a method"), diff --git a/libs/wingc/src/lsp/symbol_locator.rs b/libs/wingc/src/lsp/symbol_locator.rs index 7c6fa79acae..9bdbd0b0b20 100644 --- a/libs/wingc/src/lsp/symbol_locator.rs +++ b/libs/wingc/src/lsp/symbol_locator.rs @@ -302,7 +302,7 @@ impl<'a> Visit<'a> for SymbolLocator<'a> { return; } - self.ctx.push_expr(&node); + self.ctx.push_expr(node.id); match &node.kind { ExprKind::New(new_expr) => 'new_expr: { diff --git a/libs/wingc/src/type_check.rs b/libs/wingc/src/type_check.rs index 6825cb1c77a..ce3fe0891a3 100644 --- a/libs/wingc/src/type_check.rs +++ b/libs/wingc/src/type_check.rs @@ -329,20 +329,11 @@ pub struct Class { pub docs: Docs, pub lifts: Option, - // The phase in which this class was defined (this should be the same as the env.phase where the class name is defined) - pub defined_in_phase: Phase, - // Preflight classes are CDK Constructs which means they have a scope and id as their first arguments // this is natively supported by wing using the `as` `in` keywords. However theoretically it is possible // to have a construct which does not have these arguments, in which case we can't use the `as` `in` keywords // and instead the user will need to pass the relevant args to the class's init method. pub std_construct_args: bool, - - // Unique identifier for this class type, used to get access to the type's generated preflight code even when - // the type name isn't available in scope or is shadowed. - // Ideally we should use the FQN and unify the implementation of JSII imported classes and Wing classes, currently - // uid is used for Wing classes and is always 0 for JSII classes to avoid snapshot noise. - pub uid: usize, } impl Class { pub(crate) fn set_lifts(&mut self, lifts: Lifts) { @@ -354,8 +345,8 @@ impl Class { pub fn get_closure_method(&self) -> Option { self .methods(true) - .find(|(name, v)| name == CLOSURE_CLASS_HANDLE_METHOD && v.type_.is_inflight_function()) - .map(|(_, v)| v.type_) + .find(|(name, type_)| name == CLOSURE_CLASS_HANDLE_METHOD && type_.is_inflight_function()) + .map(|(_, t)| t) } } @@ -387,15 +378,15 @@ impl Display for Interface { } type ClassLikeIterator<'a> = - FilterMap, fn(::Item) -> Option<(String, VariableInfo)>>; + FilterMap, fn(::Item) -> Option<(String, TypeRef)>>; pub trait ClassLike: Display { fn get_env(&self) -> &SymbolEnv; fn methods(&self, with_ancestry: bool) -> ClassLikeIterator<'_> { - self.get_env().iter(with_ancestry).filter_map(|(s, sym_kind, ..)| { - if sym_kind.as_variable()?.type_.as_function_sig().is_some() { - Some((s, sym_kind.as_variable()?.clone())) + self.get_env().iter(with_ancestry).filter_map(|(s, t, ..)| { + if t.as_variable()?.type_.as_function_sig().is_some() { + Some((s, t.as_variable()?.type_)) } else { None } @@ -403,9 +394,9 @@ pub trait ClassLike: Display { } fn fields(&self, with_ancestry: bool) -> ClassLikeIterator<'_> { - self.get_env().iter(with_ancestry).filter_map(|(s, sym_kind, ..)| { - if sym_kind.as_variable()?.type_.as_function_sig().is_none() { - Some((s, sym_kind.as_variable()?.clone())) + self.get_env().iter(with_ancestry).filter_map(|(s, t, ..)| { + if t.as_variable()?.type_.as_function_sig().is_none() { + Some((s, t.as_variable()?.type_)) } else { None } @@ -647,14 +638,16 @@ impl Subtype for Type { // method type (aka "closure classes"). // First, check if there is exactly one inflight method in the interface - let mut inflight_methods = iface.methods(true).filter(|(_name, v)| v.type_.is_inflight_function()); + let mut inflight_methods = iface + .methods(true) + .filter(|(_name, type_)| type_.is_inflight_function()); let handler_method = inflight_methods.next(); if handler_method.is_none() || inflight_methods.next().is_some() { return false; } // Next, check that the method's name is "handle" - let (handler_method_name, handler_method_var) = handler_method.unwrap(); + let (handler_method_name, handler_method_type) = handler_method.unwrap(); if handler_method_name != CLOSURE_CLASS_HANDLE_METHOD { return false; } @@ -667,7 +660,7 @@ impl Subtype for Type { }; // Finally check if they're subtypes - res_handle_type.is_subtype_of(&handler_method_var.type_) + res_handle_type.is_subtype_of(&handler_method_type) } (Self::Class(res), Self::Function(_)) => { // To support flexible inflight closures, we say that any @@ -1092,13 +1085,12 @@ impl TypeRef { /// Returns whether type represents a closure (either a function or a closure class). pub fn is_closure(&self) -> bool { - self.as_function_sig().is_some() || self.is_closure_class() - } + if self.as_function_sig().is_some() { + return true; + } - /// Returns whether type represents a class representing an inflight closure. - pub fn is_closure_class(&self) -> bool { - if let Some(ref class) = self.as_class() { - return class.get_closure_method().is_some() && class.defined_in_phase == Phase::Preflight; + if let Some(ref class) = self.as_preflight_class() { + return class.get_closure_method().is_some(); } false } @@ -1228,7 +1220,7 @@ impl TypeRef { Type::MutArray(t) => t.is_serializable(), Type::Map(t) => t.is_serializable(), Type::MutMap(t) => t.is_serializable(), - Type::Struct(s) => s.fields(true).map(|(_, v)| v.type_).all(|t| t.is_serializable()), + Type::Struct(s) => s.fields(true).map(|(_, t)| t).all(|t| t.is_serializable()), Type::Enum(_) => true, // not serializable Type::Duration => false, @@ -1266,7 +1258,7 @@ impl TypeRef { Type::Map(v) => v.is_json_legal_value(), Type::Optional(v) => v.is_json_legal_value(), Type::Struct(ref s) => { - for t in s.fields(true).map(|(_, v)| v.type_) { + for (_, t) in s.fields(true) { if !t.is_json_legal_value() { return false; } @@ -1303,8 +1295,8 @@ impl TypeRef { match &**self { Type::Struct(s) => { // check all its fields are json compatible - for t in s.fields(true).map(|(_, v)| v.type_) { - if !t.has_json_representation() { + for (_, field) in s.fields(true) { + if !field.has_json_representation() { return false; } } @@ -1399,8 +1391,6 @@ pub struct Types { type_expressions: IndexMap, /// Append empty struct to end of arg list pub append_empty_struct_to_arglist: HashSet, - /// Class counter, used to generate unique ids for class types - pub class_counter: usize, } impl Types { @@ -1453,9 +1443,6 @@ impl Types { append_empty_struct_to_arglist: HashSet::new(), libraries: SymbolEnv::new(None, SymbolEnvKind::Scope, Phase::Preflight, 0), intrinsics: SymbolEnv::new(None, SymbolEnvKind::Scope, Phase::Independent, 0), - // 1 based to avoid conflict with imported JSII classes. This isn't strictly needed since brought JSII classes are never accessed - // through their unique ID, but still good to avoid confusion. - class_counter: 1, } } @@ -2314,14 +2301,14 @@ new cloud.Function(@inflight("./handler.ts"), lifts: { bucket: ["put"] }); self.spanned_error( exp, format!( - "Binary operator '+' cannot be applied to operands of type '{}' and '{}'; only ({}, {}) and ({}, {}) are supported", - ltype, - rtype, - self.types.number(), - self.types.number(), - self.types.string(), - self.types.string(), - ), + "Binary operator '+' cannot be applied to operands of type '{}' and '{}'; only ({}, {}) and ({}, {}) are supported", + ltype, + rtype, + self.types.number(), + self.types.number(), + self.types.string(), + self.types.string(), + ), ); } self.resolved_error() @@ -2512,8 +2499,7 @@ new cloud.Function(@inflight("./handler.ts"), lifts: { bucket: ["put"] }); .expect(&format!("Expected \"{}\" to be a struct type", struct_type)); // Verify that all expected fields are present and are the right type - for (name, v) in st.fields(true) { - let field_type = v.type_; + for (name, field_type) in st.fields(true) { match fields.get(name.as_str()) { Some(field_exp) => { let t = field_types.get(name.as_str()).unwrap(); @@ -2769,9 +2755,21 @@ new cloud.Function(@inflight("./handler.ts"), lifts: { bucket: ["put"] }); // Make sure this is a function signature type let func_sig = if let Some(func_sig) = func_type.as_deep_function_sig() { func_sig.clone() - } else if func_type.is_closure_class() { - let handle_type = func_type.as_class().unwrap().get_closure_method().unwrap(); - handle_type.as_function_sig().unwrap().clone() + } else if let Some(class) = func_type.as_preflight_class() { + // return the signature of the "handle" method + let lookup_res = class.get_method(&CLOSURE_CLASS_HANDLE_METHOD.into()); + let handle_type = if let Some(method) = lookup_res { + method.type_ + } else { + self.spanned_error(callee, "Expected a function or method"); + return self.resolved_error(); + }; + if let Some(sig_type) = handle_type.as_function_sig() { + sig_type.clone() + } else { + self.spanned_error(callee, "Expected a function or method"); + return self.resolved_error(); + } } else { self.spanned_error( callee, @@ -3064,7 +3062,7 @@ new cloud.Function(@inflight("./handler.ts"), lifts: { bucket: ["put"] }); pub fn all_optional_struct(t: TypeRef) -> bool { match &*t { - Type::Struct(s) => s.fields(true).all(|(_, v)| v.type_.is_option()), + Type::Struct(s) => s.fields(true).all(|(_, t)| t.is_option()), _ => false, } } @@ -4522,13 +4520,10 @@ new cloud.Function(@inflight("./handler.ts"), lifts: { bucket: ["put"] }); implements: impl_interfaces.clone(), is_abstract: false, phase: ast_class.phase, - defined_in_phase: env.phase, docs: stmt.doc.as_ref().map_or(Docs::default(), |s| Docs::with_summary(s)), std_construct_args: ast_class.phase == Phase::Preflight, lifts: None, - uid: self.types.class_counter, }; - self.types.class_counter += 1; let mut class_type = self.types.add_type(Type::Class(class_spec)); match env.define( &ast_class.name, @@ -4743,8 +4738,7 @@ new cloud.Function(@inflight("./handler.ts"), lifts: { bucket: ["put"] }); }; // Check all methods are implemented - for (method_name, v) in interface_type.methods(true) { - let method_type = v.type_; + for (method_name, method_type) in interface_type.methods(true) { if let Some(symbol) = &mut class_type .as_class_mut() .unwrap() @@ -5303,7 +5297,7 @@ new cloud.Function(@inflight("./handler.ts"), lifts: { bucket: ["put"] }); return; }; - // If the parent class is phase independent then its constructor name is just "new" regardless of + // If the parent class is phase independent than its constructor name is just "new" regardless of // whether we're inflight or not. let parent_init_name = if parent_class.as_class().unwrap().phase == Phase::Independent { CLASS_INIT_NAME @@ -5315,13 +5309,13 @@ new cloud.Function(@inflight("./handler.ts"), lifts: { bucket: ["put"] }); .as_class() .unwrap() .methods(false) - .find(|(name, ..)| name == parent_init_name) - .unwrap() + .filter(|(name, _type)| name == parent_init_name) + .collect_vec()[0] .1; self.type_check_arg_list_against_function_sig( &arg_list, - parent_initializer.type_.as_function_sig().unwrap(), + parent_initializer.as_function_sig().unwrap(), super_constructor_call, arg_list_types, ); @@ -5761,8 +5755,6 @@ new cloud.Function(@inflight("./handler.ts"), lifts: { bucket: ["put"] }); docs: c.docs.clone(), std_construct_args: c.std_construct_args, lifts: None, - defined_in_phase: env.phase, - uid: c.uid, }), Type::Interface(iface) => Type::Interface(Interface { name: iface.name.clone(), @@ -6289,7 +6281,7 @@ new cloud.Function(@inflight("./handler.ts"), lifts: { bucket: ["put"] }); if property.name == FROM_JSON || property.name == TRY_FROM_JSON { // we need to validate that only structs with all valid json fields can have a fromJson method for (name, field) in s.fields(true) { - if !field.type_.has_json_representation() { + if !field.has_json_representation() { self.spanned_error_with_var( property, format!( @@ -6990,19 +6982,6 @@ pub fn resolve_user_defined_type_ref<'a>( } } -pub fn get_udt_definition_phase(user_defined_type: &UserDefinedType, env: &SymbolEnv) -> Option { - let mut nested_name = vec![&user_defined_type.root]; - nested_name.extend(user_defined_type.fields.iter().collect_vec()); - - let lookup_result = env.lookup_nested(&nested_name, None); - - if let LookupResult::Found(_, lookup_info) = lookup_result { - Some(lookup_info.env.phase) - } else { - None - } -} - pub fn is_udt_struct_type(udt: &UserDefinedType, env: &SymbolEnv) -> bool { if let Ok(type_) = resolve_user_defined_type(udt, env, 0) { type_.as_struct().is_some() diff --git a/libs/wingc/src/type_check/jsii_importer.rs b/libs/wingc/src/type_check/jsii_importer.rs index de39f947dff..65c99014da2 100644 --- a/libs/wingc/src/type_check/jsii_importer.rs +++ b/libs/wingc/src/type_check/jsii_importer.rs @@ -732,14 +732,9 @@ impl<'a> JsiiImporter<'a> { implements: vec![], is_abstract: jsii_class.abstract_.unwrap_or(false), phase: class_phase, - defined_in_phase: Phase::Preflight, docs: Docs::from(&jsii_class.docs), std_construct_args: false, // Temporary value, will be updated once we parse the initializer args lifts: None, - - // uid is used to create unique names class types so we can access the correct type regardless of type name shadowing, - // this isn't relevant for imported types (that aren't code generated), so we can default to 0 - uid: 0, }; let mut new_type = self.wing_types.add_type(Type::Class(class_spec)); self.register_jsii_type(&jsii_class_fqn, &new_type_symbol, new_type); diff --git a/libs/wingc/src/type_check/lifts.rs b/libs/wingc/src/type_check/lifts.rs index 61c7413bc08..8606c5e2bdc 100644 --- a/libs/wingc/src/type_check/lifts.rs +++ b/libs/wingc/src/type_check/lifts.rs @@ -10,7 +10,7 @@ use super::{ExprId, CLASS_INFLIGHT_INIT_NAME}; #[derive(Debug)] pub struct Lifts { // TODO: make all these private and add accessors+helper logic - /// All the lifts. Map from method to a map from preflight code to lift qualifications. + /// All the lifts. Map from method to a map from inflight code to lift qualifications. pub lifts_qualifications: BTreeMap>, /// All the captures. The key is token the value is the preflight code. diff --git a/libs/wingc/src/visit_context.rs b/libs/wingc/src/visit_context.rs index f2850b9424e..5004ba58074 100644 --- a/libs/wingc/src/visit_context.rs +++ b/libs/wingc/src/visit_context.rs @@ -1,7 +1,7 @@ use itertools::Itertools; use crate::{ - ast::{Class, Expr, ExprId, FunctionSignature, Phase, Stmt, StmtKind, Symbol, UserDefinedType}, + ast::{Class, ExprId, FunctionSignature, Phase, Stmt, StmtKind, Symbol, UserDefinedType}, type_check::symbol_env::SymbolEnvRef, }; @@ -91,8 +91,8 @@ impl VisitContext { // -- - pub fn push_expr(&mut self, expr: &Expr) { - self.expression.push(expr.id); + pub fn push_expr(&mut self, expr: ExprId) { + self.expression.push(expr); } pub fn pop_expr(&mut self) { @@ -237,7 +237,7 @@ impl VisitContext { pub trait VisitorWithContext { fn ctx(&mut self) -> &mut VisitContext; - fn with_expr(&mut self, expr: &Expr, f: impl FnOnce(&mut Self)) { + fn with_expr(&mut self, expr: ExprId, f: impl FnOnce(&mut Self)) { self.ctx().push_expr(expr); f(self); self.ctx().pop_expr(); diff --git a/libs/wingsdk/src/core/lifting.ts b/libs/wingsdk/src/core/lifting.ts index 41d2bb7fad0..737f4cfd434 100644 --- a/libs/wingsdk/src/core/lifting.ts +++ b/libs/wingsdk/src/core/lifting.ts @@ -265,7 +265,10 @@ export function collectLifts( } else if (typeof obj === "object" && obj._liftMap !== undefined) { matrix = parseMatrix(obj._liftMap ?? {}); matrixCache.set(obj, matrix); - } else if (typeof obj === "function" && obj._liftTypeMap !== undefined) { + } else if ( + typeof obj === "function" && + typeof obj._liftTypeMap !== undefined + ) { matrix = parseMatrix(obj._liftTypeMap ?? {}); matrixCache.set(obj, matrix); } else { diff --git a/libs/wingsdk/src/helpers.ts b/libs/wingsdk/src/helpers.ts index 26f4697b1a8..a54598218d8 100644 --- a/libs/wingsdk/src/helpers.ts +++ b/libs/wingsdk/src/helpers.ts @@ -3,7 +3,6 @@ import { notDeepStrictEqual } from "node:assert"; import * as path from "node:path"; import type { Construct } from "constructs"; -import type { Resource } from "./std"; import type { Node } from "./std/node"; // since we moved from node:18 to node:20 the deepStrictEqual doesn't work as expected. // https://github.com/winglang/wing/issues/4444 @@ -167,62 +166,3 @@ export function resolveDirname( ): string { return normalPath(path.resolve(outdir, relativeSourceDir)); } - -/** - * Helper function to `require` a compiled preflight wing file (js) into another compiled (js) wing file. - * We need this instead of simply calling `require` because in addition to returning the imported module's exports, - * we also need to update the current module's preflight types map with the brought module's preflight types map. - * @param moduleFile - the file to `require` - * @param outPreflightTypesObject - the current module's $preflightTypesMap - * @returns all symbols exported by the `moduleFile` except `$preflightTypesMap` - */ -export function bringJs( - moduleFile: string, - outPreflightTypesObject: Object -): Object { - /* eslint-disable @typescript-eslint/no-require-imports */ - return Object.fromEntries( - Object.entries(require(moduleFile)).filter(([k, v]) => { - // If this is the preflight types array then update the input object and skip it - if (k === "$preflightTypesMap") { - // Verify no key collision (should never happen) - Object.keys(v as object).forEach((key) => { - if (key in outPreflightTypesObject) { - throw new Error(`Key collision (${key}) in preflight types map`); - } - }); - Object.assign(outPreflightTypesObject, v); - return false; - } - return true; - }) - ); -} - -/** - * Helper function to get a singleton instance of a class defined in preflight. - * In practice this is used to get the preflight instance of **inflight** classes defined **preflight**. - * This instance is used for accessing the lift map of such classes. - * @param scope - a scope in the construct tree that'll hold the instance (a singleton within that tree). - * @param typeId - the unique id of the preflight class type we want. - * @returns the instance of the class. - */ -export function preflightClassSingleton( - scope: Construct, - typeId: number -): Resource { - const root: any = nodeof(scope).root; - const type: any = root.$preflightTypesMap[typeId]; - if (root.resourceSingletons === undefined) { - root.resourceSingletons = {}; - } - const instance = root.resourceSingletons[type]; - if (instance) { - return instance; - } - root.resourceSingletons[type] = new type( - scope, - `${type.name}_singleton_${typeId}` - ); - return root.resourceSingletons[type]; -} diff --git a/tools/hangar/__snapshots__/invalid.ts.snap b/tools/hangar/__snapshots__/invalid.ts.snap index e944ae5e824..6021af442d6 100644 --- a/tools/hangar/__snapshots__/invalid.ts.snap +++ b/tools/hangar/__snapshots__/invalid.ts.snap @@ -2613,6 +2613,13 @@ error: Cannot create preflight class "PreflightClass" in inflight phase | ^^^^^^^^^^^^^^^^^^^^ +error: Cannot qualify access to a lifted type "PreflightClass" (see https://github.com/winglang/wing/issues/76 for more details) + --> ../../../examples/tests/invalid/inflight_class_created_in_preflight.test.w:19:7 + | +19 | new PreflightClass(); + | ^^^^^^^^^^^^^^ + + Tests 1 failed (1) Snapshots 1 skipped @@ -4084,6 +4091,13 @@ exports[`resource_inflight.test.w 1`] = ` | ^^^^^^^^^^^^^^^^^^ +error: Cannot qualify access to a lifted type "Bucket" (see https://github.com/winglang/wing/issues/76 for more details) + --> ../../../examples/tests/invalid/resource_inflight.test.w:4:7 + | +4 | new cloud.Bucket(); // Should fail because we can't create resources inflight + | ^^^^^^^^^^^^ + + Tests 1 failed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/valid/anon_function.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/anon_function.test.w_compile_tf-aws.md index a0171da37a6..48f9f26410c 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/anon_function.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/anon_function.test.w_compile_tf-aws.md @@ -54,9 +54,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/api.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/api.test.w_compile_tf-aws.md index 8693e2fefec..a225949abbd 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/api.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/api.test.w_compile_tf-aws.md @@ -476,13 +476,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -511,11 +508,9 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$stdlib.core.toLiftableModuleType(std.Json, "@winglang/sdk/std", "Json"), ["stringify"]], [counter, ["inc"]], ], "$inflight_init": [ - [$stdlib.core.toLiftableModuleType(std.Json, "@winglang/sdk/std", "Json"), []], [counter, []], ], }); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/api_cors_custom.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/api_cors_custom.test.w_compile_tf-aws.md index bc5e0bfed85..34cc0b087ff 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/api_cors_custom.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/api_cors_custom.test.w_compile_tf-aws.md @@ -332,16 +332,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; +const ex = $stdlib.ex; +const http = $stdlib.http; +const expect = $stdlib.expect; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - const ex = $stdlib.ex; - const http = $stdlib.http; - const expect = $stdlib.expect; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -403,13 +400,9 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), [].concat(["equal"], ["nil"])], - [$stdlib.core.toLiftableModuleType(http.Util, "@winglang/sdk/http", "Util"), ["get"]], [api.url, []], ], "$inflight_init": [ - [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), []], - [$stdlib.core.toLiftableModuleType(http.Util, "@winglang/sdk/http", "Util"), []], [api.url, []], ], }); @@ -445,15 +438,9 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), [].concat(["equal"], ["nil"])], - [$stdlib.core.toLiftableModuleType(http.HttpMethod, "@winglang/sdk/http", "HttpMethod"), ["OPTIONS"]], - [$stdlib.core.toLiftableModuleType(http.Util, "@winglang/sdk/http", "Util"), ["fetch"]], [api.url, []], ], "$inflight_init": [ - [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), []], - [$stdlib.core.toLiftableModuleType(http.HttpMethod, "@winglang/sdk/http", "HttpMethod"), []], - [$stdlib.core.toLiftableModuleType(http.Util, "@winglang/sdk/http", "Util"), []], [api.url, []], ], }); @@ -489,15 +476,9 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), ["equal"]], - [$stdlib.core.toLiftableModuleType(http.HttpMethod, "@winglang/sdk/http", "HttpMethod"), ["OPTIONS"]], - [$stdlib.core.toLiftableModuleType(http.Util, "@winglang/sdk/http", "Util"), ["fetch"]], [api.url, []], ], "$inflight_init": [ - [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), []], - [$stdlib.core.toLiftableModuleType(http.HttpMethod, "@winglang/sdk/http", "HttpMethod"), []], - [$stdlib.core.toLiftableModuleType(http.Util, "@winglang/sdk/http", "Util"), []], [api.url, []], ], }); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/api_cors_default.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/api_cors_default.test.w_compile_tf-aws.md index 3c077f31ee8..7a432fa81b5 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/api_cors_default.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/api_cors_default.test.w_compile_tf-aws.md @@ -307,16 +307,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; +const ex = $stdlib.ex; +const http = $stdlib.http; +const expect = $stdlib.expect; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - const ex = $stdlib.ex; - const http = $stdlib.http; - const expect = $stdlib.expect; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -378,13 +375,9 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), [].concat(["equal"], ["nil"])], - [$stdlib.core.toLiftableModuleType(http.Util, "@winglang/sdk/http", "Util"), ["get"]], [apiDefaultCors.url, []], ], "$inflight_init": [ - [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), []], - [$stdlib.core.toLiftableModuleType(http.Util, "@winglang/sdk/http", "Util"), []], [apiDefaultCors.url, []], ], }); @@ -420,15 +413,9 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), [].concat(["equal"], ["nil"])], - [$stdlib.core.toLiftableModuleType(http.HttpMethod, "@winglang/sdk/http", "HttpMethod"), ["OPTIONS"]], - [$stdlib.core.toLiftableModuleType(http.Util, "@winglang/sdk/http", "Util"), ["fetch"]], [apiDefaultCors.url, []], ], "$inflight_init": [ - [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), []], - [$stdlib.core.toLiftableModuleType(http.HttpMethod, "@winglang/sdk/http", "HttpMethod"), []], - [$stdlib.core.toLiftableModuleType(http.Util, "@winglang/sdk/http", "Util"), []], [apiDefaultCors.url, []], ], }); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/api_valid_path.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/api_valid_path.test.w_compile_tf-aws.md index 1ff40e38af2..636daf6a931 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/api_valid_path.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/api_valid_path.test.w_compile_tf-aws.md @@ -550,14 +550,11 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; +const expect = $stdlib.expect; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - const expect = $stdlib.expect; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/assert.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/assert.test.w_compile_tf-aws.md index 9c24a66a33b..affbcd93807 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/assert.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/assert.test.w_compile_tf-aws.md @@ -65,9 +65,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/asynchronous_model_implicit_await_in_functions.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/asynchronous_model_implicit_await_in_functions.test.w_compile_tf-aws.md index 64402b8eac2..a1abff069c0 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/asynchronous_model_implicit_await_in_functions.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/asynchronous_model_implicit_await_in_functions.test.w_compile_tf-aws.md @@ -269,13 +269,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/baz.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/baz.w_compile_tf-aws.md index 0bef77200bc..806f0755f05 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/baz.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/baz.w_compile_tf-aws.md @@ -21,7 +21,6 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -let $preflightTypesMap = {}; class Baz extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -53,7 +52,7 @@ class Baz extends $stdlib.std.Resource { }); } } -module.exports = { $preflightTypesMap, Baz }; +module.exports = { Baz }; //# sourceMappingURL=preflight.cjs.map ``` diff --git a/tools/hangar/__snapshots__/test_corpus/valid/bring_alias.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/bring_alias.test.w_compile_tf-aws.md index 2355f752634..91d1d890678 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/bring_alias.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/bring_alias.test.w_compile_tf-aws.md @@ -28,14 +28,11 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const stdFs = $stdlib.fs; +const stdFs2 = $stdlib.fs; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const stdFs = $stdlib.fs; - const stdFs2 = $stdlib.fs; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; $helpers.assert($helpers.eq((stdFs.Util.dirname("/")), "/"), "stdFs.dirname(\"/\") == \"/\""); $helpers.assert($helpers.eq((stdFs2.Util.dirname("/")), "/"), "stdFs2.dirname(\"/\") == \"/\""); } diff --git a/tools/hangar/__snapshots__/test_corpus/valid/bring_awscdk.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/bring_awscdk.test.w_compile_tf-aws.md index 76c18f32c64..0619d7e6677 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/bring_awscdk.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/bring_awscdk.test.w_compile_tf-aws.md @@ -42,13 +42,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cdk = require("aws-cdk-lib"); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cdk = require("aws-cdk-lib"); - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class CdkDockerImageFunction extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/bring_cdk8s.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/bring_cdk8s.test.w_compile_tf-aws.md index 43ef75b0daa..759bd050819 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/bring_cdk8s.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/bring_cdk8s.test.w_compile_tf-aws.md @@ -28,14 +28,11 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cdk8s = require("cdk8s"); +const kplus = require("cdk8s-plus-27"); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cdk8s = require("cdk8s"); - const kplus = require("cdk8s-plus-27"); - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; const app = this.node.root.new("cdk8s.App", cdk8s.App, ); const chart = this.node.root.new("cdk8s.Chart", cdk8s.Chart, this, "Chart"); const deploy = ($scope => $scope.node.root.new("cdk8s-plus-27.Deployment", kplus.Deployment, $scope, "Deployment"))(chart); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/bring_cdktf.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/bring_cdktf.test.w_compile_tf-aws.md index 47db08390c9..60cc9c5b347 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/bring_cdktf.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/bring_cdktf.test.w_compile_tf-aws.md @@ -59,14 +59,11 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const aws = require("@cdktf/provider-aws"); +const cdktf = require("cdktf"); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const aws = require("@cdktf/provider-aws"); - const cdktf = require("cdktf"); - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/bring_extend_non_entry.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/bring_extend_non_entry.test.w_compile_tf-aws.md index 169b251befa..7d08220759d 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/bring_extend_non_entry.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/bring_extend_non_entry.test.w_compile_tf-aws.md @@ -43,13 +43,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const lib = require("./preflight.extendnonentrypoint-1.cjs"); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const lib = $helpers.bringJs(`${__dirname}/preflight.extendnonentrypoint-1.cjs`, $preflightTypesMap); - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; const f = new lib.Foo(this, "Foo"); } } @@ -66,7 +63,6 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -let $preflightTypesMap = {}; const cdk8s = require("cdk8s"); class Foo extends (this?.node?.root?.typeForFqn("cdk8s.Chart") ?? cdk8s.Chart) { constructor($scope, $id, ) { @@ -97,7 +93,7 @@ class Foo extends (this?.node?.root?.typeForFqn("cdk8s.Chart") ?? cdk8s.Chart) { }); } } -module.exports = { $preflightTypesMap, Foo }; +module.exports = { Foo }; //# sourceMappingURL=preflight.extendnonentrypoint-1.cjs.map ``` diff --git a/tools/hangar/__snapshots__/test_corpus/valid/bring_jsii.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/bring_jsii.test.w_compile_tf-aws.md index e670a56f704..8ce43dccc57 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/bring_jsii.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/bring_jsii.test.w_compile_tf-aws.md @@ -64,15 +64,12 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; +const stuff = require("jsii-code-samples"); +const jsii_fixture = require("jsii-fixture"); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - const stuff = require("jsii-code-samples"); - const jsii_fixture = require("jsii-fixture"); - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -101,11 +98,9 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$stdlib.core.toLiftableModuleType(stuff.HelloWorld, "jsii-code-samples", "HelloWorld"), []], [greeting, []], ], "$inflight_init": [ - [$stdlib.core.toLiftableModuleType(stuff.HelloWorld, "jsii-code-samples", "HelloWorld"), []], [greeting, []], ], }); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/bring_local.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/bring_local.test.w_compile_tf-aws.md index 731e6cfad7f..eaea16be38c 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/bring_local.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/bring_local.test.w_compile_tf-aws.md @@ -297,17 +297,14 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const file1 = require("./preflight.store-2.cjs"); +const file2 = require("./preflight.subfile-3.cjs"); +const file3 = require("./preflight.empty-1.cjs"); +const math = $stdlib.math; +const expect = $stdlib.expect; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const file1 = $helpers.bringJs(`${__dirname}/preflight.store-2.cjs`, $preflightTypesMap); - const file2 = $helpers.bringJs(`${__dirname}/preflight.subfile-3.cjs`, $preflightTypesMap); - const file3 = $helpers.bringJs(`${__dirname}/preflight.empty-1.cjs`, $preflightTypesMap); - const math = $stdlib.math; - const expect = $stdlib.expect; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -371,11 +368,9 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), ["equal"]], [$stdlib.core.toLiftableModuleType(file2.Q, "", "Q"), ["greet"]], ], "$inflight_init": [ - [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), []], [$stdlib.core.toLiftableModuleType(file2.Q, "", "Q"), []], ], }); @@ -464,8 +459,7 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -let $preflightTypesMap = {}; -module.exports = { $preflightTypesMap, }; +module.exports = { }; //# sourceMappingURL=preflight.empty-1.cjs.map ``` @@ -476,8 +470,7 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -let $preflightTypesMap = {}; -const file3 = $helpers.bringJs(`${__dirname}/preflight.empty-1.cjs`, $preflightTypesMap); +const file3 = require("./preflight.empty-1.cjs"); const math = $stdlib.math; const cloud = $stdlib.cloud; const Color = @@ -587,7 +580,7 @@ class Store extends $stdlib.std.Resource { }); } } -module.exports = { $preflightTypesMap, Util, Store, Color }; +module.exports = { Util, Store, Color }; //# sourceMappingURL=preflight.store-2.cjs.map ``` @@ -598,7 +591,6 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -let $preflightTypesMap = {}; const math = $stdlib.math; class Q extends $stdlib.std.Resource { constructor($scope, $id, ) { @@ -637,7 +629,7 @@ class Q extends $stdlib.std.Resource { }); } } -module.exports = { $preflightTypesMap, Q }; +module.exports = { Q }; //# sourceMappingURL=preflight.subfile-3.cjs.map ``` diff --git a/tools/hangar/__snapshots__/test_corpus/valid/bring_local_dir.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/bring_local_dir.test.w_compile_tf-aws.md index 2dd33865c8f..0161018121b 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/bring_local_dir.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/bring_local_dir.test.w_compile_tf-aws.md @@ -42,21 +42,6 @@ module.exports = function({ }) { //# sourceMappingURL=inflight.Foo-3.cjs.map ``` -## inflight.InflightClass-4.cjs -```cjs -"use strict"; -const $helpers = require("@winglang/sdk/lib/helpers"); -module.exports = function({ }) { - class InflightClass { - async method() { - return "What did you expect?"; - } - } - return InflightClass; -} -//# sourceMappingURL=inflight.InflightClass-4.cjs.map -``` - ## inflight.Widget-1.cjs ```cjs "use strict"; @@ -99,14 +84,11 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const w = require("./preflight.widget-1.cjs"); +const subdir = require("./preflight.subdir2-5.cjs"); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const w = $helpers.bringJs(`${__dirname}/preflight.widget-1.cjs`, $preflightTypesMap); - const subdir = $helpers.bringJs(`${__dirname}/preflight.subdir2-6.cjs`, $preflightTypesMap); - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; const widget1 = new w.Widget(this, "widget1"); $helpers.assert($helpers.eq((widget1.compute()), 42), "widget1.compute() == 42"); const foo = new subdir.Foo(this, "Foo"); @@ -131,8 +113,7 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -let $preflightTypesMap = {}; -const blah = $helpers.bringJs(`${__dirname}/preflight.inner-2.cjs`, $preflightTypesMap); +const blah = require("./preflight.inner-2.cjs"); const cloud = $stdlib.cloud; const util = $stdlib.util; class Foo extends $stdlib.std.Resource { @@ -169,7 +150,7 @@ class Foo extends $stdlib.std.Resource { }); } } -module.exports = { $preflightTypesMap, Foo }; +module.exports = { Foo }; //# sourceMappingURL=preflight.file1-3.cjs.map ``` @@ -180,7 +161,6 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -let $preflightTypesMap = {}; const util = $stdlib.util; class Bar extends $stdlib.std.Resource { constructor($scope, $id, ) { @@ -242,54 +222,10 @@ class Foo extends $stdlib.std.Resource { }); } } -module.exports = { $preflightTypesMap, Bar }; +module.exports = { Bar }; //# sourceMappingURL=preflight.file2-4.cjs.map ``` -## preflight.inflightclass-5.cjs -```cjs -"use strict"; -const $stdlib = require('@winglang/sdk'); -const std = $stdlib.std; -const $helpers = $stdlib.helpers; -const $extern = $helpers.createExternRequire(__dirname); -let $preflightTypesMap = {}; -class InflightClass extends $stdlib.std.Resource { - constructor($scope, $id, ) { - super($scope, $id); - } - static _toInflightType() { - return ` - require("${$helpers.normalPath(__dirname)}/inflight.InflightClass-4.cjs")({ - }) - `; - } - _toInflight() { - return ` - (await (async () => { - const InflightClassClient = ${InflightClass._toInflightType()}; - const client = new InflightClassClient({ - }); - if (client.$inflight_init) { await client.$inflight_init(); } - return client; - })()) - `; - } - get _liftMap() { - return ({ - "method": [ - ], - "$inflight_init": [ - ], - }); - } -} -if ($preflightTypesMap[5]) { throw new Error("InflightClass is already in type map"); } -$preflightTypesMap[5] = InflightClass; -module.exports = { $preflightTypesMap, InflightClass }; -//# sourceMappingURL=preflight.inflightclass-5.cjs.map -``` - ## preflight.inner-2.cjs ```cjs "use strict"; @@ -297,26 +233,25 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const $preflightTypesMap = {}; -Object.assign(module.exports, $helpers.bringJs(`${__dirname}/preflight.widget-1.cjs`, $preflightTypesMap)); -module.exports = { ...module.exports, $preflightTypesMap }; +module.exports = { + ...require("./preflight.widget-1.cjs"), +}; //# sourceMappingURL=preflight.inner-2.cjs.map ``` -## preflight.subdir2-6.cjs +## preflight.subdir2-5.cjs ```cjs "use strict"; const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const $preflightTypesMap = {}; -Object.assign(module.exports, { get inner() { return $helpers.bringJs(`${__dirname}/preflight.inner-2.cjs`, $preflightTypesMap); } }); -Object.assign(module.exports, $helpers.bringJs(`${__dirname}/preflight.inflightclass-5.cjs`, $preflightTypesMap)); -Object.assign(module.exports, $helpers.bringJs(`${__dirname}/preflight.file2-4.cjs`, $preflightTypesMap)); -Object.assign(module.exports, $helpers.bringJs(`${__dirname}/preflight.file1-3.cjs`, $preflightTypesMap)); -module.exports = { ...module.exports, $preflightTypesMap }; -//# sourceMappingURL=preflight.subdir2-6.cjs.map +module.exports = { + get inner() { return require("./preflight.inner-2.cjs") }, + ...require("./preflight.file2-4.cjs"), + ...require("./preflight.file1-3.cjs"), +}; +//# sourceMappingURL=preflight.subdir2-5.cjs.map ``` ## preflight.widget-1.cjs @@ -326,7 +261,6 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -let $preflightTypesMap = {}; class Widget extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -361,7 +295,7 @@ class Widget extends $stdlib.std.Resource { }); } } -module.exports = { $preflightTypesMap, Widget }; +module.exports = { Widget }; //# sourceMappingURL=preflight.widget-1.cjs.map ``` diff --git a/tools/hangar/__snapshots__/test_corpus/valid/bring_local_normalization.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/bring_local_normalization.test.w_compile_tf-aws.md index 7398aa21dd1..4fc2a4d1afb 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/bring_local_normalization.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/bring_local_normalization.test.w_compile_tf-aws.md @@ -67,7 +67,6 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -let $preflightTypesMap = {}; class Bar extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -102,7 +101,7 @@ class Bar extends $stdlib.std.Resource { }); } } -module.exports = { $preflightTypesMap, Bar }; +module.exports = { Bar }; //# sourceMappingURL=preflight.bar-1.cjs.map ``` @@ -113,7 +112,6 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -let $preflightTypesMap = {}; class Baz extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -145,7 +143,7 @@ class Baz extends $stdlib.std.Resource { }); } } -module.exports = { $preflightTypesMap, Baz }; +module.exports = { Baz }; //# sourceMappingURL=preflight.baz-2.cjs.map ``` @@ -159,15 +157,12 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const foo = require("./preflight.foo-3.cjs"); +const bar = require("./preflight.bar-1.cjs"); +const baz = require("./preflight.baz-2.cjs"); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const foo = $helpers.bringJs(`${__dirname}/preflight.foo-3.cjs`, $preflightTypesMap); - const bar = $helpers.bringJs(`${__dirname}/preflight.bar-1.cjs`, $preflightTypesMap); - const baz = $helpers.bringJs(`${__dirname}/preflight.baz-2.cjs`, $preflightTypesMap); - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; $helpers.assert($helpers.eq((foo.Foo.foo(this)), "foo"), "foo.Foo.foo() == \"foo\""); $helpers.assert($helpers.eq((foo.Foo.bar(this)), "bar"), "foo.Foo.bar() == \"bar\""); $helpers.assert($helpers.eq((foo.Foo.baz(this)), "baz"), "foo.Foo.baz() == \"baz\""); @@ -188,9 +183,8 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -let $preflightTypesMap = {}; -const bar = $helpers.bringJs(`${__dirname}/preflight.bar-1.cjs`, $preflightTypesMap); -const baz = $helpers.bringJs(`${__dirname}/preflight.baz-2.cjs`, $preflightTypesMap); +const bar = require("./preflight.bar-1.cjs"); +const baz = require("./preflight.baz-2.cjs"); class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -228,7 +222,7 @@ class Foo extends $stdlib.std.Resource { }); } } -module.exports = { $preflightTypesMap, Foo }; +module.exports = { Foo }; //# sourceMappingURL=preflight.foo-3.cjs.map ``` diff --git a/tools/hangar/__snapshots__/test_corpus/valid/bring_projen.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/bring_projen.test.w_compile_tf-aws.md index 7ccc2ee5a0c..85d3f6033f6 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/bring_projen.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/bring_projen.test.w_compile_tf-aws.md @@ -28,13 +28,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const projen = require("projen"); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const projen = require("projen"); - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; $helpers.assert($helpers.neq(projen.LogLevel.OFF, projen.LogLevel.VERBOSE), "projen.LogLevel.OFF != projen.LogLevel.VERBOSE"); } } diff --git a/tools/hangar/__snapshots__/test_corpus/valid/bring_wing_library.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/bring_wing_library.test.w_compile_tf-aws.md index 5e58a8ff2aa..39d1b1cbf04 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/bring_wing_library.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/bring_wing_library.test.w_compile_tf-aws.md @@ -107,15 +107,12 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const fixture = require("./preflight.testfixture-5.cjs"); +const testfixture = require("./preflight.testfixture-5.cjs"); +const testfixture2 = require("./preflight.testfixture-5.cjs"); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const fixture = $helpers.bringJs(`${__dirname}/preflight.testfixture-5.cjs`, $preflightTypesMap); - const testfixture = $helpers.bringJs(`${__dirname}/preflight.testfixture-5.cjs`, $preflightTypesMap); - const testfixture2 = $helpers.bringJs(`${__dirname}/preflight.testfixture-5.cjs`, $preflightTypesMap); - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -172,7 +169,6 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -let $preflightTypesMap = {}; const FavoriteNumbers = (function (tmp) { tmp["SEVEN"] = "SEVEN"; @@ -180,7 +176,7 @@ const FavoriteNumbers = return tmp; })({}) ; -module.exports = { $preflightTypesMap, FavoriteNumbers }; +module.exports = { FavoriteNumbers }; //# sourceMappingURL=preflight.enums-1.cjs.map ``` @@ -191,9 +187,8 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -let $preflightTypesMap = {}; const cloud = $stdlib.cloud; -const myutil = $helpers.bringJs(`${__dirname}/preflight.util-2.cjs`, $preflightTypesMap); +const myutil = require("./preflight.util-2.cjs"); class Store extends $stdlib.std.Resource { constructor($scope, $id, options) { super($scope, $id); @@ -247,7 +242,7 @@ class Store extends $stdlib.std.Resource { }); } } -module.exports = { $preflightTypesMap, Store }; +module.exports = { Store }; //# sourceMappingURL=preflight.store-3.cjs.map ``` @@ -258,9 +253,9 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const $preflightTypesMap = {}; -Object.assign(module.exports, $helpers.bringJs(`${__dirname}/preflight.util-2.cjs`, $preflightTypesMap)); -module.exports = { ...module.exports, $preflightTypesMap }; +module.exports = { + ...require("./preflight.util-2.cjs"), +}; //# sourceMappingURL=preflight.subdir-4.cjs.map ``` @@ -271,11 +266,11 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const $preflightTypesMap = {}; -Object.assign(module.exports, { get subdir() { return $helpers.bringJs(`${__dirname}/preflight.subdir-4.cjs`, $preflightTypesMap); } }); -Object.assign(module.exports, $helpers.bringJs(`${__dirname}/preflight.store-3.cjs`, $preflightTypesMap)); -Object.assign(module.exports, $helpers.bringJs(`${__dirname}/preflight.enums-1.cjs`, $preflightTypesMap)); -module.exports = { ...module.exports, $preflightTypesMap }; +module.exports = { + get subdir() { return require("./preflight.subdir-4.cjs") }, + ...require("./preflight.store-3.cjs"), + ...require("./preflight.enums-1.cjs"), +}; //# sourceMappingURL=preflight.testfixture-5.cjs.map ``` @@ -286,7 +281,6 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -let $preflightTypesMap = {}; class Util extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -323,7 +317,7 @@ class Util extends $stdlib.std.Resource { }); } } -module.exports = { $preflightTypesMap, Util }; +module.exports = { Util }; //# sourceMappingURL=preflight.util-2.cjs.map ``` diff --git a/tools/hangar/__snapshots__/test_corpus/valid/bucket_keys.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/bucket_keys.test.w_compile_tf-aws.md index e762d20f3e9..4b8c605b7a2 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/bucket_keys.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/bucket_keys.test.w_compile_tf-aws.md @@ -72,13 +72,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/bypass_return.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/bypass_return.test.w_compile_tf-aws.md index 03d5a647c20..ea4602f5b01 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/bypass_return.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/bypass_return.test.w_compile_tf-aws.md @@ -31,9 +31,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; const simpleThrow = (() => { throw new Error("not implemented"); }); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/call_static_of_myself.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/call_static_of_myself.test.w_compile_tf-aws.md index 84dbcc76d5b..4611883ee58 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/call_static_of_myself.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/call_static_of_myself.test.w_compile_tf-aws.md @@ -102,9 +102,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -170,10 +167,8 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "callThis": [ - [Bar, ["bar"]], ], "$inflight_init": [ - [Bar, []], ], }); } @@ -184,8 +179,6 @@ class $Root extends $stdlib.std.Resource { }); } } - if ($preflightTypesMap[2]) { throw new Error("Bar is already in type map"); } - $preflightTypesMap[2] = Bar; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -215,14 +208,10 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$helpers.preflightClassSingleton(this, 2), ["callThis"]], - [Bar, ["bar"]], [Foo, ["foo"]], [foo, ["callThis"]], ], "$inflight_init": [ - [$helpers.preflightClassSingleton(this, 2), []], - [Bar, []], [Foo, []], [foo, []], ], diff --git a/tools/hangar/__snapshots__/test_corpus/valid/calling_inflight_variants.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/calling_inflight_variants.test.w_compile_tf-aws.md index 00adcc28e4c..fd928e94383 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/calling_inflight_variants.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/calling_inflight_variants.test.w_compile_tf-aws.md @@ -113,9 +113,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/capture_containers.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/capture_containers.test.w_compile_tf-aws.md index dad39b8b93b..16cf7d4204f 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/capture_containers.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/capture_containers.test.w_compile_tf-aws.md @@ -56,13 +56,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/capture_in_binary.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/capture_in_binary.test.w_compile_tf-aws.md index ecf8ade3a00..73647713356 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/capture_in_binary.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/capture_in_binary.test.w_compile_tf-aws.md @@ -64,13 +64,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/capture_mutables.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/capture_mutables.test.w_compile_tf-aws.md index 1ec46a6ba0e..538560e462b 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/capture_mutables.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/capture_mutables.test.w_compile_tf-aws.md @@ -74,9 +74,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/capture_primitives.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/capture_primitives.test.w_compile_tf-aws.md index 0725bb48d7e..1b5082f1c70 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/capture_primitives.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/capture_primitives.test.w_compile_tf-aws.md @@ -168,13 +168,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/capture_reassigable_class_field.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/capture_reassigable_class_field.test.w_compile_tf-aws.md index 081361e3401..0e3e34f9f93 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/capture_reassigable_class_field.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/capture_reassigable_class_field.test.w_compile_tf-aws.md @@ -153,14 +153,11 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; +const util = $stdlib.util; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - const util = $stdlib.util; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class KeyValueStore extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -301,12 +298,10 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), ["waitUntil"]], [counter, ["peek"]], [kv, [].concat(["set"], ["get"])], ], "$inflight_init": [ - [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), []], [counter, []], [kv, []], ], diff --git a/tools/hangar/__snapshots__/test_corpus/valid/capture_reassignable.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/capture_reassignable.test.w_compile_tf-aws.md index 8ce585923d3..17f9085dddc 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/capture_reassignable.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/capture_reassignable.test.w_compile_tf-aws.md @@ -68,13 +68,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/capture_resource_and_data.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/capture_resource_and_data.test.w_compile_tf-aws.md index 92ddc8fb9b6..3e4023e45ec 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/capture_resource_and_data.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/capture_resource_and_data.test.w_compile_tf-aws.md @@ -78,13 +78,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/capture_resource_with_no_inflight.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/capture_resource_with_no_inflight.test.w_compile_tf-aws.md index 69f6253c74e..54af4c008fb 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/capture_resource_with_no_inflight.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/capture_resource_with_no_inflight.test.w_compile_tf-aws.md @@ -90,13 +90,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class A extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/capture_tokens.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/capture_tokens.test.w_compile_tf-aws.md index c2e624d2b4e..55d284b2ce0 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/capture_tokens.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/capture_tokens.test.w_compile_tf-aws.md @@ -227,13 +227,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class MyResource extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/captures.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/captures.test.w_compile_tf-aws.md index e01268f629c..5e70bb4a547 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/captures.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/captures.test.w_compile_tf-aws.md @@ -648,13 +648,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/casting.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/casting.test.w_compile_tf-aws.md index fefdc50a3b4..d6739f9b1c8 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/casting.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/casting.test.w_compile_tf-aws.md @@ -47,15 +47,12 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; +const util = $stdlib.util; +const aws = require("@cdktf/provider-aws"); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - const util = $stdlib.util; - const aws = require("@cdktf/provider-aws"); - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; const b = this.node.root.new("@winglang/sdk.cloud.Bucket", cloud.Bucket, this, "Bucket"); if ($helpers.eq((util.Util.env("WING_TARGET")), "tf-aws")) { const s3Bucket = ($helpers.nodeof(b).findChild("Default")); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/class.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/class.test.w_compile_tf-aws.md index 16865355b48..222177a3393 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/class.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/class.test.w_compile_tf-aws.md @@ -586,13 +586,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class C1 extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -1214,8 +1211,6 @@ class $Root extends $stdlib.std.Resource { }); } } - if ($preflightTypesMap[20]) { throw new Error("A is already in type map"); } - $preflightTypesMap[20] = A; class B extends A { constructor($scope, $id, ) { super($scope, $id); @@ -1245,8 +1240,6 @@ class $Root extends $stdlib.std.Resource { }); } } - if ($preflightTypesMap[21]) { throw new Error("B is already in type map"); } - $preflightTypesMap[21] = B; class $Closure5 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -1274,12 +1267,8 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$helpers.preflightClassSingleton(this, 21), ["sound"]], - [B, []], ], "$inflight_init": [ - [$helpers.preflightClassSingleton(this, 21), []], - [B, []], ], }); } diff --git a/tools/hangar/__snapshots__/test_corpus/valid/closure_class.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/closure_class.test.w_compile_tf-aws.md index 62b11c93ac9..8527d14afd4 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/closure_class.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/closure_class.test.w_compile_tf-aws.md @@ -75,9 +75,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class MyClosure extends $stdlib.std.Resource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/construct-base.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/construct-base.test.w_compile_tf-aws.md index a2ad6b661c8..b303e7c3cea 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/construct-base.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/construct-base.test.w_compile_tf-aws.md @@ -54,15 +54,12 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; +const cx = require("constructs"); +const aws = require("@cdktf/provider-aws"); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - const cx = require("constructs"); - const aws = require("@cdktf/provider-aws"); - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class WingResource extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/container_types.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/container_types.test.w_compile_tf-aws.md index a583447f5bf..bfc1c7752f2 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/container_types.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/container_types.test.w_compile_tf-aws.md @@ -62,13 +62,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; const bucket1 = this.node.root.new("@winglang/sdk.cloud.Bucket", cloud.Bucket, this, "bucket1"); const bucket2 = this.node.root.new("@winglang/sdk.cloud.Bucket", cloud.Bucket, this, "bucket2"); const bucket3 = this.node.root.new("@winglang/sdk.cloud.Bucket", cloud.Bucket, this, "bucket3"); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/custom_obj_id.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/custom_obj_id.test.w_compile_tf-aws.md index fa553b1f8f1..09fd1622e94 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/custom_obj_id.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/custom_obj_id.test.w_compile_tf-aws.md @@ -45,9 +45,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/debug_env.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/debug_env.test.w_compile_tf-aws.md index 9f75a4cfd6e..3cc240d6983 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/debug_env.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/debug_env.test.w_compile_tf-aws.md @@ -42,13 +42,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class A extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/deep_equality.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/deep_equality.test.w_compile_tf-aws.md index fcb628d4bbd..3d139298a72 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/deep_equality.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/deep_equality.test.w_compile_tf-aws.md @@ -306,9 +306,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -503,10 +500,8 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$stdlib.core.toLiftableModuleType(std.Json, "@winglang/sdk/std", "Json"), ["values"]], ], "$inflight_init": [ - [$stdlib.core.toLiftableModuleType(std.Json, "@winglang/sdk/std", "Json"), []], ], }); } diff --git a/tools/hangar/__snapshots__/test_corpus/valid/double_reference.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/double_reference.test.w_compile_tf-aws.md index 1796d7a91f5..f93187e3c3d 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/double_reference.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/double_reference.test.w_compile_tf-aws.md @@ -108,13 +108,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/doubler.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/doubler.test.w_compile_tf-aws.md index 1f81a187a68..0fabf02ee95 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/doubler.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/doubler.test.w_compile_tf-aws.md @@ -252,13 +252,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Doubler extends $stdlib.std.Resource { constructor($scope, $id, func) { super($scope, $id); @@ -359,13 +356,9 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$stdlib.core.toLiftableModuleType(std.Json, "@winglang/sdk/std", "Json"), ["stringify"]], - [$stdlib.core.toLiftableModuleType(std.Number, "@winglang/sdk/std", "Number"), ["fromStr"]], [handler, ["handle"]], ], "$inflight_init": [ - [$stdlib.core.toLiftableModuleType(std.Json, "@winglang/sdk/std", "Json"), []], - [$stdlib.core.toLiftableModuleType(std.Number, "@winglang/sdk/std", "Number"), []], [handler, []], ], }); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/enums.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/enums.test.w_compile_tf-aws.md index 9d7aa868863..9dfb3b6b408 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/enums.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/enums.test.w_compile_tf-aws.md @@ -74,9 +74,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; const SomeEnum = (function (tmp) { tmp["ONE"] = "ONE"; @@ -120,12 +117,10 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [SomeEnum, [].concat(["ONE"], ["TWO"])], [one, []], [two, []], ], "$inflight_init": [ - [SomeEnum, []], [one, []], [two, []], ], @@ -159,10 +154,8 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [SomeEnum, [].concat(["ONE"], ["TWO"], ["THREE"])], ], "$inflight_init": [ - [SomeEnum, []], ], }); } diff --git a/tools/hangar/__snapshots__/test_corpus/valid/explicit_lift_qualification.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/explicit_lift_qualification.test.w_compile_tf-aws.md index 82bfb8995d5..25ed7a932e0 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/explicit_lift_qualification.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/explicit_lift_qualification.test.w_compile_tf-aws.md @@ -213,13 +213,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/expressions_binary_operators.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/expressions_binary_operators.test.w_compile_tf-aws.md index 1e163ed75c5..5c8ac0336ed 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/expressions_binary_operators.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/expressions_binary_operators.test.w_compile_tf-aws.md @@ -31,9 +31,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; const x = (-1); const y = (2 * x); const z = ((x + y) - 1); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/expressions_string_interpolation.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/expressions_string_interpolation.test.w_compile_tf-aws.md index 6fb16c92c8a..b320cc977b3 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/expressions_string_interpolation.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/expressions_string_interpolation.test.w_compile_tf-aws.md @@ -53,13 +53,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const expect = $stdlib.expect; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const expect = $stdlib.expect; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -88,11 +85,9 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), ["equal"]], [number, []], ], "$inflight_init": [ - [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), []], [number, []], ], }); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/extend_non_entrypoint.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/extend_non_entrypoint.w_compile_tf-aws.md index 8bf44dfdc83..794ec04a576 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/extend_non_entrypoint.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/extend_non_entrypoint.w_compile_tf-aws.md @@ -22,7 +22,6 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -let $preflightTypesMap = {}; const cdk8s = require("cdk8s"); class Foo extends (this?.node?.root?.typeForFqn("cdk8s.Chart") ?? cdk8s.Chart) { constructor($scope, $id, ) { @@ -53,7 +52,7 @@ class Foo extends (this?.node?.root?.typeForFqn("cdk8s.Chart") ?? cdk8s.Chart) { }); } } -module.exports = { $preflightTypesMap, Foo }; +module.exports = { Foo }; //# sourceMappingURL=preflight.cjs.map ``` diff --git a/tools/hangar/__snapshots__/test_corpus/valid/extern_implementation.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/extern_implementation.test.w_compile_tf-aws.md index a8effb04aa1..8763ce21760 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/extern_implementation.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/extern_implementation.test.w_compile_tf-aws.md @@ -236,13 +236,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/file_counter.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/file_counter.test.w_compile_tf-aws.md index aceec6e2d13..a244a8ce90e 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/file_counter.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/file_counter.test.w_compile_tf-aws.md @@ -216,13 +216,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/for_loop.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/for_loop.test.w_compile_tf-aws.md index be92a25fbfe..49fed41ce7f 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/for_loop.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/for_loop.test.w_compile_tf-aws.md @@ -177,13 +177,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/forward_decl.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/forward_decl.test.w_compile_tf-aws.md index d176dedbad8..287a91f1761 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/forward_decl.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/forward_decl.test.w_compile_tf-aws.md @@ -45,9 +45,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class R extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/function_optional_arguments.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/function_optional_arguments.test.w_compile_tf-aws.md index 4cde6e758c9..2feba53142a 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/function_optional_arguments.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/function_optional_arguments.test.w_compile_tf-aws.md @@ -45,9 +45,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/function_returns_function.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/function_returns_function.test.w_compile_tf-aws.md index 02edb318a6f..0a2609770f3 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/function_returns_function.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/function_returns_function.test.w_compile_tf-aws.md @@ -56,13 +56,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/function_type.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/function_type.test.w_compile_tf-aws.md index d65d23f80fa..1047d0fd693 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/function_type.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/function_type.test.w_compile_tf-aws.md @@ -106,9 +106,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/function_variadic_arguments.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/function_variadic_arguments.test.w_compile_tf-aws.md index c8978d701ca..d0346334c75 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/function_variadic_arguments.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/function_variadic_arguments.test.w_compile_tf-aws.md @@ -91,13 +91,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class A extends $stdlib.std.Resource { constructor($scope, $id, msg) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/hello.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/hello.test.w_compile_tf-aws.md index 88bcc5a917b..a61df751352 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/hello.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/hello.test.w_compile_tf-aws.md @@ -194,13 +194,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/identical_inflights.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/identical_inflights.test.w_compile_tf-aws.md index 34ffe393f1a..8f2cbcbb2ea 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/identical_inflights.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/identical_inflights.test.w_compile_tf-aws.md @@ -69,9 +69,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/impl_interface.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/impl_interface.test.w_compile_tf-aws.md index 1ba04695a5b..ee3ceb316ad 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/impl_interface.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/impl_interface.test.w_compile_tf-aws.md @@ -265,14 +265,11 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; +const jsii_fixture = require("jsii-fixture"); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - const jsii_fixture = require("jsii-fixture"); - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class A extends $stdlib.std.Resource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -628,8 +625,6 @@ class $Root extends $stdlib.std.Resource { }); } } - if ($preflightTypesMap[11]) { throw new Error("ImplInflightIfaceInInflightClass is already in type map"); } - $preflightTypesMap[11] = ImplInflightIfaceInInflightClass; class ImplInflightIfaceInPreflightClass extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/implicit_std.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/implicit_std.test.w_compile_tf-aws.md index 22ee565a070..c2c93e1f0e7 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/implicit_std.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/implicit_std.test.w_compile_tf-aws.md @@ -31,9 +31,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; const d = (std.Duration.fromMinutes(5)); const n = ((args) => { if (isNaN(args)) {throw new Error("unable to parse \"" + args + "\" as a number")}; return Number(args) })("12"); $helpers.assert($helpers.eq(d.seconds, (5 * 60)), "d.seconds == 5 * 60"); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/in_scope_construct.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/in_scope_construct.test.w_compile_tf-aws.md index 04c31a4940f..c0fa4e1a016 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/in_scope_construct.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/in_scope_construct.test.w_compile_tf-aws.md @@ -42,13 +42,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const c = require("constructs"); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const c = require("constructs"); - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class MyClass extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/indexing.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/indexing.test.w_compile_tf-aws.md index 36a734bcd31..63ac7687524 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/indexing.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/indexing.test.w_compile_tf-aws.md @@ -42,14 +42,11 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; +const expect = $stdlib.expect; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - const expect = $stdlib.expect; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class A extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inference.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inference.test.w_compile_tf-aws.md index 5cbb1cd8f3d..d9c9ec036f8 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inference.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inference.test.w_compile_tf-aws.md @@ -253,13 +253,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflight-subscribers.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inflight-subscribers.test.w_compile_tf-aws.md index ff2bdeff84e..c00ce72a039 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflight-subscribers.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflight-subscribers.test.w_compile_tf-aws.md @@ -322,13 +322,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflight_capture_static.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inflight_capture_static.test.w_compile_tf-aws.md index 6acea4f262b..099441fc26c 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflight_capture_static.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflight_capture_static.test.w_compile_tf-aws.md @@ -154,13 +154,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const util = $stdlib.util; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const util = $stdlib.util; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Preflight extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -229,8 +226,6 @@ class $Root extends $stdlib.std.Resource { }); } } - if ($preflightTypesMap[2]) { throw new Error("OuterInflight is already in type map"); } - $preflightTypesMap[2] = OuterInflight; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -293,10 +288,8 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [OuterInflight, ["staticMethod"]], ], "$inflight_init": [ - [OuterInflight, []], ], }); } @@ -360,10 +353,8 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), ["tryEnv"]], ], "$inflight_init": [ - [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), []], ], }); } diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_as_struct_members.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_as_struct_members.test.w_compile_tf-aws.md index 22418a19e92..63eac774a41 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_as_struct_members.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_as_struct_members.test.w_compile_tf-aws.md @@ -87,9 +87,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -120,8 +117,6 @@ class $Root extends $stdlib.std.Resource { }); } } - if ($preflightTypesMap[1]) { throw new Error("Foo is already in type map"); } - $preflightTypesMap[1] = Foo; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -149,10 +144,8 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [Foo, []], ], "$inflight_init": [ - [Foo, []], ], }); } @@ -184,11 +177,9 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$helpers.preflightClassSingleton(this, 1), ["get"]], [getBar, ["handle"]], ], "$inflight_init": [ - [$helpers.preflightClassSingleton(this, 1), []], [getBar, []], ], }); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_capture_const.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_capture_const.test.w_compile_tf-aws.md index 3a91adb2ae5..fd1516e9e87 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_capture_const.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_capture_const.test.w_compile_tf-aws.md @@ -64,13 +64,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -104,8 +101,6 @@ class $Root extends $stdlib.std.Resource { }); } } - if ($preflightTypesMap[1]) { throw new Error("Foo is already in type map"); } - $preflightTypesMap[1] = Foo; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -134,13 +129,9 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$helpers.preflightClassSingleton(this, 1), ["getValue"]], - [Foo, []], [myConst, []], ], "$inflight_init": [ - [$helpers.preflightClassSingleton(this, 1), []], - [Foo, []], [myConst, []], ], }); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_capture_preflight_object.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_capture_preflight_object.test.w_compile_tf-aws.md index 07738803002..b11b224548b 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_capture_preflight_object.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_capture_preflight_object.test.w_compile_tf-aws.md @@ -1,226 +1,5 @@ # [inflight_class_capture_preflight_object.test.w](../../../../../examples/tests/valid/inflight_class_capture_preflight_object.test.w) | compile | tf-aws -## inflight.$Closure1-5.cjs -```cjs -"use strict"; -const $helpers = require("@winglang/sdk/lib/helpers"); -module.exports = function({ $Foo }) { - class $Closure1 { - constructor({ }) { - const $obj = (...args) => this.handle(...args); - Object.setPrototypeOf($obj, this); - return $obj; - } - async handle() { - const f = (await (async () => {const o = new $Foo(); await o.$inflight_init?.(); return o; })()); - (await f.uploadToBucket("hello.txt", "world")); - } - } - return $Closure1; -} -//# sourceMappingURL=inflight.$Closure1-5.cjs.map -``` - -## inflight.$Closure2-5.cjs -```cjs -"use strict"; -const $helpers = require("@winglang/sdk/lib/helpers"); -module.exports = function({ $Foo }) { - class $Closure2 { - constructor({ }) { - const $obj = (...args) => this.handle(...args); - Object.setPrototypeOf($obj, this); - return $obj; - } - async handle() { - (await $Foo.fooStatic()); - } - } - return $Closure2; -} -//# sourceMappingURL=inflight.$Closure2-5.cjs.map -``` - -## inflight.$Closure3-5.cjs -```cjs -"use strict"; -const $helpers = require("@winglang/sdk/lib/helpers"); -module.exports = function({ $Foo }) { - class $Closure3 { - constructor({ }) { - const $obj = (...args) => this.handle(...args); - Object.setPrototypeOf($obj, this); - return $obj; - } - async handle() { - return (await (async () => {const o = new $Foo(); await o.$inflight_init?.(); return o; })()); - } - } - return $Closure3; -} -//# sourceMappingURL=inflight.$Closure3-5.cjs.map -``` - -## inflight.$Closure4-5.cjs -```cjs -"use strict"; -const $helpers = require("@winglang/sdk/lib/helpers"); -module.exports = function({ $getFoo }) { - class $Closure4 { - constructor({ }) { - const $obj = (...args) => this.handle(...args); - Object.setPrototypeOf($obj, this); - return $obj; - } - async handle() { - const foo = (await $getFoo()); - (await foo.uploadToBucket("greetings.txt", "universe")); - } - } - return $Closure4; -} -//# sourceMappingURL=inflight.$Closure4-5.cjs.map -``` - -## inflight.$Closure5-5.cjs -```cjs -"use strict"; -const $helpers = require("@winglang/sdk/lib/helpers"); -module.exports = function({ $b }) { - class $Closure5 { - constructor({ }) { - const $obj = (...args) => this.handle(...args); - Object.setPrototypeOf($obj, this); - return $obj; - } - async handle() { - class Foo2 { - async uploadToBucket() { - (await $b.put("x", "y")); - $helpers.assert($helpers.eq((await $b.get("x")), "y"), "b.get(\"x\") == \"y\""); - } - } - const f = (await (async () => {const o = new Foo2(); await o.$inflight_init?.(); return o; })()); - (await f.uploadToBucket()); - } - } - return $Closure5; -} -//# sourceMappingURL=inflight.$Closure5-5.cjs.map -``` - -## inflight.$Closure6-5.cjs -```cjs -"use strict"; -const $helpers = require("@winglang/sdk/lib/helpers"); -module.exports = function({ $subdir_InflightClass }) { - class $Closure6 { - constructor({ }) { - const $obj = (...args) => this.handle(...args); - Object.setPrototypeOf($obj, this); - return $obj; - } - async handle() { - const x = (await (async () => {const o = new $subdir_InflightClass(); await o.$inflight_init?.(); return o; })()); - $helpers.assert($helpers.eq((await x.method()), "What did you expect?"), "x.method() == \"What did you expect?\""); - } - } - return $Closure6; -} -//# sourceMappingURL=inflight.$Closure6-5.cjs.map -``` - -## inflight.Bar-3.cjs -```cjs -"use strict"; -const $helpers = require("@winglang/sdk/lib/helpers"); -module.exports = function({ }) { - class Bar { - constructor({ }) { - } - } - return Bar; -} -//# sourceMappingURL=inflight.Bar-3.cjs.map -``` - -## inflight.Foo-2.cjs -```cjs -"use strict"; -const $helpers = require("@winglang/sdk/lib/helpers"); -module.exports = function({ }) { - class Foo { - constructor({ }) { - } - } - return Foo; -} -//# sourceMappingURL=inflight.Foo-2.cjs.map -``` - -## inflight.Foo-3.cjs -```cjs -"use strict"; -const $helpers = require("@winglang/sdk/lib/helpers"); -module.exports = function({ }) { - class Foo { - constructor({ }) { - } - } - return Foo; -} -//# sourceMappingURL=inflight.Foo-3.cjs.map -``` - -## inflight.Foo-5.cjs -```cjs -"use strict"; -const $helpers = require("@winglang/sdk/lib/helpers"); -module.exports = function({ $b }) { - class Foo { - async uploadToBucket(k, value) { - (await $b.put(k, value)); - $helpers.assert($helpers.eq((await $b.get(k)), value), "b.get(k) == value"); - } - static async fooStatic() { - (await $b.put("a", "b")); - $helpers.assert($helpers.eq((await $b.list()), ["a"]), "b.list() == [\"a\"]"); - } - } - return Foo; -} -//# sourceMappingURL=inflight.Foo-5.cjs.map -``` - -## inflight.InflightClass-4.cjs -```cjs -"use strict"; -const $helpers = require("@winglang/sdk/lib/helpers"); -module.exports = function({ }) { - class InflightClass { - async method() { - return "What did you expect?"; - } - } - return InflightClass; -} -//# sourceMappingURL=inflight.InflightClass-4.cjs.map -``` - -## inflight.Widget-1.cjs -```cjs -"use strict"; -const $helpers = require("@winglang/sdk/lib/helpers"); -module.exports = function({ }) { - class Widget { - constructor({ }) { - } - } - return Widget; -} -//# sourceMappingURL=inflight.Widget-1.cjs.map -``` - ## main.tf.json ```json { @@ -235,20 +14,6 @@ module.exports = function({ }) { "aws": [ {} ] - }, - "resource": { - "aws_s3_bucket": { - "Bucket": { - "//": { - "metadata": { - "path": "root/Default/Default/Bucket/Default", - "uniqueId": "Bucket" - } - }, - "bucket_prefix": "bucket-c88fdc5f-", - "force_destroy": false - } - } } } ``` @@ -266,276 +31,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - const subdir = $helpers.bringJs(`${__dirname}/preflight.subdir2-6.cjs`, $preflightTypesMap); - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; - class Foo extends $stdlib.std.Resource { - constructor($scope, $id, ) { - super($scope, $id); - } - static _toInflightType() { - return ` - require("${$helpers.normalPath(__dirname)}/inflight.Foo-5.cjs")({ - $b: ${$stdlib.core.liftObject(b)}, - }) - `; - } - _toInflight() { - return ` - (await (async () => { - const FooClient = ${Foo._toInflightType()}; - const client = new FooClient({ - }); - if (client.$inflight_init) { await client.$inflight_init(); } - return client; - })()) - `; - } - get _liftMap() { - return ({ - "uploadToBucket": [ - [b, [].concat(["put"], ["get"])], - ], - "$inflight_init": [ - [b, []], - ], - }); - } - static get _liftTypeMap() { - return ({ - "fooStatic": [ - [b, [].concat(["put"], ["list"])], - ], - }); - } - } - if ($preflightTypesMap[6]) { throw new Error("Foo is already in type map"); } - $preflightTypesMap[6] = Foo; - class $Closure1 extends $stdlib.std.AutoIdResource { - _id = $stdlib.core.closureId(); - constructor($scope, $id, ) { - super($scope, $id); - $helpers.nodeof(this).hidden = true; - } - static _toInflightType() { - return ` - require("${$helpers.normalPath(__dirname)}/inflight.$Closure1-5.cjs")({ - $Foo: ${$stdlib.core.liftObject(Foo)}, - }) - `; - } - _toInflight() { - return ` - (await (async () => { - const $Closure1Client = ${$Closure1._toInflightType()}; - const client = new $Closure1Client({ - }); - if (client.$inflight_init) { await client.$inflight_init(); } - return client; - })()) - `; - } - get _liftMap() { - return ({ - "handle": [ - [$helpers.preflightClassSingleton(this, 6), ["uploadToBucket"]], - [Foo, []], - ], - "$inflight_init": [ - [$helpers.preflightClassSingleton(this, 6), []], - [Foo, []], - ], - }); - } - } - class $Closure2 extends $stdlib.std.AutoIdResource { - _id = $stdlib.core.closureId(); - constructor($scope, $id, ) { - super($scope, $id); - $helpers.nodeof(this).hidden = true; - } - static _toInflightType() { - return ` - require("${$helpers.normalPath(__dirname)}/inflight.$Closure2-5.cjs")({ - $Foo: ${$stdlib.core.liftObject(Foo)}, - }) - `; - } - _toInflight() { - return ` - (await (async () => { - const $Closure2Client = ${$Closure2._toInflightType()}; - const client = new $Closure2Client({ - }); - if (client.$inflight_init) { await client.$inflight_init(); } - return client; - })()) - `; - } - get _liftMap() { - return ({ - "handle": [ - [Foo, ["fooStatic"]], - ], - "$inflight_init": [ - [Foo, []], - ], - }); - } - } - class $Closure3 extends $stdlib.std.AutoIdResource { - _id = $stdlib.core.closureId(); - constructor($scope, $id, ) { - super($scope, $id); - $helpers.nodeof(this).hidden = true; - } - static _toInflightType() { - return ` - require("${$helpers.normalPath(__dirname)}/inflight.$Closure3-5.cjs")({ - $Foo: ${$stdlib.core.liftObject(Foo)}, - }) - `; - } - _toInflight() { - return ` - (await (async () => { - const $Closure3Client = ${$Closure3._toInflightType()}; - const client = new $Closure3Client({ - }); - if (client.$inflight_init) { await client.$inflight_init(); } - return client; - })()) - `; - } - get _liftMap() { - return ({ - "handle": [ - [Foo, []], - ], - "$inflight_init": [ - [Foo, []], - ], - }); - } - } - class $Closure4 extends $stdlib.std.AutoIdResource { - _id = $stdlib.core.closureId(); - constructor($scope, $id, ) { - super($scope, $id); - $helpers.nodeof(this).hidden = true; - } - static _toInflightType() { - return ` - require("${$helpers.normalPath(__dirname)}/inflight.$Closure4-5.cjs")({ - $getFoo: ${$stdlib.core.liftObject(getFoo)}, - }) - `; - } - _toInflight() { - return ` - (await (async () => { - const $Closure4Client = ${$Closure4._toInflightType()}; - const client = new $Closure4Client({ - }); - if (client.$inflight_init) { await client.$inflight_init(); } - return client; - })()) - `; - } - get _liftMap() { - return ({ - "handle": [ - [$helpers.preflightClassSingleton(this, 6), ["uploadToBucket"]], - [getFoo, ["handle"]], - ], - "$inflight_init": [ - [$helpers.preflightClassSingleton(this, 6), []], - [getFoo, []], - ], - }); - } - } - class $Closure5 extends $stdlib.std.AutoIdResource { - _id = $stdlib.core.closureId(); - constructor($scope, $id, ) { - super($scope, $id); - $helpers.nodeof(this).hidden = true; - } - static _toInflightType() { - return ` - require("${$helpers.normalPath(__dirname)}/inflight.$Closure5-5.cjs")({ - $b: ${$stdlib.core.liftObject(b)}, - }) - `; - } - _toInflight() { - return ` - (await (async () => { - const $Closure5Client = ${$Closure5._toInflightType()}; - const client = new $Closure5Client({ - }); - if (client.$inflight_init) { await client.$inflight_init(); } - return client; - })()) - `; - } - get _liftMap() { - return ({ - "handle": [ - [b, [].concat(["put"], ["get"])], - ], - "$inflight_init": [ - [b, []], - ], - }); - } - } - class $Closure6 extends $stdlib.std.AutoIdResource { - _id = $stdlib.core.closureId(); - constructor($scope, $id, ) { - super($scope, $id); - $helpers.nodeof(this).hidden = true; - } - static _toInflightType() { - return ` - require("${$helpers.normalPath(__dirname)}/inflight.$Closure6-5.cjs")({ - $subdir_InflightClass: ${$stdlib.core.liftObject($stdlib.core.toLiftableModuleType(subdir.InflightClass, "", "InflightClass"))}, - }) - `; - } - _toInflight() { - return ` - (await (async () => { - const $Closure6Client = ${$Closure6._toInflightType()}; - const client = new $Closure6Client({ - }); - if (client.$inflight_init) { await client.$inflight_init(); } - return client; - })()) - `; - } - get _liftMap() { - return ({ - "handle": [ - [$helpers.preflightClassSingleton(this, 5), ["method"]], - [$stdlib.core.toLiftableModuleType(subdir.InflightClass, "", "InflightClass"), []], - ], - "$inflight_init": [ - [$helpers.preflightClassSingleton(this, 5), []], - [$stdlib.core.toLiftableModuleType(subdir.InflightClass, "", "InflightClass"), []], - ], - }); - } - } - const b = this.node.root.new("@winglang/sdk.cloud.Bucket", cloud.Bucket, this, "Bucket"); - this.node.root.new("@winglang/sdk.std.Test", std.Test, this, "test:inflight class captures preflight resource", new $Closure1(this, "$Closure1")); - this.node.root.new("@winglang/sdk.std.Test", std.Test, this, "test:inflight class type captures preflight resource", new $Closure2(this, "$Closure2")); - const getFoo = new $Closure3(this, "$Closure3"); - this.node.root.new("@winglang/sdk.std.Test", std.Test, this, "test:inflight class qualified without explicit reference", new $Closure4(this, "$Closure4")); - this.node.root.new("@winglang/sdk.std.Test", std.Test, this, "test:inflight class defined inflight captures preflight object", new $Closure5(this, "$Closure5")); - this.node.root.new("@winglang/sdk.std.Test", std.Test, this, "test:bring inflight class from subdir", new $Closure6(this, "$Closure6")); } } const $PlatformManager = new $stdlib.platform.PlatformManager({platformPaths: $platforms}); @@ -544,244 +39,3 @@ $APP.synth(); //# sourceMappingURL=preflight.cjs.map ``` -## preflight.file1-3.cjs -```cjs -"use strict"; -const $stdlib = require('@winglang/sdk'); -const std = $stdlib.std; -const $helpers = $stdlib.helpers; -const $extern = $helpers.createExternRequire(__dirname); -let $preflightTypesMap = {}; -const blah = $helpers.bringJs(`${__dirname}/preflight.inner-2.cjs`, $preflightTypesMap); -const cloud = $stdlib.cloud; -const util = $stdlib.util; -class Foo extends $stdlib.std.Resource { - constructor($scope, $id, ) { - super($scope, $id); - } - foo() { - return "foo"; - } - checkWidget(widget) { - return ((widget.compute()) + (blah.Widget.staticCompute(this))); - } - static _toInflightType() { - return ` - require("${$helpers.normalPath(__dirname)}/inflight.Foo-2.cjs")({ - }) - `; - } - _toInflight() { - return ` - (await (async () => { - const FooClient = ${Foo._toInflightType()}; - const client = new FooClient({ - }); - if (client.$inflight_init) { await client.$inflight_init(); } - return client; - })()) - `; - } - get _liftMap() { - return ({ - "$inflight_init": [ - ], - }); - } -} -module.exports = { $preflightTypesMap, Foo }; -//# sourceMappingURL=preflight.file1-3.cjs.map -``` - -## preflight.file2-4.cjs -```cjs -"use strict"; -const $stdlib = require('@winglang/sdk'); -const std = $stdlib.std; -const $helpers = $stdlib.helpers; -const $extern = $helpers.createExternRequire(__dirname); -let $preflightTypesMap = {}; -const util = $stdlib.util; -class Bar extends $stdlib.std.Resource { - constructor($scope, $id, ) { - super($scope, $id); - } - bar() { - (util.Util.nanoid()); - return "bar"; - } - static _toInflightType() { - return ` - require("${$helpers.normalPath(__dirname)}/inflight.Bar-3.cjs")({ - }) - `; - } - _toInflight() { - return ` - (await (async () => { - const BarClient = ${Bar._toInflightType()}; - const client = new BarClient({ - }); - if (client.$inflight_init) { await client.$inflight_init(); } - return client; - })()) - `; - } - get _liftMap() { - return ({ - "$inflight_init": [ - ], - }); - } -} -class Foo extends $stdlib.std.Resource { - constructor($scope, $id, ) { - super($scope, $id); - } - static _toInflightType() { - return ` - require("${$helpers.normalPath(__dirname)}/inflight.Foo-3.cjs")({ - }) - `; - } - _toInflight() { - return ` - (await (async () => { - const FooClient = ${Foo._toInflightType()}; - const client = new FooClient({ - }); - if (client.$inflight_init) { await client.$inflight_init(); } - return client; - })()) - `; - } - get _liftMap() { - return ({ - "$inflight_init": [ - ], - }); - } -} -module.exports = { $preflightTypesMap, Bar }; -//# sourceMappingURL=preflight.file2-4.cjs.map -``` - -## preflight.inflightclass-5.cjs -```cjs -"use strict"; -const $stdlib = require('@winglang/sdk'); -const std = $stdlib.std; -const $helpers = $stdlib.helpers; -const $extern = $helpers.createExternRequire(__dirname); -let $preflightTypesMap = {}; -class InflightClass extends $stdlib.std.Resource { - constructor($scope, $id, ) { - super($scope, $id); - } - static _toInflightType() { - return ` - require("${$helpers.normalPath(__dirname)}/inflight.InflightClass-4.cjs")({ - }) - `; - } - _toInflight() { - return ` - (await (async () => { - const InflightClassClient = ${InflightClass._toInflightType()}; - const client = new InflightClassClient({ - }); - if (client.$inflight_init) { await client.$inflight_init(); } - return client; - })()) - `; - } - get _liftMap() { - return ({ - "method": [ - ], - "$inflight_init": [ - ], - }); - } -} -if ($preflightTypesMap[5]) { throw new Error("InflightClass is already in type map"); } -$preflightTypesMap[5] = InflightClass; -module.exports = { $preflightTypesMap, InflightClass }; -//# sourceMappingURL=preflight.inflightclass-5.cjs.map -``` - -## preflight.inner-2.cjs -```cjs -"use strict"; -const $stdlib = require('@winglang/sdk'); -const std = $stdlib.std; -const $helpers = $stdlib.helpers; -const $extern = $helpers.createExternRequire(__dirname); -const $preflightTypesMap = {}; -Object.assign(module.exports, $helpers.bringJs(`${__dirname}/preflight.widget-1.cjs`, $preflightTypesMap)); -module.exports = { ...module.exports, $preflightTypesMap }; -//# sourceMappingURL=preflight.inner-2.cjs.map -``` - -## preflight.subdir2-6.cjs -```cjs -"use strict"; -const $stdlib = require('@winglang/sdk'); -const std = $stdlib.std; -const $helpers = $stdlib.helpers; -const $extern = $helpers.createExternRequire(__dirname); -const $preflightTypesMap = {}; -Object.assign(module.exports, { get inner() { return $helpers.bringJs(`${__dirname}/preflight.inner-2.cjs`, $preflightTypesMap); } }); -Object.assign(module.exports, $helpers.bringJs(`${__dirname}/preflight.inflightclass-5.cjs`, $preflightTypesMap)); -Object.assign(module.exports, $helpers.bringJs(`${__dirname}/preflight.file2-4.cjs`, $preflightTypesMap)); -Object.assign(module.exports, $helpers.bringJs(`${__dirname}/preflight.file1-3.cjs`, $preflightTypesMap)); -module.exports = { ...module.exports, $preflightTypesMap }; -//# sourceMappingURL=preflight.subdir2-6.cjs.map -``` - -## preflight.widget-1.cjs -```cjs -"use strict"; -const $stdlib = require('@winglang/sdk'); -const std = $stdlib.std; -const $helpers = $stdlib.helpers; -const $extern = $helpers.createExternRequire(__dirname); -let $preflightTypesMap = {}; -class Widget extends $stdlib.std.Resource { - constructor($scope, $id, ) { - super($scope, $id); - } - compute() { - return 42; - } - static staticCompute($scope) { - return 1337; - } - static _toInflightType() { - return ` - require("${$helpers.normalPath(__dirname)}/inflight.Widget-1.cjs")({ - }) - `; - } - _toInflight() { - return ` - (await (async () => { - const WidgetClient = ${Widget._toInflightType()}; - const client = new WidgetClient({ - }); - if (client.$inflight_init) { await client.$inflight_init(); } - return client; - })()) - `; - } - get _liftMap() { - return ({ - "$inflight_init": [ - ], - }); - } -} -module.exports = { $preflightTypesMap, Widget }; -//# sourceMappingURL=preflight.widget-1.cjs.map -``` - diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_capture_preflight_object.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_capture_preflight_object.test.w_test_sim.md index e7220befa0b..e9aae34f065 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_capture_preflight_object.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_capture_preflight_object.test.w_test_sim.md @@ -2,13 +2,9 @@ ## stdout.log ```log -pass ─ inflight_class_capture_preflight_object.test.wsim » root/env0/test:inflight class captures preflight resource -pass ─ inflight_class_capture_preflight_object.test.wsim » root/env1/test:inflight class type captures preflight resource -pass ─ inflight_class_capture_preflight_object.test.wsim » root/env2/test:inflight class qualified without explicit reference -pass ─ inflight_class_capture_preflight_object.test.wsim » root/env3/test:inflight class defined inflight captures preflight object -pass ─ inflight_class_capture_preflight_object.test.wsim » root/env4/test:bring inflight class from subdir +pass ─ inflight_class_capture_preflight_object.test.wsim (no tests) -Tests 5 passed (5) +Tests 1 passed (1) Snapshots 1 skipped Test Files 1 passed (1) Duration diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_definitions.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_definitions.test.w_compile_tf-aws.md index 7b51ee2ebbf..e537abc4187 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_definitions.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_definitions.test.w_compile_tf-aws.md @@ -181,9 +181,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class A extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -247,8 +244,6 @@ class $Root extends $stdlib.std.Resource { }); } } - if ($preflightTypesMap[2]) { throw new Error("B is already in type map"); } - $preflightTypesMap[2] = B; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -347,8 +342,6 @@ class $Root extends $stdlib.std.Resource { }); } } - if ($preflightTypesMap[8]) { throw new Error("F is already in type map"); } - $preflightTypesMap[8] = F; class $Closure2 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -376,12 +369,8 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$helpers.preflightClassSingleton(this, 8), ["foo"]], - [F, ["foo"]], ], "$inflight_init": [ - [$helpers.preflightClassSingleton(this, 8), []], - [F, []], ], }); } @@ -451,16 +440,12 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$helpers.preflightClassSingleton(this, 2), ["foo"]], - [B, []], [a, ["goo"]], [d, ["callInner"]], [fn, ["handle"]], [innerD, ["handle"]], ], "$inflight_init": [ - [$helpers.preflightClassSingleton(this, 2), []], - [B, []], [a, []], [d, []], [fn, []], diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_inner_capture_mutable.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_inner_capture_mutable.test.w_compile_tf-aws.md index 7486f263ddb..dabe240a3a0 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_inner_capture_mutable.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_inner_capture_mutable.test.w_compile_tf-aws.md @@ -59,13 +59,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_inside_inflight_closure.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_inside_inflight_closure.test.w_compile_tf-aws.md index 1901d050321..856df8223f3 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_inside_inflight_closure.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_inside_inflight_closure.test.w_compile_tf-aws.md @@ -239,13 +239,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class PreflightClass extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_modifiers.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_modifiers.test.w_compile_tf-aws.md index 9a3dfce7fbf..8e93c5ec0c9 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_modifiers.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_modifiers.test.w_compile_tf-aws.md @@ -50,9 +50,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class C extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -86,8 +83,6 @@ class $Root extends $stdlib.std.Resource { }); } } - if ($preflightTypesMap[1]) { throw new Error("C is already in type map"); } - $preflightTypesMap[1] = C; } } const $PlatformManager = new $stdlib.platform.PlatformManager({platformPaths: $platforms}); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_outside_inflight_closure.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_outside_inflight_closure.test.w_compile_tf-aws.md index 9384086dc1a..0c04970c411 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_outside_inflight_closure.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_outside_inflight_closure.test.w_compile_tf-aws.md @@ -70,13 +70,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class BinaryOperation extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -113,8 +110,6 @@ class $Root extends $stdlib.std.Resource { }); } } - if ($preflightTypesMap[1]) { throw new Error("BinaryOperation is already in type map"); } - $preflightTypesMap[1] = BinaryOperation; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -142,12 +137,8 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$helpers.preflightClassSingleton(this, 1), ["add"]], - [BinaryOperation, []], ], "$inflight_init": [ - [$helpers.preflightClassSingleton(this, 1), []], - [BinaryOperation, []], ], }); } diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_structural_interace_handler.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_structural_interace_handler.test.w_compile_tf-aws.md index 8a655af51ed..983628a34c9 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_structural_interace_handler.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_structural_interace_handler.test.w_compile_tf-aws.md @@ -74,15 +74,11 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class NotGoo extends $stdlib.std.Resource { - _id = $stdlib.core.closureId(); constructor($scope, $id, ) { super($scope, $id); } @@ -112,8 +108,6 @@ class $Root extends $stdlib.std.Resource { }); } } - if ($preflightTypesMap[1]) { throw new Error("NotGoo is already in type map"); } - $preflightTypesMap[1] = NotGoo; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -141,10 +135,8 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [NotGoo, []], ], "$inflight_init": [ - [NotGoo, []], ], }); } diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_without_init.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_without_init.test.w_compile_tf-aws.md index f7b737fd9b7..2b1a60b79bb 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_without_init.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_without_init.test.w_compile_tf-aws.md @@ -60,13 +60,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -95,8 +92,6 @@ class $Root extends $stdlib.std.Resource { }); } } - if ($preflightTypesMap[1]) { throw new Error("Foo is already in type map"); } - $preflightTypesMap[1] = Foo; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -124,10 +119,8 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [Foo, []], ], "$inflight_init": [ - [Foo, []], ], }); } diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflight_closure_as_super_param.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inflight_closure_as_super_param.test.w_compile_tf-aws.md index f9e7a4dc4a0..90f1cc224eb 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflight_closure_as_super_param.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflight_closure_as_super_param.test.w_compile_tf-aws.md @@ -114,9 +114,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflight_closure_autoid.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inflight_closure_autoid.test.w_compile_tf-aws.md index f960ed7ec92..3053064bc53 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflight_closure_autoid.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflight_closure_autoid.test.w_compile_tf-aws.md @@ -73,9 +73,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure2 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflight_closure_inside_preflight_closure.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inflight_closure_inside_preflight_closure.test.w_compile_tf-aws.md index 1504fc3015e..f12ec6a9126 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflight_closure_inside_preflight_closure.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflight_closure_inside_preflight_closure.test.w_compile_tf-aws.md @@ -64,9 +64,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflight_concat.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inflight_concat.test.w_compile_tf-aws.md index 054dbbd2863..fcd905fd09c 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflight_concat.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflight_concat.test.w_compile_tf-aws.md @@ -46,13 +46,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class R extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflight_handler_singleton.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inflight_handler_singleton.test.w_compile_tf-aws.md index b49cf2c35f0..ef4d5090935 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflight_handler_singleton.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflight_handler_singleton.test.w_compile_tf-aws.md @@ -434,15 +434,12 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; +const expect = $stdlib.expect; +const util = $stdlib.util; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - const expect = $stdlib.expect; - const util = $stdlib.util; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -577,13 +574,11 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), ["equal"]], [fn, ["invoke"]], [fn2, ["invoke"]], [sim, []], ], "$inflight_init": [ - [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), []], [fn, []], [fn2, []], [sim, []], @@ -620,13 +615,9 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$stdlib.core.toLiftableModuleType(std.Duration, "@winglang/sdk/std", "Duration"), ["fromSeconds"]], - [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), ["sleep"]], [foo, [].concat(["inc"], ["get"])], ], "$inflight_init": [ - [$stdlib.core.toLiftableModuleType(std.Duration, "@winglang/sdk/std", "Duration"), []], - [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), []], [foo, []], ], }); @@ -661,13 +652,9 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$stdlib.core.toLiftableModuleType(std.Duration, "@winglang/sdk/std", "Duration"), ["fromSeconds"]], - [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), ["sleep"]], [fn3, [].concat(["invokeAsync"], ["invoke"])], ], "$inflight_init": [ - [$stdlib.core.toLiftableModuleType(std.Duration, "@winglang/sdk/std", "Duration"), []], - [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), []], [fn3, []], ], }); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflight_init.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inflight_init.test.w_compile_tf-aws.md index fae9583fd66..107f59abfa7 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflight_init.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflight_init.test.w_compile_tf-aws.md @@ -192,13 +192,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const jsii_fixture = require("jsii-fixture"); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const jsii_fixture = require("jsii-fixture"); - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -234,8 +231,6 @@ class $Root extends $stdlib.std.Resource { }); } } - if ($preflightTypesMap[1]) { throw new Error("Foo is already in type map"); } - $preflightTypesMap[1] = Foo; class FooChild extends Foo { constructor($scope, $id, ) { super($scope, $id); @@ -268,8 +263,6 @@ class $Root extends $stdlib.std.Resource { }); } } - if ($preflightTypesMap[2]) { throw new Error("FooChild is already in type map"); } - $preflightTypesMap[2] = FooChild; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -297,12 +290,8 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$helpers.preflightClassSingleton(this, 1), [].concat(["field1"], ["field2"])], - [Foo, []], ], "$inflight_init": [ - [$helpers.preflightClassSingleton(this, 1), []], - [Foo, []], ], }); } @@ -334,12 +323,8 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$helpers.preflightClassSingleton(this, 2), [].concat(["field1"], ["field2"], ["field3"])], - [FooChild, []], ], "$inflight_init": [ - [$helpers.preflightClassSingleton(this, 2), []], - [FooChild, []], ], }); } @@ -403,10 +388,8 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$stdlib.core.toLiftableModuleType(jsii_fixture.JsiiClass, "jsii-fixture", "JsiiClass"), []], ], "$inflight_init": [ - [$stdlib.core.toLiftableModuleType(jsii_fixture.JsiiClass, "jsii-fixture", "JsiiClass"), []], ], }); } diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflights_calling_inflights.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inflights_calling_inflights.test.w_compile_tf-aws.md index 4141cadd9c9..5ed1e8afb45 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflights_calling_inflights.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflights_calling_inflights.test.w_compile_tf-aws.md @@ -272,13 +272,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inherit_stdlib_class.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inherit_stdlib_class.test.w_compile_tf-aws.md index f23be52247e..605a0562d1d 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inherit_stdlib_class.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inherit_stdlib_class.test.w_compile_tf-aws.md @@ -289,14 +289,11 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; +const http = $stdlib.http; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - const http = $stdlib.http; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class AnApi extends (this?.node?.root?.typeForFqn("@winglang/sdk.cloud.Api") ?? cloud.Api) { constructor($scope, $id, ) { super($scope, $id); @@ -386,11 +383,9 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$stdlib.core.toLiftableModuleType(http.Util, "@winglang/sdk/http", "Util"), ["get"]], [api.url, []], ], "$inflight_init": [ - [$stdlib.core.toLiftableModuleType(http.Util, "@winglang/sdk/http", "Util"), []], [api.url, []], ], }); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inheritance_class_inflight.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inheritance_class_inflight.test.w_compile_tf-aws.md index 0a09272fbde..28e66cf857a 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inheritance_class_inflight.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inheritance_class_inflight.test.w_compile_tf-aws.md @@ -91,13 +91,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const expect = $stdlib.expect; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const expect = $stdlib.expect; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class FooBase extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -191,11 +188,9 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), ["equal"]], [foo, [].concat(["bang"], ["bug"], ["over_inflight"])], ], "$inflight_init": [ - [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), []], [foo, []], ], }); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inheritance_class_preflight.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inheritance_class_preflight.test.w_compile_tf-aws.md index e8d29f44d7c..0675acb048d 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inheritance_class_preflight.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inheritance_class_preflight.test.w_compile_tf-aws.md @@ -57,13 +57,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const expect = $stdlib.expect; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const expect = $stdlib.expect; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class FooBase extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inheritance_interface.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inheritance_interface.test.w_compile_tf-aws.md index 8250a5117e6..1cfce89b825 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inheritance_interface.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inheritance_interface.test.w_compile_tf-aws.md @@ -42,13 +42,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const expect = $stdlib.expect; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const expect = $stdlib.expect; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Baz extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/interface.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/interface.test.w_compile_tf-aws.md index 5ae5aa0d286..25d7dcdd312 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/interface.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/interface.test.w_compile_tf-aws.md @@ -59,9 +59,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class C extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/intrinsics.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/intrinsics.test.w_compile_tf-aws.md index 013392f80ab..826fa5f8c0b 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/intrinsics.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/intrinsics.test.w_compile_tf-aws.md @@ -226,7 +226,6 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -let $preflightTypesMap = {}; class Bar extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -261,7 +260,7 @@ class Bar extends $stdlib.std.Resource { }); } } -module.exports = { $preflightTypesMap, Bar }; +module.exports = { Bar }; //# sourceMappingURL=preflight.bar-1.cjs.map ``` @@ -275,17 +274,14 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const fs = $stdlib.fs; +const expect = $stdlib.expect; +const cloud = $stdlib.cloud; +const util = $stdlib.util; +const bar = require("./preflight.bar-1.cjs"); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const fs = $stdlib.fs; - const expect = $stdlib.expect; - const cloud = $stdlib.cloud; - const util = $stdlib.util; - const bar = $helpers.bringJs(`${__dirname}/preflight.bar-1.cjs`, $preflightTypesMap); - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Example extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/issue_2889.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/issue_2889.test.w_compile_tf-aws.md index f59607ffdf5..28a3a575564 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/issue_2889.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/issue_2889.test.w_compile_tf-aws.md @@ -277,14 +277,11 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; +const http = $stdlib.http; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - const http = $stdlib.http; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -312,10 +309,8 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$stdlib.core.toLiftableModuleType(std.Json, "@winglang/sdk/std", "Json"), [].concat(["parse"], ["stringify"])], ], "$inflight_init": [ - [$stdlib.core.toLiftableModuleType(std.Json, "@winglang/sdk/std", "Json"), []], ], }); } @@ -349,13 +344,9 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$stdlib.core.toLiftableModuleType(http.Util, "@winglang/sdk/http", "Util"), ["get"]], - [$stdlib.core.toLiftableModuleType(std.Json, "@winglang/sdk/std", "Json"), ["parse"]], [api.url, []], ], "$inflight_init": [ - [$stdlib.core.toLiftableModuleType(http.Util, "@winglang/sdk/http", "Util"), []], - [$stdlib.core.toLiftableModuleType(std.Json, "@winglang/sdk/std", "Json"), []], [api.url, []], ], }); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/json.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/json.test.w_compile_tf-aws.md index b3e36dff030..2bafdc5c8a2 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/json.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/json.test.w_compile_tf-aws.md @@ -66,13 +66,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/json_bucket.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/json_bucket.test.w_compile_tf-aws.md index 22f947fe294..0774d81ea04 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/json_bucket.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/json_bucket.test.w_compile_tf-aws.md @@ -187,13 +187,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/json_static.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/json_static.test.w_compile_tf-aws.md index 4c64066df78..c707fb3a1fa 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/json_static.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/json_static.test.w_compile_tf-aws.md @@ -71,13 +71,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -106,11 +103,9 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$stdlib.core.toLiftableModuleType(std.Json, "@winglang/sdk/std", "Json"), ["stringify"]], [jj, []], ], "$inflight_init": [ - [$stdlib.core.toLiftableModuleType(std.Json, "@winglang/sdk/std", "Json"), []], [jj, []], ], }); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/json_string_interpolation.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/json_string_interpolation.test.w_compile_tf-aws.md index b0b433492ed..e2fc9034d6b 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/json_string_interpolation.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/json_string_interpolation.test.w_compile_tf-aws.md @@ -31,9 +31,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; const obj = ({"strValue": "test", "numValue": 1}); const notStringifyStrValue = String.raw({ raw: ["string: ", ""] }, JSON.stringify(((obj, args) => { if (obj[args] === undefined) throw new Error(`Json property "${args}" does not exist`); return obj[args] })(obj, "strValue"))); $helpers.assert($helpers.eq(notStringifyStrValue, "string: \"test\""), "notStringifyStrValue == \"string: \\\"test\\\"\""); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/lift_expr_with_this.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/lift_expr_with_this.test.w_compile_tf-aws.md index 2d175572d59..0b2bd167ff6 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/lift_expr_with_this.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/lift_expr_with_this.test.w_compile_tf-aws.md @@ -66,9 +66,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/lift_inflight_closure_collection.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/lift_inflight_closure_collection.test.w_compile_tf-aws.md index 53eeb3794f7..a2e5f968652 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/lift_inflight_closure_collection.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/lift_inflight_closure_collection.test.w_compile_tf-aws.md @@ -637,13 +637,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/lift_inflight_closure_returning_object_issue6501.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/lift_inflight_closure_returning_object_issue6501.test.w_compile_tf-aws.md index 5a63bd27a85..78f61f0bbcd 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/lift_inflight_closure_returning_object_issue6501.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/lift_inflight_closure_returning_object_issue6501.test.w_compile_tf-aws.md @@ -140,13 +140,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -177,8 +174,6 @@ class $Root extends $stdlib.std.Resource { }); } } - if ($preflightTypesMap[1]) { throw new Error("Foo is already in type map"); } - $preflightTypesMap[1] = Foo; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -206,10 +201,8 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [Foo, []], ], "$inflight_init": [ - [Foo, []], ], }); } @@ -241,11 +234,9 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$helpers.preflightClassSingleton(this, 1), ["do"]], [foo, ["handle"]], ], "$inflight_init": [ - [$helpers.preflightClassSingleton(this, 1), []], [foo, []], ], }); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/lift_parent_fields.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/lift_parent_fields.test.w_compile_tf-aws.md index 7357851ee5d..b9b5b77c4ab 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/lift_parent_fields.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/lift_parent_fields.test.w_compile_tf-aws.md @@ -111,9 +111,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class A extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/lift_redefinition.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/lift_redefinition.test.w_compile_tf-aws.md index 8ae9c48474d..7b0d6b976a7 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/lift_redefinition.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/lift_redefinition.test.w_compile_tf-aws.md @@ -53,9 +53,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/lift_shared_resource.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/lift_shared_resource.test.w_compile_tf-aws.md index 3ebdba3c8b7..7ed560804f7 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/lift_shared_resource.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/lift_shared_resource.test.w_compile_tf-aws.md @@ -305,14 +305,11 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; +const http = $stdlib.http; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - const http = $stdlib.http; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class MyBucket extends $stdlib.std.Resource { constructor($scope, $id, bucket) { super($scope, $id); @@ -413,11 +410,9 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$stdlib.core.toLiftableModuleType(http.Util, "@winglang/sdk/http", "Util"), ["get"]], [api.url, []], ], "$inflight_init": [ - [$stdlib.core.toLiftableModuleType(http.Util, "@winglang/sdk/http", "Util"), []], [api.url, []], ], }); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/lift_this.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/lift_this.test.w_compile_tf-aws.md index 5d669059063..a71a833cc41 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/lift_this.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/lift_this.test.w_compile_tf-aws.md @@ -72,13 +72,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const util = $stdlib.util; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const util = $stdlib.util; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -147,11 +144,9 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), ["env"]], [f, ["foo"]], ], "$inflight_init": [ - [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), []], [f, []], ], }); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/lift_via_closure.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/lift_via_closure.test.w_compile_tf-aws.md index d730cf7808b..b1bfee214a8 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/lift_via_closure.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/lift_via_closure.test.w_compile_tf-aws.md @@ -145,13 +145,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/lift_via_closure_explicit.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/lift_via_closure_explicit.test.w_compile_tf-aws.md index c20d2d303cd..09892856fa3 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/lift_via_closure_explicit.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/lift_via_closure_explicit.test.w_compile_tf-aws.md @@ -84,13 +84,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class MyClosure extends $stdlib.std.Resource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/lift_weird_order.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/lift_weird_order.test.w_compile_tf-aws.md index dcedef2d843..267393b209b 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/lift_weird_order.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/lift_weird_order.test.w_compile_tf-aws.md @@ -86,9 +86,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class B extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/lift_with_phase_ind.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/lift_with_phase_ind.test.w_compile_tf-aws.md index d4c7ea807d1..eda26b8fc99 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/lift_with_phase_ind.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/lift_with_phase_ind.test.w_compile_tf-aws.md @@ -55,13 +55,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const math = $stdlib.math; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const math = $stdlib.math; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -90,11 +87,9 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$stdlib.core.toLiftableModuleType(math.Util, "@winglang/sdk/math", "Util"), [].concat(["floor"], ["random"])], [ar, [].concat(["at"], ["length"], ["copyMut"])], ], "$inflight_init": [ - [$stdlib.core.toLiftableModuleType(math.Util, "@winglang/sdk/math", "Util"), []], [ar, []], ], }); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/map_entries.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/map_entries.test.w_compile_tf-aws.md index 24e28ee1f7f..c50b025eeeb 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/map_entries.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/map_entries.test.w_compile_tf-aws.md @@ -118,9 +118,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/mut_container_types.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/mut_container_types.test.w_compile_tf-aws.md index a39a45436db..4664729ab76 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/mut_container_types.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/mut_container_types.test.w_compile_tf-aws.md @@ -62,13 +62,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; const bucket1 = this.node.root.new("@winglang/sdk.cloud.Bucket", cloud.Bucket, this, "bucket1"); const bucket2 = this.node.root.new("@winglang/sdk.cloud.Bucket", cloud.Bucket, this, "bucket2"); const bucket3 = this.node.root.new("@winglang/sdk.cloud.Bucket", cloud.Bucket, this, "bucket3"); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/mutation_after_class_init.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/mutation_after_class_init.test.w_compile_tf-aws.md index 36326b84129..cc3f653a9d3 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/mutation_after_class_init.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/mutation_after_class_init.test.w_compile_tf-aws.md @@ -339,14 +339,11 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; +const util = $stdlib.util; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - const util = $stdlib.util; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Queue extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -518,12 +515,10 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), ["waitUntil"]], [c, ["peek"]], [q, ["push"]], ], "$inflight_init": [ - [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), []], [c, []], [q, []], ], diff --git a/tools/hangar/__snapshots__/test_corpus/valid/new_in_static.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/new_in_static.test.w_compile_tf-aws.md index 2ee9924e3f6..94699c966bf 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/new_in_static.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/new_in_static.test.w_compile_tf-aws.md @@ -174,16 +174,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; +const c = require("constructs"); +const jsii_fixture = require("jsii-fixture"); +const new_in_static_lib = require("./preflight.newinstaticlib-1.cjs"); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - const c = require("constructs"); - const jsii_fixture = require("jsii-fixture"); - const new_in_static_lib = $helpers.bringJs(`${__dirname}/preflight.newinstaticlib-1.cjs`, $preflightTypesMap); - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class MyClass extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -361,7 +358,6 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -let $preflightTypesMap = {}; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -421,7 +417,7 @@ class LibClass extends $stdlib.std.Resource { }); } } -module.exports = { $preflightTypesMap, Foo, LibClass }; +module.exports = { Foo, LibClass }; //# sourceMappingURL=preflight.newinstaticlib-1.cjs.map ``` diff --git a/tools/hangar/__snapshots__/test_corpus/valid/new_in_static_lib.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/new_in_static_lib.w_compile_tf-aws.md index 9905f1aa986..2600606fde2 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/new_in_static_lib.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/new_in_static_lib.w_compile_tf-aws.md @@ -35,7 +35,6 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -let $preflightTypesMap = {}; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -95,7 +94,7 @@ class LibClass extends $stdlib.std.Resource { }); } } -module.exports = { $preflightTypesMap, Foo, LibClass }; +module.exports = { Foo, LibClass }; //# sourceMappingURL=preflight.cjs.map ``` diff --git a/tools/hangar/__snapshots__/test_corpus/valid/new_jsii.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/new_jsii.test.w_compile_tf-aws.md index 4adf970a686..6ddb1f36591 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/new_jsii.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/new_jsii.test.w_compile_tf-aws.md @@ -56,13 +56,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class CustomScope extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/nil.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/nil.test.w_compile_tf-aws.md index 69b29e866b7..f532f728ef4 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/nil.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/nil.test.w_compile_tf-aws.md @@ -104,13 +104,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/on_lift.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/on_lift.test.w_compile_tf-aws.md index 325aa8db4a3..7e78d7ad70d 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/on_lift.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/on_lift.test.w_compile_tf-aws.md @@ -71,13 +71,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const util = $stdlib.util; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const util = $stdlib.util; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -113,17 +110,14 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "m1": [ - [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), ["env"]], ], "$inflight_init": [ - [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), []], ], }); } static get _liftTypeMap() { return ({ "m2": [ - [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), ["env"]], ], }); } diff --git a/tools/hangar/__snapshots__/test_corpus/valid/optionals.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/optionals.test.w_compile_tf-aws.md index d8d0f7ef0f3..0ea88a8d77f 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/optionals.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/optionals.test.w_compile_tf-aws.md @@ -123,14 +123,11 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; const Person = $stdlib.std.Struct._createJsonSchema({$id:"/Person",type:"object",properties:{age:{type:"number"},name:{type:"string"},},required:["age","name",]}); - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Super extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/parameters/nested/parameters.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/parameters/nested/parameters.test.w_compile_tf-aws.md index d98bb1e2e87..3503181bdfd 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/parameters/nested/parameters.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/parameters/nested/parameters.test.w_compile_tf-aws.md @@ -31,10 +31,7 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; const MyParams = $stdlib.std.Struct._createJsonSchema({$id:"/MyParams",type:"object",properties:{houses:{type:"array",items:{type:"object",properties:{address:{type:"string"},residents:{type:"array",items:{type:"object",properties:{age:{type:"number"},name:{type:"string"},},required:["age","name",]}},},required:["address","residents",]}},},required:["houses",]}); - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; const app = $helpers.nodeof(this).app; const myParams = MyParams._fromJson((app.parameters.read({ schema: MyParams }))); $helpers.assert($helpers.eq(myParams.houses.length, 2), "myParams.houses.length == 2"); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/parameters/simple/parameters.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/parameters/simple/parameters.test.w_compile_tf-aws.md index caa21223aea..e304cb025bd 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/parameters/simple/parameters.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/parameters/simple/parameters.test.w_compile_tf-aws.md @@ -31,10 +31,7 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; const MyParams = $stdlib.std.Struct._createJsonSchema({$id:"/MyParams",type:"object",properties:{foo:{type:"string"},meaningOfLife:{type:"number"},},required:["meaningOfLife",]}); - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; const app = $helpers.nodeof(this).app; const myParams = MyParams._fromJson((app.parameters.read({ schema: MyParams }))); { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/phase_independent_method_on_string.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/phase_independent_method_on_string.test.w_compile_tf-aws.md index 16a89f4f03c..9bf16ceb677 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/phase_independent_method_on_string.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/phase_independent_method_on_string.test.w_compile_tf-aws.md @@ -136,14 +136,11 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; +const expect = $stdlib.expect; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - const expect = $stdlib.expect; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -174,13 +171,11 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), [].concat(["equal"], ["notEqual"])], [api.url, [].concat(["startsWith"], ["length"])], [tokenLength, []], [urlRegex, ["test"]], ], "$inflight_init": [ - [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), []], [api.url, []], [tokenLength, []], [urlRegex, []], diff --git a/tools/hangar/__snapshots__/test_corpus/valid/primitive_methods.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/primitive_methods.test.w_compile_tf-aws.md index 7d06eb6d50c..b1371d2ece1 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/primitive_methods.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/primitive_methods.test.w_compile_tf-aws.md @@ -31,9 +31,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; const dur = (std.Duration.fromSeconds(60)); const dur2 = (std.Duration.fromSeconds(600)); const f = ((d) => { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/print.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/print.test.w_compile_tf-aws.md index 58710b5f17d..a01629c4119 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/print.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/print.test.w_compile_tf-aws.md @@ -70,13 +70,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/reassignment.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/reassignment.test.w_compile_tf-aws.md index d45eb465d4e..9a2f46ad429 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/reassignment.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/reassignment.test.w_compile_tf-aws.md @@ -45,9 +45,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class R extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/redis.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/redis.test.w_compile_tf-aws.md index d398c6056c9..df675212cda 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/redis.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/redis.test.w_compile_tf-aws.md @@ -681,15 +681,12 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; +const util = $stdlib.util; +const ex = $stdlib.ex; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - const util = $stdlib.util; - const ex = $stdlib.ex; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -755,13 +752,11 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), ["waitUntil"]], [queue, ["push"]], [r, ["get"]], [r2, [].concat(["set"], ["get"])], ], "$inflight_init": [ - [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), []], [queue, []], [r, []], [r2, []], diff --git a/tools/hangar/__snapshots__/test_corpus/valid/resource.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/resource.test.w_compile_tf-aws.md index 3117975832c..c53272518fe 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/resource.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/resource.test.w_compile_tf-aws.md @@ -708,14 +708,11 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; +const util = $stdlib.util; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - const util = $stdlib.util; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; const MyEnum = (function (tmp) { tmp["A"] = "A"; @@ -809,13 +806,11 @@ class $Root extends $stdlib.std.Resource { "testTypeAccess": [ [Bar, ["barStatic"]], [Foo, ["fooStatic"]], - [MyEnum, ["B"]], [this.e, []], ], "$inflight_init": [ [Bar, []], [Foo, []], - [MyEnum, []], [this.b, []], [this.e, []], [this.foo, []], @@ -1057,11 +1052,9 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), ["waitUntil"]], [bigOlPublisher, [].concat(["publish"], ["getObjectCount"])], ], "$inflight_init": [ - [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), []], [bigOlPublisher, []], ], }); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/resource_as_inflight_literal.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/resource_as_inflight_literal.test.w_compile_tf-aws.md index 36da9581699..4ae8a6f7e61 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/resource_as_inflight_literal.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/resource_as_inflight_literal.test.w_compile_tf-aws.md @@ -174,13 +174,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/resource_call_static.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/resource_call_static.test.w_compile_tf-aws.md index c0ef8f3ca0f..0509113ee0e 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/resource_call_static.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/resource_call_static.test.w_compile_tf-aws.md @@ -86,13 +86,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Another extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/resource_captures.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/resource_captures.test.w_compile_tf-aws.md index 41bd603ecf9..e3a9b7f7cbe 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/resource_captures.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/resource_captures.test.w_compile_tf-aws.md @@ -240,13 +240,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class First extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/resource_captures_globals.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/resource_captures_globals.test.w_compile_tf-aws.md index c3d106d17c4..83635822e9d 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/resource_captures_globals.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/resource_captures_globals.test.w_compile_tf-aws.md @@ -362,14 +362,11 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; +const util = $stdlib.util; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - const util = $stdlib.util; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class First extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -520,7 +517,6 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "myPut": [ - [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), ["waitUntil"]], [Another, ["myStaticMethod"]], [globalAnother, ["myMethod"]], [globalAnother.first.myResource, ["put"]], @@ -536,7 +532,6 @@ class $Root extends $stdlib.std.Resource { [this.localTopic, ["publish"]], ], "$inflight_init": [ - [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), []], [Another, []], [globalAnother, []], [globalAnother.first.myResource, []], diff --git a/tools/hangar/__snapshots__/test_corpus/valid/service.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/service.test.w_compile_tf-aws.md index 217349b8a7d..72c0fe616c3 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/service.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/service.test.w_compile_tf-aws.md @@ -31,9 +31,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; } } const $PlatformManager = new $stdlib.platform.PlatformManager({platformPaths: $platforms}); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/shadowing.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/shadowing.test.w_compile_tf-aws.md index a5c64b95b56..f0b9fecca15 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/shadowing.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/shadowing.test.w_compile_tf-aws.md @@ -80,13 +80,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/sim_resource.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/sim_resource.test.w_compile_tf-aws.md index 7711b440596..fd0ae7a5677 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/sim_resource.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/sim_resource.test.w_compile_tf-aws.md @@ -75,13 +75,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const sim = $stdlib.sim; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const sim = $stdlib.sim; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; const MyEnum = (function (tmp) { tmp["A"] = "A"; @@ -129,7 +126,6 @@ class $Root extends $stdlib.std.Resource { "methodWithJsons": [ ], "methodWithEnums": [ - [MyEnum, ["A"]], ], "methodWithArrays": [ ], @@ -142,13 +138,10 @@ class $Root extends $stdlib.std.Resource { "methodWithComplexTypes": [ ], "$inflight_init": [ - [MyEnum, []], ], }); } } - if ($preflightTypesMap[1]) { throw new Error("ResourceBackend is already in type map"); } - $preflightTypesMap[1] = ResourceBackend; } } const $PlatformManager = new $stdlib.platform.PlatformManager({platformPaths: $platforms}); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/statements_before_super.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/statements_before_super.w_compile_tf-aws.md index 87c6fd80fb3..7fdd23242c0 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/statements_before_super.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/statements_before_super.w_compile_tf-aws.md @@ -36,7 +36,6 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -let $preflightTypesMap = {}; class A extends $stdlib.std.Resource { constructor($scope, $id, a) { super($scope, $id); @@ -96,7 +95,7 @@ class B extends A { }); } } -module.exports = { $preflightTypesMap, }; +module.exports = { }; //# sourceMappingURL=preflight.cjs.map ``` diff --git a/tools/hangar/__snapshots__/test_corpus/valid/statements_if.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/statements_if.test.w_compile_tf-aws.md index 62dfa63453e..30eb8fa4754 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/statements_if.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/statements_if.test.w_compile_tf-aws.md @@ -67,13 +67,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/statements_variable_declarations.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/statements_variable_declarations.test.w_compile_tf-aws.md index e4d65b4ad3f..8d74f4b9971 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/statements_variable_declarations.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/statements_variable_declarations.test.w_compile_tf-aws.md @@ -31,9 +31,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; const x = 2; const y = x; const id = 1; diff --git a/tools/hangar/__snapshots__/test_corpus/valid/static_members.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/static_members.test.w_compile_tf-aws.md index 889b4c06696..780b990a746 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/static_members.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/static_members.test.w_compile_tf-aws.md @@ -75,13 +75,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/std_containers.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/std_containers.test.w_compile_tf-aws.md index 2c88436783f..d6009c0537f 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/std_containers.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/std_containers.test.w_compile_tf-aws.md @@ -75,9 +75,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Animal extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/std_string.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/std_string.test.w_compile_tf-aws.md index 7e6b876f3f0..9838e17fea0 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/std_string.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/std_string.test.w_compile_tf-aws.md @@ -53,9 +53,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/store.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/store.w_compile_tf-aws.md index 2fc82a4643e..5afb35fc2ee 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/store.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/store.w_compile_tf-aws.md @@ -59,8 +59,7 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -let $preflightTypesMap = {}; -const file3 = $helpers.bringJs(`${__dirname}/preflight.empty-1.cjs`, $preflightTypesMap); +const file3 = require("./preflight.empty-1.cjs"); const math = $stdlib.math; const cloud = $stdlib.cloud; const Color = @@ -170,7 +169,7 @@ class Store extends $stdlib.std.Resource { }); } } -module.exports = { $preflightTypesMap, Util, Store, Color }; +module.exports = { Util, Store, Color }; //# sourceMappingURL=preflight.cjs.map ``` @@ -181,8 +180,7 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -let $preflightTypesMap = {}; -module.exports = { $preflightTypesMap, }; +module.exports = { }; //# sourceMappingURL=preflight.empty-1.cjs.map ``` diff --git a/tools/hangar/__snapshots__/test_corpus/valid/stringify.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/stringify.test.w_compile_tf-aws.md index c7c2345a711..abf6a1f0424 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/stringify.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/stringify.test.w_compile_tf-aws.md @@ -31,9 +31,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; const MyEnum = (function (tmp) { tmp["A"] = "A"; diff --git a/tools/hangar/__snapshots__/test_corpus/valid/struct_from_json.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/struct_from_json.test.w_compile_tf-aws.md index 65c76f35127..dbd874c1694 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/struct_from_json.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/struct_from_json.test.w_compile_tf-aws.md @@ -176,14 +176,12 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; +const externalStructs = require("./preflight.structs-1.cjs"); +const otherExternalStructs = require("./preflight.structs2-2.cjs"); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - const externalStructs = $helpers.bringJs(`${__dirname}/preflight.structs-1.cjs`, $preflightTypesMap); - const otherExternalStructs = $helpers.bringJs(`${__dirname}/preflight.structs2-2.cjs`, $preflightTypesMap); const Bar = $stdlib.std.Struct._createJsonSchema({$id:"/Bar",type:"object",properties:{b:{type:"number"},f:{type:"string"},},required:["b","f",]}); const Foo = $stdlib.std.Struct._createJsonSchema({$id:"/Foo",type:"object",properties:{f:{type:"string"},},required:["f",]}); const Foosible = $stdlib.std.Struct._createJsonSchema({$id:"/Foosible",type:"object",properties:{f:{type:"string"},},required:[]}); @@ -191,7 +189,6 @@ class $Root extends $stdlib.std.Resource { const Student = $stdlib.std.Struct._createJsonSchema({$id:"/Student",type:"object",properties:{additionalData:{type:["object","string","boolean","number","array"]},advisor:{type:"object",properties:{dob:{type:"object",properties:{day:{type:"number"},month:{type:"number"},year:{type:"number"},},required:["day","month","year",]},employeeID:{type:"string"},firstName:{type:"string"},lastName:{type:"string"},},required:["dob","employeeID","firstName","lastName",]},coursesTaken:{type:"array",items:{type:"object",properties:{course:{type:"object",properties:{credits:{type:"number"},name:{type:"string"},},required:["credits","name",]},dateTaken:{type:"object",properties:{day:{type:"number"},month:{type:"number"},year:{type:"number"},},required:["day","month","year",]},grade:{type:"string"},},required:["course","dateTaken","grade",]}},dob:{type:"object",properties:{day:{type:"number"},month:{type:"number"},year:{type:"number"},},required:["day","month","year",]},enrolled:{type:"boolean"},enrolledCourses:{type:"array",uniqueItems:true,items:{type:"object",properties:{credits:{type:"number"},name:{type:"string"},},required:["credits","name",]}},firstName:{type:"string"},lastName:{type:"string"},schoolId:{type:"string"},},required:["dob","enrolled","firstName","lastName","schoolId",]}); const cloud_BucketProps = $stdlib.std.Struct._createJsonSchema({$id:"/BucketProps",type:"object",properties:{public:{type:"boolean"},},required:[]}); const externalStructs_MyOtherStruct = $stdlib.std.Struct._createJsonSchema({$id:"/MyOtherStruct",type:"object",properties:{data:{type:"object",properties:{val:{type:"number"},},required:["val",]},},required:["data",]}); - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -220,11 +217,9 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$stdlib.core.toLiftableModuleType(cloud_BucketProps, "@winglang/sdk/cloud", "BucketProps"), ["fromJson"]], [j, []], ], "$inflight_init": [ - [$stdlib.core.toLiftableModuleType(cloud_BucketProps, "@winglang/sdk/cloud", "BucketProps"), []], [j, []], ], }); @@ -257,10 +252,8 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [Student, ["fromJson"]], ], "$inflight_init": [ - [Student, []], ], }); } @@ -293,11 +286,9 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [Student, ["fromJson"]], [jStudent1, []], ], "$inflight_init": [ - [Student, []], [jStudent1, []], ], }); @@ -334,15 +325,11 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$stdlib.core.toLiftableModuleType(std.Json, "@winglang/sdk/std", "Json"), ["stringify"]], - [MyStruct, ["schema"]], [expectedSchema, []], [jMyStruct, []], [schema, ["asStr"]], ], "$inflight_init": [ - [$stdlib.core.toLiftableModuleType(std.Json, "@winglang/sdk/std", "Json"), []], - [MyStruct, []], [expectedSchema, []], [jMyStruct, []], [schema, []], @@ -380,16 +367,8 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$stdlib.core.toLiftableModuleType(std.Boolean, "@winglang/sdk/std", "Boolean"), ["fromJson"]], - [$stdlib.core.toLiftableModuleType(std.Number, "@winglang/sdk/std", "Number"), ["fromJson"]], - [$stdlib.core.toLiftableModuleType(std.String, "@winglang/sdk/std", "String"), ["fromJson"]], - [Student, ["fromJson"]], ], "$inflight_init": [ - [$stdlib.core.toLiftableModuleType(std.Boolean, "@winglang/sdk/std", "Boolean"), []], - [$stdlib.core.toLiftableModuleType(std.Number, "@winglang/sdk/std", "Number"), []], - [$stdlib.core.toLiftableModuleType(std.String, "@winglang/sdk/std", "String"), []], - [Student, []], ], }); } @@ -532,8 +511,7 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -let $preflightTypesMap = {}; -module.exports = { $preflightTypesMap, }; +module.exports = { }; //# sourceMappingURL=preflight.structs-1.cjs.map ``` @@ -544,7 +522,6 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -let $preflightTypesMap = {}; const SomeStruct = $stdlib.std.Struct._createJsonSchema({$id:"/SomeStruct",type:"object",properties:{foo:{type:"string"},},required:["foo",]}); class UsesStructInImportedFile extends $stdlib.std.Resource { constructor($scope, $id, ) { @@ -575,7 +552,7 @@ class UsesStructInImportedFile extends $stdlib.std.Resource { }); } } -module.exports = { $preflightTypesMap, UsesStructInImportedFile }; +module.exports = { UsesStructInImportedFile }; //# sourceMappingURL=preflight.structs2-2.cjs.map ``` diff --git a/tools/hangar/__snapshots__/test_corpus/valid/structs.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/structs.test.w_compile_tf-aws.md index 234bfdbe3d8..c7f1e74c5a8 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/structs.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/structs.test.w_compile_tf-aws.md @@ -67,13 +67,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const expect = $stdlib.expect; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const expect = $stdlib.expect; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, b) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/super_call.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/super_call.test.w_compile_tf-aws.md index 083a31cb4d7..def61b603a0 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/super_call.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/super_call.test.w_compile_tf-aws.md @@ -223,14 +223,11 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const expect = $stdlib.expect; +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const expect = $stdlib.expect; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class A extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -415,8 +412,6 @@ class $Root extends $stdlib.std.Resource { }); } } - if ($preflightTypesMap[6]) { throw new Error("InflightA is already in type map"); } - $preflightTypesMap[6] = InflightA; class InflightB extends InflightA { constructor($scope, $id, ) { super($scope, $id); @@ -448,8 +443,6 @@ class $Root extends $stdlib.std.Resource { }); } } - if ($preflightTypesMap[7]) { throw new Error("InflightB is already in type map"); } - $preflightTypesMap[7] = InflightB; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -478,14 +471,8 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$helpers.preflightClassSingleton(this, 7), ["description"]], - [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), ["equal"]], - [InflightB, []], ], "$inflight_init": [ - [$helpers.preflightClassSingleton(this, 7), []], - [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), []], - [InflightB, []], ], }); } @@ -585,11 +572,9 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), ["equal"]], [extended, ["do"]], ], "$inflight_init": [ - [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), []], [extended, []], ], }); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/symbol_shadow.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/symbol_shadow.test.w_compile_tf-aws.md index 42b94770984..421ba0afddc 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/symbol_shadow.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/symbol_shadow.test.w_compile_tf-aws.md @@ -123,13 +123,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class A extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/table.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/table.test.w_compile_tf-aws.md index c927d4a3054..0e2da91975a 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/table.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/table.test.w_compile_tf-aws.md @@ -52,13 +52,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const ex = $stdlib.ex; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const ex = $stdlib.ex; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; const t = this.node.root.new("@winglang/sdk.ex.Table", ex.Table, this, "Table", { name: "simple-table", primaryKey: "id", columns: ({["id"]: ex.ColumnType.STRING, ["name"]: ex.ColumnType.STRING, ["age"]: ex.ColumnType.NUMBER}) }); } } diff --git a/tools/hangar/__snapshots__/test_corpus/valid/test_bucket.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/test_bucket.test.w_compile_tf-aws.md index 5ea2ff2f6cb..3c3ac279786 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/test_bucket.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/test_bucket.test.w_compile_tf-aws.md @@ -85,13 +85,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/test_without_bring.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/test_without_bring.test.w_compile_tf-aws.md index 599ddd7e22c..7b18f6b34ae 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/test_without_bring.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/test_without_bring.test.w_compile_tf-aws.md @@ -51,9 +51,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/this.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/this.test.w_compile_tf-aws.md index a62860645e0..2356d69988e 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/this.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/this.test.w_compile_tf-aws.md @@ -28,13 +28,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const expect = $stdlib.expect; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const expect = $stdlib.expect; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; const path = $helpers.nodeof(this).path; for (const c of $helpers.nodeof(this).children) { console.log($helpers.nodeof(c).path); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/to_inflight.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/to_inflight.test.w_compile_tf-aws.md index 250004648b3..c6e72bfd406 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/to_inflight.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/to_inflight.test.w_compile_tf-aws.md @@ -62,13 +62,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/try_catch.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/try_catch.test.w_compile_tf-aws.md index ea344d1aede..4010f1331de 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/try_catch.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/try_catch.test.w_compile_tf-aws.md @@ -31,9 +31,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; let x = ""; try { throw new Error("hello"); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/unused_lift.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/unused_lift.test.w_compile_tf-aws.md index ba775e69f5d..096a246a18b 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/unused_lift.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/unused_lift.test.w_compile_tf-aws.md @@ -120,13 +120,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/use_inflight_method_inside_init_closure.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/use_inflight_method_inside_init_closure.test.w_compile_tf-aws.md index 136422bbe26..b66cafb179b 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/use_inflight_method_inside_init_closure.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/use_inflight_method_inside_init_closure.test.w_compile_tf-aws.md @@ -170,13 +170,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/website_with_api.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/website_with_api.test.w_compile_tf-aws.md index fabea5493dc..692db90b036 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/website_with_api.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/website_with_api.test.w_compile_tf-aws.md @@ -628,16 +628,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; +const ex = $stdlib.ex; +const http = $stdlib.http; +const expect = $stdlib.expect; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - const ex = $stdlib.ex; - const http = $stdlib.http; - const expect = $stdlib.expect; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -666,11 +663,9 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$stdlib.core.toLiftableModuleType(std.Json, "@winglang/sdk/std", "Json"), ["stringify"]], [usersTable, ["list"]], ], "$inflight_init": [ - [$stdlib.core.toLiftableModuleType(std.Json, "@winglang/sdk/std", "Json"), []], [usersTable, []], ], }); @@ -704,11 +699,9 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$stdlib.core.toLiftableModuleType(std.Json, "@winglang/sdk/std", "Json"), [].concat(["parse"], ["stringify"])], [usersTable, ["insert"]], ], "$inflight_init": [ - [$stdlib.core.toLiftableModuleType(std.Json, "@winglang/sdk/std", "Json"), []], [usersTable, []], ], }); @@ -744,15 +737,9 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), [].concat(["equal"], ["nil"])], - [$stdlib.core.toLiftableModuleType(http.HttpMethod, "@winglang/sdk/http", "HttpMethod"), ["GET"]], - [$stdlib.core.toLiftableModuleType(http.Util, "@winglang/sdk/http", "Util"), ["fetch"]], [api.url, []], ], "$inflight_init": [ - [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), []], - [$stdlib.core.toLiftableModuleType(http.HttpMethod, "@winglang/sdk/http", "HttpMethod"), []], - [$stdlib.core.toLiftableModuleType(http.Util, "@winglang/sdk/http", "Util"), []], [api.url, []], ], }); @@ -788,15 +775,9 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), ["equal"]], - [$stdlib.core.toLiftableModuleType(http.HttpMethod, "@winglang/sdk/http", "HttpMethod"), ["OPTIONS"]], - [$stdlib.core.toLiftableModuleType(http.Util, "@winglang/sdk/http", "Util"), ["fetch"]], [api.url, []], ], "$inflight_init": [ - [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), []], - [$stdlib.core.toLiftableModuleType(http.HttpMethod, "@winglang/sdk/http", "HttpMethod"), []], - [$stdlib.core.toLiftableModuleType(http.Util, "@winglang/sdk/http", "Util"), []], [api.url, []], ], }); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/while.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/while.test.w_compile_tf-aws.md index 710be6ffecd..d380f7b9611 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/while.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/while.test.w_compile_tf-aws.md @@ -31,9 +31,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; while (false) { const x = 1; } diff --git a/tools/hangar/__snapshots__/test_corpus/valid/while_loop_await.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/while_loop_await.test.w_compile_tf-aws.md index b86de064c41..536b86d5155 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/while_loop_await.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/while_loop_await.test.w_compile_tf-aws.md @@ -189,13 +189,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { From f35b02e9760685252c3c753cf6b56f1d738a7e50 Mon Sep 17 00:00:00 2001 From: yoav-steinberg Date: Sat, 29 Jun 2024 08:34:46 +0300 Subject: [PATCH 16/17] fix(compiler): lifting globals from inflight classes defined in preflight fails, take 2 (#6801) This is a resubmit of #5559 with the following fix: The `bringJs` helper function merges the brought module's type map into the bringing module's type map. During this merge there's a safety check to verify we don't overwrite one type over another if they have the same uids (should never happen). In reality there are cases where the same type in brought twice (two different files include the same .w file). I now detect these cases and ignore them in the safety check. Also added a test for this. ## Checklist - [x] Title matches [Winglang's style guide](https://www.winglang.io/contributing/start-here/pull_requests#how-are-pull-request-titles-formatted) - [x] Description explains motivation and solution - [x] Tests added (always) - [ ] Docs updated (only required for features) - [ ] Added `pr/e2e-full` label if this feature requires end-to-end testing *By submitting this pull request, I confirm that my contribution is made under the terms of the [Wing Cloud Contribution License](https://github.com/winglang/wing/blob/main/CONTRIBUTION_LICENSE.md)*. --- apps/wing/src/commands/pack.test.ts | 1 + ...ight_class_capture_preflight_object.test.w | 64 +- examples/tests/valid/subdir/bar.w | 2 + examples/tests/valid/subdir2/inflight_class.w | 5 + .../src/dtsify/snapshots/declarations.snap | 13 +- .../wingc/src/dtsify/snapshots/optionals.snap | 9 +- libs/wingc/src/jsify.rs | 128 +-- ...methods_and_properties_on_collections.snap | 3 + .../access_property_on_primitive.snap | 3 + ...rty_on_value_returned_from_collection.snap | 3 + .../allow_type_def_before_super.snap | 3 + .../base_class_captures_inflight.snap | 3 + .../base_class_captures_preflight.snap | 3 + .../snapshots/base_class_lift_indirect.snap | 5 +- .../base_class_with_fields_inflight.snap | 3 + .../base_class_with_fields_preflight.snap | 3 + .../base_class_with_lifted_field_object.snap | 5 +- .../base_class_with_lifted_fields.snap | 3 + libs/wingc/src/jsify/snapshots/builtins.snap | 3 + ..._static_inflight_from_static_inflight.snap | 5 + .../calls_methods_on_preflight_object.snap | 5 +- ...pture_from_inside_an_inflight_closure.snap | 5 +- ...entifier_closure_from_preflight_scope.snap | 3 + ...pture_identifier_from_preflight_scope.snap | 3 + ...from_preflight_scope_with_method_call.snap | 3 + ...om_preflight_scope_with_nested_object.snap | 5 +- ...er_from_preflight_scope_with_property.snap | 3 + .../snapshots/capture_in_keyword_args.snap | 7 +- .../capture_object_with_this_in_name.snap | 5 +- .../src/jsify/snapshots/capture_token.snap | 5 +- ...type_inflight_class_sibling_from_init.snap | 3 + ...pe_inflight_class_sibling_from_method.snap | 3 + ...e_new_inflight_class_inner_no_capture.snap | 3 + ...capture_type_new_inflight_class_outer.snap | 7 + .../snapshots/capture_type_static_method.snap | 3 + ...ure_type_static_method_inflight_class.snap | 7 + .../capture_var_from_method_inflight.snap | 3 + ...ht_class_extends_outer_inflight_class.snap | 7 + .../src/jsify/snapshots/closure_field.snap | 5 +- .../src/jsify/snapshots/entrypoint_this.snap | 3 + .../wingc/src/jsify/snapshots/enum_value.snap | 5 + .../free_inflight_obj_from_inflight.snap | 3 + .../free_preflight_object_from_preflight.snap | 3 + .../jsify/snapshots/func_returns_func.snap | 3 + .../src/jsify/snapshots/identify_field.snap | 5 +- .../implicit_lift_inflight_init.snap | 5 +- .../src/jsify/snapshots/indirect_capture.snap | 5 +- ..._extends_both_inside_inflight_closure.snap | 3 + ...inflight_class_extends_inflight_class.snap | 7 + .../jsify/snapshots/inflight_constructor.snap | 3 + .../src/jsify/snapshots/inflight_field.snap | 3 + .../inflight_field_from_inflight.snap | 3 + .../inflight_field_from_inflight_class.snap | 5 + .../snapshots/inline_inflight_class.snap | 5 +- .../src/jsify/snapshots/json_object.snap | 5 + ...ary_preflight_and_inflight_expression.snap | 3 + .../lift_binary_preflight_expression.snap | 3 + ...lift_element_from_collection_as_field.snap | 5 +- ...ft_element_from_collection_of_objects.snap | 5 +- .../snapshots/lift_inflight_closure.snap | 3 + .../lift_inside_preflight_method.snap | 5 +- .../jsify/snapshots/lift_self_reference.snap | 3 + .../src/jsify/snapshots/lift_string.snap | 3 + libs/wingc/src/jsify/snapshots/lift_this.snap | 3 + .../jsify/snapshots/lift_var_with_this.snap | 3 + .../src/jsify/snapshots/lift_via_closure.snap | 5 +- .../lift_via_closure_class_explicit.snap | 5 +- .../namespaced_static_from_inflight.snap | 7 +- ...ed_inflight_after_preflight_operation.snap | 5 +- .../snapshots/nested_preflight_operation.snap | 5 +- .../jsify/snapshots/new_inflight_object.snap | 7 + .../snapshots/no_capture_inside_methods.snap | 3 + ...apture_of_identifier_from_inner_scope.snap | 3 + ...capture_of_identifier_from_same_scope.snap | 3 + ...no_capture_shadow_inside_inner_scopes.snap | 3 + .../no_lift_shadow_inside_inner_scopes.snap | 3 + ...eflight_class_extends_preflight_class.snap | 3 + .../jsify/snapshots/preflight_collection.snap | 3 + ...light_collection_of_preflight_objects.snap | 5 +- ...eflight_nested_object_with_operations.snap | 5 +- .../src/jsify/snapshots/preflight_object.snap | 3 + .../preflight_object_through_property.snap | 5 +- .../preflight_object_with_operations.snap | 5 +- ...ject_with_operations_multiple_methods.snap | 5 +- .../snapshots/preflight_value_field.snap | 3 + ...ht_type_refrencing_preflight_instance.snap | 209 +++++ .../jsify/snapshots/read_primitive_value.snap | 3 + .../snapshots/reassign_captured_variable.snap | 3 + ...eassigned_captured_variable_preflight.snap | 3 + .../src/jsify/snapshots/ref_std_macro.snap | 3 + .../reference_from_static_inflight.snap | 3 + .../snapshots/reference_inflight_class.snap | 7 + .../snapshots/reference_inflight_field.snap | 3 + .../reference_inflight_from_inflight.snap | 7 + .../reference_lift_of_collection.snap | 3 + .../snapshots/reference_preflight_field.snap | 3 + ...eflight_field_call_independent_method.snap | 3 + .../snapshots/reference_preflight_fields.snap | 5 +- ..._variable_with_this_in_the_expression.snap | 5 +- ...preflight_object_from_static_inflight.snap | 5 +- .../snapshots/reference_static_inflight.snap | 3 + ...ght_which_references_preflight_object.snap | 5 +- .../static_external_inflight_class.snap | 7 + .../static_external_preflight_class.snap | 3 + .../snapshots/static_inflight_operation.snap | 5 +- .../static_local_inflight_class.snap | 3 + .../jsify/snapshots/static_on_std_type.snap | 7 + .../jsify/snapshots/transitive_reference.snap | 5 +- ...ansitive_reference_via_inflight_class.snap | 11 +- .../transitive_reference_via_static.snap | 5 +- .../jsify/snapshots/two_identical_lifts.snap | 5 +- .../jsify/snapshots/use_util_functions.snap | 7 +- .../var_inflight_field_from_inflight.snap | 3 + libs/wingc/src/jsify/snapshots/wait_util.snap | 7 +- libs/wingc/src/jsify/tests.rs | 23 + libs/wingc/src/lifting.rs | 57 +- libs/wingc/src/lsp/symbol_locator.rs | 2 +- libs/wingc/src/type_check.rs | 129 +-- libs/wingc/src/type_check/jsii_importer.rs | 5 + libs/wingc/src/type_check/lifts.rs | 2 +- libs/wingc/src/visit_context.rs | 8 +- libs/wingsdk/src/core/lifting.ts | 5 +- libs/wingsdk/src/helpers.ts | 61 ++ tools/hangar/__snapshots__/invalid.ts.snap | 14 - .../anon_function.test.w_compile_tf-aws.md | 3 + .../valid/api.test.w_compile_tf-aws.md | 7 +- .../api_cors_custom.test.w_compile_tf-aws.md | 27 +- .../api_cors_default.test.w_compile_tf-aws.md | 21 +- .../api_valid_path.test.w_compile_tf-aws.md | 7 +- .../valid/assert.test.w_compile_tf-aws.md | 3 + ...wait_in_functions.test.w_compile_tf-aws.md | 5 +- .../test_corpus/valid/baz.w_compile_tf-aws.md | 3 +- .../bring_alias.test.w_compile_tf-aws.md | 7 +- .../bring_awscdk.test.w_compile_tf-aws.md | 5 +- .../bring_cdk8s.test.w_compile_tf-aws.md | 7 +- .../bring_cdktf.test.w_compile_tf-aws.md | 7 +- ..._extend_non_entry.test.w_compile_tf-aws.md | 8 +- .../valid/bring_jsii.test.w_compile_tf-aws.md | 11 +- .../bring_local.test.w_compile_tf-aws.md | 26 +- .../bring_local_dir.test.w_compile_tf-aws.md | 98 ++- ...cal_normalization.test.w_compile_tf-aws.md | 64 +- .../bring_projen.test.w_compile_tf-aws.md | 5 +- ...ring_wing_library.test.w_compile_tf-aws.md | 36 +- .../bucket_keys.test.w_compile_tf-aws.md | 5 +- .../bypass_return.test.w_compile_tf-aws.md | 3 + ..._static_of_myself.test.w_compile_tf-aws.md | 11 + ...inflight_variants.test.w_compile_tf-aws.md | 3 + ...apture_containers.test.w_compile_tf-aws.md | 5 +- ...capture_in_binary.test.w_compile_tf-aws.md | 5 +- .../capture_mutables.test.w_compile_tf-aws.md | 3 + ...apture_primitives.test.w_compile_tf-aws.md | 5 +- ...gable_class_field.test.w_compile_tf-aws.md | 9 +- ...ture_reassignable.test.w_compile_tf-aws.md | 5 +- ...resource_and_data.test.w_compile_tf-aws.md | 5 +- ..._with_no_inflight.test.w_compile_tf-aws.md | 5 +- .../capture_tokens.test.w_compile_tf-aws.md | 5 +- .../valid/captures.test.w_compile_tf-aws.md | 5 +- .../valid/casting.test.w_compile_tf-aws.md | 9 +- .../valid/class.test.w_compile_tf-aws.md | 13 +- .../closure_class.test.w_compile_tf-aws.md | 3 + .../construct-base.test.w_compile_tf-aws.md | 9 +- .../container_types.test.w_compile_tf-aws.md | 5 +- .../custom_obj_id.test.w_compile_tf-aws.md | 3 + .../valid/debug_env.test.w_compile_tf-aws.md | 5 +- .../deep_equality.test.w_compile_tf-aws.md | 5 + .../double_reference.test.w_compile_tf-aws.md | 5 +- .../valid/doubler.test.w_compile_tf-aws.md | 9 +- .../valid/enums.test.w_compile_tf-aws.md | 7 + ...ift_qualification.test.w_compile_tf-aws.md | 5 +- ..._binary_operators.test.w_compile_tf-aws.md | 3 + ...ing_interpolation.test.w_compile_tf-aws.md | 7 +- .../extend_non_entrypoint.w_compile_tf-aws.md | 3 +- ...rn_implementation.test.w_compile_tf-aws.md | 5 +- .../file_counter.test.w_compile_tf-aws.md | 5 +- .../valid/for_loop.test.w_compile_tf-aws.md | 5 +- .../forward_decl.test.w_compile_tf-aws.md | 3 + ...ptional_arguments.test.w_compile_tf-aws.md | 3 + ..._returns_function.test.w_compile_tf-aws.md | 5 +- .../function_type.test.w_compile_tf-aws.md | 3 + ...ariadic_arguments.test.w_compile_tf-aws.md | 5 +- .../valid/hello.test.w_compile_tf-aws.md | 5 +- ...entical_inflights.test.w_compile_tf-aws.md | 3 + .../impl_interface.test.w_compile_tf-aws.md | 9 +- .../implicit_std.test.w_compile_tf-aws.md | 3 + ...n_scope_construct.test.w_compile_tf-aws.md | 5 +- .../valid/indexing.test.w_compile_tf-aws.md | 7 +- .../valid/inference.test.w_compile_tf-aws.md | 5 +- ...light-subscribers.test.w_compile_tf-aws.md | 5 +- ...ht_capture_static.test.w_compile_tf-aws.md | 11 +- ...as_struct_members.test.w_compile_tf-aws.md | 9 + ...ass_capture_const.test.w_compile_tf-aws.md | 11 +- ..._preflight_object.test.w_compile_tf-aws.md | 746 ++++++++++++++++++ ...apture_preflight_object.test.w_test_sim.md | 8 +- ...class_definitions.test.w_compile_tf-aws.md | 15 + ...r_capture_mutable.test.w_compile_tf-aws.md | 5 +- ..._inflight_closure.test.w_compile_tf-aws.md | 5 +- ...t_class_modifiers.test.w_compile_tf-aws.md | 5 + ..._inflight_closure.test.w_compile_tf-aws.md | 11 +- ..._interace_handler.test.w_compile_tf-aws.md | 10 +- ...lass_without_init.test.w_compile_tf-aws.md | 9 +- ...re_as_super_param.test.w_compile_tf-aws.md | 3 + ...ht_closure_autoid.test.w_compile_tf-aws.md | 3 + ...preflight_closure.test.w_compile_tf-aws.md | 3 + .../inflight_concat.test.w_compile_tf-aws.md | 5 +- ...handler_singleton.test.w_compile_tf-aws.md | 19 +- .../inflight_init.test.w_compile_tf-aws.md | 19 +- ...calling_inflights.test.w_compile_tf-aws.md | 5 +- ...erit_stdlib_class.test.w_compile_tf-aws.md | 9 +- ...ce_class_inflight.test.w_compile_tf-aws.md | 7 +- ...e_class_preflight.test.w_compile_tf-aws.md | 5 +- ...ritance_interface.test.w_compile_tf-aws.md | 5 +- .../valid/interface.test.w_compile_tf-aws.md | 3 + .../valid/intrinsics.test.w_compile_tf-aws.md | 58 +- .../valid/issue_2889.test.w_compile_tf-aws.md | 13 +- .../valid/json.test.w_compile_tf-aws.md | 5 +- .../json_bucket.test.w_compile_tf-aws.md | 5 +- .../json_static.test.w_compile_tf-aws.md | 7 +- ...ing_interpolation.test.w_compile_tf-aws.md | 3 + ...ft_expr_with_this.test.w_compile_tf-aws.md | 3 + ...losure_collection.test.w_compile_tf-aws.md | 5 +- ..._object_issue6501.test.w_compile_tf-aws.md | 11 +- ...ift_parent_fields.test.w_compile_tf-aws.md | 3 + ...lift_redefinition.test.w_compile_tf-aws.md | 3 + ...t_shared_resource.test.w_compile_tf-aws.md | 9 +- .../valid/lift_this.test.w_compile_tf-aws.md | 7 +- .../lift_via_closure.test.w_compile_tf-aws.md | 5 +- ..._closure_explicit.test.w_compile_tf-aws.md | 5 +- .../lift_weird_order.test.w_compile_tf-aws.md | 3 + ...ft_with_phase_ind.test.w_compile_tf-aws.md | 7 +- .../map_entries.test.w_compile_tf-aws.md | 3 + ...t_container_types.test.w_compile_tf-aws.md | 5 +- ..._after_class_init.test.w_compile_tf-aws.md | 9 +- .../new_in_static.test.w_compile_tf-aws.md | 14 +- .../new_in_static_lib.w_compile_tf-aws.md | 3 +- .../valid/new_jsii.test.w_compile_tf-aws.md | 5 +- .../valid/nil.test.w_compile_tf-aws.md | 5 +- .../valid/on_lift.test.w_compile_tf-aws.md | 8 +- .../valid/optionals.test.w_compile_tf-aws.md | 5 +- .../parameters.test.w_compile_tf-aws.md | 3 + .../parameters.test.w_compile_tf-aws.md | 3 + ..._method_on_string.test.w_compile_tf-aws.md | 9 +- ...primitive_methods.test.w_compile_tf-aws.md | 3 + .../valid/print.test.w_compile_tf-aws.md | 5 +- .../reassignment.test.w_compile_tf-aws.md | 3 + .../valid/redis.test.w_compile_tf-aws.md | 11 +- .../valid/resource.test.w_compile_tf-aws.md | 11 +- ..._inflight_literal.test.w_compile_tf-aws.md | 5 +- ...ource_call_static.test.w_compile_tf-aws.md | 5 +- ...resource_captures.test.w_compile_tf-aws.md | 5 +- ..._captures_globals.test.w_compile_tf-aws.md | 9 +- .../valid/service.test.w_compile_tf-aws.md | 3 + .../valid/shadowing.test.w_compile_tf-aws.md | 5 +- .../sim_resource.test.w_compile_tf-aws.md | 9 +- ...tatements_before_super.w_compile_tf-aws.md | 3 +- .../statements_if.test.w_compile_tf-aws.md | 5 +- ...able_declarations.test.w_compile_tf-aws.md | 3 + .../static_members.test.w_compile_tf-aws.md | 5 +- .../std_containers.test.w_compile_tf-aws.md | 3 + .../valid/std_string.test.w_compile_tf-aws.md | 3 + .../valid/store.w_compile_tf-aws.md | 8 +- .../valid/stringify.test.w_compile_tf-aws.md | 3 + .../struct_from_json.test.w_compile_tf-aws.md | 33 +- .../valid/structs.test.w_compile_tf-aws.md | 5 +- .../valid/super_call.test.w_compile_tf-aws.md | 19 +- .../symbol_shadow.test.w_compile_tf-aws.md | 5 +- .../valid/table.test.w_compile_tf-aws.md | 5 +- .../test_bucket.test.w_compile_tf-aws.md | 5 +- ...est_without_bring.test.w_compile_tf-aws.md | 3 + .../valid/this.test.w_compile_tf-aws.md | 5 +- .../to_inflight.test.w_compile_tf-aws.md | 5 +- .../valid/try_catch.test.w_compile_tf-aws.md | 3 + .../unused_lift.test.w_compile_tf-aws.md | 5 +- ...side_init_closure.test.w_compile_tf-aws.md | 5 +- .../website_with_api.test.w_compile_tf-aws.md | 27 +- .../valid/while.test.w_compile_tf-aws.md | 3 + .../while_loop_await.test.w_compile_tf-aws.md | 5 +- 276 files changed, 2757 insertions(+), 416 deletions(-) create mode 100644 examples/tests/valid/subdir2/inflight_class.w create mode 100644 libs/wingc/src/jsify/snapshots/qualify_inflight_type_refrencing_preflight_instance.snap diff --git a/apps/wing/src/commands/pack.test.ts b/apps/wing/src/commands/pack.test.ts index 3bc815e0143..d424bb258ba 100644 --- a/apps/wing/src/commands/pack.test.ts +++ b/apps/wing/src/commands/pack.test.ts @@ -200,6 +200,7 @@ describe("wing pack", () => { expect(mod).toBeDefined(); expect(Object.keys(mod).sort()).toMatchInlineSnapshot(` [ + "$preflightTypesMap", "FavoriteNumbers", "Store", "default", diff --git a/examples/tests/valid/inflight_class_capture_preflight_object.test.w b/examples/tests/valid/inflight_class_capture_preflight_object.test.w index 1dfeaceedaf..e23242ddb45 100644 --- a/examples/tests/valid/inflight_class_capture_preflight_object.test.w +++ b/examples/tests/valid/inflight_class_capture_preflight_object.test.w @@ -1,18 +1,54 @@ -// https://github.com/winglang/wing/issues/2730 -// FAILING: +bring cloud; +bring "./subdir2" as subdir; -// bring cloud; +let b = new cloud.Bucket(); -// let b = new cloud.Bucket(); -// let myConst = "bang bang"; +inflight class Foo { + pub uploadToBucket(k: str, value: str) { + b.put(k, value); + assert(b.get(k) == value); + } -// inflight class Foo { -// uploadToBucket(k: str, value: str) { -// b.put(k, value); -// } -// } + static pub fooStatic() { + b.put("a", "b"); + assert(b.list() == ["a"]); + } +} -// test "inflight class captures preflight resource" { -// let f = new Foo(); -// f.uploadToBucket("hello.txt", "world"); -// } +test "inflight class captures preflight resource" { + let f = new Foo(); + f.uploadToBucket("hello.txt", "world"); +} + +test "inflight class type captures preflight resource" { + Foo.fooStatic(); +} + + +let getFoo = inflight () => { + return new Foo(); +}; + +test "inflight class qualified without explicit reference" { + // Get instance of Foo without mentioning the type + let foo = getFoo(); + // Now Foo needs to be qualified correcly + foo.uploadToBucket("greetings.txt", "universe"); +} + +test "inflight class defined inflight captures preflight object" { + class Foo2 { + pub uploadToBucket() { + b.put("x", "y"); + assert(b.get("x") == "y"); + } + } + + let f = new Foo2(); + f.uploadToBucket(); +} + +test "bring inflight class from subdir" { + let x = new subdir.InflightClass(); + assert(x.method() == "What did you expect?"); +} diff --git a/examples/tests/valid/subdir/bar.w b/examples/tests/valid/subdir/bar.w index d71c7640c46..ff24b6028a7 100644 --- a/examples/tests/valid/subdir/bar.w +++ b/examples/tests/valid/subdir/bar.w @@ -8,3 +8,5 @@ pub class Bar { return @dirname; } } + +pub inflight class InflightBar {} \ No newline at end of file diff --git a/examples/tests/valid/subdir2/inflight_class.w b/examples/tests/valid/subdir2/inflight_class.w new file mode 100644 index 00000000000..bdf37243fe0 --- /dev/null +++ b/examples/tests/valid/subdir2/inflight_class.w @@ -0,0 +1,5 @@ +pub inflight class InflightClass { + pub method(): str { + return "What did you expect?"; + } +} \ No newline at end of file diff --git a/libs/wingc/src/dtsify/snapshots/declarations.snap b/libs/wingc/src/dtsify/snapshots/declarations.snap index 98f93db09e3..59471505957 100644 --- a/libs/wingc/src/dtsify/snapshots/declarations.snap +++ b/libs/wingc/src/dtsify/snapshots/declarations.snap @@ -105,9 +105,9 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -module.exports = { - ...require("./preflight.lib-1.cjs"), -}; +const $preflightTypesMap = {}; +Object.assign(module.exports, $helpers.bringJs(`${__dirname}/preflight.lib-1.cjs`, $preflightTypesMap)); +module.exports = { ...module.exports, $preflightTypesMap }; //# sourceMappingURL=preflight.cjs.map ``` @@ -125,6 +125,7 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +let $preflightTypesMap = {}; class InflightClass extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -155,6 +156,8 @@ class InflightClass extends $stdlib.std.Resource { }); } } +if ($preflightTypesMap[1]) { throw new Error("InflightClass is already in type map"); } +$preflightTypesMap[1] = InflightClass; class ParentClass extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -186,12 +189,14 @@ class ParentClass extends $stdlib.std.Resource { "bar": [ ], "$inflight_init": [ + [InflightClass, []], ], }); } static get _liftTypeMap() { return ({ "static_method": [ + [InflightClass, []], ], }); } @@ -225,7 +230,7 @@ class Child extends ParentClass { }); } } -module.exports = { InflightClass, ParentClass, Child }; +module.exports = { $preflightTypesMap, InflightClass, ParentClass, Child }; //# sourceMappingURL=preflight.lib-1.cjs.map ``` diff --git a/libs/wingc/src/dtsify/snapshots/optionals.snap b/libs/wingc/src/dtsify/snapshots/optionals.snap index deac88efa6f..f2ec550c899 100644 --- a/libs/wingc/src/dtsify/snapshots/optionals.snap +++ b/libs/wingc/src/dtsify/snapshots/optionals.snap @@ -46,9 +46,9 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -module.exports = { - ...require("./preflight.lib-1.cjs"), -}; +const $preflightTypesMap = {}; +Object.assign(module.exports, $helpers.bringJs(`${__dirname}/preflight.lib-1.cjs`, $preflightTypesMap)); +module.exports = { ...module.exports, $preflightTypesMap }; //# sourceMappingURL=preflight.cjs.map ``` @@ -66,6 +66,7 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +let $preflightTypesMap = {}; class ParentClass extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -96,7 +97,7 @@ class ParentClass extends $stdlib.std.Resource { }); } } -module.exports = { ParentClass }; +module.exports = { $preflightTypesMap, ParentClass }; //# sourceMappingURL=preflight.lib-1.cjs.map ``` diff --git a/libs/wingc/src/jsify.rs b/libs/wingc/src/jsify.rs index bba287f31a7..93d8d35c89a 100644 --- a/libs/wingc/src/jsify.rs +++ b/libs/wingc/src/jsify.rs @@ -41,8 +41,8 @@ const PREFLIGHT_FILE_NAME: &str = "preflight.cjs"; const STDLIB: &str = "$stdlib"; const STDLIB_CORE: &str = formatcp!("{STDLIB}.core"); -const STDLIB_CORE_RESOURCE: &str = formatcp!("{}.{}", STDLIB, WINGSDK_RESOURCE); -const STDLIB_CORE_AUTOID_RESOURCE: &str = formatcp!("{}.{}", STDLIB, WINGSDK_AUTOID_RESOURCE); +const STDLIB_CORE_RESOURCE: &str = formatcp!("{STDLIB}.{WINGSDK_RESOURCE}"); +const STDLIB_CORE_AUTOID_RESOURCE: &str = formatcp!("{STDLIB}.{WINGSDK_AUTOID_RESOURCE}"); const STDLIB_MODULE: &str = WINGSDK_ASSEMBLY_NAME; const ENV_WING_IS_TEST: &str = "$wing_is_test"; @@ -59,6 +59,9 @@ const __DIRNAME: &str = "__dirname"; const SUPER_CLASS_INFLIGHT_INIT_NAME: &str = formatcp!("super_{CLASS_INFLIGHT_INIT_NAME}"); +const PREFLIGHT_TYPES_MAP: &str = "$helpers.nodeof(this).root.$preflightTypesMap"; +const MODULE_PREFLIGHT_TYPES_MAP: &str = "$preflightTypesMap"; + const SCOPE_PARAM: &str = "$scope"; pub struct JSifyContext<'a> { @@ -100,7 +103,7 @@ impl VisitorWithContext for JSifyContext<'_> { /// Preflight classes have two types of host binding methods: /// `Type` for binding static fields and methods to the host and /// `instance` for binding instance fields and methods to the host. -#[derive(PartialEq, Eq)] +#[derive(PartialEq)] enum BindMethod { Type, Instance, @@ -154,11 +157,7 @@ impl<'a> JSifier<'a> { }) { let scope_env = self.types.get_scope_env(&scope); let s = self.jsify_statement(&scope_env, statement, &mut jsify_context); // top level statements are always preflight - if let StmtKind::Bring { - identifier: _, - source: _, - } = statement.kind - { + if matches!(statement.kind, StmtKind::Bring { .. }) { imports.add_code(s); } else { js.add_code(s); @@ -193,14 +192,23 @@ impl<'a> JSifier<'a> { output.line(format!( "const {EXTERN_VAR} = {HELPERS_VAR}.createExternRequire({__DIRNAME});" )); - output.add_code(imports); if is_entrypoint { let mut root_class = CodeMaker::default(); root_class.open(format!("class {} extends {} {{", ROOT_CLASS, STDLIB_CORE_RESOURCE)); root_class.open(format!("{JS_CONSTRUCTOR}({SCOPE_PARAM}, $id) {{")); root_class.line(format!("super({SCOPE_PARAM}, $id);")); + root_class.line(format!("{PREFLIGHT_TYPES_MAP} = {{ }};")); + + // The root preflight types map + root_class.line(format!("let {MODULE_PREFLIGHT_TYPES_MAP} = {{}};")); + + root_class.add_code(imports); root_class.add_code(self.jsify_struct_schemas(source_path)); + + // A global map pointing to the root preflight types map + root_class.line(format!("{PREFLIGHT_TYPES_MAP} = {MODULE_PREFLIGHT_TYPES_MAP};")); + root_class.add_code(js); root_class.close("}"); root_class.close("}"); @@ -220,35 +228,43 @@ impl<'a> JSifier<'a> { let directory_children = self.source_file_graph.dependencies_of(source_path); let preflight_file_map = self.preflight_file_map.borrow(); - // supposing a directory has two files and two subdirectories in it, + // supposing a directory has a file and a subdirectory in it, // we generate code like this: // ``` - // module.exports = { - // get inner_directory1() { return require("./preflight.inner-directory1.cjs") }, - // get inner_directory2() { return require("./preflight.inner-directory2.cjs") }, - // ...require("./preflight.inner-file1.cjs"), - // ...require("./preflight.inner-file2.cjs"), - // }; + // let $preflightTypesMap = {}; + // Object.assign(module.exports, $helpers.bringJs("./preflight.inner-file1.js", $preflightTypesMap)); + // Object.assign(module.exports, { get inner_directory1() { $helpers.bringJs("./preflight.inner-directory1.js", $preflightTypesMap); } }); + // module.exports = { ...module.exports, $preflightTypesMap }; // ``` - output.open("module.exports = {"); + + // This module's preflight type map + output.line(format!("const {MODULE_PREFLIGHT_TYPES_MAP} = {{}};")); + for file in directory_children { let preflight_file_name = preflight_file_map.get(file).expect("no emitted JS file found"); if file.is_dir() { let directory_name = file.file_stem().unwrap(); output.line(format!( - "get {directory_name}() {{ return require(\"./{preflight_file_name}\") }}," + "Object.assign(module.exports, {{ get {directory_name}() {{ return $helpers.bringJs(`${{__dirname}}/{preflight_file_name}`, {MODULE_PREFLIGHT_TYPES_MAP}); }} }});" )); } else { - output.line(format!("...require(\"./{preflight_file_name}\"),")); + output.line(format!( + "Object.assign(module.exports, $helpers.bringJs(`${{__dirname}}/{preflight_file_name}`, {MODULE_PREFLIGHT_TYPES_MAP}));" + )); } } - output.close("};"); + output.line(format!( + "module.exports = {{ ...module.exports, {MODULE_PREFLIGHT_TYPES_MAP} }};" + )); } else { + // This module's preflight type map + output.line(format!("let {MODULE_PREFLIGHT_TYPES_MAP} = {{}};")); + output.add_code(imports); output.add_code(self.jsify_struct_schemas(source_path)); output.add_code(js); let exports = get_public_symbols(&scope); output.line(format!( - "module.exports = {{ {} }};", + "module.exports = {{ {MODULE_PREFLIGHT_TYPES_MAP}, {} }};", exports.iter().map(ToString::to_string).join(", ") )); } @@ -1166,10 +1182,7 @@ impl<'a> JSifier<'a> { code.line(format!("const {var_name} = {STDLIB}.{name};")) } BringSource::TrustedModule(name, module_dir) => { - let preflight_file_map = self.preflight_file_map.borrow(); - let preflight_file_name = preflight_file_map.get(module_dir).unwrap(); - let var_name = identifier.as_ref().unwrap_or(&name); - code.line(format!("const {var_name} = require(\"./{preflight_file_name}\");")) + code.append(self.jsify_bring_stmt(module_dir, &Some(identifier.as_ref().unwrap_or(name).clone()))); } BringSource::JsiiModule(name) => { // checked during type checking @@ -1177,25 +1190,10 @@ impl<'a> JSifier<'a> { code.line(format!("const {var_name} = require(\"{name}\");")) } BringSource::WingLibrary(_, module_dir) => { - // checked during type checking - let var_name = identifier.as_ref().expect("bring wing library requires an alias"); - let preflight_file_map = self.preflight_file_map.borrow(); - let preflight_file_name = preflight_file_map.get(module_dir).unwrap(); - code.line(format!("const {var_name} = require(\"./{preflight_file_name}\");")) - } - BringSource::WingFile(path) => { - // checked during type checking - let var_name = identifier.as_ref().expect("bring wing file requires an alias"); - let preflight_file_map = self.preflight_file_map.borrow(); - let preflight_file_name = preflight_file_map.get(path).unwrap(); - code.line(format!("const {var_name} = require(\"./{preflight_file_name}\");")) + code.append(self.jsify_bring_stmt(module_dir, identifier)); } - BringSource::Directory(path) => { - // checked during type checking - let preflight_file_map = self.preflight_file_map.borrow(); - let preflight_file_name = preflight_file_map.get(path).unwrap(); - let var_name = identifier.as_ref().expect("bring wing directory requires an alias"); - code.line(format!("const {var_name} = require(\"./{preflight_file_name}\");")) + BringSource::Directory(path) | BringSource::WingFile(path) => { + code.append(self.jsify_bring_stmt(path, identifier)); } }, StmtKind::SuperConstructor { arg_list } => { @@ -1498,6 +1496,18 @@ impl<'a> JSifier<'a> { code } + fn jsify_bring_stmt(&self, path: &Utf8Path, identifier: &Option) -> CodeMaker { + let mut code = CodeMaker::default(); + // checked during type checking + let var_name = identifier.as_ref().expect("bring wing module requires an alias"); + let preflight_file_map = self.preflight_file_map.borrow(); + let preflight_file_name = preflight_file_map.get(path).unwrap(); + code.line(format!( + "const {var_name} = $helpers.bringJs(`${{__dirname}}/{preflight_file_name}`, {MODULE_PREFLIGHT_TYPES_MAP});" + )); + code + } + fn jsify_enum(&self, name: &Symbol, values: &IndexMap>) -> CodeMaker { let mut code = CodeMaker::with_source(&name.span); let mut value_index = 0; @@ -1849,10 +1859,32 @@ impl<'a> JSifier<'a> { code.add_code(self.jsify_register_bind_method(class, class_type, BindMethod::Type, ctx)); code.close("}"); + + // Inflight classes might need to be lift-qualified (onLift), but their type name might not be necessarily available + // at the scope when they are qualified (it might even be shadowed by another type name). We store a reference to these + // class types in a global preflight types map indexed by the class's unique id. + if class.phase == Phase::Inflight { + code.line(format!( + "if ({MODULE_PREFLIGHT_TYPES_MAP}[{}]) {{ throw new Error(\"{} is already in type map\"); }}", + class_type.as_class().unwrap().uid, + class.name + )); + code.line(format!( + "{MODULE_PREFLIGHT_TYPES_MAP}[{}] = {};", + class_type.as_class().unwrap().uid, + class.name + )); + } + code }) } + pub fn class_singleton(&self, type_: TypeRef) -> String { + let c = type_.as_class().unwrap(); + format!("$helpers.preflightClassSingleton(this, {})", c.uid) + } + fn jsify_preflight_constructor(&self, class: &AstClass, ctx: &mut JSifyContext) -> CodeMaker { let mut code = new_code!( &class.name.span, @@ -2170,9 +2202,9 @@ impl<'a> JSifier<'a> { } } - for m in class.inflight_fields() { - let name = &m.name; - let is_static = m.is_static; + for f in class.inflight_fields() { + let name = &f.name; + let is_static = f.is_static; let filter = match bind_method_kind { BindMethod::Instance => !is_static, BindMethod::Type => is_static, @@ -2197,7 +2229,9 @@ impl<'a> JSifier<'a> { if bind_method_kind == BindMethod::Instance && class.parent.is_some() { // mergeLiftDeps is a helper method that combines the lift deps of the parent class with the // lift deps of this class - bind_method.open(format!("return {STDLIB_CORE}.mergeLiftDeps(super._liftMap, {{")); + bind_method.open(format!( + "return {STDLIB_CORE}.mergeLiftDeps(super.{bind_method_name}, {{" + )); } else { bind_method.open("return ({".to_string()); } diff --git a/libs/wingc/src/jsify/snapshots/access_methods_and_properties_on_collections.snap b/libs/wingc/src/jsify/snapshots/access_methods_and_properties_on_collections.snap index ebc433dcb62..c396742c435 100644 --- a/libs/wingc/src/jsify/snapshots/access_methods_and_properties_on_collections.snap +++ b/libs/wingc/src/jsify/snapshots/access_methods_and_properties_on_collections.snap @@ -51,6 +51,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/access_property_on_primitive.snap b/libs/wingc/src/jsify/snapshots/access_property_on_primitive.snap index b5771fcc0b9..d093b8b3e3f 100644 --- a/libs/wingc/src/jsify/snapshots/access_property_on_primitive.snap +++ b/libs/wingc/src/jsify/snapshots/access_property_on_primitive.snap @@ -48,6 +48,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/access_property_on_value_returned_from_collection.snap b/libs/wingc/src/jsify/snapshots/access_property_on_value_returned_from_collection.snap index fdce5f92022..3a47440282e 100644 --- a/libs/wingc/src/jsify/snapshots/access_property_on_value_returned_from_collection.snap +++ b/libs/wingc/src/jsify/snapshots/access_property_on_value_returned_from_collection.snap @@ -48,6 +48,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/allow_type_def_before_super.snap b/libs/wingc/src/jsify/snapshots/allow_type_def_before_super.snap index bd00d29aa47..afc28743af5 100644 --- a/libs/wingc/src/jsify/snapshots/allow_type_def_before_super.snap +++ b/libs/wingc/src/jsify/snapshots/allow_type_def_before_super.snap @@ -77,6 +77,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, x) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/base_class_captures_inflight.snap b/libs/wingc/src/jsify/snapshots/base_class_captures_inflight.snap index c996859fb2d..ca2c6cc48fd 100644 --- a/libs/wingc/src/jsify/snapshots/base_class_captures_inflight.snap +++ b/libs/wingc/src/jsify/snapshots/base_class_captures_inflight.snap @@ -72,6 +72,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Base extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/base_class_captures_preflight.snap b/libs/wingc/src/jsify/snapshots/base_class_captures_preflight.snap index 989c402998a..53de74f2c34 100644 --- a/libs/wingc/src/jsify/snapshots/base_class_captures_preflight.snap +++ b/libs/wingc/src/jsify/snapshots/base_class_captures_preflight.snap @@ -66,6 +66,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Base extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/base_class_lift_indirect.snap b/libs/wingc/src/jsify/snapshots/base_class_lift_indirect.snap index a1098a4325a..945f43e89f4 100644 --- a/libs/wingc/src/jsify/snapshots/base_class_lift_indirect.snap +++ b/libs/wingc/src/jsify/snapshots/base_class_lift_indirect.snap @@ -77,10 +77,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Base extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/base_class_with_fields_inflight.snap b/libs/wingc/src/jsify/snapshots/base_class_with_fields_inflight.snap index 1bcabfc5528..188a438eafd 100644 --- a/libs/wingc/src/jsify/snapshots/base_class_with_fields_inflight.snap +++ b/libs/wingc/src/jsify/snapshots/base_class_with_fields_inflight.snap @@ -81,6 +81,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Base extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/base_class_with_fields_preflight.snap b/libs/wingc/src/jsify/snapshots/base_class_with_fields_preflight.snap index c5faa235839..e055ea9023c 100644 --- a/libs/wingc/src/jsify/snapshots/base_class_with_fields_preflight.snap +++ b/libs/wingc/src/jsify/snapshots/base_class_with_fields_preflight.snap @@ -71,6 +71,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Base extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/base_class_with_lifted_field_object.snap b/libs/wingc/src/jsify/snapshots/base_class_with_lifted_field_object.snap index e2a2891ef78..70cc6660dad 100644 --- a/libs/wingc/src/jsify/snapshots/base_class_with_lifted_field_object.snap +++ b/libs/wingc/src/jsify/snapshots/base_class_with_lifted_field_object.snap @@ -68,10 +68,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Base extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/base_class_with_lifted_fields.snap b/libs/wingc/src/jsify/snapshots/base_class_with_lifted_fields.snap index 7793850313b..eef16a40a7e 100644 --- a/libs/wingc/src/jsify/snapshots/base_class_with_lifted_fields.snap +++ b/libs/wingc/src/jsify/snapshots/base_class_with_lifted_fields.snap @@ -71,6 +71,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Base extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/builtins.snap b/libs/wingc/src/jsify/snapshots/builtins.snap index 53008dfdff0..c27f7a970b4 100644 --- a/libs/wingc/src/jsify/snapshots/builtins.snap +++ b/libs/wingc/src/jsify/snapshots/builtins.snap @@ -46,6 +46,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/call_static_inflight_from_static_inflight.snap b/libs/wingc/src/jsify/snapshots/call_static_inflight_from_static_inflight.snap index d131a1db629..74ed9c87f61 100644 --- a/libs/wingc/src/jsify/snapshots/call_static_inflight_from_static_inflight.snap +++ b/libs/wingc/src/jsify/snapshots/call_static_inflight_from_static_inflight.snap @@ -65,6 +65,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class A extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -136,6 +139,8 @@ class $Root extends $stdlib.std.Resource { }); } } + if ($preflightTypesMap[2]) { throw new Error("B is already in type map"); } + $preflightTypesMap[2] = B; } } const $PlatformManager = new $stdlib.platform.PlatformManager({platformPaths: $platforms}); diff --git a/libs/wingc/src/jsify/snapshots/calls_methods_on_preflight_object.snap b/libs/wingc/src/jsify/snapshots/calls_methods_on_preflight_object.snap index e34ef9d6acd..4bf1644e044 100644 --- a/libs/wingc/src/jsify/snapshots/calls_methods_on_preflight_object.snap +++ b/libs/wingc/src/jsify/snapshots/calls_methods_on_preflight_object.snap @@ -48,10 +48,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/capture_from_inside_an_inflight_closure.snap b/libs/wingc/src/jsify/snapshots/capture_from_inside_an_inflight_closure.snap index 09e9197b655..f3d25d6bb08 100644 --- a/libs/wingc/src/jsify/snapshots/capture_from_inside_an_inflight_closure.snap +++ b/libs/wingc/src/jsify/snapshots/capture_from_inside_an_inflight_closure.snap @@ -48,10 +48,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const util = $stdlib.util; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const util = $stdlib.util; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/capture_identifier_closure_from_preflight_scope.snap b/libs/wingc/src/jsify/snapshots/capture_identifier_closure_from_preflight_scope.snap index 855df068e77..f699bc23896 100644 --- a/libs/wingc/src/jsify/snapshots/capture_identifier_closure_from_preflight_scope.snap +++ b/libs/wingc/src/jsify/snapshots/capture_identifier_closure_from_preflight_scope.snap @@ -67,6 +67,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/capture_identifier_from_preflight_scope.snap b/libs/wingc/src/jsify/snapshots/capture_identifier_from_preflight_scope.snap index 7fc9b80532b..79c6953004d 100644 --- a/libs/wingc/src/jsify/snapshots/capture_identifier_from_preflight_scope.snap +++ b/libs/wingc/src/jsify/snapshots/capture_identifier_from_preflight_scope.snap @@ -47,6 +47,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/capture_identifier_from_preflight_scope_with_method_call.snap b/libs/wingc/src/jsify/snapshots/capture_identifier_from_preflight_scope_with_method_call.snap index 13cc38e59bb..b2f07c217a5 100644 --- a/libs/wingc/src/jsify/snapshots/capture_identifier_from_preflight_scope_with_method_call.snap +++ b/libs/wingc/src/jsify/snapshots/capture_identifier_from_preflight_scope_with_method_call.snap @@ -68,6 +68,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/capture_identifier_from_preflight_scope_with_nested_object.snap b/libs/wingc/src/jsify/snapshots/capture_identifier_from_preflight_scope_with_nested_object.snap index b5fbf73536b..0ec257d3e11 100644 --- a/libs/wingc/src/jsify/snapshots/capture_identifier_from_preflight_scope_with_nested_object.snap +++ b/libs/wingc/src/jsify/snapshots/capture_identifier_from_preflight_scope_with_nested_object.snap @@ -68,10 +68,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/capture_identifier_from_preflight_scope_with_property.snap b/libs/wingc/src/jsify/snapshots/capture_identifier_from_preflight_scope_with_property.snap index a758b92f8cc..9a5ef810928 100644 --- a/libs/wingc/src/jsify/snapshots/capture_identifier_from_preflight_scope_with_property.snap +++ b/libs/wingc/src/jsify/snapshots/capture_identifier_from_preflight_scope_with_property.snap @@ -47,6 +47,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/capture_in_keyword_args.snap b/libs/wingc/src/jsify/snapshots/capture_in_keyword_args.snap index 312283f1f43..0d9c3a3923e 100644 --- a/libs/wingc/src/jsify/snapshots/capture_in_keyword_args.snap +++ b/libs/wingc/src/jsify/snapshots/capture_in_keyword_args.snap @@ -49,10 +49,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const util = $stdlib.util; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const util = $stdlib.util; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -81,9 +84,11 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), ["waitUntil"]], [x, []], ], "$inflight_init": [ + [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), []], [x, []], ], }); diff --git a/libs/wingc/src/jsify/snapshots/capture_object_with_this_in_name.snap b/libs/wingc/src/jsify/snapshots/capture_object_with_this_in_name.snap index e08d93d3d5f..af034f5f15a 100644 --- a/libs/wingc/src/jsify/snapshots/capture_object_with_this_in_name.snap +++ b/libs/wingc/src/jsify/snapshots/capture_object_with_this_in_name.snap @@ -45,10 +45,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/capture_token.snap b/libs/wingc/src/jsify/snapshots/capture_token.snap index 7d280541b37..b4e6974caca 100644 --- a/libs/wingc/src/jsify/snapshots/capture_token.snap +++ b/libs/wingc/src/jsify/snapshots/capture_token.snap @@ -44,10 +44,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/capture_type_inflight_class_sibling_from_init.snap b/libs/wingc/src/jsify/snapshots/capture_type_inflight_class_sibling_from_init.snap index e33734b441e..0a05c2e625e 100644 --- a/libs/wingc/src/jsify/snapshots/capture_type_inflight_class_sibling_from_init.snap +++ b/libs/wingc/src/jsify/snapshots/capture_type_inflight_class_sibling_from_init.snap @@ -71,6 +71,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/capture_type_inflight_class_sibling_from_method.snap b/libs/wingc/src/jsify/snapshots/capture_type_inflight_class_sibling_from_method.snap index 47fb417fa00..979744061a1 100644 --- a/libs/wingc/src/jsify/snapshots/capture_type_inflight_class_sibling_from_method.snap +++ b/libs/wingc/src/jsify/snapshots/capture_type_inflight_class_sibling_from_method.snap @@ -57,6 +57,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/capture_type_new_inflight_class_inner_no_capture.snap b/libs/wingc/src/jsify/snapshots/capture_type_new_inflight_class_inner_no_capture.snap index b0d4cbe8f02..af7adb56121 100644 --- a/libs/wingc/src/jsify/snapshots/capture_type_new_inflight_class_inner_no_capture.snap +++ b/libs/wingc/src/jsify/snapshots/capture_type_new_inflight_class_inner_no_capture.snap @@ -49,6 +49,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/capture_type_new_inflight_class_outer.snap b/libs/wingc/src/jsify/snapshots/capture_type_new_inflight_class_outer.snap index 8489eec5041..291806a0b6a 100644 --- a/libs/wingc/src/jsify/snapshots/capture_type_new_inflight_class_outer.snap +++ b/libs/wingc/src/jsify/snapshots/capture_type_new_inflight_class_outer.snap @@ -61,6 +61,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -89,6 +92,8 @@ class $Root extends $stdlib.std.Resource { }); } } + if ($preflightTypesMap[1]) { throw new Error("Foo is already in type map"); } + $preflightTypesMap[1] = Foo; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -116,8 +121,10 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [Foo, []], ], "$inflight_init": [ + [Foo, []], ], }); } diff --git a/libs/wingc/src/jsify/snapshots/capture_type_static_method.snap b/libs/wingc/src/jsify/snapshots/capture_type_static_method.snap index b6277673600..3cfdfa00daa 100644 --- a/libs/wingc/src/jsify/snapshots/capture_type_static_method.snap +++ b/libs/wingc/src/jsify/snapshots/capture_type_static_method.snap @@ -68,6 +68,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/capture_type_static_method_inflight_class.snap b/libs/wingc/src/jsify/snapshots/capture_type_static_method_inflight_class.snap index cd7cc8981dd..3a90eddef62 100644 --- a/libs/wingc/src/jsify/snapshots/capture_type_static_method_inflight_class.snap +++ b/libs/wingc/src/jsify/snapshots/capture_type_static_method_inflight_class.snap @@ -66,6 +66,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -100,6 +103,8 @@ class $Root extends $stdlib.std.Resource { }); } } + if ($preflightTypesMap[1]) { throw new Error("Foo is already in type map"); } + $preflightTypesMap[1] = Foo; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -127,8 +132,10 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [Foo, ["bar"]], ], "$inflight_init": [ + [Foo, []], ], }); } diff --git a/libs/wingc/src/jsify/snapshots/capture_var_from_method_inflight.snap b/libs/wingc/src/jsify/snapshots/capture_var_from_method_inflight.snap index 9254bf82239..12e633ae877 100644 --- a/libs/wingc/src/jsify/snapshots/capture_var_from_method_inflight.snap +++ b/libs/wingc/src/jsify/snapshots/capture_var_from_method_inflight.snap @@ -54,6 +54,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/closed_inflight_class_extends_outer_inflight_class.snap b/libs/wingc/src/jsify/snapshots/closed_inflight_class_extends_outer_inflight_class.snap index ebda1fe8f15..163c019e172 100644 --- a/libs/wingc/src/jsify/snapshots/closed_inflight_class_extends_outer_inflight_class.snap +++ b/libs/wingc/src/jsify/snapshots/closed_inflight_class_extends_outer_inflight_class.snap @@ -64,6 +64,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Base extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -92,6 +95,8 @@ class $Root extends $stdlib.std.Resource { }); } } + if ($preflightTypesMap[1]) { throw new Error("Base is already in type map"); } + $preflightTypesMap[1] = Base; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -119,8 +124,10 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [Base, []], ], "$inflight_init": [ + [Base, []], ], }); } diff --git a/libs/wingc/src/jsify/snapshots/closure_field.snap b/libs/wingc/src/jsify/snapshots/closure_field.snap index 22d34a6d686..cb2ea648ef7 100644 --- a/libs/wingc/src/jsify/snapshots/closure_field.snap +++ b/libs/wingc/src/jsify/snapshots/closure_field.snap @@ -106,10 +106,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class MyResource extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/entrypoint_this.snap b/libs/wingc/src/jsify/snapshots/entrypoint_this.snap index b61f8369c14..5e03a620b84 100644 --- a/libs/wingc/src/jsify/snapshots/entrypoint_this.snap +++ b/libs/wingc/src/jsify/snapshots/entrypoint_this.snap @@ -23,6 +23,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; this; } } diff --git a/libs/wingc/src/jsify/snapshots/enum_value.snap b/libs/wingc/src/jsify/snapshots/enum_value.snap index e48c24d9f1e..759fb0f233f 100644 --- a/libs/wingc/src/jsify/snapshots/enum_value.snap +++ b/libs/wingc/src/jsify/snapshots/enum_value.snap @@ -51,6 +51,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; const MyEnum = (function (tmp) { tmp["B"] = "B"; @@ -86,9 +89,11 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [MyEnum, [].concat(["B"], ["C"])], [x, []], ], "$inflight_init": [ + [MyEnum, []], [x, []], ], }); diff --git a/libs/wingc/src/jsify/snapshots/free_inflight_obj_from_inflight.snap b/libs/wingc/src/jsify/snapshots/free_inflight_obj_from_inflight.snap index 5257f8a3c70..9b476ad3879 100644 --- a/libs/wingc/src/jsify/snapshots/free_inflight_obj_from_inflight.snap +++ b/libs/wingc/src/jsify/snapshots/free_inflight_obj_from_inflight.snap @@ -59,6 +59,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/free_preflight_object_from_preflight.snap b/libs/wingc/src/jsify/snapshots/free_preflight_object_from_preflight.snap index 15ebf279878..24507645cfb 100644 --- a/libs/wingc/src/jsify/snapshots/free_preflight_object_from_preflight.snap +++ b/libs/wingc/src/jsify/snapshots/free_preflight_object_from_preflight.snap @@ -42,6 +42,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class A extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/func_returns_func.snap b/libs/wingc/src/jsify/snapshots/func_returns_func.snap index 2b8e67d67c0..8bb3df26820 100644 --- a/libs/wingc/src/jsify/snapshots/func_returns_func.snap +++ b/libs/wingc/src/jsify/snapshots/func_returns_func.snap @@ -56,6 +56,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/identify_field.snap b/libs/wingc/src/jsify/snapshots/identify_field.snap index 8cdc9ae7a00..bb5fcb10c79 100644 --- a/libs/wingc/src/jsify/snapshots/identify_field.snap +++ b/libs/wingc/src/jsify/snapshots/identify_field.snap @@ -48,10 +48,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class A extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/implicit_lift_inflight_init.snap b/libs/wingc/src/jsify/snapshots/implicit_lift_inflight_init.snap index ede8b4806e1..2df0dbd74bc 100644 --- a/libs/wingc/src/jsify/snapshots/implicit_lift_inflight_init.snap +++ b/libs/wingc/src/jsify/snapshots/implicit_lift_inflight_init.snap @@ -66,10 +66,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/indirect_capture.snap b/libs/wingc/src/jsify/snapshots/indirect_capture.snap index 15a89bd9a55..8d67de04315 100644 --- a/libs/wingc/src/jsify/snapshots/indirect_capture.snap +++ b/libs/wingc/src/jsify/snapshots/indirect_capture.snap @@ -81,10 +81,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Capture extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/inflight_class_extends_both_inside_inflight_closure.snap b/libs/wingc/src/jsify/snapshots/inflight_class_extends_both_inside_inflight_closure.snap index c496a96fb04..da1e9d8141b 100644 --- a/libs/wingc/src/jsify/snapshots/inflight_class_extends_both_inside_inflight_closure.snap +++ b/libs/wingc/src/jsify/snapshots/inflight_class_extends_both_inside_inflight_closure.snap @@ -50,6 +50,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/inflight_class_extends_inflight_class.snap b/libs/wingc/src/jsify/snapshots/inflight_class_extends_inflight_class.snap index 681b87585d6..8a86b9e9704 100644 --- a/libs/wingc/src/jsify/snapshots/inflight_class_extends_inflight_class.snap +++ b/libs/wingc/src/jsify/snapshots/inflight_class_extends_inflight_class.snap @@ -50,6 +50,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class A extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -78,6 +81,8 @@ class $Root extends $stdlib.std.Resource { }); } } + if ($preflightTypesMap[1]) { throw new Error("A is already in type map"); } + $preflightTypesMap[1] = A; class B extends A { constructor($scope, $id, ) { super($scope, $id); @@ -107,6 +112,8 @@ class $Root extends $stdlib.std.Resource { }); } } + if ($preflightTypesMap[2]) { throw new Error("B is already in type map"); } + $preflightTypesMap[2] = B; } } const $PlatformManager = new $stdlib.platform.PlatformManager({platformPaths: $platforms}); diff --git a/libs/wingc/src/jsify/snapshots/inflight_constructor.snap b/libs/wingc/src/jsify/snapshots/inflight_constructor.snap index 80faa3b1138..1e355d4b666 100644 --- a/libs/wingc/src/jsify/snapshots/inflight_constructor.snap +++ b/libs/wingc/src/jsify/snapshots/inflight_constructor.snap @@ -54,6 +54,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/inflight_field.snap b/libs/wingc/src/jsify/snapshots/inflight_field.snap index 0cfde3b80c0..44c9860c391 100644 --- a/libs/wingc/src/jsify/snapshots/inflight_field.snap +++ b/libs/wingc/src/jsify/snapshots/inflight_field.snap @@ -53,6 +53,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class A extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/inflight_field_from_inflight.snap b/libs/wingc/src/jsify/snapshots/inflight_field_from_inflight.snap index f300ef416e6..168eb48e6e2 100644 --- a/libs/wingc/src/jsify/snapshots/inflight_field_from_inflight.snap +++ b/libs/wingc/src/jsify/snapshots/inflight_field_from_inflight.snap @@ -52,6 +52,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class MyType extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/inflight_field_from_inflight_class.snap b/libs/wingc/src/jsify/snapshots/inflight_field_from_inflight_class.snap index 04d361bfed3..fd0b68dc5e0 100644 --- a/libs/wingc/src/jsify/snapshots/inflight_field_from_inflight_class.snap +++ b/libs/wingc/src/jsify/snapshots/inflight_field_from_inflight_class.snap @@ -51,6 +51,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class MyType extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -85,6 +88,8 @@ class $Root extends $stdlib.std.Resource { }); } } + if ($preflightTypesMap[1]) { throw new Error("MyType is already in type map"); } + $preflightTypesMap[1] = MyType; } } const $PlatformManager = new $stdlib.platform.PlatformManager({platformPaths: $platforms}); diff --git a/libs/wingc/src/jsify/snapshots/inline_inflight_class.snap b/libs/wingc/src/jsify/snapshots/inline_inflight_class.snap index 2a44a3b8b81..40650349c5e 100644 --- a/libs/wingc/src/jsify/snapshots/inline_inflight_class.snap +++ b/libs/wingc/src/jsify/snapshots/inline_inflight_class.snap @@ -69,10 +69,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/json_object.snap b/libs/wingc/src/jsify/snapshots/json_object.snap index 62036dd7fef..e95b6a0cd8f 100644 --- a/libs/wingc/src/jsify/snapshots/json_object.snap +++ b/libs/wingc/src/jsify/snapshots/json_object.snap @@ -48,6 +48,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -76,9 +79,11 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$stdlib.core.toLiftableModuleType(std.Json, "@winglang/sdk/std", "Json"), ["stringify"]], [jsonObj1, []], ], "$inflight_init": [ + [$stdlib.core.toLiftableModuleType(std.Json, "@winglang/sdk/std", "Json"), []], [jsonObj1, []], ], }); diff --git a/libs/wingc/src/jsify/snapshots/lift_binary_preflight_and_inflight_expression.snap b/libs/wingc/src/jsify/snapshots/lift_binary_preflight_and_inflight_expression.snap index b61054c3b05..093f1c00f6a 100644 --- a/libs/wingc/src/jsify/snapshots/lift_binary_preflight_and_inflight_expression.snap +++ b/libs/wingc/src/jsify/snapshots/lift_binary_preflight_and_inflight_expression.snap @@ -49,6 +49,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/lift_binary_preflight_expression.snap b/libs/wingc/src/jsify/snapshots/lift_binary_preflight_expression.snap index 229498fdb1d..d845e175d9f 100644 --- a/libs/wingc/src/jsify/snapshots/lift_binary_preflight_expression.snap +++ b/libs/wingc/src/jsify/snapshots/lift_binary_preflight_expression.snap @@ -48,6 +48,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/lift_element_from_collection_as_field.snap b/libs/wingc/src/jsify/snapshots/lift_element_from_collection_as_field.snap index c047a224ca7..a4f169e0d4f 100644 --- a/libs/wingc/src/jsify/snapshots/lift_element_from_collection_as_field.snap +++ b/libs/wingc/src/jsify/snapshots/lift_element_from_collection_as_field.snap @@ -49,10 +49,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/lift_element_from_collection_of_objects.snap b/libs/wingc/src/jsify/snapshots/lift_element_from_collection_of_objects.snap index 3cbfadf715d..7be2754fb37 100644 --- a/libs/wingc/src/jsify/snapshots/lift_element_from_collection_of_objects.snap +++ b/libs/wingc/src/jsify/snapshots/lift_element_from_collection_of_objects.snap @@ -46,10 +46,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/lift_inflight_closure.snap b/libs/wingc/src/jsify/snapshots/lift_inflight_closure.snap index 28b88a5ba27..9d50a7be1d5 100644 --- a/libs/wingc/src/jsify/snapshots/lift_inflight_closure.snap +++ b/libs/wingc/src/jsify/snapshots/lift_inflight_closure.snap @@ -68,6 +68,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/lift_inside_preflight_method.snap b/libs/wingc/src/jsify/snapshots/lift_inside_preflight_method.snap index 4e5080a5db6..e8d95f5729a 100644 --- a/libs/wingc/src/jsify/snapshots/lift_inside_preflight_method.snap +++ b/libs/wingc/src/jsify/snapshots/lift_inside_preflight_method.snap @@ -70,10 +70,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/lift_self_reference.snap b/libs/wingc/src/jsify/snapshots/lift_self_reference.snap index a7b5c6332a4..a6390026b34 100644 --- a/libs/wingc/src/jsify/snapshots/lift_self_reference.snap +++ b/libs/wingc/src/jsify/snapshots/lift_self_reference.snap @@ -49,6 +49,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/lift_string.snap b/libs/wingc/src/jsify/snapshots/lift_string.snap index 72b030f22ac..6822e8fce9e 100644 --- a/libs/wingc/src/jsify/snapshots/lift_string.snap +++ b/libs/wingc/src/jsify/snapshots/lift_string.snap @@ -47,6 +47,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/lift_this.snap b/libs/wingc/src/jsify/snapshots/lift_this.snap index 6ab8730b88c..cf64779fc21 100644 --- a/libs/wingc/src/jsify/snapshots/lift_this.snap +++ b/libs/wingc/src/jsify/snapshots/lift_this.snap @@ -85,6 +85,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/lift_var_with_this.snap b/libs/wingc/src/jsify/snapshots/lift_var_with_this.snap index 1274cd10e3a..e9e961e1cf7 100644 --- a/libs/wingc/src/jsify/snapshots/lift_var_with_this.snap +++ b/libs/wingc/src/jsify/snapshots/lift_var_with_this.snap @@ -68,6 +68,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/lift_via_closure.snap b/libs/wingc/src/jsify/snapshots/lift_via_closure.snap index c2031ed3b27..e022d28e821 100644 --- a/libs/wingc/src/jsify/snapshots/lift_via_closure.snap +++ b/libs/wingc/src/jsify/snapshots/lift_via_closure.snap @@ -72,10 +72,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/lift_via_closure_class_explicit.snap b/libs/wingc/src/jsify/snapshots/lift_via_closure_class_explicit.snap index 460441dd0a4..8fbf308b920 100644 --- a/libs/wingc/src/jsify/snapshots/lift_via_closure_class_explicit.snap +++ b/libs/wingc/src/jsify/snapshots/lift_via_closure_class_explicit.snap @@ -87,10 +87,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class MyClosure extends $stdlib.std.Resource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/namespaced_static_from_inflight.snap b/libs/wingc/src/jsify/snapshots/namespaced_static_from_inflight.snap index d7c67b36828..0d641dd4434 100644 --- a/libs/wingc/src/jsify/snapshots/namespaced_static_from_inflight.snap +++ b/libs/wingc/src/jsify/snapshots/namespaced_static_from_inflight.snap @@ -44,10 +44,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const util = $stdlib.util; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const util = $stdlib.util; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -75,8 +78,10 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), ["tryEnv"]], ], "$inflight_init": [ + [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), []], ], }); } diff --git a/libs/wingc/src/jsify/snapshots/nested_inflight_after_preflight_operation.snap b/libs/wingc/src/jsify/snapshots/nested_inflight_after_preflight_operation.snap index 2c771b0b1f7..88c3a32572e 100644 --- a/libs/wingc/src/jsify/snapshots/nested_inflight_after_preflight_operation.snap +++ b/libs/wingc/src/jsify/snapshots/nested_inflight_after_preflight_operation.snap @@ -71,10 +71,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class YourType extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/nested_preflight_operation.snap b/libs/wingc/src/jsify/snapshots/nested_preflight_operation.snap index 91257bfd431..016fb850a22 100644 --- a/libs/wingc/src/jsify/snapshots/nested_preflight_operation.snap +++ b/libs/wingc/src/jsify/snapshots/nested_preflight_operation.snap @@ -89,10 +89,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class YourType extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/new_inflight_object.snap b/libs/wingc/src/jsify/snapshots/new_inflight_object.snap index 4c0fcdbb3da..9b3694cc392 100644 --- a/libs/wingc/src/jsify/snapshots/new_inflight_object.snap +++ b/libs/wingc/src/jsify/snapshots/new_inflight_object.snap @@ -61,6 +61,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -89,6 +92,8 @@ class $Root extends $stdlib.std.Resource { }); } } + if ($preflightTypesMap[1]) { throw new Error("Foo is already in type map"); } + $preflightTypesMap[1] = Foo; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -116,8 +121,10 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [Foo, []], ], "$inflight_init": [ + [Foo, []], ], }); } diff --git a/libs/wingc/src/jsify/snapshots/no_capture_inside_methods.snap b/libs/wingc/src/jsify/snapshots/no_capture_inside_methods.snap index c053dcae157..e61472625e7 100644 --- a/libs/wingc/src/jsify/snapshots/no_capture_inside_methods.snap +++ b/libs/wingc/src/jsify/snapshots/no_capture_inside_methods.snap @@ -52,6 +52,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/no_capture_of_identifier_from_inner_scope.snap b/libs/wingc/src/jsify/snapshots/no_capture_of_identifier_from_inner_scope.snap index d3992988748..37f163fc6d2 100644 --- a/libs/wingc/src/jsify/snapshots/no_capture_of_identifier_from_inner_scope.snap +++ b/libs/wingc/src/jsify/snapshots/no_capture_of_identifier_from_inner_scope.snap @@ -52,6 +52,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/no_capture_of_identifier_from_same_scope.snap b/libs/wingc/src/jsify/snapshots/no_capture_of_identifier_from_same_scope.snap index 8c96fb27ae5..37d68e92fbf 100644 --- a/libs/wingc/src/jsify/snapshots/no_capture_of_identifier_from_same_scope.snap +++ b/libs/wingc/src/jsify/snapshots/no_capture_of_identifier_from_same_scope.snap @@ -48,6 +48,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/no_capture_shadow_inside_inner_scopes.snap b/libs/wingc/src/jsify/snapshots/no_capture_shadow_inside_inner_scopes.snap index 54db26e1554..e5a833fbf3d 100644 --- a/libs/wingc/src/jsify/snapshots/no_capture_shadow_inside_inner_scopes.snap +++ b/libs/wingc/src/jsify/snapshots/no_capture_shadow_inside_inner_scopes.snap @@ -60,6 +60,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/no_lift_shadow_inside_inner_scopes.snap b/libs/wingc/src/jsify/snapshots/no_lift_shadow_inside_inner_scopes.snap index 5b6c9f12da8..8cf87f1c99b 100644 --- a/libs/wingc/src/jsify/snapshots/no_lift_shadow_inside_inner_scopes.snap +++ b/libs/wingc/src/jsify/snapshots/no_lift_shadow_inside_inner_scopes.snap @@ -58,6 +58,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/preflight_class_extends_preflight_class.snap b/libs/wingc/src/jsify/snapshots/preflight_class_extends_preflight_class.snap index f8df6a1e343..6f8b36e738e 100644 --- a/libs/wingc/src/jsify/snapshots/preflight_class_extends_preflight_class.snap +++ b/libs/wingc/src/jsify/snapshots/preflight_class_extends_preflight_class.snap @@ -55,6 +55,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Base extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/preflight_collection.snap b/libs/wingc/src/jsify/snapshots/preflight_collection.snap index a2e0f01dcee..3323d0b5213 100644 --- a/libs/wingc/src/jsify/snapshots/preflight_collection.snap +++ b/libs/wingc/src/jsify/snapshots/preflight_collection.snap @@ -49,6 +49,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/preflight_collection_of_preflight_objects.snap b/libs/wingc/src/jsify/snapshots/preflight_collection_of_preflight_objects.snap index ccbf4ba8352..3c7d184510c 100644 --- a/libs/wingc/src/jsify/snapshots/preflight_collection_of_preflight_objects.snap +++ b/libs/wingc/src/jsify/snapshots/preflight_collection_of_preflight_objects.snap @@ -50,10 +50,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/preflight_nested_object_with_operations.snap b/libs/wingc/src/jsify/snapshots/preflight_nested_object_with_operations.snap index d1f4f50769d..24b2d65c6cc 100644 --- a/libs/wingc/src/jsify/snapshots/preflight_nested_object_with_operations.snap +++ b/libs/wingc/src/jsify/snapshots/preflight_nested_object_with_operations.snap @@ -68,10 +68,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class A extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/preflight_object.snap b/libs/wingc/src/jsify/snapshots/preflight_object.snap index c7d6b9c02a2..a9bbc073db2 100644 --- a/libs/wingc/src/jsify/snapshots/preflight_object.snap +++ b/libs/wingc/src/jsify/snapshots/preflight_object.snap @@ -72,6 +72,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class A extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/preflight_object_through_property.snap b/libs/wingc/src/jsify/snapshots/preflight_object_through_property.snap index 73ae66c5d8a..9408fa25143 100644 --- a/libs/wingc/src/jsify/snapshots/preflight_object_through_property.snap +++ b/libs/wingc/src/jsify/snapshots/preflight_object_through_property.snap @@ -69,10 +69,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class MyType extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/preflight_object_with_operations.snap b/libs/wingc/src/jsify/snapshots/preflight_object_with_operations.snap index 3118c933228..ccfc374b9c7 100644 --- a/libs/wingc/src/jsify/snapshots/preflight_object_with_operations.snap +++ b/libs/wingc/src/jsify/snapshots/preflight_object_with_operations.snap @@ -47,10 +47,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/preflight_object_with_operations_multiple_methods.snap b/libs/wingc/src/jsify/snapshots/preflight_object_with_operations_multiple_methods.snap index 30684d0011d..1151652abb0 100644 --- a/libs/wingc/src/jsify/snapshots/preflight_object_with_operations_multiple_methods.snap +++ b/libs/wingc/src/jsify/snapshots/preflight_object_with_operations_multiple_methods.snap @@ -52,10 +52,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/preflight_value_field.snap b/libs/wingc/src/jsify/snapshots/preflight_value_field.snap index 9a150a8c71d..506fe835563 100644 --- a/libs/wingc/src/jsify/snapshots/preflight_value_field.snap +++ b/libs/wingc/src/jsify/snapshots/preflight_value_field.snap @@ -77,6 +77,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class MyType extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/qualify_inflight_type_refrencing_preflight_instance.snap b/libs/wingc/src/jsify/snapshots/qualify_inflight_type_refrencing_preflight_instance.snap new file mode 100644 index 00000000000..f35589d1325 --- /dev/null +++ b/libs/wingc/src/jsify/snapshots/qualify_inflight_type_refrencing_preflight_instance.snap @@ -0,0 +1,209 @@ +--- +source: libs/wingc/src/jsify/tests.rs +--- +## Code + +```w + + class PreflightC { + pub inflight bar() {} + } + let pc = new PreflightC(); + + inflight class InflightC { + pub foo() { + pc.bar(); + } + } + + test "test" { + let ic = new InflightC(); + ic.foo(); + } + +``` + +## inflight.$Closure1-1.cjs + +```js +"use strict"; +const $helpers = require("@winglang/sdk/lib/helpers"); +module.exports = function({ $InflightC }) { + class $Closure1 { + constructor({ }) { + const $obj = (...args) => this.handle(...args); + Object.setPrototypeOf($obj, this); + return $obj; + } + async handle() { + const ic = (await (async () => {const o = new $InflightC(); await o.$inflight_init?.(); return o; })()); + (await ic.foo()); + } + } + return $Closure1; +} +//# sourceMappingURL=inflight.$Closure1-1.cjs.map +``` + +## inflight.InflightC-1.cjs + +```js +"use strict"; +const $helpers = require("@winglang/sdk/lib/helpers"); +module.exports = function({ $pc }) { + class InflightC { + async foo() { + (await $pc.bar()); + } + } + return InflightC; +} +//# sourceMappingURL=inflight.InflightC-1.cjs.map +``` + +## inflight.PreflightC-1.cjs + +```js +"use strict"; +const $helpers = require("@winglang/sdk/lib/helpers"); +module.exports = function({ }) { + class PreflightC { + constructor({ }) { + } + async bar() { + } + } + return PreflightC; +} +//# sourceMappingURL=inflight.PreflightC-1.cjs.map +``` + +## preflight.cjs + +```js +"use strict"; +const $stdlib = require('@winglang/sdk'); +const $platforms = ((s) => !s ? [] : s.split(';'))(process.env.WING_PLATFORMS); +const $outdir = process.env.WING_SYNTH_DIR ?? "."; +const $wing_is_test = process.env.WING_IS_TEST === "true"; +const std = $stdlib.std; +const $helpers = $stdlib.helpers; +const $extern = $helpers.createExternRequire(__dirname); +class $Root extends $stdlib.std.Resource { + constructor($scope, $id) { + super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; + class PreflightC extends $stdlib.std.Resource { + constructor($scope, $id, ) { + super($scope, $id); + } + static _toInflightType() { + return ` + require("${$helpers.normalPath(__dirname)}/inflight.PreflightC-1.cjs")({ + }) + `; + } + _toInflight() { + return ` + (await (async () => { + const PreflightCClient = ${PreflightC._toInflightType()}; + const client = new PreflightCClient({ + }); + if (client.$inflight_init) { await client.$inflight_init(); } + return client; + })()) + `; + } + get _liftMap() { + return ({ + "bar": [ + ], + "$inflight_init": [ + ], + }); + } + } + class InflightC extends $stdlib.std.Resource { + constructor($scope, $id, ) { + super($scope, $id); + } + static _toInflightType() { + return ` + require("${$helpers.normalPath(__dirname)}/inflight.InflightC-1.cjs")({ + $pc: ${$stdlib.core.liftObject(pc)}, + }) + `; + } + _toInflight() { + return ` + (await (async () => { + const InflightCClient = ${InflightC._toInflightType()}; + const client = new InflightCClient({ + }); + if (client.$inflight_init) { await client.$inflight_init(); } + return client; + })()) + `; + } + get _liftMap() { + return ({ + "foo": [ + [pc, ["bar"]], + ], + "$inflight_init": [ + [pc, []], + ], + }); + } + } + if ($preflightTypesMap[2]) { throw new Error("InflightC is already in type map"); } + $preflightTypesMap[2] = InflightC; + class $Closure1 extends $stdlib.std.AutoIdResource { + _id = $stdlib.core.closureId(); + constructor($scope, $id, ) { + super($scope, $id); + $helpers.nodeof(this).hidden = true; + } + static _toInflightType() { + return ` + require("${$helpers.normalPath(__dirname)}/inflight.$Closure1-1.cjs")({ + $InflightC: ${$stdlib.core.liftObject(InflightC)}, + }) + `; + } + _toInflight() { + return ` + (await (async () => { + const $Closure1Client = ${$Closure1._toInflightType()}; + const client = new $Closure1Client({ + }); + if (client.$inflight_init) { await client.$inflight_init(); } + return client; + })()) + `; + } + get _liftMap() { + return ({ + "handle": [ + [$helpers.preflightClassSingleton(this, 2), ["foo"]], + [InflightC, []], + ], + "$inflight_init": [ + [$helpers.preflightClassSingleton(this, 2), []], + [InflightC, []], + ], + }); + } + } + const pc = new PreflightC(this, "PreflightC"); + this.node.root.new("@winglang/sdk.std.Test", std.Test, this, "test:test", new $Closure1(this, "$Closure1")); + } +} +const $PlatformManager = new $stdlib.platform.PlatformManager({platformPaths: $platforms}); +const $APP = $PlatformManager.createApp({ outdir: $outdir, name: "main", rootConstruct: $Root, isTestEnvironment: $wing_is_test, entrypointDir: process.env['WING_SOURCE_DIR'], rootId: process.env['WING_ROOT_ID'] }); +$APP.synth(); +//# sourceMappingURL=preflight.cjs.map +``` + diff --git a/libs/wingc/src/jsify/snapshots/read_primitive_value.snap b/libs/wingc/src/jsify/snapshots/read_primitive_value.snap index 774da98ff7f..db2b0b6ac0f 100644 --- a/libs/wingc/src/jsify/snapshots/read_primitive_value.snap +++ b/libs/wingc/src/jsify/snapshots/read_primitive_value.snap @@ -48,6 +48,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/reassign_captured_variable.snap b/libs/wingc/src/jsify/snapshots/reassign_captured_variable.snap index cdab8211e67..2cd0be9082c 100644 --- a/libs/wingc/src/jsify/snapshots/reassign_captured_variable.snap +++ b/libs/wingc/src/jsify/snapshots/reassign_captured_variable.snap @@ -57,6 +57,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/reassigned_captured_variable_preflight.snap b/libs/wingc/src/jsify/snapshots/reassigned_captured_variable_preflight.snap index bbde03ffe57..0d37b640455 100644 --- a/libs/wingc/src/jsify/snapshots/reassigned_captured_variable_preflight.snap +++ b/libs/wingc/src/jsify/snapshots/reassigned_captured_variable_preflight.snap @@ -26,6 +26,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; let i = 10; (() => { i = 12; diff --git a/libs/wingc/src/jsify/snapshots/ref_std_macro.snap b/libs/wingc/src/jsify/snapshots/ref_std_macro.snap index d421e6a3c7d..3156b19bcd9 100644 --- a/libs/wingc/src/jsify/snapshots/ref_std_macro.snap +++ b/libs/wingc/src/jsify/snapshots/ref_std_macro.snap @@ -48,6 +48,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/reference_from_static_inflight.snap b/libs/wingc/src/jsify/snapshots/reference_from_static_inflight.snap index b4e479c49bf..4d446e7d47b 100644 --- a/libs/wingc/src/jsify/snapshots/reference_from_static_inflight.snap +++ b/libs/wingc/src/jsify/snapshots/reference_from_static_inflight.snap @@ -47,6 +47,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class MyType extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/reference_inflight_class.snap b/libs/wingc/src/jsify/snapshots/reference_inflight_class.snap index 7037afed5fc..c4c96cd62bd 100644 --- a/libs/wingc/src/jsify/snapshots/reference_inflight_class.snap +++ b/libs/wingc/src/jsify/snapshots/reference_inflight_class.snap @@ -66,6 +66,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -100,6 +103,8 @@ class $Root extends $stdlib.std.Resource { }); } } + if ($preflightTypesMap[1]) { throw new Error("Foo is already in type map"); } + $preflightTypesMap[1] = Foo; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -127,8 +132,10 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [Foo, ["a"]], ], "$inflight_init": [ + [Foo, []], ], }); } diff --git a/libs/wingc/src/jsify/snapshots/reference_inflight_field.snap b/libs/wingc/src/jsify/snapshots/reference_inflight_field.snap index 28ee4f47cc6..6444a8083db 100644 --- a/libs/wingc/src/jsify/snapshots/reference_inflight_field.snap +++ b/libs/wingc/src/jsify/snapshots/reference_inflight_field.snap @@ -54,6 +54,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/reference_inflight_from_inflight.snap b/libs/wingc/src/jsify/snapshots/reference_inflight_from_inflight.snap index 6ddf585201a..0597623b6b5 100644 --- a/libs/wingc/src/jsify/snapshots/reference_inflight_from_inflight.snap +++ b/libs/wingc/src/jsify/snapshots/reference_inflight_from_inflight.snap @@ -78,6 +78,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -111,6 +114,8 @@ class $Root extends $stdlib.std.Resource { }); } } + if ($preflightTypesMap[1]) { throw new Error("Foo is already in type map"); } + $preflightTypesMap[1] = Foo; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -138,8 +143,10 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [Foo, []], ], "$inflight_init": [ + [Foo, []], ], }); } diff --git a/libs/wingc/src/jsify/snapshots/reference_lift_of_collection.snap b/libs/wingc/src/jsify/snapshots/reference_lift_of_collection.snap index 4baa0e5b574..b478fce8fab 100644 --- a/libs/wingc/src/jsify/snapshots/reference_lift_of_collection.snap +++ b/libs/wingc/src/jsify/snapshots/reference_lift_of_collection.snap @@ -48,6 +48,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/reference_preflight_field.snap b/libs/wingc/src/jsify/snapshots/reference_preflight_field.snap index 6d418fe4b67..328f3d3829f 100644 --- a/libs/wingc/src/jsify/snapshots/reference_preflight_field.snap +++ b/libs/wingc/src/jsify/snapshots/reference_preflight_field.snap @@ -52,6 +52,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/reference_preflight_field_call_independent_method.snap b/libs/wingc/src/jsify/snapshots/reference_preflight_field_call_independent_method.snap index 17388473e70..69384186b30 100644 --- a/libs/wingc/src/jsify/snapshots/reference_preflight_field_call_independent_method.snap +++ b/libs/wingc/src/jsify/snapshots/reference_preflight_field_call_independent_method.snap @@ -52,6 +52,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/reference_preflight_fields.snap b/libs/wingc/src/jsify/snapshots/reference_preflight_fields.snap index cabd4783e02..27863adcafe 100644 --- a/libs/wingc/src/jsify/snapshots/reference_preflight_fields.snap +++ b/libs/wingc/src/jsify/snapshots/reference_preflight_fields.snap @@ -65,10 +65,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class MyType extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/reference_preflight_free_variable_with_this_in_the_expression.snap b/libs/wingc/src/jsify/snapshots/reference_preflight_free_variable_with_this_in_the_expression.snap index f7b74ca97e8..7630bff1ae1 100644 --- a/libs/wingc/src/jsify/snapshots/reference_preflight_free_variable_with_this_in_the_expression.snap +++ b/libs/wingc/src/jsify/snapshots/reference_preflight_free_variable_with_this_in_the_expression.snap @@ -52,10 +52,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/reference_preflight_object_from_static_inflight.snap b/libs/wingc/src/jsify/snapshots/reference_preflight_object_from_static_inflight.snap index bee06339319..efc8fc0eed4 100644 --- a/libs/wingc/src/jsify/snapshots/reference_preflight_object_from_static_inflight.snap +++ b/libs/wingc/src/jsify/snapshots/reference_preflight_object_from_static_inflight.snap @@ -46,10 +46,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class MyType extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/reference_static_inflight.snap b/libs/wingc/src/jsify/snapshots/reference_static_inflight.snap index 39e5714deae..8b105fd7f38 100644 --- a/libs/wingc/src/jsify/snapshots/reference_static_inflight.snap +++ b/libs/wingc/src/jsify/snapshots/reference_static_inflight.snap @@ -68,6 +68,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class MyType extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/reference_static_inflight_which_references_preflight_object.snap b/libs/wingc/src/jsify/snapshots/reference_static_inflight_which_references_preflight_object.snap index 5fe4ab94cc7..c79a04b67f9 100644 --- a/libs/wingc/src/jsify/snapshots/reference_static_inflight_which_references_preflight_object.snap +++ b/libs/wingc/src/jsify/snapshots/reference_static_inflight_which_references_preflight_object.snap @@ -73,10 +73,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class MyType extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/static_external_inflight_class.snap b/libs/wingc/src/jsify/snapshots/static_external_inflight_class.snap index 1478a64ae25..322b97d5ff9 100644 --- a/libs/wingc/src/jsify/snapshots/static_external_inflight_class.snap +++ b/libs/wingc/src/jsify/snapshots/static_external_inflight_class.snap @@ -77,6 +77,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class A extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -111,6 +114,8 @@ class $Root extends $stdlib.std.Resource { }); } } + if ($preflightTypesMap[1]) { throw new Error("A is already in type map"); } + $preflightTypesMap[1] = A; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -138,8 +143,10 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [A, ["foo"]], ], "$inflight_init": [ + [A, []], ], }); } diff --git a/libs/wingc/src/jsify/snapshots/static_external_preflight_class.snap b/libs/wingc/src/jsify/snapshots/static_external_preflight_class.snap index 6bdecac309e..1fbad7370de 100644 --- a/libs/wingc/src/jsify/snapshots/static_external_preflight_class.snap +++ b/libs/wingc/src/jsify/snapshots/static_external_preflight_class.snap @@ -76,6 +76,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class A extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/static_inflight_operation.snap b/libs/wingc/src/jsify/snapshots/static_inflight_operation.snap index a3afeeb210c..562280f0c7d 100644 --- a/libs/wingc/src/jsify/snapshots/static_inflight_operation.snap +++ b/libs/wingc/src/jsify/snapshots/static_inflight_operation.snap @@ -70,10 +70,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class A extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/static_local_inflight_class.snap b/libs/wingc/src/jsify/snapshots/static_local_inflight_class.snap index ddd7d0bbc12..e93803cd00f 100644 --- a/libs/wingc/src/jsify/snapshots/static_local_inflight_class.snap +++ b/libs/wingc/src/jsify/snapshots/static_local_inflight_class.snap @@ -68,6 +68,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/static_on_std_type.snap b/libs/wingc/src/jsify/snapshots/static_on_std_type.snap index cddb49b66f0..a8ddfb7e07e 100644 --- a/libs/wingc/src/jsify/snapshots/static_on_std_type.snap +++ b/libs/wingc/src/jsify/snapshots/static_on_std_type.snap @@ -48,6 +48,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -76,8 +79,12 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$stdlib.core.toLiftableModuleType(std.Json, "@winglang/sdk/std", "Json"), ["values"]], + [$stdlib.core.toLiftableModuleType(std.String, "@winglang/sdk/std", "String"), ["fromJson"]], ], "$inflight_init": [ + [$stdlib.core.toLiftableModuleType(std.Json, "@winglang/sdk/std", "Json"), []], + [$stdlib.core.toLiftableModuleType(std.String, "@winglang/sdk/std", "String"), []], ], }); } diff --git a/libs/wingc/src/jsify/snapshots/transitive_reference.snap b/libs/wingc/src/jsify/snapshots/transitive_reference.snap index 847626e2f23..ae54a46416d 100644 --- a/libs/wingc/src/jsify/snapshots/transitive_reference.snap +++ b/libs/wingc/src/jsify/snapshots/transitive_reference.snap @@ -88,10 +88,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class MyType extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/transitive_reference_via_inflight_class.snap b/libs/wingc/src/jsify/snapshots/transitive_reference_via_inflight_class.snap index 4d646d3361c..c3e61474e94 100644 --- a/libs/wingc/src/jsify/snapshots/transitive_reference_via_inflight_class.snap +++ b/libs/wingc/src/jsify/snapshots/transitive_reference_via_inflight_class.snap @@ -71,10 +71,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class MyInflightClass extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -108,6 +111,8 @@ class $Root extends $stdlib.std.Resource { }); } } + if ($preflightTypesMap[1]) { throw new Error("MyInflightClass is already in type map"); } + $preflightTypesMap[1] = MyInflightClass; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -135,8 +140,12 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$helpers.preflightClassSingleton(this, 1), ["putInBucket"]], + [MyInflightClass, []], ], "$inflight_init": [ + [$helpers.preflightClassSingleton(this, 1), []], + [MyInflightClass, []], ], }); } diff --git a/libs/wingc/src/jsify/snapshots/transitive_reference_via_static.snap b/libs/wingc/src/jsify/snapshots/transitive_reference_via_static.snap index 6360ecad233..1b0e1405a7e 100644 --- a/libs/wingc/src/jsify/snapshots/transitive_reference_via_static.snap +++ b/libs/wingc/src/jsify/snapshots/transitive_reference_via_static.snap @@ -96,10 +96,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class MyType extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/two_identical_lifts.snap b/libs/wingc/src/jsify/snapshots/two_identical_lifts.snap index bc7e393332e..ae17e2d8048 100644 --- a/libs/wingc/src/jsify/snapshots/two_identical_lifts.snap +++ b/libs/wingc/src/jsify/snapshots/two_identical_lifts.snap @@ -53,10 +53,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/use_util_functions.snap b/libs/wingc/src/jsify/snapshots/use_util_functions.snap index 85f8f9563f2..6df9d47b4ac 100644 --- a/libs/wingc/src/jsify/snapshots/use_util_functions.snap +++ b/libs/wingc/src/jsify/snapshots/use_util_functions.snap @@ -43,10 +43,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const util = $stdlib.util; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const util = $stdlib.util; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -74,8 +77,10 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), ["env"]], ], "$inflight_init": [ + [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), []], ], }); } diff --git a/libs/wingc/src/jsify/snapshots/var_inflight_field_from_inflight.snap b/libs/wingc/src/jsify/snapshots/var_inflight_field_from_inflight.snap index d0e74b4002d..4b1282f2b4b 100644 --- a/libs/wingc/src/jsify/snapshots/var_inflight_field_from_inflight.snap +++ b/libs/wingc/src/jsify/snapshots/var_inflight_field_from_inflight.snap @@ -54,6 +54,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class MyType extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/wait_util.snap b/libs/wingc/src/jsify/snapshots/wait_util.snap index e2f23baff21..baae474a327 100644 --- a/libs/wingc/src/jsify/snapshots/wait_util.snap +++ b/libs/wingc/src/jsify/snapshots/wait_util.snap @@ -50,10 +50,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const util = $stdlib.util; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const util = $stdlib.util; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -81,8 +84,10 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), ["waitUntil"]], ], "$inflight_init": [ + [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), []], ], }); } diff --git a/libs/wingc/src/jsify/tests.rs b/libs/wingc/src/jsify/tests.rs index a07511e90c7..775bfe69365 100644 --- a/libs/wingc/src/jsify/tests.rs +++ b/libs/wingc/src/jsify/tests.rs @@ -43,6 +43,29 @@ fn free_inflight_obj_from_inflight() { ); } +#[test] +fn qualify_inflight_type_refrencing_preflight_instance() { + assert_compile_ok!( + r#" + class PreflightC { + pub inflight bar() {} + } + let pc = new PreflightC(); + + inflight class InflightC { + pub foo() { + pc.bar(); + } + } + + test "test" { + let ic = new InflightC(); + ic.foo(); + } + "# + ); +} + #[test] fn call_static_inflight_from_static_inflight() { assert_compile_ok!( diff --git a/libs/wingc/src/lifting.rs b/libs/wingc/src/lifting.rs index 3be3514185f..ab5f4ec4baf 100644 --- a/libs/wingc/src/lifting.rs +++ b/libs/wingc/src/lifting.rs @@ -9,6 +9,7 @@ use crate::{ diagnostic::{report_diagnostic, Diagnostic}, jsify::{JSifier, JSifyContext}, type_check::{ + get_udt_definition_phase, lifts::{Liftable, Lifts}, resolve_user_defined_type, symbol_env::LookupResult, @@ -201,7 +202,7 @@ impl<'a> Visit<'a> for LiftVisitor<'a> { fn visit_expr(&mut self, node: &'a Expr) { CompilationContext::set(CompilationPhase::Lifting, &node.span); - self.with_expr(node.id, |v| { + self.with_expr(&node, |v| { let expr_phase = v.jsify.types.get_expr_phase(&node).unwrap(); let expr_type = v.jsify.types.get_expr_type(&node); @@ -244,9 +245,9 @@ impl<'a> Visit<'a> for LiftVisitor<'a> { Some((PropertyObject::Instance(prop_expr_id), property)) if node.id == prop_expr_id => Some(property), _ => { if expr_type.is_closure() { - // this is the case where we are lifting a "closure class" (e.g. a class that has a "handle" - // method). The "property" here is implicitly `handle`, these are generally syntheticaly generated by the compiler - // from closures. + // this is the case where we are lifting a "closure class" (a preflight class that has an inflight `handle` + // method is being called) the reason we might not have "property" set is because closure classes might be + // syntheticaly generated by the compiler from closures. Some(Symbol::global(CLOSURE_CLASS_HANDLE_METHOD)) } else { None @@ -274,7 +275,26 @@ impl<'a> Visit<'a> for LiftVisitor<'a> { return; } + // Before we continue lets dive into this (non-preflight) expression to see if we need to lift any parts of it visit::visit_expr(v, node); + + // Check if this is an inflight class defined preflight and if we need to qualify the lift with the current property + if expr_phase == Phase::Inflight { + if let Some(class) = expr_type.as_class() { + if class.phase == Phase::Inflight && class.defined_in_phase == Phase::Preflight { + if let Some((_, property)) = v.ctx.current_property() { + let m = v.ctx.current_method().map(|(m, _)| m).expect("a method"); + let mut lifts = v.lifts_stack.pop().unwrap(); + // Get preflight code that references the type of the class so we can qualify the lift, note we use a unique + // type alias here since we might not have the actual type name available in scope here. + let code = &v.jsify.class_singleton(expr_type); + lifts.lift(m, Some(v.jsify_symbol_to_op_array(&property)), code); + v.lifts_stack.push(lifts); + return; + } + } + } + } }); } @@ -293,14 +313,11 @@ impl<'a> Visit<'a> for LiftVisitor<'a> { } // Get the type of the udt - let udt_type = resolve_user_defined_type( - node, - self.ctx.current_env().expect("an env"), - self.ctx.current_stmt_idx(), - ) - .unwrap_or(self.jsify.types.error()); - - // Since our target languages is isn't statically typed, we don't need to capture interfaces + let env = self.ctx.current_env().expect("an env"); + let udt_type = + resolve_user_defined_type(node, env, self.ctx.current_stmt_idx()).unwrap_or(self.jsify.types.error()); + + // Since our target language is isn't statically typed, we don't need to capture interfaces if udt_type.as_interface().is_some() { visit::visit_user_defined_type(self, node); return; @@ -308,25 +325,11 @@ impl<'a> Visit<'a> for LiftVisitor<'a> { //--------------- // LIFT - if udt_type.is_preflight_class() { + if get_udt_definition_phase(node, env).expect("a phase") == Phase::Preflight { // jsify the expression so we can get the preflight code let code = self.jsify_udt(&node); let property = self.ctx.current_property(); - - // check that we can qualify the lift (e.g. determine which property is being accessed) - if property.is_none() { - report_diagnostic(Diagnostic { - message: format!( - "Cannot qualify access to a lifted type \"{udt_type}\" (see https://github.com/winglang/wing/issues/76 for more details)"), - span: Some(node.span.clone()), - annotations: vec![], - hints: vec![], - }); - - return; - } - let mut lifts = self.lifts_stack.pop().unwrap(); lifts.lift( self.ctx.current_method().map(|(m, _)| m).expect("a method"), diff --git a/libs/wingc/src/lsp/symbol_locator.rs b/libs/wingc/src/lsp/symbol_locator.rs index 9bdbd0b0b20..7c6fa79acae 100644 --- a/libs/wingc/src/lsp/symbol_locator.rs +++ b/libs/wingc/src/lsp/symbol_locator.rs @@ -302,7 +302,7 @@ impl<'a> Visit<'a> for SymbolLocator<'a> { return; } - self.ctx.push_expr(node.id); + self.ctx.push_expr(&node); match &node.kind { ExprKind::New(new_expr) => 'new_expr: { diff --git a/libs/wingc/src/type_check.rs b/libs/wingc/src/type_check.rs index ce3fe0891a3..6825cb1c77a 100644 --- a/libs/wingc/src/type_check.rs +++ b/libs/wingc/src/type_check.rs @@ -329,11 +329,20 @@ pub struct Class { pub docs: Docs, pub lifts: Option, + // The phase in which this class was defined (this should be the same as the env.phase where the class name is defined) + pub defined_in_phase: Phase, + // Preflight classes are CDK Constructs which means they have a scope and id as their first arguments // this is natively supported by wing using the `as` `in` keywords. However theoretically it is possible // to have a construct which does not have these arguments, in which case we can't use the `as` `in` keywords // and instead the user will need to pass the relevant args to the class's init method. pub std_construct_args: bool, + + // Unique identifier for this class type, used to get access to the type's generated preflight code even when + // the type name isn't available in scope or is shadowed. + // Ideally we should use the FQN and unify the implementation of JSII imported classes and Wing classes, currently + // uid is used for Wing classes and is always 0 for JSII classes to avoid snapshot noise. + pub uid: usize, } impl Class { pub(crate) fn set_lifts(&mut self, lifts: Lifts) { @@ -345,8 +354,8 @@ impl Class { pub fn get_closure_method(&self) -> Option { self .methods(true) - .find(|(name, type_)| name == CLOSURE_CLASS_HANDLE_METHOD && type_.is_inflight_function()) - .map(|(_, t)| t) + .find(|(name, v)| name == CLOSURE_CLASS_HANDLE_METHOD && v.type_.is_inflight_function()) + .map(|(_, v)| v.type_) } } @@ -378,15 +387,15 @@ impl Display for Interface { } type ClassLikeIterator<'a> = - FilterMap, fn(::Item) -> Option<(String, TypeRef)>>; + FilterMap, fn(::Item) -> Option<(String, VariableInfo)>>; pub trait ClassLike: Display { fn get_env(&self) -> &SymbolEnv; fn methods(&self, with_ancestry: bool) -> ClassLikeIterator<'_> { - self.get_env().iter(with_ancestry).filter_map(|(s, t, ..)| { - if t.as_variable()?.type_.as_function_sig().is_some() { - Some((s, t.as_variable()?.type_)) + self.get_env().iter(with_ancestry).filter_map(|(s, sym_kind, ..)| { + if sym_kind.as_variable()?.type_.as_function_sig().is_some() { + Some((s, sym_kind.as_variable()?.clone())) } else { None } @@ -394,9 +403,9 @@ pub trait ClassLike: Display { } fn fields(&self, with_ancestry: bool) -> ClassLikeIterator<'_> { - self.get_env().iter(with_ancestry).filter_map(|(s, t, ..)| { - if t.as_variable()?.type_.as_function_sig().is_none() { - Some((s, t.as_variable()?.type_)) + self.get_env().iter(with_ancestry).filter_map(|(s, sym_kind, ..)| { + if sym_kind.as_variable()?.type_.as_function_sig().is_none() { + Some((s, sym_kind.as_variable()?.clone())) } else { None } @@ -638,16 +647,14 @@ impl Subtype for Type { // method type (aka "closure classes"). // First, check if there is exactly one inflight method in the interface - let mut inflight_methods = iface - .methods(true) - .filter(|(_name, type_)| type_.is_inflight_function()); + let mut inflight_methods = iface.methods(true).filter(|(_name, v)| v.type_.is_inflight_function()); let handler_method = inflight_methods.next(); if handler_method.is_none() || inflight_methods.next().is_some() { return false; } // Next, check that the method's name is "handle" - let (handler_method_name, handler_method_type) = handler_method.unwrap(); + let (handler_method_name, handler_method_var) = handler_method.unwrap(); if handler_method_name != CLOSURE_CLASS_HANDLE_METHOD { return false; } @@ -660,7 +667,7 @@ impl Subtype for Type { }; // Finally check if they're subtypes - res_handle_type.is_subtype_of(&handler_method_type) + res_handle_type.is_subtype_of(&handler_method_var.type_) } (Self::Class(res), Self::Function(_)) => { // To support flexible inflight closures, we say that any @@ -1085,12 +1092,13 @@ impl TypeRef { /// Returns whether type represents a closure (either a function or a closure class). pub fn is_closure(&self) -> bool { - if self.as_function_sig().is_some() { - return true; - } + self.as_function_sig().is_some() || self.is_closure_class() + } - if let Some(ref class) = self.as_preflight_class() { - return class.get_closure_method().is_some(); + /// Returns whether type represents a class representing an inflight closure. + pub fn is_closure_class(&self) -> bool { + if let Some(ref class) = self.as_class() { + return class.get_closure_method().is_some() && class.defined_in_phase == Phase::Preflight; } false } @@ -1220,7 +1228,7 @@ impl TypeRef { Type::MutArray(t) => t.is_serializable(), Type::Map(t) => t.is_serializable(), Type::MutMap(t) => t.is_serializable(), - Type::Struct(s) => s.fields(true).map(|(_, t)| t).all(|t| t.is_serializable()), + Type::Struct(s) => s.fields(true).map(|(_, v)| v.type_).all(|t| t.is_serializable()), Type::Enum(_) => true, // not serializable Type::Duration => false, @@ -1258,7 +1266,7 @@ impl TypeRef { Type::Map(v) => v.is_json_legal_value(), Type::Optional(v) => v.is_json_legal_value(), Type::Struct(ref s) => { - for (_, t) in s.fields(true) { + for t in s.fields(true).map(|(_, v)| v.type_) { if !t.is_json_legal_value() { return false; } @@ -1295,8 +1303,8 @@ impl TypeRef { match &**self { Type::Struct(s) => { // check all its fields are json compatible - for (_, field) in s.fields(true) { - if !field.has_json_representation() { + for t in s.fields(true).map(|(_, v)| v.type_) { + if !t.has_json_representation() { return false; } } @@ -1391,6 +1399,8 @@ pub struct Types { type_expressions: IndexMap, /// Append empty struct to end of arg list pub append_empty_struct_to_arglist: HashSet, + /// Class counter, used to generate unique ids for class types + pub class_counter: usize, } impl Types { @@ -1443,6 +1453,9 @@ impl Types { append_empty_struct_to_arglist: HashSet::new(), libraries: SymbolEnv::new(None, SymbolEnvKind::Scope, Phase::Preflight, 0), intrinsics: SymbolEnv::new(None, SymbolEnvKind::Scope, Phase::Independent, 0), + // 1 based to avoid conflict with imported JSII classes. This isn't strictly needed since brought JSII classes are never accessed + // through their unique ID, but still good to avoid confusion. + class_counter: 1, } } @@ -2301,14 +2314,14 @@ new cloud.Function(@inflight("./handler.ts"), lifts: { bucket: ["put"] }); self.spanned_error( exp, format!( - "Binary operator '+' cannot be applied to operands of type '{}' and '{}'; only ({}, {}) and ({}, {}) are supported", - ltype, - rtype, - self.types.number(), - self.types.number(), - self.types.string(), - self.types.string(), - ), + "Binary operator '+' cannot be applied to operands of type '{}' and '{}'; only ({}, {}) and ({}, {}) are supported", + ltype, + rtype, + self.types.number(), + self.types.number(), + self.types.string(), + self.types.string(), + ), ); } self.resolved_error() @@ -2499,7 +2512,8 @@ new cloud.Function(@inflight("./handler.ts"), lifts: { bucket: ["put"] }); .expect(&format!("Expected \"{}\" to be a struct type", struct_type)); // Verify that all expected fields are present and are the right type - for (name, field_type) in st.fields(true) { + for (name, v) in st.fields(true) { + let field_type = v.type_; match fields.get(name.as_str()) { Some(field_exp) => { let t = field_types.get(name.as_str()).unwrap(); @@ -2755,21 +2769,9 @@ new cloud.Function(@inflight("./handler.ts"), lifts: { bucket: ["put"] }); // Make sure this is a function signature type let func_sig = if let Some(func_sig) = func_type.as_deep_function_sig() { func_sig.clone() - } else if let Some(class) = func_type.as_preflight_class() { - // return the signature of the "handle" method - let lookup_res = class.get_method(&CLOSURE_CLASS_HANDLE_METHOD.into()); - let handle_type = if let Some(method) = lookup_res { - method.type_ - } else { - self.spanned_error(callee, "Expected a function or method"); - return self.resolved_error(); - }; - if let Some(sig_type) = handle_type.as_function_sig() { - sig_type.clone() - } else { - self.spanned_error(callee, "Expected a function or method"); - return self.resolved_error(); - } + } else if func_type.is_closure_class() { + let handle_type = func_type.as_class().unwrap().get_closure_method().unwrap(); + handle_type.as_function_sig().unwrap().clone() } else { self.spanned_error( callee, @@ -3062,7 +3064,7 @@ new cloud.Function(@inflight("./handler.ts"), lifts: { bucket: ["put"] }); pub fn all_optional_struct(t: TypeRef) -> bool { match &*t { - Type::Struct(s) => s.fields(true).all(|(_, t)| t.is_option()), + Type::Struct(s) => s.fields(true).all(|(_, v)| v.type_.is_option()), _ => false, } } @@ -4520,10 +4522,13 @@ new cloud.Function(@inflight("./handler.ts"), lifts: { bucket: ["put"] }); implements: impl_interfaces.clone(), is_abstract: false, phase: ast_class.phase, + defined_in_phase: env.phase, docs: stmt.doc.as_ref().map_or(Docs::default(), |s| Docs::with_summary(s)), std_construct_args: ast_class.phase == Phase::Preflight, lifts: None, + uid: self.types.class_counter, }; + self.types.class_counter += 1; let mut class_type = self.types.add_type(Type::Class(class_spec)); match env.define( &ast_class.name, @@ -4738,7 +4743,8 @@ new cloud.Function(@inflight("./handler.ts"), lifts: { bucket: ["put"] }); }; // Check all methods are implemented - for (method_name, method_type) in interface_type.methods(true) { + for (method_name, v) in interface_type.methods(true) { + let method_type = v.type_; if let Some(symbol) = &mut class_type .as_class_mut() .unwrap() @@ -5297,7 +5303,7 @@ new cloud.Function(@inflight("./handler.ts"), lifts: { bucket: ["put"] }); return; }; - // If the parent class is phase independent than its constructor name is just "new" regardless of + // If the parent class is phase independent then its constructor name is just "new" regardless of // whether we're inflight or not. let parent_init_name = if parent_class.as_class().unwrap().phase == Phase::Independent { CLASS_INIT_NAME @@ -5309,13 +5315,13 @@ new cloud.Function(@inflight("./handler.ts"), lifts: { bucket: ["put"] }); .as_class() .unwrap() .methods(false) - .filter(|(name, _type)| name == parent_init_name) - .collect_vec()[0] + .find(|(name, ..)| name == parent_init_name) + .unwrap() .1; self.type_check_arg_list_against_function_sig( &arg_list, - parent_initializer.as_function_sig().unwrap(), + parent_initializer.type_.as_function_sig().unwrap(), super_constructor_call, arg_list_types, ); @@ -5755,6 +5761,8 @@ new cloud.Function(@inflight("./handler.ts"), lifts: { bucket: ["put"] }); docs: c.docs.clone(), std_construct_args: c.std_construct_args, lifts: None, + defined_in_phase: env.phase, + uid: c.uid, }), Type::Interface(iface) => Type::Interface(Interface { name: iface.name.clone(), @@ -6281,7 +6289,7 @@ new cloud.Function(@inflight("./handler.ts"), lifts: { bucket: ["put"] }); if property.name == FROM_JSON || property.name == TRY_FROM_JSON { // we need to validate that only structs with all valid json fields can have a fromJson method for (name, field) in s.fields(true) { - if !field.has_json_representation() { + if !field.type_.has_json_representation() { self.spanned_error_with_var( property, format!( @@ -6982,6 +6990,19 @@ pub fn resolve_user_defined_type_ref<'a>( } } +pub fn get_udt_definition_phase(user_defined_type: &UserDefinedType, env: &SymbolEnv) -> Option { + let mut nested_name = vec![&user_defined_type.root]; + nested_name.extend(user_defined_type.fields.iter().collect_vec()); + + let lookup_result = env.lookup_nested(&nested_name, None); + + if let LookupResult::Found(_, lookup_info) = lookup_result { + Some(lookup_info.env.phase) + } else { + None + } +} + pub fn is_udt_struct_type(udt: &UserDefinedType, env: &SymbolEnv) -> bool { if let Ok(type_) = resolve_user_defined_type(udt, env, 0) { type_.as_struct().is_some() diff --git a/libs/wingc/src/type_check/jsii_importer.rs b/libs/wingc/src/type_check/jsii_importer.rs index 65c99014da2..de39f947dff 100644 --- a/libs/wingc/src/type_check/jsii_importer.rs +++ b/libs/wingc/src/type_check/jsii_importer.rs @@ -732,9 +732,14 @@ impl<'a> JsiiImporter<'a> { implements: vec![], is_abstract: jsii_class.abstract_.unwrap_or(false), phase: class_phase, + defined_in_phase: Phase::Preflight, docs: Docs::from(&jsii_class.docs), std_construct_args: false, // Temporary value, will be updated once we parse the initializer args lifts: None, + + // uid is used to create unique names class types so we can access the correct type regardless of type name shadowing, + // this isn't relevant for imported types (that aren't code generated), so we can default to 0 + uid: 0, }; let mut new_type = self.wing_types.add_type(Type::Class(class_spec)); self.register_jsii_type(&jsii_class_fqn, &new_type_symbol, new_type); diff --git a/libs/wingc/src/type_check/lifts.rs b/libs/wingc/src/type_check/lifts.rs index 8606c5e2bdc..61c7413bc08 100644 --- a/libs/wingc/src/type_check/lifts.rs +++ b/libs/wingc/src/type_check/lifts.rs @@ -10,7 +10,7 @@ use super::{ExprId, CLASS_INFLIGHT_INIT_NAME}; #[derive(Debug)] pub struct Lifts { // TODO: make all these private and add accessors+helper logic - /// All the lifts. Map from method to a map from inflight code to lift qualifications. + /// All the lifts. Map from method to a map from preflight code to lift qualifications. pub lifts_qualifications: BTreeMap>, /// All the captures. The key is token the value is the preflight code. diff --git a/libs/wingc/src/visit_context.rs b/libs/wingc/src/visit_context.rs index 5004ba58074..f2850b9424e 100644 --- a/libs/wingc/src/visit_context.rs +++ b/libs/wingc/src/visit_context.rs @@ -1,7 +1,7 @@ use itertools::Itertools; use crate::{ - ast::{Class, ExprId, FunctionSignature, Phase, Stmt, StmtKind, Symbol, UserDefinedType}, + ast::{Class, Expr, ExprId, FunctionSignature, Phase, Stmt, StmtKind, Symbol, UserDefinedType}, type_check::symbol_env::SymbolEnvRef, }; @@ -91,8 +91,8 @@ impl VisitContext { // -- - pub fn push_expr(&mut self, expr: ExprId) { - self.expression.push(expr); + pub fn push_expr(&mut self, expr: &Expr) { + self.expression.push(expr.id); } pub fn pop_expr(&mut self) { @@ -237,7 +237,7 @@ impl VisitContext { pub trait VisitorWithContext { fn ctx(&mut self) -> &mut VisitContext; - fn with_expr(&mut self, expr: ExprId, f: impl FnOnce(&mut Self)) { + fn with_expr(&mut self, expr: &Expr, f: impl FnOnce(&mut Self)) { self.ctx().push_expr(expr); f(self); self.ctx().pop_expr(); diff --git a/libs/wingsdk/src/core/lifting.ts b/libs/wingsdk/src/core/lifting.ts index 737f4cfd434..41d2bb7fad0 100644 --- a/libs/wingsdk/src/core/lifting.ts +++ b/libs/wingsdk/src/core/lifting.ts @@ -265,10 +265,7 @@ export function collectLifts( } else if (typeof obj === "object" && obj._liftMap !== undefined) { matrix = parseMatrix(obj._liftMap ?? {}); matrixCache.set(obj, matrix); - } else if ( - typeof obj === "function" && - typeof obj._liftTypeMap !== undefined - ) { + } else if (typeof obj === "function" && obj._liftTypeMap !== undefined) { matrix = parseMatrix(obj._liftTypeMap ?? {}); matrixCache.set(obj, matrix); } else { diff --git a/libs/wingsdk/src/helpers.ts b/libs/wingsdk/src/helpers.ts index a54598218d8..a009e93796a 100644 --- a/libs/wingsdk/src/helpers.ts +++ b/libs/wingsdk/src/helpers.ts @@ -3,6 +3,7 @@ import { notDeepStrictEqual } from "node:assert"; import * as path from "node:path"; import type { Construct } from "constructs"; +import type { Resource } from "./std"; import type { Node } from "./std/node"; // since we moved from node:18 to node:20 the deepStrictEqual doesn't work as expected. // https://github.com/winglang/wing/issues/4444 @@ -166,3 +167,63 @@ export function resolveDirname( ): string { return normalPath(path.resolve(outdir, relativeSourceDir)); } + +/** + * Helper function to `require` a compiled preflight wing file (js) into another compiled (js) wing file. + * We need this instead of simply calling `require` because in addition to returning the imported module's exports, + * we also need to update the current module's preflight types map with the brought module's preflight types map. + * @param moduleFile - the file to `require` + * @param outPreflightTypesObject - the current module's $preflightTypesMap + * @returns all symbols exported by the `moduleFile` except `$preflightTypesMap` + */ +export function bringJs( + moduleFile: string, + outPreflightTypesObject: any +): Object { + /* eslint-disable @typescript-eslint/no-require-imports */ + return Object.fromEntries( + Object.entries(require(moduleFile)).filter(([k, v]) => { + // If this is the preflight types array then update the input object and skip it + if (k === "$preflightTypesMap") { + // Verify no key collision (should never happen) + Object.entries(v).forEach(([key, value]) => { + const otherValue = outPreflightTypesObject[key]; + if (key in outPreflightTypesObject && otherValue !== value) { + throw new Error(`Key collision (${key} is both ${value.name} and ${otherValue.name}) in preflight types map`); + } + }); + Object.assign(outPreflightTypesObject, v); + return false; + } + return true; + }) + ); +} + +/** + * Helper function to get a singleton instance of a class defined in preflight. + * In practice this is used to get the preflight instance of **inflight** classes defined **preflight**. + * This instance is used for accessing the lift map of such classes. + * @param scope - a scope in the construct tree that'll hold the instance (a singleton within that tree). + * @param typeId - the unique id of the preflight class type we want. + * @returns the instance of the class. + */ +export function preflightClassSingleton( + scope: Construct, + typeId: number +): Resource { + const root: any = nodeof(scope).root; + const type: any = root.$preflightTypesMap[typeId]; + if (root.resourceSingletons === undefined) { + root.resourceSingletons = {}; + } + const instance = root.resourceSingletons[type]; + if (instance) { + return instance; + } + root.resourceSingletons[type] = new type( + scope, + `${type.name}_singleton_${typeId}` + ); + return root.resourceSingletons[type]; +} diff --git a/tools/hangar/__snapshots__/invalid.ts.snap b/tools/hangar/__snapshots__/invalid.ts.snap index 6021af442d6..e944ae5e824 100644 --- a/tools/hangar/__snapshots__/invalid.ts.snap +++ b/tools/hangar/__snapshots__/invalid.ts.snap @@ -2613,13 +2613,6 @@ error: Cannot create preflight class "PreflightClass" in inflight phase | ^^^^^^^^^^^^^^^^^^^^ -error: Cannot qualify access to a lifted type "PreflightClass" (see https://github.com/winglang/wing/issues/76 for more details) - --> ../../../examples/tests/invalid/inflight_class_created_in_preflight.test.w:19:7 - | -19 | new PreflightClass(); - | ^^^^^^^^^^^^^^ - - Tests 1 failed (1) Snapshots 1 skipped @@ -4091,13 +4084,6 @@ exports[`resource_inflight.test.w 1`] = ` | ^^^^^^^^^^^^^^^^^^ -error: Cannot qualify access to a lifted type "Bucket" (see https://github.com/winglang/wing/issues/76 for more details) - --> ../../../examples/tests/invalid/resource_inflight.test.w:4:7 - | -4 | new cloud.Bucket(); // Should fail because we can't create resources inflight - | ^^^^^^^^^^^^ - - Tests 1 failed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/valid/anon_function.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/anon_function.test.w_compile_tf-aws.md index 48f9f26410c..a0171da37a6 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/anon_function.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/anon_function.test.w_compile_tf-aws.md @@ -54,6 +54,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/api.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/api.test.w_compile_tf-aws.md index a225949abbd..8693e2fefec 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/api.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/api.test.w_compile_tf-aws.md @@ -476,10 +476,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -508,9 +511,11 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$stdlib.core.toLiftableModuleType(std.Json, "@winglang/sdk/std", "Json"), ["stringify"]], [counter, ["inc"]], ], "$inflight_init": [ + [$stdlib.core.toLiftableModuleType(std.Json, "@winglang/sdk/std", "Json"), []], [counter, []], ], }); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/api_cors_custom.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/api_cors_custom.test.w_compile_tf-aws.md index 34cc0b087ff..bc5e0bfed85 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/api_cors_custom.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/api_cors_custom.test.w_compile_tf-aws.md @@ -332,13 +332,16 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; -const ex = $stdlib.ex; -const http = $stdlib.http; -const expect = $stdlib.expect; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + const ex = $stdlib.ex; + const http = $stdlib.http; + const expect = $stdlib.expect; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -400,9 +403,13 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), [].concat(["equal"], ["nil"])], + [$stdlib.core.toLiftableModuleType(http.Util, "@winglang/sdk/http", "Util"), ["get"]], [api.url, []], ], "$inflight_init": [ + [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), []], + [$stdlib.core.toLiftableModuleType(http.Util, "@winglang/sdk/http", "Util"), []], [api.url, []], ], }); @@ -438,9 +445,15 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), [].concat(["equal"], ["nil"])], + [$stdlib.core.toLiftableModuleType(http.HttpMethod, "@winglang/sdk/http", "HttpMethod"), ["OPTIONS"]], + [$stdlib.core.toLiftableModuleType(http.Util, "@winglang/sdk/http", "Util"), ["fetch"]], [api.url, []], ], "$inflight_init": [ + [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), []], + [$stdlib.core.toLiftableModuleType(http.HttpMethod, "@winglang/sdk/http", "HttpMethod"), []], + [$stdlib.core.toLiftableModuleType(http.Util, "@winglang/sdk/http", "Util"), []], [api.url, []], ], }); @@ -476,9 +489,15 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), ["equal"]], + [$stdlib.core.toLiftableModuleType(http.HttpMethod, "@winglang/sdk/http", "HttpMethod"), ["OPTIONS"]], + [$stdlib.core.toLiftableModuleType(http.Util, "@winglang/sdk/http", "Util"), ["fetch"]], [api.url, []], ], "$inflight_init": [ + [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), []], + [$stdlib.core.toLiftableModuleType(http.HttpMethod, "@winglang/sdk/http", "HttpMethod"), []], + [$stdlib.core.toLiftableModuleType(http.Util, "@winglang/sdk/http", "Util"), []], [api.url, []], ], }); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/api_cors_default.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/api_cors_default.test.w_compile_tf-aws.md index 7a432fa81b5..3c077f31ee8 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/api_cors_default.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/api_cors_default.test.w_compile_tf-aws.md @@ -307,13 +307,16 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; -const ex = $stdlib.ex; -const http = $stdlib.http; -const expect = $stdlib.expect; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + const ex = $stdlib.ex; + const http = $stdlib.http; + const expect = $stdlib.expect; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -375,9 +378,13 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), [].concat(["equal"], ["nil"])], + [$stdlib.core.toLiftableModuleType(http.Util, "@winglang/sdk/http", "Util"), ["get"]], [apiDefaultCors.url, []], ], "$inflight_init": [ + [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), []], + [$stdlib.core.toLiftableModuleType(http.Util, "@winglang/sdk/http", "Util"), []], [apiDefaultCors.url, []], ], }); @@ -413,9 +420,15 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), [].concat(["equal"], ["nil"])], + [$stdlib.core.toLiftableModuleType(http.HttpMethod, "@winglang/sdk/http", "HttpMethod"), ["OPTIONS"]], + [$stdlib.core.toLiftableModuleType(http.Util, "@winglang/sdk/http", "Util"), ["fetch"]], [apiDefaultCors.url, []], ], "$inflight_init": [ + [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), []], + [$stdlib.core.toLiftableModuleType(http.HttpMethod, "@winglang/sdk/http", "HttpMethod"), []], + [$stdlib.core.toLiftableModuleType(http.Util, "@winglang/sdk/http", "Util"), []], [apiDefaultCors.url, []], ], }); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/api_valid_path.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/api_valid_path.test.w_compile_tf-aws.md index 636daf6a931..1ff40e38af2 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/api_valid_path.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/api_valid_path.test.w_compile_tf-aws.md @@ -550,11 +550,14 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; -const expect = $stdlib.expect; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + const expect = $stdlib.expect; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/assert.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/assert.test.w_compile_tf-aws.md index affbcd93807..9c24a66a33b 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/assert.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/assert.test.w_compile_tf-aws.md @@ -65,6 +65,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/asynchronous_model_implicit_await_in_functions.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/asynchronous_model_implicit_await_in_functions.test.w_compile_tf-aws.md index a1abff069c0..64402b8eac2 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/asynchronous_model_implicit_await_in_functions.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/asynchronous_model_implicit_await_in_functions.test.w_compile_tf-aws.md @@ -269,10 +269,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/baz.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/baz.w_compile_tf-aws.md index 806f0755f05..0bef77200bc 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/baz.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/baz.w_compile_tf-aws.md @@ -21,6 +21,7 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +let $preflightTypesMap = {}; class Baz extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -52,7 +53,7 @@ class Baz extends $stdlib.std.Resource { }); } } -module.exports = { Baz }; +module.exports = { $preflightTypesMap, Baz }; //# sourceMappingURL=preflight.cjs.map ``` diff --git a/tools/hangar/__snapshots__/test_corpus/valid/bring_alias.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/bring_alias.test.w_compile_tf-aws.md index 91d1d890678..2355f752634 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/bring_alias.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/bring_alias.test.w_compile_tf-aws.md @@ -28,11 +28,14 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const stdFs = $stdlib.fs; -const stdFs2 = $stdlib.fs; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const stdFs = $stdlib.fs; + const stdFs2 = $stdlib.fs; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; $helpers.assert($helpers.eq((stdFs.Util.dirname("/")), "/"), "stdFs.dirname(\"/\") == \"/\""); $helpers.assert($helpers.eq((stdFs2.Util.dirname("/")), "/"), "stdFs2.dirname(\"/\") == \"/\""); } diff --git a/tools/hangar/__snapshots__/test_corpus/valid/bring_awscdk.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/bring_awscdk.test.w_compile_tf-aws.md index 0619d7e6677..76c18f32c64 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/bring_awscdk.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/bring_awscdk.test.w_compile_tf-aws.md @@ -42,10 +42,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cdk = require("aws-cdk-lib"); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cdk = require("aws-cdk-lib"); + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class CdkDockerImageFunction extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/bring_cdk8s.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/bring_cdk8s.test.w_compile_tf-aws.md index 759bd050819..43ef75b0daa 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/bring_cdk8s.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/bring_cdk8s.test.w_compile_tf-aws.md @@ -28,11 +28,14 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cdk8s = require("cdk8s"); -const kplus = require("cdk8s-plus-27"); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cdk8s = require("cdk8s"); + const kplus = require("cdk8s-plus-27"); + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; const app = this.node.root.new("cdk8s.App", cdk8s.App, ); const chart = this.node.root.new("cdk8s.Chart", cdk8s.Chart, this, "Chart"); const deploy = ($scope => $scope.node.root.new("cdk8s-plus-27.Deployment", kplus.Deployment, $scope, "Deployment"))(chart); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/bring_cdktf.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/bring_cdktf.test.w_compile_tf-aws.md index 60cc9c5b347..47db08390c9 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/bring_cdktf.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/bring_cdktf.test.w_compile_tf-aws.md @@ -59,11 +59,14 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const aws = require("@cdktf/provider-aws"); -const cdktf = require("cdktf"); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const aws = require("@cdktf/provider-aws"); + const cdktf = require("cdktf"); + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/bring_extend_non_entry.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/bring_extend_non_entry.test.w_compile_tf-aws.md index 7d08220759d..169b251befa 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/bring_extend_non_entry.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/bring_extend_non_entry.test.w_compile_tf-aws.md @@ -43,10 +43,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const lib = require("./preflight.extendnonentrypoint-1.cjs"); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const lib = $helpers.bringJs(`${__dirname}/preflight.extendnonentrypoint-1.cjs`, $preflightTypesMap); + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; const f = new lib.Foo(this, "Foo"); } } @@ -63,6 +66,7 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +let $preflightTypesMap = {}; const cdk8s = require("cdk8s"); class Foo extends (this?.node?.root?.typeForFqn("cdk8s.Chart") ?? cdk8s.Chart) { constructor($scope, $id, ) { @@ -93,7 +97,7 @@ class Foo extends (this?.node?.root?.typeForFqn("cdk8s.Chart") ?? cdk8s.Chart) { }); } } -module.exports = { Foo }; +module.exports = { $preflightTypesMap, Foo }; //# sourceMappingURL=preflight.extendnonentrypoint-1.cjs.map ``` diff --git a/tools/hangar/__snapshots__/test_corpus/valid/bring_jsii.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/bring_jsii.test.w_compile_tf-aws.md index 8ce43dccc57..e670a56f704 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/bring_jsii.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/bring_jsii.test.w_compile_tf-aws.md @@ -64,12 +64,15 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; -const stuff = require("jsii-code-samples"); -const jsii_fixture = require("jsii-fixture"); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + const stuff = require("jsii-code-samples"); + const jsii_fixture = require("jsii-fixture"); + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -98,9 +101,11 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$stdlib.core.toLiftableModuleType(stuff.HelloWorld, "jsii-code-samples", "HelloWorld"), []], [greeting, []], ], "$inflight_init": [ + [$stdlib.core.toLiftableModuleType(stuff.HelloWorld, "jsii-code-samples", "HelloWorld"), []], [greeting, []], ], }); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/bring_local.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/bring_local.test.w_compile_tf-aws.md index eaea16be38c..731e6cfad7f 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/bring_local.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/bring_local.test.w_compile_tf-aws.md @@ -297,14 +297,17 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const file1 = require("./preflight.store-2.cjs"); -const file2 = require("./preflight.subfile-3.cjs"); -const file3 = require("./preflight.empty-1.cjs"); -const math = $stdlib.math; -const expect = $stdlib.expect; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const file1 = $helpers.bringJs(`${__dirname}/preflight.store-2.cjs`, $preflightTypesMap); + const file2 = $helpers.bringJs(`${__dirname}/preflight.subfile-3.cjs`, $preflightTypesMap); + const file3 = $helpers.bringJs(`${__dirname}/preflight.empty-1.cjs`, $preflightTypesMap); + const math = $stdlib.math; + const expect = $stdlib.expect; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -368,9 +371,11 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), ["equal"]], [$stdlib.core.toLiftableModuleType(file2.Q, "", "Q"), ["greet"]], ], "$inflight_init": [ + [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), []], [$stdlib.core.toLiftableModuleType(file2.Q, "", "Q"), []], ], }); @@ -459,7 +464,8 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -module.exports = { }; +let $preflightTypesMap = {}; +module.exports = { $preflightTypesMap, }; //# sourceMappingURL=preflight.empty-1.cjs.map ``` @@ -470,7 +476,8 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const file3 = require("./preflight.empty-1.cjs"); +let $preflightTypesMap = {}; +const file3 = $helpers.bringJs(`${__dirname}/preflight.empty-1.cjs`, $preflightTypesMap); const math = $stdlib.math; const cloud = $stdlib.cloud; const Color = @@ -580,7 +587,7 @@ class Store extends $stdlib.std.Resource { }); } } -module.exports = { Util, Store, Color }; +module.exports = { $preflightTypesMap, Util, Store, Color }; //# sourceMappingURL=preflight.store-2.cjs.map ``` @@ -591,6 +598,7 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +let $preflightTypesMap = {}; const math = $stdlib.math; class Q extends $stdlib.std.Resource { constructor($scope, $id, ) { @@ -629,7 +637,7 @@ class Q extends $stdlib.std.Resource { }); } } -module.exports = { Q }; +module.exports = { $preflightTypesMap, Q }; //# sourceMappingURL=preflight.subfile-3.cjs.map ``` diff --git a/tools/hangar/__snapshots__/test_corpus/valid/bring_local_dir.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/bring_local_dir.test.w_compile_tf-aws.md index 0161018121b..2dd33865c8f 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/bring_local_dir.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/bring_local_dir.test.w_compile_tf-aws.md @@ -42,6 +42,21 @@ module.exports = function({ }) { //# sourceMappingURL=inflight.Foo-3.cjs.map ``` +## inflight.InflightClass-4.cjs +```cjs +"use strict"; +const $helpers = require("@winglang/sdk/lib/helpers"); +module.exports = function({ }) { + class InflightClass { + async method() { + return "What did you expect?"; + } + } + return InflightClass; +} +//# sourceMappingURL=inflight.InflightClass-4.cjs.map +``` + ## inflight.Widget-1.cjs ```cjs "use strict"; @@ -84,11 +99,14 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const w = require("./preflight.widget-1.cjs"); -const subdir = require("./preflight.subdir2-5.cjs"); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const w = $helpers.bringJs(`${__dirname}/preflight.widget-1.cjs`, $preflightTypesMap); + const subdir = $helpers.bringJs(`${__dirname}/preflight.subdir2-6.cjs`, $preflightTypesMap); + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; const widget1 = new w.Widget(this, "widget1"); $helpers.assert($helpers.eq((widget1.compute()), 42), "widget1.compute() == 42"); const foo = new subdir.Foo(this, "Foo"); @@ -113,7 +131,8 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const blah = require("./preflight.inner-2.cjs"); +let $preflightTypesMap = {}; +const blah = $helpers.bringJs(`${__dirname}/preflight.inner-2.cjs`, $preflightTypesMap); const cloud = $stdlib.cloud; const util = $stdlib.util; class Foo extends $stdlib.std.Resource { @@ -150,7 +169,7 @@ class Foo extends $stdlib.std.Resource { }); } } -module.exports = { Foo }; +module.exports = { $preflightTypesMap, Foo }; //# sourceMappingURL=preflight.file1-3.cjs.map ``` @@ -161,6 +180,7 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +let $preflightTypesMap = {}; const util = $stdlib.util; class Bar extends $stdlib.std.Resource { constructor($scope, $id, ) { @@ -222,10 +242,54 @@ class Foo extends $stdlib.std.Resource { }); } } -module.exports = { Bar }; +module.exports = { $preflightTypesMap, Bar }; //# sourceMappingURL=preflight.file2-4.cjs.map ``` +## preflight.inflightclass-5.cjs +```cjs +"use strict"; +const $stdlib = require('@winglang/sdk'); +const std = $stdlib.std; +const $helpers = $stdlib.helpers; +const $extern = $helpers.createExternRequire(__dirname); +let $preflightTypesMap = {}; +class InflightClass extends $stdlib.std.Resource { + constructor($scope, $id, ) { + super($scope, $id); + } + static _toInflightType() { + return ` + require("${$helpers.normalPath(__dirname)}/inflight.InflightClass-4.cjs")({ + }) + `; + } + _toInflight() { + return ` + (await (async () => { + const InflightClassClient = ${InflightClass._toInflightType()}; + const client = new InflightClassClient({ + }); + if (client.$inflight_init) { await client.$inflight_init(); } + return client; + })()) + `; + } + get _liftMap() { + return ({ + "method": [ + ], + "$inflight_init": [ + ], + }); + } +} +if ($preflightTypesMap[5]) { throw new Error("InflightClass is already in type map"); } +$preflightTypesMap[5] = InflightClass; +module.exports = { $preflightTypesMap, InflightClass }; +//# sourceMappingURL=preflight.inflightclass-5.cjs.map +``` + ## preflight.inner-2.cjs ```cjs "use strict"; @@ -233,25 +297,26 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -module.exports = { - ...require("./preflight.widget-1.cjs"), -}; +const $preflightTypesMap = {}; +Object.assign(module.exports, $helpers.bringJs(`${__dirname}/preflight.widget-1.cjs`, $preflightTypesMap)); +module.exports = { ...module.exports, $preflightTypesMap }; //# sourceMappingURL=preflight.inner-2.cjs.map ``` -## preflight.subdir2-5.cjs +## preflight.subdir2-6.cjs ```cjs "use strict"; const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -module.exports = { - get inner() { return require("./preflight.inner-2.cjs") }, - ...require("./preflight.file2-4.cjs"), - ...require("./preflight.file1-3.cjs"), -}; -//# sourceMappingURL=preflight.subdir2-5.cjs.map +const $preflightTypesMap = {}; +Object.assign(module.exports, { get inner() { return $helpers.bringJs(`${__dirname}/preflight.inner-2.cjs`, $preflightTypesMap); } }); +Object.assign(module.exports, $helpers.bringJs(`${__dirname}/preflight.inflightclass-5.cjs`, $preflightTypesMap)); +Object.assign(module.exports, $helpers.bringJs(`${__dirname}/preflight.file2-4.cjs`, $preflightTypesMap)); +Object.assign(module.exports, $helpers.bringJs(`${__dirname}/preflight.file1-3.cjs`, $preflightTypesMap)); +module.exports = { ...module.exports, $preflightTypesMap }; +//# sourceMappingURL=preflight.subdir2-6.cjs.map ``` ## preflight.widget-1.cjs @@ -261,6 +326,7 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +let $preflightTypesMap = {}; class Widget extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -295,7 +361,7 @@ class Widget extends $stdlib.std.Resource { }); } } -module.exports = { Widget }; +module.exports = { $preflightTypesMap, Widget }; //# sourceMappingURL=preflight.widget-1.cjs.map ``` diff --git a/tools/hangar/__snapshots__/test_corpus/valid/bring_local_normalization.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/bring_local_normalization.test.w_compile_tf-aws.md index 4fc2a4d1afb..18f71b210fe 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/bring_local_normalization.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/bring_local_normalization.test.w_compile_tf-aws.md @@ -42,6 +42,18 @@ module.exports = function({ }) { //# sourceMappingURL=inflight.Foo-3.cjs.map ``` +## inflight.InflightBar-1.cjs +```cjs +"use strict"; +const $helpers = require("@winglang/sdk/lib/helpers"); +module.exports = function({ }) { + class InflightBar { + } + return InflightBar; +} +//# sourceMappingURL=inflight.InflightBar-1.cjs.map +``` + ## main.tf.json ```json { @@ -67,6 +79,7 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +let $preflightTypesMap = {}; class Bar extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -101,7 +114,37 @@ class Bar extends $stdlib.std.Resource { }); } } -module.exports = { Bar }; +class InflightBar extends $stdlib.std.Resource { + constructor($scope, $id, ) { + super($scope, $id); + } + static _toInflightType() { + return ` + require("${$helpers.normalPath(__dirname)}/inflight.InflightBar-1.cjs")({ + }) + `; + } + _toInflight() { + return ` + (await (async () => { + const InflightBarClient = ${InflightBar._toInflightType()}; + const client = new InflightBarClient({ + }); + if (client.$inflight_init) { await client.$inflight_init(); } + return client; + })()) + `; + } + get _liftMap() { + return ({ + "$inflight_init": [ + ], + }); + } +} +if ($preflightTypesMap[2]) { throw new Error("InflightBar is already in type map"); } +$preflightTypesMap[2] = InflightBar; +module.exports = { $preflightTypesMap, Bar, InflightBar }; //# sourceMappingURL=preflight.bar-1.cjs.map ``` @@ -112,6 +155,7 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +let $preflightTypesMap = {}; class Baz extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -143,7 +187,7 @@ class Baz extends $stdlib.std.Resource { }); } } -module.exports = { Baz }; +module.exports = { $preflightTypesMap, Baz }; //# sourceMappingURL=preflight.baz-2.cjs.map ``` @@ -157,12 +201,15 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const foo = require("./preflight.foo-3.cjs"); -const bar = require("./preflight.bar-1.cjs"); -const baz = require("./preflight.baz-2.cjs"); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const foo = $helpers.bringJs(`${__dirname}/preflight.foo-3.cjs`, $preflightTypesMap); + const bar = $helpers.bringJs(`${__dirname}/preflight.bar-1.cjs`, $preflightTypesMap); + const baz = $helpers.bringJs(`${__dirname}/preflight.baz-2.cjs`, $preflightTypesMap); + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; $helpers.assert($helpers.eq((foo.Foo.foo(this)), "foo"), "foo.Foo.foo() == \"foo\""); $helpers.assert($helpers.eq((foo.Foo.bar(this)), "bar"), "foo.Foo.bar() == \"bar\""); $helpers.assert($helpers.eq((foo.Foo.baz(this)), "baz"), "foo.Foo.baz() == \"baz\""); @@ -183,8 +230,9 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const bar = require("./preflight.bar-1.cjs"); -const baz = require("./preflight.baz-2.cjs"); +let $preflightTypesMap = {}; +const bar = $helpers.bringJs(`${__dirname}/preflight.bar-1.cjs`, $preflightTypesMap); +const baz = $helpers.bringJs(`${__dirname}/preflight.baz-2.cjs`, $preflightTypesMap); class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -222,7 +270,7 @@ class Foo extends $stdlib.std.Resource { }); } } -module.exports = { Foo }; +module.exports = { $preflightTypesMap, Foo }; //# sourceMappingURL=preflight.foo-3.cjs.map ``` diff --git a/tools/hangar/__snapshots__/test_corpus/valid/bring_projen.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/bring_projen.test.w_compile_tf-aws.md index 85d3f6033f6..7ccc2ee5a0c 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/bring_projen.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/bring_projen.test.w_compile_tf-aws.md @@ -28,10 +28,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const projen = require("projen"); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const projen = require("projen"); + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; $helpers.assert($helpers.neq(projen.LogLevel.OFF, projen.LogLevel.VERBOSE), "projen.LogLevel.OFF != projen.LogLevel.VERBOSE"); } } diff --git a/tools/hangar/__snapshots__/test_corpus/valid/bring_wing_library.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/bring_wing_library.test.w_compile_tf-aws.md index 39d1b1cbf04..5e58a8ff2aa 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/bring_wing_library.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/bring_wing_library.test.w_compile_tf-aws.md @@ -107,12 +107,15 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const fixture = require("./preflight.testfixture-5.cjs"); -const testfixture = require("./preflight.testfixture-5.cjs"); -const testfixture2 = require("./preflight.testfixture-5.cjs"); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const fixture = $helpers.bringJs(`${__dirname}/preflight.testfixture-5.cjs`, $preflightTypesMap); + const testfixture = $helpers.bringJs(`${__dirname}/preflight.testfixture-5.cjs`, $preflightTypesMap); + const testfixture2 = $helpers.bringJs(`${__dirname}/preflight.testfixture-5.cjs`, $preflightTypesMap); + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -169,6 +172,7 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +let $preflightTypesMap = {}; const FavoriteNumbers = (function (tmp) { tmp["SEVEN"] = "SEVEN"; @@ -176,7 +180,7 @@ const FavoriteNumbers = return tmp; })({}) ; -module.exports = { FavoriteNumbers }; +module.exports = { $preflightTypesMap, FavoriteNumbers }; //# sourceMappingURL=preflight.enums-1.cjs.map ``` @@ -187,8 +191,9 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +let $preflightTypesMap = {}; const cloud = $stdlib.cloud; -const myutil = require("./preflight.util-2.cjs"); +const myutil = $helpers.bringJs(`${__dirname}/preflight.util-2.cjs`, $preflightTypesMap); class Store extends $stdlib.std.Resource { constructor($scope, $id, options) { super($scope, $id); @@ -242,7 +247,7 @@ class Store extends $stdlib.std.Resource { }); } } -module.exports = { Store }; +module.exports = { $preflightTypesMap, Store }; //# sourceMappingURL=preflight.store-3.cjs.map ``` @@ -253,9 +258,9 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -module.exports = { - ...require("./preflight.util-2.cjs"), -}; +const $preflightTypesMap = {}; +Object.assign(module.exports, $helpers.bringJs(`${__dirname}/preflight.util-2.cjs`, $preflightTypesMap)); +module.exports = { ...module.exports, $preflightTypesMap }; //# sourceMappingURL=preflight.subdir-4.cjs.map ``` @@ -266,11 +271,11 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -module.exports = { - get subdir() { return require("./preflight.subdir-4.cjs") }, - ...require("./preflight.store-3.cjs"), - ...require("./preflight.enums-1.cjs"), -}; +const $preflightTypesMap = {}; +Object.assign(module.exports, { get subdir() { return $helpers.bringJs(`${__dirname}/preflight.subdir-4.cjs`, $preflightTypesMap); } }); +Object.assign(module.exports, $helpers.bringJs(`${__dirname}/preflight.store-3.cjs`, $preflightTypesMap)); +Object.assign(module.exports, $helpers.bringJs(`${__dirname}/preflight.enums-1.cjs`, $preflightTypesMap)); +module.exports = { ...module.exports, $preflightTypesMap }; //# sourceMappingURL=preflight.testfixture-5.cjs.map ``` @@ -281,6 +286,7 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +let $preflightTypesMap = {}; class Util extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -317,7 +323,7 @@ class Util extends $stdlib.std.Resource { }); } } -module.exports = { Util }; +module.exports = { $preflightTypesMap, Util }; //# sourceMappingURL=preflight.util-2.cjs.map ``` diff --git a/tools/hangar/__snapshots__/test_corpus/valid/bucket_keys.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/bucket_keys.test.w_compile_tf-aws.md index 4b8c605b7a2..e762d20f3e9 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/bucket_keys.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/bucket_keys.test.w_compile_tf-aws.md @@ -72,10 +72,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/bypass_return.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/bypass_return.test.w_compile_tf-aws.md index ea4602f5b01..03d5a647c20 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/bypass_return.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/bypass_return.test.w_compile_tf-aws.md @@ -31,6 +31,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; const simpleThrow = (() => { throw new Error("not implemented"); }); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/call_static_of_myself.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/call_static_of_myself.test.w_compile_tf-aws.md index 4611883ee58..84dbcc76d5b 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/call_static_of_myself.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/call_static_of_myself.test.w_compile_tf-aws.md @@ -102,6 +102,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -167,8 +170,10 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "callThis": [ + [Bar, ["bar"]], ], "$inflight_init": [ + [Bar, []], ], }); } @@ -179,6 +184,8 @@ class $Root extends $stdlib.std.Resource { }); } } + if ($preflightTypesMap[2]) { throw new Error("Bar is already in type map"); } + $preflightTypesMap[2] = Bar; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -208,10 +215,14 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$helpers.preflightClassSingleton(this, 2), ["callThis"]], + [Bar, ["bar"]], [Foo, ["foo"]], [foo, ["callThis"]], ], "$inflight_init": [ + [$helpers.preflightClassSingleton(this, 2), []], + [Bar, []], [Foo, []], [foo, []], ], diff --git a/tools/hangar/__snapshots__/test_corpus/valid/calling_inflight_variants.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/calling_inflight_variants.test.w_compile_tf-aws.md index fd928e94383..00adcc28e4c 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/calling_inflight_variants.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/calling_inflight_variants.test.w_compile_tf-aws.md @@ -113,6 +113,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/capture_containers.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/capture_containers.test.w_compile_tf-aws.md index 16cf7d4204f..dad39b8b93b 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/capture_containers.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/capture_containers.test.w_compile_tf-aws.md @@ -56,10 +56,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/capture_in_binary.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/capture_in_binary.test.w_compile_tf-aws.md index 73647713356..ecf8ade3a00 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/capture_in_binary.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/capture_in_binary.test.w_compile_tf-aws.md @@ -64,10 +64,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/capture_mutables.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/capture_mutables.test.w_compile_tf-aws.md index 538560e462b..1ec46a6ba0e 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/capture_mutables.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/capture_mutables.test.w_compile_tf-aws.md @@ -74,6 +74,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/capture_primitives.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/capture_primitives.test.w_compile_tf-aws.md index 1b5082f1c70..0725bb48d7e 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/capture_primitives.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/capture_primitives.test.w_compile_tf-aws.md @@ -168,10 +168,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/capture_reassigable_class_field.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/capture_reassigable_class_field.test.w_compile_tf-aws.md index 0e3e34f9f93..081361e3401 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/capture_reassigable_class_field.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/capture_reassigable_class_field.test.w_compile_tf-aws.md @@ -153,11 +153,14 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; -const util = $stdlib.util; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + const util = $stdlib.util; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class KeyValueStore extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -298,10 +301,12 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), ["waitUntil"]], [counter, ["peek"]], [kv, [].concat(["set"], ["get"])], ], "$inflight_init": [ + [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), []], [counter, []], [kv, []], ], diff --git a/tools/hangar/__snapshots__/test_corpus/valid/capture_reassignable.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/capture_reassignable.test.w_compile_tf-aws.md index 17f9085dddc..8ce585923d3 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/capture_reassignable.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/capture_reassignable.test.w_compile_tf-aws.md @@ -68,10 +68,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/capture_resource_and_data.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/capture_resource_and_data.test.w_compile_tf-aws.md index 3e4023e45ec..92ddc8fb9b6 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/capture_resource_and_data.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/capture_resource_and_data.test.w_compile_tf-aws.md @@ -78,10 +78,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/capture_resource_with_no_inflight.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/capture_resource_with_no_inflight.test.w_compile_tf-aws.md index 54af4c008fb..69f6253c74e 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/capture_resource_with_no_inflight.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/capture_resource_with_no_inflight.test.w_compile_tf-aws.md @@ -90,10 +90,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class A extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/capture_tokens.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/capture_tokens.test.w_compile_tf-aws.md index 55d284b2ce0..c2e624d2b4e 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/capture_tokens.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/capture_tokens.test.w_compile_tf-aws.md @@ -227,10 +227,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class MyResource extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/captures.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/captures.test.w_compile_tf-aws.md index 5e70bb4a547..e01268f629c 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/captures.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/captures.test.w_compile_tf-aws.md @@ -648,10 +648,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/casting.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/casting.test.w_compile_tf-aws.md index d6739f9b1c8..fefdc50a3b4 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/casting.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/casting.test.w_compile_tf-aws.md @@ -47,12 +47,15 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; -const util = $stdlib.util; -const aws = require("@cdktf/provider-aws"); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + const util = $stdlib.util; + const aws = require("@cdktf/provider-aws"); + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; const b = this.node.root.new("@winglang/sdk.cloud.Bucket", cloud.Bucket, this, "Bucket"); if ($helpers.eq((util.Util.env("WING_TARGET")), "tf-aws")) { const s3Bucket = ($helpers.nodeof(b).findChild("Default")); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/class.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/class.test.w_compile_tf-aws.md index 222177a3393..16865355b48 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/class.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/class.test.w_compile_tf-aws.md @@ -586,10 +586,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class C1 extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -1211,6 +1214,8 @@ class $Root extends $stdlib.std.Resource { }); } } + if ($preflightTypesMap[20]) { throw new Error("A is already in type map"); } + $preflightTypesMap[20] = A; class B extends A { constructor($scope, $id, ) { super($scope, $id); @@ -1240,6 +1245,8 @@ class $Root extends $stdlib.std.Resource { }); } } + if ($preflightTypesMap[21]) { throw new Error("B is already in type map"); } + $preflightTypesMap[21] = B; class $Closure5 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -1267,8 +1274,12 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$helpers.preflightClassSingleton(this, 21), ["sound"]], + [B, []], ], "$inflight_init": [ + [$helpers.preflightClassSingleton(this, 21), []], + [B, []], ], }); } diff --git a/tools/hangar/__snapshots__/test_corpus/valid/closure_class.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/closure_class.test.w_compile_tf-aws.md index 8527d14afd4..62b11c93ac9 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/closure_class.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/closure_class.test.w_compile_tf-aws.md @@ -75,6 +75,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class MyClosure extends $stdlib.std.Resource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/construct-base.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/construct-base.test.w_compile_tf-aws.md index b303e7c3cea..a2ad6b661c8 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/construct-base.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/construct-base.test.w_compile_tf-aws.md @@ -54,12 +54,15 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; -const cx = require("constructs"); -const aws = require("@cdktf/provider-aws"); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + const cx = require("constructs"); + const aws = require("@cdktf/provider-aws"); + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class WingResource extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/container_types.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/container_types.test.w_compile_tf-aws.md index bfc1c7752f2..a583447f5bf 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/container_types.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/container_types.test.w_compile_tf-aws.md @@ -62,10 +62,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; const bucket1 = this.node.root.new("@winglang/sdk.cloud.Bucket", cloud.Bucket, this, "bucket1"); const bucket2 = this.node.root.new("@winglang/sdk.cloud.Bucket", cloud.Bucket, this, "bucket2"); const bucket3 = this.node.root.new("@winglang/sdk.cloud.Bucket", cloud.Bucket, this, "bucket3"); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/custom_obj_id.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/custom_obj_id.test.w_compile_tf-aws.md index 09fd1622e94..fa553b1f8f1 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/custom_obj_id.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/custom_obj_id.test.w_compile_tf-aws.md @@ -45,6 +45,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/debug_env.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/debug_env.test.w_compile_tf-aws.md index 3cc240d6983..9f75a4cfd6e 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/debug_env.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/debug_env.test.w_compile_tf-aws.md @@ -42,10 +42,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class A extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/deep_equality.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/deep_equality.test.w_compile_tf-aws.md index 3d139298a72..fcb628d4bbd 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/deep_equality.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/deep_equality.test.w_compile_tf-aws.md @@ -306,6 +306,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -500,8 +503,10 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$stdlib.core.toLiftableModuleType(std.Json, "@winglang/sdk/std", "Json"), ["values"]], ], "$inflight_init": [ + [$stdlib.core.toLiftableModuleType(std.Json, "@winglang/sdk/std", "Json"), []], ], }); } diff --git a/tools/hangar/__snapshots__/test_corpus/valid/double_reference.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/double_reference.test.w_compile_tf-aws.md index f93187e3c3d..1796d7a91f5 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/double_reference.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/double_reference.test.w_compile_tf-aws.md @@ -108,10 +108,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/doubler.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/doubler.test.w_compile_tf-aws.md index 0fabf02ee95..1f81a187a68 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/doubler.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/doubler.test.w_compile_tf-aws.md @@ -252,10 +252,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Doubler extends $stdlib.std.Resource { constructor($scope, $id, func) { super($scope, $id); @@ -356,9 +359,13 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$stdlib.core.toLiftableModuleType(std.Json, "@winglang/sdk/std", "Json"), ["stringify"]], + [$stdlib.core.toLiftableModuleType(std.Number, "@winglang/sdk/std", "Number"), ["fromStr"]], [handler, ["handle"]], ], "$inflight_init": [ + [$stdlib.core.toLiftableModuleType(std.Json, "@winglang/sdk/std", "Json"), []], + [$stdlib.core.toLiftableModuleType(std.Number, "@winglang/sdk/std", "Number"), []], [handler, []], ], }); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/enums.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/enums.test.w_compile_tf-aws.md index 9dfb3b6b408..9d7aa868863 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/enums.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/enums.test.w_compile_tf-aws.md @@ -74,6 +74,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; const SomeEnum = (function (tmp) { tmp["ONE"] = "ONE"; @@ -117,10 +120,12 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [SomeEnum, [].concat(["ONE"], ["TWO"])], [one, []], [two, []], ], "$inflight_init": [ + [SomeEnum, []], [one, []], [two, []], ], @@ -154,8 +159,10 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [SomeEnum, [].concat(["ONE"], ["TWO"], ["THREE"])], ], "$inflight_init": [ + [SomeEnum, []], ], }); } diff --git a/tools/hangar/__snapshots__/test_corpus/valid/explicit_lift_qualification.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/explicit_lift_qualification.test.w_compile_tf-aws.md index 25ed7a932e0..82bfb8995d5 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/explicit_lift_qualification.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/explicit_lift_qualification.test.w_compile_tf-aws.md @@ -213,10 +213,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/expressions_binary_operators.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/expressions_binary_operators.test.w_compile_tf-aws.md index 5c8ac0336ed..1e163ed75c5 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/expressions_binary_operators.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/expressions_binary_operators.test.w_compile_tf-aws.md @@ -31,6 +31,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; const x = (-1); const y = (2 * x); const z = ((x + y) - 1); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/expressions_string_interpolation.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/expressions_string_interpolation.test.w_compile_tf-aws.md index b320cc977b3..6fb16c92c8a 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/expressions_string_interpolation.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/expressions_string_interpolation.test.w_compile_tf-aws.md @@ -53,10 +53,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const expect = $stdlib.expect; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const expect = $stdlib.expect; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -85,9 +88,11 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), ["equal"]], [number, []], ], "$inflight_init": [ + [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), []], [number, []], ], }); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/extend_non_entrypoint.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/extend_non_entrypoint.w_compile_tf-aws.md index 794ec04a576..8bf44dfdc83 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/extend_non_entrypoint.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/extend_non_entrypoint.w_compile_tf-aws.md @@ -22,6 +22,7 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +let $preflightTypesMap = {}; const cdk8s = require("cdk8s"); class Foo extends (this?.node?.root?.typeForFqn("cdk8s.Chart") ?? cdk8s.Chart) { constructor($scope, $id, ) { @@ -52,7 +53,7 @@ class Foo extends (this?.node?.root?.typeForFqn("cdk8s.Chart") ?? cdk8s.Chart) { }); } } -module.exports = { Foo }; +module.exports = { $preflightTypesMap, Foo }; //# sourceMappingURL=preflight.cjs.map ``` diff --git a/tools/hangar/__snapshots__/test_corpus/valid/extern_implementation.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/extern_implementation.test.w_compile_tf-aws.md index 8763ce21760..a8effb04aa1 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/extern_implementation.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/extern_implementation.test.w_compile_tf-aws.md @@ -236,10 +236,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/file_counter.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/file_counter.test.w_compile_tf-aws.md index a244a8ce90e..aceec6e2d13 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/file_counter.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/file_counter.test.w_compile_tf-aws.md @@ -216,10 +216,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/for_loop.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/for_loop.test.w_compile_tf-aws.md index 49fed41ce7f..be92a25fbfe 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/for_loop.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/for_loop.test.w_compile_tf-aws.md @@ -177,10 +177,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/forward_decl.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/forward_decl.test.w_compile_tf-aws.md index 287a91f1761..d176dedbad8 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/forward_decl.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/forward_decl.test.w_compile_tf-aws.md @@ -45,6 +45,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class R extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/function_optional_arguments.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/function_optional_arguments.test.w_compile_tf-aws.md index 2feba53142a..4cde6e758c9 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/function_optional_arguments.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/function_optional_arguments.test.w_compile_tf-aws.md @@ -45,6 +45,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/function_returns_function.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/function_returns_function.test.w_compile_tf-aws.md index 0a2609770f3..02edb318a6f 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/function_returns_function.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/function_returns_function.test.w_compile_tf-aws.md @@ -56,10 +56,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/function_type.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/function_type.test.w_compile_tf-aws.md index 1047d0fd693..d65d23f80fa 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/function_type.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/function_type.test.w_compile_tf-aws.md @@ -106,6 +106,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/function_variadic_arguments.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/function_variadic_arguments.test.w_compile_tf-aws.md index d0346334c75..c8978d701ca 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/function_variadic_arguments.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/function_variadic_arguments.test.w_compile_tf-aws.md @@ -91,10 +91,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class A extends $stdlib.std.Resource { constructor($scope, $id, msg) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/hello.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/hello.test.w_compile_tf-aws.md index a61df751352..88bcc5a917b 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/hello.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/hello.test.w_compile_tf-aws.md @@ -194,10 +194,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/identical_inflights.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/identical_inflights.test.w_compile_tf-aws.md index 8f2cbcbb2ea..34ffe393f1a 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/identical_inflights.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/identical_inflights.test.w_compile_tf-aws.md @@ -69,6 +69,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/impl_interface.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/impl_interface.test.w_compile_tf-aws.md index ee3ceb316ad..1ba04695a5b 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/impl_interface.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/impl_interface.test.w_compile_tf-aws.md @@ -265,11 +265,14 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; -const jsii_fixture = require("jsii-fixture"); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + const jsii_fixture = require("jsii-fixture"); + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class A extends $stdlib.std.Resource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -625,6 +628,8 @@ class $Root extends $stdlib.std.Resource { }); } } + if ($preflightTypesMap[11]) { throw new Error("ImplInflightIfaceInInflightClass is already in type map"); } + $preflightTypesMap[11] = ImplInflightIfaceInInflightClass; class ImplInflightIfaceInPreflightClass extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/implicit_std.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/implicit_std.test.w_compile_tf-aws.md index c2c93e1f0e7..22ee565a070 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/implicit_std.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/implicit_std.test.w_compile_tf-aws.md @@ -31,6 +31,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; const d = (std.Duration.fromMinutes(5)); const n = ((args) => { if (isNaN(args)) {throw new Error("unable to parse \"" + args + "\" as a number")}; return Number(args) })("12"); $helpers.assert($helpers.eq(d.seconds, (5 * 60)), "d.seconds == 5 * 60"); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/in_scope_construct.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/in_scope_construct.test.w_compile_tf-aws.md index c0fa4e1a016..04c31a4940f 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/in_scope_construct.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/in_scope_construct.test.w_compile_tf-aws.md @@ -42,10 +42,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const c = require("constructs"); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const c = require("constructs"); + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class MyClass extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/indexing.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/indexing.test.w_compile_tf-aws.md index 63ac7687524..36a734bcd31 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/indexing.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/indexing.test.w_compile_tf-aws.md @@ -42,11 +42,14 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; -const expect = $stdlib.expect; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + const expect = $stdlib.expect; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class A extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inference.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inference.test.w_compile_tf-aws.md index d9c9ec036f8..5cbb1cd8f3d 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inference.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inference.test.w_compile_tf-aws.md @@ -253,10 +253,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflight-subscribers.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inflight-subscribers.test.w_compile_tf-aws.md index c00ce72a039..ff2bdeff84e 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflight-subscribers.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflight-subscribers.test.w_compile_tf-aws.md @@ -322,10 +322,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflight_capture_static.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inflight_capture_static.test.w_compile_tf-aws.md index 099441fc26c..6acea4f262b 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflight_capture_static.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflight_capture_static.test.w_compile_tf-aws.md @@ -154,10 +154,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const util = $stdlib.util; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const util = $stdlib.util; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Preflight extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -226,6 +229,8 @@ class $Root extends $stdlib.std.Resource { }); } } + if ($preflightTypesMap[2]) { throw new Error("OuterInflight is already in type map"); } + $preflightTypesMap[2] = OuterInflight; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -288,8 +293,10 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [OuterInflight, ["staticMethod"]], ], "$inflight_init": [ + [OuterInflight, []], ], }); } @@ -353,8 +360,10 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), ["tryEnv"]], ], "$inflight_init": [ + [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), []], ], }); } diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_as_struct_members.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_as_struct_members.test.w_compile_tf-aws.md index 63eac774a41..22418a19e92 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_as_struct_members.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_as_struct_members.test.w_compile_tf-aws.md @@ -87,6 +87,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -117,6 +120,8 @@ class $Root extends $stdlib.std.Resource { }); } } + if ($preflightTypesMap[1]) { throw new Error("Foo is already in type map"); } + $preflightTypesMap[1] = Foo; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -144,8 +149,10 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [Foo, []], ], "$inflight_init": [ + [Foo, []], ], }); } @@ -177,9 +184,11 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$helpers.preflightClassSingleton(this, 1), ["get"]], [getBar, ["handle"]], ], "$inflight_init": [ + [$helpers.preflightClassSingleton(this, 1), []], [getBar, []], ], }); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_capture_const.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_capture_const.test.w_compile_tf-aws.md index fd1516e9e87..3a91adb2ae5 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_capture_const.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_capture_const.test.w_compile_tf-aws.md @@ -64,10 +64,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -101,6 +104,8 @@ class $Root extends $stdlib.std.Resource { }); } } + if ($preflightTypesMap[1]) { throw new Error("Foo is already in type map"); } + $preflightTypesMap[1] = Foo; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -129,9 +134,13 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$helpers.preflightClassSingleton(this, 1), ["getValue"]], + [Foo, []], [myConst, []], ], "$inflight_init": [ + [$helpers.preflightClassSingleton(this, 1), []], + [Foo, []], [myConst, []], ], }); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_capture_preflight_object.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_capture_preflight_object.test.w_compile_tf-aws.md index b11b224548b..07738803002 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_capture_preflight_object.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_capture_preflight_object.test.w_compile_tf-aws.md @@ -1,5 +1,226 @@ # [inflight_class_capture_preflight_object.test.w](../../../../../examples/tests/valid/inflight_class_capture_preflight_object.test.w) | compile | tf-aws +## inflight.$Closure1-5.cjs +```cjs +"use strict"; +const $helpers = require("@winglang/sdk/lib/helpers"); +module.exports = function({ $Foo }) { + class $Closure1 { + constructor({ }) { + const $obj = (...args) => this.handle(...args); + Object.setPrototypeOf($obj, this); + return $obj; + } + async handle() { + const f = (await (async () => {const o = new $Foo(); await o.$inflight_init?.(); return o; })()); + (await f.uploadToBucket("hello.txt", "world")); + } + } + return $Closure1; +} +//# sourceMappingURL=inflight.$Closure1-5.cjs.map +``` + +## inflight.$Closure2-5.cjs +```cjs +"use strict"; +const $helpers = require("@winglang/sdk/lib/helpers"); +module.exports = function({ $Foo }) { + class $Closure2 { + constructor({ }) { + const $obj = (...args) => this.handle(...args); + Object.setPrototypeOf($obj, this); + return $obj; + } + async handle() { + (await $Foo.fooStatic()); + } + } + return $Closure2; +} +//# sourceMappingURL=inflight.$Closure2-5.cjs.map +``` + +## inflight.$Closure3-5.cjs +```cjs +"use strict"; +const $helpers = require("@winglang/sdk/lib/helpers"); +module.exports = function({ $Foo }) { + class $Closure3 { + constructor({ }) { + const $obj = (...args) => this.handle(...args); + Object.setPrototypeOf($obj, this); + return $obj; + } + async handle() { + return (await (async () => {const o = new $Foo(); await o.$inflight_init?.(); return o; })()); + } + } + return $Closure3; +} +//# sourceMappingURL=inflight.$Closure3-5.cjs.map +``` + +## inflight.$Closure4-5.cjs +```cjs +"use strict"; +const $helpers = require("@winglang/sdk/lib/helpers"); +module.exports = function({ $getFoo }) { + class $Closure4 { + constructor({ }) { + const $obj = (...args) => this.handle(...args); + Object.setPrototypeOf($obj, this); + return $obj; + } + async handle() { + const foo = (await $getFoo()); + (await foo.uploadToBucket("greetings.txt", "universe")); + } + } + return $Closure4; +} +//# sourceMappingURL=inflight.$Closure4-5.cjs.map +``` + +## inflight.$Closure5-5.cjs +```cjs +"use strict"; +const $helpers = require("@winglang/sdk/lib/helpers"); +module.exports = function({ $b }) { + class $Closure5 { + constructor({ }) { + const $obj = (...args) => this.handle(...args); + Object.setPrototypeOf($obj, this); + return $obj; + } + async handle() { + class Foo2 { + async uploadToBucket() { + (await $b.put("x", "y")); + $helpers.assert($helpers.eq((await $b.get("x")), "y"), "b.get(\"x\") == \"y\""); + } + } + const f = (await (async () => {const o = new Foo2(); await o.$inflight_init?.(); return o; })()); + (await f.uploadToBucket()); + } + } + return $Closure5; +} +//# sourceMappingURL=inflight.$Closure5-5.cjs.map +``` + +## inflight.$Closure6-5.cjs +```cjs +"use strict"; +const $helpers = require("@winglang/sdk/lib/helpers"); +module.exports = function({ $subdir_InflightClass }) { + class $Closure6 { + constructor({ }) { + const $obj = (...args) => this.handle(...args); + Object.setPrototypeOf($obj, this); + return $obj; + } + async handle() { + const x = (await (async () => {const o = new $subdir_InflightClass(); await o.$inflight_init?.(); return o; })()); + $helpers.assert($helpers.eq((await x.method()), "What did you expect?"), "x.method() == \"What did you expect?\""); + } + } + return $Closure6; +} +//# sourceMappingURL=inflight.$Closure6-5.cjs.map +``` + +## inflight.Bar-3.cjs +```cjs +"use strict"; +const $helpers = require("@winglang/sdk/lib/helpers"); +module.exports = function({ }) { + class Bar { + constructor({ }) { + } + } + return Bar; +} +//# sourceMappingURL=inflight.Bar-3.cjs.map +``` + +## inflight.Foo-2.cjs +```cjs +"use strict"; +const $helpers = require("@winglang/sdk/lib/helpers"); +module.exports = function({ }) { + class Foo { + constructor({ }) { + } + } + return Foo; +} +//# sourceMappingURL=inflight.Foo-2.cjs.map +``` + +## inflight.Foo-3.cjs +```cjs +"use strict"; +const $helpers = require("@winglang/sdk/lib/helpers"); +module.exports = function({ }) { + class Foo { + constructor({ }) { + } + } + return Foo; +} +//# sourceMappingURL=inflight.Foo-3.cjs.map +``` + +## inflight.Foo-5.cjs +```cjs +"use strict"; +const $helpers = require("@winglang/sdk/lib/helpers"); +module.exports = function({ $b }) { + class Foo { + async uploadToBucket(k, value) { + (await $b.put(k, value)); + $helpers.assert($helpers.eq((await $b.get(k)), value), "b.get(k) == value"); + } + static async fooStatic() { + (await $b.put("a", "b")); + $helpers.assert($helpers.eq((await $b.list()), ["a"]), "b.list() == [\"a\"]"); + } + } + return Foo; +} +//# sourceMappingURL=inflight.Foo-5.cjs.map +``` + +## inflight.InflightClass-4.cjs +```cjs +"use strict"; +const $helpers = require("@winglang/sdk/lib/helpers"); +module.exports = function({ }) { + class InflightClass { + async method() { + return "What did you expect?"; + } + } + return InflightClass; +} +//# sourceMappingURL=inflight.InflightClass-4.cjs.map +``` + +## inflight.Widget-1.cjs +```cjs +"use strict"; +const $helpers = require("@winglang/sdk/lib/helpers"); +module.exports = function({ }) { + class Widget { + constructor({ }) { + } + } + return Widget; +} +//# sourceMappingURL=inflight.Widget-1.cjs.map +``` + ## main.tf.json ```json { @@ -14,6 +235,20 @@ "aws": [ {} ] + }, + "resource": { + "aws_s3_bucket": { + "Bucket": { + "//": { + "metadata": { + "path": "root/Default/Default/Bucket/Default", + "uniqueId": "Bucket" + } + }, + "bucket_prefix": "bucket-c88fdc5f-", + "force_destroy": false + } + } } } ``` @@ -31,6 +266,276 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + const subdir = $helpers.bringJs(`${__dirname}/preflight.subdir2-6.cjs`, $preflightTypesMap); + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; + class Foo extends $stdlib.std.Resource { + constructor($scope, $id, ) { + super($scope, $id); + } + static _toInflightType() { + return ` + require("${$helpers.normalPath(__dirname)}/inflight.Foo-5.cjs")({ + $b: ${$stdlib.core.liftObject(b)}, + }) + `; + } + _toInflight() { + return ` + (await (async () => { + const FooClient = ${Foo._toInflightType()}; + const client = new FooClient({ + }); + if (client.$inflight_init) { await client.$inflight_init(); } + return client; + })()) + `; + } + get _liftMap() { + return ({ + "uploadToBucket": [ + [b, [].concat(["put"], ["get"])], + ], + "$inflight_init": [ + [b, []], + ], + }); + } + static get _liftTypeMap() { + return ({ + "fooStatic": [ + [b, [].concat(["put"], ["list"])], + ], + }); + } + } + if ($preflightTypesMap[6]) { throw new Error("Foo is already in type map"); } + $preflightTypesMap[6] = Foo; + class $Closure1 extends $stdlib.std.AutoIdResource { + _id = $stdlib.core.closureId(); + constructor($scope, $id, ) { + super($scope, $id); + $helpers.nodeof(this).hidden = true; + } + static _toInflightType() { + return ` + require("${$helpers.normalPath(__dirname)}/inflight.$Closure1-5.cjs")({ + $Foo: ${$stdlib.core.liftObject(Foo)}, + }) + `; + } + _toInflight() { + return ` + (await (async () => { + const $Closure1Client = ${$Closure1._toInflightType()}; + const client = new $Closure1Client({ + }); + if (client.$inflight_init) { await client.$inflight_init(); } + return client; + })()) + `; + } + get _liftMap() { + return ({ + "handle": [ + [$helpers.preflightClassSingleton(this, 6), ["uploadToBucket"]], + [Foo, []], + ], + "$inflight_init": [ + [$helpers.preflightClassSingleton(this, 6), []], + [Foo, []], + ], + }); + } + } + class $Closure2 extends $stdlib.std.AutoIdResource { + _id = $stdlib.core.closureId(); + constructor($scope, $id, ) { + super($scope, $id); + $helpers.nodeof(this).hidden = true; + } + static _toInflightType() { + return ` + require("${$helpers.normalPath(__dirname)}/inflight.$Closure2-5.cjs")({ + $Foo: ${$stdlib.core.liftObject(Foo)}, + }) + `; + } + _toInflight() { + return ` + (await (async () => { + const $Closure2Client = ${$Closure2._toInflightType()}; + const client = new $Closure2Client({ + }); + if (client.$inflight_init) { await client.$inflight_init(); } + return client; + })()) + `; + } + get _liftMap() { + return ({ + "handle": [ + [Foo, ["fooStatic"]], + ], + "$inflight_init": [ + [Foo, []], + ], + }); + } + } + class $Closure3 extends $stdlib.std.AutoIdResource { + _id = $stdlib.core.closureId(); + constructor($scope, $id, ) { + super($scope, $id); + $helpers.nodeof(this).hidden = true; + } + static _toInflightType() { + return ` + require("${$helpers.normalPath(__dirname)}/inflight.$Closure3-5.cjs")({ + $Foo: ${$stdlib.core.liftObject(Foo)}, + }) + `; + } + _toInflight() { + return ` + (await (async () => { + const $Closure3Client = ${$Closure3._toInflightType()}; + const client = new $Closure3Client({ + }); + if (client.$inflight_init) { await client.$inflight_init(); } + return client; + })()) + `; + } + get _liftMap() { + return ({ + "handle": [ + [Foo, []], + ], + "$inflight_init": [ + [Foo, []], + ], + }); + } + } + class $Closure4 extends $stdlib.std.AutoIdResource { + _id = $stdlib.core.closureId(); + constructor($scope, $id, ) { + super($scope, $id); + $helpers.nodeof(this).hidden = true; + } + static _toInflightType() { + return ` + require("${$helpers.normalPath(__dirname)}/inflight.$Closure4-5.cjs")({ + $getFoo: ${$stdlib.core.liftObject(getFoo)}, + }) + `; + } + _toInflight() { + return ` + (await (async () => { + const $Closure4Client = ${$Closure4._toInflightType()}; + const client = new $Closure4Client({ + }); + if (client.$inflight_init) { await client.$inflight_init(); } + return client; + })()) + `; + } + get _liftMap() { + return ({ + "handle": [ + [$helpers.preflightClassSingleton(this, 6), ["uploadToBucket"]], + [getFoo, ["handle"]], + ], + "$inflight_init": [ + [$helpers.preflightClassSingleton(this, 6), []], + [getFoo, []], + ], + }); + } + } + class $Closure5 extends $stdlib.std.AutoIdResource { + _id = $stdlib.core.closureId(); + constructor($scope, $id, ) { + super($scope, $id); + $helpers.nodeof(this).hidden = true; + } + static _toInflightType() { + return ` + require("${$helpers.normalPath(__dirname)}/inflight.$Closure5-5.cjs")({ + $b: ${$stdlib.core.liftObject(b)}, + }) + `; + } + _toInflight() { + return ` + (await (async () => { + const $Closure5Client = ${$Closure5._toInflightType()}; + const client = new $Closure5Client({ + }); + if (client.$inflight_init) { await client.$inflight_init(); } + return client; + })()) + `; + } + get _liftMap() { + return ({ + "handle": [ + [b, [].concat(["put"], ["get"])], + ], + "$inflight_init": [ + [b, []], + ], + }); + } + } + class $Closure6 extends $stdlib.std.AutoIdResource { + _id = $stdlib.core.closureId(); + constructor($scope, $id, ) { + super($scope, $id); + $helpers.nodeof(this).hidden = true; + } + static _toInflightType() { + return ` + require("${$helpers.normalPath(__dirname)}/inflight.$Closure6-5.cjs")({ + $subdir_InflightClass: ${$stdlib.core.liftObject($stdlib.core.toLiftableModuleType(subdir.InflightClass, "", "InflightClass"))}, + }) + `; + } + _toInflight() { + return ` + (await (async () => { + const $Closure6Client = ${$Closure6._toInflightType()}; + const client = new $Closure6Client({ + }); + if (client.$inflight_init) { await client.$inflight_init(); } + return client; + })()) + `; + } + get _liftMap() { + return ({ + "handle": [ + [$helpers.preflightClassSingleton(this, 5), ["method"]], + [$stdlib.core.toLiftableModuleType(subdir.InflightClass, "", "InflightClass"), []], + ], + "$inflight_init": [ + [$helpers.preflightClassSingleton(this, 5), []], + [$stdlib.core.toLiftableModuleType(subdir.InflightClass, "", "InflightClass"), []], + ], + }); + } + } + const b = this.node.root.new("@winglang/sdk.cloud.Bucket", cloud.Bucket, this, "Bucket"); + this.node.root.new("@winglang/sdk.std.Test", std.Test, this, "test:inflight class captures preflight resource", new $Closure1(this, "$Closure1")); + this.node.root.new("@winglang/sdk.std.Test", std.Test, this, "test:inflight class type captures preflight resource", new $Closure2(this, "$Closure2")); + const getFoo = new $Closure3(this, "$Closure3"); + this.node.root.new("@winglang/sdk.std.Test", std.Test, this, "test:inflight class qualified without explicit reference", new $Closure4(this, "$Closure4")); + this.node.root.new("@winglang/sdk.std.Test", std.Test, this, "test:inflight class defined inflight captures preflight object", new $Closure5(this, "$Closure5")); + this.node.root.new("@winglang/sdk.std.Test", std.Test, this, "test:bring inflight class from subdir", new $Closure6(this, "$Closure6")); } } const $PlatformManager = new $stdlib.platform.PlatformManager({platformPaths: $platforms}); @@ -39,3 +544,244 @@ $APP.synth(); //# sourceMappingURL=preflight.cjs.map ``` +## preflight.file1-3.cjs +```cjs +"use strict"; +const $stdlib = require('@winglang/sdk'); +const std = $stdlib.std; +const $helpers = $stdlib.helpers; +const $extern = $helpers.createExternRequire(__dirname); +let $preflightTypesMap = {}; +const blah = $helpers.bringJs(`${__dirname}/preflight.inner-2.cjs`, $preflightTypesMap); +const cloud = $stdlib.cloud; +const util = $stdlib.util; +class Foo extends $stdlib.std.Resource { + constructor($scope, $id, ) { + super($scope, $id); + } + foo() { + return "foo"; + } + checkWidget(widget) { + return ((widget.compute()) + (blah.Widget.staticCompute(this))); + } + static _toInflightType() { + return ` + require("${$helpers.normalPath(__dirname)}/inflight.Foo-2.cjs")({ + }) + `; + } + _toInflight() { + return ` + (await (async () => { + const FooClient = ${Foo._toInflightType()}; + const client = new FooClient({ + }); + if (client.$inflight_init) { await client.$inflight_init(); } + return client; + })()) + `; + } + get _liftMap() { + return ({ + "$inflight_init": [ + ], + }); + } +} +module.exports = { $preflightTypesMap, Foo }; +//# sourceMappingURL=preflight.file1-3.cjs.map +``` + +## preflight.file2-4.cjs +```cjs +"use strict"; +const $stdlib = require('@winglang/sdk'); +const std = $stdlib.std; +const $helpers = $stdlib.helpers; +const $extern = $helpers.createExternRequire(__dirname); +let $preflightTypesMap = {}; +const util = $stdlib.util; +class Bar extends $stdlib.std.Resource { + constructor($scope, $id, ) { + super($scope, $id); + } + bar() { + (util.Util.nanoid()); + return "bar"; + } + static _toInflightType() { + return ` + require("${$helpers.normalPath(__dirname)}/inflight.Bar-3.cjs")({ + }) + `; + } + _toInflight() { + return ` + (await (async () => { + const BarClient = ${Bar._toInflightType()}; + const client = new BarClient({ + }); + if (client.$inflight_init) { await client.$inflight_init(); } + return client; + })()) + `; + } + get _liftMap() { + return ({ + "$inflight_init": [ + ], + }); + } +} +class Foo extends $stdlib.std.Resource { + constructor($scope, $id, ) { + super($scope, $id); + } + static _toInflightType() { + return ` + require("${$helpers.normalPath(__dirname)}/inflight.Foo-3.cjs")({ + }) + `; + } + _toInflight() { + return ` + (await (async () => { + const FooClient = ${Foo._toInflightType()}; + const client = new FooClient({ + }); + if (client.$inflight_init) { await client.$inflight_init(); } + return client; + })()) + `; + } + get _liftMap() { + return ({ + "$inflight_init": [ + ], + }); + } +} +module.exports = { $preflightTypesMap, Bar }; +//# sourceMappingURL=preflight.file2-4.cjs.map +``` + +## preflight.inflightclass-5.cjs +```cjs +"use strict"; +const $stdlib = require('@winglang/sdk'); +const std = $stdlib.std; +const $helpers = $stdlib.helpers; +const $extern = $helpers.createExternRequire(__dirname); +let $preflightTypesMap = {}; +class InflightClass extends $stdlib.std.Resource { + constructor($scope, $id, ) { + super($scope, $id); + } + static _toInflightType() { + return ` + require("${$helpers.normalPath(__dirname)}/inflight.InflightClass-4.cjs")({ + }) + `; + } + _toInflight() { + return ` + (await (async () => { + const InflightClassClient = ${InflightClass._toInflightType()}; + const client = new InflightClassClient({ + }); + if (client.$inflight_init) { await client.$inflight_init(); } + return client; + })()) + `; + } + get _liftMap() { + return ({ + "method": [ + ], + "$inflight_init": [ + ], + }); + } +} +if ($preflightTypesMap[5]) { throw new Error("InflightClass is already in type map"); } +$preflightTypesMap[5] = InflightClass; +module.exports = { $preflightTypesMap, InflightClass }; +//# sourceMappingURL=preflight.inflightclass-5.cjs.map +``` + +## preflight.inner-2.cjs +```cjs +"use strict"; +const $stdlib = require('@winglang/sdk'); +const std = $stdlib.std; +const $helpers = $stdlib.helpers; +const $extern = $helpers.createExternRequire(__dirname); +const $preflightTypesMap = {}; +Object.assign(module.exports, $helpers.bringJs(`${__dirname}/preflight.widget-1.cjs`, $preflightTypesMap)); +module.exports = { ...module.exports, $preflightTypesMap }; +//# sourceMappingURL=preflight.inner-2.cjs.map +``` + +## preflight.subdir2-6.cjs +```cjs +"use strict"; +const $stdlib = require('@winglang/sdk'); +const std = $stdlib.std; +const $helpers = $stdlib.helpers; +const $extern = $helpers.createExternRequire(__dirname); +const $preflightTypesMap = {}; +Object.assign(module.exports, { get inner() { return $helpers.bringJs(`${__dirname}/preflight.inner-2.cjs`, $preflightTypesMap); } }); +Object.assign(module.exports, $helpers.bringJs(`${__dirname}/preflight.inflightclass-5.cjs`, $preflightTypesMap)); +Object.assign(module.exports, $helpers.bringJs(`${__dirname}/preflight.file2-4.cjs`, $preflightTypesMap)); +Object.assign(module.exports, $helpers.bringJs(`${__dirname}/preflight.file1-3.cjs`, $preflightTypesMap)); +module.exports = { ...module.exports, $preflightTypesMap }; +//# sourceMappingURL=preflight.subdir2-6.cjs.map +``` + +## preflight.widget-1.cjs +```cjs +"use strict"; +const $stdlib = require('@winglang/sdk'); +const std = $stdlib.std; +const $helpers = $stdlib.helpers; +const $extern = $helpers.createExternRequire(__dirname); +let $preflightTypesMap = {}; +class Widget extends $stdlib.std.Resource { + constructor($scope, $id, ) { + super($scope, $id); + } + compute() { + return 42; + } + static staticCompute($scope) { + return 1337; + } + static _toInflightType() { + return ` + require("${$helpers.normalPath(__dirname)}/inflight.Widget-1.cjs")({ + }) + `; + } + _toInflight() { + return ` + (await (async () => { + const WidgetClient = ${Widget._toInflightType()}; + const client = new WidgetClient({ + }); + if (client.$inflight_init) { await client.$inflight_init(); } + return client; + })()) + `; + } + get _liftMap() { + return ({ + "$inflight_init": [ + ], + }); + } +} +module.exports = { $preflightTypesMap, Widget }; +//# sourceMappingURL=preflight.widget-1.cjs.map +``` + diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_capture_preflight_object.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_capture_preflight_object.test.w_test_sim.md index e9aae34f065..e7220befa0b 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_capture_preflight_object.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_capture_preflight_object.test.w_test_sim.md @@ -2,9 +2,13 @@ ## stdout.log ```log -pass ─ inflight_class_capture_preflight_object.test.wsim (no tests) +pass ─ inflight_class_capture_preflight_object.test.wsim » root/env0/test:inflight class captures preflight resource +pass ─ inflight_class_capture_preflight_object.test.wsim » root/env1/test:inflight class type captures preflight resource +pass ─ inflight_class_capture_preflight_object.test.wsim » root/env2/test:inflight class qualified without explicit reference +pass ─ inflight_class_capture_preflight_object.test.wsim » root/env3/test:inflight class defined inflight captures preflight object +pass ─ inflight_class_capture_preflight_object.test.wsim » root/env4/test:bring inflight class from subdir -Tests 1 passed (1) +Tests 5 passed (5) Snapshots 1 skipped Test Files 1 passed (1) Duration diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_definitions.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_definitions.test.w_compile_tf-aws.md index e537abc4187..7b51ee2ebbf 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_definitions.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_definitions.test.w_compile_tf-aws.md @@ -181,6 +181,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class A extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -244,6 +247,8 @@ class $Root extends $stdlib.std.Resource { }); } } + if ($preflightTypesMap[2]) { throw new Error("B is already in type map"); } + $preflightTypesMap[2] = B; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -342,6 +347,8 @@ class $Root extends $stdlib.std.Resource { }); } } + if ($preflightTypesMap[8]) { throw new Error("F is already in type map"); } + $preflightTypesMap[8] = F; class $Closure2 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -369,8 +376,12 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$helpers.preflightClassSingleton(this, 8), ["foo"]], + [F, ["foo"]], ], "$inflight_init": [ + [$helpers.preflightClassSingleton(this, 8), []], + [F, []], ], }); } @@ -440,12 +451,16 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$helpers.preflightClassSingleton(this, 2), ["foo"]], + [B, []], [a, ["goo"]], [d, ["callInner"]], [fn, ["handle"]], [innerD, ["handle"]], ], "$inflight_init": [ + [$helpers.preflightClassSingleton(this, 2), []], + [B, []], [a, []], [d, []], [fn, []], diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_inner_capture_mutable.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_inner_capture_mutable.test.w_compile_tf-aws.md index dabe240a3a0..7486f263ddb 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_inner_capture_mutable.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_inner_capture_mutable.test.w_compile_tf-aws.md @@ -59,10 +59,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_inside_inflight_closure.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_inside_inflight_closure.test.w_compile_tf-aws.md index 856df8223f3..1901d050321 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_inside_inflight_closure.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_inside_inflight_closure.test.w_compile_tf-aws.md @@ -239,10 +239,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class PreflightClass extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_modifiers.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_modifiers.test.w_compile_tf-aws.md index 8e93c5ec0c9..9a3dfce7fbf 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_modifiers.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_modifiers.test.w_compile_tf-aws.md @@ -50,6 +50,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class C extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -83,6 +86,8 @@ class $Root extends $stdlib.std.Resource { }); } } + if ($preflightTypesMap[1]) { throw new Error("C is already in type map"); } + $preflightTypesMap[1] = C; } } const $PlatformManager = new $stdlib.platform.PlatformManager({platformPaths: $platforms}); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_outside_inflight_closure.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_outside_inflight_closure.test.w_compile_tf-aws.md index 0c04970c411..9384086dc1a 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_outside_inflight_closure.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_outside_inflight_closure.test.w_compile_tf-aws.md @@ -70,10 +70,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class BinaryOperation extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -110,6 +113,8 @@ class $Root extends $stdlib.std.Resource { }); } } + if ($preflightTypesMap[1]) { throw new Error("BinaryOperation is already in type map"); } + $preflightTypesMap[1] = BinaryOperation; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -137,8 +142,12 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$helpers.preflightClassSingleton(this, 1), ["add"]], + [BinaryOperation, []], ], "$inflight_init": [ + [$helpers.preflightClassSingleton(this, 1), []], + [BinaryOperation, []], ], }); } diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_structural_interace_handler.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_structural_interace_handler.test.w_compile_tf-aws.md index 983628a34c9..8a655af51ed 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_structural_interace_handler.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_structural_interace_handler.test.w_compile_tf-aws.md @@ -74,11 +74,15 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class NotGoo extends $stdlib.std.Resource { + _id = $stdlib.core.closureId(); constructor($scope, $id, ) { super($scope, $id); } @@ -108,6 +112,8 @@ class $Root extends $stdlib.std.Resource { }); } } + if ($preflightTypesMap[1]) { throw new Error("NotGoo is already in type map"); } + $preflightTypesMap[1] = NotGoo; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -135,8 +141,10 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [NotGoo, []], ], "$inflight_init": [ + [NotGoo, []], ], }); } diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_without_init.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_without_init.test.w_compile_tf-aws.md index 2b1a60b79bb..f7b737fd9b7 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_without_init.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_without_init.test.w_compile_tf-aws.md @@ -60,10 +60,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -92,6 +95,8 @@ class $Root extends $stdlib.std.Resource { }); } } + if ($preflightTypesMap[1]) { throw new Error("Foo is already in type map"); } + $preflightTypesMap[1] = Foo; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -119,8 +124,10 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [Foo, []], ], "$inflight_init": [ + [Foo, []], ], }); } diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflight_closure_as_super_param.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inflight_closure_as_super_param.test.w_compile_tf-aws.md index 90f1cc224eb..f9e7a4dc4a0 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflight_closure_as_super_param.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflight_closure_as_super_param.test.w_compile_tf-aws.md @@ -114,6 +114,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflight_closure_autoid.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inflight_closure_autoid.test.w_compile_tf-aws.md index 3053064bc53..f960ed7ec92 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflight_closure_autoid.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflight_closure_autoid.test.w_compile_tf-aws.md @@ -73,6 +73,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure2 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflight_closure_inside_preflight_closure.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inflight_closure_inside_preflight_closure.test.w_compile_tf-aws.md index f12ec6a9126..1504fc3015e 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflight_closure_inside_preflight_closure.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflight_closure_inside_preflight_closure.test.w_compile_tf-aws.md @@ -64,6 +64,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflight_concat.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inflight_concat.test.w_compile_tf-aws.md index fcd905fd09c..054dbbd2863 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflight_concat.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflight_concat.test.w_compile_tf-aws.md @@ -46,10 +46,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class R extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflight_handler_singleton.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inflight_handler_singleton.test.w_compile_tf-aws.md index ef4d5090935..b49cf2c35f0 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflight_handler_singleton.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflight_handler_singleton.test.w_compile_tf-aws.md @@ -434,12 +434,15 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; -const expect = $stdlib.expect; -const util = $stdlib.util; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + const expect = $stdlib.expect; + const util = $stdlib.util; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -574,11 +577,13 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), ["equal"]], [fn, ["invoke"]], [fn2, ["invoke"]], [sim, []], ], "$inflight_init": [ + [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), []], [fn, []], [fn2, []], [sim, []], @@ -615,9 +620,13 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$stdlib.core.toLiftableModuleType(std.Duration, "@winglang/sdk/std", "Duration"), ["fromSeconds"]], + [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), ["sleep"]], [foo, [].concat(["inc"], ["get"])], ], "$inflight_init": [ + [$stdlib.core.toLiftableModuleType(std.Duration, "@winglang/sdk/std", "Duration"), []], + [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), []], [foo, []], ], }); @@ -652,9 +661,13 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$stdlib.core.toLiftableModuleType(std.Duration, "@winglang/sdk/std", "Duration"), ["fromSeconds"]], + [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), ["sleep"]], [fn3, [].concat(["invokeAsync"], ["invoke"])], ], "$inflight_init": [ + [$stdlib.core.toLiftableModuleType(std.Duration, "@winglang/sdk/std", "Duration"), []], + [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), []], [fn3, []], ], }); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflight_init.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inflight_init.test.w_compile_tf-aws.md index 107f59abfa7..fae9583fd66 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflight_init.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflight_init.test.w_compile_tf-aws.md @@ -192,10 +192,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const jsii_fixture = require("jsii-fixture"); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const jsii_fixture = require("jsii-fixture"); + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -231,6 +234,8 @@ class $Root extends $stdlib.std.Resource { }); } } + if ($preflightTypesMap[1]) { throw new Error("Foo is already in type map"); } + $preflightTypesMap[1] = Foo; class FooChild extends Foo { constructor($scope, $id, ) { super($scope, $id); @@ -263,6 +268,8 @@ class $Root extends $stdlib.std.Resource { }); } } + if ($preflightTypesMap[2]) { throw new Error("FooChild is already in type map"); } + $preflightTypesMap[2] = FooChild; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -290,8 +297,12 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$helpers.preflightClassSingleton(this, 1), [].concat(["field1"], ["field2"])], + [Foo, []], ], "$inflight_init": [ + [$helpers.preflightClassSingleton(this, 1), []], + [Foo, []], ], }); } @@ -323,8 +334,12 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$helpers.preflightClassSingleton(this, 2), [].concat(["field1"], ["field2"], ["field3"])], + [FooChild, []], ], "$inflight_init": [ + [$helpers.preflightClassSingleton(this, 2), []], + [FooChild, []], ], }); } @@ -388,8 +403,10 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$stdlib.core.toLiftableModuleType(jsii_fixture.JsiiClass, "jsii-fixture", "JsiiClass"), []], ], "$inflight_init": [ + [$stdlib.core.toLiftableModuleType(jsii_fixture.JsiiClass, "jsii-fixture", "JsiiClass"), []], ], }); } diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflights_calling_inflights.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inflights_calling_inflights.test.w_compile_tf-aws.md index 5ed1e8afb45..4141cadd9c9 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflights_calling_inflights.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflights_calling_inflights.test.w_compile_tf-aws.md @@ -272,10 +272,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inherit_stdlib_class.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inherit_stdlib_class.test.w_compile_tf-aws.md index 605a0562d1d..f23be52247e 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inherit_stdlib_class.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inherit_stdlib_class.test.w_compile_tf-aws.md @@ -289,11 +289,14 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; -const http = $stdlib.http; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + const http = $stdlib.http; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class AnApi extends (this?.node?.root?.typeForFqn("@winglang/sdk.cloud.Api") ?? cloud.Api) { constructor($scope, $id, ) { super($scope, $id); @@ -383,9 +386,11 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$stdlib.core.toLiftableModuleType(http.Util, "@winglang/sdk/http", "Util"), ["get"]], [api.url, []], ], "$inflight_init": [ + [$stdlib.core.toLiftableModuleType(http.Util, "@winglang/sdk/http", "Util"), []], [api.url, []], ], }); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inheritance_class_inflight.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inheritance_class_inflight.test.w_compile_tf-aws.md index 28e66cf857a..0a09272fbde 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inheritance_class_inflight.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inheritance_class_inflight.test.w_compile_tf-aws.md @@ -91,10 +91,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const expect = $stdlib.expect; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const expect = $stdlib.expect; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class FooBase extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -188,9 +191,11 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), ["equal"]], [foo, [].concat(["bang"], ["bug"], ["over_inflight"])], ], "$inflight_init": [ + [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), []], [foo, []], ], }); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inheritance_class_preflight.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inheritance_class_preflight.test.w_compile_tf-aws.md index 0675acb048d..e8d29f44d7c 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inheritance_class_preflight.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inheritance_class_preflight.test.w_compile_tf-aws.md @@ -57,10 +57,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const expect = $stdlib.expect; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const expect = $stdlib.expect; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class FooBase extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inheritance_interface.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inheritance_interface.test.w_compile_tf-aws.md index 1cfce89b825..8250a5117e6 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inheritance_interface.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inheritance_interface.test.w_compile_tf-aws.md @@ -42,10 +42,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const expect = $stdlib.expect; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const expect = $stdlib.expect; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Baz extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/interface.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/interface.test.w_compile_tf-aws.md index 25d7dcdd312..5ae5aa0d286 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/interface.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/interface.test.w_compile_tf-aws.md @@ -59,6 +59,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class C extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/intrinsics.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/intrinsics.test.w_compile_tf-aws.md index 826fa5f8c0b..38278f5cf41 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/intrinsics.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/intrinsics.test.w_compile_tf-aws.md @@ -75,6 +75,18 @@ module.exports = function({ $counter }) { //# sourceMappingURL=inflight.Example-2.cjs.map ``` +## inflight.InflightBar-1.cjs +```cjs +"use strict"; +const $helpers = require("@winglang/sdk/lib/helpers"); +module.exports = function({ }) { + class InflightBar { + } + return InflightBar; +} +//# sourceMappingURL=inflight.InflightBar-1.cjs.map +``` + ## main.tf.json ```json { @@ -226,6 +238,7 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +let $preflightTypesMap = {}; class Bar extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -260,7 +273,37 @@ class Bar extends $stdlib.std.Resource { }); } } -module.exports = { Bar }; +class InflightBar extends $stdlib.std.Resource { + constructor($scope, $id, ) { + super($scope, $id); + } + static _toInflightType() { + return ` + require("${$helpers.normalPath(__dirname)}/inflight.InflightBar-1.cjs")({ + }) + `; + } + _toInflight() { + return ` + (await (async () => { + const InflightBarClient = ${InflightBar._toInflightType()}; + const client = new InflightBarClient({ + }); + if (client.$inflight_init) { await client.$inflight_init(); } + return client; + })()) + `; + } + get _liftMap() { + return ({ + "$inflight_init": [ + ], + }); + } +} +if ($preflightTypesMap[2]) { throw new Error("InflightBar is already in type map"); } +$preflightTypesMap[2] = InflightBar; +module.exports = { $preflightTypesMap, Bar, InflightBar }; //# sourceMappingURL=preflight.bar-1.cjs.map ``` @@ -274,14 +317,17 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const fs = $stdlib.fs; -const expect = $stdlib.expect; -const cloud = $stdlib.cloud; -const util = $stdlib.util; -const bar = require("./preflight.bar-1.cjs"); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const fs = $stdlib.fs; + const expect = $stdlib.expect; + const cloud = $stdlib.cloud; + const util = $stdlib.util; + const bar = $helpers.bringJs(`${__dirname}/preflight.bar-1.cjs`, $preflightTypesMap); + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Example extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/issue_2889.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/issue_2889.test.w_compile_tf-aws.md index 28a3a575564..f59607ffdf5 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/issue_2889.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/issue_2889.test.w_compile_tf-aws.md @@ -277,11 +277,14 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; -const http = $stdlib.http; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + const http = $stdlib.http; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -309,8 +312,10 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$stdlib.core.toLiftableModuleType(std.Json, "@winglang/sdk/std", "Json"), [].concat(["parse"], ["stringify"])], ], "$inflight_init": [ + [$stdlib.core.toLiftableModuleType(std.Json, "@winglang/sdk/std", "Json"), []], ], }); } @@ -344,9 +349,13 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$stdlib.core.toLiftableModuleType(http.Util, "@winglang/sdk/http", "Util"), ["get"]], + [$stdlib.core.toLiftableModuleType(std.Json, "@winglang/sdk/std", "Json"), ["parse"]], [api.url, []], ], "$inflight_init": [ + [$stdlib.core.toLiftableModuleType(http.Util, "@winglang/sdk/http", "Util"), []], + [$stdlib.core.toLiftableModuleType(std.Json, "@winglang/sdk/std", "Json"), []], [api.url, []], ], }); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/json.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/json.test.w_compile_tf-aws.md index 2bafdc5c8a2..b3e36dff030 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/json.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/json.test.w_compile_tf-aws.md @@ -66,10 +66,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/json_bucket.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/json_bucket.test.w_compile_tf-aws.md index 0774d81ea04..22f947fe294 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/json_bucket.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/json_bucket.test.w_compile_tf-aws.md @@ -187,10 +187,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/json_static.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/json_static.test.w_compile_tf-aws.md index c707fb3a1fa..4c64066df78 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/json_static.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/json_static.test.w_compile_tf-aws.md @@ -71,10 +71,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -103,9 +106,11 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$stdlib.core.toLiftableModuleType(std.Json, "@winglang/sdk/std", "Json"), ["stringify"]], [jj, []], ], "$inflight_init": [ + [$stdlib.core.toLiftableModuleType(std.Json, "@winglang/sdk/std", "Json"), []], [jj, []], ], }); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/json_string_interpolation.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/json_string_interpolation.test.w_compile_tf-aws.md index e2fc9034d6b..b0b433492ed 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/json_string_interpolation.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/json_string_interpolation.test.w_compile_tf-aws.md @@ -31,6 +31,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; const obj = ({"strValue": "test", "numValue": 1}); const notStringifyStrValue = String.raw({ raw: ["string: ", ""] }, JSON.stringify(((obj, args) => { if (obj[args] === undefined) throw new Error(`Json property "${args}" does not exist`); return obj[args] })(obj, "strValue"))); $helpers.assert($helpers.eq(notStringifyStrValue, "string: \"test\""), "notStringifyStrValue == \"string: \\\"test\\\"\""); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/lift_expr_with_this.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/lift_expr_with_this.test.w_compile_tf-aws.md index 0b2bd167ff6..2d175572d59 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/lift_expr_with_this.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/lift_expr_with_this.test.w_compile_tf-aws.md @@ -66,6 +66,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/lift_inflight_closure_collection.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/lift_inflight_closure_collection.test.w_compile_tf-aws.md index a2e5f968652..53eeb3794f7 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/lift_inflight_closure_collection.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/lift_inflight_closure_collection.test.w_compile_tf-aws.md @@ -637,10 +637,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/lift_inflight_closure_returning_object_issue6501.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/lift_inflight_closure_returning_object_issue6501.test.w_compile_tf-aws.md index 78f61f0bbcd..5a63bd27a85 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/lift_inflight_closure_returning_object_issue6501.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/lift_inflight_closure_returning_object_issue6501.test.w_compile_tf-aws.md @@ -140,10 +140,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -174,6 +177,8 @@ class $Root extends $stdlib.std.Resource { }); } } + if ($preflightTypesMap[1]) { throw new Error("Foo is already in type map"); } + $preflightTypesMap[1] = Foo; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -201,8 +206,10 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [Foo, []], ], "$inflight_init": [ + [Foo, []], ], }); } @@ -234,9 +241,11 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$helpers.preflightClassSingleton(this, 1), ["do"]], [foo, ["handle"]], ], "$inflight_init": [ + [$helpers.preflightClassSingleton(this, 1), []], [foo, []], ], }); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/lift_parent_fields.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/lift_parent_fields.test.w_compile_tf-aws.md index b9b5b77c4ab..7357851ee5d 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/lift_parent_fields.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/lift_parent_fields.test.w_compile_tf-aws.md @@ -111,6 +111,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class A extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/lift_redefinition.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/lift_redefinition.test.w_compile_tf-aws.md index 7b0d6b976a7..8ae9c48474d 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/lift_redefinition.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/lift_redefinition.test.w_compile_tf-aws.md @@ -53,6 +53,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/lift_shared_resource.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/lift_shared_resource.test.w_compile_tf-aws.md index 7ed560804f7..3ebdba3c8b7 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/lift_shared_resource.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/lift_shared_resource.test.w_compile_tf-aws.md @@ -305,11 +305,14 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; -const http = $stdlib.http; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + const http = $stdlib.http; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class MyBucket extends $stdlib.std.Resource { constructor($scope, $id, bucket) { super($scope, $id); @@ -410,9 +413,11 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$stdlib.core.toLiftableModuleType(http.Util, "@winglang/sdk/http", "Util"), ["get"]], [api.url, []], ], "$inflight_init": [ + [$stdlib.core.toLiftableModuleType(http.Util, "@winglang/sdk/http", "Util"), []], [api.url, []], ], }); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/lift_this.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/lift_this.test.w_compile_tf-aws.md index a71a833cc41..5d669059063 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/lift_this.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/lift_this.test.w_compile_tf-aws.md @@ -72,10 +72,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const util = $stdlib.util; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const util = $stdlib.util; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -144,9 +147,11 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), ["env"]], [f, ["foo"]], ], "$inflight_init": [ + [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), []], [f, []], ], }); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/lift_via_closure.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/lift_via_closure.test.w_compile_tf-aws.md index b1bfee214a8..d730cf7808b 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/lift_via_closure.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/lift_via_closure.test.w_compile_tf-aws.md @@ -145,10 +145,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/lift_via_closure_explicit.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/lift_via_closure_explicit.test.w_compile_tf-aws.md index 09892856fa3..c20d2d303cd 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/lift_via_closure_explicit.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/lift_via_closure_explicit.test.w_compile_tf-aws.md @@ -84,10 +84,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class MyClosure extends $stdlib.std.Resource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/lift_weird_order.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/lift_weird_order.test.w_compile_tf-aws.md index 267393b209b..dcedef2d843 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/lift_weird_order.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/lift_weird_order.test.w_compile_tf-aws.md @@ -86,6 +86,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class B extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/lift_with_phase_ind.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/lift_with_phase_ind.test.w_compile_tf-aws.md index eda26b8fc99..d4c7ea807d1 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/lift_with_phase_ind.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/lift_with_phase_ind.test.w_compile_tf-aws.md @@ -55,10 +55,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const math = $stdlib.math; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const math = $stdlib.math; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -87,9 +90,11 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$stdlib.core.toLiftableModuleType(math.Util, "@winglang/sdk/math", "Util"), [].concat(["floor"], ["random"])], [ar, [].concat(["at"], ["length"], ["copyMut"])], ], "$inflight_init": [ + [$stdlib.core.toLiftableModuleType(math.Util, "@winglang/sdk/math", "Util"), []], [ar, []], ], }); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/map_entries.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/map_entries.test.w_compile_tf-aws.md index c50b025eeeb..24e28ee1f7f 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/map_entries.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/map_entries.test.w_compile_tf-aws.md @@ -118,6 +118,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/mut_container_types.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/mut_container_types.test.w_compile_tf-aws.md index 4664729ab76..a39a45436db 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/mut_container_types.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/mut_container_types.test.w_compile_tf-aws.md @@ -62,10 +62,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; const bucket1 = this.node.root.new("@winglang/sdk.cloud.Bucket", cloud.Bucket, this, "bucket1"); const bucket2 = this.node.root.new("@winglang/sdk.cloud.Bucket", cloud.Bucket, this, "bucket2"); const bucket3 = this.node.root.new("@winglang/sdk.cloud.Bucket", cloud.Bucket, this, "bucket3"); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/mutation_after_class_init.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/mutation_after_class_init.test.w_compile_tf-aws.md index cc3f653a9d3..36326b84129 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/mutation_after_class_init.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/mutation_after_class_init.test.w_compile_tf-aws.md @@ -339,11 +339,14 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; -const util = $stdlib.util; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + const util = $stdlib.util; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Queue extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -515,10 +518,12 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), ["waitUntil"]], [c, ["peek"]], [q, ["push"]], ], "$inflight_init": [ + [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), []], [c, []], [q, []], ], diff --git a/tools/hangar/__snapshots__/test_corpus/valid/new_in_static.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/new_in_static.test.w_compile_tf-aws.md index 94699c966bf..2ee9924e3f6 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/new_in_static.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/new_in_static.test.w_compile_tf-aws.md @@ -174,13 +174,16 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; -const c = require("constructs"); -const jsii_fixture = require("jsii-fixture"); -const new_in_static_lib = require("./preflight.newinstaticlib-1.cjs"); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + const c = require("constructs"); + const jsii_fixture = require("jsii-fixture"); + const new_in_static_lib = $helpers.bringJs(`${__dirname}/preflight.newinstaticlib-1.cjs`, $preflightTypesMap); + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class MyClass extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -358,6 +361,7 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +let $preflightTypesMap = {}; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -417,7 +421,7 @@ class LibClass extends $stdlib.std.Resource { }); } } -module.exports = { Foo, LibClass }; +module.exports = { $preflightTypesMap, Foo, LibClass }; //# sourceMappingURL=preflight.newinstaticlib-1.cjs.map ``` diff --git a/tools/hangar/__snapshots__/test_corpus/valid/new_in_static_lib.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/new_in_static_lib.w_compile_tf-aws.md index 2600606fde2..9905f1aa986 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/new_in_static_lib.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/new_in_static_lib.w_compile_tf-aws.md @@ -35,6 +35,7 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +let $preflightTypesMap = {}; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -94,7 +95,7 @@ class LibClass extends $stdlib.std.Resource { }); } } -module.exports = { Foo, LibClass }; +module.exports = { $preflightTypesMap, Foo, LibClass }; //# sourceMappingURL=preflight.cjs.map ``` diff --git a/tools/hangar/__snapshots__/test_corpus/valid/new_jsii.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/new_jsii.test.w_compile_tf-aws.md index 6ddb1f36591..4adf970a686 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/new_jsii.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/new_jsii.test.w_compile_tf-aws.md @@ -56,10 +56,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class CustomScope extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/nil.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/nil.test.w_compile_tf-aws.md index f532f728ef4..69b29e866b7 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/nil.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/nil.test.w_compile_tf-aws.md @@ -104,10 +104,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/on_lift.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/on_lift.test.w_compile_tf-aws.md index 7e78d7ad70d..325aa8db4a3 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/on_lift.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/on_lift.test.w_compile_tf-aws.md @@ -71,10 +71,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const util = $stdlib.util; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const util = $stdlib.util; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -110,14 +113,17 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "m1": [ + [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), ["env"]], ], "$inflight_init": [ + [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), []], ], }); } static get _liftTypeMap() { return ({ "m2": [ + [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), ["env"]], ], }); } diff --git a/tools/hangar/__snapshots__/test_corpus/valid/optionals.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/optionals.test.w_compile_tf-aws.md index 0ea88a8d77f..d8d0f7ef0f3 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/optionals.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/optionals.test.w_compile_tf-aws.md @@ -123,11 +123,14 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; const Person = $stdlib.std.Struct._createJsonSchema({$id:"/Person",type:"object",properties:{age:{type:"number"},name:{type:"string"},},required:["age","name",]}); + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Super extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/parameters/nested/parameters.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/parameters/nested/parameters.test.w_compile_tf-aws.md index 3503181bdfd..d98bb1e2e87 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/parameters/nested/parameters.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/parameters/nested/parameters.test.w_compile_tf-aws.md @@ -31,7 +31,10 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; const MyParams = $stdlib.std.Struct._createJsonSchema({$id:"/MyParams",type:"object",properties:{houses:{type:"array",items:{type:"object",properties:{address:{type:"string"},residents:{type:"array",items:{type:"object",properties:{age:{type:"number"},name:{type:"string"},},required:["age","name",]}},},required:["address","residents",]}},},required:["houses",]}); + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; const app = $helpers.nodeof(this).app; const myParams = MyParams._fromJson((app.parameters.read({ schema: MyParams }))); $helpers.assert($helpers.eq(myParams.houses.length, 2), "myParams.houses.length == 2"); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/parameters/simple/parameters.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/parameters/simple/parameters.test.w_compile_tf-aws.md index e304cb025bd..caa21223aea 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/parameters/simple/parameters.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/parameters/simple/parameters.test.w_compile_tf-aws.md @@ -31,7 +31,10 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; const MyParams = $stdlib.std.Struct._createJsonSchema({$id:"/MyParams",type:"object",properties:{foo:{type:"string"},meaningOfLife:{type:"number"},},required:["meaningOfLife",]}); + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; const app = $helpers.nodeof(this).app; const myParams = MyParams._fromJson((app.parameters.read({ schema: MyParams }))); { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/phase_independent_method_on_string.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/phase_independent_method_on_string.test.w_compile_tf-aws.md index 9bf16ceb677..16a89f4f03c 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/phase_independent_method_on_string.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/phase_independent_method_on_string.test.w_compile_tf-aws.md @@ -136,11 +136,14 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; -const expect = $stdlib.expect; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + const expect = $stdlib.expect; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -171,11 +174,13 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), [].concat(["equal"], ["notEqual"])], [api.url, [].concat(["startsWith"], ["length"])], [tokenLength, []], [urlRegex, ["test"]], ], "$inflight_init": [ + [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), []], [api.url, []], [tokenLength, []], [urlRegex, []], diff --git a/tools/hangar/__snapshots__/test_corpus/valid/primitive_methods.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/primitive_methods.test.w_compile_tf-aws.md index b1371d2ece1..7d06eb6d50c 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/primitive_methods.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/primitive_methods.test.w_compile_tf-aws.md @@ -31,6 +31,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; const dur = (std.Duration.fromSeconds(60)); const dur2 = (std.Duration.fromSeconds(600)); const f = ((d) => { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/print.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/print.test.w_compile_tf-aws.md index a01629c4119..58710b5f17d 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/print.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/print.test.w_compile_tf-aws.md @@ -70,10 +70,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/reassignment.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/reassignment.test.w_compile_tf-aws.md index 9a2f46ad429..d45eb465d4e 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/reassignment.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/reassignment.test.w_compile_tf-aws.md @@ -45,6 +45,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class R extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/redis.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/redis.test.w_compile_tf-aws.md index df675212cda..d398c6056c9 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/redis.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/redis.test.w_compile_tf-aws.md @@ -681,12 +681,15 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; -const util = $stdlib.util; -const ex = $stdlib.ex; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + const util = $stdlib.util; + const ex = $stdlib.ex; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -752,11 +755,13 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), ["waitUntil"]], [queue, ["push"]], [r, ["get"]], [r2, [].concat(["set"], ["get"])], ], "$inflight_init": [ + [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), []], [queue, []], [r, []], [r2, []], diff --git a/tools/hangar/__snapshots__/test_corpus/valid/resource.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/resource.test.w_compile_tf-aws.md index c53272518fe..3117975832c 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/resource.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/resource.test.w_compile_tf-aws.md @@ -708,11 +708,14 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; -const util = $stdlib.util; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + const util = $stdlib.util; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; const MyEnum = (function (tmp) { tmp["A"] = "A"; @@ -806,11 +809,13 @@ class $Root extends $stdlib.std.Resource { "testTypeAccess": [ [Bar, ["barStatic"]], [Foo, ["fooStatic"]], + [MyEnum, ["B"]], [this.e, []], ], "$inflight_init": [ [Bar, []], [Foo, []], + [MyEnum, []], [this.b, []], [this.e, []], [this.foo, []], @@ -1052,9 +1057,11 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), ["waitUntil"]], [bigOlPublisher, [].concat(["publish"], ["getObjectCount"])], ], "$inflight_init": [ + [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), []], [bigOlPublisher, []], ], }); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/resource_as_inflight_literal.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/resource_as_inflight_literal.test.w_compile_tf-aws.md index 4ae8a6f7e61..36da9581699 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/resource_as_inflight_literal.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/resource_as_inflight_literal.test.w_compile_tf-aws.md @@ -174,10 +174,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/resource_call_static.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/resource_call_static.test.w_compile_tf-aws.md index 0509113ee0e..c0ef8f3ca0f 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/resource_call_static.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/resource_call_static.test.w_compile_tf-aws.md @@ -86,10 +86,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Another extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/resource_captures.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/resource_captures.test.w_compile_tf-aws.md index e3a9b7f7cbe..41bd603ecf9 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/resource_captures.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/resource_captures.test.w_compile_tf-aws.md @@ -240,10 +240,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class First extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/resource_captures_globals.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/resource_captures_globals.test.w_compile_tf-aws.md index 83635822e9d..c3d106d17c4 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/resource_captures_globals.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/resource_captures_globals.test.w_compile_tf-aws.md @@ -362,11 +362,14 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; -const util = $stdlib.util; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + const util = $stdlib.util; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class First extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -517,6 +520,7 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "myPut": [ + [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), ["waitUntil"]], [Another, ["myStaticMethod"]], [globalAnother, ["myMethod"]], [globalAnother.first.myResource, ["put"]], @@ -532,6 +536,7 @@ class $Root extends $stdlib.std.Resource { [this.localTopic, ["publish"]], ], "$inflight_init": [ + [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), []], [Another, []], [globalAnother, []], [globalAnother.first.myResource, []], diff --git a/tools/hangar/__snapshots__/test_corpus/valid/service.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/service.test.w_compile_tf-aws.md index 72c0fe616c3..217349b8a7d 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/service.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/service.test.w_compile_tf-aws.md @@ -31,6 +31,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; } } const $PlatformManager = new $stdlib.platform.PlatformManager({platformPaths: $platforms}); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/shadowing.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/shadowing.test.w_compile_tf-aws.md index f0b9fecca15..a5c64b95b56 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/shadowing.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/shadowing.test.w_compile_tf-aws.md @@ -80,10 +80,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/sim_resource.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/sim_resource.test.w_compile_tf-aws.md index fd0ae7a5677..7711b440596 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/sim_resource.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/sim_resource.test.w_compile_tf-aws.md @@ -75,10 +75,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const sim = $stdlib.sim; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const sim = $stdlib.sim; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; const MyEnum = (function (tmp) { tmp["A"] = "A"; @@ -126,6 +129,7 @@ class $Root extends $stdlib.std.Resource { "methodWithJsons": [ ], "methodWithEnums": [ + [MyEnum, ["A"]], ], "methodWithArrays": [ ], @@ -138,10 +142,13 @@ class $Root extends $stdlib.std.Resource { "methodWithComplexTypes": [ ], "$inflight_init": [ + [MyEnum, []], ], }); } } + if ($preflightTypesMap[1]) { throw new Error("ResourceBackend is already in type map"); } + $preflightTypesMap[1] = ResourceBackend; } } const $PlatformManager = new $stdlib.platform.PlatformManager({platformPaths: $platforms}); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/statements_before_super.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/statements_before_super.w_compile_tf-aws.md index 7fdd23242c0..87c6fd80fb3 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/statements_before_super.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/statements_before_super.w_compile_tf-aws.md @@ -36,6 +36,7 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +let $preflightTypesMap = {}; class A extends $stdlib.std.Resource { constructor($scope, $id, a) { super($scope, $id); @@ -95,7 +96,7 @@ class B extends A { }); } } -module.exports = { }; +module.exports = { $preflightTypesMap, }; //# sourceMappingURL=preflight.cjs.map ``` diff --git a/tools/hangar/__snapshots__/test_corpus/valid/statements_if.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/statements_if.test.w_compile_tf-aws.md index 30eb8fa4754..62dfa63453e 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/statements_if.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/statements_if.test.w_compile_tf-aws.md @@ -67,10 +67,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/statements_variable_declarations.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/statements_variable_declarations.test.w_compile_tf-aws.md index 8d74f4b9971..e4d65b4ad3f 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/statements_variable_declarations.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/statements_variable_declarations.test.w_compile_tf-aws.md @@ -31,6 +31,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; const x = 2; const y = x; const id = 1; diff --git a/tools/hangar/__snapshots__/test_corpus/valid/static_members.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/static_members.test.w_compile_tf-aws.md index 780b990a746..889b4c06696 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/static_members.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/static_members.test.w_compile_tf-aws.md @@ -75,10 +75,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/std_containers.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/std_containers.test.w_compile_tf-aws.md index d6009c0537f..2c88436783f 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/std_containers.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/std_containers.test.w_compile_tf-aws.md @@ -75,6 +75,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Animal extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/std_string.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/std_string.test.w_compile_tf-aws.md index 9838e17fea0..7e6b876f3f0 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/std_string.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/std_string.test.w_compile_tf-aws.md @@ -53,6 +53,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/store.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/store.w_compile_tf-aws.md index 5afb35fc2ee..2fc82a4643e 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/store.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/store.w_compile_tf-aws.md @@ -59,7 +59,8 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const file3 = require("./preflight.empty-1.cjs"); +let $preflightTypesMap = {}; +const file3 = $helpers.bringJs(`${__dirname}/preflight.empty-1.cjs`, $preflightTypesMap); const math = $stdlib.math; const cloud = $stdlib.cloud; const Color = @@ -169,7 +170,7 @@ class Store extends $stdlib.std.Resource { }); } } -module.exports = { Util, Store, Color }; +module.exports = { $preflightTypesMap, Util, Store, Color }; //# sourceMappingURL=preflight.cjs.map ``` @@ -180,7 +181,8 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -module.exports = { }; +let $preflightTypesMap = {}; +module.exports = { $preflightTypesMap, }; //# sourceMappingURL=preflight.empty-1.cjs.map ``` diff --git a/tools/hangar/__snapshots__/test_corpus/valid/stringify.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/stringify.test.w_compile_tf-aws.md index abf6a1f0424..c7c2345a711 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/stringify.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/stringify.test.w_compile_tf-aws.md @@ -31,6 +31,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; const MyEnum = (function (tmp) { tmp["A"] = "A"; diff --git a/tools/hangar/__snapshots__/test_corpus/valid/struct_from_json.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/struct_from_json.test.w_compile_tf-aws.md index dbd874c1694..65c76f35127 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/struct_from_json.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/struct_from_json.test.w_compile_tf-aws.md @@ -176,12 +176,14 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; -const externalStructs = require("./preflight.structs-1.cjs"); -const otherExternalStructs = require("./preflight.structs2-2.cjs"); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + const externalStructs = $helpers.bringJs(`${__dirname}/preflight.structs-1.cjs`, $preflightTypesMap); + const otherExternalStructs = $helpers.bringJs(`${__dirname}/preflight.structs2-2.cjs`, $preflightTypesMap); const Bar = $stdlib.std.Struct._createJsonSchema({$id:"/Bar",type:"object",properties:{b:{type:"number"},f:{type:"string"},},required:["b","f",]}); const Foo = $stdlib.std.Struct._createJsonSchema({$id:"/Foo",type:"object",properties:{f:{type:"string"},},required:["f",]}); const Foosible = $stdlib.std.Struct._createJsonSchema({$id:"/Foosible",type:"object",properties:{f:{type:"string"},},required:[]}); @@ -189,6 +191,7 @@ class $Root extends $stdlib.std.Resource { const Student = $stdlib.std.Struct._createJsonSchema({$id:"/Student",type:"object",properties:{additionalData:{type:["object","string","boolean","number","array"]},advisor:{type:"object",properties:{dob:{type:"object",properties:{day:{type:"number"},month:{type:"number"},year:{type:"number"},},required:["day","month","year",]},employeeID:{type:"string"},firstName:{type:"string"},lastName:{type:"string"},},required:["dob","employeeID","firstName","lastName",]},coursesTaken:{type:"array",items:{type:"object",properties:{course:{type:"object",properties:{credits:{type:"number"},name:{type:"string"},},required:["credits","name",]},dateTaken:{type:"object",properties:{day:{type:"number"},month:{type:"number"},year:{type:"number"},},required:["day","month","year",]},grade:{type:"string"},},required:["course","dateTaken","grade",]}},dob:{type:"object",properties:{day:{type:"number"},month:{type:"number"},year:{type:"number"},},required:["day","month","year",]},enrolled:{type:"boolean"},enrolledCourses:{type:"array",uniqueItems:true,items:{type:"object",properties:{credits:{type:"number"},name:{type:"string"},},required:["credits","name",]}},firstName:{type:"string"},lastName:{type:"string"},schoolId:{type:"string"},},required:["dob","enrolled","firstName","lastName","schoolId",]}); const cloud_BucketProps = $stdlib.std.Struct._createJsonSchema({$id:"/BucketProps",type:"object",properties:{public:{type:"boolean"},},required:[]}); const externalStructs_MyOtherStruct = $stdlib.std.Struct._createJsonSchema({$id:"/MyOtherStruct",type:"object",properties:{data:{type:"object",properties:{val:{type:"number"},},required:["val",]},},required:["data",]}); + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -217,9 +220,11 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$stdlib.core.toLiftableModuleType(cloud_BucketProps, "@winglang/sdk/cloud", "BucketProps"), ["fromJson"]], [j, []], ], "$inflight_init": [ + [$stdlib.core.toLiftableModuleType(cloud_BucketProps, "@winglang/sdk/cloud", "BucketProps"), []], [j, []], ], }); @@ -252,8 +257,10 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [Student, ["fromJson"]], ], "$inflight_init": [ + [Student, []], ], }); } @@ -286,9 +293,11 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [Student, ["fromJson"]], [jStudent1, []], ], "$inflight_init": [ + [Student, []], [jStudent1, []], ], }); @@ -325,11 +334,15 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$stdlib.core.toLiftableModuleType(std.Json, "@winglang/sdk/std", "Json"), ["stringify"]], + [MyStruct, ["schema"]], [expectedSchema, []], [jMyStruct, []], [schema, ["asStr"]], ], "$inflight_init": [ + [$stdlib.core.toLiftableModuleType(std.Json, "@winglang/sdk/std", "Json"), []], + [MyStruct, []], [expectedSchema, []], [jMyStruct, []], [schema, []], @@ -367,8 +380,16 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$stdlib.core.toLiftableModuleType(std.Boolean, "@winglang/sdk/std", "Boolean"), ["fromJson"]], + [$stdlib.core.toLiftableModuleType(std.Number, "@winglang/sdk/std", "Number"), ["fromJson"]], + [$stdlib.core.toLiftableModuleType(std.String, "@winglang/sdk/std", "String"), ["fromJson"]], + [Student, ["fromJson"]], ], "$inflight_init": [ + [$stdlib.core.toLiftableModuleType(std.Boolean, "@winglang/sdk/std", "Boolean"), []], + [$stdlib.core.toLiftableModuleType(std.Number, "@winglang/sdk/std", "Number"), []], + [$stdlib.core.toLiftableModuleType(std.String, "@winglang/sdk/std", "String"), []], + [Student, []], ], }); } @@ -511,7 +532,8 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -module.exports = { }; +let $preflightTypesMap = {}; +module.exports = { $preflightTypesMap, }; //# sourceMappingURL=preflight.structs-1.cjs.map ``` @@ -522,6 +544,7 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +let $preflightTypesMap = {}; const SomeStruct = $stdlib.std.Struct._createJsonSchema({$id:"/SomeStruct",type:"object",properties:{foo:{type:"string"},},required:["foo",]}); class UsesStructInImportedFile extends $stdlib.std.Resource { constructor($scope, $id, ) { @@ -552,7 +575,7 @@ class UsesStructInImportedFile extends $stdlib.std.Resource { }); } } -module.exports = { UsesStructInImportedFile }; +module.exports = { $preflightTypesMap, UsesStructInImportedFile }; //# sourceMappingURL=preflight.structs2-2.cjs.map ``` diff --git a/tools/hangar/__snapshots__/test_corpus/valid/structs.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/structs.test.w_compile_tf-aws.md index c7f1e74c5a8..234bfdbe3d8 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/structs.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/structs.test.w_compile_tf-aws.md @@ -67,10 +67,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const expect = $stdlib.expect; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const expect = $stdlib.expect; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, b) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/super_call.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/super_call.test.w_compile_tf-aws.md index def61b603a0..083a31cb4d7 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/super_call.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/super_call.test.w_compile_tf-aws.md @@ -223,11 +223,14 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const expect = $stdlib.expect; -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const expect = $stdlib.expect; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class A extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -412,6 +415,8 @@ class $Root extends $stdlib.std.Resource { }); } } + if ($preflightTypesMap[6]) { throw new Error("InflightA is already in type map"); } + $preflightTypesMap[6] = InflightA; class InflightB extends InflightA { constructor($scope, $id, ) { super($scope, $id); @@ -443,6 +448,8 @@ class $Root extends $stdlib.std.Resource { }); } } + if ($preflightTypesMap[7]) { throw new Error("InflightB is already in type map"); } + $preflightTypesMap[7] = InflightB; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -471,8 +478,14 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$helpers.preflightClassSingleton(this, 7), ["description"]], + [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), ["equal"]], + [InflightB, []], ], "$inflight_init": [ + [$helpers.preflightClassSingleton(this, 7), []], + [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), []], + [InflightB, []], ], }); } @@ -572,9 +585,11 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), ["equal"]], [extended, ["do"]], ], "$inflight_init": [ + [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), []], [extended, []], ], }); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/symbol_shadow.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/symbol_shadow.test.w_compile_tf-aws.md index 421ba0afddc..42b94770984 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/symbol_shadow.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/symbol_shadow.test.w_compile_tf-aws.md @@ -123,10 +123,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class A extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/table.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/table.test.w_compile_tf-aws.md index 0e2da91975a..c927d4a3054 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/table.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/table.test.w_compile_tf-aws.md @@ -52,10 +52,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const ex = $stdlib.ex; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const ex = $stdlib.ex; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; const t = this.node.root.new("@winglang/sdk.ex.Table", ex.Table, this, "Table", { name: "simple-table", primaryKey: "id", columns: ({["id"]: ex.ColumnType.STRING, ["name"]: ex.ColumnType.STRING, ["age"]: ex.ColumnType.NUMBER}) }); } } diff --git a/tools/hangar/__snapshots__/test_corpus/valid/test_bucket.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/test_bucket.test.w_compile_tf-aws.md index 3c3ac279786..5ea2ff2f6cb 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/test_bucket.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/test_bucket.test.w_compile_tf-aws.md @@ -85,10 +85,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/test_without_bring.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/test_without_bring.test.w_compile_tf-aws.md index 7b18f6b34ae..599ddd7e22c 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/test_without_bring.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/test_without_bring.test.w_compile_tf-aws.md @@ -51,6 +51,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/this.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/this.test.w_compile_tf-aws.md index 2356d69988e..a62860645e0 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/this.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/this.test.w_compile_tf-aws.md @@ -28,10 +28,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const expect = $stdlib.expect; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const expect = $stdlib.expect; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; const path = $helpers.nodeof(this).path; for (const c of $helpers.nodeof(this).children) { console.log($helpers.nodeof(c).path); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/to_inflight.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/to_inflight.test.w_compile_tf-aws.md index c6e72bfd406..250004648b3 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/to_inflight.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/to_inflight.test.w_compile_tf-aws.md @@ -62,10 +62,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/try_catch.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/try_catch.test.w_compile_tf-aws.md index 4010f1331de..ea344d1aede 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/try_catch.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/try_catch.test.w_compile_tf-aws.md @@ -31,6 +31,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; let x = ""; try { throw new Error("hello"); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/unused_lift.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/unused_lift.test.w_compile_tf-aws.md index 096a246a18b..ba775e69f5d 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/unused_lift.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/unused_lift.test.w_compile_tf-aws.md @@ -120,10 +120,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/use_inflight_method_inside_init_closure.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/use_inflight_method_inside_init_closure.test.w_compile_tf-aws.md index b66cafb179b..136422bbe26 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/use_inflight_method_inside_init_closure.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/use_inflight_method_inside_init_closure.test.w_compile_tf-aws.md @@ -170,10 +170,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/website_with_api.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/website_with_api.test.w_compile_tf-aws.md index 692db90b036..fabea5493dc 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/website_with_api.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/website_with_api.test.w_compile_tf-aws.md @@ -628,13 +628,16 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; -const ex = $stdlib.ex; -const http = $stdlib.http; -const expect = $stdlib.expect; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + const ex = $stdlib.ex; + const http = $stdlib.http; + const expect = $stdlib.expect; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -663,9 +666,11 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$stdlib.core.toLiftableModuleType(std.Json, "@winglang/sdk/std", "Json"), ["stringify"]], [usersTable, ["list"]], ], "$inflight_init": [ + [$stdlib.core.toLiftableModuleType(std.Json, "@winglang/sdk/std", "Json"), []], [usersTable, []], ], }); @@ -699,9 +704,11 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$stdlib.core.toLiftableModuleType(std.Json, "@winglang/sdk/std", "Json"), [].concat(["parse"], ["stringify"])], [usersTable, ["insert"]], ], "$inflight_init": [ + [$stdlib.core.toLiftableModuleType(std.Json, "@winglang/sdk/std", "Json"), []], [usersTable, []], ], }); @@ -737,9 +744,15 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), [].concat(["equal"], ["nil"])], + [$stdlib.core.toLiftableModuleType(http.HttpMethod, "@winglang/sdk/http", "HttpMethod"), ["GET"]], + [$stdlib.core.toLiftableModuleType(http.Util, "@winglang/sdk/http", "Util"), ["fetch"]], [api.url, []], ], "$inflight_init": [ + [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), []], + [$stdlib.core.toLiftableModuleType(http.HttpMethod, "@winglang/sdk/http", "HttpMethod"), []], + [$stdlib.core.toLiftableModuleType(http.Util, "@winglang/sdk/http", "Util"), []], [api.url, []], ], }); @@ -775,9 +788,15 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ + [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), ["equal"]], + [$stdlib.core.toLiftableModuleType(http.HttpMethod, "@winglang/sdk/http", "HttpMethod"), ["OPTIONS"]], + [$stdlib.core.toLiftableModuleType(http.Util, "@winglang/sdk/http", "Util"), ["fetch"]], [api.url, []], ], "$inflight_init": [ + [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), []], + [$stdlib.core.toLiftableModuleType(http.HttpMethod, "@winglang/sdk/http", "HttpMethod"), []], + [$stdlib.core.toLiftableModuleType(http.Util, "@winglang/sdk/http", "Util"), []], [api.url, []], ], }); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/while.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/while.test.w_compile_tf-aws.md index d380f7b9611..710be6ffecd 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/while.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/while.test.w_compile_tf-aws.md @@ -31,6 +31,9 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; while (false) { const x = 1; } diff --git a/tools/hangar/__snapshots__/test_corpus/valid/while_loop_await.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/while_loop_await.test.w_compile_tf-aws.md index 536b86d5155..b86de064c41 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/while_loop_await.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/while_loop_await.test.w_compile_tf-aws.md @@ -189,10 +189,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); + $helpers.nodeof(this).root.$preflightTypesMap = { }; + let $preflightTypesMap = {}; + const cloud = $stdlib.cloud; + $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { From 7fe1e215454610bca783f2d36ce844be85b79013 Mon Sep 17 00:00:00 2001 From: eladcon Date: Sat, 29 Jun 2024 14:16:18 +0300 Subject: [PATCH 17/17] revert: lifting globals from inflight classes defined in preflight fails, take 2" (#6805) Reverts winglang/wing#6801 --- apps/wing/src/commands/pack.test.ts | 1 - ...ight_class_capture_preflight_object.test.w | 64 +- examples/tests/valid/subdir/bar.w | 2 - examples/tests/valid/subdir2/inflight_class.w | 5 - .../src/dtsify/snapshots/declarations.snap | 13 +- .../wingc/src/dtsify/snapshots/optionals.snap | 9 +- libs/wingc/src/jsify.rs | 128 ++- ...methods_and_properties_on_collections.snap | 3 - .../access_property_on_primitive.snap | 3 - ...rty_on_value_returned_from_collection.snap | 3 - .../allow_type_def_before_super.snap | 3 - .../base_class_captures_inflight.snap | 3 - .../base_class_captures_preflight.snap | 3 - .../snapshots/base_class_lift_indirect.snap | 5 +- .../base_class_with_fields_inflight.snap | 3 - .../base_class_with_fields_preflight.snap | 3 - .../base_class_with_lifted_field_object.snap | 5 +- .../base_class_with_lifted_fields.snap | 3 - libs/wingc/src/jsify/snapshots/builtins.snap | 3 - ..._static_inflight_from_static_inflight.snap | 5 - .../calls_methods_on_preflight_object.snap | 5 +- ...pture_from_inside_an_inflight_closure.snap | 5 +- ...entifier_closure_from_preflight_scope.snap | 3 - ...pture_identifier_from_preflight_scope.snap | 3 - ...from_preflight_scope_with_method_call.snap | 3 - ...om_preflight_scope_with_nested_object.snap | 5 +- ...er_from_preflight_scope_with_property.snap | 3 - .../snapshots/capture_in_keyword_args.snap | 7 +- .../capture_object_with_this_in_name.snap | 5 +- .../src/jsify/snapshots/capture_token.snap | 5 +- ...type_inflight_class_sibling_from_init.snap | 3 - ...pe_inflight_class_sibling_from_method.snap | 3 - ...e_new_inflight_class_inner_no_capture.snap | 3 - ...capture_type_new_inflight_class_outer.snap | 7 - .../snapshots/capture_type_static_method.snap | 3 - ...ure_type_static_method_inflight_class.snap | 7 - .../capture_var_from_method_inflight.snap | 3 - ...ht_class_extends_outer_inflight_class.snap | 7 - .../src/jsify/snapshots/closure_field.snap | 5 +- .../src/jsify/snapshots/entrypoint_this.snap | 3 - .../wingc/src/jsify/snapshots/enum_value.snap | 5 - .../free_inflight_obj_from_inflight.snap | 3 - .../free_preflight_object_from_preflight.snap | 3 - .../jsify/snapshots/func_returns_func.snap | 3 - .../src/jsify/snapshots/identify_field.snap | 5 +- .../implicit_lift_inflight_init.snap | 5 +- .../src/jsify/snapshots/indirect_capture.snap | 5 +- ..._extends_both_inside_inflight_closure.snap | 3 - ...inflight_class_extends_inflight_class.snap | 7 - .../jsify/snapshots/inflight_constructor.snap | 3 - .../src/jsify/snapshots/inflight_field.snap | 3 - .../inflight_field_from_inflight.snap | 3 - .../inflight_field_from_inflight_class.snap | 5 - .../snapshots/inline_inflight_class.snap | 5 +- .../src/jsify/snapshots/json_object.snap | 5 - ...ary_preflight_and_inflight_expression.snap | 3 - .../lift_binary_preflight_expression.snap | 3 - ...lift_element_from_collection_as_field.snap | 5 +- ...ft_element_from_collection_of_objects.snap | 5 +- .../snapshots/lift_inflight_closure.snap | 3 - .../lift_inside_preflight_method.snap | 5 +- .../jsify/snapshots/lift_self_reference.snap | 3 - .../src/jsify/snapshots/lift_string.snap | 3 - libs/wingc/src/jsify/snapshots/lift_this.snap | 3 - .../jsify/snapshots/lift_var_with_this.snap | 3 - .../src/jsify/snapshots/lift_via_closure.snap | 5 +- .../lift_via_closure_class_explicit.snap | 5 +- .../namespaced_static_from_inflight.snap | 7 +- ...ed_inflight_after_preflight_operation.snap | 5 +- .../snapshots/nested_preflight_operation.snap | 5 +- .../jsify/snapshots/new_inflight_object.snap | 7 - .../snapshots/no_capture_inside_methods.snap | 3 - ...apture_of_identifier_from_inner_scope.snap | 3 - ...capture_of_identifier_from_same_scope.snap | 3 - ...no_capture_shadow_inside_inner_scopes.snap | 3 - .../no_lift_shadow_inside_inner_scopes.snap | 3 - ...eflight_class_extends_preflight_class.snap | 3 - .../jsify/snapshots/preflight_collection.snap | 3 - ...light_collection_of_preflight_objects.snap | 5 +- ...eflight_nested_object_with_operations.snap | 5 +- .../src/jsify/snapshots/preflight_object.snap | 3 - .../preflight_object_through_property.snap | 5 +- .../preflight_object_with_operations.snap | 5 +- ...ject_with_operations_multiple_methods.snap | 5 +- .../snapshots/preflight_value_field.snap | 3 - ...ht_type_refrencing_preflight_instance.snap | 209 ----- .../jsify/snapshots/read_primitive_value.snap | 3 - .../snapshots/reassign_captured_variable.snap | 3 - ...eassigned_captured_variable_preflight.snap | 3 - .../src/jsify/snapshots/ref_std_macro.snap | 3 - .../reference_from_static_inflight.snap | 3 - .../snapshots/reference_inflight_class.snap | 7 - .../snapshots/reference_inflight_field.snap | 3 - .../reference_inflight_from_inflight.snap | 7 - .../reference_lift_of_collection.snap | 3 - .../snapshots/reference_preflight_field.snap | 3 - ...eflight_field_call_independent_method.snap | 3 - .../snapshots/reference_preflight_fields.snap | 5 +- ..._variable_with_this_in_the_expression.snap | 5 +- ...preflight_object_from_static_inflight.snap | 5 +- .../snapshots/reference_static_inflight.snap | 3 - ...ght_which_references_preflight_object.snap | 5 +- .../static_external_inflight_class.snap | 7 - .../static_external_preflight_class.snap | 3 - .../snapshots/static_inflight_operation.snap | 5 +- .../static_local_inflight_class.snap | 3 - .../jsify/snapshots/static_on_std_type.snap | 7 - .../jsify/snapshots/transitive_reference.snap | 5 +- ...ansitive_reference_via_inflight_class.snap | 11 +- .../transitive_reference_via_static.snap | 5 +- .../jsify/snapshots/two_identical_lifts.snap | 5 +- .../jsify/snapshots/use_util_functions.snap | 7 +- .../var_inflight_field_from_inflight.snap | 3 - libs/wingc/src/jsify/snapshots/wait_util.snap | 7 +- libs/wingc/src/jsify/tests.rs | 23 - libs/wingc/src/lifting.rs | 57 +- libs/wingc/src/lsp/symbol_locator.rs | 2 +- libs/wingc/src/type_check.rs | 129 ++- libs/wingc/src/type_check/jsii_importer.rs | 5 - libs/wingc/src/type_check/lifts.rs | 2 +- libs/wingc/src/visit_context.rs | 8 +- libs/wingsdk/src/core/lifting.ts | 5 +- libs/wingsdk/src/helpers.ts | 61 -- tools/hangar/__snapshots__/invalid.ts.snap | 14 + .../anon_function.test.w_compile_tf-aws.md | 3 - .../valid/api.test.w_compile_tf-aws.md | 7 +- .../api_cors_custom.test.w_compile_tf-aws.md | 27 +- .../api_cors_default.test.w_compile_tf-aws.md | 21 +- .../api_valid_path.test.w_compile_tf-aws.md | 7 +- .../valid/assert.test.w_compile_tf-aws.md | 3 - ...wait_in_functions.test.w_compile_tf-aws.md | 5 +- .../test_corpus/valid/baz.w_compile_tf-aws.md | 3 +- .../bring_alias.test.w_compile_tf-aws.md | 7 +- .../bring_awscdk.test.w_compile_tf-aws.md | 5 +- .../bring_cdk8s.test.w_compile_tf-aws.md | 7 +- .../bring_cdktf.test.w_compile_tf-aws.md | 7 +- ..._extend_non_entry.test.w_compile_tf-aws.md | 8 +- .../valid/bring_jsii.test.w_compile_tf-aws.md | 11 +- .../bring_local.test.w_compile_tf-aws.md | 26 +- .../bring_local_dir.test.w_compile_tf-aws.md | 98 +-- ...cal_normalization.test.w_compile_tf-aws.md | 64 +- .../bring_projen.test.w_compile_tf-aws.md | 5 +- ...ring_wing_library.test.w_compile_tf-aws.md | 36 +- .../bucket_keys.test.w_compile_tf-aws.md | 5 +- .../bypass_return.test.w_compile_tf-aws.md | 3 - ..._static_of_myself.test.w_compile_tf-aws.md | 11 - ...inflight_variants.test.w_compile_tf-aws.md | 3 - ...apture_containers.test.w_compile_tf-aws.md | 5 +- ...capture_in_binary.test.w_compile_tf-aws.md | 5 +- .../capture_mutables.test.w_compile_tf-aws.md | 3 - ...apture_primitives.test.w_compile_tf-aws.md | 5 +- ...gable_class_field.test.w_compile_tf-aws.md | 9 +- ...ture_reassignable.test.w_compile_tf-aws.md | 5 +- ...resource_and_data.test.w_compile_tf-aws.md | 5 +- ..._with_no_inflight.test.w_compile_tf-aws.md | 5 +- .../capture_tokens.test.w_compile_tf-aws.md | 5 +- .../valid/captures.test.w_compile_tf-aws.md | 5 +- .../valid/casting.test.w_compile_tf-aws.md | 9 +- .../valid/class.test.w_compile_tf-aws.md | 13 +- .../closure_class.test.w_compile_tf-aws.md | 3 - .../construct-base.test.w_compile_tf-aws.md | 9 +- .../container_types.test.w_compile_tf-aws.md | 5 +- .../custom_obj_id.test.w_compile_tf-aws.md | 3 - .../valid/debug_env.test.w_compile_tf-aws.md | 5 +- .../deep_equality.test.w_compile_tf-aws.md | 5 - .../double_reference.test.w_compile_tf-aws.md | 5 +- .../valid/doubler.test.w_compile_tf-aws.md | 9 +- .../valid/enums.test.w_compile_tf-aws.md | 7 - ...ift_qualification.test.w_compile_tf-aws.md | 5 +- ..._binary_operators.test.w_compile_tf-aws.md | 3 - ...ing_interpolation.test.w_compile_tf-aws.md | 7 +- .../extend_non_entrypoint.w_compile_tf-aws.md | 3 +- ...rn_implementation.test.w_compile_tf-aws.md | 5 +- .../file_counter.test.w_compile_tf-aws.md | 5 +- .../valid/for_loop.test.w_compile_tf-aws.md | 5 +- .../forward_decl.test.w_compile_tf-aws.md | 3 - ...ptional_arguments.test.w_compile_tf-aws.md | 3 - ..._returns_function.test.w_compile_tf-aws.md | 5 +- .../function_type.test.w_compile_tf-aws.md | 3 - ...ariadic_arguments.test.w_compile_tf-aws.md | 5 +- .../valid/hello.test.w_compile_tf-aws.md | 5 +- ...entical_inflights.test.w_compile_tf-aws.md | 3 - .../impl_interface.test.w_compile_tf-aws.md | 9 +- .../implicit_std.test.w_compile_tf-aws.md | 3 - ...n_scope_construct.test.w_compile_tf-aws.md | 5 +- .../valid/indexing.test.w_compile_tf-aws.md | 7 +- .../valid/inference.test.w_compile_tf-aws.md | 5 +- ...light-subscribers.test.w_compile_tf-aws.md | 5 +- ...ht_capture_static.test.w_compile_tf-aws.md | 11 +- ...as_struct_members.test.w_compile_tf-aws.md | 9 - ...ass_capture_const.test.w_compile_tf-aws.md | 11 +- ..._preflight_object.test.w_compile_tf-aws.md | 746 ------------------ ...apture_preflight_object.test.w_test_sim.md | 8 +- ...class_definitions.test.w_compile_tf-aws.md | 15 - ...r_capture_mutable.test.w_compile_tf-aws.md | 5 +- ..._inflight_closure.test.w_compile_tf-aws.md | 5 +- ...t_class_modifiers.test.w_compile_tf-aws.md | 5 - ..._inflight_closure.test.w_compile_tf-aws.md | 11 +- ..._interace_handler.test.w_compile_tf-aws.md | 10 +- ...lass_without_init.test.w_compile_tf-aws.md | 9 +- ...re_as_super_param.test.w_compile_tf-aws.md | 3 - ...ht_closure_autoid.test.w_compile_tf-aws.md | 3 - ...preflight_closure.test.w_compile_tf-aws.md | 3 - .../inflight_concat.test.w_compile_tf-aws.md | 5 +- ...handler_singleton.test.w_compile_tf-aws.md | 19 +- .../inflight_init.test.w_compile_tf-aws.md | 19 +- ...calling_inflights.test.w_compile_tf-aws.md | 5 +- ...erit_stdlib_class.test.w_compile_tf-aws.md | 9 +- ...ce_class_inflight.test.w_compile_tf-aws.md | 7 +- ...e_class_preflight.test.w_compile_tf-aws.md | 5 +- ...ritance_interface.test.w_compile_tf-aws.md | 5 +- .../valid/interface.test.w_compile_tf-aws.md | 3 - .../valid/intrinsics.test.w_compile_tf-aws.md | 58 +- .../valid/issue_2889.test.w_compile_tf-aws.md | 13 +- .../valid/json.test.w_compile_tf-aws.md | 5 +- .../json_bucket.test.w_compile_tf-aws.md | 5 +- .../json_static.test.w_compile_tf-aws.md | 7 +- ...ing_interpolation.test.w_compile_tf-aws.md | 3 - ...ft_expr_with_this.test.w_compile_tf-aws.md | 3 - ...losure_collection.test.w_compile_tf-aws.md | 5 +- ..._object_issue6501.test.w_compile_tf-aws.md | 11 +- ...ift_parent_fields.test.w_compile_tf-aws.md | 3 - ...lift_redefinition.test.w_compile_tf-aws.md | 3 - ...t_shared_resource.test.w_compile_tf-aws.md | 9 +- .../valid/lift_this.test.w_compile_tf-aws.md | 7 +- .../lift_via_closure.test.w_compile_tf-aws.md | 5 +- ..._closure_explicit.test.w_compile_tf-aws.md | 5 +- .../lift_weird_order.test.w_compile_tf-aws.md | 3 - ...ft_with_phase_ind.test.w_compile_tf-aws.md | 7 +- .../map_entries.test.w_compile_tf-aws.md | 3 - ...t_container_types.test.w_compile_tf-aws.md | 5 +- ..._after_class_init.test.w_compile_tf-aws.md | 9 +- .../new_in_static.test.w_compile_tf-aws.md | 14 +- .../new_in_static_lib.w_compile_tf-aws.md | 3 +- .../valid/new_jsii.test.w_compile_tf-aws.md | 5 +- .../valid/nil.test.w_compile_tf-aws.md | 5 +- .../valid/on_lift.test.w_compile_tf-aws.md | 8 +- .../valid/optionals.test.w_compile_tf-aws.md | 5 +- .../parameters.test.w_compile_tf-aws.md | 3 - .../parameters.test.w_compile_tf-aws.md | 3 - ..._method_on_string.test.w_compile_tf-aws.md | 9 +- ...primitive_methods.test.w_compile_tf-aws.md | 3 - .../valid/print.test.w_compile_tf-aws.md | 5 +- .../reassignment.test.w_compile_tf-aws.md | 3 - .../valid/redis.test.w_compile_tf-aws.md | 11 +- .../valid/resource.test.w_compile_tf-aws.md | 11 +- ..._inflight_literal.test.w_compile_tf-aws.md | 5 +- ...ource_call_static.test.w_compile_tf-aws.md | 5 +- ...resource_captures.test.w_compile_tf-aws.md | 5 +- ..._captures_globals.test.w_compile_tf-aws.md | 9 +- .../valid/service.test.w_compile_tf-aws.md | 3 - .../valid/shadowing.test.w_compile_tf-aws.md | 5 +- .../sim_resource.test.w_compile_tf-aws.md | 9 +- ...tatements_before_super.w_compile_tf-aws.md | 3 +- .../statements_if.test.w_compile_tf-aws.md | 5 +- ...able_declarations.test.w_compile_tf-aws.md | 3 - .../static_members.test.w_compile_tf-aws.md | 5 +- .../std_containers.test.w_compile_tf-aws.md | 3 - .../valid/std_string.test.w_compile_tf-aws.md | 3 - .../valid/store.w_compile_tf-aws.md | 8 +- .../valid/stringify.test.w_compile_tf-aws.md | 3 - .../struct_from_json.test.w_compile_tf-aws.md | 33 +- .../valid/structs.test.w_compile_tf-aws.md | 5 +- .../valid/super_call.test.w_compile_tf-aws.md | 19 +- .../symbol_shadow.test.w_compile_tf-aws.md | 5 +- .../valid/table.test.w_compile_tf-aws.md | 5 +- .../test_bucket.test.w_compile_tf-aws.md | 5 +- ...est_without_bring.test.w_compile_tf-aws.md | 3 - .../valid/this.test.w_compile_tf-aws.md | 5 +- .../to_inflight.test.w_compile_tf-aws.md | 5 +- .../valid/try_catch.test.w_compile_tf-aws.md | 3 - .../unused_lift.test.w_compile_tf-aws.md | 5 +- ...side_init_closure.test.w_compile_tf-aws.md | 5 +- .../website_with_api.test.w_compile_tf-aws.md | 27 +- .../valid/while.test.w_compile_tf-aws.md | 3 - .../while_loop_await.test.w_compile_tf-aws.md | 5 +- 276 files changed, 416 insertions(+), 2757 deletions(-) delete mode 100644 examples/tests/valid/subdir2/inflight_class.w delete mode 100644 libs/wingc/src/jsify/snapshots/qualify_inflight_type_refrencing_preflight_instance.snap diff --git a/apps/wing/src/commands/pack.test.ts b/apps/wing/src/commands/pack.test.ts index d424bb258ba..3bc815e0143 100644 --- a/apps/wing/src/commands/pack.test.ts +++ b/apps/wing/src/commands/pack.test.ts @@ -200,7 +200,6 @@ describe("wing pack", () => { expect(mod).toBeDefined(); expect(Object.keys(mod).sort()).toMatchInlineSnapshot(` [ - "$preflightTypesMap", "FavoriteNumbers", "Store", "default", diff --git a/examples/tests/valid/inflight_class_capture_preflight_object.test.w b/examples/tests/valid/inflight_class_capture_preflight_object.test.w index e23242ddb45..1dfeaceedaf 100644 --- a/examples/tests/valid/inflight_class_capture_preflight_object.test.w +++ b/examples/tests/valid/inflight_class_capture_preflight_object.test.w @@ -1,54 +1,18 @@ -bring cloud; -bring "./subdir2" as subdir; +// https://github.com/winglang/wing/issues/2730 +// FAILING: -let b = new cloud.Bucket(); +// bring cloud; -inflight class Foo { - pub uploadToBucket(k: str, value: str) { - b.put(k, value); - assert(b.get(k) == value); - } +// let b = new cloud.Bucket(); +// let myConst = "bang bang"; - static pub fooStatic() { - b.put("a", "b"); - assert(b.list() == ["a"]); - } -} +// inflight class Foo { +// uploadToBucket(k: str, value: str) { +// b.put(k, value); +// } +// } -test "inflight class captures preflight resource" { - let f = new Foo(); - f.uploadToBucket("hello.txt", "world"); -} - -test "inflight class type captures preflight resource" { - Foo.fooStatic(); -} - - -let getFoo = inflight () => { - return new Foo(); -}; - -test "inflight class qualified without explicit reference" { - // Get instance of Foo without mentioning the type - let foo = getFoo(); - // Now Foo needs to be qualified correcly - foo.uploadToBucket("greetings.txt", "universe"); -} - -test "inflight class defined inflight captures preflight object" { - class Foo2 { - pub uploadToBucket() { - b.put("x", "y"); - assert(b.get("x") == "y"); - } - } - - let f = new Foo2(); - f.uploadToBucket(); -} - -test "bring inflight class from subdir" { - let x = new subdir.InflightClass(); - assert(x.method() == "What did you expect?"); -} +// test "inflight class captures preflight resource" { +// let f = new Foo(); +// f.uploadToBucket("hello.txt", "world"); +// } diff --git a/examples/tests/valid/subdir/bar.w b/examples/tests/valid/subdir/bar.w index ff24b6028a7..d71c7640c46 100644 --- a/examples/tests/valid/subdir/bar.w +++ b/examples/tests/valid/subdir/bar.w @@ -8,5 +8,3 @@ pub class Bar { return @dirname; } } - -pub inflight class InflightBar {} \ No newline at end of file diff --git a/examples/tests/valid/subdir2/inflight_class.w b/examples/tests/valid/subdir2/inflight_class.w deleted file mode 100644 index bdf37243fe0..00000000000 --- a/examples/tests/valid/subdir2/inflight_class.w +++ /dev/null @@ -1,5 +0,0 @@ -pub inflight class InflightClass { - pub method(): str { - return "What did you expect?"; - } -} \ No newline at end of file diff --git a/libs/wingc/src/dtsify/snapshots/declarations.snap b/libs/wingc/src/dtsify/snapshots/declarations.snap index 59471505957..98f93db09e3 100644 --- a/libs/wingc/src/dtsify/snapshots/declarations.snap +++ b/libs/wingc/src/dtsify/snapshots/declarations.snap @@ -105,9 +105,9 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const $preflightTypesMap = {}; -Object.assign(module.exports, $helpers.bringJs(`${__dirname}/preflight.lib-1.cjs`, $preflightTypesMap)); -module.exports = { ...module.exports, $preflightTypesMap }; +module.exports = { + ...require("./preflight.lib-1.cjs"), +}; //# sourceMappingURL=preflight.cjs.map ``` @@ -125,7 +125,6 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -let $preflightTypesMap = {}; class InflightClass extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -156,8 +155,6 @@ class InflightClass extends $stdlib.std.Resource { }); } } -if ($preflightTypesMap[1]) { throw new Error("InflightClass is already in type map"); } -$preflightTypesMap[1] = InflightClass; class ParentClass extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -189,14 +186,12 @@ class ParentClass extends $stdlib.std.Resource { "bar": [ ], "$inflight_init": [ - [InflightClass, []], ], }); } static get _liftTypeMap() { return ({ "static_method": [ - [InflightClass, []], ], }); } @@ -230,7 +225,7 @@ class Child extends ParentClass { }); } } -module.exports = { $preflightTypesMap, InflightClass, ParentClass, Child }; +module.exports = { InflightClass, ParentClass, Child }; //# sourceMappingURL=preflight.lib-1.cjs.map ``` diff --git a/libs/wingc/src/dtsify/snapshots/optionals.snap b/libs/wingc/src/dtsify/snapshots/optionals.snap index f2ec550c899..deac88efa6f 100644 --- a/libs/wingc/src/dtsify/snapshots/optionals.snap +++ b/libs/wingc/src/dtsify/snapshots/optionals.snap @@ -46,9 +46,9 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const $preflightTypesMap = {}; -Object.assign(module.exports, $helpers.bringJs(`${__dirname}/preflight.lib-1.cjs`, $preflightTypesMap)); -module.exports = { ...module.exports, $preflightTypesMap }; +module.exports = { + ...require("./preflight.lib-1.cjs"), +}; //# sourceMappingURL=preflight.cjs.map ``` @@ -66,7 +66,6 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -let $preflightTypesMap = {}; class ParentClass extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -97,7 +96,7 @@ class ParentClass extends $stdlib.std.Resource { }); } } -module.exports = { $preflightTypesMap, ParentClass }; +module.exports = { ParentClass }; //# sourceMappingURL=preflight.lib-1.cjs.map ``` diff --git a/libs/wingc/src/jsify.rs b/libs/wingc/src/jsify.rs index 93d8d35c89a..bba287f31a7 100644 --- a/libs/wingc/src/jsify.rs +++ b/libs/wingc/src/jsify.rs @@ -41,8 +41,8 @@ const PREFLIGHT_FILE_NAME: &str = "preflight.cjs"; const STDLIB: &str = "$stdlib"; const STDLIB_CORE: &str = formatcp!("{STDLIB}.core"); -const STDLIB_CORE_RESOURCE: &str = formatcp!("{STDLIB}.{WINGSDK_RESOURCE}"); -const STDLIB_CORE_AUTOID_RESOURCE: &str = formatcp!("{STDLIB}.{WINGSDK_AUTOID_RESOURCE}"); +const STDLIB_CORE_RESOURCE: &str = formatcp!("{}.{}", STDLIB, WINGSDK_RESOURCE); +const STDLIB_CORE_AUTOID_RESOURCE: &str = formatcp!("{}.{}", STDLIB, WINGSDK_AUTOID_RESOURCE); const STDLIB_MODULE: &str = WINGSDK_ASSEMBLY_NAME; const ENV_WING_IS_TEST: &str = "$wing_is_test"; @@ -59,9 +59,6 @@ const __DIRNAME: &str = "__dirname"; const SUPER_CLASS_INFLIGHT_INIT_NAME: &str = formatcp!("super_{CLASS_INFLIGHT_INIT_NAME}"); -const PREFLIGHT_TYPES_MAP: &str = "$helpers.nodeof(this).root.$preflightTypesMap"; -const MODULE_PREFLIGHT_TYPES_MAP: &str = "$preflightTypesMap"; - const SCOPE_PARAM: &str = "$scope"; pub struct JSifyContext<'a> { @@ -103,7 +100,7 @@ impl VisitorWithContext for JSifyContext<'_> { /// Preflight classes have two types of host binding methods: /// `Type` for binding static fields and methods to the host and /// `instance` for binding instance fields and methods to the host. -#[derive(PartialEq)] +#[derive(PartialEq, Eq)] enum BindMethod { Type, Instance, @@ -157,7 +154,11 @@ impl<'a> JSifier<'a> { }) { let scope_env = self.types.get_scope_env(&scope); let s = self.jsify_statement(&scope_env, statement, &mut jsify_context); // top level statements are always preflight - if matches!(statement.kind, StmtKind::Bring { .. }) { + if let StmtKind::Bring { + identifier: _, + source: _, + } = statement.kind + { imports.add_code(s); } else { js.add_code(s); @@ -192,23 +193,14 @@ impl<'a> JSifier<'a> { output.line(format!( "const {EXTERN_VAR} = {HELPERS_VAR}.createExternRequire({__DIRNAME});" )); + output.add_code(imports); if is_entrypoint { let mut root_class = CodeMaker::default(); root_class.open(format!("class {} extends {} {{", ROOT_CLASS, STDLIB_CORE_RESOURCE)); root_class.open(format!("{JS_CONSTRUCTOR}({SCOPE_PARAM}, $id) {{")); root_class.line(format!("super({SCOPE_PARAM}, $id);")); - root_class.line(format!("{PREFLIGHT_TYPES_MAP} = {{ }};")); - - // The root preflight types map - root_class.line(format!("let {MODULE_PREFLIGHT_TYPES_MAP} = {{}};")); - - root_class.add_code(imports); root_class.add_code(self.jsify_struct_schemas(source_path)); - - // A global map pointing to the root preflight types map - root_class.line(format!("{PREFLIGHT_TYPES_MAP} = {MODULE_PREFLIGHT_TYPES_MAP};")); - root_class.add_code(js); root_class.close("}"); root_class.close("}"); @@ -228,43 +220,35 @@ impl<'a> JSifier<'a> { let directory_children = self.source_file_graph.dependencies_of(source_path); let preflight_file_map = self.preflight_file_map.borrow(); - // supposing a directory has a file and a subdirectory in it, + // supposing a directory has two files and two subdirectories in it, // we generate code like this: // ``` - // let $preflightTypesMap = {}; - // Object.assign(module.exports, $helpers.bringJs("./preflight.inner-file1.js", $preflightTypesMap)); - // Object.assign(module.exports, { get inner_directory1() { $helpers.bringJs("./preflight.inner-directory1.js", $preflightTypesMap); } }); - // module.exports = { ...module.exports, $preflightTypesMap }; + // module.exports = { + // get inner_directory1() { return require("./preflight.inner-directory1.cjs") }, + // get inner_directory2() { return require("./preflight.inner-directory2.cjs") }, + // ...require("./preflight.inner-file1.cjs"), + // ...require("./preflight.inner-file2.cjs"), + // }; // ``` - - // This module's preflight type map - output.line(format!("const {MODULE_PREFLIGHT_TYPES_MAP} = {{}};")); - + output.open("module.exports = {"); for file in directory_children { let preflight_file_name = preflight_file_map.get(file).expect("no emitted JS file found"); if file.is_dir() { let directory_name = file.file_stem().unwrap(); output.line(format!( - "Object.assign(module.exports, {{ get {directory_name}() {{ return $helpers.bringJs(`${{__dirname}}/{preflight_file_name}`, {MODULE_PREFLIGHT_TYPES_MAP}); }} }});" + "get {directory_name}() {{ return require(\"./{preflight_file_name}\") }}," )); } else { - output.line(format!( - "Object.assign(module.exports, $helpers.bringJs(`${{__dirname}}/{preflight_file_name}`, {MODULE_PREFLIGHT_TYPES_MAP}));" - )); + output.line(format!("...require(\"./{preflight_file_name}\"),")); } } - output.line(format!( - "module.exports = {{ ...module.exports, {MODULE_PREFLIGHT_TYPES_MAP} }};" - )); + output.close("};"); } else { - // This module's preflight type map - output.line(format!("let {MODULE_PREFLIGHT_TYPES_MAP} = {{}};")); - output.add_code(imports); output.add_code(self.jsify_struct_schemas(source_path)); output.add_code(js); let exports = get_public_symbols(&scope); output.line(format!( - "module.exports = {{ {MODULE_PREFLIGHT_TYPES_MAP}, {} }};", + "module.exports = {{ {} }};", exports.iter().map(ToString::to_string).join(", ") )); } @@ -1182,7 +1166,10 @@ impl<'a> JSifier<'a> { code.line(format!("const {var_name} = {STDLIB}.{name};")) } BringSource::TrustedModule(name, module_dir) => { - code.append(self.jsify_bring_stmt(module_dir, &Some(identifier.as_ref().unwrap_or(name).clone()))); + let preflight_file_map = self.preflight_file_map.borrow(); + let preflight_file_name = preflight_file_map.get(module_dir).unwrap(); + let var_name = identifier.as_ref().unwrap_or(&name); + code.line(format!("const {var_name} = require(\"./{preflight_file_name}\");")) } BringSource::JsiiModule(name) => { // checked during type checking @@ -1190,10 +1177,25 @@ impl<'a> JSifier<'a> { code.line(format!("const {var_name} = require(\"{name}\");")) } BringSource::WingLibrary(_, module_dir) => { - code.append(self.jsify_bring_stmt(module_dir, identifier)); + // checked during type checking + let var_name = identifier.as_ref().expect("bring wing library requires an alias"); + let preflight_file_map = self.preflight_file_map.borrow(); + let preflight_file_name = preflight_file_map.get(module_dir).unwrap(); + code.line(format!("const {var_name} = require(\"./{preflight_file_name}\");")) + } + BringSource::WingFile(path) => { + // checked during type checking + let var_name = identifier.as_ref().expect("bring wing file requires an alias"); + let preflight_file_map = self.preflight_file_map.borrow(); + let preflight_file_name = preflight_file_map.get(path).unwrap(); + code.line(format!("const {var_name} = require(\"./{preflight_file_name}\");")) } - BringSource::Directory(path) | BringSource::WingFile(path) => { - code.append(self.jsify_bring_stmt(path, identifier)); + BringSource::Directory(path) => { + // checked during type checking + let preflight_file_map = self.preflight_file_map.borrow(); + let preflight_file_name = preflight_file_map.get(path).unwrap(); + let var_name = identifier.as_ref().expect("bring wing directory requires an alias"); + code.line(format!("const {var_name} = require(\"./{preflight_file_name}\");")) } }, StmtKind::SuperConstructor { arg_list } => { @@ -1496,18 +1498,6 @@ impl<'a> JSifier<'a> { code } - fn jsify_bring_stmt(&self, path: &Utf8Path, identifier: &Option) -> CodeMaker { - let mut code = CodeMaker::default(); - // checked during type checking - let var_name = identifier.as_ref().expect("bring wing module requires an alias"); - let preflight_file_map = self.preflight_file_map.borrow(); - let preflight_file_name = preflight_file_map.get(path).unwrap(); - code.line(format!( - "const {var_name} = $helpers.bringJs(`${{__dirname}}/{preflight_file_name}`, {MODULE_PREFLIGHT_TYPES_MAP});" - )); - code - } - fn jsify_enum(&self, name: &Symbol, values: &IndexMap>) -> CodeMaker { let mut code = CodeMaker::with_source(&name.span); let mut value_index = 0; @@ -1859,32 +1849,10 @@ impl<'a> JSifier<'a> { code.add_code(self.jsify_register_bind_method(class, class_type, BindMethod::Type, ctx)); code.close("}"); - - // Inflight classes might need to be lift-qualified (onLift), but their type name might not be necessarily available - // at the scope when they are qualified (it might even be shadowed by another type name). We store a reference to these - // class types in a global preflight types map indexed by the class's unique id. - if class.phase == Phase::Inflight { - code.line(format!( - "if ({MODULE_PREFLIGHT_TYPES_MAP}[{}]) {{ throw new Error(\"{} is already in type map\"); }}", - class_type.as_class().unwrap().uid, - class.name - )); - code.line(format!( - "{MODULE_PREFLIGHT_TYPES_MAP}[{}] = {};", - class_type.as_class().unwrap().uid, - class.name - )); - } - code }) } - pub fn class_singleton(&self, type_: TypeRef) -> String { - let c = type_.as_class().unwrap(); - format!("$helpers.preflightClassSingleton(this, {})", c.uid) - } - fn jsify_preflight_constructor(&self, class: &AstClass, ctx: &mut JSifyContext) -> CodeMaker { let mut code = new_code!( &class.name.span, @@ -2202,9 +2170,9 @@ impl<'a> JSifier<'a> { } } - for f in class.inflight_fields() { - let name = &f.name; - let is_static = f.is_static; + for m in class.inflight_fields() { + let name = &m.name; + let is_static = m.is_static; let filter = match bind_method_kind { BindMethod::Instance => !is_static, BindMethod::Type => is_static, @@ -2229,9 +2197,7 @@ impl<'a> JSifier<'a> { if bind_method_kind == BindMethod::Instance && class.parent.is_some() { // mergeLiftDeps is a helper method that combines the lift deps of the parent class with the // lift deps of this class - bind_method.open(format!( - "return {STDLIB_CORE}.mergeLiftDeps(super.{bind_method_name}, {{" - )); + bind_method.open(format!("return {STDLIB_CORE}.mergeLiftDeps(super._liftMap, {{")); } else { bind_method.open("return ({".to_string()); } diff --git a/libs/wingc/src/jsify/snapshots/access_methods_and_properties_on_collections.snap b/libs/wingc/src/jsify/snapshots/access_methods_and_properties_on_collections.snap index c396742c435..ebc433dcb62 100644 --- a/libs/wingc/src/jsify/snapshots/access_methods_and_properties_on_collections.snap +++ b/libs/wingc/src/jsify/snapshots/access_methods_and_properties_on_collections.snap @@ -51,9 +51,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/access_property_on_primitive.snap b/libs/wingc/src/jsify/snapshots/access_property_on_primitive.snap index d093b8b3e3f..b5771fcc0b9 100644 --- a/libs/wingc/src/jsify/snapshots/access_property_on_primitive.snap +++ b/libs/wingc/src/jsify/snapshots/access_property_on_primitive.snap @@ -48,9 +48,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/access_property_on_value_returned_from_collection.snap b/libs/wingc/src/jsify/snapshots/access_property_on_value_returned_from_collection.snap index 3a47440282e..fdce5f92022 100644 --- a/libs/wingc/src/jsify/snapshots/access_property_on_value_returned_from_collection.snap +++ b/libs/wingc/src/jsify/snapshots/access_property_on_value_returned_from_collection.snap @@ -48,9 +48,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/allow_type_def_before_super.snap b/libs/wingc/src/jsify/snapshots/allow_type_def_before_super.snap index afc28743af5..bd00d29aa47 100644 --- a/libs/wingc/src/jsify/snapshots/allow_type_def_before_super.snap +++ b/libs/wingc/src/jsify/snapshots/allow_type_def_before_super.snap @@ -77,9 +77,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, x) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/base_class_captures_inflight.snap b/libs/wingc/src/jsify/snapshots/base_class_captures_inflight.snap index ca2c6cc48fd..c996859fb2d 100644 --- a/libs/wingc/src/jsify/snapshots/base_class_captures_inflight.snap +++ b/libs/wingc/src/jsify/snapshots/base_class_captures_inflight.snap @@ -72,9 +72,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Base extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/base_class_captures_preflight.snap b/libs/wingc/src/jsify/snapshots/base_class_captures_preflight.snap index 53de74f2c34..989c402998a 100644 --- a/libs/wingc/src/jsify/snapshots/base_class_captures_preflight.snap +++ b/libs/wingc/src/jsify/snapshots/base_class_captures_preflight.snap @@ -66,9 +66,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Base extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/base_class_lift_indirect.snap b/libs/wingc/src/jsify/snapshots/base_class_lift_indirect.snap index 945f43e89f4..a1098a4325a 100644 --- a/libs/wingc/src/jsify/snapshots/base_class_lift_indirect.snap +++ b/libs/wingc/src/jsify/snapshots/base_class_lift_indirect.snap @@ -77,13 +77,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Base extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/base_class_with_fields_inflight.snap b/libs/wingc/src/jsify/snapshots/base_class_with_fields_inflight.snap index 188a438eafd..1bcabfc5528 100644 --- a/libs/wingc/src/jsify/snapshots/base_class_with_fields_inflight.snap +++ b/libs/wingc/src/jsify/snapshots/base_class_with_fields_inflight.snap @@ -81,9 +81,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Base extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/base_class_with_fields_preflight.snap b/libs/wingc/src/jsify/snapshots/base_class_with_fields_preflight.snap index e055ea9023c..c5faa235839 100644 --- a/libs/wingc/src/jsify/snapshots/base_class_with_fields_preflight.snap +++ b/libs/wingc/src/jsify/snapshots/base_class_with_fields_preflight.snap @@ -71,9 +71,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Base extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/base_class_with_lifted_field_object.snap b/libs/wingc/src/jsify/snapshots/base_class_with_lifted_field_object.snap index 70cc6660dad..e2a2891ef78 100644 --- a/libs/wingc/src/jsify/snapshots/base_class_with_lifted_field_object.snap +++ b/libs/wingc/src/jsify/snapshots/base_class_with_lifted_field_object.snap @@ -68,13 +68,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Base extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/base_class_with_lifted_fields.snap b/libs/wingc/src/jsify/snapshots/base_class_with_lifted_fields.snap index eef16a40a7e..7793850313b 100644 --- a/libs/wingc/src/jsify/snapshots/base_class_with_lifted_fields.snap +++ b/libs/wingc/src/jsify/snapshots/base_class_with_lifted_fields.snap @@ -71,9 +71,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Base extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/builtins.snap b/libs/wingc/src/jsify/snapshots/builtins.snap index c27f7a970b4..53008dfdff0 100644 --- a/libs/wingc/src/jsify/snapshots/builtins.snap +++ b/libs/wingc/src/jsify/snapshots/builtins.snap @@ -46,9 +46,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/call_static_inflight_from_static_inflight.snap b/libs/wingc/src/jsify/snapshots/call_static_inflight_from_static_inflight.snap index 74ed9c87f61..d131a1db629 100644 --- a/libs/wingc/src/jsify/snapshots/call_static_inflight_from_static_inflight.snap +++ b/libs/wingc/src/jsify/snapshots/call_static_inflight_from_static_inflight.snap @@ -65,9 +65,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class A extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -139,8 +136,6 @@ class $Root extends $stdlib.std.Resource { }); } } - if ($preflightTypesMap[2]) { throw new Error("B is already in type map"); } - $preflightTypesMap[2] = B; } } const $PlatformManager = new $stdlib.platform.PlatformManager({platformPaths: $platforms}); diff --git a/libs/wingc/src/jsify/snapshots/calls_methods_on_preflight_object.snap b/libs/wingc/src/jsify/snapshots/calls_methods_on_preflight_object.snap index 4bf1644e044..e34ef9d6acd 100644 --- a/libs/wingc/src/jsify/snapshots/calls_methods_on_preflight_object.snap +++ b/libs/wingc/src/jsify/snapshots/calls_methods_on_preflight_object.snap @@ -48,13 +48,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/capture_from_inside_an_inflight_closure.snap b/libs/wingc/src/jsify/snapshots/capture_from_inside_an_inflight_closure.snap index f3d25d6bb08..09e9197b655 100644 --- a/libs/wingc/src/jsify/snapshots/capture_from_inside_an_inflight_closure.snap +++ b/libs/wingc/src/jsify/snapshots/capture_from_inside_an_inflight_closure.snap @@ -48,13 +48,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const util = $stdlib.util; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const util = $stdlib.util; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/capture_identifier_closure_from_preflight_scope.snap b/libs/wingc/src/jsify/snapshots/capture_identifier_closure_from_preflight_scope.snap index f699bc23896..855df068e77 100644 --- a/libs/wingc/src/jsify/snapshots/capture_identifier_closure_from_preflight_scope.snap +++ b/libs/wingc/src/jsify/snapshots/capture_identifier_closure_from_preflight_scope.snap @@ -67,9 +67,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/capture_identifier_from_preflight_scope.snap b/libs/wingc/src/jsify/snapshots/capture_identifier_from_preflight_scope.snap index 79c6953004d..7fc9b80532b 100644 --- a/libs/wingc/src/jsify/snapshots/capture_identifier_from_preflight_scope.snap +++ b/libs/wingc/src/jsify/snapshots/capture_identifier_from_preflight_scope.snap @@ -47,9 +47,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/capture_identifier_from_preflight_scope_with_method_call.snap b/libs/wingc/src/jsify/snapshots/capture_identifier_from_preflight_scope_with_method_call.snap index b2f07c217a5..13cc38e59bb 100644 --- a/libs/wingc/src/jsify/snapshots/capture_identifier_from_preflight_scope_with_method_call.snap +++ b/libs/wingc/src/jsify/snapshots/capture_identifier_from_preflight_scope_with_method_call.snap @@ -68,9 +68,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/capture_identifier_from_preflight_scope_with_nested_object.snap b/libs/wingc/src/jsify/snapshots/capture_identifier_from_preflight_scope_with_nested_object.snap index 0ec257d3e11..b5fbf73536b 100644 --- a/libs/wingc/src/jsify/snapshots/capture_identifier_from_preflight_scope_with_nested_object.snap +++ b/libs/wingc/src/jsify/snapshots/capture_identifier_from_preflight_scope_with_nested_object.snap @@ -68,13 +68,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/capture_identifier_from_preflight_scope_with_property.snap b/libs/wingc/src/jsify/snapshots/capture_identifier_from_preflight_scope_with_property.snap index 9a5ef810928..a758b92f8cc 100644 --- a/libs/wingc/src/jsify/snapshots/capture_identifier_from_preflight_scope_with_property.snap +++ b/libs/wingc/src/jsify/snapshots/capture_identifier_from_preflight_scope_with_property.snap @@ -47,9 +47,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/capture_in_keyword_args.snap b/libs/wingc/src/jsify/snapshots/capture_in_keyword_args.snap index 0d9c3a3923e..312283f1f43 100644 --- a/libs/wingc/src/jsify/snapshots/capture_in_keyword_args.snap +++ b/libs/wingc/src/jsify/snapshots/capture_in_keyword_args.snap @@ -49,13 +49,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const util = $stdlib.util; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const util = $stdlib.util; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -84,11 +81,9 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), ["waitUntil"]], [x, []], ], "$inflight_init": [ - [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), []], [x, []], ], }); diff --git a/libs/wingc/src/jsify/snapshots/capture_object_with_this_in_name.snap b/libs/wingc/src/jsify/snapshots/capture_object_with_this_in_name.snap index af034f5f15a..e08d93d3d5f 100644 --- a/libs/wingc/src/jsify/snapshots/capture_object_with_this_in_name.snap +++ b/libs/wingc/src/jsify/snapshots/capture_object_with_this_in_name.snap @@ -45,13 +45,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/capture_token.snap b/libs/wingc/src/jsify/snapshots/capture_token.snap index b4e6974caca..7d280541b37 100644 --- a/libs/wingc/src/jsify/snapshots/capture_token.snap +++ b/libs/wingc/src/jsify/snapshots/capture_token.snap @@ -44,13 +44,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/capture_type_inflight_class_sibling_from_init.snap b/libs/wingc/src/jsify/snapshots/capture_type_inflight_class_sibling_from_init.snap index 0a05c2e625e..e33734b441e 100644 --- a/libs/wingc/src/jsify/snapshots/capture_type_inflight_class_sibling_from_init.snap +++ b/libs/wingc/src/jsify/snapshots/capture_type_inflight_class_sibling_from_init.snap @@ -71,9 +71,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/capture_type_inflight_class_sibling_from_method.snap b/libs/wingc/src/jsify/snapshots/capture_type_inflight_class_sibling_from_method.snap index 979744061a1..47fb417fa00 100644 --- a/libs/wingc/src/jsify/snapshots/capture_type_inflight_class_sibling_from_method.snap +++ b/libs/wingc/src/jsify/snapshots/capture_type_inflight_class_sibling_from_method.snap @@ -57,9 +57,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/capture_type_new_inflight_class_inner_no_capture.snap b/libs/wingc/src/jsify/snapshots/capture_type_new_inflight_class_inner_no_capture.snap index af7adb56121..b0d4cbe8f02 100644 --- a/libs/wingc/src/jsify/snapshots/capture_type_new_inflight_class_inner_no_capture.snap +++ b/libs/wingc/src/jsify/snapshots/capture_type_new_inflight_class_inner_no_capture.snap @@ -49,9 +49,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/capture_type_new_inflight_class_outer.snap b/libs/wingc/src/jsify/snapshots/capture_type_new_inflight_class_outer.snap index 291806a0b6a..8489eec5041 100644 --- a/libs/wingc/src/jsify/snapshots/capture_type_new_inflight_class_outer.snap +++ b/libs/wingc/src/jsify/snapshots/capture_type_new_inflight_class_outer.snap @@ -61,9 +61,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -92,8 +89,6 @@ class $Root extends $stdlib.std.Resource { }); } } - if ($preflightTypesMap[1]) { throw new Error("Foo is already in type map"); } - $preflightTypesMap[1] = Foo; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -121,10 +116,8 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [Foo, []], ], "$inflight_init": [ - [Foo, []], ], }); } diff --git a/libs/wingc/src/jsify/snapshots/capture_type_static_method.snap b/libs/wingc/src/jsify/snapshots/capture_type_static_method.snap index 3cfdfa00daa..b6277673600 100644 --- a/libs/wingc/src/jsify/snapshots/capture_type_static_method.snap +++ b/libs/wingc/src/jsify/snapshots/capture_type_static_method.snap @@ -68,9 +68,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/capture_type_static_method_inflight_class.snap b/libs/wingc/src/jsify/snapshots/capture_type_static_method_inflight_class.snap index 3a90eddef62..cd7cc8981dd 100644 --- a/libs/wingc/src/jsify/snapshots/capture_type_static_method_inflight_class.snap +++ b/libs/wingc/src/jsify/snapshots/capture_type_static_method_inflight_class.snap @@ -66,9 +66,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -103,8 +100,6 @@ class $Root extends $stdlib.std.Resource { }); } } - if ($preflightTypesMap[1]) { throw new Error("Foo is already in type map"); } - $preflightTypesMap[1] = Foo; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -132,10 +127,8 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [Foo, ["bar"]], ], "$inflight_init": [ - [Foo, []], ], }); } diff --git a/libs/wingc/src/jsify/snapshots/capture_var_from_method_inflight.snap b/libs/wingc/src/jsify/snapshots/capture_var_from_method_inflight.snap index 12e633ae877..9254bf82239 100644 --- a/libs/wingc/src/jsify/snapshots/capture_var_from_method_inflight.snap +++ b/libs/wingc/src/jsify/snapshots/capture_var_from_method_inflight.snap @@ -54,9 +54,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/closed_inflight_class_extends_outer_inflight_class.snap b/libs/wingc/src/jsify/snapshots/closed_inflight_class_extends_outer_inflight_class.snap index 163c019e172..ebda1fe8f15 100644 --- a/libs/wingc/src/jsify/snapshots/closed_inflight_class_extends_outer_inflight_class.snap +++ b/libs/wingc/src/jsify/snapshots/closed_inflight_class_extends_outer_inflight_class.snap @@ -64,9 +64,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Base extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -95,8 +92,6 @@ class $Root extends $stdlib.std.Resource { }); } } - if ($preflightTypesMap[1]) { throw new Error("Base is already in type map"); } - $preflightTypesMap[1] = Base; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -124,10 +119,8 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [Base, []], ], "$inflight_init": [ - [Base, []], ], }); } diff --git a/libs/wingc/src/jsify/snapshots/closure_field.snap b/libs/wingc/src/jsify/snapshots/closure_field.snap index cb2ea648ef7..22d34a6d686 100644 --- a/libs/wingc/src/jsify/snapshots/closure_field.snap +++ b/libs/wingc/src/jsify/snapshots/closure_field.snap @@ -106,13 +106,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class MyResource extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/entrypoint_this.snap b/libs/wingc/src/jsify/snapshots/entrypoint_this.snap index 5e03a620b84..b61f8369c14 100644 --- a/libs/wingc/src/jsify/snapshots/entrypoint_this.snap +++ b/libs/wingc/src/jsify/snapshots/entrypoint_this.snap @@ -23,9 +23,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; this; } } diff --git a/libs/wingc/src/jsify/snapshots/enum_value.snap b/libs/wingc/src/jsify/snapshots/enum_value.snap index 759fb0f233f..e48c24d9f1e 100644 --- a/libs/wingc/src/jsify/snapshots/enum_value.snap +++ b/libs/wingc/src/jsify/snapshots/enum_value.snap @@ -51,9 +51,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; const MyEnum = (function (tmp) { tmp["B"] = "B"; @@ -89,11 +86,9 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [MyEnum, [].concat(["B"], ["C"])], [x, []], ], "$inflight_init": [ - [MyEnum, []], [x, []], ], }); diff --git a/libs/wingc/src/jsify/snapshots/free_inflight_obj_from_inflight.snap b/libs/wingc/src/jsify/snapshots/free_inflight_obj_from_inflight.snap index 9b476ad3879..5257f8a3c70 100644 --- a/libs/wingc/src/jsify/snapshots/free_inflight_obj_from_inflight.snap +++ b/libs/wingc/src/jsify/snapshots/free_inflight_obj_from_inflight.snap @@ -59,9 +59,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/free_preflight_object_from_preflight.snap b/libs/wingc/src/jsify/snapshots/free_preflight_object_from_preflight.snap index 24507645cfb..15ebf279878 100644 --- a/libs/wingc/src/jsify/snapshots/free_preflight_object_from_preflight.snap +++ b/libs/wingc/src/jsify/snapshots/free_preflight_object_from_preflight.snap @@ -42,9 +42,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class A extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/func_returns_func.snap b/libs/wingc/src/jsify/snapshots/func_returns_func.snap index 8bb3df26820..2b8e67d67c0 100644 --- a/libs/wingc/src/jsify/snapshots/func_returns_func.snap +++ b/libs/wingc/src/jsify/snapshots/func_returns_func.snap @@ -56,9 +56,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/identify_field.snap b/libs/wingc/src/jsify/snapshots/identify_field.snap index bb5fcb10c79..8cdc9ae7a00 100644 --- a/libs/wingc/src/jsify/snapshots/identify_field.snap +++ b/libs/wingc/src/jsify/snapshots/identify_field.snap @@ -48,13 +48,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class A extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/implicit_lift_inflight_init.snap b/libs/wingc/src/jsify/snapshots/implicit_lift_inflight_init.snap index 2df0dbd74bc..ede8b4806e1 100644 --- a/libs/wingc/src/jsify/snapshots/implicit_lift_inflight_init.snap +++ b/libs/wingc/src/jsify/snapshots/implicit_lift_inflight_init.snap @@ -66,13 +66,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/indirect_capture.snap b/libs/wingc/src/jsify/snapshots/indirect_capture.snap index 8d67de04315..15a89bd9a55 100644 --- a/libs/wingc/src/jsify/snapshots/indirect_capture.snap +++ b/libs/wingc/src/jsify/snapshots/indirect_capture.snap @@ -81,13 +81,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Capture extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/inflight_class_extends_both_inside_inflight_closure.snap b/libs/wingc/src/jsify/snapshots/inflight_class_extends_both_inside_inflight_closure.snap index da1e9d8141b..c496a96fb04 100644 --- a/libs/wingc/src/jsify/snapshots/inflight_class_extends_both_inside_inflight_closure.snap +++ b/libs/wingc/src/jsify/snapshots/inflight_class_extends_both_inside_inflight_closure.snap @@ -50,9 +50,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/inflight_class_extends_inflight_class.snap b/libs/wingc/src/jsify/snapshots/inflight_class_extends_inflight_class.snap index 8a86b9e9704..681b87585d6 100644 --- a/libs/wingc/src/jsify/snapshots/inflight_class_extends_inflight_class.snap +++ b/libs/wingc/src/jsify/snapshots/inflight_class_extends_inflight_class.snap @@ -50,9 +50,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class A extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -81,8 +78,6 @@ class $Root extends $stdlib.std.Resource { }); } } - if ($preflightTypesMap[1]) { throw new Error("A is already in type map"); } - $preflightTypesMap[1] = A; class B extends A { constructor($scope, $id, ) { super($scope, $id); @@ -112,8 +107,6 @@ class $Root extends $stdlib.std.Resource { }); } } - if ($preflightTypesMap[2]) { throw new Error("B is already in type map"); } - $preflightTypesMap[2] = B; } } const $PlatformManager = new $stdlib.platform.PlatformManager({platformPaths: $platforms}); diff --git a/libs/wingc/src/jsify/snapshots/inflight_constructor.snap b/libs/wingc/src/jsify/snapshots/inflight_constructor.snap index 1e355d4b666..80faa3b1138 100644 --- a/libs/wingc/src/jsify/snapshots/inflight_constructor.snap +++ b/libs/wingc/src/jsify/snapshots/inflight_constructor.snap @@ -54,9 +54,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/inflight_field.snap b/libs/wingc/src/jsify/snapshots/inflight_field.snap index 44c9860c391..0cfde3b80c0 100644 --- a/libs/wingc/src/jsify/snapshots/inflight_field.snap +++ b/libs/wingc/src/jsify/snapshots/inflight_field.snap @@ -53,9 +53,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class A extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/inflight_field_from_inflight.snap b/libs/wingc/src/jsify/snapshots/inflight_field_from_inflight.snap index 168eb48e6e2..f300ef416e6 100644 --- a/libs/wingc/src/jsify/snapshots/inflight_field_from_inflight.snap +++ b/libs/wingc/src/jsify/snapshots/inflight_field_from_inflight.snap @@ -52,9 +52,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class MyType extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/inflight_field_from_inflight_class.snap b/libs/wingc/src/jsify/snapshots/inflight_field_from_inflight_class.snap index fd0b68dc5e0..04d361bfed3 100644 --- a/libs/wingc/src/jsify/snapshots/inflight_field_from_inflight_class.snap +++ b/libs/wingc/src/jsify/snapshots/inflight_field_from_inflight_class.snap @@ -51,9 +51,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class MyType extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -88,8 +85,6 @@ class $Root extends $stdlib.std.Resource { }); } } - if ($preflightTypesMap[1]) { throw new Error("MyType is already in type map"); } - $preflightTypesMap[1] = MyType; } } const $PlatformManager = new $stdlib.platform.PlatformManager({platformPaths: $platforms}); diff --git a/libs/wingc/src/jsify/snapshots/inline_inflight_class.snap b/libs/wingc/src/jsify/snapshots/inline_inflight_class.snap index 40650349c5e..2a44a3b8b81 100644 --- a/libs/wingc/src/jsify/snapshots/inline_inflight_class.snap +++ b/libs/wingc/src/jsify/snapshots/inline_inflight_class.snap @@ -69,13 +69,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/json_object.snap b/libs/wingc/src/jsify/snapshots/json_object.snap index e95b6a0cd8f..62036dd7fef 100644 --- a/libs/wingc/src/jsify/snapshots/json_object.snap +++ b/libs/wingc/src/jsify/snapshots/json_object.snap @@ -48,9 +48,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -79,11 +76,9 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$stdlib.core.toLiftableModuleType(std.Json, "@winglang/sdk/std", "Json"), ["stringify"]], [jsonObj1, []], ], "$inflight_init": [ - [$stdlib.core.toLiftableModuleType(std.Json, "@winglang/sdk/std", "Json"), []], [jsonObj1, []], ], }); diff --git a/libs/wingc/src/jsify/snapshots/lift_binary_preflight_and_inflight_expression.snap b/libs/wingc/src/jsify/snapshots/lift_binary_preflight_and_inflight_expression.snap index 093f1c00f6a..b61054c3b05 100644 --- a/libs/wingc/src/jsify/snapshots/lift_binary_preflight_and_inflight_expression.snap +++ b/libs/wingc/src/jsify/snapshots/lift_binary_preflight_and_inflight_expression.snap @@ -49,9 +49,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/lift_binary_preflight_expression.snap b/libs/wingc/src/jsify/snapshots/lift_binary_preflight_expression.snap index d845e175d9f..229498fdb1d 100644 --- a/libs/wingc/src/jsify/snapshots/lift_binary_preflight_expression.snap +++ b/libs/wingc/src/jsify/snapshots/lift_binary_preflight_expression.snap @@ -48,9 +48,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/lift_element_from_collection_as_field.snap b/libs/wingc/src/jsify/snapshots/lift_element_from_collection_as_field.snap index a4f169e0d4f..c047a224ca7 100644 --- a/libs/wingc/src/jsify/snapshots/lift_element_from_collection_as_field.snap +++ b/libs/wingc/src/jsify/snapshots/lift_element_from_collection_as_field.snap @@ -49,13 +49,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/lift_element_from_collection_of_objects.snap b/libs/wingc/src/jsify/snapshots/lift_element_from_collection_of_objects.snap index 7be2754fb37..3cbfadf715d 100644 --- a/libs/wingc/src/jsify/snapshots/lift_element_from_collection_of_objects.snap +++ b/libs/wingc/src/jsify/snapshots/lift_element_from_collection_of_objects.snap @@ -46,13 +46,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/lift_inflight_closure.snap b/libs/wingc/src/jsify/snapshots/lift_inflight_closure.snap index 9d50a7be1d5..28b88a5ba27 100644 --- a/libs/wingc/src/jsify/snapshots/lift_inflight_closure.snap +++ b/libs/wingc/src/jsify/snapshots/lift_inflight_closure.snap @@ -68,9 +68,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/lift_inside_preflight_method.snap b/libs/wingc/src/jsify/snapshots/lift_inside_preflight_method.snap index e8d95f5729a..4e5080a5db6 100644 --- a/libs/wingc/src/jsify/snapshots/lift_inside_preflight_method.snap +++ b/libs/wingc/src/jsify/snapshots/lift_inside_preflight_method.snap @@ -70,13 +70,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/lift_self_reference.snap b/libs/wingc/src/jsify/snapshots/lift_self_reference.snap index a6390026b34..a7b5c6332a4 100644 --- a/libs/wingc/src/jsify/snapshots/lift_self_reference.snap +++ b/libs/wingc/src/jsify/snapshots/lift_self_reference.snap @@ -49,9 +49,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/lift_string.snap b/libs/wingc/src/jsify/snapshots/lift_string.snap index 6822e8fce9e..72b030f22ac 100644 --- a/libs/wingc/src/jsify/snapshots/lift_string.snap +++ b/libs/wingc/src/jsify/snapshots/lift_string.snap @@ -47,9 +47,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/lift_this.snap b/libs/wingc/src/jsify/snapshots/lift_this.snap index cf64779fc21..6ab8730b88c 100644 --- a/libs/wingc/src/jsify/snapshots/lift_this.snap +++ b/libs/wingc/src/jsify/snapshots/lift_this.snap @@ -85,9 +85,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/lift_var_with_this.snap b/libs/wingc/src/jsify/snapshots/lift_var_with_this.snap index e9e961e1cf7..1274cd10e3a 100644 --- a/libs/wingc/src/jsify/snapshots/lift_var_with_this.snap +++ b/libs/wingc/src/jsify/snapshots/lift_var_with_this.snap @@ -68,9 +68,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/lift_via_closure.snap b/libs/wingc/src/jsify/snapshots/lift_via_closure.snap index e022d28e821..c2031ed3b27 100644 --- a/libs/wingc/src/jsify/snapshots/lift_via_closure.snap +++ b/libs/wingc/src/jsify/snapshots/lift_via_closure.snap @@ -72,13 +72,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/lift_via_closure_class_explicit.snap b/libs/wingc/src/jsify/snapshots/lift_via_closure_class_explicit.snap index 8fbf308b920..460441dd0a4 100644 --- a/libs/wingc/src/jsify/snapshots/lift_via_closure_class_explicit.snap +++ b/libs/wingc/src/jsify/snapshots/lift_via_closure_class_explicit.snap @@ -87,13 +87,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class MyClosure extends $stdlib.std.Resource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/namespaced_static_from_inflight.snap b/libs/wingc/src/jsify/snapshots/namespaced_static_from_inflight.snap index 0d641dd4434..d7c67b36828 100644 --- a/libs/wingc/src/jsify/snapshots/namespaced_static_from_inflight.snap +++ b/libs/wingc/src/jsify/snapshots/namespaced_static_from_inflight.snap @@ -44,13 +44,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const util = $stdlib.util; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const util = $stdlib.util; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -78,10 +75,8 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), ["tryEnv"]], ], "$inflight_init": [ - [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), []], ], }); } diff --git a/libs/wingc/src/jsify/snapshots/nested_inflight_after_preflight_operation.snap b/libs/wingc/src/jsify/snapshots/nested_inflight_after_preflight_operation.snap index 88c3a32572e..2c771b0b1f7 100644 --- a/libs/wingc/src/jsify/snapshots/nested_inflight_after_preflight_operation.snap +++ b/libs/wingc/src/jsify/snapshots/nested_inflight_after_preflight_operation.snap @@ -71,13 +71,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class YourType extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/nested_preflight_operation.snap b/libs/wingc/src/jsify/snapshots/nested_preflight_operation.snap index 016fb850a22..91257bfd431 100644 --- a/libs/wingc/src/jsify/snapshots/nested_preflight_operation.snap +++ b/libs/wingc/src/jsify/snapshots/nested_preflight_operation.snap @@ -89,13 +89,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class YourType extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/new_inflight_object.snap b/libs/wingc/src/jsify/snapshots/new_inflight_object.snap index 9b3694cc392..4c0fcdbb3da 100644 --- a/libs/wingc/src/jsify/snapshots/new_inflight_object.snap +++ b/libs/wingc/src/jsify/snapshots/new_inflight_object.snap @@ -61,9 +61,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -92,8 +89,6 @@ class $Root extends $stdlib.std.Resource { }); } } - if ($preflightTypesMap[1]) { throw new Error("Foo is already in type map"); } - $preflightTypesMap[1] = Foo; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -121,10 +116,8 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [Foo, []], ], "$inflight_init": [ - [Foo, []], ], }); } diff --git a/libs/wingc/src/jsify/snapshots/no_capture_inside_methods.snap b/libs/wingc/src/jsify/snapshots/no_capture_inside_methods.snap index e61472625e7..c053dcae157 100644 --- a/libs/wingc/src/jsify/snapshots/no_capture_inside_methods.snap +++ b/libs/wingc/src/jsify/snapshots/no_capture_inside_methods.snap @@ -52,9 +52,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/no_capture_of_identifier_from_inner_scope.snap b/libs/wingc/src/jsify/snapshots/no_capture_of_identifier_from_inner_scope.snap index 37f163fc6d2..d3992988748 100644 --- a/libs/wingc/src/jsify/snapshots/no_capture_of_identifier_from_inner_scope.snap +++ b/libs/wingc/src/jsify/snapshots/no_capture_of_identifier_from_inner_scope.snap @@ -52,9 +52,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/no_capture_of_identifier_from_same_scope.snap b/libs/wingc/src/jsify/snapshots/no_capture_of_identifier_from_same_scope.snap index 37d68e92fbf..8c96fb27ae5 100644 --- a/libs/wingc/src/jsify/snapshots/no_capture_of_identifier_from_same_scope.snap +++ b/libs/wingc/src/jsify/snapshots/no_capture_of_identifier_from_same_scope.snap @@ -48,9 +48,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/no_capture_shadow_inside_inner_scopes.snap b/libs/wingc/src/jsify/snapshots/no_capture_shadow_inside_inner_scopes.snap index e5a833fbf3d..54db26e1554 100644 --- a/libs/wingc/src/jsify/snapshots/no_capture_shadow_inside_inner_scopes.snap +++ b/libs/wingc/src/jsify/snapshots/no_capture_shadow_inside_inner_scopes.snap @@ -60,9 +60,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/no_lift_shadow_inside_inner_scopes.snap b/libs/wingc/src/jsify/snapshots/no_lift_shadow_inside_inner_scopes.snap index 8cf87f1c99b..5b6c9f12da8 100644 --- a/libs/wingc/src/jsify/snapshots/no_lift_shadow_inside_inner_scopes.snap +++ b/libs/wingc/src/jsify/snapshots/no_lift_shadow_inside_inner_scopes.snap @@ -58,9 +58,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/preflight_class_extends_preflight_class.snap b/libs/wingc/src/jsify/snapshots/preflight_class_extends_preflight_class.snap index 6f8b36e738e..f8df6a1e343 100644 --- a/libs/wingc/src/jsify/snapshots/preflight_class_extends_preflight_class.snap +++ b/libs/wingc/src/jsify/snapshots/preflight_class_extends_preflight_class.snap @@ -55,9 +55,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Base extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/preflight_collection.snap b/libs/wingc/src/jsify/snapshots/preflight_collection.snap index 3323d0b5213..a2e0f01dcee 100644 --- a/libs/wingc/src/jsify/snapshots/preflight_collection.snap +++ b/libs/wingc/src/jsify/snapshots/preflight_collection.snap @@ -49,9 +49,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/preflight_collection_of_preflight_objects.snap b/libs/wingc/src/jsify/snapshots/preflight_collection_of_preflight_objects.snap index 3c7d184510c..ccbf4ba8352 100644 --- a/libs/wingc/src/jsify/snapshots/preflight_collection_of_preflight_objects.snap +++ b/libs/wingc/src/jsify/snapshots/preflight_collection_of_preflight_objects.snap @@ -50,13 +50,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/preflight_nested_object_with_operations.snap b/libs/wingc/src/jsify/snapshots/preflight_nested_object_with_operations.snap index 24b2d65c6cc..d1f4f50769d 100644 --- a/libs/wingc/src/jsify/snapshots/preflight_nested_object_with_operations.snap +++ b/libs/wingc/src/jsify/snapshots/preflight_nested_object_with_operations.snap @@ -68,13 +68,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class A extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/preflight_object.snap b/libs/wingc/src/jsify/snapshots/preflight_object.snap index a9bbc073db2..c7d6b9c02a2 100644 --- a/libs/wingc/src/jsify/snapshots/preflight_object.snap +++ b/libs/wingc/src/jsify/snapshots/preflight_object.snap @@ -72,9 +72,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class A extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/preflight_object_through_property.snap b/libs/wingc/src/jsify/snapshots/preflight_object_through_property.snap index 9408fa25143..73ae66c5d8a 100644 --- a/libs/wingc/src/jsify/snapshots/preflight_object_through_property.snap +++ b/libs/wingc/src/jsify/snapshots/preflight_object_through_property.snap @@ -69,13 +69,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class MyType extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/preflight_object_with_operations.snap b/libs/wingc/src/jsify/snapshots/preflight_object_with_operations.snap index ccfc374b9c7..3118c933228 100644 --- a/libs/wingc/src/jsify/snapshots/preflight_object_with_operations.snap +++ b/libs/wingc/src/jsify/snapshots/preflight_object_with_operations.snap @@ -47,13 +47,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/preflight_object_with_operations_multiple_methods.snap b/libs/wingc/src/jsify/snapshots/preflight_object_with_operations_multiple_methods.snap index 1151652abb0..30684d0011d 100644 --- a/libs/wingc/src/jsify/snapshots/preflight_object_with_operations_multiple_methods.snap +++ b/libs/wingc/src/jsify/snapshots/preflight_object_with_operations_multiple_methods.snap @@ -52,13 +52,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/preflight_value_field.snap b/libs/wingc/src/jsify/snapshots/preflight_value_field.snap index 506fe835563..9a150a8c71d 100644 --- a/libs/wingc/src/jsify/snapshots/preflight_value_field.snap +++ b/libs/wingc/src/jsify/snapshots/preflight_value_field.snap @@ -77,9 +77,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class MyType extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/qualify_inflight_type_refrencing_preflight_instance.snap b/libs/wingc/src/jsify/snapshots/qualify_inflight_type_refrencing_preflight_instance.snap deleted file mode 100644 index f35589d1325..00000000000 --- a/libs/wingc/src/jsify/snapshots/qualify_inflight_type_refrencing_preflight_instance.snap +++ /dev/null @@ -1,209 +0,0 @@ ---- -source: libs/wingc/src/jsify/tests.rs ---- -## Code - -```w - - class PreflightC { - pub inflight bar() {} - } - let pc = new PreflightC(); - - inflight class InflightC { - pub foo() { - pc.bar(); - } - } - - test "test" { - let ic = new InflightC(); - ic.foo(); - } - -``` - -## inflight.$Closure1-1.cjs - -```js -"use strict"; -const $helpers = require("@winglang/sdk/lib/helpers"); -module.exports = function({ $InflightC }) { - class $Closure1 { - constructor({ }) { - const $obj = (...args) => this.handle(...args); - Object.setPrototypeOf($obj, this); - return $obj; - } - async handle() { - const ic = (await (async () => {const o = new $InflightC(); await o.$inflight_init?.(); return o; })()); - (await ic.foo()); - } - } - return $Closure1; -} -//# sourceMappingURL=inflight.$Closure1-1.cjs.map -``` - -## inflight.InflightC-1.cjs - -```js -"use strict"; -const $helpers = require("@winglang/sdk/lib/helpers"); -module.exports = function({ $pc }) { - class InflightC { - async foo() { - (await $pc.bar()); - } - } - return InflightC; -} -//# sourceMappingURL=inflight.InflightC-1.cjs.map -``` - -## inflight.PreflightC-1.cjs - -```js -"use strict"; -const $helpers = require("@winglang/sdk/lib/helpers"); -module.exports = function({ }) { - class PreflightC { - constructor({ }) { - } - async bar() { - } - } - return PreflightC; -} -//# sourceMappingURL=inflight.PreflightC-1.cjs.map -``` - -## preflight.cjs - -```js -"use strict"; -const $stdlib = require('@winglang/sdk'); -const $platforms = ((s) => !s ? [] : s.split(';'))(process.env.WING_PLATFORMS); -const $outdir = process.env.WING_SYNTH_DIR ?? "."; -const $wing_is_test = process.env.WING_IS_TEST === "true"; -const std = $stdlib.std; -const $helpers = $stdlib.helpers; -const $extern = $helpers.createExternRequire(__dirname); -class $Root extends $stdlib.std.Resource { - constructor($scope, $id) { - super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; - class PreflightC extends $stdlib.std.Resource { - constructor($scope, $id, ) { - super($scope, $id); - } - static _toInflightType() { - return ` - require("${$helpers.normalPath(__dirname)}/inflight.PreflightC-1.cjs")({ - }) - `; - } - _toInflight() { - return ` - (await (async () => { - const PreflightCClient = ${PreflightC._toInflightType()}; - const client = new PreflightCClient({ - }); - if (client.$inflight_init) { await client.$inflight_init(); } - return client; - })()) - `; - } - get _liftMap() { - return ({ - "bar": [ - ], - "$inflight_init": [ - ], - }); - } - } - class InflightC extends $stdlib.std.Resource { - constructor($scope, $id, ) { - super($scope, $id); - } - static _toInflightType() { - return ` - require("${$helpers.normalPath(__dirname)}/inflight.InflightC-1.cjs")({ - $pc: ${$stdlib.core.liftObject(pc)}, - }) - `; - } - _toInflight() { - return ` - (await (async () => { - const InflightCClient = ${InflightC._toInflightType()}; - const client = new InflightCClient({ - }); - if (client.$inflight_init) { await client.$inflight_init(); } - return client; - })()) - `; - } - get _liftMap() { - return ({ - "foo": [ - [pc, ["bar"]], - ], - "$inflight_init": [ - [pc, []], - ], - }); - } - } - if ($preflightTypesMap[2]) { throw new Error("InflightC is already in type map"); } - $preflightTypesMap[2] = InflightC; - class $Closure1 extends $stdlib.std.AutoIdResource { - _id = $stdlib.core.closureId(); - constructor($scope, $id, ) { - super($scope, $id); - $helpers.nodeof(this).hidden = true; - } - static _toInflightType() { - return ` - require("${$helpers.normalPath(__dirname)}/inflight.$Closure1-1.cjs")({ - $InflightC: ${$stdlib.core.liftObject(InflightC)}, - }) - `; - } - _toInflight() { - return ` - (await (async () => { - const $Closure1Client = ${$Closure1._toInflightType()}; - const client = new $Closure1Client({ - }); - if (client.$inflight_init) { await client.$inflight_init(); } - return client; - })()) - `; - } - get _liftMap() { - return ({ - "handle": [ - [$helpers.preflightClassSingleton(this, 2), ["foo"]], - [InflightC, []], - ], - "$inflight_init": [ - [$helpers.preflightClassSingleton(this, 2), []], - [InflightC, []], - ], - }); - } - } - const pc = new PreflightC(this, "PreflightC"); - this.node.root.new("@winglang/sdk.std.Test", std.Test, this, "test:test", new $Closure1(this, "$Closure1")); - } -} -const $PlatformManager = new $stdlib.platform.PlatformManager({platformPaths: $platforms}); -const $APP = $PlatformManager.createApp({ outdir: $outdir, name: "main", rootConstruct: $Root, isTestEnvironment: $wing_is_test, entrypointDir: process.env['WING_SOURCE_DIR'], rootId: process.env['WING_ROOT_ID'] }); -$APP.synth(); -//# sourceMappingURL=preflight.cjs.map -``` - diff --git a/libs/wingc/src/jsify/snapshots/read_primitive_value.snap b/libs/wingc/src/jsify/snapshots/read_primitive_value.snap index db2b0b6ac0f..774da98ff7f 100644 --- a/libs/wingc/src/jsify/snapshots/read_primitive_value.snap +++ b/libs/wingc/src/jsify/snapshots/read_primitive_value.snap @@ -48,9 +48,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/reassign_captured_variable.snap b/libs/wingc/src/jsify/snapshots/reassign_captured_variable.snap index 2cd0be9082c..cdab8211e67 100644 --- a/libs/wingc/src/jsify/snapshots/reassign_captured_variable.snap +++ b/libs/wingc/src/jsify/snapshots/reassign_captured_variable.snap @@ -57,9 +57,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/reassigned_captured_variable_preflight.snap b/libs/wingc/src/jsify/snapshots/reassigned_captured_variable_preflight.snap index 0d37b640455..bbde03ffe57 100644 --- a/libs/wingc/src/jsify/snapshots/reassigned_captured_variable_preflight.snap +++ b/libs/wingc/src/jsify/snapshots/reassigned_captured_variable_preflight.snap @@ -26,9 +26,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; let i = 10; (() => { i = 12; diff --git a/libs/wingc/src/jsify/snapshots/ref_std_macro.snap b/libs/wingc/src/jsify/snapshots/ref_std_macro.snap index 3156b19bcd9..d421e6a3c7d 100644 --- a/libs/wingc/src/jsify/snapshots/ref_std_macro.snap +++ b/libs/wingc/src/jsify/snapshots/ref_std_macro.snap @@ -48,9 +48,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/reference_from_static_inflight.snap b/libs/wingc/src/jsify/snapshots/reference_from_static_inflight.snap index 4d446e7d47b..b4e479c49bf 100644 --- a/libs/wingc/src/jsify/snapshots/reference_from_static_inflight.snap +++ b/libs/wingc/src/jsify/snapshots/reference_from_static_inflight.snap @@ -47,9 +47,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class MyType extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/reference_inflight_class.snap b/libs/wingc/src/jsify/snapshots/reference_inflight_class.snap index c4c96cd62bd..7037afed5fc 100644 --- a/libs/wingc/src/jsify/snapshots/reference_inflight_class.snap +++ b/libs/wingc/src/jsify/snapshots/reference_inflight_class.snap @@ -66,9 +66,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -103,8 +100,6 @@ class $Root extends $stdlib.std.Resource { }); } } - if ($preflightTypesMap[1]) { throw new Error("Foo is already in type map"); } - $preflightTypesMap[1] = Foo; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -132,10 +127,8 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [Foo, ["a"]], ], "$inflight_init": [ - [Foo, []], ], }); } diff --git a/libs/wingc/src/jsify/snapshots/reference_inflight_field.snap b/libs/wingc/src/jsify/snapshots/reference_inflight_field.snap index 6444a8083db..28ee4f47cc6 100644 --- a/libs/wingc/src/jsify/snapshots/reference_inflight_field.snap +++ b/libs/wingc/src/jsify/snapshots/reference_inflight_field.snap @@ -54,9 +54,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/reference_inflight_from_inflight.snap b/libs/wingc/src/jsify/snapshots/reference_inflight_from_inflight.snap index 0597623b6b5..6ddf585201a 100644 --- a/libs/wingc/src/jsify/snapshots/reference_inflight_from_inflight.snap +++ b/libs/wingc/src/jsify/snapshots/reference_inflight_from_inflight.snap @@ -78,9 +78,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -114,8 +111,6 @@ class $Root extends $stdlib.std.Resource { }); } } - if ($preflightTypesMap[1]) { throw new Error("Foo is already in type map"); } - $preflightTypesMap[1] = Foo; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -143,10 +138,8 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [Foo, []], ], "$inflight_init": [ - [Foo, []], ], }); } diff --git a/libs/wingc/src/jsify/snapshots/reference_lift_of_collection.snap b/libs/wingc/src/jsify/snapshots/reference_lift_of_collection.snap index b478fce8fab..4baa0e5b574 100644 --- a/libs/wingc/src/jsify/snapshots/reference_lift_of_collection.snap +++ b/libs/wingc/src/jsify/snapshots/reference_lift_of_collection.snap @@ -48,9 +48,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/reference_preflight_field.snap b/libs/wingc/src/jsify/snapshots/reference_preflight_field.snap index 328f3d3829f..6d418fe4b67 100644 --- a/libs/wingc/src/jsify/snapshots/reference_preflight_field.snap +++ b/libs/wingc/src/jsify/snapshots/reference_preflight_field.snap @@ -52,9 +52,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/reference_preflight_field_call_independent_method.snap b/libs/wingc/src/jsify/snapshots/reference_preflight_field_call_independent_method.snap index 69384186b30..17388473e70 100644 --- a/libs/wingc/src/jsify/snapshots/reference_preflight_field_call_independent_method.snap +++ b/libs/wingc/src/jsify/snapshots/reference_preflight_field_call_independent_method.snap @@ -52,9 +52,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/reference_preflight_fields.snap b/libs/wingc/src/jsify/snapshots/reference_preflight_fields.snap index 27863adcafe..cabd4783e02 100644 --- a/libs/wingc/src/jsify/snapshots/reference_preflight_fields.snap +++ b/libs/wingc/src/jsify/snapshots/reference_preflight_fields.snap @@ -65,13 +65,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class MyType extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/reference_preflight_free_variable_with_this_in_the_expression.snap b/libs/wingc/src/jsify/snapshots/reference_preflight_free_variable_with_this_in_the_expression.snap index 7630bff1ae1..f7b74ca97e8 100644 --- a/libs/wingc/src/jsify/snapshots/reference_preflight_free_variable_with_this_in_the_expression.snap +++ b/libs/wingc/src/jsify/snapshots/reference_preflight_free_variable_with_this_in_the_expression.snap @@ -52,13 +52,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/reference_preflight_object_from_static_inflight.snap b/libs/wingc/src/jsify/snapshots/reference_preflight_object_from_static_inflight.snap index efc8fc0eed4..bee06339319 100644 --- a/libs/wingc/src/jsify/snapshots/reference_preflight_object_from_static_inflight.snap +++ b/libs/wingc/src/jsify/snapshots/reference_preflight_object_from_static_inflight.snap @@ -46,13 +46,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class MyType extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/reference_static_inflight.snap b/libs/wingc/src/jsify/snapshots/reference_static_inflight.snap index 8b105fd7f38..39e5714deae 100644 --- a/libs/wingc/src/jsify/snapshots/reference_static_inflight.snap +++ b/libs/wingc/src/jsify/snapshots/reference_static_inflight.snap @@ -68,9 +68,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class MyType extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/reference_static_inflight_which_references_preflight_object.snap b/libs/wingc/src/jsify/snapshots/reference_static_inflight_which_references_preflight_object.snap index c79a04b67f9..5fe4ab94cc7 100644 --- a/libs/wingc/src/jsify/snapshots/reference_static_inflight_which_references_preflight_object.snap +++ b/libs/wingc/src/jsify/snapshots/reference_static_inflight_which_references_preflight_object.snap @@ -73,13 +73,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class MyType extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/static_external_inflight_class.snap b/libs/wingc/src/jsify/snapshots/static_external_inflight_class.snap index 322b97d5ff9..1478a64ae25 100644 --- a/libs/wingc/src/jsify/snapshots/static_external_inflight_class.snap +++ b/libs/wingc/src/jsify/snapshots/static_external_inflight_class.snap @@ -77,9 +77,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class A extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -114,8 +111,6 @@ class $Root extends $stdlib.std.Resource { }); } } - if ($preflightTypesMap[1]) { throw new Error("A is already in type map"); } - $preflightTypesMap[1] = A; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -143,10 +138,8 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [A, ["foo"]], ], "$inflight_init": [ - [A, []], ], }); } diff --git a/libs/wingc/src/jsify/snapshots/static_external_preflight_class.snap b/libs/wingc/src/jsify/snapshots/static_external_preflight_class.snap index 1fbad7370de..6bdecac309e 100644 --- a/libs/wingc/src/jsify/snapshots/static_external_preflight_class.snap +++ b/libs/wingc/src/jsify/snapshots/static_external_preflight_class.snap @@ -76,9 +76,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class A extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/static_inflight_operation.snap b/libs/wingc/src/jsify/snapshots/static_inflight_operation.snap index 562280f0c7d..a3afeeb210c 100644 --- a/libs/wingc/src/jsify/snapshots/static_inflight_operation.snap +++ b/libs/wingc/src/jsify/snapshots/static_inflight_operation.snap @@ -70,13 +70,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class A extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/static_local_inflight_class.snap b/libs/wingc/src/jsify/snapshots/static_local_inflight_class.snap index e93803cd00f..ddd7d0bbc12 100644 --- a/libs/wingc/src/jsify/snapshots/static_local_inflight_class.snap +++ b/libs/wingc/src/jsify/snapshots/static_local_inflight_class.snap @@ -68,9 +68,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/static_on_std_type.snap b/libs/wingc/src/jsify/snapshots/static_on_std_type.snap index a8ddfb7e07e..cddb49b66f0 100644 --- a/libs/wingc/src/jsify/snapshots/static_on_std_type.snap +++ b/libs/wingc/src/jsify/snapshots/static_on_std_type.snap @@ -48,9 +48,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -79,12 +76,8 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$stdlib.core.toLiftableModuleType(std.Json, "@winglang/sdk/std", "Json"), ["values"]], - [$stdlib.core.toLiftableModuleType(std.String, "@winglang/sdk/std", "String"), ["fromJson"]], ], "$inflight_init": [ - [$stdlib.core.toLiftableModuleType(std.Json, "@winglang/sdk/std", "Json"), []], - [$stdlib.core.toLiftableModuleType(std.String, "@winglang/sdk/std", "String"), []], ], }); } diff --git a/libs/wingc/src/jsify/snapshots/transitive_reference.snap b/libs/wingc/src/jsify/snapshots/transitive_reference.snap index ae54a46416d..847626e2f23 100644 --- a/libs/wingc/src/jsify/snapshots/transitive_reference.snap +++ b/libs/wingc/src/jsify/snapshots/transitive_reference.snap @@ -88,13 +88,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class MyType extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/transitive_reference_via_inflight_class.snap b/libs/wingc/src/jsify/snapshots/transitive_reference_via_inflight_class.snap index c3e61474e94..4d646d3361c 100644 --- a/libs/wingc/src/jsify/snapshots/transitive_reference_via_inflight_class.snap +++ b/libs/wingc/src/jsify/snapshots/transitive_reference_via_inflight_class.snap @@ -71,13 +71,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class MyInflightClass extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -111,8 +108,6 @@ class $Root extends $stdlib.std.Resource { }); } } - if ($preflightTypesMap[1]) { throw new Error("MyInflightClass is already in type map"); } - $preflightTypesMap[1] = MyInflightClass; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -140,12 +135,8 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$helpers.preflightClassSingleton(this, 1), ["putInBucket"]], - [MyInflightClass, []], ], "$inflight_init": [ - [$helpers.preflightClassSingleton(this, 1), []], - [MyInflightClass, []], ], }); } diff --git a/libs/wingc/src/jsify/snapshots/transitive_reference_via_static.snap b/libs/wingc/src/jsify/snapshots/transitive_reference_via_static.snap index 1b0e1405a7e..6360ecad233 100644 --- a/libs/wingc/src/jsify/snapshots/transitive_reference_via_static.snap +++ b/libs/wingc/src/jsify/snapshots/transitive_reference_via_static.snap @@ -96,13 +96,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class MyType extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/two_identical_lifts.snap b/libs/wingc/src/jsify/snapshots/two_identical_lifts.snap index ae17e2d8048..bc7e393332e 100644 --- a/libs/wingc/src/jsify/snapshots/two_identical_lifts.snap +++ b/libs/wingc/src/jsify/snapshots/two_identical_lifts.snap @@ -53,13 +53,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/libs/wingc/src/jsify/snapshots/use_util_functions.snap b/libs/wingc/src/jsify/snapshots/use_util_functions.snap index 6df9d47b4ac..85f8f9563f2 100644 --- a/libs/wingc/src/jsify/snapshots/use_util_functions.snap +++ b/libs/wingc/src/jsify/snapshots/use_util_functions.snap @@ -43,13 +43,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const util = $stdlib.util; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const util = $stdlib.util; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -77,10 +74,8 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), ["env"]], ], "$inflight_init": [ - [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), []], ], }); } diff --git a/libs/wingc/src/jsify/snapshots/var_inflight_field_from_inflight.snap b/libs/wingc/src/jsify/snapshots/var_inflight_field_from_inflight.snap index 4b1282f2b4b..d0e74b4002d 100644 --- a/libs/wingc/src/jsify/snapshots/var_inflight_field_from_inflight.snap +++ b/libs/wingc/src/jsify/snapshots/var_inflight_field_from_inflight.snap @@ -54,9 +54,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class MyType extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/libs/wingc/src/jsify/snapshots/wait_util.snap b/libs/wingc/src/jsify/snapshots/wait_util.snap index baae474a327..e2f23baff21 100644 --- a/libs/wingc/src/jsify/snapshots/wait_util.snap +++ b/libs/wingc/src/jsify/snapshots/wait_util.snap @@ -50,13 +50,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const util = $stdlib.util; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const util = $stdlib.util; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -84,10 +81,8 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), ["waitUntil"]], ], "$inflight_init": [ - [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), []], ], }); } diff --git a/libs/wingc/src/jsify/tests.rs b/libs/wingc/src/jsify/tests.rs index 775bfe69365..a07511e90c7 100644 --- a/libs/wingc/src/jsify/tests.rs +++ b/libs/wingc/src/jsify/tests.rs @@ -43,29 +43,6 @@ fn free_inflight_obj_from_inflight() { ); } -#[test] -fn qualify_inflight_type_refrencing_preflight_instance() { - assert_compile_ok!( - r#" - class PreflightC { - pub inflight bar() {} - } - let pc = new PreflightC(); - - inflight class InflightC { - pub foo() { - pc.bar(); - } - } - - test "test" { - let ic = new InflightC(); - ic.foo(); - } - "# - ); -} - #[test] fn call_static_inflight_from_static_inflight() { assert_compile_ok!( diff --git a/libs/wingc/src/lifting.rs b/libs/wingc/src/lifting.rs index ab5f4ec4baf..3be3514185f 100644 --- a/libs/wingc/src/lifting.rs +++ b/libs/wingc/src/lifting.rs @@ -9,7 +9,6 @@ use crate::{ diagnostic::{report_diagnostic, Diagnostic}, jsify::{JSifier, JSifyContext}, type_check::{ - get_udt_definition_phase, lifts::{Liftable, Lifts}, resolve_user_defined_type, symbol_env::LookupResult, @@ -202,7 +201,7 @@ impl<'a> Visit<'a> for LiftVisitor<'a> { fn visit_expr(&mut self, node: &'a Expr) { CompilationContext::set(CompilationPhase::Lifting, &node.span); - self.with_expr(&node, |v| { + self.with_expr(node.id, |v| { let expr_phase = v.jsify.types.get_expr_phase(&node).unwrap(); let expr_type = v.jsify.types.get_expr_type(&node); @@ -245,9 +244,9 @@ impl<'a> Visit<'a> for LiftVisitor<'a> { Some((PropertyObject::Instance(prop_expr_id), property)) if node.id == prop_expr_id => Some(property), _ => { if expr_type.is_closure() { - // this is the case where we are lifting a "closure class" (a preflight class that has an inflight `handle` - // method is being called) the reason we might not have "property" set is because closure classes might be - // syntheticaly generated by the compiler from closures. + // this is the case where we are lifting a "closure class" (e.g. a class that has a "handle" + // method). The "property" here is implicitly `handle`, these are generally syntheticaly generated by the compiler + // from closures. Some(Symbol::global(CLOSURE_CLASS_HANDLE_METHOD)) } else { None @@ -275,26 +274,7 @@ impl<'a> Visit<'a> for LiftVisitor<'a> { return; } - // Before we continue lets dive into this (non-preflight) expression to see if we need to lift any parts of it visit::visit_expr(v, node); - - // Check if this is an inflight class defined preflight and if we need to qualify the lift with the current property - if expr_phase == Phase::Inflight { - if let Some(class) = expr_type.as_class() { - if class.phase == Phase::Inflight && class.defined_in_phase == Phase::Preflight { - if let Some((_, property)) = v.ctx.current_property() { - let m = v.ctx.current_method().map(|(m, _)| m).expect("a method"); - let mut lifts = v.lifts_stack.pop().unwrap(); - // Get preflight code that references the type of the class so we can qualify the lift, note we use a unique - // type alias here since we might not have the actual type name available in scope here. - let code = &v.jsify.class_singleton(expr_type); - lifts.lift(m, Some(v.jsify_symbol_to_op_array(&property)), code); - v.lifts_stack.push(lifts); - return; - } - } - } - } }); } @@ -313,11 +293,14 @@ impl<'a> Visit<'a> for LiftVisitor<'a> { } // Get the type of the udt - let env = self.ctx.current_env().expect("an env"); - let udt_type = - resolve_user_defined_type(node, env, self.ctx.current_stmt_idx()).unwrap_or(self.jsify.types.error()); - - // Since our target language is isn't statically typed, we don't need to capture interfaces + let udt_type = resolve_user_defined_type( + node, + self.ctx.current_env().expect("an env"), + self.ctx.current_stmt_idx(), + ) + .unwrap_or(self.jsify.types.error()); + + // Since our target languages is isn't statically typed, we don't need to capture interfaces if udt_type.as_interface().is_some() { visit::visit_user_defined_type(self, node); return; @@ -325,11 +308,25 @@ impl<'a> Visit<'a> for LiftVisitor<'a> { //--------------- // LIFT - if get_udt_definition_phase(node, env).expect("a phase") == Phase::Preflight { + if udt_type.is_preflight_class() { // jsify the expression so we can get the preflight code let code = self.jsify_udt(&node); let property = self.ctx.current_property(); + + // check that we can qualify the lift (e.g. determine which property is being accessed) + if property.is_none() { + report_diagnostic(Diagnostic { + message: format!( + "Cannot qualify access to a lifted type \"{udt_type}\" (see https://github.com/winglang/wing/issues/76 for more details)"), + span: Some(node.span.clone()), + annotations: vec![], + hints: vec![], + }); + + return; + } + let mut lifts = self.lifts_stack.pop().unwrap(); lifts.lift( self.ctx.current_method().map(|(m, _)| m).expect("a method"), diff --git a/libs/wingc/src/lsp/symbol_locator.rs b/libs/wingc/src/lsp/symbol_locator.rs index 7c6fa79acae..9bdbd0b0b20 100644 --- a/libs/wingc/src/lsp/symbol_locator.rs +++ b/libs/wingc/src/lsp/symbol_locator.rs @@ -302,7 +302,7 @@ impl<'a> Visit<'a> for SymbolLocator<'a> { return; } - self.ctx.push_expr(&node); + self.ctx.push_expr(node.id); match &node.kind { ExprKind::New(new_expr) => 'new_expr: { diff --git a/libs/wingc/src/type_check.rs b/libs/wingc/src/type_check.rs index 6825cb1c77a..ce3fe0891a3 100644 --- a/libs/wingc/src/type_check.rs +++ b/libs/wingc/src/type_check.rs @@ -329,20 +329,11 @@ pub struct Class { pub docs: Docs, pub lifts: Option, - // The phase in which this class was defined (this should be the same as the env.phase where the class name is defined) - pub defined_in_phase: Phase, - // Preflight classes are CDK Constructs which means they have a scope and id as their first arguments // this is natively supported by wing using the `as` `in` keywords. However theoretically it is possible // to have a construct which does not have these arguments, in which case we can't use the `as` `in` keywords // and instead the user will need to pass the relevant args to the class's init method. pub std_construct_args: bool, - - // Unique identifier for this class type, used to get access to the type's generated preflight code even when - // the type name isn't available in scope or is shadowed. - // Ideally we should use the FQN and unify the implementation of JSII imported classes and Wing classes, currently - // uid is used for Wing classes and is always 0 for JSII classes to avoid snapshot noise. - pub uid: usize, } impl Class { pub(crate) fn set_lifts(&mut self, lifts: Lifts) { @@ -354,8 +345,8 @@ impl Class { pub fn get_closure_method(&self) -> Option { self .methods(true) - .find(|(name, v)| name == CLOSURE_CLASS_HANDLE_METHOD && v.type_.is_inflight_function()) - .map(|(_, v)| v.type_) + .find(|(name, type_)| name == CLOSURE_CLASS_HANDLE_METHOD && type_.is_inflight_function()) + .map(|(_, t)| t) } } @@ -387,15 +378,15 @@ impl Display for Interface { } type ClassLikeIterator<'a> = - FilterMap, fn(::Item) -> Option<(String, VariableInfo)>>; + FilterMap, fn(::Item) -> Option<(String, TypeRef)>>; pub trait ClassLike: Display { fn get_env(&self) -> &SymbolEnv; fn methods(&self, with_ancestry: bool) -> ClassLikeIterator<'_> { - self.get_env().iter(with_ancestry).filter_map(|(s, sym_kind, ..)| { - if sym_kind.as_variable()?.type_.as_function_sig().is_some() { - Some((s, sym_kind.as_variable()?.clone())) + self.get_env().iter(with_ancestry).filter_map(|(s, t, ..)| { + if t.as_variable()?.type_.as_function_sig().is_some() { + Some((s, t.as_variable()?.type_)) } else { None } @@ -403,9 +394,9 @@ pub trait ClassLike: Display { } fn fields(&self, with_ancestry: bool) -> ClassLikeIterator<'_> { - self.get_env().iter(with_ancestry).filter_map(|(s, sym_kind, ..)| { - if sym_kind.as_variable()?.type_.as_function_sig().is_none() { - Some((s, sym_kind.as_variable()?.clone())) + self.get_env().iter(with_ancestry).filter_map(|(s, t, ..)| { + if t.as_variable()?.type_.as_function_sig().is_none() { + Some((s, t.as_variable()?.type_)) } else { None } @@ -647,14 +638,16 @@ impl Subtype for Type { // method type (aka "closure classes"). // First, check if there is exactly one inflight method in the interface - let mut inflight_methods = iface.methods(true).filter(|(_name, v)| v.type_.is_inflight_function()); + let mut inflight_methods = iface + .methods(true) + .filter(|(_name, type_)| type_.is_inflight_function()); let handler_method = inflight_methods.next(); if handler_method.is_none() || inflight_methods.next().is_some() { return false; } // Next, check that the method's name is "handle" - let (handler_method_name, handler_method_var) = handler_method.unwrap(); + let (handler_method_name, handler_method_type) = handler_method.unwrap(); if handler_method_name != CLOSURE_CLASS_HANDLE_METHOD { return false; } @@ -667,7 +660,7 @@ impl Subtype for Type { }; // Finally check if they're subtypes - res_handle_type.is_subtype_of(&handler_method_var.type_) + res_handle_type.is_subtype_of(&handler_method_type) } (Self::Class(res), Self::Function(_)) => { // To support flexible inflight closures, we say that any @@ -1092,13 +1085,12 @@ impl TypeRef { /// Returns whether type represents a closure (either a function or a closure class). pub fn is_closure(&self) -> bool { - self.as_function_sig().is_some() || self.is_closure_class() - } + if self.as_function_sig().is_some() { + return true; + } - /// Returns whether type represents a class representing an inflight closure. - pub fn is_closure_class(&self) -> bool { - if let Some(ref class) = self.as_class() { - return class.get_closure_method().is_some() && class.defined_in_phase == Phase::Preflight; + if let Some(ref class) = self.as_preflight_class() { + return class.get_closure_method().is_some(); } false } @@ -1228,7 +1220,7 @@ impl TypeRef { Type::MutArray(t) => t.is_serializable(), Type::Map(t) => t.is_serializable(), Type::MutMap(t) => t.is_serializable(), - Type::Struct(s) => s.fields(true).map(|(_, v)| v.type_).all(|t| t.is_serializable()), + Type::Struct(s) => s.fields(true).map(|(_, t)| t).all(|t| t.is_serializable()), Type::Enum(_) => true, // not serializable Type::Duration => false, @@ -1266,7 +1258,7 @@ impl TypeRef { Type::Map(v) => v.is_json_legal_value(), Type::Optional(v) => v.is_json_legal_value(), Type::Struct(ref s) => { - for t in s.fields(true).map(|(_, v)| v.type_) { + for (_, t) in s.fields(true) { if !t.is_json_legal_value() { return false; } @@ -1303,8 +1295,8 @@ impl TypeRef { match &**self { Type::Struct(s) => { // check all its fields are json compatible - for t in s.fields(true).map(|(_, v)| v.type_) { - if !t.has_json_representation() { + for (_, field) in s.fields(true) { + if !field.has_json_representation() { return false; } } @@ -1399,8 +1391,6 @@ pub struct Types { type_expressions: IndexMap, /// Append empty struct to end of arg list pub append_empty_struct_to_arglist: HashSet, - /// Class counter, used to generate unique ids for class types - pub class_counter: usize, } impl Types { @@ -1453,9 +1443,6 @@ impl Types { append_empty_struct_to_arglist: HashSet::new(), libraries: SymbolEnv::new(None, SymbolEnvKind::Scope, Phase::Preflight, 0), intrinsics: SymbolEnv::new(None, SymbolEnvKind::Scope, Phase::Independent, 0), - // 1 based to avoid conflict with imported JSII classes. This isn't strictly needed since brought JSII classes are never accessed - // through their unique ID, but still good to avoid confusion. - class_counter: 1, } } @@ -2314,14 +2301,14 @@ new cloud.Function(@inflight("./handler.ts"), lifts: { bucket: ["put"] }); self.spanned_error( exp, format!( - "Binary operator '+' cannot be applied to operands of type '{}' and '{}'; only ({}, {}) and ({}, {}) are supported", - ltype, - rtype, - self.types.number(), - self.types.number(), - self.types.string(), - self.types.string(), - ), + "Binary operator '+' cannot be applied to operands of type '{}' and '{}'; only ({}, {}) and ({}, {}) are supported", + ltype, + rtype, + self.types.number(), + self.types.number(), + self.types.string(), + self.types.string(), + ), ); } self.resolved_error() @@ -2512,8 +2499,7 @@ new cloud.Function(@inflight("./handler.ts"), lifts: { bucket: ["put"] }); .expect(&format!("Expected \"{}\" to be a struct type", struct_type)); // Verify that all expected fields are present and are the right type - for (name, v) in st.fields(true) { - let field_type = v.type_; + for (name, field_type) in st.fields(true) { match fields.get(name.as_str()) { Some(field_exp) => { let t = field_types.get(name.as_str()).unwrap(); @@ -2769,9 +2755,21 @@ new cloud.Function(@inflight("./handler.ts"), lifts: { bucket: ["put"] }); // Make sure this is a function signature type let func_sig = if let Some(func_sig) = func_type.as_deep_function_sig() { func_sig.clone() - } else if func_type.is_closure_class() { - let handle_type = func_type.as_class().unwrap().get_closure_method().unwrap(); - handle_type.as_function_sig().unwrap().clone() + } else if let Some(class) = func_type.as_preflight_class() { + // return the signature of the "handle" method + let lookup_res = class.get_method(&CLOSURE_CLASS_HANDLE_METHOD.into()); + let handle_type = if let Some(method) = lookup_res { + method.type_ + } else { + self.spanned_error(callee, "Expected a function or method"); + return self.resolved_error(); + }; + if let Some(sig_type) = handle_type.as_function_sig() { + sig_type.clone() + } else { + self.spanned_error(callee, "Expected a function or method"); + return self.resolved_error(); + } } else { self.spanned_error( callee, @@ -3064,7 +3062,7 @@ new cloud.Function(@inflight("./handler.ts"), lifts: { bucket: ["put"] }); pub fn all_optional_struct(t: TypeRef) -> bool { match &*t { - Type::Struct(s) => s.fields(true).all(|(_, v)| v.type_.is_option()), + Type::Struct(s) => s.fields(true).all(|(_, t)| t.is_option()), _ => false, } } @@ -4522,13 +4520,10 @@ new cloud.Function(@inflight("./handler.ts"), lifts: { bucket: ["put"] }); implements: impl_interfaces.clone(), is_abstract: false, phase: ast_class.phase, - defined_in_phase: env.phase, docs: stmt.doc.as_ref().map_or(Docs::default(), |s| Docs::with_summary(s)), std_construct_args: ast_class.phase == Phase::Preflight, lifts: None, - uid: self.types.class_counter, }; - self.types.class_counter += 1; let mut class_type = self.types.add_type(Type::Class(class_spec)); match env.define( &ast_class.name, @@ -4743,8 +4738,7 @@ new cloud.Function(@inflight("./handler.ts"), lifts: { bucket: ["put"] }); }; // Check all methods are implemented - for (method_name, v) in interface_type.methods(true) { - let method_type = v.type_; + for (method_name, method_type) in interface_type.methods(true) { if let Some(symbol) = &mut class_type .as_class_mut() .unwrap() @@ -5303,7 +5297,7 @@ new cloud.Function(@inflight("./handler.ts"), lifts: { bucket: ["put"] }); return; }; - // If the parent class is phase independent then its constructor name is just "new" regardless of + // If the parent class is phase independent than its constructor name is just "new" regardless of // whether we're inflight or not. let parent_init_name = if parent_class.as_class().unwrap().phase == Phase::Independent { CLASS_INIT_NAME @@ -5315,13 +5309,13 @@ new cloud.Function(@inflight("./handler.ts"), lifts: { bucket: ["put"] }); .as_class() .unwrap() .methods(false) - .find(|(name, ..)| name == parent_init_name) - .unwrap() + .filter(|(name, _type)| name == parent_init_name) + .collect_vec()[0] .1; self.type_check_arg_list_against_function_sig( &arg_list, - parent_initializer.type_.as_function_sig().unwrap(), + parent_initializer.as_function_sig().unwrap(), super_constructor_call, arg_list_types, ); @@ -5761,8 +5755,6 @@ new cloud.Function(@inflight("./handler.ts"), lifts: { bucket: ["put"] }); docs: c.docs.clone(), std_construct_args: c.std_construct_args, lifts: None, - defined_in_phase: env.phase, - uid: c.uid, }), Type::Interface(iface) => Type::Interface(Interface { name: iface.name.clone(), @@ -6289,7 +6281,7 @@ new cloud.Function(@inflight("./handler.ts"), lifts: { bucket: ["put"] }); if property.name == FROM_JSON || property.name == TRY_FROM_JSON { // we need to validate that only structs with all valid json fields can have a fromJson method for (name, field) in s.fields(true) { - if !field.type_.has_json_representation() { + if !field.has_json_representation() { self.spanned_error_with_var( property, format!( @@ -6990,19 +6982,6 @@ pub fn resolve_user_defined_type_ref<'a>( } } -pub fn get_udt_definition_phase(user_defined_type: &UserDefinedType, env: &SymbolEnv) -> Option { - let mut nested_name = vec![&user_defined_type.root]; - nested_name.extend(user_defined_type.fields.iter().collect_vec()); - - let lookup_result = env.lookup_nested(&nested_name, None); - - if let LookupResult::Found(_, lookup_info) = lookup_result { - Some(lookup_info.env.phase) - } else { - None - } -} - pub fn is_udt_struct_type(udt: &UserDefinedType, env: &SymbolEnv) -> bool { if let Ok(type_) = resolve_user_defined_type(udt, env, 0) { type_.as_struct().is_some() diff --git a/libs/wingc/src/type_check/jsii_importer.rs b/libs/wingc/src/type_check/jsii_importer.rs index de39f947dff..65c99014da2 100644 --- a/libs/wingc/src/type_check/jsii_importer.rs +++ b/libs/wingc/src/type_check/jsii_importer.rs @@ -732,14 +732,9 @@ impl<'a> JsiiImporter<'a> { implements: vec![], is_abstract: jsii_class.abstract_.unwrap_or(false), phase: class_phase, - defined_in_phase: Phase::Preflight, docs: Docs::from(&jsii_class.docs), std_construct_args: false, // Temporary value, will be updated once we parse the initializer args lifts: None, - - // uid is used to create unique names class types so we can access the correct type regardless of type name shadowing, - // this isn't relevant for imported types (that aren't code generated), so we can default to 0 - uid: 0, }; let mut new_type = self.wing_types.add_type(Type::Class(class_spec)); self.register_jsii_type(&jsii_class_fqn, &new_type_symbol, new_type); diff --git a/libs/wingc/src/type_check/lifts.rs b/libs/wingc/src/type_check/lifts.rs index 61c7413bc08..8606c5e2bdc 100644 --- a/libs/wingc/src/type_check/lifts.rs +++ b/libs/wingc/src/type_check/lifts.rs @@ -10,7 +10,7 @@ use super::{ExprId, CLASS_INFLIGHT_INIT_NAME}; #[derive(Debug)] pub struct Lifts { // TODO: make all these private and add accessors+helper logic - /// All the lifts. Map from method to a map from preflight code to lift qualifications. + /// All the lifts. Map from method to a map from inflight code to lift qualifications. pub lifts_qualifications: BTreeMap>, /// All the captures. The key is token the value is the preflight code. diff --git a/libs/wingc/src/visit_context.rs b/libs/wingc/src/visit_context.rs index f2850b9424e..5004ba58074 100644 --- a/libs/wingc/src/visit_context.rs +++ b/libs/wingc/src/visit_context.rs @@ -1,7 +1,7 @@ use itertools::Itertools; use crate::{ - ast::{Class, Expr, ExprId, FunctionSignature, Phase, Stmt, StmtKind, Symbol, UserDefinedType}, + ast::{Class, ExprId, FunctionSignature, Phase, Stmt, StmtKind, Symbol, UserDefinedType}, type_check::symbol_env::SymbolEnvRef, }; @@ -91,8 +91,8 @@ impl VisitContext { // -- - pub fn push_expr(&mut self, expr: &Expr) { - self.expression.push(expr.id); + pub fn push_expr(&mut self, expr: ExprId) { + self.expression.push(expr); } pub fn pop_expr(&mut self) { @@ -237,7 +237,7 @@ impl VisitContext { pub trait VisitorWithContext { fn ctx(&mut self) -> &mut VisitContext; - fn with_expr(&mut self, expr: &Expr, f: impl FnOnce(&mut Self)) { + fn with_expr(&mut self, expr: ExprId, f: impl FnOnce(&mut Self)) { self.ctx().push_expr(expr); f(self); self.ctx().pop_expr(); diff --git a/libs/wingsdk/src/core/lifting.ts b/libs/wingsdk/src/core/lifting.ts index 41d2bb7fad0..737f4cfd434 100644 --- a/libs/wingsdk/src/core/lifting.ts +++ b/libs/wingsdk/src/core/lifting.ts @@ -265,7 +265,10 @@ export function collectLifts( } else if (typeof obj === "object" && obj._liftMap !== undefined) { matrix = parseMatrix(obj._liftMap ?? {}); matrixCache.set(obj, matrix); - } else if (typeof obj === "function" && obj._liftTypeMap !== undefined) { + } else if ( + typeof obj === "function" && + typeof obj._liftTypeMap !== undefined + ) { matrix = parseMatrix(obj._liftTypeMap ?? {}); matrixCache.set(obj, matrix); } else { diff --git a/libs/wingsdk/src/helpers.ts b/libs/wingsdk/src/helpers.ts index a009e93796a..a54598218d8 100644 --- a/libs/wingsdk/src/helpers.ts +++ b/libs/wingsdk/src/helpers.ts @@ -3,7 +3,6 @@ import { notDeepStrictEqual } from "node:assert"; import * as path from "node:path"; import type { Construct } from "constructs"; -import type { Resource } from "./std"; import type { Node } from "./std/node"; // since we moved from node:18 to node:20 the deepStrictEqual doesn't work as expected. // https://github.com/winglang/wing/issues/4444 @@ -167,63 +166,3 @@ export function resolveDirname( ): string { return normalPath(path.resolve(outdir, relativeSourceDir)); } - -/** - * Helper function to `require` a compiled preflight wing file (js) into another compiled (js) wing file. - * We need this instead of simply calling `require` because in addition to returning the imported module's exports, - * we also need to update the current module's preflight types map with the brought module's preflight types map. - * @param moduleFile - the file to `require` - * @param outPreflightTypesObject - the current module's $preflightTypesMap - * @returns all symbols exported by the `moduleFile` except `$preflightTypesMap` - */ -export function bringJs( - moduleFile: string, - outPreflightTypesObject: any -): Object { - /* eslint-disable @typescript-eslint/no-require-imports */ - return Object.fromEntries( - Object.entries(require(moduleFile)).filter(([k, v]) => { - // If this is the preflight types array then update the input object and skip it - if (k === "$preflightTypesMap") { - // Verify no key collision (should never happen) - Object.entries(v).forEach(([key, value]) => { - const otherValue = outPreflightTypesObject[key]; - if (key in outPreflightTypesObject && otherValue !== value) { - throw new Error(`Key collision (${key} is both ${value.name} and ${otherValue.name}) in preflight types map`); - } - }); - Object.assign(outPreflightTypesObject, v); - return false; - } - return true; - }) - ); -} - -/** - * Helper function to get a singleton instance of a class defined in preflight. - * In practice this is used to get the preflight instance of **inflight** classes defined **preflight**. - * This instance is used for accessing the lift map of such classes. - * @param scope - a scope in the construct tree that'll hold the instance (a singleton within that tree). - * @param typeId - the unique id of the preflight class type we want. - * @returns the instance of the class. - */ -export function preflightClassSingleton( - scope: Construct, - typeId: number -): Resource { - const root: any = nodeof(scope).root; - const type: any = root.$preflightTypesMap[typeId]; - if (root.resourceSingletons === undefined) { - root.resourceSingletons = {}; - } - const instance = root.resourceSingletons[type]; - if (instance) { - return instance; - } - root.resourceSingletons[type] = new type( - scope, - `${type.name}_singleton_${typeId}` - ); - return root.resourceSingletons[type]; -} diff --git a/tools/hangar/__snapshots__/invalid.ts.snap b/tools/hangar/__snapshots__/invalid.ts.snap index e944ae5e824..6021af442d6 100644 --- a/tools/hangar/__snapshots__/invalid.ts.snap +++ b/tools/hangar/__snapshots__/invalid.ts.snap @@ -2613,6 +2613,13 @@ error: Cannot create preflight class "PreflightClass" in inflight phase | ^^^^^^^^^^^^^^^^^^^^ +error: Cannot qualify access to a lifted type "PreflightClass" (see https://github.com/winglang/wing/issues/76 for more details) + --> ../../../examples/tests/invalid/inflight_class_created_in_preflight.test.w:19:7 + | +19 | new PreflightClass(); + | ^^^^^^^^^^^^^^ + + Tests 1 failed (1) Snapshots 1 skipped @@ -4084,6 +4091,13 @@ exports[`resource_inflight.test.w 1`] = ` | ^^^^^^^^^^^^^^^^^^ +error: Cannot qualify access to a lifted type "Bucket" (see https://github.com/winglang/wing/issues/76 for more details) + --> ../../../examples/tests/invalid/resource_inflight.test.w:4:7 + | +4 | new cloud.Bucket(); // Should fail because we can't create resources inflight + | ^^^^^^^^^^^^ + + Tests 1 failed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/valid/anon_function.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/anon_function.test.w_compile_tf-aws.md index a0171da37a6..48f9f26410c 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/anon_function.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/anon_function.test.w_compile_tf-aws.md @@ -54,9 +54,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/api.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/api.test.w_compile_tf-aws.md index 8693e2fefec..a225949abbd 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/api.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/api.test.w_compile_tf-aws.md @@ -476,13 +476,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -511,11 +508,9 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$stdlib.core.toLiftableModuleType(std.Json, "@winglang/sdk/std", "Json"), ["stringify"]], [counter, ["inc"]], ], "$inflight_init": [ - [$stdlib.core.toLiftableModuleType(std.Json, "@winglang/sdk/std", "Json"), []], [counter, []], ], }); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/api_cors_custom.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/api_cors_custom.test.w_compile_tf-aws.md index bc5e0bfed85..34cc0b087ff 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/api_cors_custom.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/api_cors_custom.test.w_compile_tf-aws.md @@ -332,16 +332,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; +const ex = $stdlib.ex; +const http = $stdlib.http; +const expect = $stdlib.expect; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - const ex = $stdlib.ex; - const http = $stdlib.http; - const expect = $stdlib.expect; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -403,13 +400,9 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), [].concat(["equal"], ["nil"])], - [$stdlib.core.toLiftableModuleType(http.Util, "@winglang/sdk/http", "Util"), ["get"]], [api.url, []], ], "$inflight_init": [ - [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), []], - [$stdlib.core.toLiftableModuleType(http.Util, "@winglang/sdk/http", "Util"), []], [api.url, []], ], }); @@ -445,15 +438,9 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), [].concat(["equal"], ["nil"])], - [$stdlib.core.toLiftableModuleType(http.HttpMethod, "@winglang/sdk/http", "HttpMethod"), ["OPTIONS"]], - [$stdlib.core.toLiftableModuleType(http.Util, "@winglang/sdk/http", "Util"), ["fetch"]], [api.url, []], ], "$inflight_init": [ - [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), []], - [$stdlib.core.toLiftableModuleType(http.HttpMethod, "@winglang/sdk/http", "HttpMethod"), []], - [$stdlib.core.toLiftableModuleType(http.Util, "@winglang/sdk/http", "Util"), []], [api.url, []], ], }); @@ -489,15 +476,9 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), ["equal"]], - [$stdlib.core.toLiftableModuleType(http.HttpMethod, "@winglang/sdk/http", "HttpMethod"), ["OPTIONS"]], - [$stdlib.core.toLiftableModuleType(http.Util, "@winglang/sdk/http", "Util"), ["fetch"]], [api.url, []], ], "$inflight_init": [ - [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), []], - [$stdlib.core.toLiftableModuleType(http.HttpMethod, "@winglang/sdk/http", "HttpMethod"), []], - [$stdlib.core.toLiftableModuleType(http.Util, "@winglang/sdk/http", "Util"), []], [api.url, []], ], }); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/api_cors_default.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/api_cors_default.test.w_compile_tf-aws.md index 3c077f31ee8..7a432fa81b5 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/api_cors_default.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/api_cors_default.test.w_compile_tf-aws.md @@ -307,16 +307,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; +const ex = $stdlib.ex; +const http = $stdlib.http; +const expect = $stdlib.expect; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - const ex = $stdlib.ex; - const http = $stdlib.http; - const expect = $stdlib.expect; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -378,13 +375,9 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), [].concat(["equal"], ["nil"])], - [$stdlib.core.toLiftableModuleType(http.Util, "@winglang/sdk/http", "Util"), ["get"]], [apiDefaultCors.url, []], ], "$inflight_init": [ - [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), []], - [$stdlib.core.toLiftableModuleType(http.Util, "@winglang/sdk/http", "Util"), []], [apiDefaultCors.url, []], ], }); @@ -420,15 +413,9 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), [].concat(["equal"], ["nil"])], - [$stdlib.core.toLiftableModuleType(http.HttpMethod, "@winglang/sdk/http", "HttpMethod"), ["OPTIONS"]], - [$stdlib.core.toLiftableModuleType(http.Util, "@winglang/sdk/http", "Util"), ["fetch"]], [apiDefaultCors.url, []], ], "$inflight_init": [ - [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), []], - [$stdlib.core.toLiftableModuleType(http.HttpMethod, "@winglang/sdk/http", "HttpMethod"), []], - [$stdlib.core.toLiftableModuleType(http.Util, "@winglang/sdk/http", "Util"), []], [apiDefaultCors.url, []], ], }); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/api_valid_path.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/api_valid_path.test.w_compile_tf-aws.md index 1ff40e38af2..636daf6a931 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/api_valid_path.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/api_valid_path.test.w_compile_tf-aws.md @@ -550,14 +550,11 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; +const expect = $stdlib.expect; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - const expect = $stdlib.expect; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/assert.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/assert.test.w_compile_tf-aws.md index 9c24a66a33b..affbcd93807 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/assert.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/assert.test.w_compile_tf-aws.md @@ -65,9 +65,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/asynchronous_model_implicit_await_in_functions.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/asynchronous_model_implicit_await_in_functions.test.w_compile_tf-aws.md index 64402b8eac2..a1abff069c0 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/asynchronous_model_implicit_await_in_functions.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/asynchronous_model_implicit_await_in_functions.test.w_compile_tf-aws.md @@ -269,13 +269,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/baz.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/baz.w_compile_tf-aws.md index 0bef77200bc..806f0755f05 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/baz.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/baz.w_compile_tf-aws.md @@ -21,7 +21,6 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -let $preflightTypesMap = {}; class Baz extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -53,7 +52,7 @@ class Baz extends $stdlib.std.Resource { }); } } -module.exports = { $preflightTypesMap, Baz }; +module.exports = { Baz }; //# sourceMappingURL=preflight.cjs.map ``` diff --git a/tools/hangar/__snapshots__/test_corpus/valid/bring_alias.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/bring_alias.test.w_compile_tf-aws.md index 2355f752634..91d1d890678 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/bring_alias.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/bring_alias.test.w_compile_tf-aws.md @@ -28,14 +28,11 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const stdFs = $stdlib.fs; +const stdFs2 = $stdlib.fs; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const stdFs = $stdlib.fs; - const stdFs2 = $stdlib.fs; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; $helpers.assert($helpers.eq((stdFs.Util.dirname("/")), "/"), "stdFs.dirname(\"/\") == \"/\""); $helpers.assert($helpers.eq((stdFs2.Util.dirname("/")), "/"), "stdFs2.dirname(\"/\") == \"/\""); } diff --git a/tools/hangar/__snapshots__/test_corpus/valid/bring_awscdk.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/bring_awscdk.test.w_compile_tf-aws.md index 76c18f32c64..0619d7e6677 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/bring_awscdk.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/bring_awscdk.test.w_compile_tf-aws.md @@ -42,13 +42,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cdk = require("aws-cdk-lib"); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cdk = require("aws-cdk-lib"); - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class CdkDockerImageFunction extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/bring_cdk8s.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/bring_cdk8s.test.w_compile_tf-aws.md index 43ef75b0daa..759bd050819 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/bring_cdk8s.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/bring_cdk8s.test.w_compile_tf-aws.md @@ -28,14 +28,11 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cdk8s = require("cdk8s"); +const kplus = require("cdk8s-plus-27"); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cdk8s = require("cdk8s"); - const kplus = require("cdk8s-plus-27"); - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; const app = this.node.root.new("cdk8s.App", cdk8s.App, ); const chart = this.node.root.new("cdk8s.Chart", cdk8s.Chart, this, "Chart"); const deploy = ($scope => $scope.node.root.new("cdk8s-plus-27.Deployment", kplus.Deployment, $scope, "Deployment"))(chart); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/bring_cdktf.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/bring_cdktf.test.w_compile_tf-aws.md index 47db08390c9..60cc9c5b347 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/bring_cdktf.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/bring_cdktf.test.w_compile_tf-aws.md @@ -59,14 +59,11 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const aws = require("@cdktf/provider-aws"); +const cdktf = require("cdktf"); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const aws = require("@cdktf/provider-aws"); - const cdktf = require("cdktf"); - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/bring_extend_non_entry.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/bring_extend_non_entry.test.w_compile_tf-aws.md index 169b251befa..7d08220759d 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/bring_extend_non_entry.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/bring_extend_non_entry.test.w_compile_tf-aws.md @@ -43,13 +43,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const lib = require("./preflight.extendnonentrypoint-1.cjs"); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const lib = $helpers.bringJs(`${__dirname}/preflight.extendnonentrypoint-1.cjs`, $preflightTypesMap); - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; const f = new lib.Foo(this, "Foo"); } } @@ -66,7 +63,6 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -let $preflightTypesMap = {}; const cdk8s = require("cdk8s"); class Foo extends (this?.node?.root?.typeForFqn("cdk8s.Chart") ?? cdk8s.Chart) { constructor($scope, $id, ) { @@ -97,7 +93,7 @@ class Foo extends (this?.node?.root?.typeForFqn("cdk8s.Chart") ?? cdk8s.Chart) { }); } } -module.exports = { $preflightTypesMap, Foo }; +module.exports = { Foo }; //# sourceMappingURL=preflight.extendnonentrypoint-1.cjs.map ``` diff --git a/tools/hangar/__snapshots__/test_corpus/valid/bring_jsii.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/bring_jsii.test.w_compile_tf-aws.md index e670a56f704..8ce43dccc57 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/bring_jsii.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/bring_jsii.test.w_compile_tf-aws.md @@ -64,15 +64,12 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; +const stuff = require("jsii-code-samples"); +const jsii_fixture = require("jsii-fixture"); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - const stuff = require("jsii-code-samples"); - const jsii_fixture = require("jsii-fixture"); - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -101,11 +98,9 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$stdlib.core.toLiftableModuleType(stuff.HelloWorld, "jsii-code-samples", "HelloWorld"), []], [greeting, []], ], "$inflight_init": [ - [$stdlib.core.toLiftableModuleType(stuff.HelloWorld, "jsii-code-samples", "HelloWorld"), []], [greeting, []], ], }); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/bring_local.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/bring_local.test.w_compile_tf-aws.md index 731e6cfad7f..eaea16be38c 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/bring_local.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/bring_local.test.w_compile_tf-aws.md @@ -297,17 +297,14 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const file1 = require("./preflight.store-2.cjs"); +const file2 = require("./preflight.subfile-3.cjs"); +const file3 = require("./preflight.empty-1.cjs"); +const math = $stdlib.math; +const expect = $stdlib.expect; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const file1 = $helpers.bringJs(`${__dirname}/preflight.store-2.cjs`, $preflightTypesMap); - const file2 = $helpers.bringJs(`${__dirname}/preflight.subfile-3.cjs`, $preflightTypesMap); - const file3 = $helpers.bringJs(`${__dirname}/preflight.empty-1.cjs`, $preflightTypesMap); - const math = $stdlib.math; - const expect = $stdlib.expect; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -371,11 +368,9 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), ["equal"]], [$stdlib.core.toLiftableModuleType(file2.Q, "", "Q"), ["greet"]], ], "$inflight_init": [ - [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), []], [$stdlib.core.toLiftableModuleType(file2.Q, "", "Q"), []], ], }); @@ -464,8 +459,7 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -let $preflightTypesMap = {}; -module.exports = { $preflightTypesMap, }; +module.exports = { }; //# sourceMappingURL=preflight.empty-1.cjs.map ``` @@ -476,8 +470,7 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -let $preflightTypesMap = {}; -const file3 = $helpers.bringJs(`${__dirname}/preflight.empty-1.cjs`, $preflightTypesMap); +const file3 = require("./preflight.empty-1.cjs"); const math = $stdlib.math; const cloud = $stdlib.cloud; const Color = @@ -587,7 +580,7 @@ class Store extends $stdlib.std.Resource { }); } } -module.exports = { $preflightTypesMap, Util, Store, Color }; +module.exports = { Util, Store, Color }; //# sourceMappingURL=preflight.store-2.cjs.map ``` @@ -598,7 +591,6 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -let $preflightTypesMap = {}; const math = $stdlib.math; class Q extends $stdlib.std.Resource { constructor($scope, $id, ) { @@ -637,7 +629,7 @@ class Q extends $stdlib.std.Resource { }); } } -module.exports = { $preflightTypesMap, Q }; +module.exports = { Q }; //# sourceMappingURL=preflight.subfile-3.cjs.map ``` diff --git a/tools/hangar/__snapshots__/test_corpus/valid/bring_local_dir.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/bring_local_dir.test.w_compile_tf-aws.md index 2dd33865c8f..0161018121b 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/bring_local_dir.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/bring_local_dir.test.w_compile_tf-aws.md @@ -42,21 +42,6 @@ module.exports = function({ }) { //# sourceMappingURL=inflight.Foo-3.cjs.map ``` -## inflight.InflightClass-4.cjs -```cjs -"use strict"; -const $helpers = require("@winglang/sdk/lib/helpers"); -module.exports = function({ }) { - class InflightClass { - async method() { - return "What did you expect?"; - } - } - return InflightClass; -} -//# sourceMappingURL=inflight.InflightClass-4.cjs.map -``` - ## inflight.Widget-1.cjs ```cjs "use strict"; @@ -99,14 +84,11 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const w = require("./preflight.widget-1.cjs"); +const subdir = require("./preflight.subdir2-5.cjs"); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const w = $helpers.bringJs(`${__dirname}/preflight.widget-1.cjs`, $preflightTypesMap); - const subdir = $helpers.bringJs(`${__dirname}/preflight.subdir2-6.cjs`, $preflightTypesMap); - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; const widget1 = new w.Widget(this, "widget1"); $helpers.assert($helpers.eq((widget1.compute()), 42), "widget1.compute() == 42"); const foo = new subdir.Foo(this, "Foo"); @@ -131,8 +113,7 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -let $preflightTypesMap = {}; -const blah = $helpers.bringJs(`${__dirname}/preflight.inner-2.cjs`, $preflightTypesMap); +const blah = require("./preflight.inner-2.cjs"); const cloud = $stdlib.cloud; const util = $stdlib.util; class Foo extends $stdlib.std.Resource { @@ -169,7 +150,7 @@ class Foo extends $stdlib.std.Resource { }); } } -module.exports = { $preflightTypesMap, Foo }; +module.exports = { Foo }; //# sourceMappingURL=preflight.file1-3.cjs.map ``` @@ -180,7 +161,6 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -let $preflightTypesMap = {}; const util = $stdlib.util; class Bar extends $stdlib.std.Resource { constructor($scope, $id, ) { @@ -242,54 +222,10 @@ class Foo extends $stdlib.std.Resource { }); } } -module.exports = { $preflightTypesMap, Bar }; +module.exports = { Bar }; //# sourceMappingURL=preflight.file2-4.cjs.map ``` -## preflight.inflightclass-5.cjs -```cjs -"use strict"; -const $stdlib = require('@winglang/sdk'); -const std = $stdlib.std; -const $helpers = $stdlib.helpers; -const $extern = $helpers.createExternRequire(__dirname); -let $preflightTypesMap = {}; -class InflightClass extends $stdlib.std.Resource { - constructor($scope, $id, ) { - super($scope, $id); - } - static _toInflightType() { - return ` - require("${$helpers.normalPath(__dirname)}/inflight.InflightClass-4.cjs")({ - }) - `; - } - _toInflight() { - return ` - (await (async () => { - const InflightClassClient = ${InflightClass._toInflightType()}; - const client = new InflightClassClient({ - }); - if (client.$inflight_init) { await client.$inflight_init(); } - return client; - })()) - `; - } - get _liftMap() { - return ({ - "method": [ - ], - "$inflight_init": [ - ], - }); - } -} -if ($preflightTypesMap[5]) { throw new Error("InflightClass is already in type map"); } -$preflightTypesMap[5] = InflightClass; -module.exports = { $preflightTypesMap, InflightClass }; -//# sourceMappingURL=preflight.inflightclass-5.cjs.map -``` - ## preflight.inner-2.cjs ```cjs "use strict"; @@ -297,26 +233,25 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const $preflightTypesMap = {}; -Object.assign(module.exports, $helpers.bringJs(`${__dirname}/preflight.widget-1.cjs`, $preflightTypesMap)); -module.exports = { ...module.exports, $preflightTypesMap }; +module.exports = { + ...require("./preflight.widget-1.cjs"), +}; //# sourceMappingURL=preflight.inner-2.cjs.map ``` -## preflight.subdir2-6.cjs +## preflight.subdir2-5.cjs ```cjs "use strict"; const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const $preflightTypesMap = {}; -Object.assign(module.exports, { get inner() { return $helpers.bringJs(`${__dirname}/preflight.inner-2.cjs`, $preflightTypesMap); } }); -Object.assign(module.exports, $helpers.bringJs(`${__dirname}/preflight.inflightclass-5.cjs`, $preflightTypesMap)); -Object.assign(module.exports, $helpers.bringJs(`${__dirname}/preflight.file2-4.cjs`, $preflightTypesMap)); -Object.assign(module.exports, $helpers.bringJs(`${__dirname}/preflight.file1-3.cjs`, $preflightTypesMap)); -module.exports = { ...module.exports, $preflightTypesMap }; -//# sourceMappingURL=preflight.subdir2-6.cjs.map +module.exports = { + get inner() { return require("./preflight.inner-2.cjs") }, + ...require("./preflight.file2-4.cjs"), + ...require("./preflight.file1-3.cjs"), +}; +//# sourceMappingURL=preflight.subdir2-5.cjs.map ``` ## preflight.widget-1.cjs @@ -326,7 +261,6 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -let $preflightTypesMap = {}; class Widget extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -361,7 +295,7 @@ class Widget extends $stdlib.std.Resource { }); } } -module.exports = { $preflightTypesMap, Widget }; +module.exports = { Widget }; //# sourceMappingURL=preflight.widget-1.cjs.map ``` diff --git a/tools/hangar/__snapshots__/test_corpus/valid/bring_local_normalization.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/bring_local_normalization.test.w_compile_tf-aws.md index 18f71b210fe..4fc2a4d1afb 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/bring_local_normalization.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/bring_local_normalization.test.w_compile_tf-aws.md @@ -42,18 +42,6 @@ module.exports = function({ }) { //# sourceMappingURL=inflight.Foo-3.cjs.map ``` -## inflight.InflightBar-1.cjs -```cjs -"use strict"; -const $helpers = require("@winglang/sdk/lib/helpers"); -module.exports = function({ }) { - class InflightBar { - } - return InflightBar; -} -//# sourceMappingURL=inflight.InflightBar-1.cjs.map -``` - ## main.tf.json ```json { @@ -79,7 +67,6 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -let $preflightTypesMap = {}; class Bar extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -114,37 +101,7 @@ class Bar extends $stdlib.std.Resource { }); } } -class InflightBar extends $stdlib.std.Resource { - constructor($scope, $id, ) { - super($scope, $id); - } - static _toInflightType() { - return ` - require("${$helpers.normalPath(__dirname)}/inflight.InflightBar-1.cjs")({ - }) - `; - } - _toInflight() { - return ` - (await (async () => { - const InflightBarClient = ${InflightBar._toInflightType()}; - const client = new InflightBarClient({ - }); - if (client.$inflight_init) { await client.$inflight_init(); } - return client; - })()) - `; - } - get _liftMap() { - return ({ - "$inflight_init": [ - ], - }); - } -} -if ($preflightTypesMap[2]) { throw new Error("InflightBar is already in type map"); } -$preflightTypesMap[2] = InflightBar; -module.exports = { $preflightTypesMap, Bar, InflightBar }; +module.exports = { Bar }; //# sourceMappingURL=preflight.bar-1.cjs.map ``` @@ -155,7 +112,6 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -let $preflightTypesMap = {}; class Baz extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -187,7 +143,7 @@ class Baz extends $stdlib.std.Resource { }); } } -module.exports = { $preflightTypesMap, Baz }; +module.exports = { Baz }; //# sourceMappingURL=preflight.baz-2.cjs.map ``` @@ -201,15 +157,12 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const foo = require("./preflight.foo-3.cjs"); +const bar = require("./preflight.bar-1.cjs"); +const baz = require("./preflight.baz-2.cjs"); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const foo = $helpers.bringJs(`${__dirname}/preflight.foo-3.cjs`, $preflightTypesMap); - const bar = $helpers.bringJs(`${__dirname}/preflight.bar-1.cjs`, $preflightTypesMap); - const baz = $helpers.bringJs(`${__dirname}/preflight.baz-2.cjs`, $preflightTypesMap); - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; $helpers.assert($helpers.eq((foo.Foo.foo(this)), "foo"), "foo.Foo.foo() == \"foo\""); $helpers.assert($helpers.eq((foo.Foo.bar(this)), "bar"), "foo.Foo.bar() == \"bar\""); $helpers.assert($helpers.eq((foo.Foo.baz(this)), "baz"), "foo.Foo.baz() == \"baz\""); @@ -230,9 +183,8 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -let $preflightTypesMap = {}; -const bar = $helpers.bringJs(`${__dirname}/preflight.bar-1.cjs`, $preflightTypesMap); -const baz = $helpers.bringJs(`${__dirname}/preflight.baz-2.cjs`, $preflightTypesMap); +const bar = require("./preflight.bar-1.cjs"); +const baz = require("./preflight.baz-2.cjs"); class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -270,7 +222,7 @@ class Foo extends $stdlib.std.Resource { }); } } -module.exports = { $preflightTypesMap, Foo }; +module.exports = { Foo }; //# sourceMappingURL=preflight.foo-3.cjs.map ``` diff --git a/tools/hangar/__snapshots__/test_corpus/valid/bring_projen.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/bring_projen.test.w_compile_tf-aws.md index 7ccc2ee5a0c..85d3f6033f6 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/bring_projen.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/bring_projen.test.w_compile_tf-aws.md @@ -28,13 +28,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const projen = require("projen"); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const projen = require("projen"); - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; $helpers.assert($helpers.neq(projen.LogLevel.OFF, projen.LogLevel.VERBOSE), "projen.LogLevel.OFF != projen.LogLevel.VERBOSE"); } } diff --git a/tools/hangar/__snapshots__/test_corpus/valid/bring_wing_library.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/bring_wing_library.test.w_compile_tf-aws.md index 5e58a8ff2aa..39d1b1cbf04 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/bring_wing_library.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/bring_wing_library.test.w_compile_tf-aws.md @@ -107,15 +107,12 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const fixture = require("./preflight.testfixture-5.cjs"); +const testfixture = require("./preflight.testfixture-5.cjs"); +const testfixture2 = require("./preflight.testfixture-5.cjs"); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const fixture = $helpers.bringJs(`${__dirname}/preflight.testfixture-5.cjs`, $preflightTypesMap); - const testfixture = $helpers.bringJs(`${__dirname}/preflight.testfixture-5.cjs`, $preflightTypesMap); - const testfixture2 = $helpers.bringJs(`${__dirname}/preflight.testfixture-5.cjs`, $preflightTypesMap); - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -172,7 +169,6 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -let $preflightTypesMap = {}; const FavoriteNumbers = (function (tmp) { tmp["SEVEN"] = "SEVEN"; @@ -180,7 +176,7 @@ const FavoriteNumbers = return tmp; })({}) ; -module.exports = { $preflightTypesMap, FavoriteNumbers }; +module.exports = { FavoriteNumbers }; //# sourceMappingURL=preflight.enums-1.cjs.map ``` @@ -191,9 +187,8 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -let $preflightTypesMap = {}; const cloud = $stdlib.cloud; -const myutil = $helpers.bringJs(`${__dirname}/preflight.util-2.cjs`, $preflightTypesMap); +const myutil = require("./preflight.util-2.cjs"); class Store extends $stdlib.std.Resource { constructor($scope, $id, options) { super($scope, $id); @@ -247,7 +242,7 @@ class Store extends $stdlib.std.Resource { }); } } -module.exports = { $preflightTypesMap, Store }; +module.exports = { Store }; //# sourceMappingURL=preflight.store-3.cjs.map ``` @@ -258,9 +253,9 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const $preflightTypesMap = {}; -Object.assign(module.exports, $helpers.bringJs(`${__dirname}/preflight.util-2.cjs`, $preflightTypesMap)); -module.exports = { ...module.exports, $preflightTypesMap }; +module.exports = { + ...require("./preflight.util-2.cjs"), +}; //# sourceMappingURL=preflight.subdir-4.cjs.map ``` @@ -271,11 +266,11 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -const $preflightTypesMap = {}; -Object.assign(module.exports, { get subdir() { return $helpers.bringJs(`${__dirname}/preflight.subdir-4.cjs`, $preflightTypesMap); } }); -Object.assign(module.exports, $helpers.bringJs(`${__dirname}/preflight.store-3.cjs`, $preflightTypesMap)); -Object.assign(module.exports, $helpers.bringJs(`${__dirname}/preflight.enums-1.cjs`, $preflightTypesMap)); -module.exports = { ...module.exports, $preflightTypesMap }; +module.exports = { + get subdir() { return require("./preflight.subdir-4.cjs") }, + ...require("./preflight.store-3.cjs"), + ...require("./preflight.enums-1.cjs"), +}; //# sourceMappingURL=preflight.testfixture-5.cjs.map ``` @@ -286,7 +281,6 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -let $preflightTypesMap = {}; class Util extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -323,7 +317,7 @@ class Util extends $stdlib.std.Resource { }); } } -module.exports = { $preflightTypesMap, Util }; +module.exports = { Util }; //# sourceMappingURL=preflight.util-2.cjs.map ``` diff --git a/tools/hangar/__snapshots__/test_corpus/valid/bucket_keys.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/bucket_keys.test.w_compile_tf-aws.md index e762d20f3e9..4b8c605b7a2 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/bucket_keys.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/bucket_keys.test.w_compile_tf-aws.md @@ -72,13 +72,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/bypass_return.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/bypass_return.test.w_compile_tf-aws.md index 03d5a647c20..ea4602f5b01 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/bypass_return.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/bypass_return.test.w_compile_tf-aws.md @@ -31,9 +31,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; const simpleThrow = (() => { throw new Error("not implemented"); }); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/call_static_of_myself.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/call_static_of_myself.test.w_compile_tf-aws.md index 84dbcc76d5b..4611883ee58 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/call_static_of_myself.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/call_static_of_myself.test.w_compile_tf-aws.md @@ -102,9 +102,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -170,10 +167,8 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "callThis": [ - [Bar, ["bar"]], ], "$inflight_init": [ - [Bar, []], ], }); } @@ -184,8 +179,6 @@ class $Root extends $stdlib.std.Resource { }); } } - if ($preflightTypesMap[2]) { throw new Error("Bar is already in type map"); } - $preflightTypesMap[2] = Bar; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -215,14 +208,10 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$helpers.preflightClassSingleton(this, 2), ["callThis"]], - [Bar, ["bar"]], [Foo, ["foo"]], [foo, ["callThis"]], ], "$inflight_init": [ - [$helpers.preflightClassSingleton(this, 2), []], - [Bar, []], [Foo, []], [foo, []], ], diff --git a/tools/hangar/__snapshots__/test_corpus/valid/calling_inflight_variants.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/calling_inflight_variants.test.w_compile_tf-aws.md index 00adcc28e4c..fd928e94383 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/calling_inflight_variants.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/calling_inflight_variants.test.w_compile_tf-aws.md @@ -113,9 +113,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/capture_containers.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/capture_containers.test.w_compile_tf-aws.md index dad39b8b93b..16cf7d4204f 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/capture_containers.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/capture_containers.test.w_compile_tf-aws.md @@ -56,13 +56,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/capture_in_binary.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/capture_in_binary.test.w_compile_tf-aws.md index ecf8ade3a00..73647713356 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/capture_in_binary.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/capture_in_binary.test.w_compile_tf-aws.md @@ -64,13 +64,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/capture_mutables.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/capture_mutables.test.w_compile_tf-aws.md index 1ec46a6ba0e..538560e462b 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/capture_mutables.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/capture_mutables.test.w_compile_tf-aws.md @@ -74,9 +74,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/capture_primitives.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/capture_primitives.test.w_compile_tf-aws.md index 0725bb48d7e..1b5082f1c70 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/capture_primitives.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/capture_primitives.test.w_compile_tf-aws.md @@ -168,13 +168,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/capture_reassigable_class_field.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/capture_reassigable_class_field.test.w_compile_tf-aws.md index 081361e3401..0e3e34f9f93 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/capture_reassigable_class_field.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/capture_reassigable_class_field.test.w_compile_tf-aws.md @@ -153,14 +153,11 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; +const util = $stdlib.util; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - const util = $stdlib.util; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class KeyValueStore extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -301,12 +298,10 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), ["waitUntil"]], [counter, ["peek"]], [kv, [].concat(["set"], ["get"])], ], "$inflight_init": [ - [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), []], [counter, []], [kv, []], ], diff --git a/tools/hangar/__snapshots__/test_corpus/valid/capture_reassignable.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/capture_reassignable.test.w_compile_tf-aws.md index 8ce585923d3..17f9085dddc 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/capture_reassignable.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/capture_reassignable.test.w_compile_tf-aws.md @@ -68,13 +68,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/capture_resource_and_data.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/capture_resource_and_data.test.w_compile_tf-aws.md index 92ddc8fb9b6..3e4023e45ec 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/capture_resource_and_data.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/capture_resource_and_data.test.w_compile_tf-aws.md @@ -78,13 +78,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/capture_resource_with_no_inflight.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/capture_resource_with_no_inflight.test.w_compile_tf-aws.md index 69f6253c74e..54af4c008fb 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/capture_resource_with_no_inflight.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/capture_resource_with_no_inflight.test.w_compile_tf-aws.md @@ -90,13 +90,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class A extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/capture_tokens.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/capture_tokens.test.w_compile_tf-aws.md index c2e624d2b4e..55d284b2ce0 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/capture_tokens.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/capture_tokens.test.w_compile_tf-aws.md @@ -227,13 +227,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class MyResource extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/captures.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/captures.test.w_compile_tf-aws.md index e01268f629c..5e70bb4a547 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/captures.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/captures.test.w_compile_tf-aws.md @@ -648,13 +648,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/casting.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/casting.test.w_compile_tf-aws.md index fefdc50a3b4..d6739f9b1c8 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/casting.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/casting.test.w_compile_tf-aws.md @@ -47,15 +47,12 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; +const util = $stdlib.util; +const aws = require("@cdktf/provider-aws"); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - const util = $stdlib.util; - const aws = require("@cdktf/provider-aws"); - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; const b = this.node.root.new("@winglang/sdk.cloud.Bucket", cloud.Bucket, this, "Bucket"); if ($helpers.eq((util.Util.env("WING_TARGET")), "tf-aws")) { const s3Bucket = ($helpers.nodeof(b).findChild("Default")); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/class.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/class.test.w_compile_tf-aws.md index 16865355b48..222177a3393 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/class.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/class.test.w_compile_tf-aws.md @@ -586,13 +586,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class C1 extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -1214,8 +1211,6 @@ class $Root extends $stdlib.std.Resource { }); } } - if ($preflightTypesMap[20]) { throw new Error("A is already in type map"); } - $preflightTypesMap[20] = A; class B extends A { constructor($scope, $id, ) { super($scope, $id); @@ -1245,8 +1240,6 @@ class $Root extends $stdlib.std.Resource { }); } } - if ($preflightTypesMap[21]) { throw new Error("B is already in type map"); } - $preflightTypesMap[21] = B; class $Closure5 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -1274,12 +1267,8 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$helpers.preflightClassSingleton(this, 21), ["sound"]], - [B, []], ], "$inflight_init": [ - [$helpers.preflightClassSingleton(this, 21), []], - [B, []], ], }); } diff --git a/tools/hangar/__snapshots__/test_corpus/valid/closure_class.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/closure_class.test.w_compile_tf-aws.md index 62b11c93ac9..8527d14afd4 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/closure_class.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/closure_class.test.w_compile_tf-aws.md @@ -75,9 +75,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class MyClosure extends $stdlib.std.Resource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/construct-base.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/construct-base.test.w_compile_tf-aws.md index a2ad6b661c8..b303e7c3cea 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/construct-base.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/construct-base.test.w_compile_tf-aws.md @@ -54,15 +54,12 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; +const cx = require("constructs"); +const aws = require("@cdktf/provider-aws"); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - const cx = require("constructs"); - const aws = require("@cdktf/provider-aws"); - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class WingResource extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/container_types.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/container_types.test.w_compile_tf-aws.md index a583447f5bf..bfc1c7752f2 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/container_types.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/container_types.test.w_compile_tf-aws.md @@ -62,13 +62,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; const bucket1 = this.node.root.new("@winglang/sdk.cloud.Bucket", cloud.Bucket, this, "bucket1"); const bucket2 = this.node.root.new("@winglang/sdk.cloud.Bucket", cloud.Bucket, this, "bucket2"); const bucket3 = this.node.root.new("@winglang/sdk.cloud.Bucket", cloud.Bucket, this, "bucket3"); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/custom_obj_id.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/custom_obj_id.test.w_compile_tf-aws.md index fa553b1f8f1..09fd1622e94 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/custom_obj_id.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/custom_obj_id.test.w_compile_tf-aws.md @@ -45,9 +45,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/debug_env.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/debug_env.test.w_compile_tf-aws.md index 9f75a4cfd6e..3cc240d6983 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/debug_env.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/debug_env.test.w_compile_tf-aws.md @@ -42,13 +42,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class A extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/deep_equality.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/deep_equality.test.w_compile_tf-aws.md index fcb628d4bbd..3d139298a72 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/deep_equality.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/deep_equality.test.w_compile_tf-aws.md @@ -306,9 +306,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -503,10 +500,8 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$stdlib.core.toLiftableModuleType(std.Json, "@winglang/sdk/std", "Json"), ["values"]], ], "$inflight_init": [ - [$stdlib.core.toLiftableModuleType(std.Json, "@winglang/sdk/std", "Json"), []], ], }); } diff --git a/tools/hangar/__snapshots__/test_corpus/valid/double_reference.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/double_reference.test.w_compile_tf-aws.md index 1796d7a91f5..f93187e3c3d 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/double_reference.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/double_reference.test.w_compile_tf-aws.md @@ -108,13 +108,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/doubler.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/doubler.test.w_compile_tf-aws.md index 1f81a187a68..0fabf02ee95 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/doubler.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/doubler.test.w_compile_tf-aws.md @@ -252,13 +252,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Doubler extends $stdlib.std.Resource { constructor($scope, $id, func) { super($scope, $id); @@ -359,13 +356,9 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$stdlib.core.toLiftableModuleType(std.Json, "@winglang/sdk/std", "Json"), ["stringify"]], - [$stdlib.core.toLiftableModuleType(std.Number, "@winglang/sdk/std", "Number"), ["fromStr"]], [handler, ["handle"]], ], "$inflight_init": [ - [$stdlib.core.toLiftableModuleType(std.Json, "@winglang/sdk/std", "Json"), []], - [$stdlib.core.toLiftableModuleType(std.Number, "@winglang/sdk/std", "Number"), []], [handler, []], ], }); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/enums.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/enums.test.w_compile_tf-aws.md index 9d7aa868863..9dfb3b6b408 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/enums.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/enums.test.w_compile_tf-aws.md @@ -74,9 +74,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; const SomeEnum = (function (tmp) { tmp["ONE"] = "ONE"; @@ -120,12 +117,10 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [SomeEnum, [].concat(["ONE"], ["TWO"])], [one, []], [two, []], ], "$inflight_init": [ - [SomeEnum, []], [one, []], [two, []], ], @@ -159,10 +154,8 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [SomeEnum, [].concat(["ONE"], ["TWO"], ["THREE"])], ], "$inflight_init": [ - [SomeEnum, []], ], }); } diff --git a/tools/hangar/__snapshots__/test_corpus/valid/explicit_lift_qualification.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/explicit_lift_qualification.test.w_compile_tf-aws.md index 82bfb8995d5..25ed7a932e0 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/explicit_lift_qualification.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/explicit_lift_qualification.test.w_compile_tf-aws.md @@ -213,13 +213,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/expressions_binary_operators.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/expressions_binary_operators.test.w_compile_tf-aws.md index 1e163ed75c5..5c8ac0336ed 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/expressions_binary_operators.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/expressions_binary_operators.test.w_compile_tf-aws.md @@ -31,9 +31,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; const x = (-1); const y = (2 * x); const z = ((x + y) - 1); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/expressions_string_interpolation.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/expressions_string_interpolation.test.w_compile_tf-aws.md index 6fb16c92c8a..b320cc977b3 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/expressions_string_interpolation.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/expressions_string_interpolation.test.w_compile_tf-aws.md @@ -53,13 +53,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const expect = $stdlib.expect; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const expect = $stdlib.expect; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -88,11 +85,9 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), ["equal"]], [number, []], ], "$inflight_init": [ - [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), []], [number, []], ], }); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/extend_non_entrypoint.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/extend_non_entrypoint.w_compile_tf-aws.md index 8bf44dfdc83..794ec04a576 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/extend_non_entrypoint.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/extend_non_entrypoint.w_compile_tf-aws.md @@ -22,7 +22,6 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -let $preflightTypesMap = {}; const cdk8s = require("cdk8s"); class Foo extends (this?.node?.root?.typeForFqn("cdk8s.Chart") ?? cdk8s.Chart) { constructor($scope, $id, ) { @@ -53,7 +52,7 @@ class Foo extends (this?.node?.root?.typeForFqn("cdk8s.Chart") ?? cdk8s.Chart) { }); } } -module.exports = { $preflightTypesMap, Foo }; +module.exports = { Foo }; //# sourceMappingURL=preflight.cjs.map ``` diff --git a/tools/hangar/__snapshots__/test_corpus/valid/extern_implementation.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/extern_implementation.test.w_compile_tf-aws.md index a8effb04aa1..8763ce21760 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/extern_implementation.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/extern_implementation.test.w_compile_tf-aws.md @@ -236,13 +236,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/file_counter.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/file_counter.test.w_compile_tf-aws.md index aceec6e2d13..a244a8ce90e 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/file_counter.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/file_counter.test.w_compile_tf-aws.md @@ -216,13 +216,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/for_loop.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/for_loop.test.w_compile_tf-aws.md index be92a25fbfe..49fed41ce7f 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/for_loop.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/for_loop.test.w_compile_tf-aws.md @@ -177,13 +177,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/forward_decl.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/forward_decl.test.w_compile_tf-aws.md index d176dedbad8..287a91f1761 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/forward_decl.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/forward_decl.test.w_compile_tf-aws.md @@ -45,9 +45,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class R extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/function_optional_arguments.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/function_optional_arguments.test.w_compile_tf-aws.md index 4cde6e758c9..2feba53142a 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/function_optional_arguments.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/function_optional_arguments.test.w_compile_tf-aws.md @@ -45,9 +45,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/function_returns_function.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/function_returns_function.test.w_compile_tf-aws.md index 02edb318a6f..0a2609770f3 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/function_returns_function.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/function_returns_function.test.w_compile_tf-aws.md @@ -56,13 +56,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/function_type.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/function_type.test.w_compile_tf-aws.md index d65d23f80fa..1047d0fd693 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/function_type.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/function_type.test.w_compile_tf-aws.md @@ -106,9 +106,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/function_variadic_arguments.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/function_variadic_arguments.test.w_compile_tf-aws.md index c8978d701ca..d0346334c75 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/function_variadic_arguments.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/function_variadic_arguments.test.w_compile_tf-aws.md @@ -91,13 +91,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class A extends $stdlib.std.Resource { constructor($scope, $id, msg) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/hello.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/hello.test.w_compile_tf-aws.md index 88bcc5a917b..a61df751352 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/hello.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/hello.test.w_compile_tf-aws.md @@ -194,13 +194,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/identical_inflights.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/identical_inflights.test.w_compile_tf-aws.md index 34ffe393f1a..8f2cbcbb2ea 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/identical_inflights.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/identical_inflights.test.w_compile_tf-aws.md @@ -69,9 +69,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/impl_interface.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/impl_interface.test.w_compile_tf-aws.md index 1ba04695a5b..ee3ceb316ad 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/impl_interface.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/impl_interface.test.w_compile_tf-aws.md @@ -265,14 +265,11 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; +const jsii_fixture = require("jsii-fixture"); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - const jsii_fixture = require("jsii-fixture"); - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class A extends $stdlib.std.Resource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -628,8 +625,6 @@ class $Root extends $stdlib.std.Resource { }); } } - if ($preflightTypesMap[11]) { throw new Error("ImplInflightIfaceInInflightClass is already in type map"); } - $preflightTypesMap[11] = ImplInflightIfaceInInflightClass; class ImplInflightIfaceInPreflightClass extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/implicit_std.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/implicit_std.test.w_compile_tf-aws.md index 22ee565a070..c2c93e1f0e7 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/implicit_std.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/implicit_std.test.w_compile_tf-aws.md @@ -31,9 +31,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; const d = (std.Duration.fromMinutes(5)); const n = ((args) => { if (isNaN(args)) {throw new Error("unable to parse \"" + args + "\" as a number")}; return Number(args) })("12"); $helpers.assert($helpers.eq(d.seconds, (5 * 60)), "d.seconds == 5 * 60"); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/in_scope_construct.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/in_scope_construct.test.w_compile_tf-aws.md index 04c31a4940f..c0fa4e1a016 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/in_scope_construct.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/in_scope_construct.test.w_compile_tf-aws.md @@ -42,13 +42,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const c = require("constructs"); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const c = require("constructs"); - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class MyClass extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/indexing.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/indexing.test.w_compile_tf-aws.md index 36a734bcd31..63ac7687524 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/indexing.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/indexing.test.w_compile_tf-aws.md @@ -42,14 +42,11 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; +const expect = $stdlib.expect; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - const expect = $stdlib.expect; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class A extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inference.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inference.test.w_compile_tf-aws.md index 5cbb1cd8f3d..d9c9ec036f8 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inference.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inference.test.w_compile_tf-aws.md @@ -253,13 +253,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflight-subscribers.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inflight-subscribers.test.w_compile_tf-aws.md index ff2bdeff84e..c00ce72a039 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflight-subscribers.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflight-subscribers.test.w_compile_tf-aws.md @@ -322,13 +322,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflight_capture_static.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inflight_capture_static.test.w_compile_tf-aws.md index 6acea4f262b..099441fc26c 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflight_capture_static.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflight_capture_static.test.w_compile_tf-aws.md @@ -154,13 +154,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const util = $stdlib.util; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const util = $stdlib.util; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Preflight extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -229,8 +226,6 @@ class $Root extends $stdlib.std.Resource { }); } } - if ($preflightTypesMap[2]) { throw new Error("OuterInflight is already in type map"); } - $preflightTypesMap[2] = OuterInflight; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -293,10 +288,8 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [OuterInflight, ["staticMethod"]], ], "$inflight_init": [ - [OuterInflight, []], ], }); } @@ -360,10 +353,8 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), ["tryEnv"]], ], "$inflight_init": [ - [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), []], ], }); } diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_as_struct_members.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_as_struct_members.test.w_compile_tf-aws.md index 22418a19e92..63eac774a41 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_as_struct_members.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_as_struct_members.test.w_compile_tf-aws.md @@ -87,9 +87,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -120,8 +117,6 @@ class $Root extends $stdlib.std.Resource { }); } } - if ($preflightTypesMap[1]) { throw new Error("Foo is already in type map"); } - $preflightTypesMap[1] = Foo; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -149,10 +144,8 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [Foo, []], ], "$inflight_init": [ - [Foo, []], ], }); } @@ -184,11 +177,9 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$helpers.preflightClassSingleton(this, 1), ["get"]], [getBar, ["handle"]], ], "$inflight_init": [ - [$helpers.preflightClassSingleton(this, 1), []], [getBar, []], ], }); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_capture_const.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_capture_const.test.w_compile_tf-aws.md index 3a91adb2ae5..fd1516e9e87 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_capture_const.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_capture_const.test.w_compile_tf-aws.md @@ -64,13 +64,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -104,8 +101,6 @@ class $Root extends $stdlib.std.Resource { }); } } - if ($preflightTypesMap[1]) { throw new Error("Foo is already in type map"); } - $preflightTypesMap[1] = Foo; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -134,13 +129,9 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$helpers.preflightClassSingleton(this, 1), ["getValue"]], - [Foo, []], [myConst, []], ], "$inflight_init": [ - [$helpers.preflightClassSingleton(this, 1), []], - [Foo, []], [myConst, []], ], }); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_capture_preflight_object.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_capture_preflight_object.test.w_compile_tf-aws.md index 07738803002..b11b224548b 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_capture_preflight_object.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_capture_preflight_object.test.w_compile_tf-aws.md @@ -1,226 +1,5 @@ # [inflight_class_capture_preflight_object.test.w](../../../../../examples/tests/valid/inflight_class_capture_preflight_object.test.w) | compile | tf-aws -## inflight.$Closure1-5.cjs -```cjs -"use strict"; -const $helpers = require("@winglang/sdk/lib/helpers"); -module.exports = function({ $Foo }) { - class $Closure1 { - constructor({ }) { - const $obj = (...args) => this.handle(...args); - Object.setPrototypeOf($obj, this); - return $obj; - } - async handle() { - const f = (await (async () => {const o = new $Foo(); await o.$inflight_init?.(); return o; })()); - (await f.uploadToBucket("hello.txt", "world")); - } - } - return $Closure1; -} -//# sourceMappingURL=inflight.$Closure1-5.cjs.map -``` - -## inflight.$Closure2-5.cjs -```cjs -"use strict"; -const $helpers = require("@winglang/sdk/lib/helpers"); -module.exports = function({ $Foo }) { - class $Closure2 { - constructor({ }) { - const $obj = (...args) => this.handle(...args); - Object.setPrototypeOf($obj, this); - return $obj; - } - async handle() { - (await $Foo.fooStatic()); - } - } - return $Closure2; -} -//# sourceMappingURL=inflight.$Closure2-5.cjs.map -``` - -## inflight.$Closure3-5.cjs -```cjs -"use strict"; -const $helpers = require("@winglang/sdk/lib/helpers"); -module.exports = function({ $Foo }) { - class $Closure3 { - constructor({ }) { - const $obj = (...args) => this.handle(...args); - Object.setPrototypeOf($obj, this); - return $obj; - } - async handle() { - return (await (async () => {const o = new $Foo(); await o.$inflight_init?.(); return o; })()); - } - } - return $Closure3; -} -//# sourceMappingURL=inflight.$Closure3-5.cjs.map -``` - -## inflight.$Closure4-5.cjs -```cjs -"use strict"; -const $helpers = require("@winglang/sdk/lib/helpers"); -module.exports = function({ $getFoo }) { - class $Closure4 { - constructor({ }) { - const $obj = (...args) => this.handle(...args); - Object.setPrototypeOf($obj, this); - return $obj; - } - async handle() { - const foo = (await $getFoo()); - (await foo.uploadToBucket("greetings.txt", "universe")); - } - } - return $Closure4; -} -//# sourceMappingURL=inflight.$Closure4-5.cjs.map -``` - -## inflight.$Closure5-5.cjs -```cjs -"use strict"; -const $helpers = require("@winglang/sdk/lib/helpers"); -module.exports = function({ $b }) { - class $Closure5 { - constructor({ }) { - const $obj = (...args) => this.handle(...args); - Object.setPrototypeOf($obj, this); - return $obj; - } - async handle() { - class Foo2 { - async uploadToBucket() { - (await $b.put("x", "y")); - $helpers.assert($helpers.eq((await $b.get("x")), "y"), "b.get(\"x\") == \"y\""); - } - } - const f = (await (async () => {const o = new Foo2(); await o.$inflight_init?.(); return o; })()); - (await f.uploadToBucket()); - } - } - return $Closure5; -} -//# sourceMappingURL=inflight.$Closure5-5.cjs.map -``` - -## inflight.$Closure6-5.cjs -```cjs -"use strict"; -const $helpers = require("@winglang/sdk/lib/helpers"); -module.exports = function({ $subdir_InflightClass }) { - class $Closure6 { - constructor({ }) { - const $obj = (...args) => this.handle(...args); - Object.setPrototypeOf($obj, this); - return $obj; - } - async handle() { - const x = (await (async () => {const o = new $subdir_InflightClass(); await o.$inflight_init?.(); return o; })()); - $helpers.assert($helpers.eq((await x.method()), "What did you expect?"), "x.method() == \"What did you expect?\""); - } - } - return $Closure6; -} -//# sourceMappingURL=inflight.$Closure6-5.cjs.map -``` - -## inflight.Bar-3.cjs -```cjs -"use strict"; -const $helpers = require("@winglang/sdk/lib/helpers"); -module.exports = function({ }) { - class Bar { - constructor({ }) { - } - } - return Bar; -} -//# sourceMappingURL=inflight.Bar-3.cjs.map -``` - -## inflight.Foo-2.cjs -```cjs -"use strict"; -const $helpers = require("@winglang/sdk/lib/helpers"); -module.exports = function({ }) { - class Foo { - constructor({ }) { - } - } - return Foo; -} -//# sourceMappingURL=inflight.Foo-2.cjs.map -``` - -## inflight.Foo-3.cjs -```cjs -"use strict"; -const $helpers = require("@winglang/sdk/lib/helpers"); -module.exports = function({ }) { - class Foo { - constructor({ }) { - } - } - return Foo; -} -//# sourceMappingURL=inflight.Foo-3.cjs.map -``` - -## inflight.Foo-5.cjs -```cjs -"use strict"; -const $helpers = require("@winglang/sdk/lib/helpers"); -module.exports = function({ $b }) { - class Foo { - async uploadToBucket(k, value) { - (await $b.put(k, value)); - $helpers.assert($helpers.eq((await $b.get(k)), value), "b.get(k) == value"); - } - static async fooStatic() { - (await $b.put("a", "b")); - $helpers.assert($helpers.eq((await $b.list()), ["a"]), "b.list() == [\"a\"]"); - } - } - return Foo; -} -//# sourceMappingURL=inflight.Foo-5.cjs.map -``` - -## inflight.InflightClass-4.cjs -```cjs -"use strict"; -const $helpers = require("@winglang/sdk/lib/helpers"); -module.exports = function({ }) { - class InflightClass { - async method() { - return "What did you expect?"; - } - } - return InflightClass; -} -//# sourceMappingURL=inflight.InflightClass-4.cjs.map -``` - -## inflight.Widget-1.cjs -```cjs -"use strict"; -const $helpers = require("@winglang/sdk/lib/helpers"); -module.exports = function({ }) { - class Widget { - constructor({ }) { - } - } - return Widget; -} -//# sourceMappingURL=inflight.Widget-1.cjs.map -``` - ## main.tf.json ```json { @@ -235,20 +14,6 @@ module.exports = function({ }) { "aws": [ {} ] - }, - "resource": { - "aws_s3_bucket": { - "Bucket": { - "//": { - "metadata": { - "path": "root/Default/Default/Bucket/Default", - "uniqueId": "Bucket" - } - }, - "bucket_prefix": "bucket-c88fdc5f-", - "force_destroy": false - } - } } } ``` @@ -266,276 +31,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - const subdir = $helpers.bringJs(`${__dirname}/preflight.subdir2-6.cjs`, $preflightTypesMap); - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; - class Foo extends $stdlib.std.Resource { - constructor($scope, $id, ) { - super($scope, $id); - } - static _toInflightType() { - return ` - require("${$helpers.normalPath(__dirname)}/inflight.Foo-5.cjs")({ - $b: ${$stdlib.core.liftObject(b)}, - }) - `; - } - _toInflight() { - return ` - (await (async () => { - const FooClient = ${Foo._toInflightType()}; - const client = new FooClient({ - }); - if (client.$inflight_init) { await client.$inflight_init(); } - return client; - })()) - `; - } - get _liftMap() { - return ({ - "uploadToBucket": [ - [b, [].concat(["put"], ["get"])], - ], - "$inflight_init": [ - [b, []], - ], - }); - } - static get _liftTypeMap() { - return ({ - "fooStatic": [ - [b, [].concat(["put"], ["list"])], - ], - }); - } - } - if ($preflightTypesMap[6]) { throw new Error("Foo is already in type map"); } - $preflightTypesMap[6] = Foo; - class $Closure1 extends $stdlib.std.AutoIdResource { - _id = $stdlib.core.closureId(); - constructor($scope, $id, ) { - super($scope, $id); - $helpers.nodeof(this).hidden = true; - } - static _toInflightType() { - return ` - require("${$helpers.normalPath(__dirname)}/inflight.$Closure1-5.cjs")({ - $Foo: ${$stdlib.core.liftObject(Foo)}, - }) - `; - } - _toInflight() { - return ` - (await (async () => { - const $Closure1Client = ${$Closure1._toInflightType()}; - const client = new $Closure1Client({ - }); - if (client.$inflight_init) { await client.$inflight_init(); } - return client; - })()) - `; - } - get _liftMap() { - return ({ - "handle": [ - [$helpers.preflightClassSingleton(this, 6), ["uploadToBucket"]], - [Foo, []], - ], - "$inflight_init": [ - [$helpers.preflightClassSingleton(this, 6), []], - [Foo, []], - ], - }); - } - } - class $Closure2 extends $stdlib.std.AutoIdResource { - _id = $stdlib.core.closureId(); - constructor($scope, $id, ) { - super($scope, $id); - $helpers.nodeof(this).hidden = true; - } - static _toInflightType() { - return ` - require("${$helpers.normalPath(__dirname)}/inflight.$Closure2-5.cjs")({ - $Foo: ${$stdlib.core.liftObject(Foo)}, - }) - `; - } - _toInflight() { - return ` - (await (async () => { - const $Closure2Client = ${$Closure2._toInflightType()}; - const client = new $Closure2Client({ - }); - if (client.$inflight_init) { await client.$inflight_init(); } - return client; - })()) - `; - } - get _liftMap() { - return ({ - "handle": [ - [Foo, ["fooStatic"]], - ], - "$inflight_init": [ - [Foo, []], - ], - }); - } - } - class $Closure3 extends $stdlib.std.AutoIdResource { - _id = $stdlib.core.closureId(); - constructor($scope, $id, ) { - super($scope, $id); - $helpers.nodeof(this).hidden = true; - } - static _toInflightType() { - return ` - require("${$helpers.normalPath(__dirname)}/inflight.$Closure3-5.cjs")({ - $Foo: ${$stdlib.core.liftObject(Foo)}, - }) - `; - } - _toInflight() { - return ` - (await (async () => { - const $Closure3Client = ${$Closure3._toInflightType()}; - const client = new $Closure3Client({ - }); - if (client.$inflight_init) { await client.$inflight_init(); } - return client; - })()) - `; - } - get _liftMap() { - return ({ - "handle": [ - [Foo, []], - ], - "$inflight_init": [ - [Foo, []], - ], - }); - } - } - class $Closure4 extends $stdlib.std.AutoIdResource { - _id = $stdlib.core.closureId(); - constructor($scope, $id, ) { - super($scope, $id); - $helpers.nodeof(this).hidden = true; - } - static _toInflightType() { - return ` - require("${$helpers.normalPath(__dirname)}/inflight.$Closure4-5.cjs")({ - $getFoo: ${$stdlib.core.liftObject(getFoo)}, - }) - `; - } - _toInflight() { - return ` - (await (async () => { - const $Closure4Client = ${$Closure4._toInflightType()}; - const client = new $Closure4Client({ - }); - if (client.$inflight_init) { await client.$inflight_init(); } - return client; - })()) - `; - } - get _liftMap() { - return ({ - "handle": [ - [$helpers.preflightClassSingleton(this, 6), ["uploadToBucket"]], - [getFoo, ["handle"]], - ], - "$inflight_init": [ - [$helpers.preflightClassSingleton(this, 6), []], - [getFoo, []], - ], - }); - } - } - class $Closure5 extends $stdlib.std.AutoIdResource { - _id = $stdlib.core.closureId(); - constructor($scope, $id, ) { - super($scope, $id); - $helpers.nodeof(this).hidden = true; - } - static _toInflightType() { - return ` - require("${$helpers.normalPath(__dirname)}/inflight.$Closure5-5.cjs")({ - $b: ${$stdlib.core.liftObject(b)}, - }) - `; - } - _toInflight() { - return ` - (await (async () => { - const $Closure5Client = ${$Closure5._toInflightType()}; - const client = new $Closure5Client({ - }); - if (client.$inflight_init) { await client.$inflight_init(); } - return client; - })()) - `; - } - get _liftMap() { - return ({ - "handle": [ - [b, [].concat(["put"], ["get"])], - ], - "$inflight_init": [ - [b, []], - ], - }); - } - } - class $Closure6 extends $stdlib.std.AutoIdResource { - _id = $stdlib.core.closureId(); - constructor($scope, $id, ) { - super($scope, $id); - $helpers.nodeof(this).hidden = true; - } - static _toInflightType() { - return ` - require("${$helpers.normalPath(__dirname)}/inflight.$Closure6-5.cjs")({ - $subdir_InflightClass: ${$stdlib.core.liftObject($stdlib.core.toLiftableModuleType(subdir.InflightClass, "", "InflightClass"))}, - }) - `; - } - _toInflight() { - return ` - (await (async () => { - const $Closure6Client = ${$Closure6._toInflightType()}; - const client = new $Closure6Client({ - }); - if (client.$inflight_init) { await client.$inflight_init(); } - return client; - })()) - `; - } - get _liftMap() { - return ({ - "handle": [ - [$helpers.preflightClassSingleton(this, 5), ["method"]], - [$stdlib.core.toLiftableModuleType(subdir.InflightClass, "", "InflightClass"), []], - ], - "$inflight_init": [ - [$helpers.preflightClassSingleton(this, 5), []], - [$stdlib.core.toLiftableModuleType(subdir.InflightClass, "", "InflightClass"), []], - ], - }); - } - } - const b = this.node.root.new("@winglang/sdk.cloud.Bucket", cloud.Bucket, this, "Bucket"); - this.node.root.new("@winglang/sdk.std.Test", std.Test, this, "test:inflight class captures preflight resource", new $Closure1(this, "$Closure1")); - this.node.root.new("@winglang/sdk.std.Test", std.Test, this, "test:inflight class type captures preflight resource", new $Closure2(this, "$Closure2")); - const getFoo = new $Closure3(this, "$Closure3"); - this.node.root.new("@winglang/sdk.std.Test", std.Test, this, "test:inflight class qualified without explicit reference", new $Closure4(this, "$Closure4")); - this.node.root.new("@winglang/sdk.std.Test", std.Test, this, "test:inflight class defined inflight captures preflight object", new $Closure5(this, "$Closure5")); - this.node.root.new("@winglang/sdk.std.Test", std.Test, this, "test:bring inflight class from subdir", new $Closure6(this, "$Closure6")); } } const $PlatformManager = new $stdlib.platform.PlatformManager({platformPaths: $platforms}); @@ -544,244 +39,3 @@ $APP.synth(); //# sourceMappingURL=preflight.cjs.map ``` -## preflight.file1-3.cjs -```cjs -"use strict"; -const $stdlib = require('@winglang/sdk'); -const std = $stdlib.std; -const $helpers = $stdlib.helpers; -const $extern = $helpers.createExternRequire(__dirname); -let $preflightTypesMap = {}; -const blah = $helpers.bringJs(`${__dirname}/preflight.inner-2.cjs`, $preflightTypesMap); -const cloud = $stdlib.cloud; -const util = $stdlib.util; -class Foo extends $stdlib.std.Resource { - constructor($scope, $id, ) { - super($scope, $id); - } - foo() { - return "foo"; - } - checkWidget(widget) { - return ((widget.compute()) + (blah.Widget.staticCompute(this))); - } - static _toInflightType() { - return ` - require("${$helpers.normalPath(__dirname)}/inflight.Foo-2.cjs")({ - }) - `; - } - _toInflight() { - return ` - (await (async () => { - const FooClient = ${Foo._toInflightType()}; - const client = new FooClient({ - }); - if (client.$inflight_init) { await client.$inflight_init(); } - return client; - })()) - `; - } - get _liftMap() { - return ({ - "$inflight_init": [ - ], - }); - } -} -module.exports = { $preflightTypesMap, Foo }; -//# sourceMappingURL=preflight.file1-3.cjs.map -``` - -## preflight.file2-4.cjs -```cjs -"use strict"; -const $stdlib = require('@winglang/sdk'); -const std = $stdlib.std; -const $helpers = $stdlib.helpers; -const $extern = $helpers.createExternRequire(__dirname); -let $preflightTypesMap = {}; -const util = $stdlib.util; -class Bar extends $stdlib.std.Resource { - constructor($scope, $id, ) { - super($scope, $id); - } - bar() { - (util.Util.nanoid()); - return "bar"; - } - static _toInflightType() { - return ` - require("${$helpers.normalPath(__dirname)}/inflight.Bar-3.cjs")({ - }) - `; - } - _toInflight() { - return ` - (await (async () => { - const BarClient = ${Bar._toInflightType()}; - const client = new BarClient({ - }); - if (client.$inflight_init) { await client.$inflight_init(); } - return client; - })()) - `; - } - get _liftMap() { - return ({ - "$inflight_init": [ - ], - }); - } -} -class Foo extends $stdlib.std.Resource { - constructor($scope, $id, ) { - super($scope, $id); - } - static _toInflightType() { - return ` - require("${$helpers.normalPath(__dirname)}/inflight.Foo-3.cjs")({ - }) - `; - } - _toInflight() { - return ` - (await (async () => { - const FooClient = ${Foo._toInflightType()}; - const client = new FooClient({ - }); - if (client.$inflight_init) { await client.$inflight_init(); } - return client; - })()) - `; - } - get _liftMap() { - return ({ - "$inflight_init": [ - ], - }); - } -} -module.exports = { $preflightTypesMap, Bar }; -//# sourceMappingURL=preflight.file2-4.cjs.map -``` - -## preflight.inflightclass-5.cjs -```cjs -"use strict"; -const $stdlib = require('@winglang/sdk'); -const std = $stdlib.std; -const $helpers = $stdlib.helpers; -const $extern = $helpers.createExternRequire(__dirname); -let $preflightTypesMap = {}; -class InflightClass extends $stdlib.std.Resource { - constructor($scope, $id, ) { - super($scope, $id); - } - static _toInflightType() { - return ` - require("${$helpers.normalPath(__dirname)}/inflight.InflightClass-4.cjs")({ - }) - `; - } - _toInflight() { - return ` - (await (async () => { - const InflightClassClient = ${InflightClass._toInflightType()}; - const client = new InflightClassClient({ - }); - if (client.$inflight_init) { await client.$inflight_init(); } - return client; - })()) - `; - } - get _liftMap() { - return ({ - "method": [ - ], - "$inflight_init": [ - ], - }); - } -} -if ($preflightTypesMap[5]) { throw new Error("InflightClass is already in type map"); } -$preflightTypesMap[5] = InflightClass; -module.exports = { $preflightTypesMap, InflightClass }; -//# sourceMappingURL=preflight.inflightclass-5.cjs.map -``` - -## preflight.inner-2.cjs -```cjs -"use strict"; -const $stdlib = require('@winglang/sdk'); -const std = $stdlib.std; -const $helpers = $stdlib.helpers; -const $extern = $helpers.createExternRequire(__dirname); -const $preflightTypesMap = {}; -Object.assign(module.exports, $helpers.bringJs(`${__dirname}/preflight.widget-1.cjs`, $preflightTypesMap)); -module.exports = { ...module.exports, $preflightTypesMap }; -//# sourceMappingURL=preflight.inner-2.cjs.map -``` - -## preflight.subdir2-6.cjs -```cjs -"use strict"; -const $stdlib = require('@winglang/sdk'); -const std = $stdlib.std; -const $helpers = $stdlib.helpers; -const $extern = $helpers.createExternRequire(__dirname); -const $preflightTypesMap = {}; -Object.assign(module.exports, { get inner() { return $helpers.bringJs(`${__dirname}/preflight.inner-2.cjs`, $preflightTypesMap); } }); -Object.assign(module.exports, $helpers.bringJs(`${__dirname}/preflight.inflightclass-5.cjs`, $preflightTypesMap)); -Object.assign(module.exports, $helpers.bringJs(`${__dirname}/preflight.file2-4.cjs`, $preflightTypesMap)); -Object.assign(module.exports, $helpers.bringJs(`${__dirname}/preflight.file1-3.cjs`, $preflightTypesMap)); -module.exports = { ...module.exports, $preflightTypesMap }; -//# sourceMappingURL=preflight.subdir2-6.cjs.map -``` - -## preflight.widget-1.cjs -```cjs -"use strict"; -const $stdlib = require('@winglang/sdk'); -const std = $stdlib.std; -const $helpers = $stdlib.helpers; -const $extern = $helpers.createExternRequire(__dirname); -let $preflightTypesMap = {}; -class Widget extends $stdlib.std.Resource { - constructor($scope, $id, ) { - super($scope, $id); - } - compute() { - return 42; - } - static staticCompute($scope) { - return 1337; - } - static _toInflightType() { - return ` - require("${$helpers.normalPath(__dirname)}/inflight.Widget-1.cjs")({ - }) - `; - } - _toInflight() { - return ` - (await (async () => { - const WidgetClient = ${Widget._toInflightType()}; - const client = new WidgetClient({ - }); - if (client.$inflight_init) { await client.$inflight_init(); } - return client; - })()) - `; - } - get _liftMap() { - return ({ - "$inflight_init": [ - ], - }); - } -} -module.exports = { $preflightTypesMap, Widget }; -//# sourceMappingURL=preflight.widget-1.cjs.map -``` - diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_capture_preflight_object.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_capture_preflight_object.test.w_test_sim.md index e7220befa0b..e9aae34f065 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_capture_preflight_object.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_capture_preflight_object.test.w_test_sim.md @@ -2,13 +2,9 @@ ## stdout.log ```log -pass ─ inflight_class_capture_preflight_object.test.wsim » root/env0/test:inflight class captures preflight resource -pass ─ inflight_class_capture_preflight_object.test.wsim » root/env1/test:inflight class type captures preflight resource -pass ─ inflight_class_capture_preflight_object.test.wsim » root/env2/test:inflight class qualified without explicit reference -pass ─ inflight_class_capture_preflight_object.test.wsim » root/env3/test:inflight class defined inflight captures preflight object -pass ─ inflight_class_capture_preflight_object.test.wsim » root/env4/test:bring inflight class from subdir +pass ─ inflight_class_capture_preflight_object.test.wsim (no tests) -Tests 5 passed (5) +Tests 1 passed (1) Snapshots 1 skipped Test Files 1 passed (1) Duration diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_definitions.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_definitions.test.w_compile_tf-aws.md index 7b51ee2ebbf..e537abc4187 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_definitions.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_definitions.test.w_compile_tf-aws.md @@ -181,9 +181,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class A extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -247,8 +244,6 @@ class $Root extends $stdlib.std.Resource { }); } } - if ($preflightTypesMap[2]) { throw new Error("B is already in type map"); } - $preflightTypesMap[2] = B; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -347,8 +342,6 @@ class $Root extends $stdlib.std.Resource { }); } } - if ($preflightTypesMap[8]) { throw new Error("F is already in type map"); } - $preflightTypesMap[8] = F; class $Closure2 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -376,12 +369,8 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$helpers.preflightClassSingleton(this, 8), ["foo"]], - [F, ["foo"]], ], "$inflight_init": [ - [$helpers.preflightClassSingleton(this, 8), []], - [F, []], ], }); } @@ -451,16 +440,12 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$helpers.preflightClassSingleton(this, 2), ["foo"]], - [B, []], [a, ["goo"]], [d, ["callInner"]], [fn, ["handle"]], [innerD, ["handle"]], ], "$inflight_init": [ - [$helpers.preflightClassSingleton(this, 2), []], - [B, []], [a, []], [d, []], [fn, []], diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_inner_capture_mutable.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_inner_capture_mutable.test.w_compile_tf-aws.md index 7486f263ddb..dabe240a3a0 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_inner_capture_mutable.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_inner_capture_mutable.test.w_compile_tf-aws.md @@ -59,13 +59,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_inside_inflight_closure.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_inside_inflight_closure.test.w_compile_tf-aws.md index 1901d050321..856df8223f3 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_inside_inflight_closure.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_inside_inflight_closure.test.w_compile_tf-aws.md @@ -239,13 +239,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class PreflightClass extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_modifiers.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_modifiers.test.w_compile_tf-aws.md index 9a3dfce7fbf..8e93c5ec0c9 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_modifiers.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_modifiers.test.w_compile_tf-aws.md @@ -50,9 +50,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class C extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -86,8 +83,6 @@ class $Root extends $stdlib.std.Resource { }); } } - if ($preflightTypesMap[1]) { throw new Error("C is already in type map"); } - $preflightTypesMap[1] = C; } } const $PlatformManager = new $stdlib.platform.PlatformManager({platformPaths: $platforms}); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_outside_inflight_closure.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_outside_inflight_closure.test.w_compile_tf-aws.md index 9384086dc1a..0c04970c411 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_outside_inflight_closure.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_outside_inflight_closure.test.w_compile_tf-aws.md @@ -70,13 +70,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class BinaryOperation extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -113,8 +110,6 @@ class $Root extends $stdlib.std.Resource { }); } } - if ($preflightTypesMap[1]) { throw new Error("BinaryOperation is already in type map"); } - $preflightTypesMap[1] = BinaryOperation; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -142,12 +137,8 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$helpers.preflightClassSingleton(this, 1), ["add"]], - [BinaryOperation, []], ], "$inflight_init": [ - [$helpers.preflightClassSingleton(this, 1), []], - [BinaryOperation, []], ], }); } diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_structural_interace_handler.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_structural_interace_handler.test.w_compile_tf-aws.md index 8a655af51ed..983628a34c9 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_structural_interace_handler.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_structural_interace_handler.test.w_compile_tf-aws.md @@ -74,15 +74,11 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class NotGoo extends $stdlib.std.Resource { - _id = $stdlib.core.closureId(); constructor($scope, $id, ) { super($scope, $id); } @@ -112,8 +108,6 @@ class $Root extends $stdlib.std.Resource { }); } } - if ($preflightTypesMap[1]) { throw new Error("NotGoo is already in type map"); } - $preflightTypesMap[1] = NotGoo; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -141,10 +135,8 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [NotGoo, []], ], "$inflight_init": [ - [NotGoo, []], ], }); } diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_without_init.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_without_init.test.w_compile_tf-aws.md index f7b737fd9b7..2b1a60b79bb 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_without_init.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_without_init.test.w_compile_tf-aws.md @@ -60,13 +60,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -95,8 +92,6 @@ class $Root extends $stdlib.std.Resource { }); } } - if ($preflightTypesMap[1]) { throw new Error("Foo is already in type map"); } - $preflightTypesMap[1] = Foo; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -124,10 +119,8 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [Foo, []], ], "$inflight_init": [ - [Foo, []], ], }); } diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflight_closure_as_super_param.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inflight_closure_as_super_param.test.w_compile_tf-aws.md index f9e7a4dc4a0..90f1cc224eb 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflight_closure_as_super_param.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflight_closure_as_super_param.test.w_compile_tf-aws.md @@ -114,9 +114,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflight_closure_autoid.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inflight_closure_autoid.test.w_compile_tf-aws.md index f960ed7ec92..3053064bc53 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflight_closure_autoid.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflight_closure_autoid.test.w_compile_tf-aws.md @@ -73,9 +73,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure2 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflight_closure_inside_preflight_closure.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inflight_closure_inside_preflight_closure.test.w_compile_tf-aws.md index 1504fc3015e..f12ec6a9126 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflight_closure_inside_preflight_closure.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflight_closure_inside_preflight_closure.test.w_compile_tf-aws.md @@ -64,9 +64,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflight_concat.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inflight_concat.test.w_compile_tf-aws.md index 054dbbd2863..fcd905fd09c 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflight_concat.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflight_concat.test.w_compile_tf-aws.md @@ -46,13 +46,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class R extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflight_handler_singleton.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inflight_handler_singleton.test.w_compile_tf-aws.md index b49cf2c35f0..ef4d5090935 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflight_handler_singleton.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflight_handler_singleton.test.w_compile_tf-aws.md @@ -434,15 +434,12 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; +const expect = $stdlib.expect; +const util = $stdlib.util; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - const expect = $stdlib.expect; - const util = $stdlib.util; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -577,13 +574,11 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), ["equal"]], [fn, ["invoke"]], [fn2, ["invoke"]], [sim, []], ], "$inflight_init": [ - [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), []], [fn, []], [fn2, []], [sim, []], @@ -620,13 +615,9 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$stdlib.core.toLiftableModuleType(std.Duration, "@winglang/sdk/std", "Duration"), ["fromSeconds"]], - [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), ["sleep"]], [foo, [].concat(["inc"], ["get"])], ], "$inflight_init": [ - [$stdlib.core.toLiftableModuleType(std.Duration, "@winglang/sdk/std", "Duration"), []], - [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), []], [foo, []], ], }); @@ -661,13 +652,9 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$stdlib.core.toLiftableModuleType(std.Duration, "@winglang/sdk/std", "Duration"), ["fromSeconds"]], - [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), ["sleep"]], [fn3, [].concat(["invokeAsync"], ["invoke"])], ], "$inflight_init": [ - [$stdlib.core.toLiftableModuleType(std.Duration, "@winglang/sdk/std", "Duration"), []], - [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), []], [fn3, []], ], }); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflight_init.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inflight_init.test.w_compile_tf-aws.md index fae9583fd66..107f59abfa7 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflight_init.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflight_init.test.w_compile_tf-aws.md @@ -192,13 +192,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const jsii_fixture = require("jsii-fixture"); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const jsii_fixture = require("jsii-fixture"); - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -234,8 +231,6 @@ class $Root extends $stdlib.std.Resource { }); } } - if ($preflightTypesMap[1]) { throw new Error("Foo is already in type map"); } - $preflightTypesMap[1] = Foo; class FooChild extends Foo { constructor($scope, $id, ) { super($scope, $id); @@ -268,8 +263,6 @@ class $Root extends $stdlib.std.Resource { }); } } - if ($preflightTypesMap[2]) { throw new Error("FooChild is already in type map"); } - $preflightTypesMap[2] = FooChild; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -297,12 +290,8 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$helpers.preflightClassSingleton(this, 1), [].concat(["field1"], ["field2"])], - [Foo, []], ], "$inflight_init": [ - [$helpers.preflightClassSingleton(this, 1), []], - [Foo, []], ], }); } @@ -334,12 +323,8 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$helpers.preflightClassSingleton(this, 2), [].concat(["field1"], ["field2"], ["field3"])], - [FooChild, []], ], "$inflight_init": [ - [$helpers.preflightClassSingleton(this, 2), []], - [FooChild, []], ], }); } @@ -403,10 +388,8 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$stdlib.core.toLiftableModuleType(jsii_fixture.JsiiClass, "jsii-fixture", "JsiiClass"), []], ], "$inflight_init": [ - [$stdlib.core.toLiftableModuleType(jsii_fixture.JsiiClass, "jsii-fixture", "JsiiClass"), []], ], }); } diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflights_calling_inflights.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inflights_calling_inflights.test.w_compile_tf-aws.md index 4141cadd9c9..5ed1e8afb45 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflights_calling_inflights.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflights_calling_inflights.test.w_compile_tf-aws.md @@ -272,13 +272,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inherit_stdlib_class.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inherit_stdlib_class.test.w_compile_tf-aws.md index f23be52247e..605a0562d1d 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inherit_stdlib_class.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inherit_stdlib_class.test.w_compile_tf-aws.md @@ -289,14 +289,11 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; +const http = $stdlib.http; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - const http = $stdlib.http; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class AnApi extends (this?.node?.root?.typeForFqn("@winglang/sdk.cloud.Api") ?? cloud.Api) { constructor($scope, $id, ) { super($scope, $id); @@ -386,11 +383,9 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$stdlib.core.toLiftableModuleType(http.Util, "@winglang/sdk/http", "Util"), ["get"]], [api.url, []], ], "$inflight_init": [ - [$stdlib.core.toLiftableModuleType(http.Util, "@winglang/sdk/http", "Util"), []], [api.url, []], ], }); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inheritance_class_inflight.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inheritance_class_inflight.test.w_compile_tf-aws.md index 0a09272fbde..28e66cf857a 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inheritance_class_inflight.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inheritance_class_inflight.test.w_compile_tf-aws.md @@ -91,13 +91,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const expect = $stdlib.expect; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const expect = $stdlib.expect; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class FooBase extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -191,11 +188,9 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), ["equal"]], [foo, [].concat(["bang"], ["bug"], ["over_inflight"])], ], "$inflight_init": [ - [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), []], [foo, []], ], }); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inheritance_class_preflight.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inheritance_class_preflight.test.w_compile_tf-aws.md index e8d29f44d7c..0675acb048d 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inheritance_class_preflight.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inheritance_class_preflight.test.w_compile_tf-aws.md @@ -57,13 +57,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const expect = $stdlib.expect; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const expect = $stdlib.expect; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class FooBase extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inheritance_interface.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/inheritance_interface.test.w_compile_tf-aws.md index 8250a5117e6..1cfce89b825 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inheritance_interface.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inheritance_interface.test.w_compile_tf-aws.md @@ -42,13 +42,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const expect = $stdlib.expect; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const expect = $stdlib.expect; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Baz extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/interface.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/interface.test.w_compile_tf-aws.md index 5ae5aa0d286..25d7dcdd312 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/interface.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/interface.test.w_compile_tf-aws.md @@ -59,9 +59,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class C extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/intrinsics.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/intrinsics.test.w_compile_tf-aws.md index 38278f5cf41..826fa5f8c0b 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/intrinsics.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/intrinsics.test.w_compile_tf-aws.md @@ -75,18 +75,6 @@ module.exports = function({ $counter }) { //# sourceMappingURL=inflight.Example-2.cjs.map ``` -## inflight.InflightBar-1.cjs -```cjs -"use strict"; -const $helpers = require("@winglang/sdk/lib/helpers"); -module.exports = function({ }) { - class InflightBar { - } - return InflightBar; -} -//# sourceMappingURL=inflight.InflightBar-1.cjs.map -``` - ## main.tf.json ```json { @@ -238,7 +226,6 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -let $preflightTypesMap = {}; class Bar extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -273,37 +260,7 @@ class Bar extends $stdlib.std.Resource { }); } } -class InflightBar extends $stdlib.std.Resource { - constructor($scope, $id, ) { - super($scope, $id); - } - static _toInflightType() { - return ` - require("${$helpers.normalPath(__dirname)}/inflight.InflightBar-1.cjs")({ - }) - `; - } - _toInflight() { - return ` - (await (async () => { - const InflightBarClient = ${InflightBar._toInflightType()}; - const client = new InflightBarClient({ - }); - if (client.$inflight_init) { await client.$inflight_init(); } - return client; - })()) - `; - } - get _liftMap() { - return ({ - "$inflight_init": [ - ], - }); - } -} -if ($preflightTypesMap[2]) { throw new Error("InflightBar is already in type map"); } -$preflightTypesMap[2] = InflightBar; -module.exports = { $preflightTypesMap, Bar, InflightBar }; +module.exports = { Bar }; //# sourceMappingURL=preflight.bar-1.cjs.map ``` @@ -317,17 +274,14 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const fs = $stdlib.fs; +const expect = $stdlib.expect; +const cloud = $stdlib.cloud; +const util = $stdlib.util; +const bar = require("./preflight.bar-1.cjs"); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const fs = $stdlib.fs; - const expect = $stdlib.expect; - const cloud = $stdlib.cloud; - const util = $stdlib.util; - const bar = $helpers.bringJs(`${__dirname}/preflight.bar-1.cjs`, $preflightTypesMap); - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Example extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/issue_2889.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/issue_2889.test.w_compile_tf-aws.md index f59607ffdf5..28a3a575564 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/issue_2889.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/issue_2889.test.w_compile_tf-aws.md @@ -277,14 +277,11 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; +const http = $stdlib.http; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - const http = $stdlib.http; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -312,10 +309,8 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$stdlib.core.toLiftableModuleType(std.Json, "@winglang/sdk/std", "Json"), [].concat(["parse"], ["stringify"])], ], "$inflight_init": [ - [$stdlib.core.toLiftableModuleType(std.Json, "@winglang/sdk/std", "Json"), []], ], }); } @@ -349,13 +344,9 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$stdlib.core.toLiftableModuleType(http.Util, "@winglang/sdk/http", "Util"), ["get"]], - [$stdlib.core.toLiftableModuleType(std.Json, "@winglang/sdk/std", "Json"), ["parse"]], [api.url, []], ], "$inflight_init": [ - [$stdlib.core.toLiftableModuleType(http.Util, "@winglang/sdk/http", "Util"), []], - [$stdlib.core.toLiftableModuleType(std.Json, "@winglang/sdk/std", "Json"), []], [api.url, []], ], }); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/json.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/json.test.w_compile_tf-aws.md index b3e36dff030..2bafdc5c8a2 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/json.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/json.test.w_compile_tf-aws.md @@ -66,13 +66,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/json_bucket.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/json_bucket.test.w_compile_tf-aws.md index 22f947fe294..0774d81ea04 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/json_bucket.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/json_bucket.test.w_compile_tf-aws.md @@ -187,13 +187,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/json_static.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/json_static.test.w_compile_tf-aws.md index 4c64066df78..c707fb3a1fa 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/json_static.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/json_static.test.w_compile_tf-aws.md @@ -71,13 +71,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -106,11 +103,9 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$stdlib.core.toLiftableModuleType(std.Json, "@winglang/sdk/std", "Json"), ["stringify"]], [jj, []], ], "$inflight_init": [ - [$stdlib.core.toLiftableModuleType(std.Json, "@winglang/sdk/std", "Json"), []], [jj, []], ], }); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/json_string_interpolation.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/json_string_interpolation.test.w_compile_tf-aws.md index b0b433492ed..e2fc9034d6b 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/json_string_interpolation.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/json_string_interpolation.test.w_compile_tf-aws.md @@ -31,9 +31,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; const obj = ({"strValue": "test", "numValue": 1}); const notStringifyStrValue = String.raw({ raw: ["string: ", ""] }, JSON.stringify(((obj, args) => { if (obj[args] === undefined) throw new Error(`Json property "${args}" does not exist`); return obj[args] })(obj, "strValue"))); $helpers.assert($helpers.eq(notStringifyStrValue, "string: \"test\""), "notStringifyStrValue == \"string: \\\"test\\\"\""); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/lift_expr_with_this.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/lift_expr_with_this.test.w_compile_tf-aws.md index 2d175572d59..0b2bd167ff6 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/lift_expr_with_this.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/lift_expr_with_this.test.w_compile_tf-aws.md @@ -66,9 +66,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/lift_inflight_closure_collection.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/lift_inflight_closure_collection.test.w_compile_tf-aws.md index 53eeb3794f7..a2e5f968652 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/lift_inflight_closure_collection.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/lift_inflight_closure_collection.test.w_compile_tf-aws.md @@ -637,13 +637,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/lift_inflight_closure_returning_object_issue6501.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/lift_inflight_closure_returning_object_issue6501.test.w_compile_tf-aws.md index 5a63bd27a85..78f61f0bbcd 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/lift_inflight_closure_returning_object_issue6501.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/lift_inflight_closure_returning_object_issue6501.test.w_compile_tf-aws.md @@ -140,13 +140,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -177,8 +174,6 @@ class $Root extends $stdlib.std.Resource { }); } } - if ($preflightTypesMap[1]) { throw new Error("Foo is already in type map"); } - $preflightTypesMap[1] = Foo; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -206,10 +201,8 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [Foo, []], ], "$inflight_init": [ - [Foo, []], ], }); } @@ -241,11 +234,9 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$helpers.preflightClassSingleton(this, 1), ["do"]], [foo, ["handle"]], ], "$inflight_init": [ - [$helpers.preflightClassSingleton(this, 1), []], [foo, []], ], }); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/lift_parent_fields.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/lift_parent_fields.test.w_compile_tf-aws.md index 7357851ee5d..b9b5b77c4ab 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/lift_parent_fields.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/lift_parent_fields.test.w_compile_tf-aws.md @@ -111,9 +111,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class A extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/lift_redefinition.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/lift_redefinition.test.w_compile_tf-aws.md index 8ae9c48474d..7b0d6b976a7 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/lift_redefinition.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/lift_redefinition.test.w_compile_tf-aws.md @@ -53,9 +53,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/lift_shared_resource.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/lift_shared_resource.test.w_compile_tf-aws.md index 3ebdba3c8b7..7ed560804f7 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/lift_shared_resource.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/lift_shared_resource.test.w_compile_tf-aws.md @@ -305,14 +305,11 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; +const http = $stdlib.http; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - const http = $stdlib.http; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class MyBucket extends $stdlib.std.Resource { constructor($scope, $id, bucket) { super($scope, $id); @@ -413,11 +410,9 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$stdlib.core.toLiftableModuleType(http.Util, "@winglang/sdk/http", "Util"), ["get"]], [api.url, []], ], "$inflight_init": [ - [$stdlib.core.toLiftableModuleType(http.Util, "@winglang/sdk/http", "Util"), []], [api.url, []], ], }); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/lift_this.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/lift_this.test.w_compile_tf-aws.md index 5d669059063..a71a833cc41 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/lift_this.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/lift_this.test.w_compile_tf-aws.md @@ -72,13 +72,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const util = $stdlib.util; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const util = $stdlib.util; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -147,11 +144,9 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), ["env"]], [f, ["foo"]], ], "$inflight_init": [ - [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), []], [f, []], ], }); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/lift_via_closure.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/lift_via_closure.test.w_compile_tf-aws.md index d730cf7808b..b1bfee214a8 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/lift_via_closure.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/lift_via_closure.test.w_compile_tf-aws.md @@ -145,13 +145,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/lift_via_closure_explicit.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/lift_via_closure_explicit.test.w_compile_tf-aws.md index c20d2d303cd..09892856fa3 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/lift_via_closure_explicit.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/lift_via_closure_explicit.test.w_compile_tf-aws.md @@ -84,13 +84,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class MyClosure extends $stdlib.std.Resource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/lift_weird_order.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/lift_weird_order.test.w_compile_tf-aws.md index dcedef2d843..267393b209b 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/lift_weird_order.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/lift_weird_order.test.w_compile_tf-aws.md @@ -86,9 +86,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class B extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/lift_with_phase_ind.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/lift_with_phase_ind.test.w_compile_tf-aws.md index d4c7ea807d1..eda26b8fc99 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/lift_with_phase_ind.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/lift_with_phase_ind.test.w_compile_tf-aws.md @@ -55,13 +55,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const math = $stdlib.math; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const math = $stdlib.math; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -90,11 +87,9 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$stdlib.core.toLiftableModuleType(math.Util, "@winglang/sdk/math", "Util"), [].concat(["floor"], ["random"])], [ar, [].concat(["at"], ["length"], ["copyMut"])], ], "$inflight_init": [ - [$stdlib.core.toLiftableModuleType(math.Util, "@winglang/sdk/math", "Util"), []], [ar, []], ], }); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/map_entries.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/map_entries.test.w_compile_tf-aws.md index 24e28ee1f7f..c50b025eeeb 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/map_entries.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/map_entries.test.w_compile_tf-aws.md @@ -118,9 +118,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/mut_container_types.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/mut_container_types.test.w_compile_tf-aws.md index a39a45436db..4664729ab76 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/mut_container_types.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/mut_container_types.test.w_compile_tf-aws.md @@ -62,13 +62,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; const bucket1 = this.node.root.new("@winglang/sdk.cloud.Bucket", cloud.Bucket, this, "bucket1"); const bucket2 = this.node.root.new("@winglang/sdk.cloud.Bucket", cloud.Bucket, this, "bucket2"); const bucket3 = this.node.root.new("@winglang/sdk.cloud.Bucket", cloud.Bucket, this, "bucket3"); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/mutation_after_class_init.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/mutation_after_class_init.test.w_compile_tf-aws.md index 36326b84129..cc3f653a9d3 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/mutation_after_class_init.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/mutation_after_class_init.test.w_compile_tf-aws.md @@ -339,14 +339,11 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; +const util = $stdlib.util; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - const util = $stdlib.util; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Queue extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -518,12 +515,10 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), ["waitUntil"]], [c, ["peek"]], [q, ["push"]], ], "$inflight_init": [ - [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), []], [c, []], [q, []], ], diff --git a/tools/hangar/__snapshots__/test_corpus/valid/new_in_static.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/new_in_static.test.w_compile_tf-aws.md index 2ee9924e3f6..94699c966bf 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/new_in_static.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/new_in_static.test.w_compile_tf-aws.md @@ -174,16 +174,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; +const c = require("constructs"); +const jsii_fixture = require("jsii-fixture"); +const new_in_static_lib = require("./preflight.newinstaticlib-1.cjs"); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - const c = require("constructs"); - const jsii_fixture = require("jsii-fixture"); - const new_in_static_lib = $helpers.bringJs(`${__dirname}/preflight.newinstaticlib-1.cjs`, $preflightTypesMap); - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class MyClass extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -361,7 +358,6 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -let $preflightTypesMap = {}; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -421,7 +417,7 @@ class LibClass extends $stdlib.std.Resource { }); } } -module.exports = { $preflightTypesMap, Foo, LibClass }; +module.exports = { Foo, LibClass }; //# sourceMappingURL=preflight.newinstaticlib-1.cjs.map ``` diff --git a/tools/hangar/__snapshots__/test_corpus/valid/new_in_static_lib.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/new_in_static_lib.w_compile_tf-aws.md index 9905f1aa986..2600606fde2 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/new_in_static_lib.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/new_in_static_lib.w_compile_tf-aws.md @@ -35,7 +35,6 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -let $preflightTypesMap = {}; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -95,7 +94,7 @@ class LibClass extends $stdlib.std.Resource { }); } } -module.exports = { $preflightTypesMap, Foo, LibClass }; +module.exports = { Foo, LibClass }; //# sourceMappingURL=preflight.cjs.map ``` diff --git a/tools/hangar/__snapshots__/test_corpus/valid/new_jsii.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/new_jsii.test.w_compile_tf-aws.md index 4adf970a686..6ddb1f36591 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/new_jsii.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/new_jsii.test.w_compile_tf-aws.md @@ -56,13 +56,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class CustomScope extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/nil.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/nil.test.w_compile_tf-aws.md index 69b29e866b7..f532f728ef4 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/nil.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/nil.test.w_compile_tf-aws.md @@ -104,13 +104,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/on_lift.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/on_lift.test.w_compile_tf-aws.md index 325aa8db4a3..7e78d7ad70d 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/on_lift.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/on_lift.test.w_compile_tf-aws.md @@ -71,13 +71,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const util = $stdlib.util; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const util = $stdlib.util; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -113,17 +110,14 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "m1": [ - [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), ["env"]], ], "$inflight_init": [ - [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), []], ], }); } static get _liftTypeMap() { return ({ "m2": [ - [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), ["env"]], ], }); } diff --git a/tools/hangar/__snapshots__/test_corpus/valid/optionals.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/optionals.test.w_compile_tf-aws.md index d8d0f7ef0f3..0ea88a8d77f 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/optionals.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/optionals.test.w_compile_tf-aws.md @@ -123,14 +123,11 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; const Person = $stdlib.std.Struct._createJsonSchema({$id:"/Person",type:"object",properties:{age:{type:"number"},name:{type:"string"},},required:["age","name",]}); - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Super extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/parameters/nested/parameters.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/parameters/nested/parameters.test.w_compile_tf-aws.md index d98bb1e2e87..3503181bdfd 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/parameters/nested/parameters.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/parameters/nested/parameters.test.w_compile_tf-aws.md @@ -31,10 +31,7 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; const MyParams = $stdlib.std.Struct._createJsonSchema({$id:"/MyParams",type:"object",properties:{houses:{type:"array",items:{type:"object",properties:{address:{type:"string"},residents:{type:"array",items:{type:"object",properties:{age:{type:"number"},name:{type:"string"},},required:["age","name",]}},},required:["address","residents",]}},},required:["houses",]}); - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; const app = $helpers.nodeof(this).app; const myParams = MyParams._fromJson((app.parameters.read({ schema: MyParams }))); $helpers.assert($helpers.eq(myParams.houses.length, 2), "myParams.houses.length == 2"); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/parameters/simple/parameters.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/parameters/simple/parameters.test.w_compile_tf-aws.md index caa21223aea..e304cb025bd 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/parameters/simple/parameters.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/parameters/simple/parameters.test.w_compile_tf-aws.md @@ -31,10 +31,7 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; const MyParams = $stdlib.std.Struct._createJsonSchema({$id:"/MyParams",type:"object",properties:{foo:{type:"string"},meaningOfLife:{type:"number"},},required:["meaningOfLife",]}); - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; const app = $helpers.nodeof(this).app; const myParams = MyParams._fromJson((app.parameters.read({ schema: MyParams }))); { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/phase_independent_method_on_string.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/phase_independent_method_on_string.test.w_compile_tf-aws.md index 16a89f4f03c..9bf16ceb677 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/phase_independent_method_on_string.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/phase_independent_method_on_string.test.w_compile_tf-aws.md @@ -136,14 +136,11 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; +const expect = $stdlib.expect; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - const expect = $stdlib.expect; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -174,13 +171,11 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), [].concat(["equal"], ["notEqual"])], [api.url, [].concat(["startsWith"], ["length"])], [tokenLength, []], [urlRegex, ["test"]], ], "$inflight_init": [ - [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), []], [api.url, []], [tokenLength, []], [urlRegex, []], diff --git a/tools/hangar/__snapshots__/test_corpus/valid/primitive_methods.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/primitive_methods.test.w_compile_tf-aws.md index 7d06eb6d50c..b1371d2ece1 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/primitive_methods.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/primitive_methods.test.w_compile_tf-aws.md @@ -31,9 +31,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; const dur = (std.Duration.fromSeconds(60)); const dur2 = (std.Duration.fromSeconds(600)); const f = ((d) => { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/print.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/print.test.w_compile_tf-aws.md index 58710b5f17d..a01629c4119 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/print.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/print.test.w_compile_tf-aws.md @@ -70,13 +70,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/reassignment.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/reassignment.test.w_compile_tf-aws.md index d45eb465d4e..9a2f46ad429 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/reassignment.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/reassignment.test.w_compile_tf-aws.md @@ -45,9 +45,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class R extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/redis.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/redis.test.w_compile_tf-aws.md index d398c6056c9..df675212cda 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/redis.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/redis.test.w_compile_tf-aws.md @@ -681,15 +681,12 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; +const util = $stdlib.util; +const ex = $stdlib.ex; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - const util = $stdlib.util; - const ex = $stdlib.ex; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -755,13 +752,11 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), ["waitUntil"]], [queue, ["push"]], [r, ["get"]], [r2, [].concat(["set"], ["get"])], ], "$inflight_init": [ - [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), []], [queue, []], [r, []], [r2, []], diff --git a/tools/hangar/__snapshots__/test_corpus/valid/resource.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/resource.test.w_compile_tf-aws.md index 3117975832c..c53272518fe 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/resource.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/resource.test.w_compile_tf-aws.md @@ -708,14 +708,11 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; +const util = $stdlib.util; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - const util = $stdlib.util; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; const MyEnum = (function (tmp) { tmp["A"] = "A"; @@ -809,13 +806,11 @@ class $Root extends $stdlib.std.Resource { "testTypeAccess": [ [Bar, ["barStatic"]], [Foo, ["fooStatic"]], - [MyEnum, ["B"]], [this.e, []], ], "$inflight_init": [ [Bar, []], [Foo, []], - [MyEnum, []], [this.b, []], [this.e, []], [this.foo, []], @@ -1057,11 +1052,9 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), ["waitUntil"]], [bigOlPublisher, [].concat(["publish"], ["getObjectCount"])], ], "$inflight_init": [ - [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), []], [bigOlPublisher, []], ], }); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/resource_as_inflight_literal.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/resource_as_inflight_literal.test.w_compile_tf-aws.md index 36da9581699..4ae8a6f7e61 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/resource_as_inflight_literal.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/resource_as_inflight_literal.test.w_compile_tf-aws.md @@ -174,13 +174,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/resource_call_static.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/resource_call_static.test.w_compile_tf-aws.md index c0ef8f3ca0f..0509113ee0e 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/resource_call_static.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/resource_call_static.test.w_compile_tf-aws.md @@ -86,13 +86,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Another extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/resource_captures.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/resource_captures.test.w_compile_tf-aws.md index 41bd603ecf9..e3a9b7f7cbe 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/resource_captures.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/resource_captures.test.w_compile_tf-aws.md @@ -240,13 +240,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class First extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/resource_captures_globals.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/resource_captures_globals.test.w_compile_tf-aws.md index c3d106d17c4..83635822e9d 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/resource_captures_globals.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/resource_captures_globals.test.w_compile_tf-aws.md @@ -362,14 +362,11 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; +const util = $stdlib.util; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - const util = $stdlib.util; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class First extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -520,7 +517,6 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "myPut": [ - [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), ["waitUntil"]], [Another, ["myStaticMethod"]], [globalAnother, ["myMethod"]], [globalAnother.first.myResource, ["put"]], @@ -536,7 +532,6 @@ class $Root extends $stdlib.std.Resource { [this.localTopic, ["publish"]], ], "$inflight_init": [ - [$stdlib.core.toLiftableModuleType(util.Util, "@winglang/sdk/util", "Util"), []], [Another, []], [globalAnother, []], [globalAnother.first.myResource, []], diff --git a/tools/hangar/__snapshots__/test_corpus/valid/service.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/service.test.w_compile_tf-aws.md index 217349b8a7d..72c0fe616c3 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/service.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/service.test.w_compile_tf-aws.md @@ -31,9 +31,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; } } const $PlatformManager = new $stdlib.platform.PlatformManager({platformPaths: $platforms}); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/shadowing.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/shadowing.test.w_compile_tf-aws.md index a5c64b95b56..f0b9fecca15 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/shadowing.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/shadowing.test.w_compile_tf-aws.md @@ -80,13 +80,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/sim_resource.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/sim_resource.test.w_compile_tf-aws.md index 7711b440596..fd0ae7a5677 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/sim_resource.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/sim_resource.test.w_compile_tf-aws.md @@ -75,13 +75,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const sim = $stdlib.sim; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const sim = $stdlib.sim; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; const MyEnum = (function (tmp) { tmp["A"] = "A"; @@ -129,7 +126,6 @@ class $Root extends $stdlib.std.Resource { "methodWithJsons": [ ], "methodWithEnums": [ - [MyEnum, ["A"]], ], "methodWithArrays": [ ], @@ -142,13 +138,10 @@ class $Root extends $stdlib.std.Resource { "methodWithComplexTypes": [ ], "$inflight_init": [ - [MyEnum, []], ], }); } } - if ($preflightTypesMap[1]) { throw new Error("ResourceBackend is already in type map"); } - $preflightTypesMap[1] = ResourceBackend; } } const $PlatformManager = new $stdlib.platform.PlatformManager({platformPaths: $platforms}); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/statements_before_super.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/statements_before_super.w_compile_tf-aws.md index 87c6fd80fb3..7fdd23242c0 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/statements_before_super.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/statements_before_super.w_compile_tf-aws.md @@ -36,7 +36,6 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -let $preflightTypesMap = {}; class A extends $stdlib.std.Resource { constructor($scope, $id, a) { super($scope, $id); @@ -96,7 +95,7 @@ class B extends A { }); } } -module.exports = { $preflightTypesMap, }; +module.exports = { }; //# sourceMappingURL=preflight.cjs.map ``` diff --git a/tools/hangar/__snapshots__/test_corpus/valid/statements_if.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/statements_if.test.w_compile_tf-aws.md index 62dfa63453e..30eb8fa4754 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/statements_if.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/statements_if.test.w_compile_tf-aws.md @@ -67,13 +67,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/statements_variable_declarations.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/statements_variable_declarations.test.w_compile_tf-aws.md index e4d65b4ad3f..8d74f4b9971 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/statements_variable_declarations.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/statements_variable_declarations.test.w_compile_tf-aws.md @@ -31,9 +31,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; const x = 2; const y = x; const id = 1; diff --git a/tools/hangar/__snapshots__/test_corpus/valid/static_members.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/static_members.test.w_compile_tf-aws.md index 889b4c06696..780b990a746 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/static_members.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/static_members.test.w_compile_tf-aws.md @@ -75,13 +75,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/std_containers.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/std_containers.test.w_compile_tf-aws.md index 2c88436783f..d6009c0537f 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/std_containers.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/std_containers.test.w_compile_tf-aws.md @@ -75,9 +75,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Animal extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/std_string.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/std_string.test.w_compile_tf-aws.md index 7e6b876f3f0..9838e17fea0 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/std_string.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/std_string.test.w_compile_tf-aws.md @@ -53,9 +53,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/store.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/store.w_compile_tf-aws.md index 2fc82a4643e..5afb35fc2ee 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/store.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/store.w_compile_tf-aws.md @@ -59,8 +59,7 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -let $preflightTypesMap = {}; -const file3 = $helpers.bringJs(`${__dirname}/preflight.empty-1.cjs`, $preflightTypesMap); +const file3 = require("./preflight.empty-1.cjs"); const math = $stdlib.math; const cloud = $stdlib.cloud; const Color = @@ -170,7 +169,7 @@ class Store extends $stdlib.std.Resource { }); } } -module.exports = { $preflightTypesMap, Util, Store, Color }; +module.exports = { Util, Store, Color }; //# sourceMappingURL=preflight.cjs.map ``` @@ -181,8 +180,7 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -let $preflightTypesMap = {}; -module.exports = { $preflightTypesMap, }; +module.exports = { }; //# sourceMappingURL=preflight.empty-1.cjs.map ``` diff --git a/tools/hangar/__snapshots__/test_corpus/valid/stringify.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/stringify.test.w_compile_tf-aws.md index c7c2345a711..abf6a1f0424 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/stringify.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/stringify.test.w_compile_tf-aws.md @@ -31,9 +31,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; const MyEnum = (function (tmp) { tmp["A"] = "A"; diff --git a/tools/hangar/__snapshots__/test_corpus/valid/struct_from_json.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/struct_from_json.test.w_compile_tf-aws.md index 65c76f35127..dbd874c1694 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/struct_from_json.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/struct_from_json.test.w_compile_tf-aws.md @@ -176,14 +176,12 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; +const externalStructs = require("./preflight.structs-1.cjs"); +const otherExternalStructs = require("./preflight.structs2-2.cjs"); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - const externalStructs = $helpers.bringJs(`${__dirname}/preflight.structs-1.cjs`, $preflightTypesMap); - const otherExternalStructs = $helpers.bringJs(`${__dirname}/preflight.structs2-2.cjs`, $preflightTypesMap); const Bar = $stdlib.std.Struct._createJsonSchema({$id:"/Bar",type:"object",properties:{b:{type:"number"},f:{type:"string"},},required:["b","f",]}); const Foo = $stdlib.std.Struct._createJsonSchema({$id:"/Foo",type:"object",properties:{f:{type:"string"},},required:["f",]}); const Foosible = $stdlib.std.Struct._createJsonSchema({$id:"/Foosible",type:"object",properties:{f:{type:"string"},},required:[]}); @@ -191,7 +189,6 @@ class $Root extends $stdlib.std.Resource { const Student = $stdlib.std.Struct._createJsonSchema({$id:"/Student",type:"object",properties:{additionalData:{type:["object","string","boolean","number","array"]},advisor:{type:"object",properties:{dob:{type:"object",properties:{day:{type:"number"},month:{type:"number"},year:{type:"number"},},required:["day","month","year",]},employeeID:{type:"string"},firstName:{type:"string"},lastName:{type:"string"},},required:["dob","employeeID","firstName","lastName",]},coursesTaken:{type:"array",items:{type:"object",properties:{course:{type:"object",properties:{credits:{type:"number"},name:{type:"string"},},required:["credits","name",]},dateTaken:{type:"object",properties:{day:{type:"number"},month:{type:"number"},year:{type:"number"},},required:["day","month","year",]},grade:{type:"string"},},required:["course","dateTaken","grade",]}},dob:{type:"object",properties:{day:{type:"number"},month:{type:"number"},year:{type:"number"},},required:["day","month","year",]},enrolled:{type:"boolean"},enrolledCourses:{type:"array",uniqueItems:true,items:{type:"object",properties:{credits:{type:"number"},name:{type:"string"},},required:["credits","name",]}},firstName:{type:"string"},lastName:{type:"string"},schoolId:{type:"string"},},required:["dob","enrolled","firstName","lastName","schoolId",]}); const cloud_BucketProps = $stdlib.std.Struct._createJsonSchema({$id:"/BucketProps",type:"object",properties:{public:{type:"boolean"},},required:[]}); const externalStructs_MyOtherStruct = $stdlib.std.Struct._createJsonSchema({$id:"/MyOtherStruct",type:"object",properties:{data:{type:"object",properties:{val:{type:"number"},},required:["val",]},},required:["data",]}); - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -220,11 +217,9 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$stdlib.core.toLiftableModuleType(cloud_BucketProps, "@winglang/sdk/cloud", "BucketProps"), ["fromJson"]], [j, []], ], "$inflight_init": [ - [$stdlib.core.toLiftableModuleType(cloud_BucketProps, "@winglang/sdk/cloud", "BucketProps"), []], [j, []], ], }); @@ -257,10 +252,8 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [Student, ["fromJson"]], ], "$inflight_init": [ - [Student, []], ], }); } @@ -293,11 +286,9 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [Student, ["fromJson"]], [jStudent1, []], ], "$inflight_init": [ - [Student, []], [jStudent1, []], ], }); @@ -334,15 +325,11 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$stdlib.core.toLiftableModuleType(std.Json, "@winglang/sdk/std", "Json"), ["stringify"]], - [MyStruct, ["schema"]], [expectedSchema, []], [jMyStruct, []], [schema, ["asStr"]], ], "$inflight_init": [ - [$stdlib.core.toLiftableModuleType(std.Json, "@winglang/sdk/std", "Json"), []], - [MyStruct, []], [expectedSchema, []], [jMyStruct, []], [schema, []], @@ -380,16 +367,8 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$stdlib.core.toLiftableModuleType(std.Boolean, "@winglang/sdk/std", "Boolean"), ["fromJson"]], - [$stdlib.core.toLiftableModuleType(std.Number, "@winglang/sdk/std", "Number"), ["fromJson"]], - [$stdlib.core.toLiftableModuleType(std.String, "@winglang/sdk/std", "String"), ["fromJson"]], - [Student, ["fromJson"]], ], "$inflight_init": [ - [$stdlib.core.toLiftableModuleType(std.Boolean, "@winglang/sdk/std", "Boolean"), []], - [$stdlib.core.toLiftableModuleType(std.Number, "@winglang/sdk/std", "Number"), []], - [$stdlib.core.toLiftableModuleType(std.String, "@winglang/sdk/std", "String"), []], - [Student, []], ], }); } @@ -532,8 +511,7 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -let $preflightTypesMap = {}; -module.exports = { $preflightTypesMap, }; +module.exports = { }; //# sourceMappingURL=preflight.structs-1.cjs.map ``` @@ -544,7 +522,6 @@ const $stdlib = require('@winglang/sdk'); const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); -let $preflightTypesMap = {}; const SomeStruct = $stdlib.std.Struct._createJsonSchema({$id:"/SomeStruct",type:"object",properties:{foo:{type:"string"},},required:["foo",]}); class UsesStructInImportedFile extends $stdlib.std.Resource { constructor($scope, $id, ) { @@ -575,7 +552,7 @@ class UsesStructInImportedFile extends $stdlib.std.Resource { }); } } -module.exports = { $preflightTypesMap, UsesStructInImportedFile }; +module.exports = { UsesStructInImportedFile }; //# sourceMappingURL=preflight.structs2-2.cjs.map ``` diff --git a/tools/hangar/__snapshots__/test_corpus/valid/structs.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/structs.test.w_compile_tf-aws.md index 234bfdbe3d8..c7f1e74c5a8 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/structs.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/structs.test.w_compile_tf-aws.md @@ -67,13 +67,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const expect = $stdlib.expect; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const expect = $stdlib.expect; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, b) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/super_call.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/super_call.test.w_compile_tf-aws.md index 083a31cb4d7..def61b603a0 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/super_call.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/super_call.test.w_compile_tf-aws.md @@ -223,14 +223,11 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const expect = $stdlib.expect; +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const expect = $stdlib.expect; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class A extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); @@ -415,8 +412,6 @@ class $Root extends $stdlib.std.Resource { }); } } - if ($preflightTypesMap[6]) { throw new Error("InflightA is already in type map"); } - $preflightTypesMap[6] = InflightA; class InflightB extends InflightA { constructor($scope, $id, ) { super($scope, $id); @@ -448,8 +443,6 @@ class $Root extends $stdlib.std.Resource { }); } } - if ($preflightTypesMap[7]) { throw new Error("InflightB is already in type map"); } - $preflightTypesMap[7] = InflightB; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -478,14 +471,8 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$helpers.preflightClassSingleton(this, 7), ["description"]], - [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), ["equal"]], - [InflightB, []], ], "$inflight_init": [ - [$helpers.preflightClassSingleton(this, 7), []], - [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), []], - [InflightB, []], ], }); } @@ -585,11 +572,9 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), ["equal"]], [extended, ["do"]], ], "$inflight_init": [ - [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), []], [extended, []], ], }); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/symbol_shadow.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/symbol_shadow.test.w_compile_tf-aws.md index 42b94770984..421ba0afddc 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/symbol_shadow.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/symbol_shadow.test.w_compile_tf-aws.md @@ -123,13 +123,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class A extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/table.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/table.test.w_compile_tf-aws.md index c927d4a3054..0e2da91975a 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/table.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/table.test.w_compile_tf-aws.md @@ -52,13 +52,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const ex = $stdlib.ex; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const ex = $stdlib.ex; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; const t = this.node.root.new("@winglang/sdk.ex.Table", ex.Table, this, "Table", { name: "simple-table", primaryKey: "id", columns: ({["id"]: ex.ColumnType.STRING, ["name"]: ex.ColumnType.STRING, ["age"]: ex.ColumnType.NUMBER}) }); } } diff --git a/tools/hangar/__snapshots__/test_corpus/valid/test_bucket.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/test_bucket.test.w_compile_tf-aws.md index 5ea2ff2f6cb..3c3ac279786 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/test_bucket.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/test_bucket.test.w_compile_tf-aws.md @@ -85,13 +85,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/test_without_bring.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/test_without_bring.test.w_compile_tf-aws.md index 599ddd7e22c..7b18f6b34ae 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/test_without_bring.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/test_without_bring.test.w_compile_tf-aws.md @@ -51,9 +51,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/this.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/this.test.w_compile_tf-aws.md index a62860645e0..2356d69988e 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/this.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/this.test.w_compile_tf-aws.md @@ -28,13 +28,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const expect = $stdlib.expect; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const expect = $stdlib.expect; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; const path = $helpers.nodeof(this).path; for (const c of $helpers.nodeof(this).children) { console.log($helpers.nodeof(c).path); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/to_inflight.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/to_inflight.test.w_compile_tf-aws.md index 250004648b3..c6e72bfd406 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/to_inflight.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/to_inflight.test.w_compile_tf-aws.md @@ -62,13 +62,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { diff --git a/tools/hangar/__snapshots__/test_corpus/valid/try_catch.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/try_catch.test.w_compile_tf-aws.md index ea344d1aede..4010f1331de 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/try_catch.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/try_catch.test.w_compile_tf-aws.md @@ -31,9 +31,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; let x = ""; try { throw new Error("hello"); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/unused_lift.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/unused_lift.test.w_compile_tf-aws.md index ba775e69f5d..096a246a18b 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/unused_lift.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/unused_lift.test.w_compile_tf-aws.md @@ -120,13 +120,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/use_inflight_method_inside_init_closure.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/use_inflight_method_inside_init_closure.test.w_compile_tf-aws.md index 136422bbe26..b66cafb179b 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/use_inflight_method_inside_init_closure.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/use_inflight_method_inside_init_closure.test.w_compile_tf-aws.md @@ -170,13 +170,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class Foo extends $stdlib.std.Resource { constructor($scope, $id, ) { super($scope, $id); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/website_with_api.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/website_with_api.test.w_compile_tf-aws.md index fabea5493dc..692db90b036 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/website_with_api.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/website_with_api.test.w_compile_tf-aws.md @@ -628,16 +628,13 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; +const ex = $stdlib.ex; +const http = $stdlib.http; +const expect = $stdlib.expect; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - const ex = $stdlib.ex; - const http = $stdlib.http; - const expect = $stdlib.expect; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) { @@ -666,11 +663,9 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$stdlib.core.toLiftableModuleType(std.Json, "@winglang/sdk/std", "Json"), ["stringify"]], [usersTable, ["list"]], ], "$inflight_init": [ - [$stdlib.core.toLiftableModuleType(std.Json, "@winglang/sdk/std", "Json"), []], [usersTable, []], ], }); @@ -704,11 +699,9 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$stdlib.core.toLiftableModuleType(std.Json, "@winglang/sdk/std", "Json"), [].concat(["parse"], ["stringify"])], [usersTable, ["insert"]], ], "$inflight_init": [ - [$stdlib.core.toLiftableModuleType(std.Json, "@winglang/sdk/std", "Json"), []], [usersTable, []], ], }); @@ -744,15 +737,9 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), [].concat(["equal"], ["nil"])], - [$stdlib.core.toLiftableModuleType(http.HttpMethod, "@winglang/sdk/http", "HttpMethod"), ["GET"]], - [$stdlib.core.toLiftableModuleType(http.Util, "@winglang/sdk/http", "Util"), ["fetch"]], [api.url, []], ], "$inflight_init": [ - [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), []], - [$stdlib.core.toLiftableModuleType(http.HttpMethod, "@winglang/sdk/http", "HttpMethod"), []], - [$stdlib.core.toLiftableModuleType(http.Util, "@winglang/sdk/http", "Util"), []], [api.url, []], ], }); @@ -788,15 +775,9 @@ class $Root extends $stdlib.std.Resource { get _liftMap() { return ({ "handle": [ - [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), ["equal"]], - [$stdlib.core.toLiftableModuleType(http.HttpMethod, "@winglang/sdk/http", "HttpMethod"), ["OPTIONS"]], - [$stdlib.core.toLiftableModuleType(http.Util, "@winglang/sdk/http", "Util"), ["fetch"]], [api.url, []], ], "$inflight_init": [ - [$stdlib.core.toLiftableModuleType(expect.Util, "@winglang/sdk/expect", "Util"), []], - [$stdlib.core.toLiftableModuleType(http.HttpMethod, "@winglang/sdk/http", "HttpMethod"), []], - [$stdlib.core.toLiftableModuleType(http.Util, "@winglang/sdk/http", "Util"), []], [api.url, []], ], }); diff --git a/tools/hangar/__snapshots__/test_corpus/valid/while.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/while.test.w_compile_tf-aws.md index 710be6ffecd..d380f7b9611 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/while.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/while.test.w_compile_tf-aws.md @@ -31,9 +31,6 @@ const $extern = $helpers.createExternRequire(__dirname); class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; while (false) { const x = 1; } diff --git a/tools/hangar/__snapshots__/test_corpus/valid/while_loop_await.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/while_loop_await.test.w_compile_tf-aws.md index b86de064c41..536b86d5155 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/while_loop_await.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/while_loop_await.test.w_compile_tf-aws.md @@ -189,13 +189,10 @@ const $wing_is_test = process.env.WING_IS_TEST === "true"; const std = $stdlib.std; const $helpers = $stdlib.helpers; const $extern = $helpers.createExternRequire(__dirname); +const cloud = $stdlib.cloud; class $Root extends $stdlib.std.Resource { constructor($scope, $id) { super($scope, $id); - $helpers.nodeof(this).root.$preflightTypesMap = { }; - let $preflightTypesMap = {}; - const cloud = $stdlib.cloud; - $helpers.nodeof(this).root.$preflightTypesMap = $preflightTypesMap; class $Closure1 extends $stdlib.std.AutoIdResource { _id = $stdlib.core.closureId(); constructor($scope, $id, ) {