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

anymock-openapi

Package Overview
Dependencies
Maintainers
4
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

anymock-openapi - npm Package Compare versions

Comparing version 1.0.3 to 1.1.0-alpha.0

lib/page.d.ts

1

lib/base.js

@@ -40,2 +40,3 @@ "use strict";

_from: finalConfig.fromClient,
_bizId: finalConfig.bizId,
},

@@ -42,0 +43,0 @@ method: 'POST',

import { IAnymockConfigUpdate, IRequestPipe } from 'anymock-include';
import Interface from './interface';
import Mock from './mock';
import Page from './page';
import Project from './project';
import Request from './request';
import Scene from './scene';
import TinyApp from './tinyapp';
export default class AnymockOpenapi {

@@ -13,2 +15,4 @@ mock: Mock;

scene: Scene;
page: Page;
tinyApp: TinyApp;
anymockConfig: IAnymockConfigUpdate;

@@ -15,0 +19,0 @@ requestPipe: IRequestPipe;

@@ -7,5 +7,7 @@ "use strict";

var mock_1 = tslib_1.__importDefault(require("./mock"));
var page_1 = tslib_1.__importDefault(require("./page"));
var project_1 = tslib_1.__importDefault(require("./project"));
var request_1 = tslib_1.__importDefault(require("./request"));
var scene_1 = tslib_1.__importDefault(require("./scene"));
var tinyapp_1 = tslib_1.__importDefault(require("./tinyapp"));
// tslint:disable-next-line: no-var-requires

@@ -52,2 +54,4 @@ var info = require('../package.json');

this.scene = new scene_1.default(this);
this.page = new page_1.default(this);
this.tinyApp = new tinyapp_1.default(this);
if (verbose && !mounted) {

@@ -54,0 +58,0 @@ console.log(name + "@" + version);

6

lib/types.d.ts

@@ -68,5 +68,5 @@ /**

data: T;
errorMessage: string;
errorCode: string;
errorExtra: any;
errorMessage?: string;
errorCode?: string;
errorExtra?: any;
}
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.MockTypeEnum = void 0;
var MockTypeEnum;

@@ -4,0 +5,0 @@ (function (MockTypeEnum) {

{
"name": "anymock-openapi",
"version": "1.0.3",
"version": "1.1.0-alpha.0",
"main": "lib/index.js",

@@ -21,3 +21,3 @@ "types": "./lib/index.d.ts",

"anymock-client-token": "^1.2.0",
"anymock-include": "^0.2.0",
"anymock-include": "^0.2.1",
"tslib": "^1.10.0"

@@ -24,0 +24,0 @@ },

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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