noupload 1.0.4 → 1.0.5

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/dist/index.js CHANGED
@@ -77812,6 +77812,13 @@ var main2 = defineCommand({
77812
77812
 
77813
77813
  // src/index.ts
77814
77814
  init_colors();
77815
+ process.removeAllListeners("warning");
77816
+ process.on("warning", (warning) => {
77817
+ if (warning.name === "DeprecationWarning" && warning.message.includes("punycode")) {
77818
+ return;
77819
+ }
77820
+ console.warn(warning);
77821
+ });
77815
77822
  var ORANGE = hex("#f59e0b");
77816
77823
  var PURPLE = hex("#a855f7");
77817
77824
  async function customShowUsage(cmd, parent) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "noupload",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "description": "Privacy-first CLI for PDF, Image, Audio, and QR operations - all processed locally",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
package/src/index.ts CHANGED
@@ -1,4 +1,14 @@
1
1
  #!/usr/bin/env node
2
+
3
+ // Suppress punycode deprecation warning from dependencies
4
+ process.removeAllListeners('warning');
5
+ process.on('warning', (warning) => {
6
+ if (warning.name === 'DeprecationWarning' && warning.message.includes('punycode')) {
7
+ return;
8
+ }
9
+ console.warn(warning);
10
+ });
11
+
2
12
  import { renderUsage, runMain } from 'citty';
3
13
  import { main } from './cli';
4
14
  import { hex } from './utils/colors';