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

benchpressjs

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

benchpressjs - npm Package Compare versions

Comparing version 2.3.0 to 2.4.0

2

build/benchpress.min.js

@@ -1,3 +0,3 @@

/*! benchpressjs by psychobunny, built on 2020-11-26 */
/*! benchpressjs by psychobunny, built on 2021-01-04 */
"function"==typeof define&&define.amd&&define("benchpress",function(){var t=function(){"use strict";function t(e){return e==null||Array.isArray(e)&&e.length===0?"":e}function o(e,n){if(!e||typeof e!=="object")return"";var r="";var t=Object.keys(e);var o=t.length;for(var u=0;u<o;u+=1){var i=t[u];r+=n(i,u,o,e[i])}return r}function u(e,n,r,t){if(typeof n[r]!=="function")return"";try{var o=n[r].apply(e,t);return o||""}catch(e){return""}}function e(e,n,r){return t(r(e,n,t,o,u)).toString()}if(typeof Promise.try!=="function")Promise.try={try:function e(n){return new Promise(function(e){return e(n())})}}.try;return e}();"use strict";var o=typeof module==="object"&&module.exports?module.exports:{};o.runtime=t,o.helpers={},o.registerHelper=function e(n,r){o.helpers[n]=r};var r={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;","=":"&#x3D;"},n=function e(n){return r[n]},u=/[&<>"'`=]/g;o.registerHelper("__escape",function(e){if(e==null)return"";if(!e)return String(e);return e.toString().replace(u,n)}),o.cache={},o.globals={},o.setGlobal=function e(n,r){o.globals[n]=r};var i=Object.assign||jQuery.extend;function c(t){return new Promise(function(n,e){var r=o.loader(t,function(e){n(e)});if(r&&r.then)r.then(n,e)})}function f(e,n,r){n=o.addGlobals(n||{});return Promise.try(function(){o.cache[e]=o.cache[e]||c(e);return o.cache[e]}).then(function(e){if(r)e=e.blocks&&e.blocks[r];if(!e)return"";return t(o.helpers,n,e)})}function e(e,n,r,t){if(console.warn("Deprecated: Benchpress.parse is deprecated, to be removed in v3.0.0"),!t&&"object"==typeof n&&"function"==typeof r)t=r,r=n,n=null;if("function"!=typeof t)throw TypeError("Invalid Arguments: callback must be a function");if(!e)return void t("");f(e,r,n).then(function(e){return setTimeout(t,0,e)},function(e){return console.error(e)})}return o.addGlobals=function(e){return i({},o.globals,e)},o.flush=function(){o.cache={}},o.render=f,o.parse=function(e,n,r,t){console.warn("Deprecated: Benchpress.parse is deprecated, to be removed in v3.0.0"),t||"object"!=typeof n||"function"!=typeof r||(t=r,r=n,n=null);if("function"!=typeof t)throw TypeError("Invalid Arguments: callback must be a function");if(!e)return void t("");f(e,r,n).then(function(e){return setTimeout(t,0,e)},function(e){return console.error(e)})},o.registerLoader=function(e){o.loader=e},o});

@@ -19,2 +19,13 @@ <!--

## Version 2.4.0 (2021-01-04)
### Fixes
- Better error handling
- Fix TreeError when blocks were unterminated [#98](https://github.com/benchpressjs/benchpressjs/issues/98)
### New
- Allow a subject hint in new end syntax: `{{{ end thing }}}`
## Version 2.3.0 (2020-11-26)

@@ -21,0 +32,0 @@

{
"name": "benchpressjs",
"version": "2.3.0",
"version": "2.4.0",
"author": "psychobunny <psycho.bunny@hotmail.com>",

@@ -5,0 +5,0 @@ "description": "An ultralight and super fast templating framework",

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