@jsreport/jsreport-core
Advanced tools
Comparing version 3.3.0 to 3.4.0
@@ -136,11 +136,5 @@ const path = require('path') | ||
if (realExtensionName !== extensionKey && obj.value[realExtensionName]) { | ||
obj.value[realExtensionName] = extend( | ||
true, | ||
obj.value[realExtensionName], | ||
currentValue | ||
) | ||
} else { | ||
obj.value[realExtensionName] = currentValue | ||
} | ||
// the camelCase key version should already contain all merged values | ||
// (from both the real extension name with "-" and camel case) | ||
obj.value[realExtensionName] = currentValue | ||
}) | ||
@@ -147,0 +141,0 @@ } else if (!normalize && obj.key.startsWith('extensions')) { |
@@ -408,2 +408,3 @@ /*! | ||
res.stream = Readable.from(res.content) | ||
await this.afterRenderListeners.fire(req, res) | ||
return res | ||
@@ -410,0 +411,0 @@ } |
@@ -11,3 +11,3 @@ const extend = require('node.extend.without.arrays') | ||
this.reporter.addRequestContextMetaConfig('profiling', { sandboxReadOnly: true }) | ||
this.reporter.addRequestContextMetaConfig('profiling', { sandboxHidden: true }) | ||
this.reporter.addRequestContextMetaConfig('resolvedTemplate', { sandboxHidden: true }) | ||
@@ -97,3 +97,3 @@ | ||
req.context.profiling.resLastVal = res.content | ||
req.context.profiling.resLastVal = (res.content == null || isbinaryfile(res.content)) ? null : res.content.toString() | ||
req.context.profiling.resMetaLastVal = stringifiedResMeta | ||
@@ -100,0 +100,0 @@ req.context.profiling.reqLastVal = stringifiedReq |
{ | ||
"name": "@jsreport/jsreport-core", | ||
"version": "3.3.0", | ||
"version": "3.4.0", | ||
"description": "javascript based business reporting", | ||
@@ -56,4 +56,4 @@ "keywords": [ | ||
"ms": "2.1.3", | ||
"nanoid": "3.1.16", | ||
"nconf": "0.10.0", | ||
"nanoid": "3.2.0", | ||
"nconf": "0.11.3", | ||
"node.extend.without.arrays": "1.1.6", | ||
@@ -60,0 +60,0 @@ "reap2": "1.0.1", |
@@ -285,2 +285,9 @@ # @jsreport/jsreport-core | ||
### 3.4.0 | ||
- fix for reports execution | ||
- fix for render profiling | ||
- fix for blob storage remove | ||
- update deps to fix npm audit | ||
### 3.1.0 | ||
@@ -287,0 +294,0 @@ |
@@ -21,2 +21,6 @@ module.exports = (storage) => { | ||
}) | ||
it('remove shouldnt fail for missing blob', async () => { | ||
await storage().remove('foo') | ||
}) | ||
} |
336612
306
8312
+ Addedansi-regex@5.0.1(transitive)
+ Addedansi-styles@4.3.0(transitive)
+ Addedcliui@7.0.4(transitive)
+ Addedcolor-convert@2.0.1(transitive)
+ Addedcolor-name@1.1.4(transitive)
+ Addedemoji-regex@8.0.0(transitive)
+ Addedescalade@3.2.0(transitive)
+ Addedget-caller-file@2.0.5(transitive)
+ Addedini@2.0.0(transitive)
+ Addedis-fullwidth-code-point@3.0.0(transitive)
+ Addednanoid@3.2.0(transitive)
+ Addednconf@0.11.3(transitive)
+ Addedrequire-directory@2.1.1(transitive)
+ Addedstring-width@4.2.3(transitive)
+ Addedstrip-ansi@6.0.1(transitive)
+ Addedwrap-ansi@7.0.0(transitive)
+ Addedy18n@5.0.8(transitive)
+ Addedyargs@16.2.0(transitive)
+ Addedyargs-parser@20.2.9(transitive)
- Removedansi-regex@2.1.1(transitive)
- Removedcamelcase@2.1.1(transitive)
- Removedcliui@3.2.0(transitive)
- Removedcode-point-at@1.1.0(transitive)
- Removeddecamelize@1.2.0(transitive)
- Removedini@1.3.8(transitive)
- Removedinvert-kv@1.0.0(transitive)
- Removedis-fullwidth-code-point@1.0.0(transitive)
- Removedlcid@1.0.0(transitive)
- Removednanoid@3.1.16(transitive)
- Removednconf@0.10.0(transitive)
- Removednumber-is-nan@1.0.1(transitive)
- Removedos-locale@1.4.0(transitive)
- Removedstring-width@1.0.2(transitive)
- Removedstrip-ansi@3.0.1(transitive)
- Removedwindow-size@0.1.4(transitive)
- Removedwrap-ansi@2.1.0(transitive)
- Removedy18n@3.2.2(transitive)
- Removedyargs@3.32.0(transitive)
Updatednanoid@3.2.0
Updatednconf@0.11.3