Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@nuxtjs/sanity

Package Overview
Dependencies
Maintainers
1
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nuxtjs/sanity - npm Package Compare versions

Comparing version 1.4.1 to 1.5.0

2

dist/module.d.ts

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc