@patternslib/dev 2.5.0 → 2.7.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.
- package/.github/workflows/test.yml +2 -2
- package/CHANGES.md +28 -0
- package/jest/setup-tests.js +14 -0
- package/package.json +17 -17
package/CHANGES.md
CHANGED
|
@@ -2,6 +2,34 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
+
## [2.7.0](https://github.com/patternslib/dev/compare/2.6.0...2.7.0) (2022-09-15)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
* Define the close, show and showModal methods in dialog elements. ([3b59aed](https://github.com/patternslib/dev/commit/3b59aed8556c5103ada9efa175896f83e0fac6c0))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Maintenance
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
* Upgrade dependencies. ([087dca5](https://github.com/patternslib/dev/commit/087dca5d9de49423f80ce670e342bef9629dab1c))
|
|
18
|
+
|
|
19
|
+
## [2.6.0](https://github.com/patternslib/dev/compare/2.5.0...2.6.0) (2022-09-05)
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
### Bug Fixes
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
* Fix GitHub Actions branch name. ([e59126a](https://github.com/patternslib/dev/commit/e59126ab8ba9cc1b284c7b964dabe905de9f9fd1))
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
### Maintenance
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
* Upgrade dependencies. ([0720aad](https://github.com/patternslib/dev/commit/0720aadc0d8f8064996b8ec5568ee8d30c84a70c))
|
|
32
|
+
|
|
5
33
|
## [2.5.0](https://github.com/patternslib/dev/compare/2.4.0...2.5.0) (2022-08-19)
|
|
6
34
|
|
|
7
35
|
|
package/jest/setup-tests.js
CHANGED
|
@@ -99,3 +99,17 @@ Object.defineProperty(window, "matchMedia", {
|
|
|
99
99
|
dispatchEvent: jest.fn(),
|
|
100
100
|
})),
|
|
101
101
|
});
|
|
102
|
+
|
|
103
|
+
// Define the close, show and showModal methods in dialog elements.
|
|
104
|
+
// Also see:
|
|
105
|
+
// - https://developer.mozilla.org/en-US/docs/Web/API/HTMLDialogElement
|
|
106
|
+
// - https://github.com/jsdom/jsdom/issues/3294
|
|
107
|
+
HTMLDialogElement.prototype.close = jest.fn().mockImplementation(function () {
|
|
108
|
+
this.open = false;
|
|
109
|
+
});
|
|
110
|
+
HTMLDialogElement.prototype.show = jest.fn().mockImplementation(function () {
|
|
111
|
+
this.open = true;
|
|
112
|
+
});
|
|
113
|
+
HTMLDialogElement.prototype.showModal = jest.fn().mockImplementation(function () {
|
|
114
|
+
this.open = true;
|
|
115
|
+
});
|
package/package.json
CHANGED
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@patternslib/dev",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.7.0",
|
|
4
4
|
"description": "Development base files for working with Patternslib and add-ons.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@babel/core": "^7.
|
|
8
|
-
"@babel/eslint-parser": "^7.
|
|
9
|
-
"@babel/preset-env": "^7.
|
|
10
|
-
"@commitlint/cli": "^17.
|
|
11
|
-
"@commitlint/config-conventional": "^17.0
|
|
7
|
+
"@babel/core": "^7.19.1",
|
|
8
|
+
"@babel/eslint-parser": "^7.19.1",
|
|
9
|
+
"@babel/preset-env": "^7.19.1",
|
|
10
|
+
"@commitlint/cli": "^17.1.2",
|
|
11
|
+
"@commitlint/config-conventional": "^17.1.0",
|
|
12
12
|
"@release-it/conventional-changelog": "^5.1.0",
|
|
13
13
|
"babel-loader": "^8.2.5",
|
|
14
|
-
"core-js": "3.
|
|
14
|
+
"core-js": "3.25.1",
|
|
15
15
|
"css-loader": "^6.7.1",
|
|
16
|
-
"eslint": "^8.
|
|
16
|
+
"eslint": "^8.23.1",
|
|
17
17
|
"eslint-config-prettier": "^8.5.0",
|
|
18
18
|
"husky": "^8.0.1",
|
|
19
19
|
"identity-obj-proxy": "^3.0.0",
|
|
20
20
|
"imports-loader": "^4.0.1",
|
|
21
|
-
"jest": "^
|
|
22
|
-
"jest-environment-jsdom": "^
|
|
23
|
-
"jest-watch-typeahead": "^2.
|
|
21
|
+
"jest": "^29.0.3",
|
|
22
|
+
"jest-environment-jsdom": "^29.0.3",
|
|
23
|
+
"jest-watch-typeahead": "^2.2.0",
|
|
24
24
|
"prettier": "^2.7.1",
|
|
25
25
|
"regenerator-runtime": "^0.13.9",
|
|
26
|
-
"release-it": "^15.
|
|
27
|
-
"sass": "^1.54.
|
|
26
|
+
"release-it": "^15.4.2",
|
|
27
|
+
"sass": "^1.54.9",
|
|
28
28
|
"sass-loader": "^13.0.2",
|
|
29
29
|
"style-loader": "^3.3.0",
|
|
30
|
-
"terser-webpack-plugin": "^5.3.
|
|
30
|
+
"terser-webpack-plugin": "^5.3.6",
|
|
31
31
|
"timezone-mock": "^1.3.4",
|
|
32
32
|
"webpack": "^5.74.0",
|
|
33
|
-
"webpack-bundle-analyzer": "^4.6.
|
|
33
|
+
"webpack-bundle-analyzer": "^4.6.1",
|
|
34
34
|
"webpack-cli": "^4.10.0",
|
|
35
|
-
"webpack-dev-server": "^4.
|
|
35
|
+
"webpack-dev-server": "^4.11.0",
|
|
36
36
|
"whybundled": "^2.0.0",
|
|
37
37
|
"yarn": "^1.22.19"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@patternslib/patternslib": "*",
|
|
41
|
-
"jquery": "^3.6.
|
|
41
|
+
"jquery": "^3.6.1"
|
|
42
42
|
},
|
|
43
43
|
"scripts": {
|
|
44
44
|
"test": "jest"
|