serverless-localstack
Advanced tools
Comparing version 1.1.0 to 1.1.1
{ | ||
"name": "serverless-localstack", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "Connect Serverless to LocalStack!", | ||
@@ -13,5 +13,3 @@ "main": "src/index.js", | ||
"test:integration:watch": "JASMINE_CONFIG_PATH=spec/support/jasmine_integration.json nodemon -L -i spec/integrate ./node_modules/.bin/jasmine", | ||
"test:cover": "jasmine --coverage", | ||
"prepublish": "npm run test", | ||
"preversion": "npm run test" | ||
"test:cover": "jasmine --coverage" | ||
}, | ||
@@ -30,3 +28,4 @@ "repository": { | ||
"yohei1126", | ||
"bentsku" | ||
"bentsku", | ||
"Joel Scheuner (joe4dev)" | ||
], | ||
@@ -33,0 +32,0 @@ "license": "MIT", |
@@ -209,2 +209,3 @@ [![Build Status](https://travis-ci.org/localstack/serverless-localstack.svg?branch=master)](https://travis-ci.org/localstack/serverless-localstack) | ||
* v1.1.1: Fix layer deployment if `mountCode` is enabled by always packaging and deploying | ||
* v1.1.0: Fix SSM environment variables resolving issues with serverless v3, change default for `BUCKET_MARKER_LOCAL` to `hot-reload` | ||
@@ -211,0 +212,0 @@ * v1.0.6: Add `BUCKET_MARKER_LOCAL` configuration for customizing S3 bucket for lambda mount and [Hot Reloading](https://docs.localstack.cloud/user-guide/tools/lambda-tools/hot-reloading/). |
@@ -11,3 +11,3 @@ 'use strict'; | ||
region: 'us-east-1', | ||
endpoint: 'http://localhost:4566' | ||
endpoint: 'http://127.0.0.1:4566' | ||
}); | ||
@@ -14,0 +14,0 @@ AWS.config.credentials = new AWS.Credentials({ |
@@ -35,3 +35,3 @@ 'use strict'; | ||
sandbox = sinon.createSandbox(); | ||
serverless = new Serverless(); | ||
serverless = new Serverless({commands: ['deploy'], options: {}}); | ||
awsProvider = new AwsProvider(serverless, {}); | ||
@@ -180,3 +180,4 @@ awsConfig = new AWS.Config(); | ||
let templateUrl = request.firstCall.args[2].TemplateURL; | ||
expect(templateUrl).to.startsWith(`${config.host}`); | ||
// url should either start with 'http://localhost' or 'http://127.0.0.1 | ||
expect(templateUrl).to.satisfy((url) => url.startsWith(`${config.host}`) || url.startsWith('http://127.0.0.1')); | ||
}); | ||
@@ -183,0 +184,0 @@ |
@@ -179,3 +179,2 @@ 'use strict'; | ||
// Patch plugin methods | ||
this.skipIfMountLambda('Package', 'packageService'); | ||
function compileFunction(functionName) { | ||
@@ -214,3 +213,2 @@ if (!this.shouldMountCode()) { | ||
this.skipIfMountLambda('AwsDeploy', 'extendedValidate'); | ||
this.skipIfMountLambda('AwsDeploy', 'uploadFunctionsAndLayers'); | ||
if (this.detectTypescriptPluginType()) { | ||
@@ -217,0 +215,0 @@ this.skipIfMountLambda(this.detectTypescriptPluginType(), 'cleanup', null, [ |
Sorry, the diff of this file is not supported yet
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
249
56509
14
1063
4