-
Notifications
You must be signed in to change notification settings - Fork 0
Bump the dependencies group across 1 directory with 8 updates #56
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
Merged
dependabot
merged 1 commit into
main
from
dependabot/npm_and_yarn/dependencies-88b03f9a9f
Nov 6, 2025
Merged
Bump the dependencies group across 1 directory with 8 updates #56
dependabot
merged 1 commit into
main
from
dependabot/npm_and_yarn/dependencies-88b03f9a9f
Nov 6, 2025
Conversation
This file contains hidden or 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
Owner
|
@dependabot squash and merge |
Contributor
Author
|
Beginning January 27, 2026, Dependabot will no longer support the @dependabot squash and merge command. Please use GitHub's native pull request controls instead. Please see the changelog announcement for additional details. |
Bumps the dependencies group with 8 updates in the / directory: | Package | From | To | | --- | --- | --- | | [@eslint/js](https://github.com/eslint/eslint/tree/HEAD/packages/js) | `9.32.0` | `9.39.0` | | [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) | `24.2.0` | `24.9.2` | | [eslint](https://github.com/eslint/eslint) | `9.32.0` | `9.39.0` | | [terser](https://github.com/terser/terser) | `5.43.1` | `5.44.0` | | [typescript](https://github.com/microsoft/TypeScript) | `5.9.2` | `5.9.3` | | [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) | `8.39.0` | `8.46.2` | | [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) | `7.0.6` | `7.1.12` | | [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) | `3.2.4` | `4.0.6` | Updates `@eslint/js` from 9.32.0 to 9.39.0 - [Release notes](https://github.com/eslint/eslint/releases) - [Commits](https://github.com/eslint/eslint/commits/v9.39.0/packages/js) Updates `@types/node` from 24.2.0 to 24.9.2 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) Updates `eslint` from 9.32.0 to 9.39.0 - [Release notes](https://github.com/eslint/eslint/releases) - [Commits](eslint/eslint@v9.32.0...v9.39.0) Updates `terser` from 5.43.1 to 5.44.0 - [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md) - [Commits](terser/terser@v5.43.1...v5.44.0) Updates `typescript` from 5.9.2 to 5.9.3 - [Release notes](https://github.com/microsoft/TypeScript/releases) - [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release-publish.yml) - [Commits](microsoft/TypeScript@v5.9.2...v5.9.3) Updates `typescript-eslint` from 8.39.0 to 8.46.2 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.46.2/packages/typescript-eslint) Updates `vite` from 7.0.6 to 7.1.12 - [Release notes](https://github.com/vitejs/vite/releases) - [Changelog](https://github.com/vitejs/vite/blob/v7.1.12/packages/vite/CHANGELOG.md) - [Commits](https://github.com/vitejs/vite/commits/v7.1.12/packages/vite) Updates `vitest` from 3.2.4 to 4.0.6 - [Release notes](https://github.com/vitest-dev/vitest/releases) - [Commits](https://github.com/vitest-dev/vitest/commits/v4.0.6/packages/vitest) --- updated-dependencies: - dependency-name: "@eslint/js" dependency-version: 9.39.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dependencies - dependency-name: "@types/node" dependency-version: 24.9.2 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dependencies - dependency-name: eslint dependency-version: 9.39.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dependencies - dependency-name: terser dependency-version: 5.44.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dependencies - dependency-name: typescript dependency-version: 5.9.3 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dependencies - dependency-name: typescript-eslint dependency-version: 8.46.2 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dependencies - dependency-name: vite dependency-version: 7.1.12 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dependencies - dependency-name: vitest dependency-version: 4.0.6 dependency-type: direct:development update-type: version-update:semver-major dependency-group: dependencies ... Signed-off-by: dependabot[bot] <[email protected]>
c048e06 to
4485d6d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dist/index.js | 100 +---------------------------------------------------------
1 file changed, 1 insertion(+), 99 deletions(-)
dist/index.js
diff --git a/dist/index.js b/dist/index.js
index a0bdaee..b9ec8f6 100644
--- a/dist/index.js
+++ b/dist/index.js
@@ -1,99 +1 @@
-function deserialize(query) {
- const params = new URLSearchParams(query);
- return new Map(Array.from(params.keys()).map((k) => [k, params.getAll(k)]));
-}
-const targetSelector = `input:not([type="file"]):not([type="password"]), select, textarea`;
-class FormStorage {
- _selector;
- _option;
- _checkbox = null;
- constructor(selector, opt) {
- this._selector = selector;
- this._option = {
- ...{
- name: "form",
- ignores: [],
- includes: [],
- checkbox: null
- },
- ...opt
- };
- document.addEventListener("DOMContentLoaded", () => {
- if (this._option.checkbox) {
- this._checkbox = document.querySelector(this._option.checkbox);
- this._setCheckbox();
- }
- });
- }
- save() {
- window.localStorage.setItem(this._option.name, this._getState());
- }
- apply() {
- const str = window.localStorage.getItem(this._option.name);
- if (str) this._applyState(str);
- }
- clear() {
- window.localStorage.removeItem(this._option.name);
- }
- addEventListener(type, listener, options) {
- this._form().addEventListener(type, listener, options);
- }
- addChildrenEventListener(type, listener, options) {
- this._targets().forEach((e) => e.addEventListener(type, listener, options));
- }
- _form() {
- return document.querySelector(this._selector);
- }
- _targets() {
- const { ignores, includes } = this._option;
- return [
- ...document.querySelectorAll(
- `${this._selector} ${targetSelector}`
- )
- ].filter(
- (e) => ignores.every((x) => !e.matches(x)) && (includes.length === 0 || includes.some((x) => e.matches(x)))
- );
- }
- _serialize() {
- const formdata = new FormData(this._form());
- const targetNames = this._targets().map((e) => e.name);
- [...formdata.keys()].forEach((k) => {
- if (!targetNames.includes(k)) formdata.delete(k);
- });
- return new URLSearchParams(
- [...formdata].map(([k, v]) => [k, String(v)])
- ).toString();
- }
- _setCheckbox() {
- this._form().addEventListener("submit", () => {
- if (this._checkbox?.checked) {
- this.save();
- } else {
- this.clear();
- }
- });
- }
- _getState() {
- return this._serialize();
- }
- _applyState(str) {
- const _targets = this._targets();
- const obj = deserialize(str);
- obj.forEach((values, key) => {
- const targets = _targets.filter((e) => e.matches(`[name="${key}"]`));
- if (targets.length === 0) return;
- targets.forEach((t, i) => {
- if ("checked" in t && ["checkbox", "radio"].includes(t.type)) {
- values.forEach((v) => {
- if (t.value === v) t.checked = true;
- });
- } else {
- if (i < values.length) t.value = values[i];
- }
- });
- });
- }
-}
-export {
- FormStorage as default
-};
+class t{t;i;o=null;constructor(t,e){this.t=t,this.i={name:"form",ignores:[],includes:[],checkbox:null,...e},document.addEventListener("DOMContentLoaded",()=>{this.i.checkbox&&(this.o=document.querySelector(this.i.checkbox),this.h())})}save(){window.localStorage.setItem(this.i.name,this.u())}apply(){const t=window.localStorage.getItem(this.i.name);t&&this.l(t)}clear(){window.localStorage.removeItem(this.i.name)}addEventListener(t,e,s){this.m().addEventListener(t,e,s)}addChildrenEventListener(t,e,s){this.p().forEach(n=>n.addEventListener(t,e,s))}m(){return document.querySelector(this.t)}p(){const{ignores:t,includes:e}=this.i;return[...document.querySelectorAll(`${this.t} input:not([type="file"]):not([type="password"]), select, textarea`)].filter(s=>t.every(t=>!s.matches(t))&&(0===e.length||e.some(t=>s.matches(t))))}_(){const t=new FormData(this.m()),e=this.p().map(t=>t.name);return[...t.keys()].forEach(s=>{e.includes(s)||t.delete(s)}),new URLSearchParams([...t].map(([t,e])=>[t,String(e)])).toString()}h(){this.m().addEventListener("submit",()=>{this.o?.checked?this.save():this.clear()})}u(){return this._()}l(t){const e=this.p();(function(t){const e=new URLSearchParams(t);return new Map(Array.from(e.keys()).map(t=>[t,e.getAll(t)]))})(t).forEach((t,s)=>{const n=e.filter(t=>t.matches(`[name="${s}"]`));0!==n.length&&n.forEach((e,s)=>{"checked"in e&&["checkbox","radio"].includes(e.type)?t.forEach(t=>{e.value===t&&(e.checked=!0)}):s<t.length&&(e.value=t[s])})})}}export{t as default};
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
dependencies
Pull requests that update a dependency file
dist/need rebuild
dist/OK
javascript
Pull requests that update Javascript code
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Bumps the dependencies group with 8 updates in the / directory:
9.32.09.39.024.2.024.9.29.32.09.39.05.43.15.44.05.9.25.9.38.39.08.46.27.0.67.1.123.2.44.0.6Updates
@eslint/jsfrom 9.32.0 to 9.39.0Release notes
Sourced from
@eslint/js's releases.... (truncated)
Commits
2375a6dchore: package.json update for@eslint/jsrelease9e7fad4chore: add script to auto-generate eslint:recommended configuration (#20208)25d0e33chore: package.json update for@eslint/jsreleaseabee4cachore: package.json update for@eslint/jsrelease90a71bfdocs: updateREADMEfiles to add badge and instructions (#20115)488cba6chore: package.json update for@eslint/jsrelease1c0d850fix: updateeslint-all.jsto useObject.freezeforrulesobject (#20116)af2a087chore: package.json update for@eslint/jsrelease84ffb96chore: update@eslint-community/eslint-utils(#20069)b48fa20chore: package.json update for@eslint/jsreleaseUpdates
@types/nodefrom 24.2.0 to 24.9.2Commits
Updates
eslintfrom 9.32.0 to 9.39.0Release notes
Sourced from eslint's releases.
... (truncated)
Commits
ac3a60d9.39.0e79017fBuild: changelog update for 9.39.0dfe3c1bchore: update@eslint/jsversion to 9.39.0 (#20270)2375a6dchore: package.json update for@eslint/jsreleased3e81e3docs: Always recommend to include a files property (#20158)15f5c7cfix: forward traversalstep.argsto visitors (#20253)5a1a534fix: allow JSDoc comments in object-shorthand rule (#20167)cc57d87feat: update error loc to key inno-dupe-class-members(#20259)a1f4e52chore: update@eslintdependencies (#20265)e86b813fix: Use more types from@eslint/core(#20257)Updates
terserfrom 5.43.1 to 5.44.0Changelog
Sourced from terser's changelog.
Commits
a19ee635.44.01fc6edaupdate changelog88493d7Supportusingandawait usingdeclarations (#1635)c86e89fincrease test parallelism8f02ba6internal: fix race condition in test output in some cases156018dchore(deps): update actions/checkout action to v5 (#1634)Updates
typescriptfrom 5.9.2 to 5.9.3Release notes
Sourced from typescript's releases.
Commits
c63de15Bump version to 5.9.3 and LKG8428ca4🤖 Pick PR #62438 (Fix incorrectly ignored dts file fr...) into release-5.9 (#...a131cac🤖 Pick PR #62351 (Add missing Float16Array constructo...) into release-5.9 (#...0424333🤖 Pick PR #62423 (Revert PR 61928) into release-5.9 (#62425)bdb641a🤖 Pick PR #62311 (Fix parenthesizer rules for manuall...) into release-5.9 (#...0d9b9b9🤖 Pick PR #61978 (Restructure CI to prepare for requi...) into release-5.9 (#...2dce0c5Intentionally regress one buggy declaration output to an older version (#62163)Updates
typescript-eslintfrom 8.39.0 to 8.46.2Release notes
Sourced from typescript-eslint's releases.
... (truncated)
Changelog
Sourced from typescript-eslint's changelog.
... (truncated)
Commits
55ca033chore(release): publish 8.46.23f5fbf6chore(release): publish 8.46.1aec785echore(release): publish 8.46.05c1a159feat(typescript-eslint): export util types (close #10848) (#10849)255e9e2chore(release): publish 8.45.0c198052chore(release): publish 8.44.177056f7chore(release): publish 8.44.0ef9173cchore(release): publish 8.43.0d8ca5effix(eslint-plugin): [no-deprecated] should report deprecated exports and reex...d135909chore(release): publish 8.42.0Maintainer changes
This version was pushed to npm by [GitHub Actions](https://www.npmjs.com/~GitHub Actions), a new releaser for typescript-eslint since your current version.
Updates
vitefrom 7.0.6 to 7.1.12Release notes
Sourced from vite's releases.
... (truncated)
Changelog
Sourced from vite's changelog.
... (truncated)
Commits
2436aferelease: v7.1.1256fd722fix(deps): downgrade commonjs plugin to 28.0.6 to avoid rollup/plugins#1909 (...8b69c9erelease: v7.1.11f479cc5fix(dev): trim trailing slash beforeserver.fs.denycheck (#20968)6fb41a2chore(deps): update all non-major dependencies (#20966)a817307build: remove hash from built filenames (#20946)ef411cebuild: remove cjs reference in files field (#20945)d0094afrefactor: use subpath imports for types module reference (#20921)ed4a0dcrelease: v7.1.10c714776fix: preserve original sourcemap file field when combining sourcemaps (#20926)Maintainer changes
This version was pushed to npm by [GitHub Actions](https://www.npmjs.com/~GitHub Actions), a new releaser for vite since your current version.
Updates
vitestfrom 3.2.4 to 4.0.6Release notes
Sourced from vitest's releases.
... (truncated)
Commits
2e7b2b8chore: release v4.0.631706dffix: reuse the same environment whenisolateandfileParallelismare fals...10a06d8fix(happy-dom): properly teardown additional keys (#8888)197caf2fix(jsdom): pass down Node.jsFormDatatoRequest(#8880)ca041f5fix: improve spying types (#8878)e3b7775fix(coverage): prevent filtering out virtual files before remapping to source...7e6c37afix: do not throw when importing a type from an external package (#8875)3e19f27fix: don't merge errors with different diffs for reporting (#8871)ed9fc71chore: release v4.0.5b9521e0fix: allow module in --config (#8864)Maintainer changes
This version was pushed to npm by [GitHub Actions](https://www.npmjs.com/~GitHub Actions), a new releaser for vitest since your current version.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase....
Description has been truncated