🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

jasmine-auto-spies

Package Overview
Dependencies
Maintainers
1
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jasmine-auto-spies - npm Package Compare versions

Comparing version

to
6.9.7

dist/src/angular-provider-helper.d.ts

@@ -6,2 +6,10 @@ # Change Log

## [6.9.7](https://github.com/hirezio/auto-spies/compare/jasmine-auto-spies@6.9.6...jasmine-auto-spies@6.9.7) (2022-01-01)
**Note:** Version bump only for package jasmine-auto-spies
## [6.9.6](https://github.com/hirezio/auto-spies/compare/jasmine-auto-spies@6.9.5...jasmine-auto-spies@6.9.6) (2021-12-31)

@@ -8,0 +16,0 @@

2

dist/angular-provider-helper.js

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

provide: ObjectClass,
useValue: create_spy_from_class_1.createSpyFromClass(ObjectClass, methodsToSpyOnOrConfig),
useValue: (0, create_spy_from_class_1.createSpyFromClass)(ObjectClass, methodsToSpyOnOrConfig),
};

@@ -13,0 +13,0 @@ }

@@ -6,3 +6,3 @@ "use strict";

function createFunctionSpy(name) {
return auto_spies_core_1.createFunctionAutoSpy(name, addJasmineSyncMethodsToCalledWithObject, jasmineFunctionSpyFactory);
return (0, auto_spies_core_1.createFunctionAutoSpy)(name, addJasmineSyncMethodsToCalledWithObject, jasmineFunctionSpyFactory);
}

@@ -9,0 +9,0 @@ exports.createFunctionSpy = createFunctionSpy;

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

function createSpyFromClass(ObjectClass, methodsToSpyOnOrConfig) {
var autoSpy = auto_spies_core_1.createAutoSpyFromClass(ObjectClass, create_function_spy_1.createFunctionSpy, accessorSpyFactory, methodsToSpyOnOrConfig);
var autoSpy = (0, auto_spies_core_1.createAutoSpyFromClass)(ObjectClass, create_function_spy_1.createFunctionSpy, accessorSpyFactory, methodsToSpyOnOrConfig);
return autoSpy;

@@ -10,0 +10,0 @@ }

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

var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p);
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.createObservableWithValues = exports.createFunctionSpy = exports.createSpyFromClass = void 0;
__exportStar(require("./jasmine-auto-spies.types"), exports);

@@ -15,0 +16,0 @@ var create_spy_from_class_1 = require("./create-spy-from-class");

@@ -6,6 +6,8 @@ "use strict";

({ __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]; };
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);

@@ -41,3 +43,3 @@ function __() { this.constructor = d; }

FakeClass.prototype.getObservable = function () {
return rxjs_1.of();
return (0, rxjs_1.of)();
};

@@ -56,3 +58,3 @@ FakeClass.prototype.getSubject = function () {

FakeChildClass.prototype.anotherObservableMethod = function () {
return rxjs_1.of();
return (0, rxjs_1.of)();
};

@@ -59,0 +61,0 @@ return FakeChildClass;

{
"name": "jasmine-auto-spies",
"version": "6.9.6",
"version": "6.9.7",
"author": {

@@ -37,11 +37,13 @@ "name": "Shai Reznik",

"devDependencies": {
"@types/jasmine": "^3.5.14",
"jasmine-core": "3.6.0",
"@types/jasmine": "^3.10.2",
"@types/node": "17.0.5",
"buffer": "6.0.3",
"jasmine-core": "3.10.1",
"rimraf": "3.0.2",
"rxjs": "^6.0.0",
"ts-node": "^3.0.6",
"typescript": "^3.9.7"
"rxjs": "^7.5.1",
"ts-node": "^10.4.0",
"typescript": "^4.5.4"
},
"dependencies": {
"@hirez_io/auto-spies-core": "1.6.5"
"@hirez_io/auto-spies-core": "1.6.6"
},

@@ -53,3 +55,3 @@ "peerDependencies": {

},
"gitHead": "516e083bfdd30af77a334ea27d11e0767151f3de"
"gitHead": "731349d12356f7afc42b80ac70f2774154ad5d99"
}

@@ -776,2 +776,3 @@ # jasmine-auto-spies

<td align="center"><a href="https://www.coding-academy.ca/"><img src="https://avatars0.githubusercontent.com/u/2942116?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Laurent Duveau </b></sub></a><br /><a href="https://github.com/hirezio/auto-spies/commits?author=ldex" title="Documentation">📖</a></td>
<td align="center"><a href="https://www.rainerhahnekamp.com"><img src="https://avatars.githubusercontent.com/u/5721205?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Rainer Hahnekamp</b></sub></a><br /><a href="#maintenance-rainerhahnekamp" title="Maintenance">🚧</a></td>
</tr>

@@ -778,0 +779,0 @@ </table>

@@ -329,3 +329,3 @@ import { errorHandler } from '@hirez_io/auto-spies-core';

let FAKE_VALUE2: FakeType;
let observerSpy2: SubscriberSpy<FakeType>;
let observerSpy2: SubscriberSpy<any>;

@@ -332,0 +332,0 @@ Given(() => {

@@ -6,5 +6,5 @@ {

"typeRoots": ["node_modules/types", "node_modules"],
"types": ["@hirez_io/jasmine-given"]
"types": ["@hirez_io/jasmine-given", "node"]
},
"include": ["src"]
}

@@ -7,2 +7,3 @@ {

"composite": true,
"declarationDir": "./dist",
"types": ["jasmine", "@hirez_io/jasmine-given", "node"]

@@ -9,0 +10,0 @@ },

@@ -11,2 +11,5 @@ // eslint-disable-next-line @typescript-eslint/no-var-requires

plugins: [new TsconfigPathsPlugin({ configFile: '../../tsconfig.json' })],
fallback: {
buffer: require.resolve('buffer/'),
},
},

@@ -13,0 +16,0 @@ module: {

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