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

jest-preset-angular

Package Overview
Dependencies
Maintainers
3
Versions
147
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jest-preset-angular - npm Package Versions

1
15

9.0.0-next.10

Diff

Changelog

Source

9.0.0-next.11 (2021-03-21)

Features

  • config: load zone ESM when running jest in ESM mode (#892) (e03ec19), closes #751

BREAKING CHANGES

  • add exports field to package.json, see https://nodejs.org/api/packages.html#packages_package_entry_points
anhpnnd
published 8.4.0 •

Changelog

Source

8.4.0 (2021-03-04)

Features

DEPRECATIONS

  • Import serializer via 'jest-preset-angular/build/AngularNoNgAttributesSnapshotSerializer.js' is deprecated in favor of 'jest-preset-angular/build/serializers/no-ng-attributes'
  • Import serializer via 'jest-preset-angular/build/AngularSnapshotSerializer.js' is deprecated in favor of 'jest-preset-angular/build/serializers/ng-snapshot'
  • Import serializer via 'jest-preset-angular/build/HTMLCommentSerializer.js' is deprecated in favor of 'jest-preset-angular/build/serializers/html-comment'
  • Import setup file via import 'jest-preset-angular' is deprecated in favor of import 'jest-preset-angular/setup-jest'
anhpnnd
published 9.0.0-next.9 •

anhpnnd
published 9.0.0-next.8 •

Changelog

Source

9.0.0-next.8 (2021-02-12)

Features

  • compiler: use constructor downlevel ctor transformer for isolatedModules: true (#792) (00c71ce)
  • presets: add type definition for presets entry point (#801) (e4ff0c0)
anhpnnd
published 9.0.0-next.7 •

Changelog

Source

9.0.0-next.8 (2021-02-12)

Features

  • compiler: use constructor downlevel ctor transformer for isolatedModules: true (#792) (00c71ce)
  • presets: add type definition for presets entry point (#801) (e4ff0c0)
anhpnnd
published 9.0.0-next.6 •

Changelog

Source

9.0.0-next.6 (2021-01-14)

Features

  • compiler: support ESM for isolatedModules: false (#721) (a2166f8)
  • compiler: use replace-resources for isolatedModules: true (#717) (76c25d2)
  • presets: add ESM preset (#723) (b0073b0)
anhpnnd
published 9.0.0-next.5 •

Changelog

Source

9.0.0-next.5 (2021-01-06)

Features

  • compiler: use replace-resources transformer from Angular (#708) (1b20c19)
  • utils: add es2015 to ngcc script's properties (#701) (a13070b)

BREAKING CHANGES

  • isolatedModules: true will use inline-files and strip-styles transformers as default transformers.
  • isolatedModules: false will use replace-resources transformer from @ngtools/webpack (besides the existing downlevel-ctor transformer). This will make jest-preset-angular become closer to what Angular CLI does with Karma + Jasmine.
  • For users who migrate from v8.3.2 to 9.0.0, any references to 'jest-preset-angular/build/InlineFilesTransformer' and 'jest-preset-angular/build/StripStylesTransformer' should be removed from jest config.
  • For users who migrate from 9.0.0-next.4, any references to jest-preset-angular/build/transformers/inline-files and jest-preset-angular/build/transformers/inline-files should be removed from jest config.
anhpnnd
published 9.0.0-next.4 •

Changelog

Source

9.0.0-next.4 (2020-12-18)

Performance Improvements

  • compiler: reuse cacheFS from jest to reduce file system reading (#679) (f5d9d4b)
  • config: set skipLibCheck: true if not defined in tsconfig (#678) (0df3ce1)

BREAKING CHANGES

  • By default, if skipLibCheck is not defined in tsconfig, jest-preset-angular will set it to true. If one wants to have it as false, one can set explicitly in tsconfig.
  • Require Jest 27
anhpnnd
published 9.0.0-next.3 •

anhpnnd
published 9.0.0-next.2 •

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