vue3-particles
Advanced tools
Comparing version 2.11.0 to 2.11.1
@@ -6,2 +6,13 @@ # Change Log | ||
## [2.11.1](https://github.com/tsparticles/vue3/compare/v2.11.0...v2.11.1) (2023-07-27) | ||
### Bug Fixes | ||
* fixed issue with engine not loading correctly, closes: [#26](https://github.com/tsparticles/vue3/issues/26) ([94e5215](https://github.com/tsparticles/vue3/commit/94e521546b7ed008d7b980e999ca30d0ce3d49db)) | ||
# [2.11.0](https://github.com/tsparticles/vue3/compare/v2.10.1...v2.11.0) (2023-07-14) | ||
@@ -8,0 +19,0 @@ |
@@ -20,3 +20,3 @@ import type { PropType } from "vue"; | ||
particlesInit: { | ||
type: PropType<(engine: Engine) => void>; | ||
type: PropType<(engine: Engine) => Promise<void>>; | ||
}; | ||
@@ -38,5 +38,5 @@ }, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
particlesInit: { | ||
type: PropType<(engine: Engine) => void>; | ||
type: PropType<(engine: Engine) => Promise<void>>; | ||
}; | ||
}>>, {}, {}>; | ||
export default _default; |
{ | ||
"name": "vue3-particles", | ||
"version": "2.11.0", | ||
"version": "2.11.1", | ||
"description": "Official tsParticles Vue.js 3.x Component - Easily create highly customizable particle, confetti and fireworks animations and use them as animated backgrounds for your website. Ready to use components available also for Web Components, React, Vue.js 2.x, Angular, Svelte, jQuery, Preact, Riot.js, Solid.js, Inferno.", | ||
@@ -97,3 +97,3 @@ "keywords": [ | ||
"dependencies": { | ||
"tsparticles-engine": "^2.11.0", | ||
"tsparticles-engine": "^2.11.1", | ||
"vue": "^3.3.4" | ||
@@ -105,6 +105,6 @@ }, | ||
"@tsparticles/prettier-config": "^1.11.0", | ||
"@types/node": "^20.4.2", | ||
"@types/node": "^20.4.5", | ||
"@vitejs/plugin-vue": "^4.2.3", | ||
"@vitejs/plugin-vue-jsx": "^3.0.1", | ||
"@vue/eslint-config-prettier": "^7.1.0", | ||
"@vue/eslint-config-prettier": "^8.0.0", | ||
"@vue/eslint-config-typescript": "^11.0.3", | ||
@@ -116,5 +116,5 @@ "@vue/tsconfig": "^0.4.0", | ||
"typescript": "^5.1.6", | ||
"vite": "^4.4.4", | ||
"vite-plugin-dts": "^3.3.0", | ||
"vue-tsc": "^1.8.5" | ||
"vite": "^4.4.7", | ||
"vite-plugin-dts": "^3.3.1", | ||
"vue-tsc": "^1.8.6" | ||
}, | ||
@@ -126,3 +126,3 @@ "main": "dist/vue3-particles.umd.js", | ||
"jsdelivr": "dist/vue3-particles.umd.min.js", | ||
"gitHead": "06f417e0efa1168592d91985714d235b490ff66b" | ||
"gitHead": "3752050ef9812c4762afd80f018cc31e149a29a6" | ||
} |
@@ -5,4 +5,4 @@ import type { App } from "vue"; | ||
const VueParticles = (app: App) => { | ||
app.component("vue-particles", particles); | ||
app.component("Particles", particles); | ||
app.component("vue-particles", particles); | ||
}; | ||
@@ -9,0 +9,0 @@ |
@@ -10,25 +10,25 @@ import { fileURLToPath, URL } from "url"; | ||
export default defineConfig({ | ||
build: { | ||
lib: { | ||
entry: path.resolve(__dirname, "src/components/index.ts"), | ||
name: "vue3-particles", | ||
fileName: (format) => `vue3-particles.${format}.js`, | ||
build: { | ||
lib: { | ||
entry: path.resolve(__dirname, "src/components/index.ts"), | ||
name: "vue3-particles", | ||
fileName: format => `vue3-particles.${format}.js`, | ||
}, | ||
rollupOptions: { | ||
external: ["vue", "tsparticles-engine"], | ||
output: { | ||
// Provide global variables to use in the UMD build | ||
// Add external deps here | ||
globals: { | ||
vue: "Vue", | ||
}, | ||
}, | ||
}, | ||
}, | ||
rollupOptions: { | ||
external: ["vue"], | ||
output: { | ||
// Provide global variables to use in the UMD build | ||
// Add external deps here | ||
globals: { | ||
vue: "Vue", | ||
plugins: [vue(), vueJsx(), dts()], | ||
resolve: { | ||
alias: { | ||
"@": fileURLToPath(new URL("./src", import.meta.url)), | ||
}, | ||
}, | ||
}, | ||
}, | ||
plugins: [vue(), vueJsx(), dts()], | ||
resolve: { | ||
alias: { | ||
"@": fileURLToPath(new URL("./src", import.meta.url)), | ||
}, | ||
}, | ||
}); |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
1
26108
201
Updatedtsparticles-engine@^2.11.1