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

@jsreport/jsreport-pptx

Package Overview
Dependencies
Maintainers
2
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jsreport/jsreport-pptx - npm Package Compare versions

Comparing version 3.0.0 to 3.0.1

13

lib/worker.js

@@ -5,3 +5,2 @@ const path = require('path')

module.exports = (reporter, definition) => {
let helpersScript
reporter.extensionsManager.recipes.push({

@@ -20,10 +19,10 @@ name: 'pptx',

let helpersScript
reporter.initializeListeners.add('pptx', async () => {
helpersScript = await fs.readFile(path.join(__dirname, '../static/helpers.js'), 'utf8')
})
reporter.beforeRenderListeners.insert({ after: 'templates' }, 'pptx', async (req) => {
if (req.template.recipe === 'pptx') {
if (!helpersScript) {
helpersScript = await fs.readFile(path.join(__dirname, '../static/helpers.js'), 'utf8')
}
req.template.helpers = helpersScript + '\n' + (req.template.helpers || '')
}
req.context.systemHelpers += helpersScript + '\n'
})
}
{
"name": "@jsreport/jsreport-pptx",
"version": "3.0.0",
"version": "3.0.1",
"description": "jsreport recipe rendering pptx files",

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

"dependencies": {
"image-size": "0.7.4",
"@jsreport/office": "3.0.0",
"@xmldom/xmldom": "0.7.0"
"@xmldom/xmldom": "0.7.0",
"image-size": "0.7.4"
},
"devDependencies": {
"@jsreport/jsreport-assets": "3.0.1",
"@jsreport/jsreport-core": "3.1.0",
"@jsreport/jsreport-handlebars": "3.0.0",
"@jsreport/studio-dev": "3.0.1",
"handlebars": "4.7.7",
"@jsreport/jsreport-assets": "3.0.0",
"@jsreport/jsreport-core": "3.0.0",
"@jsreport/jsreport-handlebars": "3.0.0",
"@jsreport/studio-dev": "3.0.0",
"mocha": "6.1.4",

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

@@ -10,2 +10,6 @@ # @jsreport/jsreport-pptx

### 3.0.1
- fix errorLine in stack trace when propagating from pptx
### 3.0.0-beta.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