Socket
Socket
Sign inDemoInstall

svelte-dev-helper

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

svelte-dev-helper - npm Package Compare versions

Comparing version 1.1.4 to 1.1.5

2

lib/proxy.js

@@ -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(',');

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