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

svelte

Package Overview
Dependencies
Maintainers
3
Versions
775
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 1.39.4 to 1.40.0

5

CHANGELOG.md
# Svelte changelog
## 1.40.0
* Short fragment method names ([#863](https://github.com/sveltejs/svelte/pull/863))
* Extract declarations out of default export ([#756](https://github.com/sveltejs/svelte/issues/756))
## 1.39.4

@@ -4,0 +9,0 @@

2

package.json
{
"name": "svelte",
"version": "1.39.4",
"version": "1.40.0",
"description": "The magical disappearing UI framework",

@@ -5,0 +5,0 @@ "main": "compiler/svelte.js",

@@ -67,3 +67,3 @@ function noop() {}

for (var i = 0; i < iterations.length; i += 1) {
if (iterations[i]) iterations[i].destroy();
if (iterations[i]) iterations[i].d();
}

@@ -383,4 +383,4 @@ }

if (detach !== false) this._fragment.unmount();
this._fragment.destroy();
if (detach !== false) this._fragment.u();
this._fragment.d();
this._fragment = this._state = null;

@@ -529,3 +529,3 @@ }

dispatchObservers(this, this._observers.pre, changed, this._state, oldState);
this._fragment.update(changed, this._state);
this._fragment.p(changed, this._state);
dispatchObservers(this, this._observers.post, changed, this._state, oldState);

@@ -550,7 +550,7 @@ }

function _mount(target, anchor) {
this._fragment.mount(target, anchor);
this._fragment.m(target, anchor);
}
function _unmount() {
this._fragment.unmount();
this._fragment.u();
}

@@ -557,0 +557,0 @@

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

Sorry, the diff of this file is not supported yet

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