@jsreport/jsreport-assets
Advanced tools
Comparing version 3.4.2 to 3.4.3
@@ -25,7 +25,7 @@ const util = require('util') | ||
function convert (str, p1, offset, s, done) { | ||
const assetName = (p1.indexOf(' @') !== -1) ? p1.substring(0, p1.indexOf(' @')) : p1 | ||
const assetName = ((p1.indexOf(' @') !== -1) ? p1.substring(0, p1.indexOf(' @')) : p1).trim() | ||
let encoding = 'utf8' | ||
if (p1.indexOf(' @') !== -1) { | ||
const paramRaw = p1.replace(assetName, '').replace(' @', '') | ||
const paramRaw = (p1.replace(assetName, '').replace(' @', '')).trim() | ||
@@ -32,0 +32,0 @@ if (paramRaw.split('=').length !== 2) { |
{ | ||
"name": "@jsreport/jsreport-assets", | ||
"version": "3.4.2", | ||
"version": "3.4.3", | ||
"description": "jsreport extension embedding static assets like fonts or helpers into the templates", | ||
@@ -44,8 +44,8 @@ "keywords": [ | ||
"devDependencies": { | ||
"@jsreport/jsreport-core": "3.6.0", | ||
"@jsreport/jsreport-express": "3.4.1", | ||
"@jsreport/jsreport-handlebars": "3.1.0", | ||
"@jsreport/jsreport-core": "3.7.0", | ||
"@jsreport/jsreport-express": "3.4.2", | ||
"@jsreport/jsreport-handlebars": "3.2.0", | ||
"@jsreport/jsreport-jsrender": "3.0.0", | ||
"@jsreport/jsreport-scripts": "3.2.0", | ||
"@jsreport/studio-dev": "3.1.0", | ||
"@jsreport/jsreport-scripts": "3.2.1", | ||
"@jsreport/studio-dev": "3.2.0", | ||
"binary-extensions": "1.12.0", | ||
@@ -52,0 +52,0 @@ "mocha": "8.2.1", |
@@ -11,2 +11,6 @@ # @jsreport/jsreport-assets | ||
### 3.4.3 | ||
- fix {#asset} resolving when there is leading/trailing space in asset name | ||
### 3.4.2 | ||
@@ -13,0 +17,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
227635
52