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

fodec

Package Overview
Dependencies
Maintainers
0
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fodec - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

12

bin/fodec.js

@@ -5,12 +5,2 @@ #!/usr/bin/env node

app.run(process.argv).then((res) => {
if(!res) {
return;
}
process.stdout.write(res);
process.stdout.write("\n");
}).catch((err) => {
process.stderr.write(err.message);
process.stdout.write("\n");
});
app.run();

2

lib/cli/App.d.ts

@@ -11,3 +11,3 @@ import { Cli } from "@kearisp/cli";

build(): Promise<void>;
run(): Promise<string | void>;
run(): Promise<void>;
}

@@ -113,5 +113,15 @@ "use strict";

async run() {
return this.cli.run(process.argv);
try {
const res = await this.cli.run(process.argv);
if (res) {
process.stdout.write(res);
process.stdout.write("\n");
}
}
catch (err) {
process.stderr.write(err.message);
process.stdout.write("\n");
}
}
}
exports.App = App;

@@ -6,4 +6,4 @@ export declare class Fodec {

transformJson(data: any): Promise<any>;
transformFont(fontPath: string): Promise<string | ArrayBuffer | undefined>;
transformFontV1(fontPath: string): Promise<string | ArrayBuffer | undefined>;
transformFont(fontPath: string): Promise<import("fonteditor-core").FontEditor.FontOutput | undefined>;
transformFontV1(fontPath: string): Promise<import("fonteditor-core").FontEditor.FontOutput | undefined>;
}
{
"name": "fodec",
"version": "1.0.1",
"version": "1.0.2",
"author": "Kris Papercut <krispcut@gmail.com>",

@@ -30,3 +30,3 @@ "description": "Font encoder",

"dependencies": {
"@kearisp/cli": "^2.0.0",
"@kearisp/cli": "^2.0.4",
"@wocker/utils": "^1.0.2",

@@ -38,5 +38,5 @@ "fonteditor-core": "^2.3.2",

"devDependencies": {
"@types/node": "^20.11.5",
"@types/node": "^22.10.2",
"typescript": "^5.3.3"
}
}
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