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

@jsreport/jsreport-localization

Package Overview
Dependencies
Maintainers
2
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jsreport/jsreport-localization - npm Package Compare versions

Comparing version 3.2.1 to 3.2.2

2

lib/worker.js

@@ -16,3 +16,3 @@ const fs = require('fs').promises

reporter.beforeRenderListeners.add(definition.name, (req) => {
if (req.template.localization?.language != null && req.options.localization?.language == null) {
if (req.template.localization?.language != null && req.options.localization?.language == null && req.options.language == null) {
req.options.localization = Object.assign({}, req.options.localization, { language: req.template.localization.language })

@@ -19,0 +19,0 @@ }

{
"name": "@jsreport/jsreport-localization",
"version": "3.2.1",
"version": "3.2.2",
"description": "jsreport extension adding localize helper",

@@ -36,8 +36,8 @@ "keywords": [

"handlebars": "4.7.7",
"@jsreport/jsreport-assets": "3.4.2",
"@jsreport/jsreport-core": "3.6.0",
"@jsreport/jsreport-components": "3.2.1",
"@jsreport/jsreport-child-templates": "3.0.3",
"@jsreport/jsreport-handlebars": "3.1.0",
"@jsreport/studio-dev": "3.1.0",
"@jsreport/jsreport-assets": "3.6.0",
"@jsreport/jsreport-core": "3.11.0",
"@jsreport/jsreport-components": "3.3.0",
"@jsreport/jsreport-child-templates": "3.1.0",
"@jsreport/jsreport-handlebars": "3.2.1",
"@jsreport/studio-dev": "3.2.1",
"mocha": "8.3.2",

@@ -44,0 +44,0 @@ "should": "13.2.3",

@@ -10,2 +10,6 @@ # jsreport-localization

### 3.2.2
- use old `req.options.language` when `req.template.localization` is empty
### 3.2.1

@@ -12,0 +16,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