From fe649fea77fffd60864988a8acbc8e57f8c8b4d5 Mon Sep 17 00:00:00 2001 From: billy Date: Mon, 23 Oct 2023 12:08:34 +0800 Subject: [PATCH] [vue3 component] fix: types hint for bundler bundler read different field in package.json. @SangwonOh, new package release is required after this pr get mreged. Thank you --- packages/vue3/dist/ovenplayer-vue3.es.js | 18 +- packages/vue3/dist/ovenplayer-vue3.umd.js | 2 +- packages/vue3/package-lock.json | 246 +++++++++++----------- packages/vue3/package.json | 24 ++- 4 files changed, 151 insertions(+), 139 deletions(-) diff --git a/packages/vue3/dist/ovenplayer-vue3.es.js b/packages/vue3/dist/ovenplayer-vue3.es.js index af1e7124..efa34f58 100644 --- a/packages/vue3/dist/ovenplayer-vue3.es.js +++ b/packages/vue3/dist/ovenplayer-vue3.es.js @@ -1,14 +1,14 @@ -import { defineComponent as t, ref as v, onMounted as C, onUnmounted as c, onUpdated as g, openBlock as y, createElementBlock as p } from "vue"; -import s from "ovenplayer"; -const k = /* @__PURE__ */ t({ +import { defineComponent as h, ref as v, onMounted as i, onUnmounted as c, onUpdated as C, openBlock as g, createElementBlock as m } from "vue"; +import y from "ovenplayer"; +const k = /* @__PURE__ */ h({ __name: "OvenPlayer", props: { config: {} }, emits: ["ready", "metaChanged", "stateChanged", "resized", "playbackRateChanged", "seek", "time", "bufferChanged", "mute", "volumeChanged", "playlistChanged", "sourceChanged", "qualityLevelChanged", "cueChanged", "timeDisplayModeChanged", "adChanged", "adTime", "adComplete", "fullscreenChanged", "clicked", "allPlaylistEnded", "hlsPrepared", "hlsDestroyed", "dashPrepared", "dashDestroyed", "destroy", "error"], - setup(r, { expose: u, emit: n }) { - const h = r, a = v(), o = "ovenplayer-" + Math.random().toString().replace(".", ""), d = () => { - a.value = s.create(o, h.config), a.value.on("ready", () => n("ready")), a.value.on("metaChanged", (e) => n("metaChanged", e)), a.value.on("stateChanged", (e) => n("stateChanged", e)), a.value.on("resized", (e) => n("resized", e)), a.value.on("playbackRateChanged", (e) => n("playbackRateChanged", e)), a.value.on("seek", (e) => n("seek", e)), a.value.on("time", (e) => n("time", e)), a.value.on("bufferChanged", (e) => n("bufferChanged", e)), a.value.on("mute", (e) => n("mute", e)), a.value.on("volumeChanged", (e) => n("volumeChanged", e)), a.value.on("playlistChanged", (e) => n("playlistChanged", e)), a.value.on("sourceChanged", (e) => n("sourceChanged", e)), a.value.on("qualityLevelChanged", (e) => n("qualityLevelChanged", e)), a.value.on("cueChanged", (e) => n("cueChanged", e)), a.value.on("timeDisplayModeChanged", (e) => n("timeDisplayModeChanged", e)), a.value.on("adChanged", (e) => n("adChanged", e)), a.value.on("adTime", (e) => n("adTime", e)), a.value.on("adComplete", () => n("adComplete")), a.value.on("fullscreenChanged", (e) => n("fullscreenChanged", e)), a.value.on("clicked", (e) => n("clicked", e)), a.value.on("allPlaylistEnded", () => n("allPlaylistEnded")), a.value.on("hlsPrepared", (e) => n("hlsPrepared", e)), a.value.on("hlsDestroyed", () => n("hlsDestroyed")), a.value.on("dashPrepared", (e) => n("dashPrepared", e)), a.value.on("dashDestroyed", () => n("dashDestroyed")), a.value.on("destroy", () => n("destroy")), a.value.on("error", (e) => n("error", e)); + setup(r, { expose: t, emit: s }) { + const a = v(), o = "ovenplayer-" + Math.random().toString().replace(".", ""), u = r, n = s, d = () => { + a.value = y.create(o, u.config), a.value.on("ready", () => n("ready")), a.value.on("metaChanged", (e) => n("metaChanged", e)), a.value.on("stateChanged", (e) => n("stateChanged", e)), a.value.on("resized", (e) => n("resized", e)), a.value.on("playbackRateChanged", (e) => n("playbackRateChanged", e)), a.value.on("seek", (e) => n("seek", e)), a.value.on("time", (e) => n("time", e)), a.value.on("bufferChanged", (e) => n("bufferChanged", e)), a.value.on("mute", (e) => n("mute", e)), a.value.on("volumeChanged", (e) => n("volumeChanged", e)), a.value.on("playlistChanged", (e) => n("playlistChanged", e)), a.value.on("sourceChanged", (e) => n("sourceChanged", e)), a.value.on("qualityLevelChanged", (e) => n("qualityLevelChanged", e)), a.value.on("cueChanged", (e) => n("cueChanged", e)), a.value.on("timeDisplayModeChanged", (e) => n("timeDisplayModeChanged", e)), a.value.on("adChanged", (e) => n("adChanged", e)), a.value.on("adTime", (e) => n("adTime", e)), a.value.on("adComplete", () => n("adComplete")), a.value.on("fullscreenChanged", (e) => n("fullscreenChanged", e)), a.value.on("clicked", (e) => n("clicked", e)), a.value.on("allPlaylistEnded", () => n("allPlaylistEnded")), a.value.on("hlsPrepared", (e) => n("hlsPrepared", e)), a.value.on("hlsDestroyed", () => n("hlsDestroyed")), a.value.on("dashPrepared", (e) => n("dashPrepared", e)), a.value.on("dashDestroyed", () => n("dashDestroyed")), a.value.on("destroy", () => n("destroy")), a.value.on("error", (e) => n("error", e)); }, l = () => { if (a.value) { try { @@ -18,13 +18,13 @@ const k = /* @__PURE__ */ t({ a.value = void 0; } }; - return u({ + return t({ createPlayer: d, removePlayer: l, playerInstance: a - }), C(d), c(l), g(() => { + }), i(d), c(l), C(() => { l(), d(); - }), (e, f) => (y(), p("div", { id: o })); + }), (e, p) => (g(), m("div", { id: o })); } }); export { diff --git a/packages/vue3/dist/ovenplayer-vue3.umd.js b/packages/vue3/dist/ovenplayer-vue3.umd.js index 2a2c6e0f..44495b31 100644 --- a/packages/vue3/dist/ovenplayer-vue3.umd.js +++ b/packages/vue3/dist/ovenplayer-vue3.umd.js @@ -1 +1 @@ -(function(d,l){typeof exports=="object"&&typeof module<"u"?module.exports=l(require("vue"),require("ovenplayer")):typeof define=="function"&&define.amd?define(["vue","ovenplayer"],l):(d=typeof globalThis<"u"?globalThis:d||self,d["ovenplayer-vue3"]=l(d.Vue,d.OvenPlayer))})(this,function(d,l){"use strict";return d.defineComponent({__name:"OvenPlayer",props:{config:{}},emits:["ready","metaChanged","stateChanged","resized","playbackRateChanged","seek","time","bufferChanged","mute","volumeChanged","playlistChanged","sourceChanged","qualityLevelChanged","cueChanged","timeDisplayModeChanged","adChanged","adTime","adComplete","fullscreenChanged","clicked","allPlaylistEnded","hlsPrepared","hlsDestroyed","dashPrepared","dashDestroyed","destroy","error"],setup(t,{expose:h,emit:n}){const v=t,a=d.ref(),u="ovenplayer-"+Math.random().toString().replace(".",""),o=()=>{a.value=l.create(u,v.config),a.value.on("ready",()=>n("ready")),a.value.on("metaChanged",e=>n("metaChanged",e)),a.value.on("stateChanged",e=>n("stateChanged",e)),a.value.on("resized",e=>n("resized",e)),a.value.on("playbackRateChanged",e=>n("playbackRateChanged",e)),a.value.on("seek",e=>n("seek",e)),a.value.on("time",e=>n("time",e)),a.value.on("bufferChanged",e=>n("bufferChanged",e)),a.value.on("mute",e=>n("mute",e)),a.value.on("volumeChanged",e=>n("volumeChanged",e)),a.value.on("playlistChanged",e=>n("playlistChanged",e)),a.value.on("sourceChanged",e=>n("sourceChanged",e)),a.value.on("qualityLevelChanged",e=>n("qualityLevelChanged",e)),a.value.on("cueChanged",e=>n("cueChanged",e)),a.value.on("timeDisplayModeChanged",e=>n("timeDisplayModeChanged",e)),a.value.on("adChanged",e=>n("adChanged",e)),a.value.on("adTime",e=>n("adTime",e)),a.value.on("adComplete",()=>n("adComplete")),a.value.on("fullscreenChanged",e=>n("fullscreenChanged",e)),a.value.on("clicked",e=>n("clicked",e)),a.value.on("allPlaylistEnded",()=>n("allPlaylistEnded")),a.value.on("hlsPrepared",e=>n("hlsPrepared",e)),a.value.on("hlsDestroyed",()=>n("hlsDestroyed")),a.value.on("dashPrepared",e=>n("dashPrepared",e)),a.value.on("dashDestroyed",()=>n("dashDestroyed")),a.value.on("destroy",()=>n("destroy")),a.value.on("error",e=>n("error",e))},r=()=>{if(a.value){try{a.value.remove()}catch{}a.value=void 0}};return h({createPlayer:o,removePlayer:r,playerInstance:a}),d.onMounted(o),d.onUnmounted(r),d.onUpdated(()=>{r(),o()}),(e,s)=>(d.openBlock(),d.createElementBlock("div",{id:u}))}})}); +(function(d,l){typeof exports=="object"&&typeof module<"u"?module.exports=l(require("vue"),require("ovenplayer")):typeof define=="function"&&define.amd?define(["vue","ovenplayer"],l):(d=typeof globalThis<"u"?globalThis:d||self,d["ovenplayer-vue3"]=l(d.Vue,d.OvenPlayer))})(this,function(d,l){"use strict";return d.defineComponent({__name:"OvenPlayer",props:{config:{}},emits:["ready","metaChanged","stateChanged","resized","playbackRateChanged","seek","time","bufferChanged","mute","volumeChanged","playlistChanged","sourceChanged","qualityLevelChanged","cueChanged","timeDisplayModeChanged","adChanged","adTime","adComplete","fullscreenChanged","clicked","allPlaylistEnded","hlsPrepared","hlsDestroyed","dashPrepared","dashDestroyed","destroy","error"],setup(s,{expose:u,emit:h}){const a=d.ref(),r="ovenplayer-"+Math.random().toString().replace(".",""),i=s,n=h,o=()=>{a.value=l.create(r,i.config),a.value.on("ready",()=>n("ready")),a.value.on("metaChanged",e=>n("metaChanged",e)),a.value.on("stateChanged",e=>n("stateChanged",e)),a.value.on("resized",e=>n("resized",e)),a.value.on("playbackRateChanged",e=>n("playbackRateChanged",e)),a.value.on("seek",e=>n("seek",e)),a.value.on("time",e=>n("time",e)),a.value.on("bufferChanged",e=>n("bufferChanged",e)),a.value.on("mute",e=>n("mute",e)),a.value.on("volumeChanged",e=>n("volumeChanged",e)),a.value.on("playlistChanged",e=>n("playlistChanged",e)),a.value.on("sourceChanged",e=>n("sourceChanged",e)),a.value.on("qualityLevelChanged",e=>n("qualityLevelChanged",e)),a.value.on("cueChanged",e=>n("cueChanged",e)),a.value.on("timeDisplayModeChanged",e=>n("timeDisplayModeChanged",e)),a.value.on("adChanged",e=>n("adChanged",e)),a.value.on("adTime",e=>n("adTime",e)),a.value.on("adComplete",()=>n("adComplete")),a.value.on("fullscreenChanged",e=>n("fullscreenChanged",e)),a.value.on("clicked",e=>n("clicked",e)),a.value.on("allPlaylistEnded",()=>n("allPlaylistEnded")),a.value.on("hlsPrepared",e=>n("hlsPrepared",e)),a.value.on("hlsDestroyed",()=>n("hlsDestroyed")),a.value.on("dashPrepared",e=>n("dashPrepared",e)),a.value.on("dashDestroyed",()=>n("dashDestroyed")),a.value.on("destroy",()=>n("destroy")),a.value.on("error",e=>n("error",e))},t=()=>{if(a.value){try{a.value.remove()}catch{}a.value=void 0}};return u({createPlayer:o,removePlayer:t,playerInstance:a}),d.onMounted(o),d.onUnmounted(t),d.onUpdated(()=>{t(),o()}),(e,v)=>(d.openBlock(),d.createElementBlock("div",{id:r}))}})}); diff --git a/packages/vue3/package-lock.json b/packages/vue3/package-lock.json index c1d356a3..11a7f39a 100644 --- a/packages/vue3/package-lock.json +++ b/packages/vue3/package-lock.json @@ -1,25 +1,25 @@ { "name": "ovenplayer-vue3", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "ovenplayer-vue3", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.2", "dependencies": { - "ovenplayer": "^0.10.18" + "ovenplayer": "^0.10.31" }, "devDependencies": { - "@types/node": "^18.18.3", - "@types/ovenplayer": "^0.10.6", - "@vitejs/plugin-vue": "^4.2.3", - "typescript": "^5.0.2", - "vite": "^4.4.5", - "vue-tsc": "^1.8.5" + "@types/node": "^18.18.6", + "@types/ovenplayer": "^0.10.8", + "@vitejs/plugin-vue": "^4.4.0", + "typescript": "^5.2.2", + "vite": "^4.5.0", + "vue-tsc": "^1.8.19" }, "peerDependencies": { - "vue": "^3.3.4" + "vue": "^3.3.6" } }, "node_modules/@babel/parser": { @@ -392,15 +392,15 @@ "peer": true }, "node_modules/@types/node": { - "version": "18.18.3", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.18.3.tgz", - "integrity": "sha512-0OVfGupTl3NBFr8+iXpfZ8NR7jfFO+P1Q+IO/q0wbo02wYkP5gy36phojeYWpLQ6WAMjl+VfmqUk2YbUfp0irA==", + "version": "18.18.6", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.18.6.tgz", + "integrity": "sha512-wf3Vz+jCmOQ2HV1YUJuCWdL64adYxumkrxtc+H1VUQlnQI04+5HtH+qZCOE21lBE7gIrt+CwX2Wv8Acrw5Ak6w==", "dev": true }, "node_modules/@types/ovenplayer": { - "version": "0.10.6", - "resolved": "https://registry.npmjs.org/@types/ovenplayer/-/ovenplayer-0.10.6.tgz", - "integrity": "sha512-mT9MH+GPnnnYBPgQxUlq1AL1Fiwdse/+GMFErsCF8VJPBmJbx2Ktr5UIb8FIJWKkNSzZa4HafhJtqtEIestQKA==", + "version": "0.10.8", + "resolved": "https://registry.npmjs.org/@types/ovenplayer/-/ovenplayer-0.10.8.tgz", + "integrity": "sha512-uTuJPc78BkE63PaPvIVGarKz1VNylcv7s1v34VTDN94PrxSPatQ6FDT804Z42ca6IAt1xAb2Ek2YL3iigcLpEg==", "dev": true }, "node_modules/@vitejs/plugin-vue": { @@ -417,92 +417,92 @@ } }, "node_modules/@volar/language-core": { - "version": "1.10.1", - "resolved": "https://registry.npmjs.org/@volar/language-core/-/language-core-1.10.1.tgz", - "integrity": "sha512-JnsM1mIPdfGPxmoOcK1c7HYAsL6YOv0TCJ4aW3AXPZN/Jb4R77epDyMZIVudSGjWMbvv/JfUa+rQ+dGKTmgwBA==", + "version": "1.10.4", + "resolved": "https://registry.npmjs.org/@volar/language-core/-/language-core-1.10.4.tgz", + "integrity": "sha512-Na69qA6uwVIdA0rHuOc2W3pHtVQQO8hCNim7FOaKNpRJh0oAFnu5r9i7Oopo5C4cnELZkPNjTrbmpcCTiW+CMQ==", "dev": true, "dependencies": { - "@volar/source-map": "1.10.1" + "@volar/source-map": "1.10.4" } }, "node_modules/@volar/source-map": { - "version": "1.10.1", - "resolved": "https://registry.npmjs.org/@volar/source-map/-/source-map-1.10.1.tgz", - "integrity": "sha512-3/S6KQbqa7pGC8CxPrg69qHLpOvkiPHGJtWPkI/1AXCsktkJ6gIk/5z4hyuMp8Anvs6eS/Kvp/GZa3ut3votKA==", + "version": "1.10.4", + "resolved": "https://registry.npmjs.org/@volar/source-map/-/source-map-1.10.4.tgz", + "integrity": "sha512-RxZdUEL+pV8p+SMqnhVjzy5zpb1QRZTlcwSk4bdcBO7yOu4rtEWqDGahVCEj4CcXour+0yJUMrMczfSCpP9Uxg==", "dev": true, "dependencies": { "muggle-string": "^0.3.1" } }, "node_modules/@volar/typescript": { - "version": "1.10.1", - "resolved": "https://registry.npmjs.org/@volar/typescript/-/typescript-1.10.1.tgz", - "integrity": "sha512-+iiO9yUSRHIYjlteT+QcdRq8b44qH19/eiUZtjNtuh6D9ailYM7DVR0zO2sEgJlvCaunw/CF9Ov2KooQBpR4VQ==", + "version": "1.10.4", + "resolved": "https://registry.npmjs.org/@volar/typescript/-/typescript-1.10.4.tgz", + "integrity": "sha512-BCCUEBASBEMCrz7qmNSi2hBEWYsXD0doaktRKpmmhvb6XntM2sAWYu6gbyK/MluLDgluGLFiFRpWgobgzUqolg==", "dev": true, "dependencies": { - "@volar/language-core": "1.10.1" + "@volar/language-core": "1.10.4" } }, "node_modules/@vue/compiler-core": { - "version": "3.3.4", - "resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.3.4.tgz", - "integrity": "sha512-cquyDNvZ6jTbf/+x+AgM2Arrp6G4Dzbb0R64jiG804HRMfRiFXWI6kqUVqZ6ZR0bQhIoQjB4+2bhNtVwndW15g==", + "version": "3.3.6", + "resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.3.6.tgz", + "integrity": "sha512-2JNjemwaNwf+MkkatATVZi7oAH1Hx0B04DdPH3ZoZ8vKC1xZVP7nl4HIsk8XYd3r+/52sqqoz9TWzYc3yE9dqA==", "dependencies": { - "@babel/parser": "^7.21.3", - "@vue/shared": "3.3.4", + "@babel/parser": "^7.23.0", + "@vue/shared": "3.3.6", "estree-walker": "^2.0.2", "source-map-js": "^1.0.2" } }, "node_modules/@vue/compiler-dom": { - "version": "3.3.4", - "resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.3.4.tgz", - "integrity": "sha512-wyM+OjOVpuUukIq6p5+nwHYtj9cFroz9cwkfmP9O1nzH68BenTTv0u7/ndggT8cIQlnBeOo6sUT/gvHcIkLA5w==", + "version": "3.3.6", + "resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.3.6.tgz", + "integrity": "sha512-1MxXcJYMHiTPexjLAJUkNs/Tw2eDf2tY3a0rL+LfuWyiKN2s6jvSwywH3PWD8bKICjfebX3GWx2Os8jkRDq3Ng==", "dependencies": { - "@vue/compiler-core": "3.3.4", - "@vue/shared": "3.3.4" + "@vue/compiler-core": "3.3.6", + "@vue/shared": "3.3.6" } }, "node_modules/@vue/compiler-sfc": { - "version": "3.3.4", - "resolved": "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-3.3.4.tgz", - "integrity": "sha512-6y/d8uw+5TkCuzBkgLS0v3lSM3hJDntFEiUORM11pQ/hKvkhSKZrXW6i69UyXlJQisJxuUEJKAWEqWbWsLeNKQ==", + "version": "3.3.6", + "resolved": "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-3.3.6.tgz", + "integrity": "sha512-/Kms6du2h1VrXFreuZmlvQej8B1zenBqIohP0690IUBkJjsFvJxY0crcvVRJ0UhMgSR9dewB+khdR1DfbpArJA==", "peer": true, "dependencies": { - "@babel/parser": "^7.20.15", - "@vue/compiler-core": "3.3.4", - "@vue/compiler-dom": "3.3.4", - "@vue/compiler-ssr": "3.3.4", - "@vue/reactivity-transform": "3.3.4", - "@vue/shared": "3.3.4", + "@babel/parser": "^7.23.0", + "@vue/compiler-core": "3.3.6", + "@vue/compiler-dom": "3.3.6", + "@vue/compiler-ssr": "3.3.6", + "@vue/reactivity-transform": "3.3.6", + "@vue/shared": "3.3.6", "estree-walker": "^2.0.2", - "magic-string": "^0.30.0", - "postcss": "^8.1.10", + "magic-string": "^0.30.5", + "postcss": "^8.4.31", "source-map-js": "^1.0.2" } }, "node_modules/@vue/compiler-ssr": { - "version": "3.3.4", - "resolved": "https://registry.npmjs.org/@vue/compiler-ssr/-/compiler-ssr-3.3.4.tgz", - "integrity": "sha512-m0v6oKpup2nMSehwA6Uuu+j+wEwcy7QmwMkVNVfrV9P2qE5KshC6RwOCq8fjGS/Eak/uNb8AaWekfiXxbBB6gQ==", + "version": "3.3.6", + "resolved": "https://registry.npmjs.org/@vue/compiler-ssr/-/compiler-ssr-3.3.6.tgz", + "integrity": "sha512-QTIHAfDCHhjXlYGkUg5KH7YwYtdUM1vcFl/FxFDlD6d0nXAmnjizka3HITp8DGudzHndv2PjKVS44vqqy0vP4w==", "peer": true, "dependencies": { - "@vue/compiler-dom": "3.3.4", - "@vue/shared": "3.3.4" + "@vue/compiler-dom": "3.3.6", + "@vue/shared": "3.3.6" } }, "node_modules/@vue/language-core": { - "version": "1.8.15", - "resolved": "https://registry.npmjs.org/@vue/language-core/-/language-core-1.8.15.tgz", - "integrity": "sha512-zche5Aw8kkvp3YaghuLiOZyVIpoWHjSQ0EfjxGSsqHOPMamdCoa9x3HtbenpR38UMUoKJ88wiWuiOrV3B/Yq+A==", + "version": "1.8.19", + "resolved": "https://registry.npmjs.org/@vue/language-core/-/language-core-1.8.19.tgz", + "integrity": "sha512-nt3dodGs97UM6fnxeQBazO50yYCKBK53waFWB3qMbLmR6eL3aUryZgQtZoBe1pye17Wl8fs9HysV3si6xMgndQ==", "dev": true, "dependencies": { - "@volar/language-core": "~1.10.0", - "@volar/source-map": "~1.10.0", + "@volar/language-core": "~1.10.4", + "@volar/source-map": "~1.10.4", "@vue/compiler-dom": "^3.3.0", "@vue/reactivity": "^3.3.0", "@vue/shared": "^3.3.0", - "minimatch": "^9.0.0", + "minimatch": "^9.0.3", "muggle-string": "^0.3.1", "vue-template-compiler": "^2.7.14" }, @@ -516,73 +516,73 @@ } }, "node_modules/@vue/reactivity": { - "version": "3.3.4", - "resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.3.4.tgz", - "integrity": "sha512-kLTDLwd0B1jG08NBF3R5rqULtv/f8x3rOFByTDz4J53ttIQEDmALqKqXY0J+XQeN0aV2FBxY8nJDf88yvOPAqQ==", + "version": "3.3.6", + "resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.3.6.tgz", + "integrity": "sha512-gtChAumfQz5lSy5jZXfyXbKrIYPf9XEOrIr6rxwVyeWVjFhJwmwPLtV6Yis+M9onzX++I5AVE9j+iPH60U+B8Q==", "dependencies": { - "@vue/shared": "3.3.4" + "@vue/shared": "3.3.6" } }, "node_modules/@vue/reactivity-transform": { - "version": "3.3.4", - "resolved": "https://registry.npmjs.org/@vue/reactivity-transform/-/reactivity-transform-3.3.4.tgz", - "integrity": "sha512-MXgwjako4nu5WFLAjpBnCj/ieqcjE2aJBINUNQzkZQfzIZA4xn+0fV1tIYBJvvva3N3OvKGofRLvQIwEQPpaXw==", + "version": "3.3.6", + "resolved": "https://registry.npmjs.org/@vue/reactivity-transform/-/reactivity-transform-3.3.6.tgz", + "integrity": "sha512-RlJl4dHfeO7EuzU1iJOsrlqWyJfHTkJbvYz/IOJWqu8dlCNWtxWX377WI0VsbAgBizjwD+3ZjdnvSyyFW1YVng==", "peer": true, "dependencies": { - "@babel/parser": "^7.20.15", - "@vue/compiler-core": "3.3.4", - "@vue/shared": "3.3.4", + "@babel/parser": "^7.23.0", + "@vue/compiler-core": "3.3.6", + "@vue/shared": "3.3.6", "estree-walker": "^2.0.2", - "magic-string": "^0.30.0" + "magic-string": "^0.30.5" } }, "node_modules/@vue/runtime-core": { - "version": "3.3.4", - "resolved": "https://registry.npmjs.org/@vue/runtime-core/-/runtime-core-3.3.4.tgz", - "integrity": "sha512-R+bqxMN6pWO7zGI4OMlmvePOdP2c93GsHFM/siJI7O2nxFRzj55pLwkpCedEY+bTMgp5miZ8CxfIZo3S+gFqvA==", + "version": "3.3.6", + "resolved": "https://registry.npmjs.org/@vue/runtime-core/-/runtime-core-3.3.6.tgz", + "integrity": "sha512-qp7HTP1iw1UW2ZGJ8L3zpqlngrBKvLsDAcq5lA6JvEXHmpoEmjKju7ahM9W2p/h51h0OT5F2fGlP/gMhHOmbUA==", "peer": true, "dependencies": { - "@vue/reactivity": "3.3.4", - "@vue/shared": "3.3.4" + "@vue/reactivity": "3.3.6", + "@vue/shared": "3.3.6" } }, "node_modules/@vue/runtime-dom": { - "version": "3.3.4", - "resolved": "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.3.4.tgz", - "integrity": "sha512-Aj5bTJ3u5sFsUckRghsNjVTtxZQ1OyMWCr5dZRAPijF/0Vy4xEoRCwLyHXcj4D0UFbJ4lbx3gPTgg06K/GnPnQ==", + "version": "3.3.6", + "resolved": "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.3.6.tgz", + "integrity": "sha512-AoX3Cp8NqMXjLbIG9YR6n/pPLWE9TiDdk6wTJHFnl2GpHzDFH1HLBC9wlqqQ7RlnvN3bVLpzPGAAH00SAtOxHg==", "peer": true, "dependencies": { - "@vue/runtime-core": "3.3.4", - "@vue/shared": "3.3.4", - "csstype": "^3.1.1" + "@vue/runtime-core": "3.3.6", + "@vue/shared": "3.3.6", + "csstype": "^3.1.2" } }, "node_modules/@vue/server-renderer": { - "version": "3.3.4", - "resolved": "https://registry.npmjs.org/@vue/server-renderer/-/server-renderer-3.3.4.tgz", - "integrity": "sha512-Q6jDDzR23ViIb67v+vM1Dqntu+HUexQcsWKhhQa4ARVzxOY2HbC7QRW/ggkDBd5BU+uM1sV6XOAP0b216o34JQ==", + "version": "3.3.6", + "resolved": "https://registry.npmjs.org/@vue/server-renderer/-/server-renderer-3.3.6.tgz", + "integrity": "sha512-kgLoN43W4ERdZ6dpyy+gnk2ZHtcOaIr5Uc/WUP5DRwutgvluzu2pudsZGoD2b7AEJHByUVMa9k6Sho5lLRCykw==", "peer": true, "dependencies": { - "@vue/compiler-ssr": "3.3.4", - "@vue/shared": "3.3.4" + "@vue/compiler-ssr": "3.3.6", + "@vue/shared": "3.3.6" }, "peerDependencies": { - "vue": "3.3.4" + "vue": "3.3.6" } }, "node_modules/@vue/shared": { - "version": "3.3.4", - "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.3.4.tgz", - "integrity": "sha512-7OjdcV8vQ74eiz1TZLzZP4JwqM5fA94K6yntPS5Z25r9HDuGNzaGdgvwKYq6S+MxwF0TFRwe50fIR/MYnakdkQ==" + "version": "3.3.6", + "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.3.6.tgz", + "integrity": "sha512-Xno5pEqg8SVhomD0kTSmfh30ZEmV/+jZtyh39q6QflrjdJCXah5lrnOLi9KB6a5k5aAHXMXjoMnxlzUkCNfWLQ==" }, "node_modules/@vue/typescript": { - "version": "1.8.15", - "resolved": "https://registry.npmjs.org/@vue/typescript/-/typescript-1.8.15.tgz", - "integrity": "sha512-qWyanQKXOsK84S8rP7QBrqsvUdQ0nZABZmTjXMpb3ox4Bp5IbkscREA3OPUrkgl64mAxwwCzIWcOc3BPTCPjQw==", + "version": "1.8.19", + "resolved": "https://registry.npmjs.org/@vue/typescript/-/typescript-1.8.19.tgz", + "integrity": "sha512-k/SHeeQROUgqsxyHQ8Cs3Zz5TnX57p7BcBDVYR2E0c61QL2DJ2G8CsaBremmNGuGE6o1R5D50IHIxFmroMz8iw==", "dev": true, "dependencies": { - "@volar/typescript": "~1.10.0", - "@vue/language-core": "1.8.15" + "@volar/typescript": "~1.10.4", + "@vue/language-core": "1.8.19" } }, "node_modules/balanced-match": { @@ -601,9 +601,9 @@ } }, "node_modules/core-js": { - "version": "3.33.0", - "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.33.0.tgz", - "integrity": "sha512-HoZr92+ZjFEKar5HS6MC776gYslNOKHt75mEBKWKnPeFDpZ6nH5OeF3S6HFT1mUAUZKrzkez05VboaX8myjSuw==", + "version": "3.33.1", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.33.1.tgz", + "integrity": "sha512-qVSq3s+d4+GsqN0teRCJtM6tdEEXyWxjzbhVrCHmBS5ZTM0FS2MOS0D13dUXAWDUN6a+lHI/N1hF9Ytz6iLl9Q==", "hasInstallScript": true, "funding": { "type": "opencollective", @@ -700,9 +700,9 @@ } }, "node_modules/magic-string": { - "version": "0.30.4", - "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.4.tgz", - "integrity": "sha512-Q/TKtsC5BPm0kGqgBIF9oXAs/xEf2vRKiIB4wCRQTJOQIByZ1d+NnUOotvJOvNpi5RNIgVOMC3pOuaP1ZTDlVg==", + "version": "0.30.5", + "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.5.tgz", + "integrity": "sha512-7xlpfBaQaP/T6Vh8MO/EqXSW5En6INHEvEXQiuff7Gku0PWjU3uf6w/j9o7O+SpB5fOAkrI5HeoNgwjEO0pFsA==", "peer": true, "dependencies": { "@jridgewell/sourcemap-codec": "^1.4.15" @@ -833,7 +833,7 @@ "version": "5.2.2", "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.2.2.tgz", "integrity": "sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w==", - "dev": true, + "devOptional": true, "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" @@ -843,9 +843,9 @@ } }, "node_modules/vite": { - "version": "4.4.10", - "resolved": "https://registry.npmjs.org/vite/-/vite-4.4.10.tgz", - "integrity": "sha512-TzIjiqx9BEXF8yzYdF2NTf1kFFbjMjUSV0LFZ3HyHoI3SGSPLnnFUKiIQtL3gl2AjHvMrprOvQ3amzaHgQlAxw==", + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/vite/-/vite-4.5.0.tgz", + "integrity": "sha512-ulr8rNLA6rkyFAlVWw2q5YJ91v098AFQ2R0PRFwPzREXOUJQPtFUG0t+/ZikhaOCDqFoDhN6/v8Sq0o4araFAw==", "dev": true, "dependencies": { "esbuild": "^0.18.10", @@ -898,16 +898,24 @@ } }, "node_modules/vue": { - "version": "3.3.4", - "resolved": "https://registry.npmjs.org/vue/-/vue-3.3.4.tgz", - "integrity": "sha512-VTyEYn3yvIeY1Py0WaYGZsXnz3y5UnGi62GjVEqvEGPl6nxbOrCXbVOTQWBEJUqAyTUk2uJ5JLVnYJ6ZzGbrSw==", + "version": "3.3.6", + "resolved": "https://registry.npmjs.org/vue/-/vue-3.3.6.tgz", + "integrity": "sha512-jJIDETeWJnoY+gfn4ZtMPMS5KtbP4ax+CT4dcQFhTnWEk8xMupFyQ0JxL28nvT/M4+p4a0ptxaV2WY0LiIxvRg==", "peer": true, "dependencies": { - "@vue/compiler-dom": "3.3.4", - "@vue/compiler-sfc": "3.3.4", - "@vue/runtime-dom": "3.3.4", - "@vue/server-renderer": "3.3.4", - "@vue/shared": "3.3.4" + "@vue/compiler-dom": "3.3.6", + "@vue/compiler-sfc": "3.3.6", + "@vue/runtime-dom": "3.3.6", + "@vue/server-renderer": "3.3.6", + "@vue/shared": "3.3.6" + }, + "peerDependencies": { + "typescript": "*" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } } }, "node_modules/vue-template-compiler": { @@ -921,14 +929,14 @@ } }, "node_modules/vue-tsc": { - "version": "1.8.15", - "resolved": "https://registry.npmjs.org/vue-tsc/-/vue-tsc-1.8.15.tgz", - "integrity": "sha512-4DoB3LUj7IToLmggoCxRiFG+QU5lem0nv03m1ocqugXA9rSVoTOEoYYaP8vu8b99Eh+/cCVdYOeIAQ+RsgUYUw==", + "version": "1.8.19", + "resolved": "https://registry.npmjs.org/vue-tsc/-/vue-tsc-1.8.19.tgz", + "integrity": "sha512-tacMQLQ0CXAfbhRycCL5sWIy1qujXaIEtP1hIQpzHWOUuICbtTj9gJyFf91PvzG5KCNIkA5Eg7k2Fmgt28l5DQ==", "dev": true, "dependencies": { - "@vue/language-core": "1.8.15", - "@vue/typescript": "1.8.15", - "semver": "^7.3.8" + "@vue/language-core": "1.8.19", + "@vue/typescript": "1.8.19", + "semver": "^7.5.4" }, "bin": { "vue-tsc": "bin/vue-tsc.js" diff --git a/packages/vue3/package.json b/packages/vue3/package.json index 5fff61e2..c620482b 100644 --- a/packages/vue3/package.json +++ b/packages/vue3/package.json @@ -1,6 +1,6 @@ { "name": "ovenplayer-vue3", - "version": "1.0.0-beta.1", + "version": "1.0.0-beta.2", "type": "module", "main": "dist/ovenplayer-vue3.umd.js", "module": "dist/ovenplayer-vue3.es.js", @@ -10,20 +10,24 @@ "preview": "vite preview" }, "exports": { - "types": "./dist/types/index.d.ts" + ".": { + "types": "./dist/types/index.d.ts", + "import": "./dist/ovenplayer-vue3.es.js", + "require": "./dist/ovenplayer-vue3.umd.js" + } }, "peerDependencies": { - "vue": "^3.3.4" + "vue": "^3.3.6" }, "dependencies": { - "ovenplayer": "^0.10.18" + "ovenplayer": "^0.10.31" }, "devDependencies": { - "@types/node": "^18.18.3", - "@types/ovenplayer": "^0.10.6", - "@vitejs/plugin-vue": "^4.2.3", - "typescript": "^5.0.2", - "vite": "^4.4.5", - "vue-tsc": "^1.8.5" + "@types/node": "^18.18.6", + "@types/ovenplayer": "^0.10.8", + "@vitejs/plugin-vue": "^4.4.0", + "typescript": "^5.2.2", + "vite": "^4.5.0", + "vue-tsc": "^1.8.19" } }