hbs-jsonpath-helper
Advanced tools
Comparing version 0.1.1 to 0.2.0
'use strict'; | ||
Object.defineProperty(exports, '__esModule', { value: true }); | ||
var Handlebars = require('handlebars'); | ||
@@ -4,0 +6,0 @@ var jsonpathPlus = require('jsonpath-plus'); |
@@ -1,2 +0,2 @@ | ||
"use strict";var e=require("handlebars"),r=require("jsonpath-plus");exports.register=function(t){void 0===t&&(t=e),t.registerHelper("jp-get",function(e){return r.JSONPath({path:e,json:this})}),t.registerHelper("jp-get-in",function(e,t){return r.JSONPath({path:e,json:t})}),t.registerHelper("jp-descend",function(e,t){var n=r.JSONPath({path:e,json:this});if(null!=n)return t.fn(n)}),t.registerHelper("jp-descend-in",function(e,t,n){var i=r.JSONPath({path:e,json:t});if(null!=i)return n.fn(i)})}; | ||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("handlebars"),r=require("jsonpath-plus");exports.register=function(t){void 0===t&&(t=e),t.registerHelper("jp-get",(function(e){return r.JSONPath({path:e,json:this})})),t.registerHelper("jp-get-in",(function(e,t){return r.JSONPath({path:e,json:t})})),t.registerHelper("jp-descend",(function(e,t){var n=r.JSONPath({path:e,json:this});if(null!=n)return t.fn(n)})),t.registerHelper("jp-descend-in",(function(e,t,n){var i=r.JSONPath({path:e,json:t});if(null!=i)return n.fn(i)}))}; | ||
//# sourceMappingURL=hbs-jsonpath-helper.cjs.production.min.js.map |
@@ -6,4 +6,4 @@ { | ||
"name": "Lorefnon", | ||
"email": "lorefnon@gmail.com", | ||
"url": "https://lorefnon.tech" | ||
"email": "lorefnon@tutanota.com", | ||
"url": "https://lorefnon.me" | ||
}, | ||
@@ -15,3 +15,3 @@ "keywords": [ | ||
], | ||
"version": "0.1.1", | ||
"version": "0.2.0", | ||
"main": "dist/index.js", | ||
@@ -24,11 +24,2 @@ "module": "dist/hbs-jsonpath-helper.esm.js", | ||
"license": "MIT", | ||
"scripts": { | ||
"start": "tsdx watch", | ||
"build": "tsdx build", | ||
"test": "tsdx test", | ||
"format": "prettier --write ./src/*.ts ./test/*.ts", | ||
"snippets:collect": "snippet-collector --files ./test/*.ts --files ./src/*.ts --output ./generated/snippets.json", | ||
"docs:generate": "node ./scripts/generate-docs.js", | ||
"prePublishOnly": "yarn run build && yarn run test && yarn run snippets:collect && yarn run docs:generate" | ||
}, | ||
"repository": { | ||
@@ -39,3 +30,3 @@ "type": "git", | ||
"peerDependencies": { | ||
"handlebars": "^4.1.2" | ||
"handlebars": "^4.7.7" | ||
}, | ||
@@ -54,18 +45,26 @@ "husky": { | ||
"devDependencies": { | ||
"@types/handlebars": "^4.1.0", | ||
"@types/jest": "^24.0.16", | ||
"@types/jest": "^28.1.1", | ||
"dedent": "^0.7.0", | ||
"handlebars": "^4.1.2", | ||
"hbs-dedent-helper": "^0.1.0", | ||
"husky": "^3.0.2", | ||
"prettier": "^1.18.2", | ||
"pretty-quick": "^1.11.1", | ||
"snippet-collector": "^1.0.5", | ||
"tsdx": "^0.7.2", | ||
"tslib": "^1.10.0", | ||
"typescript": "^3.5.3" | ||
"handlebars": "^4.7.7", | ||
"hbs-dedent-helper": "^0.2.0", | ||
"husky": "^8.0.1", | ||
"prettier": "^2.6.2", | ||
"pretty-quick": "^3.1.3", | ||
"snippet-collector": "^1.0.6", | ||
"tsdx": "^0.14.1", | ||
"tslib": "^2.4.0", | ||
"typescript": "^4.7.3" | ||
}, | ||
"dependencies": { | ||
"jsonpath-plus": "^0.20.1" | ||
"jsonpath-plus": "^6.0.1" | ||
}, | ||
"scripts": { | ||
"start": "tsdx watch", | ||
"build": "tsdx build", | ||
"test": "tsdx test", | ||
"format": "prettier --write ./src/*.ts ./test/*.ts", | ||
"snippets:collect": "snippet-collector --files ./test/*.ts --files ./src/*.ts --output ./generated/snippets.json", | ||
"docs:generate": "node ./scripts/generate-docs.js", | ||
"prePublishOnly": "yarn run build && yarn run test && yarn run snippets:collect && yarn run docs:generate" | ||
} | ||
} | ||
} |
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
18005
11
110
+ Addedjsonpath-plus@6.0.1(transitive)
- Removedjsonpath-plus@0.20.1(transitive)
Updatedjsonpath-plus@^6.0.1