Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@jsreport/jsreport-scripts

Package Overview
Dependencies
Maintainers
2
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jsreport/jsreport-scripts - npm Package Compare versions

Comparing version 3.4.0 to 3.4.1

12

lib/worker.js

@@ -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 {

6

package.json
{
"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 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc