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

ts-mockito

Package Overview
Dependencies
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ts-mockito - npm Package Compare versions

Comparing version 1.1.4 to 1.1.5

1

lib/Captor.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var Captor = (function () {

@@ -3,0 +4,0 @@ function Captor() {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var ArgsToMatchersValidator = (function () {

@@ -3,0 +4,0 @@ function ArgsToMatchersValidator() {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var MatchersToStringConverter = (function () {

@@ -3,0 +4,0 @@ function MatchersToStringConverter() {

16

lib/matcher/type/AnyNumberMatcher.js
"use strict";
var __extends = (this && this.__extends) || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
var __extends = (this && this.__extends) || (function () {
var extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
return function (d, b) {
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
Object.defineProperty(exports, "__esModule", { value: true });
var Matcher_1 = require("./Matcher");

@@ -8,0 +14,0 @@ var _ = require("lodash");

"use strict";
var __extends = (this && this.__extends) || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
var __extends = (this && this.__extends) || (function () {
var extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
return function (d, b) {
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
Object.defineProperty(exports, "__esModule", { value: true });
var Matcher_1 = require("./Matcher");

@@ -8,0 +14,0 @@ var _ = require("lodash");

"use strict";
var __extends = (this && this.__extends) || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
var __extends = (this && this.__extends) || (function () {
var extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
return function (d, b) {
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
Object.defineProperty(exports, "__esModule", { value: true });
var Matcher_1 = require("./Matcher");

@@ -8,0 +14,0 @@ var AnythingMatcher = (function (_super) {

"use strict";
var __extends = (this && this.__extends) || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
var __extends = (this && this.__extends) || (function () {
var extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
return function (d, b) {
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
Object.defineProperty(exports, "__esModule", { value: true });
var Matcher_1 = require("./Matcher");

@@ -8,0 +14,0 @@ var BetweenMatcher = (function (_super) {

"use strict";
var __extends = (this && this.__extends) || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
var __extends = (this && this.__extends) || (function () {
var extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
return function (d, b) {
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
Object.defineProperty(exports, "__esModule", { value: true });
var Matcher_1 = require("./Matcher");

@@ -8,0 +14,0 @@ var _ = require("lodash");

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var Matcher = (function () {

@@ -3,0 +4,0 @@ function Matcher() {

"use strict";
var __extends = (this && this.__extends) || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
var __extends = (this && this.__extends) || (function () {
var extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
return function (d, b) {
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
Object.defineProperty(exports, "__esModule", { value: true });
var Matcher_1 = require("./Matcher");

@@ -8,0 +14,0 @@ var _ = require("lodash");

"use strict";
var __extends = (this && this.__extends) || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
var __extends = (this && this.__extends) || (function () {
var extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
return function (d, b) {
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
Object.defineProperty(exports, "__esModule", { value: true });
var Matcher_1 = require("./Matcher");

@@ -8,0 +14,0 @@ var StrictEqualMatcher = (function (_super) {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var MethodAction = (function () {

@@ -3,0 +4,0 @@ function MethodAction(methodName, args) {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var MethodStubCollection = (function () {

@@ -3,0 +4,0 @@ function MethodStubCollection() {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var ReturnValueMethodStub_1 = require("./stub/ReturnValueMethodStub");

@@ -3,0 +4,0 @@ var ThrowErrorMethodStub_1 = require("./stub/ThrowErrorMethodStub");

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var MethodCallToStringConverter_1 = require("./utils/MethodCallToStringConverter");

@@ -3,0 +4,0 @@ var MethodStubVerificator = (function () {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var MethodToStub = (function () {

@@ -3,0 +4,0 @@ function MethodToStub(methodStubCollection, matchers, mocker, name) {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var MethodStubCollection_1 = require("./MethodStubCollection");

@@ -3,0 +4,0 @@ var MethodToStub_1 = require("./MethodToStub");

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var ts_mockito_1 = require("./ts-mockito");

@@ -3,0 +4,0 @@ var Generic = (function () {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var ArgsToMatchersValidator_1 = require("../matcher/ArgsToMatchersValidator");

@@ -3,0 +4,0 @@ var CallFunctionMethodStub = (function () {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var ArgsToMatchersValidator_1 = require("../matcher/ArgsToMatchersValidator");

@@ -3,0 +4,0 @@ var CaptorMethodStub = (function () {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=MethodStub.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var ArgsToMatchersValidator_1 = require("../matcher/ArgsToMatchersValidator");

@@ -3,0 +4,0 @@ var ReturnValueMethodStub = (function () {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var ArgsToMatchersValidator_1 = require("../matcher/ArgsToMatchersValidator");

@@ -3,0 +4,0 @@ var ThrowErrorMethodStub = (function () {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var Mock_1 = require("./Mock");

@@ -3,0 +4,0 @@ var MethodStubVerificator_1 = require("./MethodStubVerificator");

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var MatchersToStringConverter_1 = require("../matcher/MatchersToStringConverter");

@@ -3,0 +4,0 @@ var MethodCallToStringConverter = (function () {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var PrototypeKeyCodeGetter = (function () {

@@ -3,0 +4,0 @@ function PrototypeKeyCodeGetter() {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var RedundantMethodNameInCodeFinder = (function () {

@@ -3,0 +4,0 @@ function RedundantMethodNameInCodeFinder() {

{
"name": "ts-mockito",
"version": "1.1.4",
"version": "1.1.5",
"description": "",

@@ -20,2 +20,3 @@ "main": "lib/ts-mockito.js",

"@types/jasmine": "^2.2.33",
"@types/lodash": "^4.14.34",
"@types/node": "^6.0.38",

@@ -41,5 +42,4 @@ "awesome-typescript-loader": "^3.0.0-beta.17",

"dependencies": {
"@types/lodash": "^4.14.34",
"lodash": "^4.15.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

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

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

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

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

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

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

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

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