New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

swagger-mock-parser

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

swagger-mock-parser - npm Package Compare versions

Comparing version 1.1.10 to 1.1.11

10

dist/Parsers/ObjectParser.js

@@ -43,4 +43,2 @@ 'use strict';

value: function generateObject(node) {
var _this = this;
var ret = {};

@@ -50,10 +48,4 @@ var schema = _hoek2['default'].clone(node);

var _loop = function (k) {
ret[k] = setImmediate(function () {
_this.parser.parse(schema[k]);
});
};
for (var k in schema) {
_loop(k);
ret[k] = this.parser.parse(schema[k]);
}

@@ -60,0 +52,0 @@

2

package.json
{
"name": "swagger-mock-parser",
"version": "1.1.10",
"version": "1.1.11",
"description": "use chance.js to parse definition schema to mock data",

@@ -5,0 +5,0 @@ "keywords": [

@@ -23,3 +23,3 @@ import Chance from 'chance';

for (let k in schema) {
ret[k] = setImmediate(() => {this.parser.parse(schema[k])});
ret[k] = this.parser.parse(schema[k]);
}

@@ -26,0 +26,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