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.7 to 1.1.9

CHANGELOG.md

14

lib/proxy.js

@@ -187,3 +187,4 @@ import Registry from './registry';

isMounted = this.__mounted,
insertionPoint = this.__insertionPoint;
insertionPoint = this.__insertionPoint,
handlers = this.proxyTarget._handlers;

@@ -194,2 +195,13 @@ this.destroy(true, true);

//re-attach event handlers
const self = this;
for (const ev in handlers) {
const _handlers = handlers[ev];
_handlers.forEach (function(item) {
if (item.toString().includes('component.fire(')) {
self.proxyTarget.on(ev, item);
}
});
}
if (mountpoint && isMounted) {

@@ -196,0 +208,0 @@ this.proxyTarget._fragment.c();

2

package.json
{
"name": "svelte-dev-helper",
"version": "1.1.7",
"version": "1.1.9",
"description": "Helper for svelte components to ease development",

@@ -5,0 +5,0 @@ "main": "index.js",

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