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

@types/consolidate

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/consolidate - npm Package Compare versions

Comparing version 0.0.35 to 0.14.0

103

consolidate/index.d.ts

@@ -1,4 +0,7 @@

// Type definitions for consolidate
// Type definitions for consolidate 0.14
// Project: https://github.com/visionmedia/consolidate.js
// Definitions by: Carlos Ballesteros Velasco <https://github.com/soywiz>, Theo Sherry <https://github.com/theosherry>, Nicolas Henry <https://github.com/nicolashenry>
// Definitions by: Carlos Ballesteros Velasco <https://github.com/soywiz>
// Theo Sherry <https://github.com/theosherry>
// Nicolas Henry <https://github.com/nicolashenry>
// Andrew Leedham <https://github.com/AndrewLeedham>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

@@ -17,7 +20,62 @@ // TypeScript Version: 3.2

interface Consolidate {
type SupportedTemplateEngines =
| 'arc-templates'
| 'atpl'
| 'bracket'
| 'dot'
| 'dust'
| 'eco'
| 'ejs'
| 'ect'
| 'haml'
| 'haml-coffee'
| 'hamlet'
| 'handlebars'
| 'hogan'
| 'htmling'
| 'jade'
| 'jazz'
| 'jqtpl'
| 'just'
| 'liquid'
| 'liquor'
| 'lodash'
| 'marko'
| 'mote'
| 'mustache'
| 'nunjucks'
| 'plates'
| 'pug'
| 'qejs'
| 'ractive'
| 'razor'
| 'react'
| 'slm'
| 'squirrelly'
| 'swig'
| 'teacup'
| 'templayed'
| 'toffee'
| 'twig'
| 'underscore'
| 'vash'
| 'velocityjs'
| 'walrus'
| 'whiskers';
type Requires = SupportedTemplateEngines | 'extend' | 'ReactDOM' | 'babel';
type ConsolidateType = {
[engine in SupportedTemplateEngines]: RendererInterface;
}
type RequiresType = {
[engine in Requires]: any;
}
interface Consolidate extends ConsolidateType {
/**
* expose the instance of the engine
*/
requires: Object;
* expose the instance of the engine
*/
requires: RequiresType;

@@ -30,35 +88,2 @@ /**

clearCache(): void;
// template engines
atpl: RendererInterface;
dot: RendererInterface;
dust: RendererInterface;
eco: RendererInterface;
ejs: RendererInterface;
ect: RendererInterface;
haml: RendererInterface;
// TODO figure out how to do haml-coffee
hamlet: RendererInterface;
handlebars: RendererInterface;
hogan: RendererInterface;
htmling: RendererInterface;
jade: RendererInterface;
jazz: RendererInterface;
jqtpl: RendererInterface;
just: RendererInterface;
liquid: RendererInterface;
liquor: RendererInterface;
lodash: RendererInterface;
mote: RendererInterface;
mustache: RendererInterface;
nunjucks: RendererInterface;
pug: RendererInterface;
qejs: RendererInterface;
ractive: RendererInterface;
react: RendererInterface;
swig: RendererInterface;
templayed: RendererInterface;
toffee: RendererInterface;
underscore: RendererInterface;
walrus: RendererInterface;
whiskers: RendererInterface;
}

@@ -65,0 +90,0 @@

{
"name": "@types/consolidate",
"version": "0.0.35",
"version": "0.14.0",
"description": "TypeScript definitions for consolidate",

@@ -21,2 +21,7 @@ "license": "MIT",

"githubUsername": "nicolashenry"
},
{
"name": "Andrew Leedham",
"url": "https://github.com/AndrewLeedham",
"githubUsername": "AndrewLeedham"
}

@@ -36,4 +41,4 @@ ],

},
"typesPublisherContentHash": "ef9648e1939056264e12fb6692bc7f3cd45071c0baf7b263c1aa5f961e321e22",
"typesPublisherContentHash": "56980c5a2774af45e806c34e3853288ab4dd7edde68d8206fe0a71166448a7d7",
"typeScriptVersion": "3.2"
}

@@ -5,3 +5,3 @@ # Installation

# Summary
This package contains type definitions for consolidate ( https://github.com/visionmedia/consolidate.js ).
This package contains type definitions for consolidate (https://github.com/visionmedia/consolidate.js).

@@ -12,3 +12,3 @@ # Details

Additional Details
* Last updated: Fri, 24 May 2019 21:00:58 GMT
* Last updated: Tue, 09 Jul 2019 00:13:27 GMT
* Dependencies: @types/bluebird, @types/node

@@ -18,2 +18,2 @@ * Global values: none

# Credits
These definitions were written by Carlos Ballesteros Velasco <https://github.com/soywiz>, Theo Sherry <https://github.com/theosherry>, Nicolas Henry <https://github.com/nicolashenry>.
These definitions were written by Carlos Ballesteros Velasco <https://github.com/soywiz>, Theo Sherry <https://github.com/theosherry>, Nicolas Henry <https://github.com/nicolashenry>, and Andrew Leedham <https://github.com/AndrewLeedham>.
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