@3yourmind/vue-use-tippy
Advanced tools
Comparing version 2.0.0 to 3.0.0
@@ -6,4 +6,3 @@ { | ||
"dependencies": { | ||
"@vue/composition-api": "1.7.1", | ||
"lodash.castarray": "^4.4.0", | ||
"lodash.castarray": "4.x", | ||
"tippy.js": "6.x" | ||
@@ -13,7 +12,19 @@ }, | ||
"devDependencies": { | ||
"@types/lodash.castarray": "^4.4.6" | ||
"@types/lodash.castarray": "4.x" | ||
}, | ||
"directories": { | ||
"dist": "dist" | ||
"exports": { | ||
".": { | ||
"import": { | ||
"types": "./dist/mjs/index.d.ts", | ||
"default": "./dist/mjs/index.js" | ||
}, | ||
"require": { | ||
"types": "./dist/cjs/index.d.cts", | ||
"default": "./dist/cjs/index.cjs" | ||
} | ||
} | ||
}, | ||
"files": [ | ||
"dist/**/!(*.tsbuildinfo)" | ||
], | ||
"homepage": "https://github.com/3YOURMIND/kotti/tree/master/packages/vue-use-tippy", | ||
@@ -27,7 +38,11 @@ "keywords": [ | ||
"vue", | ||
"composition-api" | ||
"vue-composition-api" | ||
], | ||
"license": "MIT", | ||
"main": "dist/index.js", | ||
"main": "./dist/cjs/index.cjs", | ||
"module": "./dist/mjs/index.js", | ||
"name": "@3yourmind/vue-use-tippy", | ||
"peerDependencies": { | ||
"vue": "^2.7" | ||
}, | ||
"publishConfig": { | ||
@@ -41,6 +56,14 @@ "access": "public" | ||
"scripts": { | ||
"build": "rm -rf dist && tsc" | ||
"build": "./scripts/build.sh", | ||
"check:eslint": "eslint --max-warnings=0 .", | ||
"check:prettier": "yarn --cwd ../.. run prettier --check --ignore-path=.gitignore ./packages/vue-use-tippy", | ||
"check:publint": "publint", | ||
"fix:eslint": "yarn run check:eslint --fix", | ||
"fix:prettier": "yarn run check:prettier --write", | ||
"publish-package": "yarn publish --no-git-tag-version --verbose --non-interactive --access public", | ||
"tarball": "npm pack && mkdir -p ../../tarballs && mv *.tgz ../../tarballs/vue-use-tippy.tar.gz" | ||
}, | ||
"version": "2.0.0", | ||
"gitHead": "022d03d65ba3fbf0a210853843953ceaba4bb92c" | ||
"type": "module", | ||
"types": "./dist/mjs/index.d.ts", | ||
"version": "3.0.0" | ||
} |
@@ -9,7 +9,7 @@ # `@3yourmind/vue-use-tippy` | ||
import { useTippy } from '@3yourmind/vue-use-tippy' | ||
import { computed, defineComponent, ref } from '@vue/composition-api' | ||
import { computed, defineComponent, ref } from 'vue' | ||
export default defineComponent({ | ||
setup() { | ||
const contentRef = ref(null) | ||
const contentRef = ref<Element | null>(null) | ||
@@ -20,3 +20,3 @@ useTippy( | ||
appendTo: () => document.body, | ||
content: contentRef, | ||
content: contentRef.value ?? undefined, | ||
interactive: true, | ||
@@ -34,6 +34,4 @@ theme: 'light-border', | ||
Right now, `@vue/composition-api@0.6.1` is recommended. | ||
## Options | ||
See <https://atomiks.github.io/tippyjs/v6/all-props/> for supported options |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
127084
11
161
Yes
35
2
+ Added@babel/helper-string-parser@7.25.9(transitive)
+ Added@babel/helper-validator-identifier@7.25.9(transitive)
+ Added@babel/parser@7.26.5(transitive)
+ Added@babel/types@7.26.5(transitive)
+ Added@vue/compiler-sfc@2.7.16(transitive)
+ Addedcsstype@3.1.3(transitive)
+ Addednanoid@3.3.8(transitive)
+ Addedpicocolors@1.1.1(transitive)
+ Addedpostcss@8.5.1(transitive)
+ Addedprettier@2.8.8(transitive)
+ Addedsource-map@0.6.1(transitive)
+ Addedsource-map-js@1.2.1(transitive)
+ Addedvue@2.7.16(transitive)
- Removed@vue/composition-api@1.7.1
- Removed@vue/composition-api@1.7.1(transitive)
- Removedvue@2.6.14(transitive)
Updatedlodash.castarray@4.x