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

@spectrum-web-components/asset

Package Overview
Dependencies
Maintainers
6
Versions
259
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 0.4.1 to 0.4.2

4

CHANGELOG.md

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

## [0.4.2](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/asset@0.4.1...@spectrum-web-components/asset@0.4.2) (2021-03-22)
**Note:** Version bump only for package @spectrum-web-components/asset
## [0.4.1](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/asset@0.4.0...@spectrum-web-components/asset@0.4.1) (2021-03-05)

@@ -8,0 +12,0 @@

4

custom-elements.json

@@ -18,6 +18,2 @@ {

"type": "\"file\" | \"folder\" | undefined"
},
{
"name": "shadowRoot",
"type": "ShadowRoot"
}

@@ -24,0 +20,0 @@ ]

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

],
"version": "0.4.1",
"version": "0.4.2",
"description": "",

@@ -56,6 +56,6 @@ "main": "./src/index.js",

"dependencies": {
"@spectrum-web-components/base": "^0.4.1",
"@spectrum-web-components/base": "^0.4.2",
"tslib": "^2.0.0"
},
"gitHead": "b7f12041404bffdd65b1472f22b6f3eacbf7157c"
"gitHead": "ca6cd53b42caa5c52255f2af313d1689cf67157f"
}

@@ -9,11 +9,20 @@ ## Description

[![How big is this package in your project?](https://img.shields.io/bundlephobia/minzip/@spectrum-web-components/asset?style=for-the-badge)](https://bundlephobia.com/result?p=@spectrum-web-components/asset)
[![Try it on webcomponents.dev](https://img.shields.io/badge/Try%20it%20on-webcomponents.dev-green?style=for-the-badge)](https://webcomponents.dev/edit/collection/fO75441E1Q5ZlI0e9pgq/CdMbDDjxdnvVyMlGrrJj/src/index.ts)
```
npm install @spectrum-web-components/asset
yarn add @spectrum-web-components/asset
```
# or
Import the side effectful registration of `<sp-asset>` via:
yarn add @spectrum-web-components/asset
```
import '@spectrum-web-components/asset/sp-asset.js';
```
When looking to leverage the `Asset` base class as a type and/or for extension purposes, do so via:
```
import { Asset } from '@spectrum-web-components/asset';
```
## Example

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

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