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

@spectrum-web-components/iconset

Package Overview
Dependencies
Maintainers
2
Versions
247
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@spectrum-web-components/iconset - npm Package Compare versions

Comparing version 0.1.4 to 0.1.5

lib/icons-demo.d.ts

6

CHANGELOG.md

@@ -6,2 +6,8 @@ # Change Log

## [0.1.5](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/iconset@0.1.4...@spectrum-web-components/iconset@0.1.5) (2019-11-01)
### Bug Fixes
- remove ":" based namespacing of events ([d77a843](https://github.com/adobe/spectrum-web-components/commit/d77a843))
## [0.1.4](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/iconset@0.1.3...@spectrum-web-components/iconset@0.1.4) (2019-10-14)

@@ -8,0 +14,0 @@

4

lib/iconset-registry.d.ts

@@ -19,5 +19,5 @@ import { Iconset } from './iconset.js';

interface GlobalEventHandlersEventMap {
'sp-iconset:added': CustomEvent<IconsetAddedDetail>;
'sp-iconset:removed': CustomEvent<IconsetRemovedDetail>;
'sp-iconset-added': CustomEvent<IconsetAddedDetail>;
'sp-iconset-removed': CustomEvent<IconsetRemovedDetail>;
}
}

@@ -17,3 +17,3 @@ export class IconsetRegistry {

// will know where to look for this event
const event = new CustomEvent('sp-iconset:added', {
const event = new CustomEvent('sp-iconset-added', {
bubbles: true,

@@ -33,3 +33,3 @@ composed: true,

// will know where to look for this event
const event = new CustomEvent('sp-iconset:removed', {
const event = new CustomEvent('sp-iconset-removed', {
bubbles: true,

@@ -36,0 +36,0 @@ composed: true,

@@ -58,3 +58,3 @@ import { __decorate } from "tslib";

this.addIconset();
window.addEventListener('sp-iconset:removed', this.handleRemoved);
window.addEventListener('sp-iconset-removed', this.handleRemoved);
}

@@ -66,3 +66,3 @@ /**

super.disconnectedCallback();
window.removeEventListener('sp-iconset:removed', this.handleRemoved);
window.removeEventListener('sp-iconset-removed', this.handleRemoved);
this.removeIconset();

@@ -69,0 +69,0 @@ }

@@ -21,3 +21,3 @@ {

],
"version": "0.1.4",
"version": "0.1.5",
"description": "",

@@ -40,3 +40,3 @@ "main": "lib/index.js",

},
"gitHead": "7c3e131bc2bc3b1195e736ff65d3c4e044590ace"
"gitHead": "2157014e1c3f8cf184663261e4095eef59011b37"
}

@@ -39,3 +39,3 @@ /*

// will know where to look for this event
const event = new CustomEvent('sp-iconset:added', {
const event = new CustomEvent('sp-iconset-added', {
bubbles: true,

@@ -55,3 +55,3 @@ composed: true,

// will know where to look for this event
const event = new CustomEvent('sp-iconset:removed', {
const event = new CustomEvent('sp-iconset-removed', {
bubbles: true,

@@ -71,5 +71,5 @@ composed: true,

interface GlobalEventHandlersEventMap {
'sp-iconset:added': CustomEvent<IconsetAddedDetail>;
'sp-iconset:removed': CustomEvent<IconsetRemovedDetail>;
'sp-iconset-added': CustomEvent<IconsetAddedDetail>;
'sp-iconset-removed': CustomEvent<IconsetRemovedDetail>;
}
}

@@ -83,3 +83,3 @@ /*

this.addIconset();
window.addEventListener('sp-iconset:removed', this.handleRemoved);
window.addEventListener('sp-iconset-removed', this.handleRemoved);
}

@@ -91,3 +91,3 @@ /**

super.disconnectedCallback();
window.removeEventListener('sp-iconset:removed', this.handleRemoved);
window.removeEventListener('sp-iconset-removed', this.handleRemoved);
this.removeIconset();

@@ -94,0 +94,0 @@ }

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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