-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix!: Upgrade development dependencies
- Loading branch information
1 parent
7e94a4d
commit 2b29cba
Showing
10 changed files
with
422 additions
and
407 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
on: | ||
push: | ||
branches: | ||
- master | ||
|
||
permissions: | ||
contents: write | ||
pull-requests: write | ||
|
||
name: release-please | ||
|
||
jobs: | ||
release-please: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: google-github-actions/release-please-action@v3 | ||
with: | ||
release-type: node |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
import defaultState from './default-state.js'; | ||
|
||
export default (delta, previousState) => { | ||
return { | ||
...defaultState, | ||
...previousState, | ||
index: (history.state?.index || 0) + delta | ||
}; | ||
return { | ||
...defaultState, | ||
...previousState, | ||
index: (history.state?.index || 0) + delta | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
export default { | ||
index: 0, | ||
dirty: false, | ||
state: null | ||
index: 0, | ||
dirty: false, | ||
state: null | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
export default node => { | ||
if (node?.tagName !== 'A' || !node.href) { | ||
return false; | ||
} | ||
if (node?.tagName !== 'A' || !node.href) { | ||
return false; | ||
} | ||
|
||
for (const bannedAttribute of ['download', 'target', 'no-history-state']) { | ||
if (node.hasAttribute(bannedAttribute)) { | ||
return false; | ||
} | ||
} | ||
for (const bannedAttribute of ['download', 'target', 'no-history-state']) { | ||
if (node.hasAttribute(bannedAttribute)) { | ||
return false; | ||
} | ||
} | ||
|
||
return true; | ||
return true; | ||
}; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export {default} from '@cfware/nyc'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,40 @@ | ||
{ | ||
"name": "@cfware/history-state", | ||
"version": "0.5.0", | ||
"description": "Browser History API state manager", | ||
"main": "history-state.js", | ||
"type": "module", | ||
"scripts": { | ||
"pretest": "cfware-lint .", | ||
"tests-only": "nyc -s node test.js|tap-yaml-summary", | ||
"test": "npm run -s tests-only", | ||
"posttest": "nyc report --check-coverage" | ||
}, | ||
"engines": { | ||
"node": ">=16.12.0" | ||
}, | ||
"author": "Corey Farrell", | ||
"license": "MIT", | ||
"keywords": [ | ||
"spa", | ||
"history-api", | ||
"browser" | ||
], | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/cfware/history-state.git" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/cfware/history-state/issues" | ||
}, | ||
"homepage": "https://github.com/cfware/history-state#readme", | ||
"devDependencies": { | ||
"@cfware/fastify-test-helper": "^0.8.0", | ||
"@cfware/lint": "^3.0.4", | ||
"@cfware/nyc": "^0.7.1", | ||
"@cfware/tap-selenium-manager": "^2.0.0", | ||
"libtap": "^1.4.0", | ||
"nyc": "^15.1.0", | ||
"tap-yaml-summary": "^0.2.0" | ||
} | ||
"name": "@cfware/history-state", | ||
"version": "0.5.0", | ||
"description": "Browser History API state manager", | ||
"main": "history-state.js", | ||
"type": "module", | ||
"scripts": { | ||
"pretest": "cfware-lint .", | ||
"tests-only": "nyc -s node test.js|tap-yaml-summary", | ||
"test": "npm run -s tests-only", | ||
"posttest": "nyc report --check-coverage" | ||
}, | ||
"engines": { | ||
"node": ">=18" | ||
}, | ||
"author": "Corey Farrell", | ||
"license": "MIT", | ||
"keywords": [ | ||
"spa", | ||
"history-api", | ||
"browser" | ||
], | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/cfware/history-state.git" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/cfware/history-state/issues" | ||
}, | ||
"homepage": "https://github.com/cfware/history-state#readme", | ||
"devDependencies": { | ||
"@cfware/fastify-test-helper": "^1", | ||
"@cfware/lint": "^4", | ||
"@cfware/nyc": "^1", | ||
"@cfware/tap-selenium-manager": "^3", | ||
"libtap": "^1", | ||
"nyc": "^15", | ||
"tap-yaml-summary": "^0.2" | ||
} | ||
} |
Oops, something went wrong.