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

angular-unit-test-helper

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular-unit-test-helper - npm Package Compare versions

Comparing version 13.0.1 to 13.0.2

6

dist/createComponentMock.js

@@ -12,3 +12,7 @@ import { Component } from '@angular/core';

const newClass = (getWindow()[className] = () => { });
return __decorate([Component({ selector: selectorName, template })], newClass);
const decoratedObject = __decorate([Component({ selector: selectorName, template })], newClass);
if (!decoratedObject.prototype) {
decoratedObject.prototype = {};
}
return decoratedObject;
}

@@ -15,0 +19,0 @@ function getWindow() {

2

package.json
{
"name": "angular-unit-test-helper",
"version": "13.0.1",
"version": "13.0.2",
"description": "Helper functions to help write unit tests in Angular using mocks and spies",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

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