Skip to content

Commit b5527b6

Browse files
authored
v3.0.6 (#26)
refresh bundle
1 parent 40e7d3a commit b5527b6

17 files changed

+2346
-1775
lines changed

Makefile

+11-7
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ ZIP_FIREFOX_FILE="extension.firefox.zip"
33
HASH_ALG="sha384"
44

55
.PHONY:
6-
install clean all lint dev prod zip_chrome zip_firefox
6+
install clean all lint test dev prod zip_chrome zip_firefox
77
tune2chrome tune2firefox
88

99
install:
@@ -17,23 +17,27 @@ clean:
1717

1818
all:
1919
make lint
20+
make test
2021
make prod
2122
make zip_chrome
2223
make zip_firefox
2324

2425
lint:
25-
npx prettier . --write
26-
npx tsc -noEmit
26+
pnpm exec prettier . --write
27+
pnpm exec tsc -noEmit
28+
29+
test:
30+
pnpm exec tsx --test
2731

2832
dev:
29-
NODE_OPTIONS="--loader=ts-node/esm" \
30-
npx webpack --progress --watch --mode=development
33+
NODE_OPTIONS="--import=tsx --trace-deprecation" \
34+
pnpm exec webpack --progress --watch --mode=development
3135

3236
prod:
3337
rm -rf ./bundle/js/
34-
NODE_OPTIONS="--loader=ts-node/esm --no-warnings=ExperimentalWarning" \
38+
NODE_OPTIONS="--import=tsx" \
3539
NODE_ENV="production" \
36-
npx webpack --mode=production
40+
time pnpm exec webpack --mode=production
3741

3842
zip_chrome:
3943
make tune2chrome

README.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,6 @@ console.diffLeft(Date.now());
114114
console.diffRight(Date.now());
115115
```
116116

117-
- **console.diff\_(\*)** - uses deprecated `nativeClone` serialization method, based of JSON.parse(JSON.stringify(...)), left for backward compatibility
118-
119117
### Typescript
120118

121119
Global Console interface declaration for quick copy/paste when used from typescript:
@@ -146,7 +144,7 @@ Historically, left side represents the old state and right side the new state.
146144
Requires
147145

148146
- Linux
149-
- node 20.10 (LTS)
147+
- node 22.11 (LTS)
150148

151149
```sh
152150
make install # to install dependencies

manifest.chrome.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
22
"manifest_version": 3,
33
"name": "console.diff(...)",
4-
"version": "3.0.5",
4+
"version": "3.0.6",
55
"key": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAlCx2Bl0li+3idvfrH9cQL/MzphafGFqMUA2P+0vbyhwxsxWl0llOaGQbkirX5qCoAVHoUCPqu3hCjpVCv35igPbfqDs5bdLZZmXt2F0HjEQnWI/eZKd9IKcKYMplEeL2BodmpU02VrP1UnUzQHZeeMWk9ybgWOqCimkwliILVubRj5dxNB9AidLwO4Z5iGq/OvW9AJMYdxKxrLP2lF6/GGNcCBg+iCJZwlQOhFB9LbUjytT4ws3bIEX4b5zmWLqGKR1NiZfGug2eCWXt9oEKg2WkbXmBBzFKqxnM/bBUrVR29N9qNgx0f42qnyhsW3Bo4kPzE3d0asXCV5nofLTLEwIDAQAB",
66
"description": "Compare objects in memory with console.diff(old, new) devtools function",
77
"minimum_chrome_version": "100.0",
8-
"homepage_url": "https://github.com/zendive/jsdiff",
8+
"homepage_url": "https://github.com/zendive/jsdiff#readme",
99
"author": "[email protected]",
1010
"permissions": ["storage"],
1111
"host_permissions": ["*://*/*"],

manifest.firefox.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"manifest_version": 3,
33
"name": "jsdiff.diff(...)",
4-
"version": "3.0.5",
4+
"version": "3.0.6",
55
"description": "Compare objects in memory with jsdiff.diff(old, new) devtools function",
66
"minimum_chrome_version": "100.0",
77
"browser_specific_settings": {
@@ -10,7 +10,7 @@
1010
"strict_min_version": "120.0"
1111
}
1212
},
13-
"homepage_url": "https://github.com/zendive/jsdiff",
13+
"homepage_url": "https://github.com/zendive/jsdiff#readme",
1414
"author": "[email protected]",
1515
"permissions": ["storage", "devtools", "activeTab"],
1616
"host_permissions": ["<all_urls>"],

package.json

+20-44
Original file line numberDiff line numberDiff line change
@@ -1,52 +1,28 @@
11
{
2-
"name": "jsdiff",
3-
"version": "3.0.5",
4-
"description": "Chrome extension to compare objects in memory with console.diff(old, new) devtools function",
5-
"private": true,
6-
"scripts": {
7-
"dev": "make dev",
8-
"prod": "make all"
9-
},
10-
"repository": {
11-
"type": "git",
12-
"url": "git+https://github.com/zendive/jsdiff.git"
13-
},
14-
"keywords": [
15-
"devtools",
16-
"diff",
17-
"chrome",
18-
"extension"
19-
],
20-
"author": "Block Alexander",
21-
"license": "MIT",
22-
"bugs": {
23-
"url": "https://github.com/zendive/jsdiff/issues"
24-
},
25-
"homepage": "https://github.com/zendive/jsdiff#readme",
262
"type": "module",
273
"devDependencies": {
28-
"@types/chrome": "0.0.259",
29-
"@types/diff-match-patch": "^1.0.36",
30-
"@types/firefox-webext-browser": "120.0.0",
31-
"@types/webpack-bundle-analyzer": "4.6.3",
32-
"@vue/compiler-sfc": "3.4.15",
4+
"@types/chrome": "0.0.280",
5+
"@types/diff-match-patch": "1.0.36",
6+
"@types/firefox-webext-browser": "120.0.4",
7+
"@types/webpack-bundle-analyzer": "4.7.0",
8+
"@vue/compiler-sfc": "3.5.12",
339
"clean-webpack-plugin": "4.0.0",
34-
"css-loader": "6.10.0",
35-
"diff-match-patch": "^1.0.5",
36-
"esbuild": "0.20.0",
37-
"esbuild-loader": "4.0.3",
38-
"jsondiffpatch": "^0.6.0",
39-
"pinia": "^2.1.7",
40-
"prettier": "3.2.4",
41-
"sass": "1.70.0",
42-
"sass-loader": "14.1.0",
43-
"style-loader": "3.3.4",
44-
"ts-node": "10.9.2",
45-
"typescript": "5.3.3",
46-
"vue": "3.4.15",
10+
"css-loader": "7.1.2",
11+
"diff-match-patch": "1.0.5",
12+
"esbuild": "0.24.0",
13+
"esbuild-loader": "4.2.2",
14+
"jsondiffpatch": "0.6.0",
15+
"pinia": "2.2.6",
16+
"prettier": "3.3.3",
17+
"sass": "1.80.6",
18+
"sass-loader": "16.0.3",
19+
"style-loader": "4.0.0",
20+
"tsx": "4.19.2",
21+
"typescript": "5.6.3",
22+
"vue": "3.5.12",
4723
"vue-loader": "17.4.2",
48-
"webpack": "5.90.0",
49-
"webpack-bundle-analyzer": "4.10.1",
24+
"webpack": "5.96.1",
25+
"webpack-bundle-analyzer": "4.10.2",
5026
"webpack-cli": "5.1.4"
5127
},
5228
"pnpm": {

0 commit comments

Comments
 (0)