From 77878aa6c22ddac17eeae709e0b2e18d8c724600 Mon Sep 17 00:00:00 2001 From: Mariusz Nowak Date: Fri, 19 Jul 2019 23:26:39 +0200 Subject: [PATCH 1/5] Fix eventual init issue in postinstall script --- scripts/postinstall.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); (() => From 3953bf38a4deaf11f8fb17d274e3d31312bf315b Mon Sep 17 00:00:00 2001 From: Mariusz Nowak Date: Fri, 19 Jul 2019 23:27:00 +0200 Subject: [PATCH 2/5] Fix eventual crash in pre uninstall --- scripts/preuninstall.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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(); (() => From dd1a1df14fb66c0d36dc6473e5b62951d69a855a Mon Sep 17 00:00:00 2001 From: Mariusz Nowak Date: Fri, 19 Jul 2019 23:30:07 +0200 Subject: [PATCH 3/5] Bump dependencies --- package.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 1c936558a..6cf4724ec 100644 --- a/package.json +++ b/package.json @@ -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", From d1fbad059f19ac5dacde92bda8c8db0585bb1617 Mon Sep 17 00:00:00 2001 From: Mariusz Nowak Date: Fri, 19 Jul 2019 23:34:04 +0200 Subject: [PATCH 4/5] Release v1.48.2 --- CHANGELOG.md | 9 +++++++++ package.json | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e04142ddb..1d3f9d12a 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 6cf4724ec..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" }, From 87f445016b0f508ef4c0324d47262198ad74e26f Mon Sep 17 00:00:00 2001 From: Mariusz Nowak Date: Fri, 19 Jul 2019 23:34:22 +0200 Subject: [PATCH 5/5] Prettify --- CHANGELOG.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1d3f9d12a..1dd3a5b51 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,12 +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)