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

@magidoc/plugin-starter-variables

Package Overview
Dependencies
Maintainers
1
Versions
108
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@magidoc/plugin-starter-variables - npm Package Compare versions

Comparing version 2.14.5 to 3.0.0

4

build/index.d.ts

@@ -5,6 +5,6 @@ import templates from './variables/templates';

import type { Variable } from './variables/variable';
import type { Page, ExternalLink } from './variables/templates';
export type { Variable, Page, ExternalLink };
import type { Page, ExternalLink, AllowedDirective } from './variables/templates';
export type { Variable, Page, ExternalLink, AllowedDirective };
export { templates };
export { magidoc };
export { toVariablesFile, UnsupportedVariablesError };

@@ -11,2 +11,6 @@ export type Page = {

};
export type AllowedDirective = {
name: string;
args: string[];
};
declare const _default: {

@@ -21,3 +25,4 @@ APP_LOGO: import("./variable").Variable<string>;

EXTERNAL_LINKS: import("./variable").Variable<(ExternalLink | undefined)[]>;
DIRECTIVES: import("./variable").Variable<(AllowedDirective | undefined)[]>;
};
export default _default;

@@ -34,2 +34,8 @@ import { stringConverter } from './converters/string.js';

})),
DIRECTIVES: createVariable('DIRECTIVES', arrayConverter((zod) => {
return zod.object({
name: zod.string().min(1),
args: zod.array(zod.string()),
});
})),
};

@@ -36,0 +42,0 @@

@@ -5,3 +5,3 @@ {

"private": false,
"version": "2.14.5",
"version": "3.0.0",
"type": "module",

@@ -22,8 +22,8 @@ "license": "MIT",

"devDependencies": {
"@rollup/plugin-typescript": "^10.0.0",
"@types/lodash": "^4.14.190",
"@types/node": "^18.11.9",
"@rollup/plugin-typescript": "^10.0.1",
"@types/lodash": "^4.14.191",
"@types/node": "^18.11.10",
"@vitest/coverage-c8": "^0.25.3",
"lodash": "^4.17.21",
"rollup": "^3.5.0",
"rollup": "^3.5.1",
"tslib": "^2.4.1",

@@ -37,2 +37,5 @@ "typescript": "^4.9.3",

},
"files": [
"build"
],
"scripts": {

@@ -39,0 +42,0 @@ "start": "pnpm build:rollup && node build/index.js",

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