@jacebenson/jsn 4.5.1-dev.118.1 → 4.5.1-dev.119.1
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 +1 -1
- package/bin/jsn.js +0 -14
- package/package.json +1 -4
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@ A command-line interface for ServiceNow. Read and update records, manage flows,
|
|
|
4
4
|
|
|
5
5
|
## Install
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
Supports the current Node.js LTS release. Supports macOS, Linux, and Windows.
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
10
|
npm install -g @jacebenson/jsn
|
package/bin/jsn.js
CHANGED
|
@@ -7,20 +7,6 @@ process.stdout.on('error', (err) => {
|
|
|
7
7
|
throw err;
|
|
8
8
|
});
|
|
9
9
|
|
|
10
|
-
// Suppress the node:sqlite experimental warning on Node 22.x.
|
|
11
|
-
// SQLite is stable in Node 24+. The patch must be applied before any
|
|
12
|
-
// module imports node:sqlite, so we use a dynamic import after patching.
|
|
13
|
-
const originalEmitWarning = process.emitWarning;
|
|
14
|
-
process.emitWarning = function emitWarning(warning, ...args) {
|
|
15
|
-
const message = typeof warning === 'string'
|
|
16
|
-
? warning
|
|
17
|
-
: (warning?.message || '');
|
|
18
|
-
if (message.includes('SQLite')) {
|
|
19
|
-
return;
|
|
20
|
-
}
|
|
21
|
-
return originalEmitWarning.apply(this, [warning, ...args]);
|
|
22
|
-
};
|
|
23
|
-
|
|
24
10
|
import('../src/cli.js').then(async (m) => {
|
|
25
11
|
try {
|
|
26
12
|
await m.cli.parse();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jacebenson/jsn",
|
|
3
|
-
"version": "4.5.1-dev.
|
|
3
|
+
"version": "4.5.1-dev.119.1",
|
|
4
4
|
"description": "A command-line interface for ServiceNow that follows the Unix philosophy: simple, composable, and scriptable.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -24,9 +24,6 @@
|
|
|
24
24
|
"author": "Jace Benson",
|
|
25
25
|
"repository": "https://github.com/jacebenson/jsn",
|
|
26
26
|
"license": "MIT",
|
|
27
|
-
"engines": {
|
|
28
|
-
"node": ">=22.5.0"
|
|
29
|
-
},
|
|
30
27
|
"dependencies": {
|
|
31
28
|
"@inquirer/core": "^10.3.2",
|
|
32
29
|
"@inquirer/prompts": "^7.10.1",
|