@blazediff/cli 3.2.3 → 4.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -2,8 +2,8 @@
2
2
 
3
3
  <div align="center">
4
4
 
5
- [![npm bundle size](https://img.shields.io/npm/unpacked-size/%40blazediff%2Fcli)](https://www.npmjs.com/package/@blazediff/cli)
6
- [![NPM Downloads](https://img.shields.io/npm/dy/%40blazediff%2Fcli)](https://www.npmjs.com/package/@blazediff/cli)
5
+ [![npm bundle size](https://img.shields.io/npm/unpacked-size/%40blazediff%2Fcli?style=for-the-badge)](https://www.npmjs.com/package/@blazediff/cli)
6
+ [![NPM Downloads](https://img.shields.io/npm/dy/%40blazediff%2Fcli?style=for-the-badge)](https://www.npmjs.com/package/@blazediff/cli)
7
7
 
8
8
  </div>
9
9
 
package/dist/cli.js CHANGED
@@ -124,16 +124,6 @@ async function main() {
124
124
  case "--interpret":
125
125
  options.interpret = true;
126
126
  break;
127
- case "--output-format":
128
- if (nextArg === "png" || nextArg === "html") {
129
- options.outputFormat = nextArg;
130
- i3++;
131
- } else {
132
- throw new Error(
133
- `Invalid output format: ${nextArg}. Must be "png" or "html"`
134
- );
135
- }
136
- break;
137
127
  default:
138
128
  console.error(`Unknown option: ${arg}`);
139
129
  printUsage();
@@ -111,16 +111,6 @@ async function main() {
111
111
  case "--interpret":
112
112
  options.interpret = true;
113
113
  break;
114
- case "--output-format":
115
- if (nextArg === "png" || nextArg === "html") {
116
- options.outputFormat = nextArg;
117
- i++;
118
- } else {
119
- throw new Error(
120
- `Invalid output format: ${nextArg}. Must be "png" or "html"`
121
- );
122
- }
123
- break;
124
114
  default:
125
115
  console.error(`Unknown option: ${arg}`);
126
116
  printUsage();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blazediff/cli",
3
- "version": "3.2.3",
3
+ "version": "4.0.0",
4
4
  "description": "Command-line interface for the blazediff image comparison library",
5
5
  "private": false,
6
6
  "publishConfig": {
@@ -37,9 +37,9 @@
37
37
  "homepage": "https://blazediff.dev",
38
38
  "license": "MIT",
39
39
  "dependencies": {
40
- "@blazediff/core-native": "4.3.3",
40
+ "@blazediff/core-native": "5.0.0",
41
41
  "@blazediff/core": "1.9.2",
42
- "@blazediff/core-wasm": "4.3.3",
42
+ "@blazediff/core-wasm": "5.0.0",
43
43
  "@blazediff/gmsd": "1.7.1",
44
44
  "@blazediff/codec-pngjs": "4.0.0",
45
45
  "@blazediff/codec-sharp": "4.0.0",