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

engine-base

Package Overview
Dependencies
Maintainers
2
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

engine-base - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

25

index.js

@@ -26,3 +26,3 @@ 'use strict';

name: 'base',
dest: {ext: '.html'},
dest: {ext: '.html'}
};

@@ -62,2 +62,5 @@

delete settings.imports.with;
delete settings.imports.if;
var base = new utils.Engine(settings);

@@ -172,3 +175,3 @@ return base.compile(str, settings);

if (typeof cb !== 'function') {
return renderSync(str, options);
return renderSync(str, locals);
}

@@ -236,20 +239,2 @@ try {

// function normalizeOptions(options) {
// locals = locals || {};
// locals.settings = locals.settings || {};
// var settings = {};
// var picked = utils.merge(pick(locals), pick(locals.settings));
// var delims = picked.delims;
// var opts = picked.opts;
// var fns = picked.fns;
// settings.imports = utils.merge({}, fns.helpers, fns.imports);
// settings = utils.merge({}, settings, delims);
// if (locals.debugEngine === true) {
// inspectHelpers(settings, opts);
// }
// }
/**

@@ -256,0 +241,0 @@ * Conflict report displayed when the same key exists as both

39

package.json
{
"name": "engine-base",
"description": "Default engine for Template.",
"version": "0.1.2",
"version": "0.1.3",
"homepage": "https://github.com/jonschlinkert/engine-base",

@@ -24,30 +24,33 @@ "author": "Jon Schlinkert (https://github.com/jonschlinkert)",

"dependencies": {
"component-emitter": "^1.2.0",
"delimiter-regex": "^1.3.1",
"engine": "^0.1.7",
"component-emitter": "^1.2.1",
"delimiter-regex": "^2.0.0",
"engine": "^0.1.12",
"engine-utils": "^0.1.1",
"lazy-cache": "^0.2.3",
"lazy-cache": "^2.0.2",
"mixin-deep": "^1.1.3",
"object.omit": "^2.0.0",
"object.pick": "^1.1.1"
"object.omit": "^2.0.1",
"object.pick": "^1.2.0"
},
"devDependencies": {
"gulp": "^3.9.0",
"gulp-istanbul": "^0.10.0",
"gulp-jshint": "^1.11.2",
"gulp-mocha": "^2.1.3",
"jshint-stylish": "^2.0.1",
"mocha": "*"
"gulp": "^3.9.1",
"gulp-istanbul": "^1.1.1",
"gulp-jshint": "^2.0.4",
"gulp-mocha": "^3.0.1",
"jshint-stylish": "^2.2.1",
"mocha": "^3.2.0"
},
"keywords": [],
"keywords": [
"base",
"engine"
],
"verb": {
"related": {
"list": [
"engine-cache",
"engine-handlebars",
"engine-less",
"engine-lodash",
"engine-cache",
"helper-cache",
"template-helpers",
"template",
"engine-handlebars",
"engine-less"
"template-helpers"
]

@@ -54,0 +57,0 @@ }

'use strict';
var utils = require('lazy-cache')(require);
var fn = require;
require = utils;
/**
* Module dependencies.
* Lazily required module dependencies
*/
var lazy = module.exports = require('lazy-cache')(require);
require('delimiter-regex', 'delims');
require('engine', 'Engine');
require('mixin-deep', 'merge');
require('object.omit', 'omit');
require('object.pick', 'pick');
require = fn;
/**
* Lazily required module dependencies
* Expose `utils` modules
*/
lazy('object.omit', 'omit');
lazy('object.pick', 'pick');
lazy('mixin-deep', 'merge');
lazy('engine-utils', 'utils');
lazy('delimiter-regex', 'delims');
lazy('engine', 'Engine');
module.exports = utils;

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