@jsreport/jsreport-handlebars
Advanced tools
Comparing version 3.0.0 to 3.1.0
@@ -66,8 +66,5 @@ /*! | ||
let result = template(data) | ||
result = result.replace(pattern, '}') | ||
return result | ||
} | ||
return template(data) | ||
}, | ||
unescape: (str) => str.replace(pattern, '}') | ||
} | ||
@@ -74,0 +71,0 @@ } |
@@ -28,4 +28,5 @@ const path = require('path') | ||
createContext: (...args) => lazyGetEngine().createContext(...args), | ||
onRequire: (...args) => lazyGetEngine().onRequire(...args) | ||
onRequire: (...args) => lazyGetEngine().onRequire(...args), | ||
unescape: (...args) => lazyGetEngine().unescape(...args) | ||
}) | ||
} |
{ | ||
"name": "@jsreport/jsreport-handlebars", | ||
"version": "3.0.0", | ||
"version": "3.1.0", | ||
"description": "jsreport handlebars templating engine", | ||
@@ -26,8 +26,8 @@ "keywords": [ | ||
"devDependencies": { | ||
"@jsreport/jsreport-core": "3.5.0", | ||
"@jsreport/studio-dev": "3.1.0", | ||
"handlebars": "4.7.7", | ||
"@jsreport/jsreport-core": "3.0.0", | ||
"@jsreport/studio-dev": "3.0.0", | ||
"mocha": "5.0.1", | ||
"should": "13.2.3", | ||
"standard": "16.0.3" | ||
"standard": "16.0.4" | ||
}, | ||
@@ -34,0 +34,0 @@ "peerDependencies": { |
@@ -10,4 +10,8 @@ # @jsreport/jsreport-handlebars | ||
### 3.1.0 | ||
- engine expose new `.unescape` method | ||
### 3.0.0-beta.1 | ||
Adaptations for the v3 APIs |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
14366
17
1