Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: bent10/attributes-parser
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.2.1
Choose a base ref
...
head repository: bent10/attributes-parser
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.2.2
Choose a head ref
  • 5 commits
  • 6 files changed
  • 2 contributors

Commits on Dec 16, 2023

  1. ci: use node v18

    bent10 committed Dec 16, 2023
    Copy the full SHA
    c23d053 View commit details

Commits on Dec 19, 2023

  1. ci: use node v18.17.0

    bent10 committed Dec 19, 2023
    Copy the full SHA
    174c9db View commit details
  2. fix(deps): ncu

    bent10 committed Dec 19, 2023
    Copy the full SHA
    35c2598 View commit details
  3. test: fix snapshots

    bent10 committed Dec 19, 2023
    Copy the full SHA
    571b1e5 View commit details
  4. chore(release): 2.2.2

    ## [2.2.2](v2.2.1...v2.2.2) (2023-12-19)
    
    ### Bug Fixes
    
    * **deps:** ncu ([35c2598](35c2598))
    semantic-release-bot committed Dec 19, 2023
    Copy the full SHA
    c213e53 View commit details
Showing with 385 additions and 237 deletions.
  1. +1 −1 .github/workflows/release.yml
  2. +1 −1 .github/workflows/validate.yml
  3. +7 −0 changelog.md
  4. +367 −226 package-lock.json
  5. +2 −2 package.json
  6. +7 −7 test/__snapshots__/index.test.ts.snap
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -21,7 +21,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18 # required by semantic-release
node-version: 18.17.0 # required by semantic-release
- run: npm ci
- run: npm run lint
- run: npm run build
2 changes: 1 addition & 1 deletion .github/workflows/validate.yml
Original file line number Diff line number Diff line change
@@ -18,7 +18,7 @@ jobs:
fail-fast: false
matrix:
node-version:
- 16.10.0 # required by @typescript-eslint/eslint-plugin
- 18.17.0
os:
- ubuntu-latest
- windows-latest
7 changes: 7 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## [2.2.2](https://github.com/bent10/attributes-parser/compare/v2.2.1...v2.2.2) (2023-12-19)


### Bug Fixes

* **deps:** ncu ([35c2598](https://github.com/bent10/attributes-parser/commit/35c259897ff70e2484ae91221fcff244bbbd08a5))

## [2.2.1](https://github.com/bent10/attributes-parser/compare/v2.2.0...v2.2.1) (2023-12-10)


593 changes: 367 additions & 226 deletions package-lock.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -53,11 +53,11 @@
"format": "prettier --write ."
},
"dependencies": {
"json-loose": "^1.0.0"
"json-loose": "^1.2.3"
},
"devDependencies": {
"@types/moo": "0.5.9",
"doogu": "3.2.8",
"doogu": "3.2.10",
"vite-plugin-resolve-umd-format": "1.0.0"
},
"config": {
14 changes: 7 additions & 7 deletions test/__snapshots__/index.test.ts.snap
Original file line number Diff line number Diff line change
@@ -27,7 +27,7 @@ exports[`should parse attributes into key-value pairs 1`] = `
"line": 1,
"lineBreaks": 0,
"offset": 3,
"text": "\\"my-id\\"",
"text": ""my-id"",
"toString": [Function],
"type": "StringLiteral",
"value": "my-id",
@@ -67,7 +67,7 @@ exports[`should parse attributes into key-value pairs 1`] = `
"line": 1,
"lineBreaks": 0,
"offset": 17,
"text": "\\"my-class\\"",
"text": ""my-class"",
"toString": [Function],
"type": "StringLiteral",
"value": "my-class",
@@ -187,7 +187,7 @@ exports[`should parse attributes into key-value pairs 1`] = `
"line": 1,
"lineBreaks": 0,
"offset": 59,
"text": "\\"3.14\\"",
"text": ""3.14"",
"toString": [Function],
"type": "StringLiteral",
"value": "3.14",
@@ -227,7 +227,7 @@ exports[`should parse attributes into key-value pairs 1`] = `
"line": 1,
"lineBreaks": 0,
"offset": 74,
"text": "'{\\"key\\":\\"value\\",\\"array\\":[1,2,3]}'",
"text": "'{"key":"value","array":[1,2,3]}'",
"toString": [Function],
"type": "StringLiteral",
"value": {
@@ -318,7 +318,7 @@ exports[`should parse attributes into key-value pairs 1`] = `
"line": 1,
"lineBreaks": 0,
"offset": 133,
"text": "\\"a=b,c,d,e\\"",
"text": ""a=b,c,d,e"",
"toString": [Function],
"type": "StringLiteral",
"value": "a=b,c,d,e",
@@ -398,7 +398,7 @@ exports[`should parse attributes into key-value pairs 1`] = `
"line": 1,
"lineBreaks": 0,
"offset": 172,
"text": "\\"false\\"",
"text": ""false"",
"toString": [Function],
"type": "StringLiteral",
"value": "false",
@@ -438,7 +438,7 @@ exports[`should parse attributes into key-value pairs 1`] = `
"line": 1,
"lineBreaks": 0,
"offset": 189,
"text": "\\"disabled\\"",
"text": ""disabled"",
"toString": [Function],
"type": "StringLiteral",
"value": "disabled",