Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

sls-helper-plugin-janis

Package Overview
Dependencies
Maintainers
2
Versions
147
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sls-helper-plugin-janis - npm Package Compare versions

Comparing version 2.4.0 to 2.4.1

4

CHANGELOG.md

@@ -9,2 +9,6 @@ # Changelog

## [2.4.1] - 2020-02-20
### Fixed
- API hook now normalizes the path to avoid bad function naming
## [2.4.0] - 2020-02-19

@@ -11,0 +15,0 @@ ### Added

8

lib/api/api.js

@@ -42,5 +42,7 @@ 'use strict';

const pathParameters = getPathParameters(path);
const fileDir = getFileDirFromApiPath(path);
const normalizedPath = normalizePath(path);
const pathParameters = getPathParameters(normalizedPath);
const fileDir = getFileDirFromApiPath(normalizedPath);
methodName = methodName || method;

@@ -50,3 +52,3 @@

integration: INTEGRATION,
path: normalizePath(path),
path: normalizedPath,
method: method.toLowerCase(),

@@ -53,0 +55,0 @@ request: buildRequest({ pathParameters, queryParameters, requestHeaders }),

{
"name": "sls-helper-plugin-janis",
"version": "2.4.0",
"version": "2.4.1",
"description": "A Serverless Helper plugin to add custom helpers for JANIS Commerce",

@@ -5,0 +5,0 @@ "main": "lib/plugin.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc