@jsreport/jsreport-scripts
Advanced tools
Comparing version 3.4.0 to 3.4.1
@@ -173,3 +173,13 @@ /*! | ||
if (typeof obj2[key] !== 'object' || typeof obj[key] === 'undefined') { | ||
if (Buffer.isBuffer(obj2[key])) { | ||
obj[key] = Buffer.from(obj2[key]) | ||
} else if (Object.prototype.toString.call(obj2[key]) === '[object Uint8Array]') { | ||
let newBuf = Buffer.from(obj2[key].buffer) | ||
if (obj2[key].byteLength !== obj2[key].buffer.byteLength) { | ||
newBuf = newBuf.slice(obj2[key].byteOffset, obj2[key].byteOffset + obj2[key].byteLength) | ||
} | ||
obj[key] = newBuf | ||
} else if (typeof obj2[key] !== 'object' || typeof obj[key] === 'undefined') { | ||
obj[key] = obj2[key] | ||
@@ -176,0 +186,0 @@ } else { |
{ | ||
"name": "@jsreport/jsreport-scripts", | ||
"version": "3.4.0", | ||
"version": "3.4.1", | ||
"description": "jsreport extension capable of running custom javascript functions during the rendering process", | ||
@@ -33,5 +33,5 @@ "keywords": [ | ||
"@jsreport/jsreport-assets": "3.6.0", | ||
"@jsreport/jsreport-core": "3.10.0", | ||
"@jsreport/jsreport-core": "3.11.0", | ||
"@jsreport/jsreport-jsrender": "3.0.0", | ||
"@jsreport/studio-dev": "3.2.0", | ||
"@jsreport/studio-dev": "3.2.1", | ||
"bluebird": "3.7.2", | ||
@@ -38,0 +38,0 @@ "mocha": "5.2.0", |
@@ -10,2 +10,10 @@ # @jsreport/jsreport-scripts | ||
### 3.4.1 | ||
- fix issue with `beforeRender`/`afterRender` scripts not being able to merge/replace existing buffers | ||
### 3.4.0 | ||
- add support for specifying what are the main document properties of scripts entitySet | ||
### 3.3.0 | ||
@@ -12,0 +20,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
96750
1526
35