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
3
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.0 to 1.0.1

5

lib/base.js

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

var anymock_client_token_1 = tslib_1.__importStar(require("anymock-client-token"));
// tslint:disable-next-line: no-var-requires
var info = require('../package.json');
// console.log('info:', info);
var _a = info || {}, name = _a.name, version = _a.version;
var Base = /** @class */ (function () {
function Base(ctx) {
this.ctx = ctx;
console.log(name + "@" + version);
}

@@ -15,0 +10,0 @@ // 请求api

5

lib/index.js

@@ -10,2 +10,6 @@ "use strict";

var scene_1 = tslib_1.__importDefault(require("./scene"));
// tslint:disable-next-line: no-var-requires
var info = require('../package.json');
// console.log('info:', info);
var _a = info || {}, name = _a.name, version = _a.version;
// declare var window: Window & typeof globalThis;

@@ -35,2 +39,3 @@ var fromClient;

this.scene = new scene_1.default(this);
console.log(name + "@" + version);
}

@@ -37,0 +42,0 @@ AnymockOpenapi.prototype.setProjectToken = function (projectToken) {

2

package.json
{
"name": "anymock-openapi",
"version": "1.0.0",
"version": "1.0.1",
"main": "lib/index.js",

@@ -5,0 +5,0 @@ "types": "./lib/index.d.ts",

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