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 1.5.0 to 2.0.0-canary.3

3

lib/helper.d.ts
import type { Context } from './context';
export declare type Helper = (context: Context, ...args: any[]) => string;
import type { Variable } from './variable';
export declare type Helper<T extends any[] = any[]> = (context: Context, ...args: T) => string | Helper | Variable;
export declare type HelperMap = Map<string, Helper>;
export declare type HelperRecord = Record<string, Helper>;
export declare type HelperRegister = (registry: HelperMap) => void;

@@ -0,1 +1,2 @@

export declare type SourceRange = [start: number, end: number];
export declare type SourcePosition = {

@@ -2,0 +3,0 @@ line: number;

@@ -1,5 +0,5 @@

export declare type Variable = string | {
[key in string | number]: Variable;
export declare type Variable = undefined | null | string | number | boolean | {
[key in string]: Variable;
} | Variable[];
export declare type VariableMap = Map<string, Variable>;
export declare type VariableRecord = Record<string, Variable>;
{
"name": "@scaffdog/types",
"version": "1.5.0",
"version": "2.0.0-canary.3",
"description": "scaffdog's type declarations.",

@@ -21,13 +21,12 @@ "keywords": [

"author": "wadackel <wadackel@gmail.com>",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"files": [
"lib",
"!lib/**/*.test.js"
"lib"
],
"scripts": {
"typecheck": "tsc --noEmit",
"build": "tsc"
},
"devDependencies": {
"type-fest": "2.13.1"
"type-fest": "2.18.0"
},

@@ -37,3 +36,3 @@ "publishConfig": {

},
"gitHead": "a68810b1f96afb3b323481d19117211562e2dd31"
"gitHead": "ec51cd46c9300e7e23678187b1a1493cc4d10ee2"
}

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