@solid-primitives/audio
Advanced tools
Comparing version 1.3.0 to 1.3.1
@@ -64,3 +64,3 @@ import { Accessor } from 'solid-js'; | ||
*/ | ||
declare const createAudio: (src: AudioSource | Accessor<AudioSource>, playing?: Accessor<boolean> | undefined, volume?: Accessor<number> | undefined) => [{ | ||
declare const createAudio: (src: AudioSource | Accessor<AudioSource>, playing?: Accessor<boolean>, volume?: Accessor<number>) => [{ | ||
state: AudioState; | ||
@@ -67,0 +67,0 @@ currentTime: number; |
@@ -6,3 +6,3 @@ import { | ||
makeAudioPlayer | ||
} from "./chunk-JBHTPEQN.js"; | ||
} from "./chunk-T5LONJJD.js"; | ||
export { | ||
@@ -9,0 +9,0 @@ AudioState, |
import { | ||
AudioState | ||
} from "./chunk-JBHTPEQN.js"; | ||
} from "./chunk-T5LONJJD.js"; | ||
@@ -5,0 +5,0 @@ // src/server.ts |
{ | ||
"name": "@solid-primitives/audio", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"description": "Primitives to manage audio and single sounds.", | ||
@@ -39,8 +39,2 @@ "author": "David Di Biase <dave.dibiase@gmail.com>", | ||
}, | ||
"scripts": { | ||
"start": "vite serve dev", | ||
"dev": "vite serve dev", | ||
"build": "tsup", | ||
"test": "uvu -b -r solid-register" | ||
}, | ||
"keywords": [ | ||
@@ -53,17 +47,15 @@ "audio", | ||
"devDependencies": { | ||
"@babel/preset-env": "^7.18.2", | ||
"babel-preset-solid": "^1.4.4", | ||
"jsdom": "^19.0.0", | ||
"prettier": "^2.7.1", | ||
"solid-heroicons": "^2.0.3", | ||
"solid-js": "^1.4.8", | ||
"solid-register": "^0.2.5", | ||
"solid-testing-library": "^0.2.0", | ||
"tslib": "^2.0.1", | ||
"tsup": "^6.1.2", | ||
"solid-testing-library": "^0.2.1", | ||
"tslib": "^2.4.0", | ||
"tsup": "^6.1.3", | ||
"typescript": "^4.7.4", | ||
"unocss": "^0.39.1", | ||
"uvu": "^0.5.3", | ||
"vite": "^2.9.12", | ||
"vite-plugin-solid": "^2.2.6", | ||
"vitest": "^0.14.2" | ||
"unocss": "^0.44.7", | ||
"uvu": "^0.5.6", | ||
"vite": "^3.0.2", | ||
"vite-plugin-solid": "^2.3.0" | ||
}, | ||
@@ -74,4 +66,10 @@ "peerDependencies": { | ||
"dependencies": { | ||
"@solid-primitives/utils": "^2.1.0" | ||
"@solid-primitives/utils": "^3.0.0" | ||
}, | ||
"scripts": { | ||
"start": "vite serve dev", | ||
"dev": "vite serve dev", | ||
"build": "tsup", | ||
"test": "uvu -b -r solid-register" | ||
} | ||
} | ||
} |
@@ -7,3 +7,3 @@ <p> | ||
[![lerna](https://img.shields.io/badge/maintained%20with-lerna-cc00ff.svg?style=for-the-badge)](https://lerna.js.org/) | ||
[![turborepo](https://img.shields.io/badge/built%20with-turborepo-cc00ff.svg?style=for-the-badge&logo=turborepo)](https://turborepo.org/) | ||
[![size](https://img.shields.io/bundlephobia/minzip/@solid-primitives/audio?style=for-the-badge)](https://bundlephobia.com/package/@solid-primitives/audio) | ||
@@ -120,37 +120,6 @@ [![size](https://img.shields.io/npm/v/@solid-primitives/audio?style=for-the-badge)](https://www.npmjs.com/package/@solid-primitives/audio) | ||
You may view a working example here: https://codesandbox.io/s/solid-primitives-audio-5c9f3 | ||
You may view a working example here: https://stackblitz.com/edit/vitejs-vite-zwfs6h?file=src%2Fmain.tsx | ||
## Changelog | ||
<details> | ||
<summary><b>Expand Changelog</b></summary> | ||
0.0.100 | ||
Pulling an early release of the package together and preparing for 1.0.0 release. No changes. | ||
1.0.0 | ||
Minor clean-up, added tests and released. | ||
1.0.1 | ||
Added testing and support for srcObject. | ||
1.1.6 | ||
Added proper SSR and CJS support. | ||
1.1.8 | ||
Updated to Solid 1.3. | ||
1.2.0 | ||
Major improvements to bring package in line with project standards. | ||
1.3.0 | ||
A major refactor of the `audio` package that includes new basic and reactive primitives. | ||
</details> | ||
See [CHANGELOG.md](./CHANGELOG.md) |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
13
426
0
19837
124
+ Added@solid-primitives/utils@3.1.0(transitive)
- Removed@solid-primitives/utils@2.2.1(transitive)