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.3 to 3.4.4

10

lib/assetsShared.js

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

if (definition.options.searchOnDiskIfNotFoundInStore !== true) {
throw new Error(`Asset ${name} not found`)
throw reporter.createError(`Asset ${name} not found`, {
statusCode: 400,
weak: true
})
}

@@ -118,3 +121,6 @@

} catch (e) {
throw new Error(`Asset ${name} not found in the store and also not on the disk: ` + e.message)
throw reporter.createError(`Asset ${name} not found in the store and also not on the disk: ` + e.message, {
statusCode: 400,
weak: true
})
}

@@ -121,0 +127,0 @@

8

package.json
{
"name": "@jsreport/jsreport-assets",
"version": "3.4.3",
"version": "3.4.4",
"description": "jsreport extension embedding static assets like fonts or helpers into the templates",

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

"devDependencies": {
"@jsreport/jsreport-core": "3.7.0",
"@jsreport/jsreport-core": "3.8.0",
"@jsreport/jsreport-express": "3.4.2",
"@jsreport/jsreport-handlebars": "3.2.0",
"@jsreport/jsreport-handlebars": "3.2.1",
"@jsreport/jsreport-jsrender": "3.0.0",

@@ -53,3 +53,3 @@ "@jsreport/jsreport-scripts": "3.2.1",

"mocha": "8.2.1",
"moment": "2.29.1",
"moment": "2.29.4",
"should": "13.2.3",

@@ -56,0 +56,0 @@ "standard": "16.0.4",

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

### 3.4.4
- asset not found is marked as weak error
### 3.4.3

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