Comparing version 1.6.1 to 1.6.2
# Svelte changelog | ||
## 1.6.2 | ||
* Use helpers for `addEventListener`, `removeEventListener`, `setAttribute` ([#227](https://github.com/sveltejs/svelte/pull/227)) | ||
* Escape `sharedPath` ([#229](https://github.com/sveltejs/svelte/pull/229)) | ||
* Handle attributes with values that begin with a number ([#234](https://github.com/sveltejs/svelte/issues/234)) | ||
* Update dependencies | ||
## 1.6.1 | ||
@@ -4,0 +11,0 @@ |
{ | ||
"name": "svelte", | ||
"version": "1.6.1", | ||
"version": "1.6.2", | ||
"description": "The magical disappearing UI framework", | ||
@@ -46,3 +46,3 @@ "main": "compiler/svelte.js", | ||
"devDependencies": { | ||
"acorn": "^4.0.3", | ||
"acorn": "^4.0.4", | ||
"babel-plugin-istanbul": "^3.0.0", | ||
@@ -53,18 +53,18 @@ "babel-plugin-transform-es2015-modules-commonjs": "^6.18.0", | ||
"console-group": "^0.3.2", | ||
"eslint": "^3.10.2", | ||
"eslint": "^3.12.2", | ||
"eslint-plugin-import": "^2.2.0", | ||
"estree-walker": "^0.3.0", | ||
"fuzzyset.js": "0.0.1", | ||
"jsdom": "^9.8.3", | ||
"jsdom": "^9.9.1", | ||
"locate-character": "^2.0.0", | ||
"mocha": "^3.1.2", | ||
"mocha": "^3.2.0", | ||
"node-resolve": "^1.3.3", | ||
"nyc": "^9.0.1", | ||
"reify": "^0.4.0", | ||
"rollup": "^0.36.3", | ||
"rollup-plugin-buble": "^0.14.0", | ||
"rollup-plugin-commonjs": "^5.0.5", | ||
"nyc": "^10.0.0", | ||
"reify": "^0.4.4", | ||
"rollup": "^0.39.0", | ||
"rollup-plugin-buble": "^0.15.0", | ||
"rollup-plugin-commonjs": "^7.0.0", | ||
"rollup-plugin-node-resolve": "^2.0.0", | ||
"source-map": "^0.5.6", | ||
"source-map-support": "^0.4.6" | ||
"source-map-support": "^0.4.8" | ||
}, | ||
@@ -71,0 +71,0 @@ "nyc": { |
@@ -29,2 +29,14 @@ function appendNode ( node, target ) { | ||
function addEventListener ( node, event, handler ) { | ||
node.addEventListener ( event, handler, false ); | ||
} | ||
function removeEventListener ( node, event, handler ) { | ||
node.removeEventListener ( event, handler, false ); | ||
} | ||
function setAttribute ( node, attribute, value ) { | ||
node.setAttribute ( attribute, value ); | ||
} | ||
function get ( key ) { | ||
@@ -99,2 +111,2 @@ return key ? this._state[ key ] : this._state; | ||
export { noop, dispatchObservers, appendNode, insertNode, detachNode, createElement, createSvgElement, createText, createComment, get, fire, observe, on }; | ||
export { noop, dispatchObservers, appendNode, insertNode, detachNode, createElement, createSvgElement, createText, createComment, addEventListener, removeEventListener, setAttribute, get, fire, observe, on }; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
798187
6577