Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

svelte

Package Overview
Dependencies
Maintainers
3
Versions
819
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

svelte - npm Package Compare versions

Comparing version 5.11.1 to 5.11.2

2

package.json

@@ -5,3 +5,3 @@ {

"license": "MIT",
"version": "5.11.1",
"version": "5.11.2",
"type": "module",

@@ -8,0 +8,0 @@ "types": "./types/index.d.ts",

@@ -16,3 +16,2 @@ /* This file is generated by scripts/process-messages/index.js. Do not edit! */

} else {
// TODO print a link to the documentation
throw new Error(`https://svelte.dev/e/invalid_default_snippet`);

@@ -34,3 +33,2 @@ }

} else {
// TODO print a link to the documentation
throw new Error(`https://svelte.dev/e/lifecycle_outside_component`);

@@ -52,3 +50,2 @@ }

} else {
// TODO print a link to the documentation
throw new Error(`https://svelte.dev/e/store_invalid_shape`);

@@ -69,5 +66,4 @@ }

} else {
// TODO print a link to the documentation
throw new Error(`https://svelte.dev/e/svelte_element_invalid_this_value`);
}
}

@@ -16,3 +16,2 @@ /* This file is generated by scripts/process-messages/index.js. Do not edit! */

} else {
// TODO print a link to the documentation
console.warn(`https://svelte.dev/e/dynamic_void_element_content`);

@@ -36,5 +35,4 @@ }

} else {
// TODO print a link to the documentation
console.warn(`https://svelte.dev/e/state_snapshot_uncloneable`);
}
}

@@ -127,3 +127,3 @@ import { BROWSER } from 'esm-env';

* on Firefox and Safari it won't.
* @type {{ get current(): number }}
* @type {{ get current(): number | undefined }}
* @since 5.11.0

@@ -148,3 +148,5 @@ */

constructor() {
this.#update();
if (BROWSER) {
this.#update();
}
}

@@ -154,4 +156,4 @@

get(this.#dpr);
return window.devicePixelRatio;
return BROWSER ? window.devicePixelRatio : undefined;
}
})();

@@ -9,3 +9,3 @@ // generated during release, do not modify

*/
export const VERSION = '5.11.1';
export const VERSION = '5.11.2';
export const PUBLIC_VERSION = '5';

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc