@jsreport/jsreport-localization
Advanced tools
Comparing version 3.0.0 to 3.0.1
@@ -39,3 +39,3 @@ const fs = require('fs').promises | ||
const localizationDataPath = path.posix.join(folder, `${language || 'en'}.json`) | ||
const resolvedValue = await proxy.folders.resolveEntityFromPath(localizationDataPath, 'assets') | ||
const resolvedValue = await proxy.folders.resolveEntityFromPath(localizationDataPath, 'assets', { currentPath: proxy.currentPath }) | ||
@@ -42,0 +42,0 @@ if (!resolvedValue) { |
{ | ||
"name": "@jsreport/jsreport-localization", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"description": "jsreport extension adding localize helper", | ||
@@ -36,6 +36,7 @@ "keywords": [ | ||
"handlebars": "4.7.7", | ||
"@jsreport/jsreport-assets": "3.0.0", | ||
"@jsreport/jsreport-core": "3.0.0", | ||
"@jsreport/jsreport-assets": "3.0.1", | ||
"@jsreport/jsreport-core": "3.1.0", | ||
"@jsreport/jsreport-components": "3.0.0", | ||
"@jsreport/jsreport-handlebars": "3.0.0", | ||
"@jsreport/studio-dev": "3.0.0", | ||
"@jsreport/studio-dev": "3.0.1", | ||
"mocha": "8.3.2", | ||
@@ -42,0 +43,0 @@ "should": "13.2.3", |
@@ -10,2 +10,6 @@ # jsreport-localization | ||
### 3.0.1 | ||
- use relative path to the currently evaluated entity (when localization is used from script the current path is equal to the running script) | ||
### 3.0.0-beta.1 | ||
@@ -12,0 +16,0 @@ |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
19828
18
0
9