From 0701a36288ef89d0d5599c278bc6f84a6562e6a4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 7 Oct 2023 20:59:35 -0400 Subject: [PATCH 1/4] chore(deps-dev): bump @sveltejs/kit from 1.22.3 to 1.25.1 (#80) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [@sveltejs/kit](https://github.com/sveltejs/kit/tree/HEAD/packages/kit) from 1.22.3 to 1.25.1.
Release notes

Sourced from @​sveltejs/kit's releases.

@​sveltejs/kit@​1.25.1

Patch Changes

@​sveltejs/kit@​1.25.0

Minor Changes

Patch Changes

@​sveltejs/kit@​1.24.1

Patch Changes

@​sveltejs/kit@​1.24.0

Minor Changes

Patch Changes

@​sveltejs/kit@​1.23.1

Patch Changes

@​sveltejs/kit@​1.23.0

Minor Changes

Patch Changes

... (truncated)

Changelog

Sourced from @​sveltejs/kit's changelog.

1.25.1

Patch Changes

1.25.0

Minor Changes

Patch Changes

1.24.1

Patch Changes

1.24.0

Minor Changes

Patch Changes

1.23.1

Patch Changes

1.23.0

Minor Changes

... (truncated)

Commits

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@sveltejs/kit&package-manager=npm_and_yarn&previous-version=1.22.3&new-version=1.25.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 76 +++++++++++++++++++++++++++++++++++++---------- package.json | 2 +- 2 files changed, 62 insertions(+), 16 deletions(-) diff --git a/package-lock.json b/package-lock.json index 9c8ee1d..11ca416 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "0.1.5", "devDependencies": { "@sveltejs/adapter-auto": "^2.1.0", - "@sveltejs/kit": "^1.22.3", + "@sveltejs/kit": "^1.25.1", "@sveltejs/package": "^2.2.1", "@testing-library/svelte": "^4.0.3", "jsdom": "^22.1.0", @@ -704,9 +704,9 @@ } }, "node_modules/@sveltejs/kit": { - "version": "1.22.3", - "resolved": "https://registry.npmjs.org/@sveltejs/kit/-/kit-1.22.3.tgz", - "integrity": "sha512-IpHD5wvuoOIHYaHQUBJ1zERD2Iz+fB/rBXhXjl8InKw6X4VKE9BSus+ttHhE7Ke+Ie9ecfilzX8BnWE3FeQyng==", + "version": "1.25.1", + "resolved": "https://registry.npmjs.org/@sveltejs/kit/-/kit-1.25.1.tgz", + "integrity": "sha512-pD8XsvNJNgTNkFngNlM60my/X8dXWPKVzN5RghEQr0NjGZmuCjy49AfFu2cGbZjNf5pBcqd2RCNMW912P5fkhA==", "dev": true, "hasInstallScript": true, "dependencies": { @@ -721,7 +721,8 @@ "sade": "^1.8.1", "set-cookie-parser": "^2.6.0", "sirv": "^2.0.2", - "undici": "~5.22.0" + "tiny-glob": "^0.2.9", + "undici": "~5.25.0" }, "bin": { "svelte-kit": "svelte-kit.js" @@ -1830,6 +1831,18 @@ "node": ">=10" } }, + "node_modules/globalyzer": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/globalyzer/-/globalyzer-0.1.0.tgz", + "integrity": "sha512-40oNTM9UfG6aBmuKxk/giHn5nQ8RVz/SS4Ir6zgzOv9/qC3kKZ9v4etGTcJbEl/NyVQH7FGU7d+X1egr57Md2Q==", + "dev": true + }, + "node_modules/globrex": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/globrex/-/globrex-0.1.2.tgz", + "integrity": "sha512-uHJgbwAMwNFf5mLst7IWLNg14x1CkeqglJb/K3doi4dw6q2IvAAmM/Y81kevy83wP+Sst+nutFTYOGg3d1lsxg==", + "dev": true + }, "node_modules/gopd": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz", @@ -3506,6 +3519,16 @@ "integrity": "sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw==", "dev": true }, + "node_modules/tiny-glob": { + "version": "0.2.9", + "resolved": "https://registry.npmjs.org/tiny-glob/-/tiny-glob-0.2.9.tgz", + "integrity": "sha512-g/55ssRPUjShh+xkfx9UPDXqhckHEsHr4Vd9zX55oSdGZc/MD0m3sferOkwWtp98bv+kcVfEHtRJgBVJzelrzg==", + "dev": true, + "dependencies": { + "globalyzer": "0.1.0", + "globrex": "^0.1.2" + } + }, "node_modules/tinybench": { "version": "2.5.0", "resolved": "https://registry.npmjs.org/tinybench/-/tinybench-2.5.0.tgz", @@ -3613,9 +3636,9 @@ "dev": true }, "node_modules/undici": { - "version": "5.22.0", - "resolved": "https://registry.npmjs.org/undici/-/undici-5.22.0.tgz", - "integrity": "sha512-fR9RXCc+6Dxav4P9VV/sp5w3eFiSdOjJYsbtWfd4s5L5C4ogyuVpdKIVHeW0vV1MloM65/f7W45nR9ZxwVdyiA==", + "version": "5.25.2", + "resolved": "https://registry.npmjs.org/undici/-/undici-5.25.2.tgz", + "integrity": "sha512-tch8RbCfn1UUH1PeVCXva4V8gDpGAud/w0WubD6sHC46vYQ3KDxL+xv1A2UxK0N6jrVedutuPHxe1XIoqerwMw==", "dev": true, "dependencies": { "busboy": "^1.6.0" @@ -4393,9 +4416,9 @@ } }, "@sveltejs/kit": { - "version": "1.22.3", - "resolved": "https://registry.npmjs.org/@sveltejs/kit/-/kit-1.22.3.tgz", - "integrity": "sha512-IpHD5wvuoOIHYaHQUBJ1zERD2Iz+fB/rBXhXjl8InKw6X4VKE9BSus+ttHhE7Ke+Ie9ecfilzX8BnWE3FeQyng==", + "version": "1.25.1", + "resolved": "https://registry.npmjs.org/@sveltejs/kit/-/kit-1.25.1.tgz", + "integrity": "sha512-pD8XsvNJNgTNkFngNlM60my/X8dXWPKVzN5RghEQr0NjGZmuCjy49AfFu2cGbZjNf5pBcqd2RCNMW912P5fkhA==", "dev": true, "requires": { "@sveltejs/vite-plugin-svelte": "^2.4.1", @@ -4409,7 +4432,8 @@ "sade": "^1.8.1", "set-cookie-parser": "^2.6.0", "sirv": "^2.0.2", - "undici": "~5.22.0" + "tiny-glob": "^0.2.9", + "undici": "~5.25.0" } }, "@sveltejs/package": { @@ -5253,6 +5277,18 @@ "is-glob": "^4.0.1" } }, + "globalyzer": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/globalyzer/-/globalyzer-0.1.0.tgz", + "integrity": "sha512-40oNTM9UfG6aBmuKxk/giHn5nQ8RVz/SS4Ir6zgzOv9/qC3kKZ9v4etGTcJbEl/NyVQH7FGU7d+X1egr57Md2Q==", + "dev": true + }, + "globrex": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/globrex/-/globrex-0.1.2.tgz", + "integrity": "sha512-uHJgbwAMwNFf5mLst7IWLNg14x1CkeqglJb/K3doi4dw6q2IvAAmM/Y81kevy83wP+Sst+nutFTYOGg3d1lsxg==", + "dev": true + }, "gopd": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz", @@ -6440,6 +6476,16 @@ "integrity": "sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw==", "dev": true }, + "tiny-glob": { + "version": "0.2.9", + "resolved": "https://registry.npmjs.org/tiny-glob/-/tiny-glob-0.2.9.tgz", + "integrity": "sha512-g/55ssRPUjShh+xkfx9UPDXqhckHEsHr4Vd9zX55oSdGZc/MD0m3sferOkwWtp98bv+kcVfEHtRJgBVJzelrzg==", + "dev": true, + "requires": { + "globalyzer": "0.1.0", + "globrex": "^0.1.2" + } + }, "tinybench": { "version": "2.5.0", "resolved": "https://registry.npmjs.org/tinybench/-/tinybench-2.5.0.tgz", @@ -6519,9 +6565,9 @@ "dev": true }, "undici": { - "version": "5.22.0", - "resolved": "https://registry.npmjs.org/undici/-/undici-5.22.0.tgz", - "integrity": "sha512-fR9RXCc+6Dxav4P9VV/sp5w3eFiSdOjJYsbtWfd4s5L5C4ogyuVpdKIVHeW0vV1MloM65/f7W45nR9ZxwVdyiA==", + "version": "5.25.2", + "resolved": "https://registry.npmjs.org/undici/-/undici-5.25.2.tgz", + "integrity": "sha512-tch8RbCfn1UUH1PeVCXva4V8gDpGAud/w0WubD6sHC46vYQ3KDxL+xv1A2UxK0N6jrVedutuPHxe1XIoqerwMw==", "dev": true, "requires": { "busboy": "^1.6.0" diff --git a/package.json b/package.json index ef43614..4f5b848 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,7 @@ }, "devDependencies": { "@sveltejs/adapter-auto": "^2.1.0", - "@sveltejs/kit": "^1.22.3", + "@sveltejs/kit": "^1.25.1", "@sveltejs/package": "^2.2.1", "@testing-library/svelte": "^4.0.3", "rome": "12.1.3", From 717ab520c0b3ea954abff02cc9a1a75ac3386495 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 7 Oct 2023 21:00:02 -0400 Subject: [PATCH 2/4] chore(deps-dev): bump publint from 0.2.0 to 0.2.3 (#81) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [publint](https://github.com/bluwy/publint/tree/HEAD/pkg) from 0.2.0 to 0.2.3.
Release notes

Sourced from publint's releases.

v0.2.3

Features

  • Error if package.json has fields with invalid string, boolean, object, etc type (bluwy/publint#73)

  • Suggest using the "files" field if detected test or config files are published (bluwy/publint#77)

  • Warn on "exports" and "browser" object conflict for browser-ish environments (bluwy/publint#58)

    For example, given this setup:

    {
      "browser": {
        "./lib.server.js": "./lib.browser.js"
      },
      "exports": {
        ".": {
          "worker": "./lib.server.js",
          "browser": "./lib.browser.js",
          "default": "./lib.server.js"
        }
      }
    }
    

    When matching the "worker" condition, it will resolve to "./lib.server.js" which is intended to work in a worker environment. However, the "browser" field also has a matching mapping for "./lib.server.js", causing the final resolved path to be "./lib.browser.js". This is usually not intended and causes the wrong file to be loaded.

  • Error on invalid JSX extensions, such as .cjsx, .mjsx, .ctsx, and .mtsx (bluwy/publint#76)

    These extensions are usually mistaken as ESM and CJS variants of JSX, which is not valid. Instead they should be written in ESM with the .jsx extension instead.

Bug fixes

  • Skip file format checks only for globbed files
  • Fix "main" field with ESM content detection (bluwy/publint#75)

Site

Full Changelog: https://github.com/bluwy/publint/compare/v0.2.2...v0.2.3

v0.2.2

Features

... (truncated)

Commits

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=publint&package-manager=npm_and_yarn&previous-version=0.2.0&new-version=0.2.3)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 14 +++++++------- package.json | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/package-lock.json b/package-lock.json index 11ca416..9273db9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,7 +13,7 @@ "@sveltejs/package": "^2.2.1", "@testing-library/svelte": "^4.0.3", "jsdom": "^22.1.0", - "publint": "^0.2.0", + "publint": "^0.2.3", "rome": "12.1.3", "svelte": "^4.2.0", "svelte-check": "^3.5.0", @@ -2950,9 +2950,9 @@ "dev": true }, "node_modules/publint": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/publint/-/publint-0.2.0.tgz", - "integrity": "sha512-h8lxdjhQjpDw+A4BgY4sE7Z4CU3x5tCGGpERVdKGDQmWMtr1P7kvptJS2P10HhmNnS7Yeny37zfQE5+xRZ6nig==", + "version": "0.2.3", + "resolved": "https://registry.npmjs.org/publint/-/publint-0.2.3.tgz", + "integrity": "sha512-Ml/rLotRiRTCbqL8CtWURiWDPzHtjv1SKU2E91R0ZG4mDJS3/rNQXYttM+Wt5t0JZ09MyAXIa/TYOt5OVUlYAQ==", "dev": true, "dependencies": { "npm-packlist": "^5.1.3", @@ -6089,9 +6089,9 @@ "dev": true }, "publint": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/publint/-/publint-0.2.0.tgz", - "integrity": "sha512-h8lxdjhQjpDw+A4BgY4sE7Z4CU3x5tCGGpERVdKGDQmWMtr1P7kvptJS2P10HhmNnS7Yeny37zfQE5+xRZ6nig==", + "version": "0.2.3", + "resolved": "https://registry.npmjs.org/publint/-/publint-0.2.3.tgz", + "integrity": "sha512-Ml/rLotRiRTCbqL8CtWURiWDPzHtjv1SKU2E91R0ZG4mDJS3/rNQXYttM+Wt5t0JZ09MyAXIa/TYOt5OVUlYAQ==", "dev": true, "requires": { "npm-packlist": "^5.1.3", diff --git a/package.json b/package.json index 4f5b848..06df755 100644 --- a/package.json +++ b/package.json @@ -35,7 +35,7 @@ "@testing-library/svelte": "^4.0.3", "rome": "12.1.3", "jsdom": "^22.1.0", - "publint": "^0.2.0", + "publint": "^0.2.3", "svelte": "^4.2.0", "svelte-check": "^3.5.0", "tslib": "^2.6.1", From 1d338411c7e05f6dce1182e93ad7b75dd2d585f2 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 7 Oct 2023 21:00:28 -0400 Subject: [PATCH 3/4] chore(deps-dev): bump svelte-check from 3.5.0 to 3.5.2 (#79) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [//]: # (dependabot-start) ⚠️ **Dependabot is rebasing this PR** ⚠️ Rebasing might not happen immediately, so don't worry if this takes some time. Note: if you make any changes to this PR yourself, they will take precedence over the rebase. --- [//]: # (dependabot-end) Bumps [svelte-check](https://github.com/sveltejs/language-tools) from 3.5.0 to 3.5.2.
Release notes

Sourced from svelte-check's releases.

svelte-check-3.5.2

  • fix: only allow client files and project files to be root files (#2146)
  • fix: output $$Props code differently to deal with unions better (#2153)
  • fix: add fallback handler to auto-types (#2156)

svelte-check-3.5.1

  • fix: ignore style tag inside script tag (#2104)
  • fix: ignore error about transition third argument (#2139)
Commits
  • fdb8fa5 fix: bundle setup
  • fe54b84 feat: add fallback handler to auto-types
  • bf99a93 feat: enhance component references in find references (#2157)
  • 54f921a fix: ensure SvelteKit file is patched when first open (#2160)
  • 93f6415 fix: output $$Props code differently (#2153)
  • c8ae56e (fix) only allow client files and project files to be root (#2146)
  • 6c76ba8 chore: update snapshot for svelte 4 and ts 5.2 (#2152)
  • 4ba8d9e chore: bump TS and adjust tsconfigs (#2145)
  • 1018345 fix: ignore style tag inside script tag
  • 5a8cfa5 (fix) prevent crash when ts project is closed (#2144)
  • Additional commits viewable in compare view

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=svelte-check&package-manager=npm_and_yarn&previous-version=3.5.0&new-version=3.5.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 14 +++++++------- package.json | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/package-lock.json b/package-lock.json index 9273db9..140c275 100644 --- a/package-lock.json +++ b/package-lock.json @@ -16,7 +16,7 @@ "publint": "^0.2.3", "rome": "12.1.3", "svelte": "^4.2.0", - "svelte-check": "^3.5.0", + "svelte-check": "^3.5.2", "tslib": "^2.6.1", "typescript": "^5.1.6", "vite": "^4.4.9", @@ -3383,9 +3383,9 @@ } }, "node_modules/svelte-check": { - "version": "3.5.0", - "resolved": "https://registry.npmjs.org/svelte-check/-/svelte-check-3.5.0.tgz", - "integrity": "sha512-KHujbn4k17xKYLmtCwv0sKKM7uiHTYcQvXnvrCcNU6a7hcszh99zFTIoiu/Sp/ewAw5aJmillJ1Cs8gKLmcX4A==", + "version": "3.5.2", + "resolved": "https://registry.npmjs.org/svelte-check/-/svelte-check-3.5.2.tgz", + "integrity": "sha512-5a/YWbiH4c+AqAUP+0VneiV5bP8YOk9JL3jwvN+k2PEPLgpu85bjQc5eE67+eIZBBwUEJzmO3I92OqKcqbp3fw==", "dev": true, "dependencies": { "@jridgewell/trace-mapping": "^0.3.17", @@ -6414,9 +6414,9 @@ } }, "svelte-check": { - "version": "3.5.0", - "resolved": "https://registry.npmjs.org/svelte-check/-/svelte-check-3.5.0.tgz", - "integrity": "sha512-KHujbn4k17xKYLmtCwv0sKKM7uiHTYcQvXnvrCcNU6a7hcszh99zFTIoiu/Sp/ewAw5aJmillJ1Cs8gKLmcX4A==", + "version": "3.5.2", + "resolved": "https://registry.npmjs.org/svelte-check/-/svelte-check-3.5.2.tgz", + "integrity": "sha512-5a/YWbiH4c+AqAUP+0VneiV5bP8YOk9JL3jwvN+k2PEPLgpu85bjQc5eE67+eIZBBwUEJzmO3I92OqKcqbp3fw==", "dev": true, "requires": { "@jridgewell/trace-mapping": "^0.3.17", diff --git a/package.json b/package.json index 06df755..7d3668e 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,7 @@ "jsdom": "^22.1.0", "publint": "^0.2.3", "svelte": "^4.2.0", - "svelte-check": "^3.5.0", + "svelte-check": "^3.5.2", "tslib": "^2.6.1", "typescript": "^5.1.6", "vite": "^4.4.9", From bf5ec99fac894bd360f85526db617eb06a86cdb2 Mon Sep 17 00:00:00 2001 From: Michael Liendo Date: Wed, 11 Oct 2023 07:18:32 -0400 Subject: [PATCH 4/4] feat: custom inline style (#83) --- src/lib/components/NotificationList.svelte | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/lib/components/NotificationList.svelte b/src/lib/components/NotificationList.svelte index b428c1c..48a2995 100644 --- a/src/lib/components/NotificationList.svelte +++ b/src/lib/components/NotificationList.svelte @@ -3,7 +3,7 @@ TopRight = 'top_right', TopLeft = 'top_left', BottomRight = 'bottom_right', - BottomLeft = 'bottom_left' + BottomLeft = 'bottom_left', } export function getPositionClasses(position: Position = Position.TopRight) { @@ -34,6 +34,8 @@ let className = ''; export { className as class }; + export let style: string = ''; + export let position: Position = Position.TopRight; // Use auto-subscriptions to avoid leaking memory on re-renders @@ -50,6 +52,7 @@ position )}`} class:z-10={notificationsList?.length} + {style} > {#each notificationsList as notification}