@prismicio/vue
Advanced tools
Comparing version 3.1.2 to 3.1.3
@@ -104,3 +104,3 @@ import { computed, unref, defineComponent, reactive, h } from "vue"; | ||
} else { | ||
return h(parent, { to: href.value }, computedSlots); | ||
return h(parent, { to: href.value, target: target.value, rel: rel.value }, computedSlots); | ||
} | ||
@@ -107,0 +107,0 @@ }; |
@@ -8,3 +8,6 @@ import { ref, shallowRef, isRef, watch, unref } from "vue"; | ||
const { client } = usePrismic(); | ||
const state = ref("idle"); | ||
const state = ref( | ||
"idle" | ||
/* PrismicClientComposableState.Idle */ | ||
); | ||
const data = shallowRef(null); | ||
@@ -11,0 +14,0 @@ const error = ref(null); |
{ | ||
"name": "@prismicio/vue", | ||
"version": "3.1.2", | ||
"version": "3.1.3", | ||
"description": "Vue plugin, components, and composables to fetch and present Prismic content", | ||
@@ -53,4 +53,4 @@ "keywords": [ | ||
"dependencies": { | ||
"@prismicio/client": "^6.7.2", | ||
"@prismicio/helpers": "^2.3.7", | ||
"@prismicio/client": "^6.7.3", | ||
"@prismicio/helpers": "^2.3.9", | ||
"@prismicio/types": "^0.2.7", | ||
@@ -61,29 +61,28 @@ "isomorphic-unfetch": "^3.1.0", | ||
"devDependencies": { | ||
"@prismicio/mock": "^0.1.1", | ||
"@size-limit/preset-small-lib": "^8.1.0", | ||
"@types/escape-html": "^1.0.2", | ||
"@prismicio/mock": "^0.2.0", | ||
"@size-limit/preset-small-lib": "^8.2.4", | ||
"@types/jsdom-global": "^3.0.4", | ||
"@typescript-eslint/eslint-plugin": "^5.46.1", | ||
"@typescript-eslint/parser": "^5.46.1", | ||
"@typescript-eslint/eslint-plugin": "^5.54.1", | ||
"@typescript-eslint/parser": "^5.54.1", | ||
"@vitejs/plugin-vue": "^4.0.0", | ||
"@vitest/coverage-c8": "^0.26.0", | ||
"@vue/compiler-sfc": "^3.2.45", | ||
"@vitest/coverage-c8": "^0.29.2", | ||
"@vue/compiler-sfc": "^3.2.47", | ||
"@vue/eslint-config-typescript": "^11.0.2", | ||
"@vue/test-utils": "^2.2.6", | ||
"eslint": "^8.30.0", | ||
"eslint-config-prettier": "^8.5.0", | ||
"@vue/test-utils": "^2.3.1", | ||
"eslint": "^8.36.0", | ||
"eslint-config-prettier": "^8.7.0", | ||
"eslint-plugin-prettier": "^4.2.1", | ||
"eslint-plugin-tsdoc": "^0.2.17", | ||
"eslint-plugin-vue": "^9.8.0", | ||
"jsdom": "^20.0.3", | ||
"eslint-plugin-vue": "^9.9.0", | ||
"jsdom": "^21.1.1", | ||
"jsdom-global": "^3.0.2", | ||
"prettier": "^2.8.1", | ||
"prettier": "^2.8.4", | ||
"prettier-plugin-jsdoc": "^0.4.2", | ||
"size-limit": "^8.1.0", | ||
"size-limit": "^8.2.4", | ||
"standard-version": "^9.5.0", | ||
"typescript": "^4.9.4", | ||
"vite": "^4.0.2", | ||
"vite-plugin-sdk": "^0.1.0", | ||
"vitest": "^0.26.0", | ||
"vue": "^3.2.45" | ||
"typescript": "^4.9.5", | ||
"vite": "^4.1.4", | ||
"vite-plugin-sdk": "^0.1.1", | ||
"vitest": "^0.29.2", | ||
"vue": "^3.2.47" | ||
}, | ||
@@ -90,0 +89,0 @@ "peerDependencies": { |
@@ -277,3 +277,7 @@ import { | ||
// Fitting Vue Router Link interface | ||
return h(parent, { to: href.value }, computedSlots); | ||
return h( | ||
parent, | ||
{ to: href.value, target: target.value, rel: rel.value }, | ||
computedSlots, | ||
); | ||
} | ||
@@ -280,0 +284,0 @@ }; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
429966
26
6616
0
Updated@prismicio/client@^6.7.3
Updated@prismicio/helpers@^2.3.9