Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v3.0.4 #17

Merged
merged 5 commits into from
Nov 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ about: Create a report to help us improve
title: ''
labels: ''
assignees: zendive

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:

1. Go to '...' (e.g. https://jsfiddle.net/, https://codepen.io/)
2. Click on '....'
3. See error
Expand All @@ -23,9 +23,10 @@ A clear and concise description of what you expected to happen.
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser version [e.g. chrome 100]
- Version [e.g. 3.0.2]

- OS: [e.g. iOS]
- Browser version [e.g. chrome 100]
- Version [e.g. 3.0.2]

**Additional context**
Add any other context about the problem here.
2 changes: 1 addition & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"recommendations": ["esbenp.prettier-vscode"]
"recommendations": ["esbenp.prettier-vscode", "jebbs.plantuml"]
}
42 changes: 17 additions & 25 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,46 +1,38 @@
ZIP_FILE="extension.zip"
HASH_ALG=sha384
BIN=node_modules/.bin
HASH_ALG="sha384"

.PHONY:
install all dev prod build format lint clean
install clean all lint dev prod zip

install:
npm i -g pnpm
pnpm i

all: build
clean:
rm -rf ./node_modules
rm -rf $(ZIP_FILE)
rm -rf ./bundle/js/

all:
make lint
make prod
make zip

lint:
npx prettier . --write
npx tsc -noEmit

dev:
NODE_OPTIONS="--loader=ts-node/esm" \
$(BIN)/webpack --progress --watch --mode=development
npx webpack --progress --watch --mode=development

prod:
NODE_OPTIONS="--loader=ts-node/esm --no-warnings=ExperimentalWarning" \
NODE_ENV="production" \
$(BIN)/webpack --mode=production

build:
make lint
make prod
make zip
make print_zip_hash
npx webpack --mode=production

zip:
rm -rf $(ZIP_FILE)
zip -r $(ZIP_FILE) ./bundle ./manifest.json > /dev/null

print_zip_hash:
FILE_HASH=$$(openssl dgst -$(HASH_ALG) -binary $(ZIP_FILE) | openssl base64 -A); \
echo "$(ZIP_FILE) $(HASH_ALG):$$FILE_HASH"

format:
$(BIN)/prettier . --write

lint:
$(BIN)/tsc -noEmit

clean:
rm -rf ./node_modules
rm -rf $(ZIP_FILE)
rm -rf ./bundle/js/
32 changes: 16 additions & 16 deletions bundle/js/jsdiff-panel.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"manifest_version": 3,
"name": "console.diff(...)",
"version": "3.0.3",
"version": "3.0.4",
"key": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAlCx2Bl0li+3idvfrH9cQL/MzphafGFqMUA2P+0vbyhwxsxWl0llOaGQbkirX5qCoAVHoUCPqu3hCjpVCv35igPbfqDs5bdLZZmXt2F0HjEQnWI/eZKd9IKcKYMplEeL2BodmpU02VrP1UnUzQHZeeMWk9ybgWOqCimkwliILVubRj5dxNB9AidLwO4Z5iGq/OvW9AJMYdxKxrLP2lF6/GGNcCBg+iCJZwlQOhFB9LbUjytT4ws3bIEX4b5zmWLqGKR1NiZfGug2eCWXt9oEKg2WkbXmBBzFKqxnM/bBUrVR29N9qNgx0f42qnyhsW3Bo4kPzE3d0asXCV5nofLTLEwIDAQAB",
"description": "Compare objects in memory with console.diff(old, new) devtools function",
"minimum_chrome_version": "100.0",
Expand Down
27 changes: 17 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
{
"name": "jsdiff",
"version": "3.0.3",
"version": "3.0.4",
"description": "Chrome extension to compare objects in memory with console.diff(old, new) devtools function",
"private": true,
"scripts": {
"test": "echo \"no test\" && exit 1"
"dev": "make dev",
"prod": "make all"
},
"repository": {
"type": "git",
Expand All @@ -23,24 +24,30 @@
"homepage": "https://github.com/zendive/jsdiff#readme",
"type": "module",
"devDependencies": {
"@types/chrome": "0.0.245",
"@types/webpack-bundle-analyzer": "4.6.0",
"@vue/compiler-sfc": "3.3.4",
"@types/chrome": "0.0.251",
"@types/webpack-bundle-analyzer": "4.6.3",
"@vue/compiler-sfc": "3.3.8",
"clean-webpack-plugin": "4.0.0",
"css-loader": "6.8.1",
"esbuild": "0.19.2",
"esbuild": "0.19.5",
"esbuild-loader": "4.0.2",
"jsondiffpatch": "0.5.0",
"prettier": "3.0.3",
"sass": "1.66.1",
"sass": "1.69.5",
"sass-loader": "13.3.2",
"style-loader": "3.3.3",
"ts-node": "10.9.1",
"typescript": "5.2.2",
"vue": "3.3.4",
"vue-loader": "17.2.2",
"webpack": "5.88.2",
"vue": "3.3.8",
"vue-loader": "17.3.1",
"webpack": "5.89.0",
"webpack-bundle-analyzer": "4.9.1",
"webpack-cli": "5.1.4"
},
"pnpm": {
"overrides": {
"postcss@<8.4.31": ">=8.4.31",
"semver@>=7.0.0 <7.5.2": ">=7.5.2"
}
}
}
Loading
Loading