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

@scaffdog/types

Package Overview
Dependencies
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@scaffdog/types - npm Package Compare versions

Comparing version 2.4.0 to 2.5.0-canary.0

28

dist/index.d.ts
import { Merge } from 'type-fest';
declare type TagPair = Readonly<[open: string, close: string]>;
type TagPair = Readonly<[open: string, close: string]>;
declare type Variable = undefined | null | string | number | boolean | {
type Variable = undefined | null | string | number | boolean | {
[key in string]: Variable;
} | Variable[];
declare type VariableMap = Map<string, Variable>;
declare type VariableRecord = Record<string, Variable>;
type VariableMap = Map<string, Variable>;
type VariableRecord = Record<string, Variable>;
declare type Context = {
type Context = {
cwd: string;

@@ -18,8 +18,8 @@ variables: VariableMap;

declare type Helper<T extends any[] = any[]> = (context: Context, ...args: T) => string | Helper | Variable;
declare type HelperMap = Map<string, Helper>;
declare type HelperRecord = Record<string, Helper>;
declare type HelperRegister = (registry: HelperMap) => void;
type Helper<T extends any[] = any[]> = (context: Context, ...args: T) => string | Helper | Variable;
type HelperMap = Map<string, Helper>;
type HelperRecord = Record<string, Helper>;
type HelperRegister = (registry: HelperMap) => void;
declare type Config = {
type Config = {
files: string[];

@@ -30,3 +30,3 @@ variables?: VariableRecord;

};
declare type ResolvedConfig = Merge<Config, {
type ResolvedConfig = Merge<Config, {
variables: VariableMap;

@@ -36,8 +36,8 @@ helpers: HelperMap;

declare type SourceRange = [start: number, end: number];
declare type SourcePosition = {
type SourceRange = [start: number, end: number];
type SourcePosition = {
line: number;
column: number;
};
declare type SourceLocation = {
type SourceLocation = {
start: SourcePosition;

@@ -44,0 +44,0 @@ end: SourcePosition;

{
"name": "@scaffdog/types",
"version": "2.4.0",
"version": "2.5.0-canary.0",
"description": "scaffdog's type declarations.",

@@ -26,3 +26,3 @@ "keywords": [

"dependencies": {
"type-fest": "2.19.0"
"type-fest": "3.5.7"
},

@@ -29,0 +29,0 @@ "publishConfig": {

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