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.0.1 to 2.0.2

2

build/benchpress.min.js

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

/*! benchpressjs by psychobunny, built on 2020-02-14 */
/*! benchpressjs by psychobunny, built on 2020-02-27 */
"function"==typeof define&&define.amd&&define("benchpress",function(){var t=function(){"use strict";function t(n){return n==null||Array.isArray(n)&&n.length===0?"":n}function o(n,r){if(!n||typeof n!=="object"){return""}var e="";var t=Object.keys(n);var o=t.length;for(var u=0;u<o;u+=1){var i=t[u];e+=r(i,u,o,n[i])}return e}function u(n,r,e,t){if(typeof r[e]!=="function"){return""}try{var o=r[e].apply(n,t);return o||""}catch(n){return""}}function n(n,r,e){return t(e(n,r,t,o,u)).toString()}if(typeof Promise.try!=="function"){Promise.try={try:function n(r){return new Promise(function(n){return n(r())})}}.try}return n}();"use strict";var o=typeof module==="object"&&module.exports?module.exports:{};o.runtime=t,o.helpers={},o.registerHelper=function n(r,e){o.helpers[r]=e};var e={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;","=":"&#x3D;"},r=function n(r){return e[r]},u=/[&<>"'`=]/g;o.registerHelper("__escape",function(n){if(n==null){return""}if(!n){return String(n)}return n.toString().replace(u,r)}),o.cache={},o.globals={},o.setGlobal=function n(r,e){o.globals[r]=e};var i=Object.assign||jQuery.extend;function c(t){return new Promise(function(r,n){var e=o.loader(t,function(n){r(n)});if(e&&e.then){e.then(r,n)}})}function f(n,r,e){r=o.addGlobals(r||{});return Promise.try(function(){o.cache[n]=o.cache[n]||c(n);return o.cache[n]}).then(function(n){if(e){n=n.blocks&&n.blocks[e]}if(!n){return""}return t(o.helpers,r,n)})}function n(n,r,e,t){if(!t&&"object"==typeof r&&"function"==typeof e)t=e,e=r,r=null;if("function"!=typeof t)throw TypeError("Invalid Arguments: callback must be a function");if(!n)return void t("");f(n,e,r).then(function(n){return setTimeout(t,0,n)},function(n){return console.error(n)})}return o.addGlobals=function(n){return i({},o.globals,n)},o.flush=function(){o.cache={}},o.render=f,o.parse=function(n,r,e,t){t||"object"!=typeof r||"function"!=typeof e||(t=e,e=r,r=null);if("function"!=typeof t)throw TypeError("Invalid Arguments: callback must be a function");if(!n)return void t("");f(n,e,r).then(function(n){return setTimeout(t,0,n)},function(n){return console.error(n)})},o.registerLoader=function(n){o.loader=n},o});
{
"name": "benchpressjs",
"version": "2.0.1",
"version": "2.0.2",
"author": "psychobunny <psycho.bunny@hotmail.com>",

@@ -17,2 +17,3 @@ "description": "An ultralight and super fast templating framework",

"main": "build/lib/benchpress",
"browser": "build/benchpress",
"keywords": [

@@ -19,0 +20,0 @@ "templates",

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