brysgo / angular-monoquery

0 stars 0 forks source link

Bump jest-preset-angular from 5.2.2 to 8.2.0 #86

Closed dependabot-preview[bot] closed 4 years ago

dependabot-preview[bot] commented 4 years ago

Bumps jest-preset-angular from 5.2.2 to 8.2.0.

Release notes

Sourced from jest-preset-angular's releases.

v8.0.0

Features

  • (BREAKING): Refine ast-transformer behavior: only transform styles-assignments inside @Component (#261) and TypeScript v2.9 createStringLiteral is polyfilled if an older version is used (#272).
  • (BREAKING): Restructure project with src and build folder (#307).
  • (BREAKING): Support tsconfig.spec.json in root folder by default (#309).
  • (BREAKING): Enable AngularNoAngularNoNgAttributesSnapshotSerializer (created in #97) by default (#318).
  • Remove core-js dependency by using internal, minimal reflect-metadata (#315).

Chore && Maintenance

  • Update example app to match Angular 8 Boilerplate (#311).
  • Update example app to not use karma, extract jest config, fix paths (#316).
  • Update jsdom to current version 15 (#318).

Migration Guide

  • If the astTransformers are referenced in a custom jest config, [ 'jest-preset-angular/build/InlineFilesTransformer', 'jest-preset-angular/build/StripStylesTransformer'] have to be set instead.
  • Serializers, transformers and setupJest have to be referenced from the jest-preset-angular/build/-folder in a custom config. Existing references have to be aligned.
  • If your tsconfig.spec.json is located in src, move it to your root folder and adjust the referenced files and paths inside, or align your jest configuration as discussed in the README.md.
  • In an Angular 8 project or higher, core-js should no longer be a dependency declared in package.json, unless it's imported manually in the code.

v7.0.1

Chore

  • Update dependencies to enable Greenkeeper 🌴 (#235)

v7.0.0

Features

  • (BREAKING): Upgrade ts-jest to ^23.10.4 and use ast-transformer instead of processor (#204)
  • (BREAKING): Upgrade Jest to 24 (#224)
  • (BREAKING): Use test environment JSDOM v13 by default (drops Node below 8) (#229)
  • Embed jest-zone-patch into this preset (#214)

Chore & Maintenance

  • Remove template literal character escaping (reverts #34)
  • Moved @types/jest to devDependencies (#227), close (#226)
  • Upgrade example app dependencies (#233)
  • Migrate CI config to CircleCI v2 (#212)
  • Docs: do not use .babelrc file but rather babel.config.js (#231)
  • Docs: add astTransformers in configuration example (#218)

Migration Guide

  • If global and transform are not set in your configuration in jest.config.json, jest.config.js or package.json, you are done.
  • If the global value of the configuration was overriden, adjust
    • The option "__TRANSFORM_HTML__": true is not required anymore. Instead the "stringifyContentPathRegex": "\\.html$" should be used inside the ts-jest-configuration.
    • Change the assignment identifier from tsConfigFile to tsConfig.
    • Add the astTransformer: [ require.resolve('jest-preset-angular/InlineHtmlStripStylesTransformer')] so Jest can work with templateUrl-assignments in Component decorators.
  • If transform was overridden, remove the entry pointing at preprocessor.js and add "^.+\\.(ts|js|html)$": "ts-jest" to the transform-object.
  • If in doubt, check the configuration example in jest-preset.json.
... (truncated)
Changelog

Sourced from jest-preset-angular's changelog.

v8.2.0

Features

  • Make AngularSnapshotSerializer remove auto-generated angular classes in addition to attributes

v8.1.3

Fixes

  • Make AngularSnapshotSerializer compatible with Ivy (#366)

v8.1.2

Fixes

  • Simplify zone patch test method implementation to cover tests with string literals (#361)

v8.1.1

Fixes

  • Zone.js patch handles test with done correctly (#357)

v8.1.0

Features

  • Run test.each in Proxyzone (#340).
  • Update peerDependencies for jest to v25 (#346).
  • Update dependencies for pretty-format and ts-jest to v25 (#346).
  • Remove jest-environment-jsdom-fifteen from dependencies and preset, closes (#325)

Chore && Maintenance

  • Update project devDependencies.
  • Update example app dependencies.

v8.0.0

Features

  • (BREAKING): Refine ast-transformer behavior: only transform styles-assignments inside @Component (#261) and TypeScript v2.9 createStringLiteral is polyfilled if an older version is used (#272).
  • (BREAKING): Restructure project with src and build folder (#307).
  • (BREAKING): Support tsconfig.spec.json in root folder by default (#309).
  • (BREAKING): Enable AngularNoAngularNoNgAttributesSnapshotSerializer (created in #97) by default (#318).
  • Remove core-js dependency by using internal, minimal reflect-metadata (#315).

Chore && Maintenance

  • Update example app to match Angular 8 Boilerplate (#311).
  • Update example app to not use karma, extract jest config, fix paths (#316).
... (truncated)
Commits
Maintainer changes

This version was pushed to npm by wtho, a new releaser for jest-preset-angular since your current version.


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)
dependabot-preview[bot] commented 4 years ago

Superseded by #90.