Socket
Socket
Sign inDemoInstall

@mocks-server/plugin-openapi

Package Overview
Dependencies
306
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.0.0-beta.3 to 3.0.0-beta.4

24

dist/Plugin.js

@@ -121,2 +121,14 @@ "use strict";

}
get _defaultCollectionOptions() {
if (!this._collectionIdOption.value) {
return null;
}
const options = {
id: this._collectionIdOption.value,
};
if (this._collectionFromOption.value) {
options.from = this._collectionFromOption.value;
}
return options;
}
_getRoutesAndCollectionsFromFilesContents(filesContents) {

@@ -151,14 +163,2 @@ return __awaiter(this, void 0, void 0, function* () {

}
get _defaultCollectionOptions() {
if (!this._collectionIdOption.value) {
return null;
}
const options = {
id: this._collectionIdOption.value,
};
if (this._collectionFromOption.value) {
options.from = this._collectionFromOption.value;
}
return options;
}
_onLoadFiles(filesContents) {

@@ -165,0 +165,0 @@ return __awaiter(this, void 0, void 0, function* () {

{
"name": "@mocks-server/plugin-openapi",
"version": "3.0.0-beta.3",
"version": "3.0.0-beta.4",
"description": "Mocks server plugin allowing to create routes and collections from OpenApi definitions",

@@ -31,3 +31,3 @@ "keywords": [

"peerDependencies": {
"@mocks-server/core": "5.0.0-beta.2"
"@mocks-server/core": "5.0.0-beta.3"
},

@@ -39,6 +39,6 @@ "dependencies": {

"devDependencies": {
"@mocks-server/config": "2.0.0-beta.2",
"@mocks-server/core": "5.0.0-beta.2",
"@mocks-server/logger": "2.0.0-beta.1",
"@mocks-server/nested-collections": "3.0.0-beta.1"
"@mocks-server/config": "2.0.0-beta.3",
"@mocks-server/core": "5.0.0-beta.3",
"@mocks-server/logger": "2.0.0-beta.2",
"@mocks-server/nested-collections": "3.0.0-beta.2"
},

@@ -45,0 +45,0 @@ "engines": {

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc