@purple/serverless-git-branch-stage-plugin
Advanced tools
Comparing version 1.2.0 to 1.3.0
{ | ||
"name": "@purple/serverless-git-branch-stage-plugin", | ||
"version": "1.2.0", | ||
"version": "1.3.0", | ||
"engines": { | ||
@@ -29,8 +29,8 @@ "node": ">=12" | ||
"devDependencies": { | ||
"eslint": "^6.8.0", | ||
"eslint-config-prettier": "^6.9.0", | ||
"eslint": "^7.14.0", | ||
"eslint-config-prettier": "^7.0.0", | ||
"eslint-plugin-prettier": "^3.1.2", | ||
"husky": "^4.3.0", | ||
"lint-staged": "^10.4.0", | ||
"prettier": "^1.19.1" | ||
"prettier": "^2.2.0" | ||
}, | ||
@@ -37,0 +37,0 @@ "lint-staged": { |
@@ -14,3 +14,3 @@ 'use strict' | ||
const toBasePath = branch => branch.replace(/[^a-zA-Z0-9_]/g, '-') | ||
const toBasePath = (branch) => branch.replace(/[^a-zA-Z0-9_]/g, '-') | ||
@@ -22,3 +22,3 @@ module.exports = class ServerlessGitBranchStagePlugin { | ||
) | ||
serverless.variables.getValueFromSource = variable => { | ||
serverless.variables.getValueFromSource = (variable) => { | ||
const matches = variable.match(/^git:(stage|basePath)$/) | ||
@@ -25,0 +25,0 @@ if (matches === null) { |
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
4871
5
47
2