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

temper

Package Overview
Dependencies
Maintainers
2
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

temper - npm Package Compare versions

Comparing version 0.1.3 to 0.1.4

4

index.js

@@ -37,3 +37,5 @@ 'use strict';

'.jade': ['jade'],
'.mustache': ['hogan.js', 'mustache', 'handlebars']
'.mustache': ['hogan.js', 'mustache', 'handlebars'],
'.hbs': [ 'handlebars' ],
'.handlebars': [ 'handlebars' ]
};

@@ -40,0 +42,0 @@

{
"name": "temper",
"version": "0.1.3",
"version": "0.1.4",
"description": "Temper compiles template for client and server side usage.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -17,2 +17,18 @@ describe('temper', function () {

it('has list with supported types', function () {
expect(temper.supported).to.have.property('.ejs');
expect(temper.supported).to.have.property('.jade');
expect(temper.supported).to.have.property('.mustache');
expect(temper.supported).to.have.property('.hbs');
expect(temper.supported).to.have.property('.handlebars');
expect(temper.supported['.ejs']).to.include('ejs');
expect(temper.supported['.jade']).to.include('jade');
expect(temper.supported['.mustache']).to.include('hogan.js');
expect(temper.supported['.mustache']).to.include('mustache');
expect(temper.supported['.mustache']).to.include('handlebars');
expect(temper.supported['.hbs']).to.include('handlebars');
expect(temper.supported['.handlebars']).to.include('handlebars');
});
describe('#read', function () {

@@ -19,0 +35,0 @@ it('should read the file contents and return a string', function () {

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