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

swagger-enforcer

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

swagger-enforcer - npm Package Compare versions

Comparing version 1.3.5 to 1.3.6

2

bin/apply-template.js

@@ -56,3 +56,3 @@ /**

Object.defineProperty(module.exports, 'defaults', {
get: () => Object.assign({}, defaults),
get: () => defaults,
set: v => {

@@ -59,0 +59,0 @@ Object.assign(defaults, {

{
"name": "swagger-enforcer",
"version": "1.3.5",
"version": "1.3.6",
"description": "Automatically validate a value against the swagger schema while you build it. Alternatively you can validate the final value.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -332,5 +332,7 @@ [![Build Status](https://travis-ci.org/byu-oit/swagger-enforcer.svg?branch=master)](https://travis-ci.org/byu-oit/swagger-enforcer)

Enforcer.applyTemplate.defaults = {
autoFormat: true,
defaultsUseParams: true,
useDefaults: true,
useTemplates: true,
useVariables: true,
replacement: 'handlebar'

@@ -337,0 +339,0 @@ };

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