@nuxtjs/sanity
Advanced tools
Comparing version 1.4.1 to 1.5.0
@@ -32,5 +32,5 @@ import * as _nuxt_schema from '@nuxt/schema'; | ||
} | ||
declare type ModuleOptions = SanityModuleOptions; | ||
type ModuleOptions = SanityModuleOptions; | ||
declare const _default: _nuxt_schema.NuxtModule<SanityModuleOptions>; | ||
export { ModuleOptions, SanityModuleOptions, _default as default }; |
{ | ||
"name": "@nuxtjs/sanity", | ||
"version": "1.4.1", | ||
"version": "1.5.0", | ||
"configKey": "sanity", | ||
@@ -5,0 +5,0 @@ "compatibility": { |
@@ -1,2 +0,2 @@ | ||
export declare type SanityClient = ReturnType<typeof createClient>; | ||
export type SanityClient = ReturnType<typeof createClient>; | ||
export interface SanityConfiguration { | ||
@@ -3,0 +3,0 @@ useCdn?: boolean; |
import { Component, VNode } from 'vue'; | ||
import type { PortableTextBlock, ArbitraryTypedObject, PortableTextSpan, PortableTextMarkDefinition } from '@portabletext/types'; | ||
declare type Serializer = Component | string; | ||
type Serializer = Component | string; | ||
export interface Serializers { | ||
@@ -27,3 +27,3 @@ /** block components or elements that render non-blocks */ | ||
[key: string]: any; | ||
}>)[])[], unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
}>)[] | undefined)[], unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
blocks: { | ||
@@ -30,0 +30,0 @@ type: () => Array<PortableTextBlock>; |
@@ -8,7 +8,7 @@ declare const _default: import("vue").DefineComponent<{ | ||
type: StringConstructor; | ||
default: any; | ||
default: null; | ||
}; | ||
dataset: { | ||
type: StringConstructor; | ||
default: any; | ||
default: null; | ||
}; | ||
@@ -30,7 +30,7 @@ download: { | ||
type: StringConstructor; | ||
default: any; | ||
default: null; | ||
}; | ||
dataset: { | ||
type: StringConstructor; | ||
default: any; | ||
default: null; | ||
}; | ||
@@ -37,0 +37,0 @@ download: { |
@@ -8,7 +8,7 @@ declare const _default: import("vue").DefineComponent<{ | ||
type: StringConstructor; | ||
default: any; | ||
default: null; | ||
}; | ||
dataset: { | ||
type: StringConstructor; | ||
default: any; | ||
default: null; | ||
}; | ||
@@ -186,7 +186,7 @@ /** | ||
type: StringConstructor; | ||
default: any; | ||
default: null; | ||
}; | ||
dataset: { | ||
type: StringConstructor; | ||
default: any; | ||
default: null; | ||
}; | ||
@@ -193,0 +193,0 @@ /** |
@@ -13,4 +13,4 @@ import type { AsyncData, AsyncDataOptions } from 'nuxt/app'; | ||
} | ||
export declare const useSanityQuery: <T = unknown, E = Error>(query: string, _params?: Record<string, any>, _options?: UseSanityQueryOptions<T>) => AsyncData<T, true | E>; | ||
export declare const useLazySanityQuery: <T = unknown, E = Error>(query: string, _params?: Record<string, any>, _options?: UseSanityQueryOptions<T>) => AsyncData<T, true | E>; | ||
export declare const useSanityQuery: <T = unknown, E = Error>(query: string, _params?: Record<string, any>, _options?: UseSanityQueryOptions<T>) => AsyncData<T, true | E | null>; | ||
export declare const useLazySanityQuery: <T = unknown, E = Error>(query: string, _params?: Record<string, any>, _options?: UseSanityQueryOptions<T>) => AsyncData<T, true | E | null>; | ||
export {}; |
@@ -7,4 +7,4 @@ /** | ||
*/ | ||
export declare const groq: ((template: { | ||
export declare const groq: (template: { | ||
raw: readonly string[] | ArrayLike<string>; | ||
}, ...substitutions: any[]) => string) | ((strings: TemplateStringsArray, ...keys: any[]) => string); | ||
}, ...substitutions: any[]) => string; |
{ | ||
"name": "@nuxtjs/sanity", | ||
"version": "1.4.1", | ||
"version": "1.5.0", | ||
"license": "MIT", | ||
@@ -48,15 +48,15 @@ "repository": "nuxt-modules/sanity", | ||
"dependencies": { | ||
"@nuxt/kit": "3.0.0-rc.12", | ||
"@nuxt/kit": "3.0.0", | ||
"@portabletext/types": "^2.0.0", | ||
"chalk": "^5.1.2", | ||
"defu": "^6.1.0", | ||
"defu": "^6.1.1", | ||
"fs-extra": "^10.1.0", | ||
"knitwork": "^0.1.2", | ||
"ohash": "^0.1.5", | ||
"pathe": "^0.3.9" | ||
"knitwork": "^1.0.0", | ||
"ohash": "^1.0.0", | ||
"pathe": "^1.0.0" | ||
}, | ||
"devDependencies": { | ||
"@nuxt/module-builder": "^0.2.0", | ||
"@nuxt/schema": "^3.0.0-rc.12", | ||
"@nuxt/test-utils": "^3.0.0-rc.12", | ||
"@nuxt/module-builder": "0.2.1", | ||
"@nuxt/schema": "3.0.0", | ||
"@nuxt/test-utils": "3.0.0", | ||
"@nuxtjs/eslint-config-typescript": "^11.0.0", | ||
@@ -66,18 +66,19 @@ "@release-it/conventional-changelog": "^5.1.1", | ||
"@types/fs-extra": "^9.0.13", | ||
"@vitest/coverage-c8": "^0.24.3", | ||
"@vue/test-utils": "^2.1.0", | ||
"@vitest/coverage-c8": "^0.25.2", | ||
"@vue/test-utils": "^2.2.2", | ||
"c8": "^7.12.0", | ||
"eslint": "^8.26.0", | ||
"happy-dom": "^7.6.0", | ||
"husky": "^8.0.1", | ||
"eslint": "^8.27.0", | ||
"happy-dom": "^7.7.0", | ||
"husky": "^8.0.2", | ||
"lint-staged": "^13.0.3", | ||
"nuxi": "^3.0.0-rc.12", | ||
"nuxt": "^3.0.0-rc.12", | ||
"nuxi": "3.0.0", | ||
"nuxt": "3.0.0", | ||
"release-it": "^15.5.0", | ||
"typescript": "^4.8.4", | ||
"vitest": "^0.24.3", | ||
"vue": "^3.2.41" | ||
"typescript": "^4.9.3", | ||
"vitest": "^0.25.2", | ||
"vue": "^3.2.45" | ||
}, | ||
"resolutions": { | ||
"@nuxtjs/sanity": "link:." | ||
"@nuxtjs/sanity": "link:.", | ||
"@nuxtjs/tailwindcss": "^6.1.3" | ||
}, | ||
@@ -92,6 +93,6 @@ "publishConfig": { | ||
}, | ||
"packageManager": "pnpm@7.13.6", | ||
"packageManager": "pnpm@7.16.0", | ||
"volta": { | ||
"node": "16.18.0" | ||
"node": "18.12.1" | ||
} | ||
} |
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
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
45850
+ Added@nuxt/kit@3.0.0(transitive)
+ Added@nuxt/schema@3.0.0(transitive)
+ Added@rollup/pluginutils@5.1.3(transitive)
+ Addedc12@1.11.2(transitive)
+ Addedcaniuse-lite@1.0.30001685(transitive)
+ Addedchownr@2.0.0(transitive)
+ Addedcitty@0.1.6(transitive)
+ Addedconsola@3.2.3(transitive)
+ Addedcross-spawn@7.0.6(transitive)
+ Addeddestr@2.0.3(transitive)
+ Addedelectron-to-chromium@1.5.68(transitive)
+ Addedexeca@8.0.1(transitive)
+ Addedfs-minipass@2.1.0(transitive)
+ Addedget-stream@8.0.1(transitive)
+ Addedgiget@1.2.3(transitive)
+ Addedhuman-signals@5.0.0(transitive)
+ Addedis-stream@3.0.0(transitive)
+ Addedisexe@2.0.0(transitive)
+ Addedjiti@2.4.1(transitive)
+ Addedknitwork@1.1.0(transitive)
+ Addedmagic-string@0.27.0(transitive)
+ Addedmerge-stream@2.0.0(transitive)
+ Addedmimic-fn@4.0.0(transitive)
+ Addedminipass@3.3.65.0.0(transitive)
+ Addedminizlib@2.1.2(transitive)
+ Addedmkdirp@1.0.4(transitive)
+ Addedmri@1.2.0(transitive)
+ Addednode-fetch-native@1.6.4(transitive)
+ Addednpm-run-path@5.3.0(transitive)
+ Addednypm@0.3.12(transitive)
+ Addedohash@1.1.4(transitive)
+ Addedonetime@6.0.0(transitive)
+ Addedpath-key@3.1.14.0.0(transitive)
+ Addedperfect-debounce@1.0.0(transitive)
+ Addedpicomatch@4.0.2(transitive)
+ Addedrc9@2.1.2(transitive)
+ Addedscule@1.3.0(transitive)
+ Addedshebang-command@2.0.0(transitive)
+ Addedshebang-regex@3.0.0(transitive)
+ Addedsignal-exit@4.1.0(transitive)
+ Addedstrip-final-newline@3.0.0(transitive)
+ Addedstrip-literal@1.3.0(transitive)
+ Addedtar@6.2.1(transitive)
+ Addedunimport@1.3.0(transitive)
+ Addeduntyped@1.5.1(transitive)
+ Addedwhich@2.0.2(transitive)
+ Addedyallist@4.0.0(transitive)
- Removed@nuxt/kit@3.0.0-rc.12(transitive)
- Removed@nuxt/schema@3.0.0-rc.12(transitive)
- Removed@rollup/pluginutils@4.2.1(transitive)
- Removedc12@0.2.13(transitive)
- Removedcaniuse-lite@1.0.30001684(transitive)
- Removedchownr@1.1.4(transitive)
- Removeddestr@1.2.2(transitive)
- Removedelectron-to-chromium@1.5.67(transitive)
- Removedflat@5.0.2(transitive)
- Removedfs-minipass@1.2.7(transitive)
- Removedgittar@0.1.1(transitive)
- Removedjsonc-parser@3.3.1(transitive)
- Removedknitwork@0.1.3(transitive)
- Removedmagic-string@0.26.7(transitive)
- Removedminimist@1.2.8(transitive)
- Removedminipass@2.9.0(transitive)
- Removedminizlib@1.3.3(transitive)
- Removedmkdirp@0.5.6(transitive)
- Removedmlly@0.5.17(transitive)
- Removedohash@0.1.5(transitive)
- Removedpathe@0.3.9(transitive)
- Removedpkg-types@0.3.6(transitive)
- Removedrc9@1.2.4(transitive)
- Removedsafe-buffer@5.2.1(transitive)
- Removedscule@0.3.2(transitive)
- Removedsourcemap-codec@1.4.8(transitive)
- Removedstrip-literal@0.4.2(transitive)
- Removedtar@4.4.19(transitive)
- Removedufo@0.8.6(transitive)
- Removedunimport@0.6.8(transitive)
- Removedunplugin@0.9.6(transitive)
- Removeduntyped@0.5.0(transitive)
- Removedwebpack-sources@3.2.3(transitive)
- Removedwebpack-virtual-modules@0.4.6(transitive)
Updated@nuxt/kit@3.0.0
Updateddefu@^6.1.1
Updatedknitwork@^1.0.0
Updatedohash@^1.0.0
Updatedpathe@^1.0.0