Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@compone/define

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@compone/define - npm Package Compare versions

Comparing version 1.1.3 to 1.1.4

4

index.js

@@ -10,2 +10,3 @@ const classed = require('@compone/class')

if (arguments.length == 1) { component = name, name = `anon-${registry.anon++}` }
if (component.wrapper) return component.wrapper
if (!name.includes('-')) return;

@@ -25,4 +26,3 @@ if (!client) return wrap(classed(component))

} else {
wrapped = wrap(classed(component))
registry.define(name, wrapped)
registry.define(name, wrapped = wrap(classed(component)))
}

@@ -29,0 +29,0 @@

{
"name": "@compone/define",
"version": "1.1.3",
"version": "1.1.4",
"description": "",

@@ -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