Comparing version 0.13.31 to 0.13.32
@@ -138,8 +138,12 @@ 'use strict'; | ||
function meta(_ref) { | ||
var _ref$loc = _ref.loc; | ||
var source = _ref$loc.source; | ||
var start = _ref$loc.start; | ||
var end = _ref$loc.end; | ||
function meta(node) { | ||
var loc = node.loc; | ||
if (!loc) { | ||
return []; | ||
} | ||
var source = loc.source; | ||
var start = loc.start; | ||
var end = loc.end; | ||
return ["loc", [source || null, [start.line, start.column], [end.line, end.column]]]; | ||
@@ -146,0 +150,0 @@ } |
@@ -12,3 +12,3 @@ 'use strict'; | ||
* See https://raw.githubusercontent.com/tildeio/htmlbars/master/LICENSE | ||
* @version 0.13.31.7fe843a2 | ||
* @version 0.13.32.0064036f | ||
*/ | ||
@@ -15,0 +15,0 @@ |
@@ -139,3 +139,7 @@ import TemplateVisitor from "./template-visitor"; | ||
function meta({ loc: { source, start, end }}) { | ||
function meta(node) { | ||
let loc = node.loc; | ||
if (!loc) { return []; } | ||
let { source, start, end } = loc; | ||
return [ 'loc', [source || null, [start.line, start.column], [end.line, end.column]] ]; | ||
@@ -142,0 +146,0 @@ } |
@@ -6,3 +6,3 @@ /* | ||
* See https://raw.githubusercontent.com/tildeio/htmlbars/master/LICENSE | ||
* @version 0.13.31.7fe843a2 | ||
* @version 0.13.32.0064036f | ||
*/ | ||
@@ -9,0 +9,0 @@ |
var packagesConfig = { | ||
"version": "0.13.31", | ||
"revision": "7fe843a20a880848de5d66ca027aaecc96227627", | ||
"version": "0.13.32", | ||
"revision": "0064036f50402c4dd496e623c58cd591e4e96b79", | ||
"vendored": {}, | ||
@@ -5,0 +5,0 @@ "dependencies": { |
{ | ||
"name": "htmlbars", | ||
"version": "0.13.31", | ||
"version": "0.13.32", | ||
"description": "HTMLBars compiles Handlebars templates into document fragments rather than string buffers", | ||
@@ -5,0 +5,0 @@ "main": "dist/cjs/htmlbars.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2171954
60134