@spectrum-web-components/asset
Advanced tools
Comparing version 0.4.1 to 0.4.2
@@ -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 @@ |
@@ -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 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
48309
46
0
2652
409