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

certificate-create

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

certificate-create - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

8

index.js

@@ -14,4 +14,3 @@ import fs from "fs";

ExportImage(imagePath = "DMK.png",name = "Cert.png") {
ExportImage(imagePath = "DMK.png", name = "Cert.png") {
canvas.loadImage(imagePath).then((image) => {

@@ -30,3 +29,3 @@ this.context.drawImage(image, 0, 0, this.width, this.height);

this.buffer = this.canvas.toBuffer("image/png");
fs.writeFileSync(name, this.buffer);
fs.writeFileSync(name, this.buffer);
console.log("export image : " + name);

@@ -49,3 +48,2 @@ return this.buffer;

export default CCreate;
export default { CCreate };
{
"name": "certificate-create",
"version": "1.0.0",
"version": "1.0.1",
"description": "This script will help you to create a Certificate",
"main": "server.js",
"main": "index.js",
"type": "module",

@@ -7,0 +7,0 @@ "scripts": {

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