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

icon-maker-loader

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

icon-maker-loader - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

.tmp/fa4f0510-f37c-4539-bb13-fbe37b943afe/bla.css

20

index.js

@@ -18,7 +18,19 @@ const loaderUtils = require('loader-utils');

Promise.all(outFont.fontFiles.map(fontFile => new Promise((resolve, reject) => {
fs.writeFile(path.join(tmpFolder, path.basename(fontFile.path)), fontFile.contents.toString(), writeErr => {
if (writeErr) {
reject(writeErr);
fs.open(path.join(tmpFolder, path.basename(fontFile.path)), 'a', (openErr, fd) => {
if (openErr) {
reject(openErr);
} else {
resolve();
fs.write(fd, fontFile.contents, 0, fontFile.contents.length, writeErr => {
if (writeErr) {
reject(writeErr);
} else {
fs.close(fd, closeErr => {
if (closeErr) {
reject(closeErr);
} else {
resolve();
}
});
}
});
}

@@ -25,0 +37,0 @@ });

2

package.json
{
"name": "icon-maker-loader",
"version": "0.1.2",
"version": "0.1.3",
"description": "",

@@ -5,0 +5,0 @@ "main": "index.js",

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