diff --git a/CHANGELOG.md b/CHANGELOG.md index e04142ddb..1dd3a5b51 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,12 @@ +# 1.48.2 (2019-07-19) + +- [Fix issues in post install and pre uninstall scripts](https://github.com/serverless/serverless/pull/6415) +- + +## Meta + +- [Comparison since last release](https://github.com/serverless/serverless/compare/v1.48.1...v1.48.2) + # 1.48.1 (2019-07-19) - [Use Python3 for Python in interactive setup](https://github.com/serverless/serverless/pull/6406) diff --git a/package.json b/package.json index 1c936558a..ee20e2c7e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "serverless", - "version": "1.48.1", + "version": "1.48.2", "engines": { "node": ">=6.0" }, @@ -94,10 +94,10 @@ "chai-as-promised": "^7.1.1", "child-process-ext": "^2.0.0", "cli-progress-footer": "^1.1.1", - "coveralls": "^3.0.4", + "coveralls": "^3.0.5", "eslint": "^6.0.1", "eslint-plugin-import": "^2.18.1", - "git-list-updated": "^1.2.0", + "git-list-updated": "^1.2.1", "jest-circus": "^24.8.0", "jest-cli": "^24.8.0", "mocha": "^6.2.0", @@ -107,7 +107,7 @@ "p-limit": "^2.2.0", "prettier": "^1.18.2", "process-utils": "^2.3.1", - "proxyquire": "^2.1.0", + "proxyquire": "^2.1.1", "sinon": "^7.3.2", "sinon-chai": "^3.3.0", "strip-ansi": "^5.2.0" @@ -117,7 +117,7 @@ "@serverless/enterprise-plugin": "^1.3.1", "archiver": "^1.3.0", "async": "^1.5.2", - "aws-sdk": "^2.490.0", + "aws-sdk": "^2.496.0", "bluebird": "^3.5.5", "cachedir": "^2.2.0", "chalk": "^2.4.2", @@ -130,7 +130,7 @@ "globby": "^6.1.0", "graceful-fs": "^4.2.0", "https-proxy-agent": "^2.2.2", - "inquirer": "^6.4.1", + "inquirer": "^6.5.0", "is-docker": "^1.1.0", "js-yaml": "^3.13.1", "json-cycle": "^1.3.0", diff --git a/scripts/postinstall.js b/scripts/postinstall.js index 041be366c..91ba30451 100644 --- a/scripts/postinstall.js +++ b/scripts/postinstall.js @@ -5,7 +5,6 @@ const chalk = require('chalk'); /* eslint-disable no-console */ -const Serverless = require('../lib/Serverless'); const execSync = require('child_process').execSync; const truthyStr = val => val && !['0', 'false', 'f', 'n', 'no'].includes(val.toLowerCase()); @@ -24,6 +23,7 @@ if (!truthyStr(CI) && !truthyStr(ADBLOCK) && !truthyStr(SILENT)) { } try { + const Serverless = require('../lib/Serverless'); const serverless = new Serverless(); (() => diff --git a/scripts/preuninstall.js b/scripts/preuninstall.js index 3a75dcc73..d013d0602 100644 --- a/scripts/preuninstall.js +++ b/scripts/preuninstall.js @@ -1,8 +1,7 @@ 'use strict'; -const Serverless = require('../lib/Serverless'); - try { + const Serverless = require('../lib/Serverless'); const serverless = new Serverless(); (() =>