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

hbs-dedent-helper

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hbs-dedent-helper - npm Package Compare versions

Comparing version 0.1.0 to 0.2.0

2

dist/hbs-dedent-helper.cjs.development.js
'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }

@@ -4,0 +6,0 @@

2

dist/hbs-dedent-helper.cjs.production.min.js

@@ -1,2 +0,2 @@

"use strict";var e,t=require("handlebars"),r=(e=require("assert"))&&"object"==typeof e&&"default"in e?e.default:e;function n(e,t,r){var n=r.fn(this),s=function(e,t){switch(t){case"level":case"levels":return exports.levelChar+"{"+e*exports.levelSize+"}";case"tab":case"tabs":return"\\t{"+e+"}";case"space":case"spaces":return"[ ]{"+e+"}"}throw new Error("Invalid unit specified: "+t)}(e,t);return n.split("\n").map(function(e){var t=e.match(new RegExp("^(\\s*)("+s+")[^\\s]"));return t?""+t[1]+e.slice(t[0].length-1):e}).join("\n")}exports.levelSize=4,exports.levelChar="\\s",exports.dedentHelper=n,exports.register=function(){t.registerHelper("dedent-by",function(e,t,s){return r("number"==typeof e,"Expected count to be a number"),r("string"==typeof t,"Expected unit to be a string"),n.apply(this,[e,t,s])}),t.registerHelper("dedent",function(e){return n.apply(this,[1,"level",e])})},exports.setLevelChar=function(e){exports.levelChar=e},exports.setLevelSize=function(e){exports.levelSize=e};
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e,t=require("handlebars"),r=(e=require("assert"))&&"object"==typeof e&&"default"in e?e.default:e;function s(e,t,r){var s=r.fn(this),n=function(e,t){switch(t){case"level":case"levels":return exports.levelChar+"{"+e*exports.levelSize+"}";case"tab":case"tabs":return"\\t{"+e+"}";case"space":case"spaces":return"[ ]{"+e+"}"}throw new Error("Invalid unit specified: "+t)}(e,t);return s.split("\n").map((function(e){var t=e.match(new RegExp("^(\\s*)("+n+")[^\\s]"));return t?""+t[1]+e.slice(t[0].length-1):e})).join("\n")}exports.levelSize=4,exports.levelChar="\\s",exports.dedentHelper=s,exports.register=function(){t.registerHelper("dedent-by",(function(e,t,n){return r("number"==typeof e,"Expected count to be a number"),r("string"==typeof t,"Expected unit to be a string"),s.apply(this,[e,t,n])})),t.registerHelper("dedent",(function(e){return s.apply(this,[1,"level",e])}))},exports.setLevelChar=function(e){exports.levelChar=e},exports.setLevelSize=function(e){exports.levelSize=e};
//# sourceMappingURL=hbs-dedent-helper.cjs.production.min.js.map
{
"name": "hbs-dedent-helper",
"version": "0.1.0",
"version": "0.2.0",
"main": "dist/index.js",

@@ -11,9 +11,13 @@ "module": "dist/hbs-dedent-helper.esm.js",

],
"scripts": {
"start": "tsdx watch",
"build": "tsdx build",
"test": "tsdx test"
"author": {
"name": "Lorefnon",
"email": "lorefnon@tutanota.com",
"url": "https://lorefnon.me"
},
"repository": {
"type": "git",
"url": "https://github.com/lorefnon/hbs-dedent-helper"
},
"peerDependencies": {
"handlebars": "^4.1.2"
"handlebars": "^4.7.7"
},

@@ -32,11 +36,17 @@ "husky": {

"devDependencies": {
"@types/jest": "^24.0.16",
"handlebars": "^4.1.2",
"husky": "^3.0.2",
"prettier": "^1.18.2",
"pretty-quick": "^1.11.1",
"tsdx": "^0.7.2",
"tslib": "^1.10.0",
"typescript": "^3.5.3"
"@types/jest": "^28.1.1",
"@types/node": "^17.0.42",
"handlebars": "^4.7.7",
"husky": "^8.0.1",
"prettier": "^2.6.2",
"pretty-quick": "^3.1.3",
"tsdx": "^0.14.1",
"tslib": "^2.4.0",
"typescript": "^4.7.3"
},
"scripts": {
"start": "tsdx watch",
"build": "tsdx build",
"test": "tsdx test"
}
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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