@jsreport/jsreport-scripts
Advanced tools
Comparing version 3.2.0 to 3.2.1
@@ -12,3 +12,2 @@ const extend = require('node.extend.without.arrays') | ||
const requestContextMetaConfig = reporter.getRequestContextMetaConfig() || {} | ||
const originalData = req.data | ||
@@ -159,9 +158,3 @@ const originalSharedContext = req.context.shared | ||
function isObject (input) { | ||
if (Object.prototype.toString.call(input) !== '[object Object]') { | ||
return false | ||
} | ||
const prototype = Object.getPrototypeOf(input) | ||
return prototype === null || prototype === Object.prototype | ||
return Object.prototype.toString.call(input) === '[object Object]' | ||
} |
@@ -142,2 +142,8 @@ /*! | ||
if (scriptExecResult.error) { | ||
throw this.reporter.createError(scriptExecResult.error.message, { | ||
weak: true | ||
}) | ||
} | ||
if (scriptExecResult.shouldRunAfterRender) { | ||
@@ -144,0 +150,0 @@ script.shouldRunAfterRender = true |
{ | ||
"name": "@jsreport/jsreport-scripts", | ||
"version": "3.2.0", | ||
"version": "3.2.1", | ||
"description": "jsreport extension capable of running custom javascript functions during the rendering process", | ||
@@ -32,6 +32,6 @@ "keywords": [ | ||
"devDependencies": { | ||
"@jsreport/jsreport-assets": "3.2.0", | ||
"@jsreport/jsreport-core": "3.3.0", | ||
"@jsreport/jsreport-assets": "3.4.2", | ||
"@jsreport/jsreport-core": "3.6.1", | ||
"@jsreport/jsreport-jsrender": "3.0.0", | ||
"@jsreport/studio-dev": "3.0.1", | ||
"@jsreport/studio-dev": "3.1.0", | ||
"bluebird": "3.7.2", | ||
@@ -38,0 +38,0 @@ "mocha": "5.2.0", |
@@ -10,2 +10,6 @@ # @jsreport/jsreport-scripts | ||
### 3.2.1 | ||
- fix cannot propagate req.data object changes from sandbox when trustUserCode is true | ||
### 3.0.1 | ||
@@ -12,0 +16,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
94800
1495
23