@jsreport/jsreport-assets
Advanced tools
Comparing version 3.4.1 to 3.4.2
@@ -23,3 +23,3 @@ const fs = require('fs/promises') | ||
if (reporter.options.allowLocalFilesAccess === true && !definition.options.allowedFiles && definition.options.searchOnDiskIfNotFoundInStore == null) { | ||
if (reporter.options.trustUserCode === true && !definition.options.allowedFiles && definition.options.searchOnDiskIfNotFoundInStore == null) { | ||
definition.options.allowedFiles = '**/*.*' | ||
@@ -26,0 +26,0 @@ definition.options.searchOnDiskIfNotFoundInStore = true |
@@ -85,3 +85,3 @@ const util = require('util') | ||
reporter.registerHelpersListeners.add(definition.name, (req) => { | ||
reporter.registerHelpersListeners.add(definition.name, () => { | ||
return assetHelpers | ||
@@ -88,0 +88,0 @@ }) |
{ | ||
"name": "@jsreport/jsreport-assets", | ||
"version": "3.4.1", | ||
"version": "3.4.2", | ||
"description": "jsreport extension embedding static assets like fonts or helpers into the templates", | ||
@@ -44,4 +44,4 @@ "keywords": [ | ||
"devDependencies": { | ||
"@jsreport/jsreport-core": "3.5.0", | ||
"@jsreport/jsreport-express": "3.4.0", | ||
"@jsreport/jsreport-core": "3.6.0", | ||
"@jsreport/jsreport-express": "3.4.1", | ||
"@jsreport/jsreport-handlebars": "3.1.0", | ||
@@ -48,0 +48,0 @@ "@jsreport/jsreport-jsrender": "3.0.0", |
@@ -11,2 +11,11 @@ # @jsreport/jsreport-assets | ||
### 3.4.2 | ||
- changes to enable new `trustUserCode` option | ||
- changes to enable caching of system helpers | ||
### 3.4.1 | ||
- make asset editor component's code active display configurable | ||
### 3.4.0 | ||
@@ -13,0 +22,0 @@ |
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
227529
48