jest-image-snapshot 4.5.1 → 5.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,2 @@
1
+ one-app-team-review-requested:
2
+ - '**/*'
@@ -0,0 +1,12 @@
1
+ name: "Pull Request Labeler"
2
+ on:
3
+ pull_request_target:
4
+ types: [opened, reopened]
5
+
6
+ jobs:
7
+ triage:
8
+ runs-on: ubuntu-latest
9
+ steps:
10
+ - uses: actions/labeler@v3
11
+ with:
12
+ repo-token: "${{ secrets.GITHUB_TOKEN }}"
@@ -10,7 +10,7 @@ jobs:
10
10
  runs-on: ubuntu-latest
11
11
  strategy:
12
12
  matrix:
13
- node: [ '10.x','12.x', '14.x', '16.x' ]
13
+ node: [ '14.x', '16.x', '18.x' ]
14
14
  name: Node ${{ matrix.node }}
15
15
  steps:
16
16
  - uses: actions/checkout@v2
package/CHANGELOG.md CHANGED
@@ -1,3 +1,16 @@
1
+ # [5.0.0](https://github.com/americanexpress/jest-image-snapshot/compare/v4.5.1...v5.0.0) (2022-05-30)
2
+
3
+
4
+ ### chore
5
+
6
+ * **jest:** upgrade v28 ([a902a5b](https://github.com/americanexpress/jest-image-snapshot/commit/a902a5baa87d0925b3ff241d7f592f6e1fc0c8fd)), closes [#296](https://github.com/americanexpress/jest-image-snapshot/issues/296)
7
+
8
+
9
+ ### BREAKING CHANGES
10
+
11
+ * **jest:** drop support for Node 10 due
12
+ to jest use of globalThis in Node 12
13
+
1
14
  ## [4.5.1](https://github.com/americanexpress/jest-image-snapshot/compare/v4.5.0...v4.5.1) (2021-06-25)
2
15
 
3
16
 
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "jest-image-snapshot",
3
- "version": "4.5.1",
3
+ "version": "5.0.0",
4
4
  "description": "Jest matcher for image comparisons. Most commonly used for visual regression testing.",
5
5
  "main": "src/index.js",
6
6
  "engines": {
7
- "node": ">= 10.14.2"
7
+ "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0"
8
8
  },
9
9
  "scripts": {
10
10
  "lint": "eslint ./ --ignore-path .gitignore --ext .js",
@@ -53,8 +53,8 @@
53
53
  "eslint-config-amex": "^7.0.0",
54
54
  "husky": "^4.2.1",
55
55
  "image-size": "^0.8.3",
56
- "jest": "^27.0.4",
57
- "jest-snapshot": "^27.0.4",
56
+ "jest": "^28.0.3",
57
+ "jest-snapshot": "^28.0.3",
58
58
  "lockfile-lint": "^4.0.0",
59
59
  "mock-spawn": "^0.2.6",
60
60
  "semantic-release": "^17.0.4"
@@ -71,7 +71,7 @@
71
71
  "ssim.js": "^3.1.1"
72
72
  },
73
73
  "peerDependencies": {
74
- "jest": ">=20 <=27"
74
+ "jest": ">=20 <=28"
75
75
  },
76
76
  "husky": {
77
77
  "hooks": {