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

svelte

Package Overview
Dependencies
Maintainers
3
Versions
772
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.24.0 to 1.25.0

7

CHANGELOG.md
# Svelte changelog
## 1.25.0
* Fix hoisted event handlers ([#699](https://github.com/sveltejs/svelte/issues/699))
* Fire `intro.start` and `outro.start` events ([#702](https://github.com/sveltejs/svelte/issues/702))
* Preserve order of components in keyed each blocks ([#700](https://github.com/sveltejs/svelte/issues/700))
* Add `cssMap` property to compiler output ([#698](https://github.com/sveltejs/svelte/pull/698/))
## 1.24.0

@@ -4,0 +11,0 @@

6

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

@@ -63,3 +63,3 @@ "main": "compiler/svelte.js",

"eslint-plugin-import": "^2.2.0",
"estree-walker": "^0.3.0",
"estree-walker": "^0.5.0",
"fuzzyset.js": "0.0.1",

@@ -69,3 +69,3 @@ "glob": "^7.1.1",

"locate-character": "^2.0.0",
"magic-string": "^0.21.1",
"magic-string": "^0.22.1",
"mocha": "^3.2.0",

@@ -72,0 +72,0 @@ "node-resolve": "^1.3.3",

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

function wrapTransition(node, fn, params, intro, outgroup) {
function wrapTransition(component, node, fn, params, intro, outgroup) {
var obj = fn(node, params);

@@ -194,2 +194,4 @@ var duration = obj.duration || 300;

start: function(program) {
component.fire(program.intro ? 'intro.start' : 'outro.start', { node: node });
program.a = this.t;

@@ -266,3 +268,3 @@ program.b = program.intro ? 1 : 0;

this.running = true;
this.next();
requestAnimationFrame(this.bound || (this.bound = this.next.bind(this)));
}

@@ -304,3 +306,3 @@ },

if (this.running) {
requestAnimationFrame(this.bound || (this.bound = this.next.bind(this)));
requestAnimationFrame(this.bound);
} else if (this.stylesheet) {

@@ -426,11 +428,7 @@ var i = this.stylesheet.cssRules.length;

this._set(assign({}, newState));
this._root._flush();
callAll(this._root._oncreate);
}
function _flush() {
if (!this._oncreate) return;
while (this._oncreate.length) {
this._oncreate.pop()();
}
function callAll(fns) {
while (fns && fns.length) fns.pop()();
}

@@ -443,4 +441,3 @@

on: on,
set: set,
_flush: _flush
set: set
};

@@ -453,6 +450,5 @@

on: onDev,
set: set,
_flush: _flush
set: set
};
export { differs, dispatchObservers, get, fire, observe, observeDev, on, onDev, set, _flush, proto, protoDev, appendNode, insertNode, detachNode, detachBetween, destroyEach, createElement, createSvgElement, createText, createComment, addListener, removeListener, setAttribute, setXlinkAttribute, getBindingGroupValue, toNumber, children, claimElement, claimText, linear, generateRule, hash, wrapTransition, transitionManager, noop, assign };
export { differs, dispatchObservers, get, fire, observe, observeDev, on, onDev, set, callAll, proto, protoDev, appendNode, insertNode, detachNode, detachBetween, destroyEach, createElement, createSvgElement, createText, createComment, addListener, removeListener, setAttribute, setXlinkAttribute, getBindingGroupValue, toNumber, children, claimElement, claimText, linear, generateRule, hash, wrapTransition, transitionManager, noop, assign };

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