@vueuse/sound
Advanced tools
Comparing version 1.1.5 to 1.1.6
/*! | ||
* @vueuse/sound v1.1.5 | ||
* @vueuse/sound v1.1.6 | ||
* (c) 2021 YaΓ«l GUILLOUX | ||
@@ -18,3 +18,3 @@ * @license MIT | ||
vueDemi.onMounted(() => { | ||
Promise.resolve().then(function () { return require('./howler-21e5cfd4.js'); }).then(function (n) { return n.howler; }).then((mod) => { | ||
Promise.resolve().then(function () { return require('./howler-83310967.js'); }).then(function (n) { return n.howler; }).then((mod) => { | ||
HowlConstructor.value = mod.Howl; | ||
@@ -21,0 +21,0 @@ sound.value = new HowlConstructor.value({ |
/*! | ||
* @vueuse/sound v1.1.5 | ||
* @vueuse/sound v1.1.6 | ||
* (c) 2021 YaΓ«l GUILLOUX | ||
@@ -14,3 +14,3 @@ * @license MIT | ||
onMounted(() => { | ||
import('./howler-465c76f0.js').then(function (n) { return n.h; }).then((mod) => { | ||
import('./howler-c6e37a5c.js').then(function (n) { return n.h; }).then((mod) => { | ||
HowlConstructor.value = mod.Howl; | ||
@@ -17,0 +17,0 @@ sound.value = new HowlConstructor.value({ |
/*! | ||
* @vueuse/sound v1.1.5 | ||
* @vueuse/sound v1.1.6 | ||
* (c) 2021 YaΓ«l GUILLOUX | ||
@@ -4,0 +4,0 @@ * @license MIT |
@@ -13,3 +13,3 @@ { | ||
], | ||
"version": "1.1.5", | ||
"version": "1.1.6", | ||
"description": "π A Vue composable for playing sound effects", | ||
@@ -16,0 +16,0 @@ "main": "dist/cjs/index.js", |
@@ -5,3 +5,3 @@ # π @vueuse/sound | ||
[![npm](https://img.shields.io/npm/dm/@vueuse/sound.svg)](https://npm-stat.com/charts.html?package=@vueuse/sound) | ||
[![Netlify Status](https://api.netlify.com/api/v1/badges/991aafcb-635a-457d-93a4-10f4b895c8c5/deploy-status)](https://app.netlify.com/sites/vue-use-sound/deploys) | ||
[![Netlify Status](https://api.netlify.com/api/v1/badges/991aafcb-635a-457d-93a4-10f4b895c8c5/deploy-status)](https://app.netlify.com/sites/vueuse-sound/deploys) | ||
@@ -16,3 +16,3 @@ - π Lets your website **communicate** using 2 **human senses** instead of 1 | ||
If you want to take a **quick look** at the composable in effect, you should visit the [π **demo**](https://vue-use-sound.netlify.app). | ||
If you want to take a **quick look** at the composable in effect, you should visit the [π **demo**](https://vueuse-sound.netlify.app). | ||
@@ -64,7 +64,7 @@ This package is a **Vue** version of the [**useSound**](https://github.com/joshwcomeau/use-sound) React hook by [**joshwcomeau**](https://github.com/joshwcomeau). | ||
This example is shown in the [demo](https://vue-use-sound.netlify.app#hover). | ||
This example is shown in the [demo](https://vueuse-sound.netlify.app#hover). | ||
### Increase pitch on every click | ||
This example is shown in the [demo](https://vue-use-sound.netlify.app#pitch). | ||
This example is shown in the [demo](https://vueuse-sound.netlify.app#pitch). | ||
@@ -184,3 +184,3 @@ ## Usage Notes | ||
> There can be a performance benefit to this, since it's less parallel network requests, but it can also be worth doing this if a single component needs multiple samples. See the [Drum Machine component](https://vue-use-sound.netlify.app#drums) for an example. | ||
> There can be a performance benefit to this, since it's less parallel network requests, but it can also be worth doing this if a single component needs multiple samples. See the [Drum Machine component](https://vueuse-sound.netlify.app#drums) for an example. | ||
@@ -187,0 +187,0 @@ For sprites, we'll need to define a `SpriteMap`. It looks like this: |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
289063