From 3472e31c05de438335716be23b16854070894c8b Mon Sep 17 00:00:00 2001 From: Jeremy Meng Date: Mon, 30 Oct 2023 19:22:00 -0700 Subject: [PATCH] Bump node version to v18 in generated package (#2085) * Bump node version to v18 in generated package as v16 is EOL and has a couple active security issues. * Update codegen * update baseline --- .../src/generators/static/packageFileGenerator.ts | 4 ++-- .../integration/generated/additionalProperties/package.json | 4 ++-- .../test/integration/generated/appconfiguration/package.json | 2 +- .../generated/appconfigurationexport/package.json | 2 +- .../test/integration/generated/arrayConstraints/package.json | 2 +- .../test/integration/generated/attestation/package.json | 2 +- .../generated/azureParameterGrouping/package.json | 2 +- .../test/integration/generated/azureReport/package.json | 2 +- .../generated/azureSpecialProperties/package.json | 2 +- .../test/integration/generated/bodyArray/package.json | 2 +- .../test/integration/generated/bodyBoolean/package.json | 2 +- .../integration/generated/bodyBooleanQuirks/package.json | 2 +- .../test/integration/generated/bodyByte/package.json | 2 +- .../test/integration/generated/bodyComplex/package.json | 2 +- .../generated/bodyComplexWithTracing/package.json | 2 +- .../test/integration/generated/bodyDate/package.json | 2 +- .../test/integration/generated/bodyDateTime/package.json | 2 +- .../integration/generated/bodyDateTimeRfc1123/package.json | 2 +- .../test/integration/generated/bodyDictionary/package.json | 2 +- .../test/integration/generated/bodyDuration/package.json | 2 +- .../test/integration/generated/bodyFile/package.json | 2 +- .../test/integration/generated/bodyFormData/package.json | 2 +- .../test/integration/generated/bodyInteger/package.json | 2 +- .../test/integration/generated/bodyNumber/package.json | 2 +- .../test/integration/generated/bodyString/package.json | 2 +- .../test/integration/generated/bodyTime/package.json | 2 +- .../test/integration/generated/constantParam/package.json | 2 +- .../test/integration/generated/corecompattest/package.json | 2 +- .../test/integration/generated/customUrl/package.json | 2 +- .../integration/generated/customUrlMoreOptions/package.json | 2 +- .../test/integration/generated/customUrlPaging/package.json | 2 +- .../test/integration/generated/datafactory/package.json | 2 +- .../test/integration/generated/datalakestorage/package.json | 2 +- .../test/integration/generated/datasearch/package.json | 4 ++-- .../generated/deviceprovisioningservice/package.json | 2 +- .../test/integration/generated/domainservices/package.json | 2 +- .../test/integration/generated/extensibleEnums/package.json | 2 +- .../test/integration/generated/header/package.json | 2 +- .../test/integration/generated/headerprefix/package.json | 2 +- .../test/integration/generated/healthcareapis/package.json | 2 +- .../integration/generated/httpInfrastructure/package.json | 2 +- .../test/integration/generated/iotspaces/package.json | 2 +- .../test/integration/generated/licenseHeader/package.json | 2 +- .../test/integration/generated/lro/package.json | 2 +- .../generated/lroParametrizedEndpoints/package.json | 2 +- .../test/integration/generated/mapperrequired/package.json | 2 +- .../test/integration/generated/mediaTypes/package.json | 2 +- .../test/integration/generated/mediaTypesV3/package.json | 2 +- .../test/integration/generated/mediaTypesV3Lro/package.json | 2 +- .../integration/generated/mediaTypesWithTracing/package.json | 2 +- .../test/integration/generated/modelFlattening/package.json | 2 +- .../integration/generated/multipleInheritance/package.json | 2 +- .../test/integration/generated/nameChecker/package.json | 2 +- .../test/integration/generated/noLicenseHeader/package.json | 2 +- .../test/integration/generated/noMappers/package.json | 2 +- .../test/integration/generated/noOperation/package.json | 2 +- .../test/integration/generated/nonStringEnum/package.json | 2 +- .../test/integration/generated/objectType/package.json | 2 +- .../integration/generated/odataDiscriminator/package.json | 2 +- .../integration/generated/operationgroupclash/package.json | 2 +- .../test/integration/generated/optionalnull/package.json | 2 +- .../test/integration/generated/paging/package.json | 2 +- .../integration/generated/pagingNoIterators/package.json | 2 +- .../test/integration/generated/patterntest/package.json | 4 ++-- .../test/integration/generated/petstore/package.json | 2 +- .../integration/generated/readmeFileChecker/package.json | 2 +- .../test/integration/generated/regexConstraint/package.json | 2 +- .../test/integration/generated/report/package.json | 2 +- .../test/integration/generated/requiredOptional/package.json | 2 +- .../test/integration/generated/resources/package.json | 2 +- .../test/integration/generated/sealedchoice/package.json | 2 +- .../test/integration/generated/storageblob/package.json | 2 +- .../test/integration/generated/storagefileshare/package.json | 2 +- .../generated/subscriptionIdApiVersion/package.json | 2 +- .../test/integration/generated/textanalytics/package.json | 2 +- .../test/integration/generated/url/package.json | 2 +- .../test/integration/generated/url2/package.json | 2 +- .../test/integration/generated/urlMulti/package.json | 2 +- .../test/integration/generated/useragentcorev1/package.json | 2 +- .../test/integration/generated/useragentcorev2/package.json | 2 +- .../test/integration/generated/uuid/package.json | 2 +- .../test/integration/generated/validation/package.json | 2 +- .../test/integration/generated/xmlservice/package.json | 2 +- .../integration/generated/xmsErrorResponses/package.json | 2 +- .../test/rlcIntegration/generated/azureReport/package.json | 2 +- .../rlcIntegration/generated/bodyComplexRest/package.json | 4 ++-- .../test/rlcIntegration/generated/bodyFileRest/package.json | 4 ++-- .../rlcIntegration/generated/bodyFormDataRest/package.json | 4 ++-- .../rlcIntegration/generated/bodyStringRest/package.json | 4 ++-- .../test/rlcIntegration/generated/customUrlRest/package.json | 4 ++-- .../rlcIntegration/generated/dpgCustomization/package.json | 4 ++-- .../test/rlcIntegration/generated/headerRest/package.json | 4 ++-- .../generated/httpInfrastructureRest/package.json | 4 ++-- .../test/rlcIntegration/generated/lroRest/package.json | 4 ++-- .../rlcIntegration/generated/mediaTypesRest/package.json | 4 ++-- .../generated/multipleInheritanceRest/package.json | 4 ++-- .../generated/multipleUrlParameters/package.json | 4 ++-- .../test/rlcIntegration/generated/pagingRest/package.json | 4 ++-- .../test/rlcIntegration/generated/report/package.json | 2 +- .../rlcIntegration/generated/securityAADRest/package.json | 4 ++-- .../rlcIntegration/generated/securityKeyRest/package.json | 4 ++-- .../test/rlcIntegration/generated/urlRest/package.json | 4 ++-- .../test/smoke/generated/agrifood-data-plane/package.json | 4 ++-- .../smoke/generated/anomaly-detector-mv-rest/package.json | 4 ++-- .../test/smoke/generated/anomaly-detector-rest/package.json | 4 ++-- .../package.json | 2 +- .../generated/arm-package-features-2015-12/package.json | 2 +- .../smoke/generated/arm-package-links-2016-09/package.json | 2 +- .../smoke/generated/arm-package-locks-2016-09/package.json | 2 +- .../arm-package-managedapplications-2018-06/package.json | 2 +- .../smoke/generated/arm-package-policy-2019-09/package.json | 2 +- .../generated/arm-package-resources-2019-08/package.json | 2 +- .../generated/arm-package-subscriptions-2019-06/package.json | 4 ++-- .../smoke/generated/compute-resource-manager/package.json | 4 ++-- .../smoke/generated/cosmos-db-resource-manager/package.json | 2 +- .../test/smoke/generated/graphrbac-data-plane/package.json | 2 +- .../smoke/generated/keyvault-resource-manager/package.json | 4 ++-- .../test/smoke/generated/monitor-data-plane/package.json | 2 +- .../test/smoke/generated/msi-resource-manager/package.json | 4 ++-- .../smoke/generated/network-resource-manager/package.json | 4 ++-- .../generated/networkcloud-resource-manager/package.json | 2 +- .../smoke/generated/purview-administration-rest/package.json | 4 ++-- .../test/smoke/generated/sql-resource-manager/package.json | 4 ++-- .../smoke/generated/storage-resource-manager/package.json | 4 ++-- .../test/smoke/generated/web-resource-manager/package.json | 4 ++-- .../web-resource-manager/review/web-resource-manager.api.md | 5 +++-- .../version-tolerance/generated/rlc-initial/package.json | 4 ++-- .../version-tolerance/generated/rlc-updated/package.json | 4 ++-- packages/rlc-common/src/metadata/buildPackageFile.ts | 4 ++-- .../test/anomalyDetector/generated/typespec-ts/package.json | 4 ++-- .../test/authoring/generated/typespec-ts/package.json | 4 ++-- .../test/batch/generated/typespec-ts/package.json | 4 ++-- .../generated/typespec-ts/package-files/package.json | 4 ++-- .../test/batch_modular/generated/typespec-ts/package.json | 4 ++-- .../confidentialLedger/generated/typespec-ts/package.json | 4 ++-- .../contentsafety_modular/generated/typespec-ts/package.json | 4 ++-- .../test/contoso/generated/typespec-ts/package.json | 4 ++-- .../test/customWrapper/generated/typespec-ts/package.json | 4 ++-- .../eventgrid_modular/generated/typespec-ts/package.json | 4 ++-- .../test/healthinsight/generated/typespec-ts/package.json | 4 ++-- .../test/loadTest/generated/typespec-ts/package.json | 4 ++-- .../loadtesting_modular/generated/typespec-ts/package.json | 4 ++-- .../test/openai/generated/typespec-ts/package.json | 4 ++-- .../test/openai_generic/generated/typespec-ts/package.json | 4 ++-- .../test/openai_modular/generated/typespec-ts/package.json | 4 ++-- .../test/parametrizedHost/generated/typespec-ts/package.json | 4 ++-- .../test/translator/generated/typespec-ts/package.json | 4 ++-- .../test/widget_dpg/generated/typespec-ts/package.json | 4 ++-- packages/typespec-ts/src/modular/buildProjectFiles.ts | 4 ++-- .../integration/generated/authentication/apiKey/package.json | 4 ++-- .../generated/authentication/http-custom/package.json | 4 ++-- .../integration/generated/azure/core-traits/package.json | 4 ++-- .../test/integration/generated/azure/core/package.json | 4 ++-- .../generated/client/structure/default/package.json | 4 ++-- .../generated/client/structure/multi-client/package.json | 4 ++-- .../client/structure/renamed-operation/package.json | 4 ++-- .../client/structure/two-operation-group/package.json | 4 ++-- .../test/integration/generated/dictionary/package.json | 4 ++-- .../test/integration/generated/enums/extensible/package.json | 4 ++-- .../test/integration/generated/enums/fixed/package.json | 4 ++-- .../generated/headers/clientRequestId/package.json | 4 ++-- .../integration/generated/headers/repeatability/package.json | 4 ++-- .../test/integration/generated/hello/package.json | 4 ++-- .../test/integration/generated/lro/lroCore/package.json | 4 ++-- .../test/integration/generated/lro/lroRPC/package.json | 4 ++-- .../test/integration/generated/models/empty/package.json | 4 ++-- .../models/inheritance-enum-discriminator/package.json | 4 ++-- .../models/inheritance-not-discriminated/package.json | 4 ++-- .../models/inheritance-single-discriminator/package.json | 4 ++-- .../integration/generated/models/inheritance/package.json | 4 ++-- .../generated/models/propertyNullable/package.json | 4 ++-- .../generated/models/propertyOptional/package.json | 4 ++-- .../integration/generated/models/propertyTypes/package.json | 4 ++-- .../test/integration/generated/models/usage/package.json | 4 ++-- .../integration/generated/models/visibility/package.json | 4 ++-- .../integration/generated/resiliency/srvDriven1/package.json | 4 ++-- .../integration/generated/resiliency/srvDriven2/package.json | 4 ++-- .../test/integration/generated/union-body/package.json | 4 ++-- .../test/integration/generated/unions/package.json | 4 ++-- .../modularIntegration/generated/azure/core/package.json | 4 ++-- .../generated/client/structure/default/package.json | 4 ++-- .../generated/client/structure/multi-client/package.json | 4 ++-- .../client/structure/renamed-operation/package.json | 4 ++-- .../client/structure/two-operation-group/package.json | 4 ++-- 184 files changed, 276 insertions(+), 275 deletions(-) diff --git a/packages/autorest.typescript/src/generators/static/packageFileGenerator.ts b/packages/autorest.typescript/src/generators/static/packageFileGenerator.ts index 6ba46781af..857071edf5 100644 --- a/packages/autorest.typescript/src/generators/static/packageFileGenerator.ts +++ b/packages/autorest.typescript/src/generators/static/packageFileGenerator.ts @@ -83,7 +83,7 @@ function regularAutorestPackage( `A generated SDK for ${clientDetails.name}.`, version: packageDetails.version, engines: { - node: ">=16.0.0" + node: ">=18.0.0" }, dependencies: { ...(hasLro && { "@azure/core-lro": "^2.5.4" }), @@ -206,7 +206,7 @@ function regularAutorestPackage( packageInfo.devDependencies["@types/chai"] = "^4.2.8"; packageInfo.devDependencies["chai"] = "^4.2.0"; packageInfo.devDependencies["cross-env"] = "^7.0.2"; - packageInfo.devDependencies["@types/node"] = "^16.0.0"; + packageInfo.devDependencies["@types/node"] = "^18.0.0"; packageInfo.devDependencies["ts-node"] = "^10.0.0"; packageInfo.scripts["test"] = "npm run integration-test"; diff --git a/packages/autorest.typescript/test/integration/generated/additionalProperties/package.json b/packages/autorest.typescript/test/integration/generated/additionalProperties/package.json index 57196ca352..6b6baa18f5 100644 --- a/packages/autorest.typescript/test/integration/generated/additionalProperties/package.json +++ b/packages/autorest.typescript/test/integration/generated/additionalProperties/package.json @@ -4,7 +4,7 @@ "author": "Microsoft Corporation", "description": "A generated SDK for AdditionalPropertiesClient.", "version": "1.0.0-preview1", - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/core-client": "^1.7.0", "@azure/core-rest-pipeline": "^1.12.0", @@ -37,7 +37,7 @@ "@types/chai": "^4.2.8", "chai": "^4.2.0", "cross-env": "^7.0.2", - "@types/node": "^16.0.0", + "@types/node": "^18.0.0", "ts-node": "^10.0.0" }, "repository": { diff --git a/packages/autorest.typescript/test/integration/generated/appconfiguration/package.json b/packages/autorest.typescript/test/integration/generated/appconfiguration/package.json index 896bd25c5a..9f8b722d60 100644 --- a/packages/autorest.typescript/test/integration/generated/appconfiguration/package.json +++ b/packages/autorest.typescript/test/integration/generated/appconfiguration/package.json @@ -4,7 +4,7 @@ "author": "Microsoft Corporation", "description": "A generated SDK for AppConfigurationClient.", "version": "1.0.0-preview1", - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/core-paging": "^1.2.0", "@azure/core-client": "^1.7.0", diff --git a/packages/autorest.typescript/test/integration/generated/appconfigurationexport/package.json b/packages/autorest.typescript/test/integration/generated/appconfigurationexport/package.json index 896bd25c5a..9f8b722d60 100644 --- a/packages/autorest.typescript/test/integration/generated/appconfigurationexport/package.json +++ b/packages/autorest.typescript/test/integration/generated/appconfigurationexport/package.json @@ -4,7 +4,7 @@ "author": "Microsoft Corporation", "description": "A generated SDK for AppConfigurationClient.", "version": "1.0.0-preview1", - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/core-paging": "^1.2.0", "@azure/core-client": "^1.7.0", diff --git a/packages/autorest.typescript/test/integration/generated/arrayConstraints/package.json b/packages/autorest.typescript/test/integration/generated/arrayConstraints/package.json index 93f5cddf67..64e8c40c50 100644 --- a/packages/autorest.typescript/test/integration/generated/arrayConstraints/package.json +++ b/packages/autorest.typescript/test/integration/generated/arrayConstraints/package.json @@ -4,7 +4,7 @@ "author": "Microsoft Corporation", "description": "A generated SDK for ArrayConstraintsClient.", "version": "1.0.0-preview1", - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/core-client": "^1.7.0", "@azure/core-rest-pipeline": "^1.12.0", diff --git a/packages/autorest.typescript/test/integration/generated/attestation/package.json b/packages/autorest.typescript/test/integration/generated/attestation/package.json index 8550d87707..4a7a98d7f3 100644 --- a/packages/autorest.typescript/test/integration/generated/attestation/package.json +++ b/packages/autorest.typescript/test/integration/generated/attestation/package.json @@ -4,7 +4,7 @@ "author": "Microsoft Corporation", "description": "A generated SDK for GeneratedClient.", "version": "1.0.0-preview1", - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/core-client": "^1.7.0", "@azure/core-rest-pipeline": "^1.12.0", diff --git a/packages/autorest.typescript/test/integration/generated/azureParameterGrouping/package.json b/packages/autorest.typescript/test/integration/generated/azureParameterGrouping/package.json index 54c78377f5..3651bb42c3 100644 --- a/packages/autorest.typescript/test/integration/generated/azureParameterGrouping/package.json +++ b/packages/autorest.typescript/test/integration/generated/azureParameterGrouping/package.json @@ -4,7 +4,7 @@ "author": "Microsoft Corporation", "description": "A generated SDK for AzureParameterGroupingClient.", "version": "1.0.0-preview1", - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/core-client": "^1.7.0", "@azure/core-rest-pipeline": "^1.12.0", diff --git a/packages/autorest.typescript/test/integration/generated/azureReport/package.json b/packages/autorest.typescript/test/integration/generated/azureReport/package.json index d59fdb2ad2..0bf3943b70 100644 --- a/packages/autorest.typescript/test/integration/generated/azureReport/package.json +++ b/packages/autorest.typescript/test/integration/generated/azureReport/package.json @@ -4,7 +4,7 @@ "author": "Microsoft Corporation", "description": "A generated SDK for ReportClient.", "version": "1.0.0-preview1", - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/core-client": "^1.7.0", "@azure/core-rest-pipeline": "^1.12.0", diff --git a/packages/autorest.typescript/test/integration/generated/azureSpecialProperties/package.json b/packages/autorest.typescript/test/integration/generated/azureSpecialProperties/package.json index c21e9c2eee..80d8524b3e 100644 --- a/packages/autorest.typescript/test/integration/generated/azureSpecialProperties/package.json +++ b/packages/autorest.typescript/test/integration/generated/azureSpecialProperties/package.json @@ -4,7 +4,7 @@ "author": "Microsoft Corporation", "description": "A generated SDK for AzureSpecialPropertiesClient.", "version": "1.0.0-preview1", - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/core-client": "^1.7.0", "@azure/core-auth": "^1.3.0", diff --git a/packages/autorest.typescript/test/integration/generated/bodyArray/package.json b/packages/autorest.typescript/test/integration/generated/bodyArray/package.json index 98a8d92f40..5c296452f5 100644 --- a/packages/autorest.typescript/test/integration/generated/bodyArray/package.json +++ b/packages/autorest.typescript/test/integration/generated/bodyArray/package.json @@ -4,7 +4,7 @@ "author": "Microsoft Corporation", "description": "A generated SDK for BodyArrayClient.", "version": "1.0.0-preview1", - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/core-client": "^1.7.0", "@azure/core-rest-pipeline": "^1.12.0", diff --git a/packages/autorest.typescript/test/integration/generated/bodyBoolean/package.json b/packages/autorest.typescript/test/integration/generated/bodyBoolean/package.json index 9c52e24df7..b402f935a4 100644 --- a/packages/autorest.typescript/test/integration/generated/bodyBoolean/package.json +++ b/packages/autorest.typescript/test/integration/generated/bodyBoolean/package.json @@ -4,7 +4,7 @@ "author": "Microsoft Corporation", "description": "A generated SDK for BodyBooleanClient.", "version": "1.0.0-preview1", - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/core-client": "^1.7.0", "@azure/core-rest-pipeline": "^1.12.0", diff --git a/packages/autorest.typescript/test/integration/generated/bodyBooleanQuirks/package.json b/packages/autorest.typescript/test/integration/generated/bodyBooleanQuirks/package.json index 412b10ef51..7c4e56303b 100644 --- a/packages/autorest.typescript/test/integration/generated/bodyBooleanQuirks/package.json +++ b/packages/autorest.typescript/test/integration/generated/bodyBooleanQuirks/package.json @@ -4,7 +4,7 @@ "author": "Microsoft Corporation", "description": "A generated SDK for BodyBooleanQuirksClient.", "version": "1.0.0-preview1", - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/core-client": "^1.7.0", "@azure/core-rest-pipeline": "^1.12.0", diff --git a/packages/autorest.typescript/test/integration/generated/bodyByte/package.json b/packages/autorest.typescript/test/integration/generated/bodyByte/package.json index ca6d83d9b5..4f27aa6d72 100644 --- a/packages/autorest.typescript/test/integration/generated/bodyByte/package.json +++ b/packages/autorest.typescript/test/integration/generated/bodyByte/package.json @@ -4,7 +4,7 @@ "author": "Microsoft Corporation", "description": "A generated SDK for BodyByteClient.", "version": "1.0.0-preview1", - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/core-client": "^1.7.0", "@azure/core-rest-pipeline": "^1.12.0", diff --git a/packages/autorest.typescript/test/integration/generated/bodyComplex/package.json b/packages/autorest.typescript/test/integration/generated/bodyComplex/package.json index 0abf027be8..4497bb3ad4 100644 --- a/packages/autorest.typescript/test/integration/generated/bodyComplex/package.json +++ b/packages/autorest.typescript/test/integration/generated/bodyComplex/package.json @@ -4,7 +4,7 @@ "author": "Microsoft Corporation", "description": "A generated SDK for BodyComplexClient.", "version": "1.0.0-preview1", - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/core-client": "^1.7.0", "@azure/core-rest-pipeline": "^1.12.0", diff --git a/packages/autorest.typescript/test/integration/generated/bodyComplexWithTracing/package.json b/packages/autorest.typescript/test/integration/generated/bodyComplexWithTracing/package.json index eb03439232..5fa41396a8 100644 --- a/packages/autorest.typescript/test/integration/generated/bodyComplexWithTracing/package.json +++ b/packages/autorest.typescript/test/integration/generated/bodyComplexWithTracing/package.json @@ -4,7 +4,7 @@ "author": "Microsoft Corporation", "description": "A generated SDK for BodyComplexWithTracing.", "version": "1.0.0-preview1", - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/core-client": "^1.7.0", "@azure/core-rest-pipeline": "^1.12.0", diff --git a/packages/autorest.typescript/test/integration/generated/bodyDate/package.json b/packages/autorest.typescript/test/integration/generated/bodyDate/package.json index dcd7bbf799..356c1c0bc0 100644 --- a/packages/autorest.typescript/test/integration/generated/bodyDate/package.json +++ b/packages/autorest.typescript/test/integration/generated/bodyDate/package.json @@ -4,7 +4,7 @@ "author": "Microsoft Corporation", "description": "A generated SDK for BodyDateClient.", "version": "1.0.0-preview1", - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/core-client": "^1.7.0", "@azure/core-rest-pipeline": "^1.12.0", diff --git a/packages/autorest.typescript/test/integration/generated/bodyDateTime/package.json b/packages/autorest.typescript/test/integration/generated/bodyDateTime/package.json index 975eee50a6..a0cf51b138 100644 --- a/packages/autorest.typescript/test/integration/generated/bodyDateTime/package.json +++ b/packages/autorest.typescript/test/integration/generated/bodyDateTime/package.json @@ -4,7 +4,7 @@ "author": "Microsoft Corporation", "description": "A generated SDK for BodyDateTimeClient.", "version": "1.0.0-preview1", - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/core-client": "^1.7.0", "@azure/core-rest-pipeline": "^1.12.0", diff --git a/packages/autorest.typescript/test/integration/generated/bodyDateTimeRfc1123/package.json b/packages/autorest.typescript/test/integration/generated/bodyDateTimeRfc1123/package.json index 4ad5bf31fb..f0f634a0b7 100644 --- a/packages/autorest.typescript/test/integration/generated/bodyDateTimeRfc1123/package.json +++ b/packages/autorest.typescript/test/integration/generated/bodyDateTimeRfc1123/package.json @@ -4,7 +4,7 @@ "author": "Microsoft Corporation", "description": "A generated SDK for BodyDateTimeRfc1123Client.", "version": "1.0.0-preview1", - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/core-client": "^1.7.0", "@azure/core-rest-pipeline": "^1.12.0", diff --git a/packages/autorest.typescript/test/integration/generated/bodyDictionary/package.json b/packages/autorest.typescript/test/integration/generated/bodyDictionary/package.json index 18399ed02b..a38d1544e8 100644 --- a/packages/autorest.typescript/test/integration/generated/bodyDictionary/package.json +++ b/packages/autorest.typescript/test/integration/generated/bodyDictionary/package.json @@ -4,7 +4,7 @@ "author": "Microsoft Corporation", "description": "A generated SDK for BodyDictionaryClient.", "version": "1.0.0-preview1", - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/core-client": "^1.7.0", "@azure/core-rest-pipeline": "^1.12.0", diff --git a/packages/autorest.typescript/test/integration/generated/bodyDuration/package.json b/packages/autorest.typescript/test/integration/generated/bodyDuration/package.json index ac3a55af04..eb2f9c2975 100644 --- a/packages/autorest.typescript/test/integration/generated/bodyDuration/package.json +++ b/packages/autorest.typescript/test/integration/generated/bodyDuration/package.json @@ -4,7 +4,7 @@ "author": "Microsoft Corporation", "description": "A generated SDK for BodyDurationClient.", "version": "1.0.0-preview1", - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/core-client": "^1.7.0", "@azure/core-rest-pipeline": "^1.12.0", diff --git a/packages/autorest.typescript/test/integration/generated/bodyFile/package.json b/packages/autorest.typescript/test/integration/generated/bodyFile/package.json index eca093946f..66a532710b 100644 --- a/packages/autorest.typescript/test/integration/generated/bodyFile/package.json +++ b/packages/autorest.typescript/test/integration/generated/bodyFile/package.json @@ -4,7 +4,7 @@ "author": "Microsoft Corporation", "description": "A generated SDK for BodyFileClient.", "version": "1.0.0-preview1", - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/core-client": "^1.7.0", "@azure/core-rest-pipeline": "^1.12.0", diff --git a/packages/autorest.typescript/test/integration/generated/bodyFormData/package.json b/packages/autorest.typescript/test/integration/generated/bodyFormData/package.json index 05e71651e0..a8dacb84b3 100644 --- a/packages/autorest.typescript/test/integration/generated/bodyFormData/package.json +++ b/packages/autorest.typescript/test/integration/generated/bodyFormData/package.json @@ -4,7 +4,7 @@ "author": "Microsoft Corporation", "description": "A generated SDK for BodyFormDataClient.", "version": "1.0.0-preview1", - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/core-client": "^1.7.0", "@azure/core-rest-pipeline": "^1.12.0", diff --git a/packages/autorest.typescript/test/integration/generated/bodyInteger/package.json b/packages/autorest.typescript/test/integration/generated/bodyInteger/package.json index 8562d73f35..f96eb85e27 100644 --- a/packages/autorest.typescript/test/integration/generated/bodyInteger/package.json +++ b/packages/autorest.typescript/test/integration/generated/bodyInteger/package.json @@ -4,7 +4,7 @@ "author": "Microsoft Corporation", "description": "A generated SDK for BodyIntegerClient.", "version": "1.0.0-preview1", - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/core-client": "^1.7.0", "@azure/core-rest-pipeline": "^1.12.0", diff --git a/packages/autorest.typescript/test/integration/generated/bodyNumber/package.json b/packages/autorest.typescript/test/integration/generated/bodyNumber/package.json index ed1ffacda9..c67ce49899 100644 --- a/packages/autorest.typescript/test/integration/generated/bodyNumber/package.json +++ b/packages/autorest.typescript/test/integration/generated/bodyNumber/package.json @@ -4,7 +4,7 @@ "author": "Microsoft Corporation", "description": "A generated SDK for BodyNumberClient.", "version": "1.0.0-preview1", - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/core-client": "^1.7.0", "@azure/core-rest-pipeline": "^1.12.0", diff --git a/packages/autorest.typescript/test/integration/generated/bodyString/package.json b/packages/autorest.typescript/test/integration/generated/bodyString/package.json index 4114070126..664fca5366 100644 --- a/packages/autorest.typescript/test/integration/generated/bodyString/package.json +++ b/packages/autorest.typescript/test/integration/generated/bodyString/package.json @@ -4,7 +4,7 @@ "author": "Microsoft Corporation", "description": "A generated SDK for BodyStringClient.", "version": "1.0.0-preview1", - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/core-client": "^1.7.0", "@azure/core-rest-pipeline": "^1.12.0", diff --git a/packages/autorest.typescript/test/integration/generated/bodyTime/package.json b/packages/autorest.typescript/test/integration/generated/bodyTime/package.json index fab14b8f44..e4f09ebd2e 100644 --- a/packages/autorest.typescript/test/integration/generated/bodyTime/package.json +++ b/packages/autorest.typescript/test/integration/generated/bodyTime/package.json @@ -4,7 +4,7 @@ "author": "Microsoft Corporation", "description": "A generated SDK for BodyTimeClient.", "version": "1.0.0-preview1", - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/core-client": "^1.7.0", "@azure/core-rest-pipeline": "^1.12.0", diff --git a/packages/autorest.typescript/test/integration/generated/constantParam/package.json b/packages/autorest.typescript/test/integration/generated/constantParam/package.json index 6eb833a539..43ec4b8017 100644 --- a/packages/autorest.typescript/test/integration/generated/constantParam/package.json +++ b/packages/autorest.typescript/test/integration/generated/constantParam/package.json @@ -4,7 +4,7 @@ "author": "Microsoft Corporation", "description": "A generated SDK for GeneratedClient.", "version": "1.0.0-preview1", - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/core-client": "^1.7.0", "@azure/core-rest-pipeline": "^1.12.0", diff --git a/packages/autorest.typescript/test/integration/generated/corecompattest/package.json b/packages/autorest.typescript/test/integration/generated/corecompattest/package.json index 5a1771daf3..0ec7f65c73 100644 --- a/packages/autorest.typescript/test/integration/generated/corecompattest/package.json +++ b/packages/autorest.typescript/test/integration/generated/corecompattest/package.json @@ -4,7 +4,7 @@ "author": "Microsoft Corporation", "description": "A generated SDK for PetStore.", "version": "1.0.0-preview1", - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/core-client": "^1.7.0", "@azure/core-auth": "^1.3.0", diff --git a/packages/autorest.typescript/test/integration/generated/customUrl/package.json b/packages/autorest.typescript/test/integration/generated/customUrl/package.json index 83059bc702..f9131e73a3 100644 --- a/packages/autorest.typescript/test/integration/generated/customUrl/package.json +++ b/packages/autorest.typescript/test/integration/generated/customUrl/package.json @@ -4,7 +4,7 @@ "author": "Microsoft Corporation", "description": "A generated SDK for CustomUrlClient.", "version": "1.0.0-preview1", - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/core-client": "^1.7.0", "@azure/core-rest-pipeline": "^1.12.0", diff --git a/packages/autorest.typescript/test/integration/generated/customUrlMoreOptions/package.json b/packages/autorest.typescript/test/integration/generated/customUrlMoreOptions/package.json index 2287f8de53..09595b67e7 100644 --- a/packages/autorest.typescript/test/integration/generated/customUrlMoreOptions/package.json +++ b/packages/autorest.typescript/test/integration/generated/customUrlMoreOptions/package.json @@ -4,7 +4,7 @@ "author": "Microsoft Corporation", "description": "A generated SDK for CustomUrlMoreOptionsClient.", "version": "1.0.0-preview1", - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/core-client": "^1.7.0", "@azure/core-rest-pipeline": "^1.12.0", diff --git a/packages/autorest.typescript/test/integration/generated/customUrlPaging/package.json b/packages/autorest.typescript/test/integration/generated/customUrlPaging/package.json index de9e65ced3..6c21f6b89a 100644 --- a/packages/autorest.typescript/test/integration/generated/customUrlPaging/package.json +++ b/packages/autorest.typescript/test/integration/generated/customUrlPaging/package.json @@ -4,7 +4,7 @@ "author": "Microsoft Corporation", "description": "A generated SDK for CustomUrlPagingClient.", "version": "1.0.0-preview1", - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/core-paging": "^1.2.0", "@azure/core-client": "^1.7.0", diff --git a/packages/autorest.typescript/test/integration/generated/datafactory/package.json b/packages/autorest.typescript/test/integration/generated/datafactory/package.json index 1ec8f3dbb7..456efa3f2e 100644 --- a/packages/autorest.typescript/test/integration/generated/datafactory/package.json +++ b/packages/autorest.typescript/test/integration/generated/datafactory/package.json @@ -4,7 +4,7 @@ "author": "Microsoft Corporation", "description": "A generated SDK for DataFactoryClient.", "version": "1.0.0-preview1", - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/core-lro": "^2.5.4", "@azure/abort-controller": "^1.0.0", diff --git a/packages/autorest.typescript/test/integration/generated/datalakestorage/package.json b/packages/autorest.typescript/test/integration/generated/datalakestorage/package.json index e954063a8a..b733fb4631 100644 --- a/packages/autorest.typescript/test/integration/generated/datalakestorage/package.json +++ b/packages/autorest.typescript/test/integration/generated/datalakestorage/package.json @@ -4,7 +4,7 @@ "author": "Microsoft Corporation", "description": "A generated SDK for DataLakeStorageClient.", "version": "1.0.0-preview1", - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/core-client": "^1.7.0", "@azure/core-rest-pipeline": "^1.12.0", diff --git a/packages/autorest.typescript/test/integration/generated/datasearch/package.json b/packages/autorest.typescript/test/integration/generated/datasearch/package.json index a6ff734271..c3a7ed2968 100644 --- a/packages/autorest.typescript/test/integration/generated/datasearch/package.json +++ b/packages/autorest.typescript/test/integration/generated/datasearch/package.json @@ -4,7 +4,7 @@ "author": "Microsoft Corporation", "description": "A generated SDK for DataSearchClient.", "version": "1.0.0-preview1", - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/core-client": "^1.7.0", "@azure/core-http-compat": "^1.2.0", @@ -38,7 +38,7 @@ "@types/chai": "^4.2.8", "chai": "^4.2.0", "cross-env": "^7.0.2", - "@types/node": "^16.0.0", + "@types/node": "^18.0.0", "ts-node": "^10.0.0" }, "repository": { diff --git a/packages/autorest.typescript/test/integration/generated/deviceprovisioningservice/package.json b/packages/autorest.typescript/test/integration/generated/deviceprovisioningservice/package.json index 31f557aaf5..f096829c71 100644 --- a/packages/autorest.typescript/test/integration/generated/deviceprovisioningservice/package.json +++ b/packages/autorest.typescript/test/integration/generated/deviceprovisioningservice/package.json @@ -4,7 +4,7 @@ "author": "Microsoft Corporation", "description": "A generated SDK for DeviceProvisioningClient.", "version": "1.0.0-preview1", - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/core-lro": "^2.5.4", "@azure/abort-controller": "^1.0.0", diff --git a/packages/autorest.typescript/test/integration/generated/domainservices/package.json b/packages/autorest.typescript/test/integration/generated/domainservices/package.json index 36c4f3358f..af2c97af37 100644 --- a/packages/autorest.typescript/test/integration/generated/domainservices/package.json +++ b/packages/autorest.typescript/test/integration/generated/domainservices/package.json @@ -4,7 +4,7 @@ "author": "Microsoft Corporation", "description": "A generated SDK for DomainServicesClient.", "version": "1.0.0-preview1", - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/core-lro": "^2.5.4", "@azure/abort-controller": "^1.0.0", diff --git a/packages/autorest.typescript/test/integration/generated/extensibleEnums/package.json b/packages/autorest.typescript/test/integration/generated/extensibleEnums/package.json index 4dbf8c9d6e..93b4b1c4e9 100644 --- a/packages/autorest.typescript/test/integration/generated/extensibleEnums/package.json +++ b/packages/autorest.typescript/test/integration/generated/extensibleEnums/package.json @@ -4,7 +4,7 @@ "author": "Microsoft Corporation", "description": "A generated SDK for ExtensibleEnumsClient.", "version": "1.0.0-preview1", - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/core-client": "^1.7.0", "@azure/core-rest-pipeline": "^1.12.0", diff --git a/packages/autorest.typescript/test/integration/generated/header/package.json b/packages/autorest.typescript/test/integration/generated/header/package.json index adf86ba2aa..9c82de7754 100644 --- a/packages/autorest.typescript/test/integration/generated/header/package.json +++ b/packages/autorest.typescript/test/integration/generated/header/package.json @@ -4,7 +4,7 @@ "author": "Microsoft Corporation", "description": "A generated SDK for HeaderClient.", "version": "1.0.0-preview1", - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/core-client": "^1.7.0", "@azure/core-rest-pipeline": "^1.12.0", diff --git a/packages/autorest.typescript/test/integration/generated/headerprefix/package.json b/packages/autorest.typescript/test/integration/generated/headerprefix/package.json index 9a01bddb7e..a03ecedfe6 100644 --- a/packages/autorest.typescript/test/integration/generated/headerprefix/package.json +++ b/packages/autorest.typescript/test/integration/generated/headerprefix/package.json @@ -4,7 +4,7 @@ "author": "Microsoft Corporation", "description": "A generated SDK for HeaderPrefixClient.", "version": "1.0.0-preview1", - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/core-client": "^1.7.0", "@azure/core-rest-pipeline": "^1.12.0", diff --git a/packages/autorest.typescript/test/integration/generated/healthcareapis/package.json b/packages/autorest.typescript/test/integration/generated/healthcareapis/package.json index 5b5cbc10d5..61dfc610fa 100644 --- a/packages/autorest.typescript/test/integration/generated/healthcareapis/package.json +++ b/packages/autorest.typescript/test/integration/generated/healthcareapis/package.json @@ -4,7 +4,7 @@ "author": "Microsoft Corporation", "description": "A generated SDK for HealthCareApisClient.", "version": "1.0.0-preview1", - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/core-lro": "^2.5.4", "@azure/abort-controller": "^1.0.0", diff --git a/packages/autorest.typescript/test/integration/generated/httpInfrastructure/package.json b/packages/autorest.typescript/test/integration/generated/httpInfrastructure/package.json index a50f8763f2..a8c134dade 100644 --- a/packages/autorest.typescript/test/integration/generated/httpInfrastructure/package.json +++ b/packages/autorest.typescript/test/integration/generated/httpInfrastructure/package.json @@ -4,7 +4,7 @@ "author": "Microsoft Corporation", "description": "A generated SDK for HttpInfrastructureClient.", "version": "1.0.0-preview1", - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/core-client": "^1.7.0", "@azure/core-rest-pipeline": "^1.12.0", diff --git a/packages/autorest.typescript/test/integration/generated/iotspaces/package.json b/packages/autorest.typescript/test/integration/generated/iotspaces/package.json index c0977c96af..ae55ea8801 100644 --- a/packages/autorest.typescript/test/integration/generated/iotspaces/package.json +++ b/packages/autorest.typescript/test/integration/generated/iotspaces/package.json @@ -4,7 +4,7 @@ "author": "Microsoft Corporation", "description": "A generated SDK for IoTSpacesClient.", "version": "1.0.0-preview1", - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/core-client": "^1.7.0", "@azure/core-auth": "^1.3.0", diff --git a/packages/autorest.typescript/test/integration/generated/licenseHeader/package.json b/packages/autorest.typescript/test/integration/generated/licenseHeader/package.json index ce8077679e..36944bc1e2 100644 --- a/packages/autorest.typescript/test/integration/generated/licenseHeader/package.json +++ b/packages/autorest.typescript/test/integration/generated/licenseHeader/package.json @@ -4,7 +4,7 @@ "author": "Microsoft Corporation", "description": "A generated SDK for LicenseHeaderClient.", "version": "1.0.0-preview1", - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/core-client": "^1.7.0", "@azure/core-rest-pipeline": "^1.12.0", diff --git a/packages/autorest.typescript/test/integration/generated/lro/package.json b/packages/autorest.typescript/test/integration/generated/lro/package.json index e3fcf6ec37..660e1b1c6e 100644 --- a/packages/autorest.typescript/test/integration/generated/lro/package.json +++ b/packages/autorest.typescript/test/integration/generated/lro/package.json @@ -4,7 +4,7 @@ "author": "Microsoft Corporation", "description": "A generated SDK for LROClient.", "version": "1.0.0-preview1", - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/core-lro": "^2.5.4", "@azure/abort-controller": "^1.0.0", diff --git a/packages/autorest.typescript/test/integration/generated/lroParametrizedEndpoints/package.json b/packages/autorest.typescript/test/integration/generated/lroParametrizedEndpoints/package.json index ac9437a5c9..2cecd3a854 100644 --- a/packages/autorest.typescript/test/integration/generated/lroParametrizedEndpoints/package.json +++ b/packages/autorest.typescript/test/integration/generated/lroParametrizedEndpoints/package.json @@ -4,7 +4,7 @@ "author": "Microsoft Corporation", "description": "A generated SDK for LroParametrizedEndpointsClient.", "version": "1.0.0-preview1", - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/core-lro": "^2.5.4", "@azure/abort-controller": "^1.0.0", diff --git a/packages/autorest.typescript/test/integration/generated/mapperrequired/package.json b/packages/autorest.typescript/test/integration/generated/mapperrequired/package.json index 93209d2202..9e866fa1c9 100644 --- a/packages/autorest.typescript/test/integration/generated/mapperrequired/package.json +++ b/packages/autorest.typescript/test/integration/generated/mapperrequired/package.json @@ -4,7 +4,7 @@ "author": "Microsoft Corporation", "description": "A generated SDK for MapperRequiredClient.", "version": "1.0.0-preview1", - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/core-client": "^1.7.0", "@azure/core-rest-pipeline": "^1.12.0", diff --git a/packages/autorest.typescript/test/integration/generated/mediaTypes/package.json b/packages/autorest.typescript/test/integration/generated/mediaTypes/package.json index 2bc1752c97..db620d3888 100644 --- a/packages/autorest.typescript/test/integration/generated/mediaTypes/package.json +++ b/packages/autorest.typescript/test/integration/generated/mediaTypes/package.json @@ -4,7 +4,7 @@ "author": "Microsoft Corporation", "description": "A generated SDK for MediaTypesClient.", "version": "1.0.0-preview1", - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/core-client": "^1.7.0", "@azure/core-rest-pipeline": "^1.12.0", diff --git a/packages/autorest.typescript/test/integration/generated/mediaTypesV3/package.json b/packages/autorest.typescript/test/integration/generated/mediaTypesV3/package.json index ae2d1fac70..b12134a8af 100644 --- a/packages/autorest.typescript/test/integration/generated/mediaTypesV3/package.json +++ b/packages/autorest.typescript/test/integration/generated/mediaTypesV3/package.json @@ -4,7 +4,7 @@ "author": "Microsoft Corporation", "description": "A generated SDK for MediaTypesV3Client.", "version": "1.0.0-preview1", - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/core-client": "^1.7.0", "@azure/core-rest-pipeline": "^1.12.0", diff --git a/packages/autorest.typescript/test/integration/generated/mediaTypesV3Lro/package.json b/packages/autorest.typescript/test/integration/generated/mediaTypesV3Lro/package.json index 02187939a8..36a80b7fb2 100644 --- a/packages/autorest.typescript/test/integration/generated/mediaTypesV3Lro/package.json +++ b/packages/autorest.typescript/test/integration/generated/mediaTypesV3Lro/package.json @@ -4,7 +4,7 @@ "author": "Microsoft Corporation", "description": "A generated SDK for MediaTypesV3LROClient.", "version": "1.0.0-preview1", - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/core-lro": "^2.5.4", "@azure/abort-controller": "^1.0.0", diff --git a/packages/autorest.typescript/test/integration/generated/mediaTypesWithTracing/package.json b/packages/autorest.typescript/test/integration/generated/mediaTypesWithTracing/package.json index 0d7358f159..473b933361 100644 --- a/packages/autorest.typescript/test/integration/generated/mediaTypesWithTracing/package.json +++ b/packages/autorest.typescript/test/integration/generated/mediaTypesWithTracing/package.json @@ -4,7 +4,7 @@ "author": "Microsoft Corporation", "description": "A generated SDK for MediaTypesWithTracingClient.", "version": "1.0.0-preview1", - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/core-client": "^1.7.0", "@azure/core-rest-pipeline": "^1.12.0", diff --git a/packages/autorest.typescript/test/integration/generated/modelFlattening/package.json b/packages/autorest.typescript/test/integration/generated/modelFlattening/package.json index 0b0404c34a..28d4aa74d1 100644 --- a/packages/autorest.typescript/test/integration/generated/modelFlattening/package.json +++ b/packages/autorest.typescript/test/integration/generated/modelFlattening/package.json @@ -4,7 +4,7 @@ "author": "Microsoft Corporation", "description": "A generated SDK for ModelFlatteningClient.", "version": "1.0.0-preview1", - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/core-client": "^1.7.0", "@azure/core-rest-pipeline": "^1.12.0", diff --git a/packages/autorest.typescript/test/integration/generated/multipleInheritance/package.json b/packages/autorest.typescript/test/integration/generated/multipleInheritance/package.json index 556fddee78..63c30ea9b0 100644 --- a/packages/autorest.typescript/test/integration/generated/multipleInheritance/package.json +++ b/packages/autorest.typescript/test/integration/generated/multipleInheritance/package.json @@ -4,7 +4,7 @@ "author": "Microsoft Corporation", "description": "A generated SDK for MultipleInheritanceClient.", "version": "1.0.0-preview1", - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/core-client": "^1.7.0", "@azure/core-rest-pipeline": "^1.12.0", diff --git a/packages/autorest.typescript/test/integration/generated/nameChecker/package.json b/packages/autorest.typescript/test/integration/generated/nameChecker/package.json index d2e2beafb0..12ac2c6719 100644 --- a/packages/autorest.typescript/test/integration/generated/nameChecker/package.json +++ b/packages/autorest.typescript/test/integration/generated/nameChecker/package.json @@ -4,7 +4,7 @@ "author": "Microsoft Corporation", "description": "A generated SDK for SearchClient.", "version": "1.0.0-preview1", - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/core-client": "^1.7.0", "@azure/core-rest-pipeline": "^1.12.0", diff --git a/packages/autorest.typescript/test/integration/generated/noLicenseHeader/package.json b/packages/autorest.typescript/test/integration/generated/noLicenseHeader/package.json index e8e324620c..223e6504ea 100644 --- a/packages/autorest.typescript/test/integration/generated/noLicenseHeader/package.json +++ b/packages/autorest.typescript/test/integration/generated/noLicenseHeader/package.json @@ -4,7 +4,7 @@ "author": "Microsoft Corporation", "description": "A generated SDK for NoLicenseHeaderClient.", "version": "1.0.0-preview1", - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/core-client": "^1.7.0", "@azure/core-rest-pipeline": "^1.12.0", diff --git a/packages/autorest.typescript/test/integration/generated/noMappers/package.json b/packages/autorest.typescript/test/integration/generated/noMappers/package.json index 7ecbe7cf5f..413c5bef48 100644 --- a/packages/autorest.typescript/test/integration/generated/noMappers/package.json +++ b/packages/autorest.typescript/test/integration/generated/noMappers/package.json @@ -4,7 +4,7 @@ "author": "Microsoft Corporation", "description": "A generated SDK for NoMappersClient.", "version": "1.0.0-preview1", - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/core-client": "^1.7.0", "@azure/core-rest-pipeline": "^1.12.0", diff --git a/packages/autorest.typescript/test/integration/generated/noOperation/package.json b/packages/autorest.typescript/test/integration/generated/noOperation/package.json index d21403dd88..0bbee31d98 100644 --- a/packages/autorest.typescript/test/integration/generated/noOperation/package.json +++ b/packages/autorest.typescript/test/integration/generated/noOperation/package.json @@ -4,7 +4,7 @@ "author": "Microsoft Corporation", "description": "A generated SDK for NoOperationsClient.", "version": "1.0.0-preview1", - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/core-client": "^1.7.0", "@azure/core-rest-pipeline": "^1.12.0", diff --git a/packages/autorest.typescript/test/integration/generated/nonStringEnum/package.json b/packages/autorest.typescript/test/integration/generated/nonStringEnum/package.json index a5758afb98..86da362b21 100644 --- a/packages/autorest.typescript/test/integration/generated/nonStringEnum/package.json +++ b/packages/autorest.typescript/test/integration/generated/nonStringEnum/package.json @@ -4,7 +4,7 @@ "author": "Microsoft Corporation", "description": "A generated SDK for NonStringEnumClient.", "version": "1.0.0-preview1", - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/core-client": "^1.7.0", "@azure/core-rest-pipeline": "^1.12.0", diff --git a/packages/autorest.typescript/test/integration/generated/objectType/package.json b/packages/autorest.typescript/test/integration/generated/objectType/package.json index bc3b9cc158..d39d37f114 100644 --- a/packages/autorest.typescript/test/integration/generated/objectType/package.json +++ b/packages/autorest.typescript/test/integration/generated/objectType/package.json @@ -4,7 +4,7 @@ "author": "Microsoft Corporation", "description": "A generated SDK for ObjectTypeClient.", "version": "1.0.0-preview1", - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/core-client": "^1.7.0", "@azure/core-rest-pipeline": "^1.12.0", diff --git a/packages/autorest.typescript/test/integration/generated/odataDiscriminator/package.json b/packages/autorest.typescript/test/integration/generated/odataDiscriminator/package.json index f7ad67c4ce..dc5d86edf1 100644 --- a/packages/autorest.typescript/test/integration/generated/odataDiscriminator/package.json +++ b/packages/autorest.typescript/test/integration/generated/odataDiscriminator/package.json @@ -4,7 +4,7 @@ "author": "Microsoft Corporation", "description": "A generated SDK for ODataDiscriminatorClient.", "version": "1.0.0-preview1", - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/core-client": "^1.7.0", "@azure/core-rest-pipeline": "^1.12.0", diff --git a/packages/autorest.typescript/test/integration/generated/operationgroupclash/package.json b/packages/autorest.typescript/test/integration/generated/operationgroupclash/package.json index 983768e69c..8519e9d69b 100644 --- a/packages/autorest.typescript/test/integration/generated/operationgroupclash/package.json +++ b/packages/autorest.typescript/test/integration/generated/operationgroupclash/package.json @@ -4,7 +4,7 @@ "author": "Microsoft Corporation", "description": "A generated SDK for OperationGroupClashClient.", "version": "1.0.0-preview1", - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/core-client": "^1.7.0", "@azure/core-rest-pipeline": "^1.12.0", diff --git a/packages/autorest.typescript/test/integration/generated/optionalnull/package.json b/packages/autorest.typescript/test/integration/generated/optionalnull/package.json index fae905808b..234de30f5d 100644 --- a/packages/autorest.typescript/test/integration/generated/optionalnull/package.json +++ b/packages/autorest.typescript/test/integration/generated/optionalnull/package.json @@ -4,7 +4,7 @@ "author": "Microsoft Corporation", "description": "A generated SDK for OptionalNullClient.", "version": "1.0.0-preview1", - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/core-client": "^1.7.0", "@azure/core-rest-pipeline": "^1.12.0", diff --git a/packages/autorest.typescript/test/integration/generated/paging/package.json b/packages/autorest.typescript/test/integration/generated/paging/package.json index 654d5cdfa6..8126571247 100644 --- a/packages/autorest.typescript/test/integration/generated/paging/package.json +++ b/packages/autorest.typescript/test/integration/generated/paging/package.json @@ -4,7 +4,7 @@ "author": "Microsoft Corporation", "description": "A generated SDK for PagingClient.", "version": "1.0.0-preview1", - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/core-lro": "^2.5.4", "@azure/abort-controller": "^1.0.0", diff --git a/packages/autorest.typescript/test/integration/generated/pagingNoIterators/package.json b/packages/autorest.typescript/test/integration/generated/pagingNoIterators/package.json index f5974c708c..d293342371 100644 --- a/packages/autorest.typescript/test/integration/generated/pagingNoIterators/package.json +++ b/packages/autorest.typescript/test/integration/generated/pagingNoIterators/package.json @@ -4,7 +4,7 @@ "author": "Microsoft Corporation", "description": "A generated SDK for PagingNoIteratorsClient.", "version": "1.0.0-preview1", - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/core-lro": "^2.5.4", "@azure/abort-controller": "^1.0.0", diff --git a/packages/autorest.typescript/test/integration/generated/patterntest/package.json b/packages/autorest.typescript/test/integration/generated/patterntest/package.json index 70b8541cfb..9d7cffa539 100644 --- a/packages/autorest.typescript/test/integration/generated/patterntest/package.json +++ b/packages/autorest.typescript/test/integration/generated/patterntest/package.json @@ -4,7 +4,7 @@ "author": "Microsoft Corporation", "description": "A generated SDK for PatternTestClient.", "version": "1.0.0-preview1", - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/core-client": "^1.7.0", "@azure/core-http-compat": "^1.2.0", @@ -38,7 +38,7 @@ "@types/chai": "^4.2.8", "chai": "^4.2.0", "cross-env": "^7.0.2", - "@types/node": "^16.0.0", + "@types/node": "^18.0.0", "ts-node": "^10.0.0" }, "repository": { diff --git a/packages/autorest.typescript/test/integration/generated/petstore/package.json b/packages/autorest.typescript/test/integration/generated/petstore/package.json index 41e2c1903d..8c973aa061 100644 --- a/packages/autorest.typescript/test/integration/generated/petstore/package.json +++ b/packages/autorest.typescript/test/integration/generated/petstore/package.json @@ -4,7 +4,7 @@ "author": "Microsoft Corporation", "description": "A generated SDK for PetStore.", "version": "1.0.0-preview1", - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/core-client": "^1.7.0", "@azure/core-rest-pipeline": "^1.12.0", diff --git a/packages/autorest.typescript/test/integration/generated/readmeFileChecker/package.json b/packages/autorest.typescript/test/integration/generated/readmeFileChecker/package.json index 1b0472b5ff..a6591fd950 100644 --- a/packages/autorest.typescript/test/integration/generated/readmeFileChecker/package.json +++ b/packages/autorest.typescript/test/integration/generated/readmeFileChecker/package.json @@ -4,7 +4,7 @@ "author": "Microsoft Corporation", "description": "A generated SDK for KeyVaultClient.", "version": "1.0.0-preview1", - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/core-client": "^1.7.0", "@azure/core-rest-pipeline": "^1.12.0", diff --git a/packages/autorest.typescript/test/integration/generated/regexConstraint/package.json b/packages/autorest.typescript/test/integration/generated/regexConstraint/package.json index 3d8a9913c7..baca07bdce 100644 --- a/packages/autorest.typescript/test/integration/generated/regexConstraint/package.json +++ b/packages/autorest.typescript/test/integration/generated/regexConstraint/package.json @@ -4,7 +4,7 @@ "author": "Microsoft Corporation", "description": "A generated SDK for RegexConstraint.", "version": "1.0.0-preview1", - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/core-client": "^1.7.0", "@azure/core-rest-pipeline": "^1.12.0", diff --git a/packages/autorest.typescript/test/integration/generated/report/package.json b/packages/autorest.typescript/test/integration/generated/report/package.json index 8afc65822d..fd00569e44 100644 --- a/packages/autorest.typescript/test/integration/generated/report/package.json +++ b/packages/autorest.typescript/test/integration/generated/report/package.json @@ -4,7 +4,7 @@ "author": "Microsoft Corporation", "description": "A generated SDK for ReportClient.", "version": "1.0.0-preview1", - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/core-client": "^1.7.0", "@azure/core-rest-pipeline": "^1.12.0", diff --git a/packages/autorest.typescript/test/integration/generated/requiredOptional/package.json b/packages/autorest.typescript/test/integration/generated/requiredOptional/package.json index 50c310c1e1..6e352545ac 100644 --- a/packages/autorest.typescript/test/integration/generated/requiredOptional/package.json +++ b/packages/autorest.typescript/test/integration/generated/requiredOptional/package.json @@ -4,7 +4,7 @@ "author": "Microsoft Corporation", "description": "A generated SDK for RequiredOptionalClient.", "version": "1.0.0-preview1", - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/core-client": "^1.7.0", "@azure/core-rest-pipeline": "^1.12.0", diff --git a/packages/autorest.typescript/test/integration/generated/resources/package.json b/packages/autorest.typescript/test/integration/generated/resources/package.json index f05ce2113f..d4df020466 100644 --- a/packages/autorest.typescript/test/integration/generated/resources/package.json +++ b/packages/autorest.typescript/test/integration/generated/resources/package.json @@ -4,7 +4,7 @@ "author": "Microsoft Corporation", "description": "A generated SDK for ResourcesClient.", "version": "1.0.0-preview1", - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/core-client": "^1.7.0", "@azure/core-auth": "^1.3.0", diff --git a/packages/autorest.typescript/test/integration/generated/sealedchoice/package.json b/packages/autorest.typescript/test/integration/generated/sealedchoice/package.json index 38b9ad59fb..72f9c24ba6 100644 --- a/packages/autorest.typescript/test/integration/generated/sealedchoice/package.json +++ b/packages/autorest.typescript/test/integration/generated/sealedchoice/package.json @@ -4,7 +4,7 @@ "author": "Microsoft Corporation", "description": "A generated SDK for SealedChoiceClient.", "version": "1.0.0-preview1", - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/core-client": "^1.7.0", "@azure/core-rest-pipeline": "^1.12.0", diff --git a/packages/autorest.typescript/test/integration/generated/storageblob/package.json b/packages/autorest.typescript/test/integration/generated/storageblob/package.json index b8093b5336..97e055a1c8 100644 --- a/packages/autorest.typescript/test/integration/generated/storageblob/package.json +++ b/packages/autorest.typescript/test/integration/generated/storageblob/package.json @@ -4,7 +4,7 @@ "author": "Microsoft Corporation", "description": "A generated SDK for StorageBlobClient.", "version": "1.0.0-preview1", - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/core-client": "^1.7.0", "@azure/core-rest-pipeline": "^1.12.0", diff --git a/packages/autorest.typescript/test/integration/generated/storagefileshare/package.json b/packages/autorest.typescript/test/integration/generated/storagefileshare/package.json index cdf0f4f45b..84212b42e2 100644 --- a/packages/autorest.typescript/test/integration/generated/storagefileshare/package.json +++ b/packages/autorest.typescript/test/integration/generated/storagefileshare/package.json @@ -4,7 +4,7 @@ "author": "Microsoft Corporation", "description": "A generated SDK for StorageFileShareClient.", "version": "1.0.0-preview1", - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/core-client": "^1.7.0", "@azure/core-rest-pipeline": "^1.12.0", diff --git a/packages/autorest.typescript/test/integration/generated/subscriptionIdApiVersion/package.json b/packages/autorest.typescript/test/integration/generated/subscriptionIdApiVersion/package.json index d6b9c09562..435532f055 100644 --- a/packages/autorest.typescript/test/integration/generated/subscriptionIdApiVersion/package.json +++ b/packages/autorest.typescript/test/integration/generated/subscriptionIdApiVersion/package.json @@ -4,7 +4,7 @@ "author": "Microsoft Corporation", "description": "A generated SDK for SubscriptionIdApiVersionClient.", "version": "1.0.0-preview1", - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/core-client": "^1.7.0", "@azure/core-rest-pipeline": "^1.12.0", diff --git a/packages/autorest.typescript/test/integration/generated/textanalytics/package.json b/packages/autorest.typescript/test/integration/generated/textanalytics/package.json index d874c75c50..c7b3ed4233 100644 --- a/packages/autorest.typescript/test/integration/generated/textanalytics/package.json +++ b/packages/autorest.typescript/test/integration/generated/textanalytics/package.json @@ -4,7 +4,7 @@ "author": "Microsoft Corporation", "description": "A generated SDK for GeneratedClient.", "version": "1.0.0-preview1", - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/core-client": "^1.7.0", "@azure/core-rest-pipeline": "^1.12.0", diff --git a/packages/autorest.typescript/test/integration/generated/url/package.json b/packages/autorest.typescript/test/integration/generated/url/package.json index 0c1124e104..a39c5fcc2f 100644 --- a/packages/autorest.typescript/test/integration/generated/url/package.json +++ b/packages/autorest.typescript/test/integration/generated/url/package.json @@ -4,7 +4,7 @@ "author": "Microsoft Corporation", "description": "A generated SDK for UrlClient.", "version": "1.0.0-preview1", - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/core-client": "^1.7.0", "@azure/core-rest-pipeline": "^1.12.0", diff --git a/packages/autorest.typescript/test/integration/generated/url2/package.json b/packages/autorest.typescript/test/integration/generated/url2/package.json index 0c1124e104..a39c5fcc2f 100644 --- a/packages/autorest.typescript/test/integration/generated/url2/package.json +++ b/packages/autorest.typescript/test/integration/generated/url2/package.json @@ -4,7 +4,7 @@ "author": "Microsoft Corporation", "description": "A generated SDK for UrlClient.", "version": "1.0.0-preview1", - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/core-client": "^1.7.0", "@azure/core-rest-pipeline": "^1.12.0", diff --git a/packages/autorest.typescript/test/integration/generated/urlMulti/package.json b/packages/autorest.typescript/test/integration/generated/urlMulti/package.json index cf230b7a51..7bf4a52b09 100644 --- a/packages/autorest.typescript/test/integration/generated/urlMulti/package.json +++ b/packages/autorest.typescript/test/integration/generated/urlMulti/package.json @@ -4,7 +4,7 @@ "author": "Microsoft Corporation", "description": "A generated SDK for UrlMultiClient.", "version": "1.0.0-preview1", - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/core-client": "^1.7.0", "@azure/core-rest-pipeline": "^1.12.0", diff --git a/packages/autorest.typescript/test/integration/generated/useragentcorev1/package.json b/packages/autorest.typescript/test/integration/generated/useragentcorev1/package.json index b78498c6b3..b7cc546f74 100644 --- a/packages/autorest.typescript/test/integration/generated/useragentcorev1/package.json +++ b/packages/autorest.typescript/test/integration/generated/useragentcorev1/package.json @@ -4,7 +4,7 @@ "author": "Microsoft Corporation", "description": "A generated SDK for UserAgentCoreV1Client.", "version": "1.0.0-preview1", - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/core-http": "^2.0.0", "tslib": "^2.2.0" }, "keywords": ["node", "azure", "typescript", "browser", "isomorphic"], "license": "MIT", diff --git a/packages/autorest.typescript/test/integration/generated/useragentcorev2/package.json b/packages/autorest.typescript/test/integration/generated/useragentcorev2/package.json index 5d01ed3e7e..00b0e22f9b 100644 --- a/packages/autorest.typescript/test/integration/generated/useragentcorev2/package.json +++ b/packages/autorest.typescript/test/integration/generated/useragentcorev2/package.json @@ -4,7 +4,7 @@ "author": "Microsoft Corporation", "description": "A generated SDK for UserAgentCoreV2Client.", "version": "1.0.0-preview1", - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/core-client": "^1.7.0", "@azure/core-rest-pipeline": "^1.12.0", diff --git a/packages/autorest.typescript/test/integration/generated/uuid/package.json b/packages/autorest.typescript/test/integration/generated/uuid/package.json index b1a3d52c72..213a84b2a2 100644 --- a/packages/autorest.typescript/test/integration/generated/uuid/package.json +++ b/packages/autorest.typescript/test/integration/generated/uuid/package.json @@ -4,7 +4,7 @@ "author": "Microsoft Corporation", "description": "A generated SDK for UuidClient.", "version": "1.0.0-preview1", - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/core-client": "^1.7.0", "@azure/core-rest-pipeline": "^1.12.0", diff --git a/packages/autorest.typescript/test/integration/generated/validation/package.json b/packages/autorest.typescript/test/integration/generated/validation/package.json index 9e4a6b4524..e4b12282a1 100644 --- a/packages/autorest.typescript/test/integration/generated/validation/package.json +++ b/packages/autorest.typescript/test/integration/generated/validation/package.json @@ -4,7 +4,7 @@ "author": "Microsoft Corporation", "description": "A generated SDK for ValidationClient.", "version": "1.0.0-preview1", - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/core-client": "^1.7.0", "@azure/core-rest-pipeline": "^1.12.0", diff --git a/packages/autorest.typescript/test/integration/generated/xmlservice/package.json b/packages/autorest.typescript/test/integration/generated/xmlservice/package.json index 09db81383c..4bc8890c40 100644 --- a/packages/autorest.typescript/test/integration/generated/xmlservice/package.json +++ b/packages/autorest.typescript/test/integration/generated/xmlservice/package.json @@ -4,7 +4,7 @@ "author": "Microsoft Corporation", "description": "A generated SDK for XmlServiceClient.", "version": "1.0.0-preview1", - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/core-client": "^1.7.0", "@azure/core-rest-pipeline": "^1.12.0", diff --git a/packages/autorest.typescript/test/integration/generated/xmsErrorResponses/package.json b/packages/autorest.typescript/test/integration/generated/xmsErrorResponses/package.json index 55f024a4eb..22baf23cad 100644 --- a/packages/autorest.typescript/test/integration/generated/xmsErrorResponses/package.json +++ b/packages/autorest.typescript/test/integration/generated/xmsErrorResponses/package.json @@ -4,7 +4,7 @@ "author": "Microsoft Corporation", "description": "A generated SDK for XmsErrorResponsesClient.", "version": "1.0.0-preview1", - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/core-client": "^1.7.0", "@azure/core-rest-pipeline": "^1.12.0", diff --git a/packages/autorest.typescript/test/rlcIntegration/generated/azureReport/package.json b/packages/autorest.typescript/test/rlcIntegration/generated/azureReport/package.json index d59fdb2ad2..0bf3943b70 100644 --- a/packages/autorest.typescript/test/rlcIntegration/generated/azureReport/package.json +++ b/packages/autorest.typescript/test/rlcIntegration/generated/azureReport/package.json @@ -4,7 +4,7 @@ "author": "Microsoft Corporation", "description": "A generated SDK for ReportClient.", "version": "1.0.0-preview1", - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/core-client": "^1.7.0", "@azure/core-rest-pipeline": "^1.12.0", diff --git a/packages/autorest.typescript/test/rlcIntegration/generated/bodyComplexRest/package.json b/packages/autorest.typescript/test/rlcIntegration/generated/bodyComplexRest/package.json index f8f8143019..42406100ec 100644 --- a/packages/autorest.typescript/test/rlcIntegration/generated/bodyComplexRest/package.json +++ b/packages/autorest.typescript/test/rlcIntegration/generated/bodyComplexRest/package.json @@ -19,7 +19,7 @@ "LICENSE", "review/*" ], - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "scripts": { "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", "build:browser": "echo skipped.", @@ -60,7 +60,7 @@ "devDependencies": { "@microsoft/api-extractor": "^7.31.1", "autorest": "latest", - "@types/node": "^16.0.0", + "@types/node": "^18.0.0", "dotenv": "^16.0.0", "eslint": "^8.0.0", "mkdirp": "^2.1.2", diff --git a/packages/autorest.typescript/test/rlcIntegration/generated/bodyFileRest/package.json b/packages/autorest.typescript/test/rlcIntegration/generated/bodyFileRest/package.json index 99cb3160ff..549bd95a5b 100644 --- a/packages/autorest.typescript/test/rlcIntegration/generated/bodyFileRest/package.json +++ b/packages/autorest.typescript/test/rlcIntegration/generated/bodyFileRest/package.json @@ -19,7 +19,7 @@ "LICENSE", "review/*" ], - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "scripts": { "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", "build:browser": "echo skipped.", @@ -60,7 +60,7 @@ "devDependencies": { "@microsoft/api-extractor": "^7.31.1", "autorest": "latest", - "@types/node": "^16.0.0", + "@types/node": "^18.0.0", "dotenv": "^16.0.0", "eslint": "^8.0.0", "mkdirp": "^2.1.2", diff --git a/packages/autorest.typescript/test/rlcIntegration/generated/bodyFormDataRest/package.json b/packages/autorest.typescript/test/rlcIntegration/generated/bodyFormDataRest/package.json index befd5c2157..5575401ef4 100644 --- a/packages/autorest.typescript/test/rlcIntegration/generated/bodyFormDataRest/package.json +++ b/packages/autorest.typescript/test/rlcIntegration/generated/bodyFormDataRest/package.json @@ -19,7 +19,7 @@ "LICENSE", "review/*" ], - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "scripts": { "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", "build:browser": "echo skipped.", @@ -60,7 +60,7 @@ "devDependencies": { "@microsoft/api-extractor": "^7.31.1", "autorest": "latest", - "@types/node": "^16.0.0", + "@types/node": "^18.0.0", "dotenv": "^16.0.0", "eslint": "^8.0.0", "mkdirp": "^2.1.2", diff --git a/packages/autorest.typescript/test/rlcIntegration/generated/bodyStringRest/package.json b/packages/autorest.typescript/test/rlcIntegration/generated/bodyStringRest/package.json index a4095eb515..461e69f38d 100644 --- a/packages/autorest.typescript/test/rlcIntegration/generated/bodyStringRest/package.json +++ b/packages/autorest.typescript/test/rlcIntegration/generated/bodyStringRest/package.json @@ -19,7 +19,7 @@ "LICENSE", "review/*" ], - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "scripts": { "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", "build:browser": "tsc -p . && cross-env ONLY_BROWSER=true rollup -c 2>&1", @@ -60,7 +60,7 @@ "devDependencies": { "@microsoft/api-extractor": "^7.31.1", "autorest": "latest", - "@types/node": "^16.0.0", + "@types/node": "^18.0.0", "dotenv": "^16.0.0", "eslint": "^8.0.0", "mkdirp": "^2.1.2", diff --git a/packages/autorest.typescript/test/rlcIntegration/generated/customUrlRest/package.json b/packages/autorest.typescript/test/rlcIntegration/generated/customUrlRest/package.json index db039f6b3c..4a7639d987 100644 --- a/packages/autorest.typescript/test/rlcIntegration/generated/customUrlRest/package.json +++ b/packages/autorest.typescript/test/rlcIntegration/generated/customUrlRest/package.json @@ -19,7 +19,7 @@ "LICENSE", "review/*" ], - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "scripts": { "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", "build:browser": "echo skipped.", @@ -60,7 +60,7 @@ "devDependencies": { "@microsoft/api-extractor": "^7.31.1", "autorest": "latest", - "@types/node": "^16.0.0", + "@types/node": "^18.0.0", "dotenv": "^16.0.0", "eslint": "^8.0.0", "mkdirp": "^2.1.2", diff --git a/packages/autorest.typescript/test/rlcIntegration/generated/dpgCustomization/package.json b/packages/autorest.typescript/test/rlcIntegration/generated/dpgCustomization/package.json index 0138fecba0..1cba455395 100644 --- a/packages/autorest.typescript/test/rlcIntegration/generated/dpgCustomization/package.json +++ b/packages/autorest.typescript/test/rlcIntegration/generated/dpgCustomization/package.json @@ -19,7 +19,7 @@ "LICENSE", "review/*" ], - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "scripts": { "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", "build:browser": "tsc -p . && dev-tool run bundle", @@ -62,7 +62,7 @@ "devDependencies": { "@microsoft/api-extractor": "^7.31.1", "autorest": "latest", - "@types/node": "^16.0.0", + "@types/node": "^18.0.0", "dotenv": "^16.0.0", "eslint": "^8.0.0", "mkdirp": "^2.1.2", diff --git a/packages/autorest.typescript/test/rlcIntegration/generated/headerRest/package.json b/packages/autorest.typescript/test/rlcIntegration/generated/headerRest/package.json index 49df9d8285..83ffefc229 100644 --- a/packages/autorest.typescript/test/rlcIntegration/generated/headerRest/package.json +++ b/packages/autorest.typescript/test/rlcIntegration/generated/headerRest/package.json @@ -19,7 +19,7 @@ "LICENSE", "review/*" ], - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "scripts": { "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", "build:browser": "echo skipped.", @@ -60,7 +60,7 @@ "devDependencies": { "@microsoft/api-extractor": "^7.31.1", "autorest": "latest", - "@types/node": "^16.0.0", + "@types/node": "^18.0.0", "dotenv": "^16.0.0", "eslint": "^8.0.0", "mkdirp": "^2.1.2", diff --git a/packages/autorest.typescript/test/rlcIntegration/generated/httpInfrastructureRest/package.json b/packages/autorest.typescript/test/rlcIntegration/generated/httpInfrastructureRest/package.json index 7f2b1399d0..cebd82ab0d 100644 --- a/packages/autorest.typescript/test/rlcIntegration/generated/httpInfrastructureRest/package.json +++ b/packages/autorest.typescript/test/rlcIntegration/generated/httpInfrastructureRest/package.json @@ -19,7 +19,7 @@ "LICENSE", "review/*" ], - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "scripts": { "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", "build:browser": "tsc -p . && dev-tool run bundle", @@ -59,7 +59,7 @@ "devDependencies": { "@microsoft/api-extractor": "^7.31.1", "autorest": "latest", - "@types/node": "^16.0.0", + "@types/node": "^18.0.0", "dotenv": "^16.0.0", "eslint": "^8.0.0", "mkdirp": "^2.1.2", diff --git a/packages/autorest.typescript/test/rlcIntegration/generated/lroRest/package.json b/packages/autorest.typescript/test/rlcIntegration/generated/lroRest/package.json index 34e21ef04d..db69797ff8 100644 --- a/packages/autorest.typescript/test/rlcIntegration/generated/lroRest/package.json +++ b/packages/autorest.typescript/test/rlcIntegration/generated/lroRest/package.json @@ -19,7 +19,7 @@ "LICENSE", "review/*" ], - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "scripts": { "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", "build:browser": "echo skipped.", @@ -62,7 +62,7 @@ "devDependencies": { "@microsoft/api-extractor": "^7.31.1", "autorest": "latest", - "@types/node": "^16.0.0", + "@types/node": "^18.0.0", "dotenv": "^16.0.0", "eslint": "^8.0.0", "mkdirp": "^2.1.2", diff --git a/packages/autorest.typescript/test/rlcIntegration/generated/mediaTypesRest/package.json b/packages/autorest.typescript/test/rlcIntegration/generated/mediaTypesRest/package.json index 7bacae0c66..8a3fae2b88 100644 --- a/packages/autorest.typescript/test/rlcIntegration/generated/mediaTypesRest/package.json +++ b/packages/autorest.typescript/test/rlcIntegration/generated/mediaTypesRest/package.json @@ -19,7 +19,7 @@ "LICENSE", "review/*" ], - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "scripts": { "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", "build:browser": "echo skipped.", @@ -60,7 +60,7 @@ "devDependencies": { "@microsoft/api-extractor": "^7.31.1", "autorest": "latest", - "@types/node": "^16.0.0", + "@types/node": "^18.0.0", "dotenv": "^16.0.0", "eslint": "^8.0.0", "mkdirp": "^2.1.2", diff --git a/packages/autorest.typescript/test/rlcIntegration/generated/multipleInheritanceRest/package.json b/packages/autorest.typescript/test/rlcIntegration/generated/multipleInheritanceRest/package.json index 4f507c913b..9289e4c03b 100644 --- a/packages/autorest.typescript/test/rlcIntegration/generated/multipleInheritanceRest/package.json +++ b/packages/autorest.typescript/test/rlcIntegration/generated/multipleInheritanceRest/package.json @@ -19,7 +19,7 @@ "LICENSE", "review/*" ], - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "scripts": { "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", "build:browser": "echo skipped.", @@ -60,7 +60,7 @@ "devDependencies": { "@microsoft/api-extractor": "^7.31.1", "autorest": "latest", - "@types/node": "^16.0.0", + "@types/node": "^18.0.0", "dotenv": "^16.0.0", "eslint": "^8.0.0", "mkdirp": "^2.1.2", diff --git a/packages/autorest.typescript/test/rlcIntegration/generated/multipleUrlParameters/package.json b/packages/autorest.typescript/test/rlcIntegration/generated/multipleUrlParameters/package.json index abbfb75446..8cf27db370 100644 --- a/packages/autorest.typescript/test/rlcIntegration/generated/multipleUrlParameters/package.json +++ b/packages/autorest.typescript/test/rlcIntegration/generated/multipleUrlParameters/package.json @@ -19,7 +19,7 @@ "LICENSE", "review/*" ], - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "scripts": { "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", "build:browser": "tsc -p . && dev-tool run bundle", @@ -59,7 +59,7 @@ "devDependencies": { "@microsoft/api-extractor": "^7.31.1", "autorest": "latest", - "@types/node": "^16.0.0", + "@types/node": "^18.0.0", "dotenv": "^16.0.0", "eslint": "^8.0.0", "mkdirp": "^2.1.2", diff --git a/packages/autorest.typescript/test/rlcIntegration/generated/pagingRest/package.json b/packages/autorest.typescript/test/rlcIntegration/generated/pagingRest/package.json index 36f000c47f..df022223b6 100644 --- a/packages/autorest.typescript/test/rlcIntegration/generated/pagingRest/package.json +++ b/packages/autorest.typescript/test/rlcIntegration/generated/pagingRest/package.json @@ -19,7 +19,7 @@ "LICENSE", "review/*" ], - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "scripts": { "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", "build:browser": "echo skipped.", @@ -63,7 +63,7 @@ "devDependencies": { "@microsoft/api-extractor": "^7.31.1", "autorest": "latest", - "@types/node": "^16.0.0", + "@types/node": "^18.0.0", "dotenv": "^16.0.0", "eslint": "^8.0.0", "mkdirp": "^2.1.2", diff --git a/packages/autorest.typescript/test/rlcIntegration/generated/report/package.json b/packages/autorest.typescript/test/rlcIntegration/generated/report/package.json index c4df9709c8..21246429fe 100644 --- a/packages/autorest.typescript/test/rlcIntegration/generated/report/package.json +++ b/packages/autorest.typescript/test/rlcIntegration/generated/report/package.json @@ -4,7 +4,7 @@ "author": "Microsoft Corporation", "description": "A generated SDK for ReportClient.", "version": "1.0.0-preview1", - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/core-client": "^1.7.0", "@azure/core-rest-pipeline": "^1.12.0", diff --git a/packages/autorest.typescript/test/rlcIntegration/generated/securityAADRest/package.json b/packages/autorest.typescript/test/rlcIntegration/generated/securityAADRest/package.json index 68125aaa85..1f49aa0660 100644 --- a/packages/autorest.typescript/test/rlcIntegration/generated/securityAADRest/package.json +++ b/packages/autorest.typescript/test/rlcIntegration/generated/securityAADRest/package.json @@ -19,7 +19,7 @@ "LICENSE", "review/*" ], - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "scripts": { "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", "build:browser": "tsc -p . && dev-tool run bundle", @@ -59,7 +59,7 @@ "devDependencies": { "@microsoft/api-extractor": "^7.31.1", "autorest": "latest", - "@types/node": "^16.0.0", + "@types/node": "^18.0.0", "dotenv": "^16.0.0", "eslint": "^8.0.0", "mkdirp": "^2.1.2", diff --git a/packages/autorest.typescript/test/rlcIntegration/generated/securityKeyRest/package.json b/packages/autorest.typescript/test/rlcIntegration/generated/securityKeyRest/package.json index 9582d3239e..881a183a50 100644 --- a/packages/autorest.typescript/test/rlcIntegration/generated/securityKeyRest/package.json +++ b/packages/autorest.typescript/test/rlcIntegration/generated/securityKeyRest/package.json @@ -19,7 +19,7 @@ "LICENSE", "review/*" ], - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "scripts": { "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", "build:browser": "tsc -p . && dev-tool run bundle", @@ -59,7 +59,7 @@ "devDependencies": { "@microsoft/api-extractor": "^7.31.1", "autorest": "latest", - "@types/node": "^16.0.0", + "@types/node": "^18.0.0", "dotenv": "^16.0.0", "eslint": "^8.0.0", "mkdirp": "^2.1.2", diff --git a/packages/autorest.typescript/test/rlcIntegration/generated/urlRest/package.json b/packages/autorest.typescript/test/rlcIntegration/generated/urlRest/package.json index 0546a12e9e..a999436a5f 100644 --- a/packages/autorest.typescript/test/rlcIntegration/generated/urlRest/package.json +++ b/packages/autorest.typescript/test/rlcIntegration/generated/urlRest/package.json @@ -19,7 +19,7 @@ "LICENSE", "review/*" ], - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "scripts": { "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", "build:browser": "echo skipped.", @@ -60,7 +60,7 @@ "devDependencies": { "@microsoft/api-extractor": "^7.31.1", "autorest": "latest", - "@types/node": "^16.0.0", + "@types/node": "^18.0.0", "dotenv": "^16.0.0", "eslint": "^8.0.0", "mkdirp": "^2.1.2", diff --git a/packages/autorest.typescript/test/smoke/generated/agrifood-data-plane/package.json b/packages/autorest.typescript/test/smoke/generated/agrifood-data-plane/package.json index d44b7c2a86..14b879a99d 100644 --- a/packages/autorest.typescript/test/smoke/generated/agrifood-data-plane/package.json +++ b/packages/autorest.typescript/test/smoke/generated/agrifood-data-plane/package.json @@ -19,7 +19,7 @@ "LICENSE", "review/*" ], - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "scripts": { "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", "build:browser": "tsc -p . && cross-env ONLY_BROWSER=true rollup -c 2>&1", @@ -63,7 +63,7 @@ "devDependencies": { "@microsoft/api-extractor": "^7.31.1", "autorest": "latest", - "@types/node": "^16.0.0", + "@types/node": "^18.0.0", "dotenv": "^16.0.0", "eslint": "^8.0.0", "mkdirp": "^2.1.2", diff --git a/packages/autorest.typescript/test/smoke/generated/anomaly-detector-mv-rest/package.json b/packages/autorest.typescript/test/smoke/generated/anomaly-detector-mv-rest/package.json index fda1abd914..586c5cc244 100644 --- a/packages/autorest.typescript/test/smoke/generated/anomaly-detector-mv-rest/package.json +++ b/packages/autorest.typescript/test/smoke/generated/anomaly-detector-mv-rest/package.json @@ -19,7 +19,7 @@ "LICENSE", "review/*" ], - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "scripts": { "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", "build:browser": "echo skipped.", @@ -61,7 +61,7 @@ "devDependencies": { "@microsoft/api-extractor": "^7.31.1", "autorest": "latest", - "@types/node": "^16.0.0", + "@types/node": "^18.0.0", "dotenv": "^16.0.0", "eslint": "^8.0.0", "mkdirp": "^2.1.2", diff --git a/packages/autorest.typescript/test/smoke/generated/anomaly-detector-rest/package.json b/packages/autorest.typescript/test/smoke/generated/anomaly-detector-rest/package.json index bcd22aac6f..4b4f8fca57 100644 --- a/packages/autorest.typescript/test/smoke/generated/anomaly-detector-rest/package.json +++ b/packages/autorest.typescript/test/smoke/generated/anomaly-detector-rest/package.json @@ -19,7 +19,7 @@ "LICENSE", "review/*" ], - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "scripts": { "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", "build:browser": "tsc -p . && cross-env ONLY_BROWSER=true rollup -c 2>&1", @@ -63,7 +63,7 @@ "devDependencies": { "@microsoft/api-extractor": "^7.31.1", "autorest": "latest", - "@types/node": "^16.0.0", + "@types/node": "^18.0.0", "dotenv": "^16.0.0", "eslint": "^8.0.0", "mkdirp": "^2.1.2", diff --git a/packages/autorest.typescript/test/smoke/generated/arm-package-deploymentscripts-2019-10-preview/package.json b/packages/autorest.typescript/test/smoke/generated/arm-package-deploymentscripts-2019-10-preview/package.json index 6a242128c8..5bec57ade4 100644 --- a/packages/autorest.typescript/test/smoke/generated/arm-package-deploymentscripts-2019-10-preview/package.json +++ b/packages/autorest.typescript/test/smoke/generated/arm-package-deploymentscripts-2019-10-preview/package.json @@ -4,7 +4,7 @@ "author": "Microsoft Corporation", "description": "A generated SDK for DeploymentScriptsClient.", "version": "1.0.0-beta.1", - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/core-lro": "^2.5.4", "@azure/abort-controller": "^1.0.0", diff --git a/packages/autorest.typescript/test/smoke/generated/arm-package-features-2015-12/package.json b/packages/autorest.typescript/test/smoke/generated/arm-package-features-2015-12/package.json index 0f3a017a69..3e3de2e60d 100644 --- a/packages/autorest.typescript/test/smoke/generated/arm-package-features-2015-12/package.json +++ b/packages/autorest.typescript/test/smoke/generated/arm-package-features-2015-12/package.json @@ -4,7 +4,7 @@ "author": "Microsoft Corporation", "description": "A generated SDK for FeatureClient.", "version": "1.0.0-beta.1", - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/core-paging": "^1.2.0", "@azure/core-client": "^1.7.0", diff --git a/packages/autorest.typescript/test/smoke/generated/arm-package-links-2016-09/package.json b/packages/autorest.typescript/test/smoke/generated/arm-package-links-2016-09/package.json index 82692249d5..8d874093eb 100644 --- a/packages/autorest.typescript/test/smoke/generated/arm-package-links-2016-09/package.json +++ b/packages/autorest.typescript/test/smoke/generated/arm-package-links-2016-09/package.json @@ -4,7 +4,7 @@ "author": "Microsoft Corporation", "description": "A generated SDK for ManagementLinkClient.", "version": "1.0.0-beta.1", - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/core-paging": "^1.2.0", "@azure/core-client": "^1.7.0", diff --git a/packages/autorest.typescript/test/smoke/generated/arm-package-locks-2016-09/package.json b/packages/autorest.typescript/test/smoke/generated/arm-package-locks-2016-09/package.json index 7572522928..48e78f12db 100644 --- a/packages/autorest.typescript/test/smoke/generated/arm-package-locks-2016-09/package.json +++ b/packages/autorest.typescript/test/smoke/generated/arm-package-locks-2016-09/package.json @@ -4,7 +4,7 @@ "author": "Microsoft Corporation", "description": "A generated SDK for ManagementLockClient.", "version": "1.0.0-beta.1", - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/core-paging": "^1.2.0", "@azure/core-client": "^1.7.0", diff --git a/packages/autorest.typescript/test/smoke/generated/arm-package-managedapplications-2018-06/package.json b/packages/autorest.typescript/test/smoke/generated/arm-package-managedapplications-2018-06/package.json index aa83f158c1..46709f34c7 100644 --- a/packages/autorest.typescript/test/smoke/generated/arm-package-managedapplications-2018-06/package.json +++ b/packages/autorest.typescript/test/smoke/generated/arm-package-managedapplications-2018-06/package.json @@ -4,7 +4,7 @@ "author": "Microsoft Corporation", "description": "A generated SDK for ApplicationClient.", "version": "1.0.0-beta.1", - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/core-lro": "^2.5.4", "@azure/abort-controller": "^1.0.0", diff --git a/packages/autorest.typescript/test/smoke/generated/arm-package-policy-2019-09/package.json b/packages/autorest.typescript/test/smoke/generated/arm-package-policy-2019-09/package.json index e70cb919e3..8ad19cf37b 100644 --- a/packages/autorest.typescript/test/smoke/generated/arm-package-policy-2019-09/package.json +++ b/packages/autorest.typescript/test/smoke/generated/arm-package-policy-2019-09/package.json @@ -4,7 +4,7 @@ "author": "Microsoft Corporation", "description": "A generated SDK for PolicyClient.", "version": "1.0.0-beta.1", - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/core-paging": "^1.2.0", "@azure/core-client": "^1.7.0", diff --git a/packages/autorest.typescript/test/smoke/generated/arm-package-resources-2019-08/package.json b/packages/autorest.typescript/test/smoke/generated/arm-package-resources-2019-08/package.json index 534c1fe40c..70f0764f48 100644 --- a/packages/autorest.typescript/test/smoke/generated/arm-package-resources-2019-08/package.json +++ b/packages/autorest.typescript/test/smoke/generated/arm-package-resources-2019-08/package.json @@ -4,7 +4,7 @@ "author": "Microsoft Corporation", "description": "A generated SDK for ResourceManagementClient.", "version": "1.0.0-beta.1", - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/core-lro": "^2.5.4", "@azure/abort-controller": "^1.0.0", diff --git a/packages/autorest.typescript/test/smoke/generated/arm-package-subscriptions-2019-06/package.json b/packages/autorest.typescript/test/smoke/generated/arm-package-subscriptions-2019-06/package.json index 6d60e9326a..c57494ff61 100644 --- a/packages/autorest.typescript/test/smoke/generated/arm-package-subscriptions-2019-06/package.json +++ b/packages/autorest.typescript/test/smoke/generated/arm-package-subscriptions-2019-06/package.json @@ -4,7 +4,7 @@ "author": "Microsoft Corporation", "description": "A generated SDK for SubscriptionClient.", "version": "1.0.0-beta.1", - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/core-paging": "^1.2.0", "@azure/core-client": "^1.7.0", @@ -39,7 +39,7 @@ "@types/chai": "^4.2.8", "chai": "^4.2.0", "cross-env": "^7.0.2", - "@types/node": "^16.0.0", + "@types/node": "^18.0.0", "ts-node": "^10.0.0" }, "repository": { diff --git a/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/package.json b/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/package.json index daf1caf31e..f5a8ecc616 100644 --- a/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/package.json +++ b/packages/autorest.typescript/test/smoke/generated/compute-resource-manager/package.json @@ -4,7 +4,7 @@ "author": "Microsoft Corporation", "description": "A generated SDK for ComputeManagementClient.", "version": "1.0.0-beta.1", - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/core-lro": "^2.5.4", "@azure/abort-controller": "^1.0.0", @@ -41,7 +41,7 @@ "@types/chai": "^4.2.8", "chai": "^4.2.0", "cross-env": "^7.0.2", - "@types/node": "^16.0.0", + "@types/node": "^18.0.0", "ts-node": "^10.0.0" }, "repository": { diff --git a/packages/autorest.typescript/test/smoke/generated/cosmos-db-resource-manager/package.json b/packages/autorest.typescript/test/smoke/generated/cosmos-db-resource-manager/package.json index b333595b2c..1c1f9c63a2 100644 --- a/packages/autorest.typescript/test/smoke/generated/cosmos-db-resource-manager/package.json +++ b/packages/autorest.typescript/test/smoke/generated/cosmos-db-resource-manager/package.json @@ -4,7 +4,7 @@ "author": "Microsoft Corporation", "description": "A generated SDK for CosmosDBManagementClient.", "version": "1.0.0-beta.1", - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/core-lro": "^2.5.4", "@azure/abort-controller": "^1.0.0", diff --git a/packages/autorest.typescript/test/smoke/generated/graphrbac-data-plane/package.json b/packages/autorest.typescript/test/smoke/generated/graphrbac-data-plane/package.json index 974b21c683..9a7f9d109b 100644 --- a/packages/autorest.typescript/test/smoke/generated/graphrbac-data-plane/package.json +++ b/packages/autorest.typescript/test/smoke/generated/graphrbac-data-plane/package.json @@ -4,7 +4,7 @@ "author": "Microsoft Corporation", "description": "A generated SDK for GraphRbacManagementClient.", "version": "1.0.0-beta.1", - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/core-paging": "^1.2.0", "@azure/core-client": "^1.7.0", diff --git a/packages/autorest.typescript/test/smoke/generated/keyvault-resource-manager/package.json b/packages/autorest.typescript/test/smoke/generated/keyvault-resource-manager/package.json index 33c5eb7857..95b48ce56c 100644 --- a/packages/autorest.typescript/test/smoke/generated/keyvault-resource-manager/package.json +++ b/packages/autorest.typescript/test/smoke/generated/keyvault-resource-manager/package.json @@ -4,7 +4,7 @@ "author": "Microsoft Corporation", "description": "A generated SDK for KeyVaultManagementClient.", "version": "1.0.0-beta.1", - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/core-lro": "^2.5.4", "@azure/abort-controller": "^1.0.0", @@ -41,7 +41,7 @@ "@types/chai": "^4.2.8", "chai": "^4.2.0", "cross-env": "^7.0.2", - "@types/node": "^16.0.0", + "@types/node": "^18.0.0", "ts-node": "^10.0.0" }, "repository": { diff --git a/packages/autorest.typescript/test/smoke/generated/monitor-data-plane/package.json b/packages/autorest.typescript/test/smoke/generated/monitor-data-plane/package.json index afb4f05f91..2206b33e1a 100644 --- a/packages/autorest.typescript/test/smoke/generated/monitor-data-plane/package.json +++ b/packages/autorest.typescript/test/smoke/generated/monitor-data-plane/package.json @@ -4,7 +4,7 @@ "author": "Microsoft Corporation", "description": "A generated SDK for MonitorClient.", "version": "1.0.0-beta.1", - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/core-client": "^1.7.0", "@azure/core-auth": "^1.3.0", diff --git a/packages/autorest.typescript/test/smoke/generated/msi-resource-manager/package.json b/packages/autorest.typescript/test/smoke/generated/msi-resource-manager/package.json index c002ad3ff8..c013186ec9 100644 --- a/packages/autorest.typescript/test/smoke/generated/msi-resource-manager/package.json +++ b/packages/autorest.typescript/test/smoke/generated/msi-resource-manager/package.json @@ -4,7 +4,7 @@ "author": "Microsoft Corporation", "description": "A generated SDK for ManagedServiceIdentityClient.", "version": "1.0.0-beta.1", - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/core-paging": "^1.2.0", "@azure/core-client": "^1.7.0", @@ -39,7 +39,7 @@ "@types/chai": "^4.2.8", "chai": "^4.2.0", "cross-env": "^7.0.2", - "@types/node": "^16.0.0", + "@types/node": "^18.0.0", "ts-node": "^10.0.0" }, "repository": { diff --git a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/package.json b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/package.json index 1036a69d61..d407fb540f 100644 --- a/packages/autorest.typescript/test/smoke/generated/network-resource-manager/package.json +++ b/packages/autorest.typescript/test/smoke/generated/network-resource-manager/package.json @@ -4,7 +4,7 @@ "author": "Microsoft Corporation", "description": "A generated SDK for NetworkManagementClient.", "version": "1.0.0-beta.1", - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/core-lro": "^2.5.4", "@azure/abort-controller": "^1.0.0", @@ -41,7 +41,7 @@ "@types/chai": "^4.2.8", "chai": "^4.2.0", "cross-env": "^7.0.2", - "@types/node": "^16.0.0", + "@types/node": "^18.0.0", "ts-node": "^10.0.0" }, "repository": { diff --git a/packages/autorest.typescript/test/smoke/generated/networkcloud-resource-manager/package.json b/packages/autorest.typescript/test/smoke/generated/networkcloud-resource-manager/package.json index 95e5f92c5d..a963812b53 100644 --- a/packages/autorest.typescript/test/smoke/generated/networkcloud-resource-manager/package.json +++ b/packages/autorest.typescript/test/smoke/generated/networkcloud-resource-manager/package.json @@ -4,7 +4,7 @@ "author": "Microsoft Corporation", "description": "A generated SDK for NetworkCloud.", "version": "1.0.0-beta.1", - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/core-lro": "^2.5.4", "@azure/abort-controller": "^1.0.0", diff --git a/packages/autorest.typescript/test/smoke/generated/purview-administration-rest/package.json b/packages/autorest.typescript/test/smoke/generated/purview-administration-rest/package.json index 189bda1d96..77ce58bcb2 100644 --- a/packages/autorest.typescript/test/smoke/generated/purview-administration-rest/package.json +++ b/packages/autorest.typescript/test/smoke/generated/purview-administration-rest/package.json @@ -19,7 +19,7 @@ "LICENSE", "review/*" ], - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "scripts": { "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", "build:browser": "echo skipped.", @@ -61,7 +61,7 @@ "devDependencies": { "@microsoft/api-extractor": "^7.31.1", "autorest": "latest", - "@types/node": "^16.0.0", + "@types/node": "^18.0.0", "dotenv": "^16.0.0", "eslint": "^8.0.0", "mkdirp": "^2.1.2", diff --git a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/package.json b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/package.json index a5aaa76b66..e219190310 100644 --- a/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/package.json +++ b/packages/autorest.typescript/test/smoke/generated/sql-resource-manager/package.json @@ -4,7 +4,7 @@ "author": "Microsoft Corporation", "description": "A generated SDK for SqlManagementClient.", "version": "1.0.0-beta.1", - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/core-lro": "^2.5.4", "@azure/abort-controller": "^1.0.0", @@ -41,7 +41,7 @@ "@types/chai": "^4.2.8", "chai": "^4.2.0", "cross-env": "^7.0.2", - "@types/node": "^16.0.0", + "@types/node": "^18.0.0", "ts-node": "^10.0.0" }, "repository": { diff --git a/packages/autorest.typescript/test/smoke/generated/storage-resource-manager/package.json b/packages/autorest.typescript/test/smoke/generated/storage-resource-manager/package.json index 1a10ed3403..5b2bb44d35 100644 --- a/packages/autorest.typescript/test/smoke/generated/storage-resource-manager/package.json +++ b/packages/autorest.typescript/test/smoke/generated/storage-resource-manager/package.json @@ -4,7 +4,7 @@ "author": "Microsoft Corporation", "description": "A generated SDK for StorageManagementClient.", "version": "1.0.0-beta.1", - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/core-lro": "^2.5.4", "@azure/abort-controller": "^1.0.0", @@ -41,7 +41,7 @@ "@types/chai": "^4.2.8", "chai": "^4.2.0", "cross-env": "^7.0.2", - "@types/node": "^16.0.0", + "@types/node": "^18.0.0", "ts-node": "^10.0.0" }, "repository": { diff --git a/packages/autorest.typescript/test/smoke/generated/web-resource-manager/package.json b/packages/autorest.typescript/test/smoke/generated/web-resource-manager/package.json index dfd63c32f9..59198f39c0 100644 --- a/packages/autorest.typescript/test/smoke/generated/web-resource-manager/package.json +++ b/packages/autorest.typescript/test/smoke/generated/web-resource-manager/package.json @@ -4,7 +4,7 @@ "author": "Microsoft Corporation", "description": "A generated SDK for WebSiteManagementClient.", "version": "1.0.0-beta.1", - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/core-lro": "^2.5.4", "@azure/abort-controller": "^1.0.0", @@ -41,7 +41,7 @@ "@types/chai": "^4.2.8", "chai": "^4.2.0", "cross-env": "^7.0.2", - "@types/node": "^16.0.0", + "@types/node": "^18.0.0", "ts-node": "^10.0.0" }, "repository": { diff --git a/packages/autorest.typescript/test/smoke/generated/web-resource-manager/review/web-resource-manager.api.md b/packages/autorest.typescript/test/smoke/generated/web-resource-manager/review/web-resource-manager.api.md index 404d44c4e9..5ce6ff31e4 100644 --- a/packages/autorest.typescript/test/smoke/generated/web-resource-manager/review/web-resource-manager.api.md +++ b/packages/autorest.typescript/test/smoke/generated/web-resource-manager/review/web-resource-manager.api.md @@ -2329,7 +2329,7 @@ export interface DetectorInfo { // @public export interface DetectorResponse extends ProxyOnlyResource { dataProvidersMetadata?: DataProviderMetadata[]; - dataset?: DiagnosticData[]; + dataset?: DiagnosticData_2[]; metadata?: DetectorInfo; status?: Status; suggestedUtterances?: QueryUtterancesResults; @@ -2371,10 +2371,11 @@ export interface DiagnosticCategoryCollection { } // @public -export interface DiagnosticData { +interface DiagnosticData_2 { renderingProperties?: Rendering; table?: DataTableResponseObject; } +export { DiagnosticData_2 as DiagnosticData } // @public export interface DiagnosticDetectorCollection { diff --git a/packages/autorest.typescript/test/version-tolerance/generated/rlc-initial/package.json b/packages/autorest.typescript/test/version-tolerance/generated/rlc-initial/package.json index af6021eb72..d1e1327657 100644 --- a/packages/autorest.typescript/test/version-tolerance/generated/rlc-initial/package.json +++ b/packages/autorest.typescript/test/version-tolerance/generated/rlc-initial/package.json @@ -25,7 +25,7 @@ { "path": "swagger/README.md", "prefix": "package-version" } ] }, - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "scripts": { "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", "build:browser": "echo skipped.", @@ -67,7 +67,7 @@ "devDependencies": { "@microsoft/api-extractor": "7.18.11", "autorest": "latest", - "@types/node": "^16.0.0", + "@types/node": "^18.0.0", "dotenv": "^16.0.0", "eslint": "^7.15.0", "mkdirp": "^2.1.2", diff --git a/packages/autorest.typescript/test/version-tolerance/generated/rlc-updated/package.json b/packages/autorest.typescript/test/version-tolerance/generated/rlc-updated/package.json index af6021eb72..d1e1327657 100644 --- a/packages/autorest.typescript/test/version-tolerance/generated/rlc-updated/package.json +++ b/packages/autorest.typescript/test/version-tolerance/generated/rlc-updated/package.json @@ -25,7 +25,7 @@ { "path": "swagger/README.md", "prefix": "package-version" } ] }, - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "scripts": { "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", "build:browser": "echo skipped.", @@ -67,7 +67,7 @@ "devDependencies": { "@microsoft/api-extractor": "7.18.11", "autorest": "latest", - "@types/node": "^16.0.0", + "@types/node": "^18.0.0", "dotenv": "^16.0.0", "eslint": "^7.15.0", "mkdirp": "^2.1.2", diff --git a/packages/rlc-common/src/metadata/buildPackageFile.ts b/packages/rlc-common/src/metadata/buildPackageFile.ts index e1c802d514..28e1ea62cf 100644 --- a/packages/rlc-common/src/metadata/buildPackageFile.ts +++ b/packages/rlc-common/src/metadata/buildPackageFile.ts @@ -108,7 +108,7 @@ function restLevelPackage(model: RLCModel) { "review/*" ], engines: { - node: ">=16.0.0" + node: ">=18.0.0" }, scripts: { audit: @@ -174,7 +174,7 @@ function restLevelPackage(model: RLCModel) { devDependencies: { "@microsoft/api-extractor": "^7.31.1", autorest: "latest", - "@types/node": "^16.0.0", + "@types/node": "^18.0.0", dotenv: "^16.0.0", eslint: "^8.0.0", mkdirp: "^2.1.2", diff --git a/packages/typespec-test/test/anomalyDetector/generated/typespec-ts/package.json b/packages/typespec-test/test/anomalyDetector/generated/typespec-ts/package.json index 3d4c545949..c5188a4709 100644 --- a/packages/typespec-test/test/anomalyDetector/generated/typespec-ts/package.json +++ b/packages/typespec-test/test/anomalyDetector/generated/typespec-ts/package.json @@ -19,7 +19,7 @@ "LICENSE", "review/*" ], - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "scripts": { "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", "build:browser": "tsc -p . && cross-env ONLY_BROWSER=true rollup -c 2>&1", @@ -61,7 +61,7 @@ "devDependencies": { "@microsoft/api-extractor": "^7.31.1", "autorest": "latest", - "@types/node": "^16.0.0", + "@types/node": "^18.0.0", "dotenv": "^16.0.0", "eslint": "^8.0.0", "mkdirp": "^2.1.2", diff --git a/packages/typespec-test/test/authoring/generated/typespec-ts/package.json b/packages/typespec-test/test/authoring/generated/typespec-ts/package.json index 51e02940cb..0fa61d6aa6 100644 --- a/packages/typespec-test/test/authoring/generated/typespec-ts/package.json +++ b/packages/typespec-test/test/authoring/generated/typespec-ts/package.json @@ -19,7 +19,7 @@ "LICENSE", "review/*" ], - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "scripts": { "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", "build:browser": "tsc -p . && cross-env ONLY_BROWSER=true rollup -c 2>&1", @@ -63,7 +63,7 @@ "devDependencies": { "@microsoft/api-extractor": "^7.31.1", "autorest": "latest", - "@types/node": "^16.0.0", + "@types/node": "^18.0.0", "dotenv": "^16.0.0", "eslint": "^8.0.0", "mkdirp": "^2.1.2", diff --git a/packages/typespec-test/test/batch/generated/typespec-ts/package.json b/packages/typespec-test/test/batch/generated/typespec-ts/package.json index 56d7378c47..3821c13964 100644 --- a/packages/typespec-test/test/batch/generated/typespec-ts/package.json +++ b/packages/typespec-test/test/batch/generated/typespec-ts/package.json @@ -19,7 +19,7 @@ "LICENSE", "review/*" ], - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "scripts": { "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", "build:browser": "tsc -p . && cross-env ONLY_BROWSER=true rollup -c 2>&1", @@ -61,7 +61,7 @@ "devDependencies": { "@microsoft/api-extractor": "^7.31.1", "autorest": "latest", - "@types/node": "^16.0.0", + "@types/node": "^18.0.0", "dotenv": "^16.0.0", "eslint": "^8.0.0", "mkdirp": "^2.1.2", diff --git a/packages/typespec-test/test/batch_modular/generated/typespec-ts/package-files/package.json b/packages/typespec-test/test/batch_modular/generated/typespec-ts/package-files/package.json index 1d1b9d431a..78b110f9bb 100644 --- a/packages/typespec-test/test/batch_modular/generated/typespec-ts/package-files/package.json +++ b/packages/typespec-test/test/batch_modular/generated/typespec-ts/package-files/package.json @@ -67,7 +67,7 @@ "LICENSE" ], "repository": "github:Azure/azure-sdk-for-js", - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "keywords": ["azure", "cloud", "typescript"], "author": "Microsoft Corporation", "license": "MIT", @@ -90,7 +90,7 @@ "@rollup/plugin-typescript": "^11.0.0", "@types/chai": "^4.3.1", "@types/mocha": "^10.0.0", - "@types/node": "^16.0.0", + "@types/node": "^18.0.0", "chai": "^4.3.6", "cross-env": "^7.0.3", "dotenv": "^16.0.0", diff --git a/packages/typespec-test/test/batch_modular/generated/typespec-ts/package.json b/packages/typespec-test/test/batch_modular/generated/typespec-ts/package.json index 56d7378c47..3821c13964 100644 --- a/packages/typespec-test/test/batch_modular/generated/typespec-ts/package.json +++ b/packages/typespec-test/test/batch_modular/generated/typespec-ts/package.json @@ -19,7 +19,7 @@ "LICENSE", "review/*" ], - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "scripts": { "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", "build:browser": "tsc -p . && cross-env ONLY_BROWSER=true rollup -c 2>&1", @@ -61,7 +61,7 @@ "devDependencies": { "@microsoft/api-extractor": "^7.31.1", "autorest": "latest", - "@types/node": "^16.0.0", + "@types/node": "^18.0.0", "dotenv": "^16.0.0", "eslint": "^8.0.0", "mkdirp": "^2.1.2", diff --git a/packages/typespec-test/test/confidentialLedger/generated/typespec-ts/package.json b/packages/typespec-test/test/confidentialLedger/generated/typespec-ts/package.json index a9d22258ec..effcb5ff80 100644 --- a/packages/typespec-test/test/confidentialLedger/generated/typespec-ts/package.json +++ b/packages/typespec-test/test/confidentialLedger/generated/typespec-ts/package.json @@ -19,7 +19,7 @@ "LICENSE", "review/*" ], - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "scripts": { "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", "build:browser": "echo skipped.", @@ -61,7 +61,7 @@ "devDependencies": { "@microsoft/api-extractor": "^7.31.1", "autorest": "latest", - "@types/node": "^16.0.0", + "@types/node": "^18.0.0", "dotenv": "^16.0.0", "eslint": "^8.0.0", "mkdirp": "^2.1.2", diff --git a/packages/typespec-test/test/contentsafety_modular/generated/typespec-ts/package.json b/packages/typespec-test/test/contentsafety_modular/generated/typespec-ts/package.json index f3f33af869..6fc977f9b2 100644 --- a/packages/typespec-test/test/contentsafety_modular/generated/typespec-ts/package.json +++ b/packages/typespec-test/test/contentsafety_modular/generated/typespec-ts/package.json @@ -35,7 +35,7 @@ "LICENSE", "review/*" ], - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "scripts": { "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", "build:browser": "echo skipped.", @@ -78,7 +78,7 @@ "devDependencies": { "@microsoft/api-extractor": "^7.31.1", "autorest": "latest", - "@types/node": "^16.0.0", + "@types/node": "^18.0.0", "dotenv": "^16.0.0", "eslint": "^8.0.0", "mkdirp": "^2.1.2", diff --git a/packages/typespec-test/test/contoso/generated/typespec-ts/package.json b/packages/typespec-test/test/contoso/generated/typespec-ts/package.json index 90d4823fa2..2e89ab40fa 100644 --- a/packages/typespec-test/test/contoso/generated/typespec-ts/package.json +++ b/packages/typespec-test/test/contoso/generated/typespec-ts/package.json @@ -19,7 +19,7 @@ "LICENSE", "review/*" ], - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "scripts": { "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", "build:browser": "tsc -p . && cross-env ONLY_BROWSER=true rollup -c 2>&1", @@ -63,7 +63,7 @@ "devDependencies": { "@microsoft/api-extractor": "^7.31.1", "autorest": "latest", - "@types/node": "^16.0.0", + "@types/node": "^18.0.0", "dotenv": "^16.0.0", "eslint": "^8.0.0", "mkdirp": "^2.1.2", diff --git a/packages/typespec-test/test/customWrapper/generated/typespec-ts/package.json b/packages/typespec-test/test/customWrapper/generated/typespec-ts/package.json index 0aadfcfa4c..e48f778355 100644 --- a/packages/typespec-test/test/customWrapper/generated/typespec-ts/package.json +++ b/packages/typespec-test/test/customWrapper/generated/typespec-ts/package.json @@ -19,7 +19,7 @@ "LICENSE", "review/*" ], - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "scripts": { "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", "build:browser": "tsc -p . && cross-env ONLY_BROWSER=true rollup -c 2>&1", @@ -60,7 +60,7 @@ "devDependencies": { "@microsoft/api-extractor": "^7.31.1", "autorest": "latest", - "@types/node": "^16.0.0", + "@types/node": "^18.0.0", "dotenv": "^16.0.0", "eslint": "^8.0.0", "mkdirp": "^2.1.2", diff --git a/packages/typespec-test/test/eventgrid_modular/generated/typespec-ts/package.json b/packages/typespec-test/test/eventgrid_modular/generated/typespec-ts/package.json index 3a1eab7ae7..640022cf6d 100644 --- a/packages/typespec-test/test/eventgrid_modular/generated/typespec-ts/package.json +++ b/packages/typespec-test/test/eventgrid_modular/generated/typespec-ts/package.json @@ -35,7 +35,7 @@ "LICENSE", "review/*" ], - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "scripts": { "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", "build:browser": "tsc -p . && cross-env ONLY_BROWSER=true rollup -c 2>&1", @@ -77,7 +77,7 @@ "devDependencies": { "@microsoft/api-extractor": "^7.31.1", "autorest": "latest", - "@types/node": "^16.0.0", + "@types/node": "^18.0.0", "dotenv": "^16.0.0", "eslint": "^8.0.0", "mkdirp": "^2.1.2", diff --git a/packages/typespec-test/test/healthinsight/generated/typespec-ts/package.json b/packages/typespec-test/test/healthinsight/generated/typespec-ts/package.json index 6b3eb551ef..369fd06695 100644 --- a/packages/typespec-test/test/healthinsight/generated/typespec-ts/package.json +++ b/packages/typespec-test/test/healthinsight/generated/typespec-ts/package.json @@ -19,7 +19,7 @@ "LICENSE", "review/*" ], - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "scripts": { "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", "build:browser": "tsc -p . && cross-env ONLY_BROWSER=true rollup -c 2>&1", @@ -62,7 +62,7 @@ "devDependencies": { "@microsoft/api-extractor": "^7.31.1", "autorest": "latest", - "@types/node": "^16.0.0", + "@types/node": "^18.0.0", "dotenv": "^16.0.0", "eslint": "^8.0.0", "mkdirp": "^2.1.2", diff --git a/packages/typespec-test/test/loadTest/generated/typespec-ts/package.json b/packages/typespec-test/test/loadTest/generated/typespec-ts/package.json index c1c65276be..d8adb35ea7 100644 --- a/packages/typespec-test/test/loadTest/generated/typespec-ts/package.json +++ b/packages/typespec-test/test/loadTest/generated/typespec-ts/package.json @@ -19,7 +19,7 @@ "LICENSE", "review/*" ], - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "scripts": { "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", "build:browser": "tsc -p . && cross-env ONLY_BROWSER=true rollup -c 2>&1", @@ -63,7 +63,7 @@ "devDependencies": { "@microsoft/api-extractor": "^7.31.1", "autorest": "latest", - "@types/node": "^16.0.0", + "@types/node": "^18.0.0", "dotenv": "^16.0.0", "eslint": "^8.0.0", "mkdirp": "^2.1.2", diff --git a/packages/typespec-test/test/loadtesting_modular/generated/typespec-ts/package.json b/packages/typespec-test/test/loadtesting_modular/generated/typespec-ts/package.json index 88e0e3f44e..f6779347fc 100644 --- a/packages/typespec-test/test/loadtesting_modular/generated/typespec-ts/package.json +++ b/packages/typespec-test/test/loadtesting_modular/generated/typespec-ts/package.json @@ -51,7 +51,7 @@ "LICENSE", "review/*" ], - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "scripts": { "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", "build:browser": "tsc -p . && cross-env ONLY_BROWSER=true rollup -c 2>&1", @@ -96,7 +96,7 @@ "devDependencies": { "@microsoft/api-extractor": "^7.31.1", "autorest": "latest", - "@types/node": "^16.0.0", + "@types/node": "^18.0.0", "dotenv": "^16.0.0", "eslint": "^8.0.0", "mkdirp": "^2.1.2", diff --git a/packages/typespec-test/test/openai/generated/typespec-ts/package.json b/packages/typespec-test/test/openai/generated/typespec-ts/package.json index 7f473819a4..c5855a7d33 100644 --- a/packages/typespec-test/test/openai/generated/typespec-ts/package.json +++ b/packages/typespec-test/test/openai/generated/typespec-ts/package.json @@ -19,7 +19,7 @@ "LICENSE", "review/*" ], - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "scripts": { "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", "build:browser": "tsc -p . && cross-env ONLY_BROWSER=true rollup -c 2>&1", @@ -60,7 +60,7 @@ "devDependencies": { "@microsoft/api-extractor": "^7.31.1", "autorest": "latest", - "@types/node": "^16.0.0", + "@types/node": "^18.0.0", "dotenv": "^16.0.0", "eslint": "^8.0.0", "mkdirp": "^2.1.2", diff --git a/packages/typespec-test/test/openai_generic/generated/typespec-ts/package.json b/packages/typespec-test/test/openai_generic/generated/typespec-ts/package.json index fd4975912b..ff6b4ffdd5 100644 --- a/packages/typespec-test/test/openai_generic/generated/typespec-ts/package.json +++ b/packages/typespec-test/test/openai_generic/generated/typespec-ts/package.json @@ -35,7 +35,7 @@ "LICENSE", "review/*" ], - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "scripts": { "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", "build:browser": "tsc -p . && cross-env ONLY_BROWSER=true rollup -c 2>&1", @@ -77,7 +77,7 @@ "devDependencies": { "@microsoft/api-extractor": "^7.31.1", "autorest": "latest", - "@types/node": "^16.0.0", + "@types/node": "^18.0.0", "dotenv": "^16.0.0", "eslint": "^8.0.0", "mkdirp": "^2.1.2", diff --git a/packages/typespec-test/test/openai_modular/generated/typespec-ts/package.json b/packages/typespec-test/test/openai_modular/generated/typespec-ts/package.json index ef8e17bfad..8d82e0017b 100644 --- a/packages/typespec-test/test/openai_modular/generated/typespec-ts/package.json +++ b/packages/typespec-test/test/openai_modular/generated/typespec-ts/package.json @@ -35,7 +35,7 @@ "LICENSE", "review/*" ], - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "scripts": { "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", "build:browser": "tsc -p . && cross-env ONLY_BROWSER=true rollup -c 2>&1", @@ -79,7 +79,7 @@ "devDependencies": { "@microsoft/api-extractor": "^7.31.1", "autorest": "latest", - "@types/node": "^16.0.0", + "@types/node": "^18.0.0", "dotenv": "^16.0.0", "eslint": "^8.0.0", "mkdirp": "^2.1.2", diff --git a/packages/typespec-test/test/parametrizedHost/generated/typespec-ts/package.json b/packages/typespec-test/test/parametrizedHost/generated/typespec-ts/package.json index 1374b560a2..94b1058348 100644 --- a/packages/typespec-test/test/parametrizedHost/generated/typespec-ts/package.json +++ b/packages/typespec-test/test/parametrizedHost/generated/typespec-ts/package.json @@ -19,7 +19,7 @@ "LICENSE", "review/*" ], - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "scripts": { "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", "build:browser": "echo skipped.", @@ -60,7 +60,7 @@ "devDependencies": { "@microsoft/api-extractor": "^7.31.1", "autorest": "latest", - "@types/node": "^16.0.0", + "@types/node": "^18.0.0", "dotenv": "^16.0.0", "eslint": "^8.0.0", "mkdirp": "^2.1.2", diff --git a/packages/typespec-test/test/translator/generated/typespec-ts/package.json b/packages/typespec-test/test/translator/generated/typespec-ts/package.json index 4175db4240..add7ae7310 100644 --- a/packages/typespec-test/test/translator/generated/typespec-ts/package.json +++ b/packages/typespec-test/test/translator/generated/typespec-ts/package.json @@ -19,7 +19,7 @@ "LICENSE", "review/*" ], - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "scripts": { "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", "build:browser": "tsc -p . && cross-env ONLY_BROWSER=true rollup -c 2>&1", @@ -60,7 +60,7 @@ "devDependencies": { "@microsoft/api-extractor": "^7.31.1", "autorest": "latest", - "@types/node": "^16.0.0", + "@types/node": "^18.0.0", "dotenv": "^16.0.0", "eslint": "^8.0.0", "mkdirp": "^2.1.2", diff --git a/packages/typespec-test/test/widget_dpg/generated/typespec-ts/package.json b/packages/typespec-test/test/widget_dpg/generated/typespec-ts/package.json index 84ea81445e..229c9a76cc 100644 --- a/packages/typespec-test/test/widget_dpg/generated/typespec-ts/package.json +++ b/packages/typespec-test/test/widget_dpg/generated/typespec-ts/package.json @@ -35,7 +35,7 @@ "LICENSE", "review/*" ], - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "scripts": { "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", "build:browser": "tsc -p . && cross-env ONLY_BROWSER=true rollup -c 2>&1", @@ -77,7 +77,7 @@ "devDependencies": { "@microsoft/api-extractor": "^7.31.1", "autorest": "latest", - "@types/node": "^16.0.0", + "@types/node": "^18.0.0", "dotenv": "^16.0.0", "eslint": "^8.0.0", "mkdirp": "^2.1.2", diff --git a/packages/typespec-ts/src/modular/buildProjectFiles.ts b/packages/typespec-ts/src/modular/buildProjectFiles.ts index c4bcbf4d64..73a1e6197d 100644 --- a/packages/typespec-ts/src/modular/buildProjectFiles.ts +++ b/packages/typespec-ts/src/modular/buildProjectFiles.ts @@ -85,7 +85,7 @@ export function emitPackage( "review/*" ], engines: { - node: ">=16.0.0" + node: ">=18.0.0" }, scripts: { audit: @@ -151,7 +151,7 @@ export function emitPackage( devDependencies: { "@microsoft/api-extractor": "^7.31.1", autorest: "latest", - "@types/node": "^16.0.0", + "@types/node": "^18.0.0", dotenv: "^16.0.0", eslint: "^8.0.0", mkdirp: "^2.1.2", diff --git a/packages/typespec-ts/test/integration/generated/authentication/apiKey/package.json b/packages/typespec-ts/test/integration/generated/authentication/apiKey/package.json index 6aa116be41..e2b4105a87 100644 --- a/packages/typespec-ts/test/integration/generated/authentication/apiKey/package.json +++ b/packages/typespec-ts/test/integration/generated/authentication/apiKey/package.json @@ -19,7 +19,7 @@ "LICENSE", "review/*" ], - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "scripts": { "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", "build:browser": "tsc -p . && cross-env ONLY_BROWSER=true rollup -c 2>&1", @@ -60,7 +60,7 @@ "devDependencies": { "@microsoft/api-extractor": "^7.31.1", "autorest": "latest", - "@types/node": "^16.0.0", + "@types/node": "^18.0.0", "dotenv": "^16.0.0", "eslint": "^8.0.0", "mkdirp": "^2.1.2", diff --git a/packages/typespec-ts/test/integration/generated/authentication/http-custom/package.json b/packages/typespec-ts/test/integration/generated/authentication/http-custom/package.json index 8a370329c5..8d02afa77f 100644 --- a/packages/typespec-ts/test/integration/generated/authentication/http-custom/package.json +++ b/packages/typespec-ts/test/integration/generated/authentication/http-custom/package.json @@ -19,7 +19,7 @@ "LICENSE", "review/*" ], - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "scripts": { "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", "build:browser": "tsc -p . && cross-env ONLY_BROWSER=true rollup -c 2>&1", @@ -60,7 +60,7 @@ "devDependencies": { "@microsoft/api-extractor": "^7.31.1", "autorest": "latest", - "@types/node": "^16.0.0", + "@types/node": "^18.0.0", "dotenv": "^16.0.0", "eslint": "^8.0.0", "mkdirp": "^2.1.2", diff --git a/packages/typespec-ts/test/integration/generated/azure/core-traits/package.json b/packages/typespec-ts/test/integration/generated/azure/core-traits/package.json index aaceedab48..089372eb57 100644 --- a/packages/typespec-ts/test/integration/generated/azure/core-traits/package.json +++ b/packages/typespec-ts/test/integration/generated/azure/core-traits/package.json @@ -19,7 +19,7 @@ "LICENSE", "review/*" ], - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "scripts": { "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", "build:browser": "tsc -p . && cross-env ONLY_BROWSER=true rollup -c 2>&1", @@ -60,7 +60,7 @@ "devDependencies": { "@microsoft/api-extractor": "^7.31.1", "autorest": "latest", - "@types/node": "^16.0.0", + "@types/node": "^18.0.0", "dotenv": "^16.0.0", "eslint": "^8.0.0", "mkdirp": "^2.1.2", diff --git a/packages/typespec-ts/test/integration/generated/azure/core/package.json b/packages/typespec-ts/test/integration/generated/azure/core/package.json index cee927bd8f..1df5ce7ff2 100644 --- a/packages/typespec-ts/test/integration/generated/azure/core/package.json +++ b/packages/typespec-ts/test/integration/generated/azure/core/package.json @@ -19,7 +19,7 @@ "LICENSE", "review/*" ], - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "scripts": { "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", "build:browser": "echo skipped.", @@ -61,7 +61,7 @@ "devDependencies": { "@microsoft/api-extractor": "^7.31.1", "autorest": "latest", - "@types/node": "^16.0.0", + "@types/node": "^18.0.0", "dotenv": "^16.0.0", "eslint": "^8.0.0", "mkdirp": "^2.1.2", diff --git a/packages/typespec-ts/test/integration/generated/client/structure/default/package.json b/packages/typespec-ts/test/integration/generated/client/structure/default/package.json index 4f7f775f52..1002d5d7c7 100644 --- a/packages/typespec-ts/test/integration/generated/client/structure/default/package.json +++ b/packages/typespec-ts/test/integration/generated/client/structure/default/package.json @@ -19,7 +19,7 @@ "LICENSE", "review/*" ], - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "scripts": { "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", "build:browser": "echo skipped.", @@ -60,7 +60,7 @@ "devDependencies": { "@microsoft/api-extractor": "^7.31.1", "autorest": "latest", - "@types/node": "^16.0.0", + "@types/node": "^18.0.0", "dotenv": "^16.0.0", "eslint": "^8.0.0", "mkdirp": "^2.1.2", diff --git a/packages/typespec-ts/test/integration/generated/client/structure/multi-client/package.json b/packages/typespec-ts/test/integration/generated/client/structure/multi-client/package.json index c25f0387f0..ea41e20efa 100644 --- a/packages/typespec-ts/test/integration/generated/client/structure/multi-client/package.json +++ b/packages/typespec-ts/test/integration/generated/client/structure/multi-client/package.json @@ -19,7 +19,7 @@ "LICENSE", "review/*" ], - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "scripts": { "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", "build:browser": "echo skipped.", @@ -60,7 +60,7 @@ "devDependencies": { "@microsoft/api-extractor": "^7.31.1", "autorest": "latest", - "@types/node": "^16.0.0", + "@types/node": "^18.0.0", "dotenv": "^16.0.0", "eslint": "^8.0.0", "mkdirp": "^2.1.2", diff --git a/packages/typespec-ts/test/integration/generated/client/structure/renamed-operation/package.json b/packages/typespec-ts/test/integration/generated/client/structure/renamed-operation/package.json index ff9a117739..6da195b5db 100644 --- a/packages/typespec-ts/test/integration/generated/client/structure/renamed-operation/package.json +++ b/packages/typespec-ts/test/integration/generated/client/structure/renamed-operation/package.json @@ -19,7 +19,7 @@ "LICENSE", "review/*" ], - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "scripts": { "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", "build:browser": "echo skipped.", @@ -60,7 +60,7 @@ "devDependencies": { "@microsoft/api-extractor": "^7.31.1", "autorest": "latest", - "@types/node": "^16.0.0", + "@types/node": "^18.0.0", "dotenv": "^16.0.0", "eslint": "^8.0.0", "mkdirp": "^2.1.2", diff --git a/packages/typespec-ts/test/integration/generated/client/structure/two-operation-group/package.json b/packages/typespec-ts/test/integration/generated/client/structure/two-operation-group/package.json index 01ce38e587..df9aa3fdfd 100644 --- a/packages/typespec-ts/test/integration/generated/client/structure/two-operation-group/package.json +++ b/packages/typespec-ts/test/integration/generated/client/structure/two-operation-group/package.json @@ -19,7 +19,7 @@ "LICENSE", "review/*" ], - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "scripts": { "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", "build:browser": "echo skipped.", @@ -60,7 +60,7 @@ "devDependencies": { "@microsoft/api-extractor": "^7.31.1", "autorest": "latest", - "@types/node": "^16.0.0", + "@types/node": "^18.0.0", "dotenv": "^16.0.0", "eslint": "^8.0.0", "mkdirp": "^2.1.2", diff --git a/packages/typespec-ts/test/integration/generated/dictionary/package.json b/packages/typespec-ts/test/integration/generated/dictionary/package.json index fe732b88f3..e72ffefb04 100644 --- a/packages/typespec-ts/test/integration/generated/dictionary/package.json +++ b/packages/typespec-ts/test/integration/generated/dictionary/package.json @@ -19,7 +19,7 @@ "LICENSE", "review/*" ], - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "scripts": { "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", "build:browser": "echo skipped.", @@ -60,7 +60,7 @@ "devDependencies": { "@microsoft/api-extractor": "^7.31.1", "autorest": "latest", - "@types/node": "^16.0.0", + "@types/node": "^18.0.0", "dotenv": "^16.0.0", "eslint": "^8.0.0", "mkdirp": "^2.1.2", diff --git a/packages/typespec-ts/test/integration/generated/enums/extensible/package.json b/packages/typespec-ts/test/integration/generated/enums/extensible/package.json index 5084dfaf8b..de2b0ae754 100644 --- a/packages/typespec-ts/test/integration/generated/enums/extensible/package.json +++ b/packages/typespec-ts/test/integration/generated/enums/extensible/package.json @@ -19,7 +19,7 @@ "LICENSE", "review/*" ], - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "scripts": { "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", "build:browser": "echo skipped.", @@ -60,7 +60,7 @@ "devDependencies": { "@microsoft/api-extractor": "^7.31.1", "autorest": "latest", - "@types/node": "^16.0.0", + "@types/node": "^18.0.0", "dotenv": "^16.0.0", "eslint": "^8.0.0", "mkdirp": "^2.1.2", diff --git a/packages/typespec-ts/test/integration/generated/enums/fixed/package.json b/packages/typespec-ts/test/integration/generated/enums/fixed/package.json index 15b89298fa..6f7d937cb4 100644 --- a/packages/typespec-ts/test/integration/generated/enums/fixed/package.json +++ b/packages/typespec-ts/test/integration/generated/enums/fixed/package.json @@ -19,7 +19,7 @@ "LICENSE", "review/*" ], - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "scripts": { "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", "build:browser": "echo skipped.", @@ -60,7 +60,7 @@ "devDependencies": { "@microsoft/api-extractor": "^7.31.1", "autorest": "latest", - "@types/node": "^16.0.0", + "@types/node": "^18.0.0", "dotenv": "^16.0.0", "eslint": "^8.0.0", "mkdirp": "^2.1.2", diff --git a/packages/typespec-ts/test/integration/generated/headers/clientRequestId/package.json b/packages/typespec-ts/test/integration/generated/headers/clientRequestId/package.json index 13e91f30dc..2477d06a9c 100644 --- a/packages/typespec-ts/test/integration/generated/headers/clientRequestId/package.json +++ b/packages/typespec-ts/test/integration/generated/headers/clientRequestId/package.json @@ -19,7 +19,7 @@ "LICENSE", "review/*" ], - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "scripts": { "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", "build:browser": "echo skipped.", @@ -60,7 +60,7 @@ "devDependencies": { "@microsoft/api-extractor": "^7.31.1", "autorest": "latest", - "@types/node": "^16.0.0", + "@types/node": "^18.0.0", "dotenv": "^16.0.0", "eslint": "^8.0.0", "mkdirp": "^2.1.2", diff --git a/packages/typespec-ts/test/integration/generated/headers/repeatability/package.json b/packages/typespec-ts/test/integration/generated/headers/repeatability/package.json index aaea666dc4..6b2c0b262c 100644 --- a/packages/typespec-ts/test/integration/generated/headers/repeatability/package.json +++ b/packages/typespec-ts/test/integration/generated/headers/repeatability/package.json @@ -19,7 +19,7 @@ "LICENSE", "review/*" ], - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "scripts": { "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", "build:browser": "echo skipped.", @@ -60,7 +60,7 @@ "devDependencies": { "@microsoft/api-extractor": "^7.31.1", "autorest": "latest", - "@types/node": "^16.0.0", + "@types/node": "^18.0.0", "dotenv": "^16.0.0", "eslint": "^8.0.0", "mkdirp": "^2.1.2", diff --git a/packages/typespec-ts/test/integration/generated/hello/package.json b/packages/typespec-ts/test/integration/generated/hello/package.json index c32e7ed4df..b5dc1084c6 100644 --- a/packages/typespec-ts/test/integration/generated/hello/package.json +++ b/packages/typespec-ts/test/integration/generated/hello/package.json @@ -19,7 +19,7 @@ "LICENSE", "review/*" ], - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "scripts": { "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", "build:browser": "echo skipped.", @@ -60,7 +60,7 @@ "devDependencies": { "@microsoft/api-extractor": "^7.31.1", "autorest": "latest", - "@types/node": "^16.0.0", + "@types/node": "^18.0.0", "dotenv": "^16.0.0", "eslint": "^8.0.0", "mkdirp": "^2.1.2", diff --git a/packages/typespec-ts/test/integration/generated/lro/lroCore/package.json b/packages/typespec-ts/test/integration/generated/lro/lroCore/package.json index a41f8d579d..64cd6cf898 100644 --- a/packages/typespec-ts/test/integration/generated/lro/lroCore/package.json +++ b/packages/typespec-ts/test/integration/generated/lro/lroCore/package.json @@ -19,7 +19,7 @@ "LICENSE", "review/*" ], - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "scripts": { "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", "build:browser": "echo skipped.", @@ -62,7 +62,7 @@ "devDependencies": { "@microsoft/api-extractor": "^7.31.1", "autorest": "latest", - "@types/node": "^16.0.0", + "@types/node": "^18.0.0", "dotenv": "^16.0.0", "eslint": "^8.0.0", "mkdirp": "^2.1.2", diff --git a/packages/typespec-ts/test/integration/generated/lro/lroRPC/package.json b/packages/typespec-ts/test/integration/generated/lro/lroRPC/package.json index 792f9dc34d..2fa1f955d7 100644 --- a/packages/typespec-ts/test/integration/generated/lro/lroRPC/package.json +++ b/packages/typespec-ts/test/integration/generated/lro/lroRPC/package.json @@ -19,7 +19,7 @@ "LICENSE", "review/*" ], - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "scripts": { "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", "build:browser": "echo skipped.", @@ -62,7 +62,7 @@ "devDependencies": { "@microsoft/api-extractor": "^7.31.1", "autorest": "latest", - "@types/node": "^16.0.0", + "@types/node": "^18.0.0", "dotenv": "^16.0.0", "eslint": "^8.0.0", "mkdirp": "^2.1.2", diff --git a/packages/typespec-ts/test/integration/generated/models/empty/package.json b/packages/typespec-ts/test/integration/generated/models/empty/package.json index 3081678ad4..39c1b59cff 100644 --- a/packages/typespec-ts/test/integration/generated/models/empty/package.json +++ b/packages/typespec-ts/test/integration/generated/models/empty/package.json @@ -19,7 +19,7 @@ "LICENSE", "review/*" ], - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "scripts": { "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", "build:browser": "echo skipped.", @@ -60,7 +60,7 @@ "devDependencies": { "@microsoft/api-extractor": "^7.31.1", "autorest": "latest", - "@types/node": "^16.0.0", + "@types/node": "^18.0.0", "dotenv": "^16.0.0", "eslint": "^8.0.0", "mkdirp": "^2.1.2", diff --git a/packages/typespec-ts/test/integration/generated/models/inheritance-enum-discriminator/package.json b/packages/typespec-ts/test/integration/generated/models/inheritance-enum-discriminator/package.json index ac3ddd5756..304896da8c 100644 --- a/packages/typespec-ts/test/integration/generated/models/inheritance-enum-discriminator/package.json +++ b/packages/typespec-ts/test/integration/generated/models/inheritance-enum-discriminator/package.json @@ -19,7 +19,7 @@ "LICENSE", "review/*" ], - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "scripts": { "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", "build:browser": "echo skipped.", @@ -60,7 +60,7 @@ "devDependencies": { "@microsoft/api-extractor": "^7.31.1", "autorest": "latest", - "@types/node": "^16.0.0", + "@types/node": "^18.0.0", "dotenv": "^16.0.0", "eslint": "^8.0.0", "mkdirp": "^2.1.2", diff --git a/packages/typespec-ts/test/integration/generated/models/inheritance-not-discriminated/package.json b/packages/typespec-ts/test/integration/generated/models/inheritance-not-discriminated/package.json index d5e2096684..310615fd82 100644 --- a/packages/typespec-ts/test/integration/generated/models/inheritance-not-discriminated/package.json +++ b/packages/typespec-ts/test/integration/generated/models/inheritance-not-discriminated/package.json @@ -19,7 +19,7 @@ "LICENSE", "review/*" ], - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "scripts": { "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", "build:browser": "echo skipped.", @@ -60,7 +60,7 @@ "devDependencies": { "@microsoft/api-extractor": "^7.31.1", "autorest": "latest", - "@types/node": "^16.0.0", + "@types/node": "^18.0.0", "dotenv": "^16.0.0", "eslint": "^8.0.0", "mkdirp": "^2.1.2", diff --git a/packages/typespec-ts/test/integration/generated/models/inheritance-single-discriminator/package.json b/packages/typespec-ts/test/integration/generated/models/inheritance-single-discriminator/package.json index 52fea789df..5a086db9a5 100644 --- a/packages/typespec-ts/test/integration/generated/models/inheritance-single-discriminator/package.json +++ b/packages/typespec-ts/test/integration/generated/models/inheritance-single-discriminator/package.json @@ -19,7 +19,7 @@ "LICENSE", "review/*" ], - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "scripts": { "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", "build:browser": "echo skipped.", @@ -60,7 +60,7 @@ "devDependencies": { "@microsoft/api-extractor": "^7.31.1", "autorest": "latest", - "@types/node": "^16.0.0", + "@types/node": "^18.0.0", "dotenv": "^16.0.0", "eslint": "^8.0.0", "mkdirp": "^2.1.2", diff --git a/packages/typespec-ts/test/integration/generated/models/inheritance/package.json b/packages/typespec-ts/test/integration/generated/models/inheritance/package.json index a43d60eddf..2357cd2557 100644 --- a/packages/typespec-ts/test/integration/generated/models/inheritance/package.json +++ b/packages/typespec-ts/test/integration/generated/models/inheritance/package.json @@ -19,7 +19,7 @@ "LICENSE", "review/*" ], - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "scripts": { "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", "build:browser": "echo skipped.", @@ -60,7 +60,7 @@ "devDependencies": { "@microsoft/api-extractor": "^7.31.1", "autorest": "latest", - "@types/node": "^16.0.0", + "@types/node": "^18.0.0", "dotenv": "^16.0.0", "eslint": "^8.0.0", "mkdirp": "^2.1.2", diff --git a/packages/typespec-ts/test/integration/generated/models/propertyNullable/package.json b/packages/typespec-ts/test/integration/generated/models/propertyNullable/package.json index 5a42e4aa90..91d1f0d2bb 100644 --- a/packages/typespec-ts/test/integration/generated/models/propertyNullable/package.json +++ b/packages/typespec-ts/test/integration/generated/models/propertyNullable/package.json @@ -19,7 +19,7 @@ "LICENSE", "review/*" ], - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "scripts": { "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", "build:browser": "echo skipped.", @@ -60,7 +60,7 @@ "devDependencies": { "@microsoft/api-extractor": "^7.31.1", "autorest": "latest", - "@types/node": "^16.0.0", + "@types/node": "^18.0.0", "dotenv": "^16.0.0", "eslint": "^8.0.0", "mkdirp": "^2.1.2", diff --git a/packages/typespec-ts/test/integration/generated/models/propertyOptional/package.json b/packages/typespec-ts/test/integration/generated/models/propertyOptional/package.json index 7bd42a226c..8d33004f1f 100644 --- a/packages/typespec-ts/test/integration/generated/models/propertyOptional/package.json +++ b/packages/typespec-ts/test/integration/generated/models/propertyOptional/package.json @@ -19,7 +19,7 @@ "LICENSE", "review/*" ], - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "scripts": { "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", "build:browser": "echo skipped.", @@ -60,7 +60,7 @@ "devDependencies": { "@microsoft/api-extractor": "^7.31.1", "autorest": "latest", - "@types/node": "^16.0.0", + "@types/node": "^18.0.0", "dotenv": "^16.0.0", "eslint": "^8.0.0", "mkdirp": "^2.1.2", diff --git a/packages/typespec-ts/test/integration/generated/models/propertyTypes/package.json b/packages/typespec-ts/test/integration/generated/models/propertyTypes/package.json index 03e07faea1..5c74ca0524 100644 --- a/packages/typespec-ts/test/integration/generated/models/propertyTypes/package.json +++ b/packages/typespec-ts/test/integration/generated/models/propertyTypes/package.json @@ -19,7 +19,7 @@ "LICENSE", "review/*" ], - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "scripts": { "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", "build:browser": "echo skipped.", @@ -60,7 +60,7 @@ "devDependencies": { "@microsoft/api-extractor": "^7.31.1", "autorest": "latest", - "@types/node": "^16.0.0", + "@types/node": "^18.0.0", "dotenv": "^16.0.0", "eslint": "^8.0.0", "mkdirp": "^2.1.2", diff --git a/packages/typespec-ts/test/integration/generated/models/usage/package.json b/packages/typespec-ts/test/integration/generated/models/usage/package.json index 803f0b2c14..dc8f6ee80a 100644 --- a/packages/typespec-ts/test/integration/generated/models/usage/package.json +++ b/packages/typespec-ts/test/integration/generated/models/usage/package.json @@ -19,7 +19,7 @@ "LICENSE", "review/*" ], - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "scripts": { "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", "build:browser": "echo skipped.", @@ -60,7 +60,7 @@ "devDependencies": { "@microsoft/api-extractor": "^7.31.1", "autorest": "latest", - "@types/node": "^16.0.0", + "@types/node": "^18.0.0", "dotenv": "^16.0.0", "eslint": "^8.0.0", "mkdirp": "^2.1.2", diff --git a/packages/typespec-ts/test/integration/generated/models/visibility/package.json b/packages/typespec-ts/test/integration/generated/models/visibility/package.json index a7e5020ecc..bdaa8eea72 100644 --- a/packages/typespec-ts/test/integration/generated/models/visibility/package.json +++ b/packages/typespec-ts/test/integration/generated/models/visibility/package.json @@ -19,7 +19,7 @@ "LICENSE", "review/*" ], - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "scripts": { "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", "build:browser": "echo skipped.", @@ -60,7 +60,7 @@ "devDependencies": { "@microsoft/api-extractor": "^7.31.1", "autorest": "latest", - "@types/node": "^16.0.0", + "@types/node": "^18.0.0", "dotenv": "^16.0.0", "eslint": "^8.0.0", "mkdirp": "^2.1.2", diff --git a/packages/typespec-ts/test/integration/generated/resiliency/srvDriven1/package.json b/packages/typespec-ts/test/integration/generated/resiliency/srvDriven1/package.json index 378bf6400b..7a6c761737 100644 --- a/packages/typespec-ts/test/integration/generated/resiliency/srvDriven1/package.json +++ b/packages/typespec-ts/test/integration/generated/resiliency/srvDriven1/package.json @@ -19,7 +19,7 @@ "LICENSE", "review/*" ], - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "scripts": { "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", "build:browser": "echo skipped.", @@ -60,7 +60,7 @@ "devDependencies": { "@microsoft/api-extractor": "^7.31.1", "autorest": "latest", - "@types/node": "^16.0.0", + "@types/node": "^18.0.0", "dotenv": "^16.0.0", "eslint": "^8.0.0", "mkdirp": "^2.1.2", diff --git a/packages/typespec-ts/test/integration/generated/resiliency/srvDriven2/package.json b/packages/typespec-ts/test/integration/generated/resiliency/srvDriven2/package.json index 39d6b5cff1..b4b0d6db49 100644 --- a/packages/typespec-ts/test/integration/generated/resiliency/srvDriven2/package.json +++ b/packages/typespec-ts/test/integration/generated/resiliency/srvDriven2/package.json @@ -19,7 +19,7 @@ "LICENSE", "review/*" ], - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "scripts": { "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", "build:browser": "echo skipped.", @@ -60,7 +60,7 @@ "devDependencies": { "@microsoft/api-extractor": "^7.31.1", "autorest": "latest", - "@types/node": "^16.0.0", + "@types/node": "^18.0.0", "dotenv": "^16.0.0", "eslint": "^8.0.0", "mkdirp": "^2.1.2", diff --git a/packages/typespec-ts/test/integration/generated/union-body/package.json b/packages/typespec-ts/test/integration/generated/union-body/package.json index f95d1b15a3..06ed464552 100644 --- a/packages/typespec-ts/test/integration/generated/union-body/package.json +++ b/packages/typespec-ts/test/integration/generated/union-body/package.json @@ -19,7 +19,7 @@ "LICENSE", "review/*" ], - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "scripts": { "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", "build:browser": "tsc -p . && cross-env ONLY_BROWSER=true rollup -c 2>&1", @@ -60,7 +60,7 @@ "devDependencies": { "@microsoft/api-extractor": "^7.31.1", "autorest": "latest", - "@types/node": "^16.0.0", + "@types/node": "^18.0.0", "dotenv": "^16.0.0", "eslint": "^8.0.0", "mkdirp": "^2.1.2", diff --git a/packages/typespec-ts/test/integration/generated/unions/package.json b/packages/typespec-ts/test/integration/generated/unions/package.json index 80ca64ee68..5f27b87744 100644 --- a/packages/typespec-ts/test/integration/generated/unions/package.json +++ b/packages/typespec-ts/test/integration/generated/unions/package.json @@ -19,7 +19,7 @@ "LICENSE", "review/*" ], - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "scripts": { "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", "build:browser": "echo skipped.", @@ -60,7 +60,7 @@ "devDependencies": { "@microsoft/api-extractor": "^7.31.1", "autorest": "latest", - "@types/node": "^16.0.0", + "@types/node": "^18.0.0", "dotenv": "^16.0.0", "eslint": "^8.0.0", "mkdirp": "^2.1.2", diff --git a/packages/typespec-ts/test/modularIntegration/generated/azure/core/package.json b/packages/typespec-ts/test/modularIntegration/generated/azure/core/package.json index 9ccd252001..e72b4a9f39 100644 --- a/packages/typespec-ts/test/modularIntegration/generated/azure/core/package.json +++ b/packages/typespec-ts/test/modularIntegration/generated/azure/core/package.json @@ -35,7 +35,7 @@ "LICENSE", "review/*" ], - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "scripts": { "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", "build:browser": "echo skipped.", @@ -78,7 +78,7 @@ "devDependencies": { "@microsoft/api-extractor": "^7.31.1", "autorest": "latest", - "@types/node": "^16.0.0", + "@types/node": "^18.0.0", "dotenv": "^16.0.0", "eslint": "^8.0.0", "mkdirp": "^2.1.2", diff --git a/packages/typespec-ts/test/modularIntegration/generated/client/structure/default/package.json b/packages/typespec-ts/test/modularIntegration/generated/client/structure/default/package.json index ef73d7bab1..0abaef348d 100644 --- a/packages/typespec-ts/test/modularIntegration/generated/client/structure/default/package.json +++ b/packages/typespec-ts/test/modularIntegration/generated/client/structure/default/package.json @@ -35,7 +35,7 @@ "LICENSE", "review/*" ], - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "scripts": { "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", "build:browser": "echo skipped.", @@ -77,7 +77,7 @@ "devDependencies": { "@microsoft/api-extractor": "^7.31.1", "autorest": "latest", - "@types/node": "^16.0.0", + "@types/node": "^18.0.0", "dotenv": "^16.0.0", "eslint": "^8.0.0", "mkdirp": "^2.1.2", diff --git a/packages/typespec-ts/test/modularIntegration/generated/client/structure/multi-client/package.json b/packages/typespec-ts/test/modularIntegration/generated/client/structure/multi-client/package.json index 005c90565f..3852d12998 100644 --- a/packages/typespec-ts/test/modularIntegration/generated/client/structure/multi-client/package.json +++ b/packages/typespec-ts/test/modularIntegration/generated/client/structure/multi-client/package.json @@ -51,7 +51,7 @@ "LICENSE", "review/*" ], - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "scripts": { "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", "build:browser": "echo skipped.", @@ -93,7 +93,7 @@ "devDependencies": { "@microsoft/api-extractor": "^7.31.1", "autorest": "latest", - "@types/node": "^16.0.0", + "@types/node": "^18.0.0", "dotenv": "^16.0.0", "eslint": "^8.0.0", "mkdirp": "^2.1.2", diff --git a/packages/typespec-ts/test/modularIntegration/generated/client/structure/renamed-operation/package.json b/packages/typespec-ts/test/modularIntegration/generated/client/structure/renamed-operation/package.json index 2f7068ecb0..3b5add8e7f 100644 --- a/packages/typespec-ts/test/modularIntegration/generated/client/structure/renamed-operation/package.json +++ b/packages/typespec-ts/test/modularIntegration/generated/client/structure/renamed-operation/package.json @@ -35,7 +35,7 @@ "LICENSE", "review/*" ], - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "scripts": { "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", "build:browser": "echo skipped.", @@ -77,7 +77,7 @@ "devDependencies": { "@microsoft/api-extractor": "^7.31.1", "autorest": "latest", - "@types/node": "^16.0.0", + "@types/node": "^18.0.0", "dotenv": "^16.0.0", "eslint": "^8.0.0", "mkdirp": "^2.1.2", diff --git a/packages/typespec-ts/test/modularIntegration/generated/client/structure/two-operation-group/package.json b/packages/typespec-ts/test/modularIntegration/generated/client/structure/two-operation-group/package.json index 08723af2ce..388f63dcce 100644 --- a/packages/typespec-ts/test/modularIntegration/generated/client/structure/two-operation-group/package.json +++ b/packages/typespec-ts/test/modularIntegration/generated/client/structure/two-operation-group/package.json @@ -35,7 +35,7 @@ "LICENSE", "review/*" ], - "engines": { "node": ">=16.0.0" }, + "engines": { "node": ">=18.0.0" }, "scripts": { "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", "build:browser": "echo skipped.", @@ -77,7 +77,7 @@ "devDependencies": { "@microsoft/api-extractor": "^7.31.1", "autorest": "latest", - "@types/node": "^16.0.0", + "@types/node": "^18.0.0", "dotenv": "^16.0.0", "eslint": "^8.0.0", "mkdirp": "^2.1.2",