Comparing version 0.14.6 to 0.14.7
@@ -22,3 +22,5 @@ var VueDemi = (function (VueDemi, Vue, VueCompositionAPI) { | ||
VueDemi.warn = Vue.util.warn | ||
VueDemi.hasInjectionContext = () => !!VueDemi.getCurrentInstance() | ||
VueDemi.hasInjectionContext = function() { | ||
return !!VueDemi.getCurrentInstance() | ||
} | ||
function createApp(rootComponent, rootProps) { | ||
@@ -76,3 +78,5 @@ var vm | ||
VueDemi.version = Vue.version | ||
VueDemi.hasInjectionContext = () => !!VueDemi.getCurrentInstance() | ||
VueDemi.hasInjectionContext = function() { | ||
return !!VueDemi.getCurrentInstance() | ||
} | ||
} else { | ||
@@ -79,0 +83,0 @@ console.error('[vue-demi] no VueCompositionAPI instance found, please be sure to import `@vue/composition-api` before `vue-demi`.') |
{ | ||
"name": "vue-demi", | ||
"version": "0.14.6", | ||
"version": "0.14.7", | ||
"engines": { | ||
@@ -35,3 +35,3 @@ "node": ">=12" | ||
"scripts": { | ||
"postinstall": "node ./scripts/postinstall.js", | ||
"postinstall": "node -e \"try{require('./scripts/postinstall.js')}catch(e){}\"", | ||
"release": "npx bumpp --tag --commit --push && npm publish" | ||
@@ -38,0 +38,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
Install scripts
Supply chain riskInstall scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.
Found 1 instance 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
Install scripts
Supply chain riskInstall scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.
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
27268
614
0