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.0 to 1.1.1

8

lib/proxy.js

@@ -7,4 +7,10 @@ import Registry from './registry';

function capitalize(str) {
return str[0].toUpperCase() + str.slice(1);
}
function getDebugName(id) {
return `<${id.split('/').pop().split('.').shift()}>`;
const posixID = id.replace(/[/\\]/g, '/');
const name = posixID.split('/').pop().split('.').shift();
return `<${capitalize(name)}>`;
}

@@ -11,0 +17,0 @@

2

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

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

@@ -34,3 +34,3 @@ /* global describe, it */

const id = 'fixtures/MockComponent.html';
const id = 'fixtures\\mockComponent.html';
const allMethods = 'get,fire,observe,on,set,teardown,_recompute,_set,_mount,_unmount,destroy,_register,_rerender'.split(',');

@@ -37,0 +37,0 @@ const straightProxiedMethods = allMethods.slice(0,7);

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