diff --git a/bin/smee.js b/bin/smee.js index 3255dbf..a704acc 100755 --- a/bin/smee.js +++ b/bin/smee.js @@ -1,6 +1,6 @@ #!/usr/bin/env node -const program = require('commander') +const { program } = require('commander') const { version } = require('../package.json') const Client = require('..') diff --git a/package-lock.json b/package-lock.json index 67dc8a0..8941a78 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "0.0.0-development", "license": "ISC", "dependencies": { - "commander": "^11.1.0", + "commander": "^12.0.0", "eventsource": "^2.0.2", "validator": "^13.11.0" }, @@ -1079,11 +1079,11 @@ } }, "node_modules/commander": { - "version": "11.1.0", - "resolved": "https://registry.npmjs.org/commander/-/commander-11.1.0.tgz", - "integrity": "sha512-yPVavfyCcRhmorC7rWlkHn15b4wDVgVmBA7kV4QVBsF7kv/9TKJAbAXVTxvTnwP8HHKjRCJDClKbciiYS7p0DQ==", + "version": "12.0.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-12.0.0.tgz", + "integrity": "sha512-MwVNWlYjDTtOjX5PiD7o5pK0UrFU/OYgcJfjjK4RaHZETNtjJqrZa9Y9ds88+A+f+d5lv+561eZ+yCKoS3gbAA==", "engines": { - "node": ">=16" + "node": ">=18" } }, "node_modules/concat-map": { diff --git a/package.json b/package.json index 58cc32e..494aad6 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ "author": "", "license": "ISC", "dependencies": { - "commander": "^11.1.0", + "commander": "^12.0.0", "eventsource": "^2.0.2", "validator": "^13.11.0" },