@lskjs/tty
Advanced tools
Comparing version 3.1.1 to 3.2.2
@@ -1,3 +0,3 @@ | ||
declare const isTTY: any; | ||
declare const isTTY: boolean; | ||
export { isTTY as default, isTTY }; |
@@ -1,2 +0,2 @@ | ||
"use strict";var d=Object.defineProperty;var r=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var a=Object.prototype.hasOwnProperty;var p=(t,e)=>{for(var o in e)d(t,o,{get:e[o],enumerable:!0})},u=(t,e,o,f)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of s(e))!a.call(t,i)&&i!==o&&d(t,i,{get:()=>e[i],enumerable:!(f=r(e,i))||f.enumerable});return t};var l=t=>u(d({},"__esModule",{value:!0}),t);var x={};p(x,{default:()=>w,isTTY:()=>n});module.exports=l(x);var n=typeof window>"u"?require("tty").isatty(1):!1,w=n;0&&(module.exports={isTTY}); | ||
"use strict";var T=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var r=Object.getOwnPropertyNames;var c=Object.prototype.hasOwnProperty;var d=(s,o)=>{for(var t in o)T(s,t,{get:o[t],enumerable:!0})},f=(s,o,t,a)=>{if(o&&typeof o=="object"||typeof o=="function")for(let e of r(o))!c.call(s,e)&&e!==t&&T(s,e,{get:()=>o[e],enumerable:!(a=p(o,e))||a.enumerable});return s};var i=s=>f(T({},"__esModule",{value:!0}),s);var u={};d(u,{default:()=>n,isTTY:()=>l});module.exports=i(u);var l=Boolean(process?.stdout?.isTTY)||!1,n=l;0&&(module.exports={isTTY}); | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@lskjs/tty", | ||
"version": "3.1.1", | ||
"version": "3.2.2", | ||
"description": "LSK.js – tty – TTY detection for Node.js and browser", | ||
@@ -36,3 +36,3 @@ "author": "Igor Suvorov <hi@isuvorov.com> (https://github.com/isuvorov)", | ||
], | ||
"gitHead": "d27576d192c47aaf3f117313d611aead7d000ef7" | ||
"gitHead": "cd2576c42f18458d8bdcf10cd3d9ebe2be017f78" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
2
1
82487
17