New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@patternplate/validate-config

Package Overview
Dependencies
Maintainers
5
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@patternplate/validate-config - npm Package Compare versions

Comparing version 3.0.7-1 to 3.1.0

lib/index.d.ts.map

1

lib/index.d.ts
export { validate } from './validate';
export { isValid } from './is-valid';
export * from './schema';
//# sourceMappingURL=index.d.ts.map
import * as Types from "@patternplate/types";
export declare function isValid<T>(input: Types.ValidationInput): input is Types.ValidationInput<Types.PatternplateConfig>;
//# sourceMappingURL=is-valid.d.ts.map
export declare const schema: import("typescript-json-schema").Definition;
//# sourceMappingURL=schema.d.ts.map

2

lib/schema.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const Schema = require("ts-transform-json-schema");
exports.schema = { "type": "object", "properties": { "docs": { "type": "array", "items": { "type": "string" } }, "entry": { "type": "array", "items": { "type": "string" } }, "mount": { "type": "string" }, "render": { "type": "string" }, "cover": { "type": "string" }, "ui": { "$ref": "#/definitions/PatternplateUiConfig" } }, "additionalProperties": false, "required": ["docs", "entry", "mount", "render"], "definitions": { "PatternplateUiConfig": { "type": "object", "properties": { "logo": { "type": "string" }, "favicon": { "type": "string" }, "fontDefault": { "type": "string" }, "fontHeadline": { "type": "string" }, "fontCode": { "type": "string" }, "colorActive": { "type": "string" }, "colorError": { "type": "string" }, "colorWarning": { "type": "string" }, "colorInfo": { "type": "string" }, "colorSuccess": { "type": "string" }, "colorBackgroundDark": { "type": "string" }, "colorBackgroundSecondaryDark": { "type": "string" }, "colorBackgroundTertiaryDark": { "type": "string" }, "colorBorderDark": { "type": "string" }, "colorTextDark": { "type": "string" }, "colorTextNegatedDark": { "type": "string" }, "colorRecessDark": { "type": "string" }, "colorBackgroundLight": { "type": "string" }, "colorBackgroundSecondaryLight": { "type": "string" }, "colorBackgroundTertiaryLight": { "type": "string" }, "colorBorderLight": { "type": "string" }, "colorTextLight": { "type": "string" }, "colorTextNegatedLight": { "type": "string" }, "colorRecessLight": { "type": "string" } }, "additionalProperties": false } }, "$schema": "http://json-schema.org/draft-07/schema#" };
exports.schema = { "type": "object", "properties": { "docs": { "type": "array", "items": { "type": "string" } }, "entry": { "type": "array", "items": { "type": "string" } }, "mount": { "type": "string" }, "render": { "type": "string" }, "cover": { "type": "string" }, "ui": { "$ref": "#/definitions/PatternplateUiConfig" } }, "additionalProperties": false, "required": ["docs", "entry", "mount", "render"], "definitions": { "PatternplateUiConfig": { "type": "object", "properties": { "logo": { "type": "string" }, "favicon": { "type": "string" }, "fontDefault": { "type": "string" }, "fontHeadline": { "type": "string" }, "fontCode": { "type": "string" }, "colorActive": { "type": "string" }, "colorError": { "type": "string" }, "colorWarning": { "type": "string" }, "colorInfo": { "type": "string" }, "colorSuccess": { "type": "string" }, "colorBackgroundDark": { "type": "string" }, "colorBackgroundSecondaryDark": { "type": "string" }, "colorBackgroundTertiaryDark": { "type": "string" }, "colorBorderDark": { "type": "string" }, "colorTextDark": { "type": "string" }, "colorTextNegatedDark": { "type": "string" }, "colorRecessDark": { "type": "string" }, "colorBackgroundLight": { "type": "string" }, "colorBackgroundSecondaryLight": { "type": "string" }, "colorBackgroundTertiaryLight": { "type": "string" }, "colorBorderLight": { "type": "string" }, "colorTextLight": { "type": "string" }, "colorTextNegatedLight": { "type": "string" }, "colorRecessLight": { "type": "string" }, "colorBackgroundNote": { "type": "string" }, "colorBackgroundInfoNote": { "type": "string" }, "colorBackgroundSuccessNote": { "type": "string" }, "colorBackgroundErrorNote": { "type": "string" }, "colorBackgroundWarningNote": { "type": "string" }, "colorNoteLight": { "type": "string" }, "colorNoteDark": { "type": "string" }, "showComponents": { "type": "boolean" } }, "additionalProperties": false } }, "$schema": "http://json-schema.org/draft-07/schema#" };
//# sourceMappingURL=schema.js.map
import * as Types from "@patternplate/types";
export declare function validate({ target, name }: Types.ValidationInput): [Error, false] | [null, true];
//# sourceMappingURL=validate.d.ts.map
{
"name": "@patternplate/validate-config",
"version": "3.0.7-1",
"version": "3.1.0",
"description": "Validate schema for patternplate.config.js",
"scripts": {
"watch": "ttsc -w",
"deps": "dependency-check . --missing && dependency-check . --extra --no-dev",
"build": "ttsc",
"test": "jest"

@@ -36,3 +34,3 @@ },

"@marionebl/ttypescript": "^1.5.6",
"@patternplate/types": "^3.0.7-1",
"@patternplate/types": "^3.1.0",
"@types/jest": "^23.3.1",

@@ -44,4 +42,5 @@ "@types/node": "^10.9.4",

"jest": "^23.6.0",
"ts-jest": "^23.10.2",
"ts-jest": "^23.10.5",
"ts-transform-json-schema": "^1.1.1",
"ttypescript": "^1.5.5",
"typescript": "^3.1",

@@ -52,3 +51,4 @@ "typescript-json-schema": "^0.32.0"

"schema-utils": "^1.0.0"
}
},
"gitHead": "54025e88c20a22803fc196ba7f50e74f5c90cd57"
}

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