Skip to content

Commit c524f44

Browse files
authored
chore(deps-dev): bump aws-sdk-mock to 6.0.2 (#732)
1 parent 067f2bc commit c524f44

8 files changed

+340
-461
lines changed

package-lock.json

+7-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
"proxy-agent": "^6.2.0"
4848
},
4949
"devDependencies": {
50-
"aws-sdk-mock": "^5.8.0",
50+
"aws-sdk-mock": "^6.0.2",
5151
"chai": "^5.0.0",
5252
"mocha": "^10.1.0",
5353
"node-zip": "^1.1.1",

test/cloudwatch_logs.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import('chai').then(chai => {
55
assert = chai.assert
66
})
77
const path = require('path')
8-
const aws = require('aws-sdk-mock')
8+
const aws = require('aws-sdk-mock').default
99
aws.setSDK(path.resolve('node_modules/aws-sdk'))
1010
const CloudWatchLogs = require(path.join('..', 'lib', 'cloudwatch_logs'))
1111

test/main.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ let assert
1111
import('chai').then(chai => {
1212
assert = chai.assert
1313
})
14-
const awsMock = require('aws-sdk-mock')
14+
const awsMock = require('aws-sdk-mock').default
1515
awsMock.setSDK(path.resolve('node_modules/aws-sdk'))
1616

1717
const originalProgram = {

test/s3_deploy.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import('chai').then(chai => {
66
})
77
const process = require('process')
88
const path = require('path')
9-
const aws = require('aws-sdk-mock')
9+
const aws = require('aws-sdk-mock').default
1010
aws.setSDK(path.resolve('node_modules/aws-sdk'))
1111
const S3Deploy = require('../lib/s3_deploy')
1212

test/s3_events.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import('chai').then(chai => {
55
assert = chai.assert
66
})
77
const path = require('path')
8-
const aws = require('aws-sdk-mock')
8+
const aws = require('aws-sdk-mock').default
99
aws.setSDK(path.resolve('node_modules/aws-sdk'))
1010
const S3Events = require('../lib/s3_events')
1111

test/schedule_events.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import('chai').then(chai => {
55
assert = chai.assert
66
})
77
const path = require('path')
8-
const aws = require('aws-sdk-mock')
8+
const aws = require('aws-sdk-mock').default
99
aws.setSDK(path.resolve('node_modules/aws-sdk'))
1010
const ScheduleEvents = require(path.join('..', 'lib', 'schedule_events'))
1111

0 commit comments

Comments
 (0)