@serverless/utils
Advanced tools
Comparing version 1.2.0 to 2.0.0
@@ -5,2 +5,13 @@ # Changelog | ||
## [2.0.0](https://github.com/serverless/utils/compare/v1.2.0...v2.0.0) (2020-09-21) | ||
### ⚠ BREAKING CHANGES | ||
- Node.js version 10 or later is required (dropped support for v6 and v8) | ||
### Features | ||
- Integrate @serverless/inquirer project ([#59](https://github.com/serverless/utils/pull/59)) ([3fc274a](https://github.com/serverless/utils/commit/3fc274a413ac04f34daee2abeff1b969686182c6)) ([Mariusz Nowak](https://github.com/medikoo)) | ||
- Drop support for Node.js v8 ([6cba266](https://github.com/serverless/utils/commit/6cba266861c9c55e4e897f896bb76cd265b0f80a)) ([Mariusz Nowak](https://github.com/medikoo)) | ||
## [1.2.0](https://github.com/serverless/utils/compare/v1.1.0...v1.2.0) (2020-06-26) | ||
@@ -7,0 +18,0 @@ |
{ | ||
"name": "@serverless/utils", | ||
"version": "1.2.0", | ||
"version": "2.0.0", | ||
"description": "Serverless CLI utilities", | ||
@@ -9,39 +9,31 @@ "repository": "serverless/utils", | ||
"dependencies": { | ||
"chalk": "^2.0.1", | ||
"lodash": "^4.17.15", | ||
"chalk": "^4.1.0", | ||
"inquirer": "^7.3.3", | ||
"lodash": "^4.17.20", | ||
"ncjsm": "^4.1.0", | ||
"rc": "^1.2.8", | ||
"type": "^2.0.0", | ||
"uuid": "^3.4.0", | ||
"write-file-atomic": "^2.4.3" | ||
"type": "^2.1.0", | ||
"uuid": "^8.3.0", | ||
"write-file-atomic": "^3.0.3" | ||
}, | ||
"devDependencies": { | ||
"@commitlint/cli": "^9.0.1", | ||
"@serverless/eslint-config": "^1.2.1", | ||
"@serverless/test": "^3.8.1", | ||
"@commitlint/cli": "^11.0.0", | ||
"@serverless/eslint-config": "^3.0.0", | ||
"@serverless/test": "^3.9.0", | ||
"chai": "^4.2.0", | ||
"eslint": "^7.3.1", | ||
"eslint-plugin-import": "^2.21.2", | ||
"eslint": "^7.9.0", | ||
"eslint-plugin-import": "^2.22.0", | ||
"git-list-updated": "^1.2.1", | ||
"github-release-from-cc-changelog": "^2.2.0", | ||
"husky": "^4.2.5", | ||
"lint-staged": "^10.2.11", | ||
"mocha": "^6.1.1", | ||
"ncjsm": "^4.0.1", | ||
"husky": "^4.3.0", | ||
"lint-staged": "^10.4.0", | ||
"mocha": "^6.2.3", | ||
"nyc": "^15.1.0", | ||
"prettier": "^2.0.5", | ||
"standard-version": "^8.0.0" | ||
"prettier": "^2.1.2", | ||
"sinon": "^8.1.1", | ||
"standard-version": "^9.0.0" | ||
}, | ||
"eslintConfig": { | ||
"extends": "@serverless/eslint-config/node", | ||
"root": true, | ||
"overrides": [ | ||
{ | ||
"files": [ | ||
"**/test/**" | ||
], | ||
"env": { | ||
"mocha": true | ||
} | ||
} | ||
] | ||
"root": true | ||
}, | ||
@@ -103,4 +95,4 @@ "husky": { | ||
"prettify:updated": "pipe-git-updated --ext=css --ext=html --ext=js --ext=json --ext=md --ext=yaml --ext=yml -- prettier --write", | ||
"test": "mocha test/**/*.js", | ||
"test:isolated": "mocha-isolated test/**/*.js" | ||
"test": "mocha \"test/**/*.js\"", | ||
"test:isolated": "mocha-isolated \"test/**/*.js\"" | ||
}, | ||
@@ -111,5 +103,5 @@ "publishConfig": { | ||
"engines": { | ||
"node": ">=6.0" | ||
"node": ">=10.0" | ||
}, | ||
"license": "MIT" | ||
} |
@@ -6,3 +6,3 @@ 'use strict'; | ||
describe('Config', () => { | ||
describe('config', () => { | ||
it('should have CONFIG_FILE_PATH', () => { | ||
@@ -9,0 +9,0 @@ const configPath = config.CONFIG_FILE_PATH; |
@@ -7,3 +7,3 @@ 'use strict'; | ||
describe('Config', () => { | ||
describe('is-in-china', () => { | ||
it('Should resole boolean', () => { | ||
@@ -10,0 +10,0 @@ expect(typeof isInChina).to.equal('boolean'); |
@@ -15,3 +15,3 @@ 'use strict'; | ||
describe('lib/utils/processBackendNotificationRequest', () => { | ||
describe('process-backend-notification-request', () => { | ||
it('Should ignore invalid input', () => { | ||
@@ -18,0 +18,0 @@ expect(processTargetNotifications()).to.equal(null); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
28787
25
459
8
13
+ Addedinquirer@^7.3.3
+ Addedncjsm@^4.1.0
+ Addedansi-escapes@4.3.2(transitive)
+ Addedansi-regex@5.0.1(transitive)
+ Addedansi-styles@4.3.0(transitive)
+ Addedbuiltin-modules@3.3.0(transitive)
+ Addedchalk@4.1.2(transitive)
+ Addedchardet@0.7.0(transitive)
+ Addedcli-cursor@3.1.0(transitive)
+ Addedcli-width@3.0.0(transitive)
+ Addedcolor-convert@2.0.1(transitive)
+ Addedcolor-name@1.1.4(transitive)
+ Addedd@1.0.2(transitive)
+ Addeddeferred@0.7.11(transitive)
+ Addedemoji-regex@8.0.0(transitive)
+ Addedes5-ext@0.10.64(transitive)
+ Addedes6-iterator@2.0.3(transitive)
+ Addedes6-set@0.1.6(transitive)
+ Addedes6-symbol@3.1.4(transitive)
+ Addedes6-weak-map@2.0.3(transitive)
+ Addedesniff@1.1.32.0.1(transitive)
+ Addedevent-emitter@0.3.5(transitive)
+ Addedext@1.7.0(transitive)
+ Addedexternal-editor@3.1.0(transitive)
+ Addedfigures@3.2.0(transitive)
+ Addedfind-requires@1.0.0(transitive)
+ Addedfs2@0.3.15(transitive)
+ Addedhas-flag@4.0.0(transitive)
+ Addediconv-lite@0.4.24(transitive)
+ Addedignore@5.3.2(transitive)
+ Addedinquirer@7.3.3(transitive)
+ Addedis-fullwidth-code-point@3.0.0(transitive)
+ Addedis-promise@2.2.2(transitive)
+ Addedis-typedarray@1.0.0(transitive)
+ Addedlru-queue@0.1.0(transitive)
+ Addedmemoizee@0.4.17(transitive)
+ Addedmimic-fn@2.1.0(transitive)
+ Addedmute-stream@0.0.8(transitive)
+ Addedncjsm@4.3.2(transitive)
+ Addednext-tick@1.1.0(transitive)
+ Addedonetime@5.1.2(transitive)
+ Addedos-tmpdir@1.0.2(transitive)
+ Addedrestore-cursor@3.1.0(transitive)
+ Addedrun-async@2.4.1(transitive)
+ Addedrxjs@6.6.7(transitive)
+ Addedsafer-buffer@2.1.2(transitive)
+ Addedstring-width@4.2.3(transitive)
+ Addedstrip-ansi@6.0.1(transitive)
+ Addedsupports-color@7.2.0(transitive)
+ Addedthrough@2.3.8(transitive)
+ Addedtimers-ext@0.1.8(transitive)
+ Addedtmp@0.0.33(transitive)
+ Addedtslib@1.14.1(transitive)
+ Addedtype-fest@0.21.3(transitive)
+ Addedtypedarray-to-buffer@3.1.5(transitive)
+ Addeduuid@8.3.2(transitive)
+ Addedwrite-file-atomic@3.0.3(transitive)
- Removedansi-styles@3.2.1(transitive)
- Removedchalk@2.4.2(transitive)
- Removedcolor-convert@1.9.3(transitive)
- Removedcolor-name@1.1.3(transitive)
- Removedgraceful-fs@4.2.11(transitive)
- Removedhas-flag@3.0.0(transitive)
- Removedsupports-color@5.5.0(transitive)
- Removeduuid@3.4.0(transitive)
- Removedwrite-file-atomic@2.4.3(transitive)
Updatedchalk@^4.1.0
Updatedlodash@^4.17.20
Updatedtype@^2.1.0
Updateduuid@^8.3.0
Updatedwrite-file-atomic@^3.0.3