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

@jsreport/jsreport-assets

Package Overview
Dependencies
Maintainers
2
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jsreport/jsreport-assets - npm Package Compare versions

Comparing version 3.4.1 to 3.4.2

2

lib/main.js

@@ -23,3 +23,3 @@ const fs = require('fs/promises')

if (reporter.options.allowLocalFilesAccess === true && !definition.options.allowedFiles && definition.options.searchOnDiskIfNotFoundInStore == null) {
if (reporter.options.trustUserCode === true && !definition.options.allowedFiles && definition.options.searchOnDiskIfNotFoundInStore == null) {
definition.options.allowedFiles = '**/*.*'

@@ -26,0 +26,0 @@ definition.options.searchOnDiskIfNotFoundInStore = true

@@ -85,3 +85,3 @@ const util = require('util')

reporter.registerHelpersListeners.add(definition.name, (req) => {
reporter.registerHelpersListeners.add(definition.name, () => {
return assetHelpers

@@ -88,0 +88,0 @@ })

{
"name": "@jsreport/jsreport-assets",
"version": "3.4.1",
"version": "3.4.2",
"description": "jsreport extension embedding static assets like fonts or helpers into the templates",

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

"devDependencies": {
"@jsreport/jsreport-core": "3.5.0",
"@jsreport/jsreport-express": "3.4.0",
"@jsreport/jsreport-core": "3.6.0",
"@jsreport/jsreport-express": "3.4.1",
"@jsreport/jsreport-handlebars": "3.1.0",

@@ -48,0 +48,0 @@ "@jsreport/jsreport-jsrender": "3.0.0",

@@ -11,2 +11,11 @@ # @jsreport/jsreport-assets

### 3.4.2
- changes to enable new `trustUserCode` option
- changes to enable caching of system helpers
### 3.4.1
- make asset editor component's code active display configurable
### 3.4.0

@@ -13,0 +22,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