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

ng-mocks

Package Overview
Dependencies
Maintainers
1
Versions
175
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ng-mocks - npm Package Versions

1
18

12.1.1

Diff

Changelog

Source

12.1.1 (2021-06-19)

Bug Fixes

  • core: building cjs and mjs #702 (f11c086)
  • core: supports mocks for viewProviders #726 (68f9946)
  • faster: support for pure TestBed #721 (d4e0c8a)
  • mock-builder: provides globally exported providers from directives and components #623 (58ee0d8)
satantime
published 12.1.0 •

Changelog

Source

12.1.0 (2021-06-05)

Bug Fixes

  • core: excluding StoreDevtoolsModule by default #589 (c376e93)
  • core: supporting jest-circus as a test runner #610 (aaa0380)
  • jest: a fix in advance to listen to jest hooks #610 (1290c8a)
  • mock-builder: keeps and mocks modules with providers properly #625 (4d4ff49)
  • mock-render: factory can be used in describes #629 (f440760)
  • mock-render: skipping proxy for bindings from factory #621 (f4dae60)

Features

  • core: replacing animations with noop by default #641 (ca65de3)

Reverts

  • Revert "chore(deps): update dependency jest to v27" (1f4bd9a)
satantime
published 12.0.2 •

Changelog

Source

12.0.2 (2021-05-25)

Bug Fixes

  • mock-render: default to onTestBedFlushNeed = warn #593 (a9e535c)
  • mock-render: dynamic params and cdr for factory #586 (73f54c5)
satantime
published 12.0.1 •

Changelog

Source

12.0.1 (2021-05-21)

Bug Fixes

  • core: a config parameter to suppress MockRender errors #572 (bcfe23a)
  • core: broken query selectors are properly normalized #567 (9c1ea70)
  • default-mock: supports an array with declarations #568 (5d3b43e)
  • default-mock: supports generic type in array signature #583 (c925818)
  • faster: supports directives and components without selectors #576 (599c7d5)
  • mock-render: allowing to disable flush TestBed warning (6131ecb)
  • mock-render: providing a MockRenderFactory in order to reuse the same middleware component (79fa336)

Performance Improvements

  • core: switching internal stack to an array instead of a set (24c4bfd)
satantime
published 12.0.0 •

Changelog

Source

12.0.0 (2021-05-13)

Features

  • official support of Angular 12 (d63c34f)

BREAKING CHANGES

  • auto spy should be installed via ngMocks.autoSpy
satantime
published 11.11.2 •

Changelog

Source

11.11.2 (2021-05-13)

Bug Fixes

  • core: properly handling Sanitizer and DomSanitizer #538 (fb51bb4)
  • mock-render: detectChanges flag has to be provided to supress render (8195eeb)
satantime
published 11.11.1 •

Changelog

Source

11.11.1 (2021-05-09)

Bug Fixes

  • mock-render: binds all inputs on no params #522 (dd5abba)
satantime
published 11.11.0 •

Changelog

Source

11.11.0 (2021-05-09)

Bug Fixes

  • mock-builder: overrides mock modules for platform #435 (bf469bc)
  • mock-builder: respecting forward-ref and modules with providers #312 (4a099b8)
  • overrides as functions are properly cloned #455 (9310d34)
  • skipping wrong query selectors #445 (6750939)
  • supporting new structure of lView (8d3cadf)
  • #333: register mock components with entryComponents (3a53431), closes #333

Features

  • faster: supports MockRender in beforeAll #488 (df4418c)
  • mock-builder: accepts arrays in params #386 (c8d8e40)
  • mock-render: generates tpl only for provided inputs and outputs #434 (23d45a2)
  • mock-render: throws on wrong usage #488 (b4a62bc)
  • almost all ngMocks helpers support css selectors #317 (b348842)
satantime
published 11.10.1 •

Changelog

Source

11.10.1 (2021-04-12)

Bug Fixes

  • #354: better error instead of is not in JIT mode (45f05fb), closes #354
  • #377: respect of providedIn in Injectable (91aba4b), closes #377
satantime
published 11.10.0 •

Changelog

Source

11.10.0 (2021-04-04)

Bug Fixes

  • #316: better support for typeIn and ngModel (7d03c2d), closes #316
  • #320: full implementation of ngMocks.touch and ngMocks.change (fd81409), closes #320
  • #324: smarter touches and changes (fa418d0), closes #324

Features

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