diff --git a/sdk/bin/index.js b/sdk/bin/index.js index a07d09152f..3eebceed70 100644 --- a/sdk/bin/index.js +++ b/sdk/bin/index.js @@ -7,8 +7,6 @@ const axios = require('axios').create({ const process = require('process'); const path = require('path'); const fs = require('fs'); -const chalk = require('chalk'); - function getUserHome() { const ret = process.env[(process.platform == 'win32') ? 'USERPROFILE' : 'HOME']; @@ -127,7 +125,7 @@ exports.deploy = function (debugHost, noRebind) { .catch((err) => { console.error(err.message); if (err.response && err.response.data) { - console.log(chalk.red(err.response.data)); + console.log('\x1b[31m%s\x1b[0m', err.response.data); } reject(err); }); @@ -160,7 +158,7 @@ exports.debug = function (debugHost, entryPoint) { .catch((err) => { console.error(err.message); if (err.response && err.response.data) { - console.log(chalk.red(err.response.data)); + console.log('\x1b[31m%s\x1b[0m', err.response.data); } reject(err); }); diff --git a/sdk/package-lock.json b/sdk/package-lock.json index b19a5bd539..d34d779e8c 100644 --- a/sdk/package-lock.json +++ b/sdk/package-lock.json @@ -1,12 +1,12 @@ { "name": "@scrypted/sdk", - "version": "0.3.102", + "version": "0.3.103", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@scrypted/sdk", - "version": "0.3.102", + "version": "0.3.103", "license": "ISC", "dependencies": { "@babel/preset-typescript": "^7.26.0", diff --git a/sdk/package.json b/sdk/package.json index 6af149732b..623b16cfab 100644 --- a/sdk/package.json +++ b/sdk/package.json @@ -1,6 +1,6 @@ { "name": "@scrypted/sdk", - "version": "0.3.102", + "version": "0.3.103", "description": "", "main": "dist/src/index.js", "exports": { diff --git a/sdk/types/package-lock.json b/sdk/types/package-lock.json index 643be01b10..2207051c4e 100644 --- a/sdk/types/package-lock.json +++ b/sdk/types/package-lock.json @@ -1,12 +1,12 @@ { "name": "@scrypted/types", - "version": "0.3.94", + "version": "0.3.95", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@scrypted/types", - "version": "0.3.94", + "version": "0.3.95", "license": "ISC" } } diff --git a/sdk/types/package.json b/sdk/types/package.json index 6e43ff3c2d..805f8bc7af 100644 --- a/sdk/types/package.json +++ b/sdk/types/package.json @@ -1,6 +1,6 @@ { "name": "@scrypted/types", - "version": "0.3.94", + "version": "0.3.95", "description": "", "main": "dist/index.js", "author": "", diff --git a/sdk/types/scrypted_python/scrypted_sdk/types.py b/sdk/types/scrypted_python/scrypted_sdk/types.py index 2475bcaff1..c225cc9b0c 100644 --- a/sdk/types/scrypted_python/scrypted_sdk/types.py +++ b/sdk/types/scrypted_python/scrypted_sdk/types.py @@ -951,7 +951,7 @@ class TamperState(TypedDict): pass -TYPES_VERSION = "0.3.94" +TYPES_VERSION = "0.3.95" class AirPurifier: