@speechkit/speechkit-audio-player-v2
Advanced tools
Comparing version 0.0.1-rc1 to 0.0.1-rc10
@@ -1,2 +0,1 @@ | ||
import{p}from"./app-df850208.js";const e={player:p};window.SpeechKit=e;export default e; | ||
//# sourceMappingURL=index.js.map | ||
import{p as o,S as s}from"./sdk-b0ff829d.js";const t={player:o,sdk:s};window.SpeechKit=t;const e=s;export default t;export{e as SpeechKitSdk}; |
@@ -1,2 +0,1 @@ | ||
import{c as a,a as e,E as n,p as t,m as s,b as i,d as r,e as c,n as u,s as o,f as p}from"./app-df850208.js";const l=(a="")=>a.split("."),d=a=>l("playback."+a),f=a=>l("app."+a),m=a((a,n)=>e(n,a.getState())),g={player:async a=>{const e=(n=(n={})||Object.create(null),{on:function(a,e){(n[a]||(n[a]=[])).push(e)},off:function(a,e){n[a]&&n[a].splice(n[a].indexOf(e)>>>0,1)},emit:function(a,e){(n[a]||[]).slice().map((function(a){a(e)})),(n["*"]||[]).slice().map((function(n){n(a,e)}))}});var n;await t(s(a,{sdkEnabled:!0,events:e}));const l=i.create(),{dispatch:g}=l,y=m(l);return{play(){g(r())},pause(){g(c())},paused:()=>u(y(d("isPlay"))),currentTime:()=>y(d("currentTime")),duration:()=>y(d("duration")),remainingTime(){return this.duration()-this.currentTime()},changeLang(){const a=y(f("language"));return g(o({language:"en_GB"===a?"fr_FR":"en_GB"})),y(f("language"))},destroy(){g(p()),i.destroy()},events:e}},Events:n};window.SpeechKit=g;export default g; | ||
//# sourceMappingURL=sdk.js.map | ||
export{S as default}from"./sdk-b0ff829d.js"; |
{ | ||
"name": "@speechkit/speechkit-audio-player-v2", | ||
"description": "A library that can be used for playing podcasts from https://speechkit.io.", | ||
"version": "0.0.1-rc1", | ||
"version": "0.0.1-rc10", | ||
"main": "dist/module/index.js", | ||
"esmodules": "dist/module", | ||
"browser": "dist/module/index.js", | ||
"jsdelivr": "dist/module/index.js", | ||
"esmodules": "dist/esm/index.js", | ||
"module": "dist/cjs/index.js", | ||
"repository": "https://github.com/SpeechKit/speechkit-audio-player-v2", | ||
"author": "speechkit.io", | ||
"homepage": "https://player.speechkit.io/", | ||
"license": "MIT", | ||
"private": false, | ||
"files": [ | ||
"dist" | ||
] | ||
"dist/module/", | ||
"dist/cjs/", | ||
"dist/esm/" | ||
], | ||
"directories": { | ||
"lib": "dist/cjs" | ||
}, | ||
"dependencies": { | ||
"memoize-one": "^5.1.1", | ||
"mitt": "^1.2.0", | ||
"redux": "^4.0.5", | ||
"redux-act": "^1.8.0", | ||
"redux-thunk": "^2.3.0", | ||
"reselect": "^4.0.0", | ||
"hls.js": "^0.13.2", | ||
"js-cookie": "^2.2.1", | ||
"uuid": "^8.1.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
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
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 4 instances 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
Non-existent author
Supply chain riskThe package was published by an npm account that no longer exists.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
22
0
367652
9
1474
7
7
4
+ Addedhls.js@^0.13.2
+ Addedjs-cookie@^2.2.1
+ Addedmemoize-one@^5.1.1
+ Addedmitt@^1.2.0
+ Addedredux@^4.0.5
+ Addedredux-act@^1.8.0
+ Addedredux-thunk@^2.3.0
+ Addedreselect@^4.0.0
+ Addeduuid@^8.1.0
+ Added@babel/runtime@7.26.0(transitive)
+ Addedeventemitter3@3.1.0(transitive)
+ Addedhls.js@0.13.2(transitive)
+ Addedjs-cookie@2.2.1(transitive)
+ Addedmemoize-one@5.2.1(transitive)
+ Addedmitt@1.2.0(transitive)
+ Addedredux@4.2.1(transitive)
+ Addedredux-act@1.8.0(transitive)
+ Addedredux-thunk@2.4.2(transitive)
+ Addedregenerator-runtime@0.14.1(transitive)
+ Addedreselect@4.1.8(transitive)
+ Addedurl-toolkit@2.2.5(transitive)
+ Addeduuid@8.3.2(transitive)