Skip to content

Commit

Permalink
Merge pull request #604 from amplify-education/feature/AT-10914-deps-fix
Browse files Browse the repository at this point in the history
AT-10914: Fixed deprecated packages
  • Loading branch information
rddimon authored Nov 30, 2023
2 parents 504a6cd + 4a3e89c commit 4f920d0
Show file tree
Hide file tree
Showing 29 changed files with 450 additions and 2,030 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [7.3.0] - 2023-11-30

### Fixed
- Fixed deprecated packages warnings

## [7.2.1] - 2023-11-27

### Fixed
Expand Down
2,396 changes: 405 additions & 1,991 deletions package-lock.json

Large diffs are not rendered by default.

25 changes: 13 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "serverless-domain-manager",
"version": "7.2.1",
"version": "7.3.0",
"engines": {
"node": ">=14"
},
Expand Down Expand Up @@ -67,18 +67,19 @@
"typescript": "^5.2.2"
},
"dependencies": {
"@aws-sdk/client-acm": "^3.374.0",
"@aws-sdk/client-api-gateway": "^3.374.0",
"@aws-sdk/client-apigatewayv2": "^3.374.0",
"@aws-sdk/client-cloudformation": "^3.374.0",
"@aws-sdk/client-route-53": "^3.374.0",
"@aws-sdk/client-s3": "^3.374.0",
"@aws-sdk/config-resolver": "^3.374.0",
"@aws-sdk/credential-providers": "^3.374.0",
"@aws-sdk/node-config-provider": "^3.374.0",
"@aws-sdk/smithy-client": "^3.374.0",
"@aws-sdk/util-retry": "^3.374.0",
"@aws-sdk/client-acm": "^3.460.0",
"@aws-sdk/client-api-gateway": "^3.460.0",
"@aws-sdk/client-apigatewayv2": "^3.460.0",
"@aws-sdk/client-cloudformation": "^3.460.0",
"@aws-sdk/client-route-53": "^3.460.0",
"@aws-sdk/client-s3": "^3.460.0",
"@aws-sdk/credential-providers": "^3.460.0",
"@smithy/config-resolver": "^2.0.19",
"@smithy/node-config-provider": "^2.1.6",
"@smithy/node-http-handler": "^2.1.10",
"@smithy/smithy-client": "^2.1.16",
"@smithy/types": "^2.6.0",
"@smithy/util-retry": "^2.0.7",
"proxy-agent": "^6.3.1"
},
"peerDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion src/globals.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {ServerlessInstance, ServerlessOptions, ServerlessUtils} from "./types";
import {fromIni} from "@aws-sdk/credential-providers";
import {ConfiguredRetryStrategy} from "@aws-sdk/util-retry";
import {ConfiguredRetryStrategy} from "@smithy/util-retry";
import { NodeHttpHandler } from "@smithy/node-http-handler";
import { ProxyAgent } from "proxy-agent";

Expand Down
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ import APIGatewayV1Wrapper = require("./aws/api-gateway-v1-wrapper");
import APIGatewayV2Wrapper = require("./aws/api-gateway-v2-wrapper");
import APIGatewayBase = require("./models/apigateway-base");
import Logging from "./logging";
import {loadConfig} from "@aws-sdk/node-config-provider";
import {NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS} from "@aws-sdk/config-resolver";
import {loadConfig} from "@smithy/node-config-provider";
import {NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS} from "@smithy/config-resolver";
import {ChangeAction} from "@aws-sdk/client-route-53";

class ServerlessCustomDomain {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ provider:
name: aws
iam:
role: arn:aws:iam::${aws:accountId}:role/sls_domain_manager_lambda
runtime: nodejs14.x
runtime: nodejs16.x
region: us-west-2
endpointType: REGIONAL
stage: test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ provider:
name: aws
iam:
role: arn:aws:iam::${aws:accountId}:role/sls_domain_manager_lambda
runtime: nodejs14.x
runtime: nodejs16.x
region: us-west-2
stage: test
apiGateway:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ provider:
name: aws
iam:
role: arn:aws:iam::${aws:accountId}:role/sls_domain_manager_lambda
runtime: nodejs14.x
runtime: nodejs16.x
region: us-west-2
stage: test
stackTags:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ provider:
name: aws
iam:
role: arn:aws:iam::${aws:accountId}:role/sls_domain_manager_lambda
runtime: nodejs14.x
runtime: nodejs16.x
region: us-west-2
stage: test
functions:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ provider:
name: aws
iam:
role: arn:aws:iam::${aws:accountId}:role/sls_domain_manager_lambda
runtime: nodejs14.x
runtime: nodejs16.x
region: us-west-2
stage: test
functions:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ provider:
name: aws
iam:
role: arn:aws:iam::${aws:accountId}:role/sls_domain_manager_lambda
runtime: nodejs14.x
runtime: nodejs16.x
region: us-west-2
stage: test
stackTags:
Expand Down
2 changes: 1 addition & 1 deletion test/integration-tests/basic/mutual-tls/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ provider:
name: aws
iam:
role: arn:aws:iam::${aws:accountId}:role/sls_domain_manager_lambda
runtime: nodejs14.x
runtime: nodejs16.x
region: us-west-2
stage: test
functions:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ provider:
name: aws
iam:
role: arn:aws:iam::${aws:accountId}:role/sls_domain_manager_lambda
runtime: nodejs14.x
runtime: nodejs16.x
region: us-west-2
stage: test
stackTags:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ provider:
name: aws
iam:
role: arn:aws:iam::${aws:accountId}:role/sls_domain_manager_lambda
runtime: nodejs14.x
runtime: nodejs16.x
region: us-west-2
stage: test
functions:
Expand Down
2 changes: 1 addition & 1 deletion test/integration-tests/debug/pr-example/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ provider:
name: aws
iam:
role: arn:aws:iam::${aws:accountId}:role/sls_domain_manager_lambda
runtime: nodejs14.x
runtime: nodejs16.x
region: us-west-2
stage: test
functions:
Expand Down
2 changes: 1 addition & 1 deletion test/integration-tests/deploy/auto-domain/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ provider:
name: aws
iam:
role: arn:aws:iam::${aws:accountId}:role/sls_domain_manager_lambda
runtime: nodejs14.x
runtime: nodejs16.x
region: us-west-2
stage: test
functions:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ provider:
name: aws
iam:
role: arn:aws:iam::${aws:accountId}:role/sls_domain_manager_lambda
runtime: nodejs14.x
runtime: nodejs16.x
region: us-west-2
stage: test
functions:
Expand Down
2 changes: 1 addition & 1 deletion test/integration-tests/deploy/basepath/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ provider:
name: aws
iam:
role: arn:aws:iam::${aws:accountId}:role/sls_domain_manager_lambda
runtime: nodejs14.x
runtime: nodejs16.x
region: us-west-2
stage: test
functions:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ provider:
name: aws
iam:
role: arn:aws:iam::${aws:accountId}:role/sls_domain_manager_lambda
runtime: nodejs14.x
runtime: nodejs16.x
region: us-west-2
stage: test
apiGateway:
Expand Down
2 changes: 1 addition & 1 deletion test/integration-tests/deploy/default/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ provider:
name: aws
iam:
role: arn:aws:iam::${aws:accountId}:role/sls_domain_manager_lambda
runtime: nodejs14.x
runtime: nodejs16.x
region: us-west-2
stage: test
functions:
Expand Down
2 changes: 1 addition & 1 deletion test/integration-tests/deploy/http-api/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ provider:
name: aws
iam:
role: arn:aws:iam::${aws:accountId}:role/sls_domain_manager_lambda
runtime: nodejs14.x
runtime: nodejs16.x
region: us-west-2
stage: test
functions:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ provider:
name: aws
iam:
role: arn:aws:iam::${aws:accountId}:role/sls_domain_manager_lambda
runtime: nodejs14.x
runtime: nodejs16.x
region: us-west-2
endpointType: REGIONAL
stage: test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ provider:
name: aws
iam:
role: arn:aws:iam::${aws:accountId}:role/sls_domain_manager_lambda
runtime: nodejs14.x
runtime: nodejs16.x
region: us-west-2
endpointType: REGIONAL
stage: test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ provider:
name: aws
iam:
role: arn:aws:iam::${aws:accountId}:role/sls_domain_manager_lambda
runtime: nodejs14.x
runtime: nodejs16.x
region: us-west-2
stage: test
endpointType: REGIONAL
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ provider:
name: aws
iam:
role: arn:aws:iam::${aws:accountId}:role/sls_domain_manager_lambda
runtime: nodejs14.x
runtime: nodejs16.x
region: us-west-2
endpointType: REGIONAL
stage: test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ provider:
name: aws
iam:
role: arn:aws:iam::${aws:accountId}:role/sls_domain_manager_lambda
runtime: nodejs14.x
runtime: nodejs16.x
region: us-west-2
endpointType: REGIONAL
stage: test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ provider:
name: aws
iam:
role: arn:aws:iam::${aws:accountId}:role/sls_domain_manager_lambda
runtime: nodejs14.x
runtime: nodejs16.x
region: us-west-2
endpointType: REGIONAL
stage: test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ provider:
name: aws
iam:
role: arn:aws:iam::${aws:accountId}:role/sls_domain_manager_lambda
runtime: nodejs14.x
runtime: nodejs16.x
region: us-west-2
stage: test
functions:
Expand Down
2 changes: 1 addition & 1 deletion test/integration-tests/deploy/web-socket/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ provider:
name: aws
iam:
role: arn:aws:iam::${aws:accountId}:role/sls_domain_manager_lambda
runtime: nodejs14.x
runtime: nodejs16.x
region: us-west-2
stage: test
functions:
Expand Down

0 comments on commit 4f920d0

Please sign in to comment.