svelte-dev-helper
Advanced tools
Comparing version 1.1.4 to 1.1.5
@@ -44,3 +44,3 @@ import Registry from './registry'; | ||
const handledMethods = '_mount,_unmount,destroy'.split(','); | ||
const forwardedMethods = 'get,fire,observe,on,set,teardown,_recompute,_set'.split(','); | ||
const forwardedMethods = 'get,fire,observe,on,set,teardown,_recompute,_set,_bind'.split(','); | ||
class proxyComponent { | ||
@@ -47,0 +47,0 @@ |
{ | ||
"name": "svelte-dev-helper", | ||
"version": "1.1.4", | ||
"version": "1.1.5", | ||
"description": "Helper for svelte components to ease development", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -19,2 +19,3 @@ function create_main_fragment() { | ||
this.store = {}; | ||
this._bind = function() {}; | ||
} | ||
@@ -21,0 +22,0 @@ customMethod() {} |
@@ -19,2 +19,3 @@ function create_main_fragment() { | ||
this.store = {}; | ||
this._bind = function() {}; | ||
throw new Error("Something went wrong"); | ||
@@ -21,0 +22,0 @@ } |
@@ -24,2 +24,3 @@ function setup(component) { | ||
this.store = {}; | ||
this._bind = function() {}; | ||
} | ||
@@ -26,0 +27,0 @@ customMethod() {} |
@@ -37,5 +37,5 @@ /* global describe, it */ | ||
const idStatic = 'fixtures\\mockComponentWithPreload.html'; | ||
const allMethods = 'get,fire,observe,on,set,teardown,_recompute,_set,_mount,_unmount,destroy,_register,_rerender'.split(','); | ||
const straightProxiedMethods = allMethods.slice(0, 7); | ||
const proxiedMethods = allMethods.slice(0, 10); | ||
const allMethods = 'get,fire,observe,on,set,teardown,_recompute,_set,_bind,_mount,_unmount,destroy,_register,_rerender'.split(','); | ||
const straightProxiedMethods = allMethods.slice(0, 8); | ||
const proxiedMethods = allMethods.slice(0, 11); | ||
const customMethods = 'customMethod,anotherCustomMethod'.split(','); | ||
@@ -42,0 +42,0 @@ const allProps = 'refs,_fragment,_slotted,root,store'.split(','); |
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
21952
483