Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependencies #11433

Merged
merged 10 commits into from
Oct 11, 2022
Merged
2 changes: 1 addition & 1 deletion lib/cli/load-dotenv.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const throwDotenvError = (error, filePath) => {

const loadDotenvFrom = (envFilePath) => {
const config = dotenv.config({ path: envFilePath });
return dotenvExpand(config);
return dotenvExpand.expand(config);
};

module.exports = (stage) => {
Expand Down
2 changes: 1 addition & 1 deletion lib/plugins/aws/deploy/lib/upload-artifacts.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const fsp = require('fs').promises;
const path = require('path');
const crypto = require('crypto');
const limit = require('ext/promise/limit').bind(Promise);
const filesize = require('filesize');
const { filesize } = require('filesize');
const normalizeFiles = require('../../lib/normalize-files');
const getLambdaLayerArtifactPath = require('../../utils/get-lambda-layer-artifact-path');
const ServerlessError = require('../../../../serverless-error');
Expand Down
2 changes: 1 addition & 1 deletion lib/utils/filesize.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict';

const ensureNaturalNumber = require('type/natural-number/ensure');
const filesize = require('filesize');
const { filesize } = require('filesize');

const resolveSignificant = (size) => {
return size >= 1000 ? resolveSignificant(Math.floor(size / 1000)) : size;
Expand Down
30 changes: 15 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,23 +28,23 @@
"ajv": "^8.11.0",
"ajv-formats": "^2.1.1",
"archiver": "^5.3.1",
"aws-sdk": "^2.1195.0",
"aws-sdk": "^2.1231.0",
"bluebird": "^3.7.2",
"cachedir": "^2.3.0",
"chalk": "^4.1.2",
"child-process-ext": "^2.1.1",
"ci-info": "^3.3.2",
"ci-info": "^3.5.0",
"cli-progress-footer": "^2.3.2",
"d": "^1.0.1",
"dayjs": "^1.11.5",
"decompress": "^4.2.1",
"dotenv": "^10.0.0",
"dotenv-expand": "^5.1.0",
"dotenv": "^16.0.3",
"dotenv-expand": "^9.0.0",
"essentials": "^1.2.0",
"ext": "^1.6.0",
"ext": "^1.7.0",
"fastest-levenshtein": "^1.0.16",
"filesize": "^8.0.7",
"fs-extra": "^9.1.0",
"filesize": "^10.0.5",
"fs-extra": "^10.1.0",
"get-stdin": "^8.0.0",
"globby": "^11.1.0",
"got": "^11.8.5",
Expand All @@ -59,33 +59,33 @@
"micromatch": "^4.0.5",
"node-fetch": "^2.6.7",
"npm-registry-utilities": "^1.0.0",
"object-hash": "^2.2.0",
"open": "^7.4.2",
"object-hash": "^3.0.0",
"open": "^8.4.0",
"path2": "^0.1.0",
"process-utils": "^4.0.0",
"promise-queue": "^2.2.5",
"require-from-string": "^2.0.2",
"semver": "^7.3.7",
"semver": "^7.3.8",
"signal-exit": "^3.0.7",
"strip-ansi": "^6.0.1",
"supports-color": "^8.1.1",
"tar": "^6.1.11",
"timers-ext": "^0.1.7",
"type": "^2.7.2",
"untildify": "^4.0.0",
"uuid": "^8.3.2",
"uuid": "^9.0.0",
"yaml-ast-parser": "0.0.43"
},
"devDependencies": {
"@commitlint/cli": "^12.1.4",
"@serverless/eslint-config": "^4.0.1",
"@serverless/eslint-config": "^5.0.1",
"@serverless/test": "^11.0.1",
"adm-zip": "^0.5.9",
"aws4": "^1.11.0",
"chai": "^4.3.6",
"chai-as-promised": "^7.1.1",
"cos-nodejs-sdk-v5": "^2.11.12",
"eslint": "^8.22.0",
"eslint": "^8.25.0",
"eslint-plugin-import": "^2.26.0",
"git-list-updated": "^1.2.1",
"github-release-from-cc-changelog": "^2.3.0",
Expand All @@ -102,14 +102,14 @@
"prettier": "^2.7.1",
"proxyquire": "^2.1.3",
"semver-regex": "^3.1.4",
"sinon": "^12.0.1",
"sinon": "^13.0.2",
"sinon-chai": "^3.7.0",
"standard-version": "^9.5.0",
"ws": "^7.5.9",
"xml2js": "^0.4.23"
},
"eslintConfig": {
"extends": "@serverless/eslint-config/node",
"extends": "@serverless/eslint-config/node/12",
"root": true,
"overrides": [
{
Expand Down