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

pdfmake

Package Overview
Dependencies
Maintainers
4
Versions
103
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pdfmake - npm Package Compare versions

Comparing version 0.1.51 to 0.1.52

2

package.json
{
"name": "pdfmake",
"version": "0.1.51",
"version": "0.1.52",
"description": "Client/server side PDF printing in pure JavaScript",

@@ -5,0 +5,0 @@ "main": "src/printer.js",

@@ -87,2 +87,27 @@ var path = require('path');

},
/* temporary bugfix for pdfkit version 0.9.0 - issue https://github.com/foliojs/pdfkit/issues/923 */
/* waiting to release included PR https://github.com/foliojs/pdfkit/pull/925 */
{test: /pdfkit[/\\]js[/\\]/, loader: StringReplacePlugin.replace({
replacements: [
{
pattern: "stringBuffer = swapBytes(new Buffer(",
replacement: function () {
return "stringBuffer = swapBytes(Buffer.from(";
}
}
]})
},
{test: /pdfkit[/\\]js[/\\]/, loader: StringReplacePlugin.replace({
replacements: [
{
pattern: "stringBuffer = new Buffer(string, 'ascii');",
replacement: function () {
return "stringBuffer = Buffer.from(string.valueOf(), 'ascii');";
}
}
]})
},
/* *** */
{enforce: 'post', test: /fontkit[/\\]index.js$/, loader: "transform-loader?brfs"},

@@ -89,0 +114,0 @@ {enforce: 'post', test: /unicode-properties[/\\]index.js$/, loader: "transform-loader?brfs"},

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

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