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

@morgan-stanley/ts-mocking-bird

Package Overview
Dependencies
Maintainers
2
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@morgan-stanley/ts-mocking-bird - npm Package Compare versions

Comparing version

to
0.5.5

5

dist/main/helper/property-replacement-helper.js

@@ -12,2 +12,7 @@ "use strict";

Object.defineProperty = function (obj, prop, desc) {
if (prop === 'prototype' && typeof obj === 'function') {
// do not make class prototype properties writable
// if we try to do this things blow up in ng 13 (babel and zone.js)
return defineProperty(obj, prop, desc);
}
desc.configurable = true;

@@ -14,0 +19,0 @@ return defineProperty(obj, prop, desc);

@@ -9,2 +9,8 @@ /* eslint-disable @typescript-eslint/ban-types */

Object.defineProperty = (obj, prop, desc) => {
if (prop === 'prototype' && typeof obj === 'function') {
// do not make class prototype properties writable
// if we try to do this things blow up in ng 13 (babel and zone.js)
return defineProperty(obj, prop, desc);
}
desc.configurable = true;

@@ -11,0 +17,0 @@ return defineProperty(obj, prop, desc);

37

package.json
{
"name": "@morgan-stanley/ts-mocking-bird",
"version": "0.5.4",
"version": "0.5.5",
"description": "A fully type safe mocking, call verification and import replacement library for jasmine and jest",

@@ -16,3 +16,3 @@ "license": "Apache-2.0",

"verify-release": "concurrently --kill-others-on-fail npm:lint npm:test npm:build",
"build-release": "npm run copy-dist && typedoc",
"build-release": "npm run copy-dist && typedoc main/index.ts",
"watch-build": "tsc --watch",

@@ -31,2 +31,3 @@ "test": "karma start --singleRun --browsers ChromeHeadlessNoSandbox",

"devDependencies": {
"@jsdevtools/coverage-istanbul-loader": "^3.0.5",
"@types/jasmine": "^3.10.1",

@@ -39,7 +40,5 @@ "@types/jest": "^25.2.3",

"@typescript-eslint/parser": "^4.33.0",
"ajv": "^6.12.6",
"chromedriver": "^79.0.3",
"chromedriver": "^98.0.1",
"circular-dependency-plugin": "^5.2.2",
"codecov": "^3.8.3",
"concurrently": "^4.1.2",
"concurrently": "^7.0.0",
"copyfiles": "^1.2.0",

@@ -53,24 +52,22 @@ "eslint": "^7.32.0",

"eslint-plugin-promise": "^5.1.1",
"handlebars": "^4.7.7",
"istanbul-instrumenter-loader": "^3.0.1",
"jasmine": "^3.10.0",
"jasmine-core": "^3.10.1",
"karma": "^3.1.4",
"karma-chrome-launcher": "^2.2.0",
"karma-coverage": "^1.1.2",
"karma-coverage-istanbul-reporter": "^1.4.3",
"karma-jasmine": "^2.0.1",
"karma": "^6.3.17",
"karma-chrome-launcher": "^3.1.0",
"karma-coverage": "^2.2.0",
"karma-coverage-istanbul-reporter": "^3.0.3",
"karma-jasmine": "^4.0.1",
"karma-jasmine-html-reporter": "^1.7.0",
"karma-junit-reporter": "^1.2.0",
"karma-junit-reporter": "^2.0.1",
"karma-sourcemap-loader": "^0.3.8",
"karma-webpack": "^4.0.2",
"karma-webpack": "^5.0.0",
"prettier": "^2.4.1",
"puppeteer": "^2.1.1",
"puppeteer": "^13.4.1",
"rimraf": "^2.6.3",
"source-map": "0.5.7",
"ts-loader": "^5.4.5",
"ts-loader": "^9.2.7",
"tsconfig-paths-webpack-plugin": "^3.5.1",
"typedoc": "^0.17.8",
"typescript": "^4.3.5",
"webpack": "^4.46.0"
"typedoc": "^0.22.12",
"typescript": "4.3",
"webpack": "^5.69.1"
},

@@ -77,0 +74,0 @@ "peerDependencies": {

# @morgan-stanley/ts-mocking-bird
![npm](https://img.shields.io/npm/v/@morgan-stanley/ts-mocking-bird)
[![Build Status](https://travis-ci.com/morganstanley/ts-mocking-bird.svg?branch=master)](https://travis-ci.com/morganstanley/ts-mocking-bird)
[![Build Status](https://github.com/morganstanley/ts-mocking-bird/actions/workflows/build.yml/badge.svg)](https://github.com/Roaders/ts-mocking-bird/actions/workflows/build.yml)
[![codecov](https://codecov.io/gh/morganstanley/ts-mocking-bird/branch/master/graph/badge.svg)](https://codecov.io/gh/morganstanley/ts-mocking-bird)

@@ -5,0 +5,0 @@ [![Known Vulnerabilities](https://snyk.io/test/github/morganstanley/ts-mocking-bird/badge.svg)](https://snyk.io/test/github/morganstanley/ts-mocking-bird})

Sorry, the diff of this file is not supported yet