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

sling-web-component-button

Package Overview
Dependencies
Maintainers
1
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sling-web-component-button - npm Package Compare versions

Comparing version 0.17.0 to 1.3.0

dist/cjs/es5/component/Button.js

15

package.json
{
"name": "sling-web-component-button",
"version": "0.17.0",
"version": "1.3.0",
"description": "",
"main": "dist/cjs/index.js",
"jsnext:main": "dist/es/index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"module": "src/index.js",
"main": "dist/cjs/es6/index.js",
"jsnext:main": "dist/es/es6/index.js",
"browser": "dist/iife/es6/index.js",
"author": "Stone Pagamentos",
"dependencies": {
"sling-web-framework": "^0.17.0",
"sling-web-helpers": "^0.17.0"
"sling-framework": "^1.3.0",
"sling-helpers": "^1.3.0"
}
}

@@ -1,2 +0,2 @@

import { SlingElement, html } from '../../node_modules/sling-web-framework/src/index.js';
import { SlingElement, html } from 'sling-framework';

@@ -40,3 +40,3 @@ export class Button extends SlingElement {

<style>
@import url('../sling-web-component-button/src/index.css');
@import url('sling-web-component-button/src/index.css');
</style>

@@ -43,0 +43,0 @@ <button type="${type}" className="${className}" disabled=${disabled}>

@@ -1,5 +0,5 @@

import { domHelper } from '../../node_modules/sling-web-helpers/src/index.js';
import { registerComponent } from 'sling-helpers';
import { Button } from './Button.js';
domHelper.registerComponent('sling-button', Button);
registerComponent('sling-button', Button);

@@ -6,0 +6,0 @@ let $button;

@@ -1,4 +0,4 @@

import { domHelper } from '../node_modules/sling-web-helpers/src/index.js';
import { registerComponent } from 'sling-helpers';
import { Button } from './component/Button.js';
domHelper.registerComponent('sling-button', Button);
registerComponent('sling-button', Button);
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