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

site-config-stack

Package Overview
Dependencies
Maintainers
1
Versions
86
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

site-config-stack - npm Package Compare versions

Comparing version 1.3.0 to 1.4.0

18

dist/index.d.ts

@@ -0,1 +1,3 @@

import { ComputedRef, Ref } from 'vue';
interface SiteConfig {

@@ -71,6 +73,10 @@ /**

}
type SiteConfigInput = Partial<Omit<SiteConfig, '_context' | 'indexable'>> & {
type MaybeComputedRef<T> = T | (() => T) | ComputedRef<T> | Ref<T>;
type MaybeComputedRefEntries<T> = {
[key in keyof T]?: MaybeComputedRef<T[key]>;
};
type SiteConfigInput = Omit<MaybeComputedRefEntries<Partial<SiteConfig>>, '_context' | 'indexable'> & {
_context?: string;
_priority?: number;
indexable?: string | boolean;
indexable?: MaybeComputedRef<string | boolean>;
};

@@ -83,3 +89,5 @@ interface SiteConfigStack {

declare function createSiteConfigStack(): SiteConfigStack;
declare function createSiteConfigStack(options?: {
debug: boolean;
}): SiteConfigStack;

@@ -90,3 +98,3 @@ declare function normalizeSiteConfig(config: SiteConfig): SiteConfig;

trailingSlash: boolean;
base: string;
base?: string;
absolute?: boolean;

@@ -97,2 +105,2 @@ withBase?: boolean;

export { type SiteConfig, type SiteConfigInput, type SiteConfigStack, createSiteConfigStack, fixSlashes, normalizeSiteConfig, resolveSitePath };
export { type MaybeComputedRef, type MaybeComputedRefEntries, type SiteConfig, type SiteConfigInput, type SiteConfigStack, createSiteConfigStack, fixSlashes, normalizeSiteConfig, resolveSitePath };
{
"name": "site-config-stack",
"type": "module",
"version": "1.3.0",
"description": "Shared site configuration utilities.",
"version": "1.4.0",
"description": "Shared site configuration utilities.",
"license": "MIT",

@@ -29,5 +29,11 @@ "funding": "https://github.com/sponsors/harlan-zw",

],
"peerDependencies": {
"vue": "^3"
},
"dependencies": {
"ufo": "^1.3.0"
"ufo": "^1.3.1"
},
"devDependencies": {
"vue": "^3.3.4"
},
"scripts": {

@@ -34,0 +40,0 @@ "lint": "eslint . --fix",

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

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