Socket
Socket
Sign inDemoInstall

lambda-serverless-api

Package Overview
Dependencies
Maintainers
1
Versions
396
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lambda-serverless-api - npm Package Compare versions

Comparing version 1.12.0 to 1.12.1

3

lib/api.js

@@ -5,3 +5,3 @@ const xor = require('lodash.xor');

const Limiter = require('lambda-rate-limiter');
const yaml = require("./util/yaml");
const yaml = require("yaml-boost");
const param = require("./param");

@@ -93,3 +93,2 @@ const response = require("./response");

wrap,
loadYaml: yaml.load,
generateSwagger: (existing = {}) => swagger(endpoints, existing),

@@ -96,0 +95,0 @@ generateDifference,

@@ -20,6 +20,6 @@ {

"lambda-tdd": "1.11.12",
"js-gardener": "1.11.20",
"semantic-release": "15.0.3"
"js-gardener": "1.11.21",
"semantic-release": "15.1.2"
},
"version": "1.12.0",
"version": "1.12.1",
"scripts": {

@@ -56,3 +56,3 @@ "test": "grunt gardener",

"lodash.get": "4.4.2",
"lodash.mergewith": "4.6.1",
"yaml-boost": "1.2.0",
"lodash.set": "4.3.2",

@@ -59,0 +59,0 @@ "lodash.xor": "4.5.0",

@@ -83,2 +83,2 @@ [![Build Status](https://img.shields.io/travis/simlu/lambda-serverless-api/master.svg)](https://travis-ci.org/simlu/lambda-serverless-api)

Function `loadYaml` is exposed to load `serverless.yml` style files and resolve references and variables. This is handy to be used in `serverless.js` since the native loading currently has some issues.
Consider using [yaml-boost](https://github.com/simlu/yaml-boost)
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