New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@jsreport/jsreport-assets

Package Overview
Dependencies
Maintainers
0
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jsreport/jsreport-assets

jsreport extension embedding static assets like fonts or helpers into the templates

4.2.1
latest
Source
npm
Version published
Weekly downloads
2.6K
-14.71%
Maintainers
0
Weekly downloads
 
Created
Source

@jsreport/jsreport-assets

NPM Version

jsreport extension embedding static assets like fonts or helpers into the templates

See https://jsreport.net/learn/assets

Changelog

4.2.1

  • update deps to fix audit

4.2.0

  • add support for encoding buffer (handy when working in scripts/helpers that work directly with binary data)
  • update deps to fix npm audit

4.1.1

  • update @jsreport/office to fix set res.meta.fileExtension without starting .

4.1.0

  • internal changes to support new response.output api

4.0.2

  • update @jsreport/office

4.0.1

  • fix jsreport.config.json requires metadata for v4

4.0.0

  • minimum node.js version is now 18.15.0
  • update studio build against new webpack and babel

3.6.1

  • fix resolving assets as links

3.6.0

  • add support for specifying what are the main document properties of assets entitySet

3.5.0

  • errors from asset logic should be weak
  • validate that passed asset path is string

3.4.4

  • asset not found is marked as weak error

3.4.3

  • fix {#asset} resolving when there is leading/trailing space in asset name

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

  • fix asset link click from xlsx template preview
  • update to improve the display of templates with xlsx in studio

3.3.0

fix studio usage of old property scope, new one: sharedHelpersScope

3.0.1

  • use relative path to the currently evaluated entity (for example relative asset inside script should be relative to the script)

3.0.0-beta.1

Initial release for jsreport v3 New templating engine helpers introduced

{{#asset pathOrName}}

jsreport proxy extended with additional functions

const jsreport = require('jsreport-proxy')
jsreport.assets.read(path)
jsreport.assets.require(path)
jsreport.assets.registerHelpers(path)

Keywords

jsreport

FAQs

Package last updated on 27 Feb 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts