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.0.1 to 3.1.0

21

jsreport.config.js

@@ -6,20 +6,2 @@

worker: 'lib/worker.js',
optionsSchema: {
extensions: {
scripts: {
type: 'object',
properties: {
allowedModules: {
anyOf: [{
type: 'string',
'$jsreport-constantOrArray': ['*']
}, {
type: 'array',
items: { type: 'string' }
}]
}
}
}
}
},
dependencies: ['data'],

@@ -29,4 +11,3 @@ requires: {

studio: '3.x.x'
},
embeddedSupport: true
}
}

2

lib/executeScript.js

@@ -122,3 +122,3 @@ const extend = require('node.extend.without.arrays')

propertiesConfig: Object.keys(requestContextMetaConfig).reduce((acu, prop) => {
// configure properties inside the context of sandbox
// configure properties inside the context of sandbox
acu[`__request.context.${prop}`] = requestContextMetaConfig[prop]

@@ -125,0 +125,0 @@ return acu

@@ -8,9 +8,2 @@ /*!

module.exports = function (reporter, definition) {
if (reporter.options.allowLocalFilesAccess === true && !definition.options.allowedModules) {
definition.options.allowedModules = '*'
}
definition.options.allowedModules = definition.options.allowedModules || []
reporter.options.scripts = definition.options
reporter.documentStore.registerEntityType('ScriptType', {

@@ -17,0 +10,0 @@ content: { type: 'Edm.String', document: { extension: 'js' } },

{
"name": "@jsreport/jsreport-scripts",
"version": "3.0.1",
"version": "3.1.0",
"description": "jsreport extension capable of running custom javascript functions during the rendering process",

@@ -32,4 +32,4 @@ "keywords": [

"devDependencies": {
"@jsreport/jsreport-assets": "3.0.1",
"@jsreport/jsreport-core": "3.1.0",
"@jsreport/jsreport-assets": "3.1.0",
"@jsreport/jsreport-core": "3.2.0",
"@jsreport/jsreport-jsrender": "3.0.0",

@@ -40,3 +40,3 @@ "@jsreport/studio-dev": "3.0.1",

"should": "13.2.3",
"standard": "16.0.3"
"standard": "16.0.4"
},

@@ -43,0 +43,0 @@ "engines": {

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