@treasuredata/tdx 0.2.4 → 0.2.6
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/build-info.json +2 -2
- package/dist/cli.js +1 -1
- package/dist/client/cdp-client.js +1 -1
- package/dist/client/http-client.js +1 -1
- package/dist/client/llm-client.js +1 -1
- package/dist/client/rate-limiter.js +1 -1
- package/dist/client/td-client.js +1 -1
- package/dist/client/trino-client.js +1 -1
- package/dist/client/workflow-client.js +1 -1
- package/dist/commands/activations.js +1 -1
- package/dist/commands/api-command.js +1 -1
- package/dist/commands/chat-command.js +1 -1
- package/dist/commands/claude-command.js +1 -1
- package/dist/commands/command.js +1 -1
- package/dist/commands/context-command.js +1 -1
- package/dist/commands/databases.js +1 -1
- package/dist/commands/describe.js +1 -1
- package/dist/commands/job-command.js +1 -1
- package/dist/commands/llm-command.js +1 -1
- package/dist/commands/llm-proxy.js +1 -1
- package/dist/commands/parent-segment-command.js +1 -1
- package/dist/commands/profiles-command.js +1 -1
- package/dist/commands/query-command.js +1 -1
- package/dist/commands/segment-command.js +1 -1
- package/dist/commands/segment-create-command.js +1 -1
- package/dist/commands/segment-fields-command.js +1 -1
- package/dist/commands/segment-pwd-command.js +1 -1
- package/dist/commands/segment-update-command.js +1 -1
- package/dist/commands/segment-use-command.js +1 -1
- package/dist/commands/segments.js +1 -1
- package/dist/commands/show.js +1 -1
- package/dist/commands/tables.js +1 -1
- package/dist/commands/use-command.js +1 -1
- package/dist/commands/workflow-command.js +1 -1
- package/dist/core/auth.js +1 -1
- package/dist/core/config.js +1 -1
- package/dist/core/global-context.js +1 -1
- package/dist/core/profile.js +1 -1
- package/dist/core/project-config.js +1 -1
- package/dist/core/session.js +1 -1
- package/dist/index.js +1 -1
- package/dist/proxy/anthropic-adapter.js +1 -1
- package/dist/proxy/server.d.ts.map +1 -1
- package/dist/proxy/server.js +1 -1
- package/dist/proxy/server.js.map +1 -1
- package/dist/proxy/session-cache.js +1 -1
- package/dist/sdk/api.js +1 -1
- package/dist/sdk/database.js +1 -1
- package/dist/sdk/errors.js +1 -1
- package/dist/sdk/index.js +1 -1
- package/dist/sdk/job.js +1 -1
- package/dist/sdk/llm.js +1 -1
- package/dist/sdk/query.js +1 -1
- package/dist/sdk/segment.js +1 -1
- package/dist/sdk/table.js +1 -1
- package/dist/sdk/workflow.js +1 -1
- package/dist/types/endpoints.js +1 -1
- package/dist/types/index.js +1 -1
- package/dist/utils/agent-ref-parser.js +1 -1
- package/dist/utils/chat-cache.js +1 -1
- package/dist/utils/colors.js +1 -1
- package/dist/utils/command-output.js +1 -1
- package/dist/utils/constants.js +1 -1
- package/dist/utils/file-permissions.js +1 -1
- package/dist/utils/format-detector.js +1 -1
- package/dist/utils/formatters.js +1 -1
- package/dist/utils/json-loader.js +1 -1
- package/dist/utils/model-aliases.js +1 -1
- package/dist/utils/option-validation.js +1 -1
- package/dist/utils/port.js +1 -1
- package/dist/utils/process.js +1 -1
- package/dist/utils/prompt.js +1 -1
- package/dist/utils/segment-path-parser.js +1 -1
- package/dist/utils/segment-ref-parser.js +1 -1
- package/dist/utils/spinner.js +1 -1
- package/dist/utils/sql-parser.js +1 -1
- package/dist/utils/sse-parser.js +1 -1
- package/dist/utils/string-utils.js +1 -1
- package/dist/utils/table-ref-parser.js +1 -1
- package/dist/utils/tdx-logger.js +1 -1
- package/dist/utils/tree-formatter.js +1 -1
- package/dist/utils/version-check.js +1 -1
- package/dist/utils/workflow-utils.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x15edde,_0x4e0352){const _0x27a583=a73_0x1052,_0x185536=_0x15edde();while(!![]){try{const _0x347cb4=parseInt(_0x27a583(0x1e7))/0x1+parseInt(_0x27a583(0x1ee))/0x2+-parseInt(_0x27a583(0x1f1))/0x3*(-parseInt(_0x27a583(0x1dc))/0x4)+-parseInt(_0x27a583(0x1df))/0x5*(-parseInt(_0x27a583(0x1d8))/0x6)+-parseInt(_0x27a583(0x1db))/0x7+-parseInt(_0x27a583(0x1da))/0x8+parseInt(_0x27a583(0x1d7))/0x9*(-parseInt(_0x27a583(0x1e2))/0xa);if(_0x347cb4===_0x4e0352)break;else _0x185536['push'](_0x185536['shift']());}catch(_0x1d5deb){_0x185536['push'](_0x185536['shift']());}}}(a73_0xd74a,0x1a6a3));export function parsePath(_0x1f347d){const _0x1744a0=a73_0x1052;if(!_0x1f347d||_0x1f347d[_0x1744a0(0x1f0)]()==='')throw new Error('Path\x20cannot\x20be\x20empty');const _0x2bcf3d=_0x1f347d[_0x1744a0(0x1f0)]();if(_0x2bcf3d==='/')return{'segments':[],'isAbsolute':!![],'raw':_0x1f347d};const _0x3ee95f=_0x2bcf3d[_0x1744a0(0x1d6)]('/')?_0x2bcf3d[_0x1744a0(0x1eb)](0x1):_0x2bcf3d,_0x5aaa24=_0x3ee95f['split']('/')[_0x1744a0(0x1e5)](_0x2a7708=>_0x2a7708!=='');if(_0x5aaa24['length']===0x0)throw new Error(_0x1744a0(0x1f2));const _0x5d9551=_0x2bcf3d['startsWith']('/')||!isRelativePathSegment(_0x5aaa24[0x0]);for(const _0x3e2334 of _0x5aaa24){validatePathSegment(_0x3e2334);}return{'segments':_0x5aaa24,'isAbsolute':_0x5d9551,'raw':_0x1f347d};}function isRelativePathSegment(_0x58b88d){return _0x58b88d==='.'||_0x58b88d==='..';}function validatePathSegment(_0x27341b){const _0x20caac=a73_0x1052;if(_0x27341b==='')throw new Error(_0x20caac(0x1e6));if(_0x27341b==='.'||_0x27341b==='..')return;if(/[\x00-\x1F\x7F]/[_0x20caac(0x1e4)](_0x27341b))throw new Error(_0x20caac(0x1e9)+_0x27341b);if(_0x27341b!==_0x27341b['trim']()){}}export function validatePath(_0x32c49e){const _0x2d878a=a73_0x1052;if(_0x32c49e[_0x2d878a(0x1ec)][_0x2d878a(0x1e3)]===0x0&&!_0x32c49e[_0x2d878a(0x1e1)])throw new Error('Relative\x20path\x20cannot\x20be\x20empty');if(_0x32c49e[_0x2d878a(0x1e1)]){if(_0x32c49e[_0x2d878a(0x1ec)][0x0]==='..')throw new Error(_0x2d878a(0x1d5));let _0x2be7a8=0x0;for(const _0x1e363b of _0x32c49e['segments']){if(_0x1e363b==='..'){if(_0x2be7a8===0x0)throw new Error(_0x2d878a(0x1de));_0x2be7a8--;}else _0x1e363b!=='.'&&_0x2be7a8++;}}}export function joinPaths(_0x5a793a,_0x28e51e){const _0x313c2d=a73_0x1052;if(!_0x5a793a||_0x5a793a==='/')return _0x28e51e;if(!_0x28e51e||_0x28e51e==='.')return _0x5a793a;if(_0x28e51e[_0x313c2d(0x1d6)]('/'))return _0x28e51e;const _0x4d89c2=parsePath(_0x5a793a),_0x33e135=parsePath(_0x28e51e),_0x26c3cd=[..._0x4d89c2[_0x313c2d(0x1ec)]];for(const _0x170765 of _0x33e135[_0x313c2d(0x1ec)]){if(_0x170765==='.')continue;else{if(_0x170765==='..'){if(_0x26c3cd['length']===0x0)throw new Error(_0x313c2d(0x1ed));_0x26c3cd['pop']();}else _0x26c3cd['push'](_0x170765);}}const _0x4ac6cb=_0x26c3cd[_0x313c2d(0x1dd)]('/');return _0x4d89c2[_0x313c2d(0x1ea)][_0x313c2d(0x1d6)]('/')?'/'+_0x4ac6cb:_0x4ac6cb;}export function normalizePath(_0x44ff62){const _0x473d0c=a73_0x1052,_0x37fa1e=parsePath(_0x44ff62),_0x1891a0=[];for(const _0x18e4bd of _0x37fa1e[_0x473d0c(0x1ec)]){if(_0x18e4bd==='.')continue;else{if(_0x18e4bd==='..'){if(_0x1891a0[_0x473d0c(0x1e3)]===0x0){if(_0x37fa1e[_0x473d0c(0x1e1)])throw new Error(_0x473d0c(0x1ed));_0x1891a0[_0x473d0c(0x1ef)]('..');}else _0x1891a0[_0x1891a0['length']-0x1]==='..'?_0x1891a0[_0x473d0c(0x1ef)]('..'):_0x1891a0[_0x473d0c(0x1e8)]();}else _0x1891a0['push'](_0x18e4bd);}}if(_0x1891a0[_0x473d0c(0x1e3)]===0x0)return _0x37fa1e[_0x473d0c(0x1e1)]?'/':'.';const _0x17af41=_0x1891a0[_0x473d0c(0x1dd)]('/');return _0x37fa1e[_0x473d0c(0x1ea)]['startsWith']('/')?'/'+_0x17af41:_0x17af41;}function a73_0x1052(_0x340864,_0x14ab0a){const _0xd74adc=a73_0xd74a();return a73_0x1052=function(_0x1052fd,_0x4aabd7){_0x1052fd=_0x1052fd-0x1d5;let _0x26b9b3=_0xd74adc[_0x1052fd];return _0x26b9b3;},a73_0x1052(_0x340864,_0x14ab0a);}export function getParentPath(_0x198f42){const _0x375797=a73_0x1052,_0x192f12=parsePath(_0x198f42);if(_0x192f12[_0x375797(0x1ec)]['length']<=0x1)return'/';const _0x1a17d3=_0x192f12[_0x375797(0x1ec)][_0x375797(0x1d9)](0x0,-0x1)[_0x375797(0x1dd)]('/');return _0x192f12[_0x375797(0x1ea)][_0x375797(0x1d6)]('/')?'/'+_0x1a17d3:_0x1a17d3;}export function getBaseName(_0x41252e){const _0x395f52=a73_0x1052,_0x55d0c0=parsePath(_0x41252e);return _0x55d0c0[_0x395f52(0x1ec)][_0x55d0c0[_0x395f52(0x1ec)][_0x395f52(0x1e3)]-0x1]||'';}export function isChildPath(_0x55d50f,_0x2ea912){const _0x1e11e8=a73_0x1052,_0x3d7d96=parsePath(_0x55d50f),_0x16ae7d=parsePath(_0x2ea912);if(_0x3d7d96['segments'][_0x1e11e8(0x1e3)]<=_0x16ae7d['segments']['length'])return![];for(let _0x4f5802=0x0;_0x4f5802<_0x16ae7d[_0x1e11e8(0x1ec)][_0x1e11e8(0x1e3)];_0x4f5802++){if(_0x3d7d96[_0x1e11e8(0x1ec)][_0x4f5802]!==_0x16ae7d['segments'][_0x4f5802])return![];}return!![];}function a73_0xd74a(){const _0xb3f55c=['Path\x20segment\x20contains\x20invalid\x20control\x20characters:\x20','raw','substring','segments','Cannot\x20navigate\x20above\x20root','177474BKQiZE','push','trim','157443UEVqwW','Path\x20must\x20contain\x20at\x20least\x20one\x20segment','Absolute\x20path\x20cannot\x20start\x20with\x20\x22..\x22','startsWith','135423kfRJqT','1326NnOGqX','slice','940000loODro','1398243UzPdqa','4YMTAlH','join','Path\x20attempts\x20to\x20navigate\x20above\x20root','3185xZYVXu','Cannot\x20split\x20empty\x20path','isAbsolute','40xNpOPr','length','test','filter','Path\x20segment\x20cannot\x20be\x20empty','203637goDZEI','pop'];a73_0xd74a=function(){return _0xb3f55c;};return a73_0xd74a();}export function splitPath(_0x17a54c){const _0x45ce3c=a73_0x1052,_0x3b5670=parsePath(_0x17a54c);if(_0x3b5670['segments'][_0x45ce3c(0x1e3)]===0x0)throw new Error(_0x45ce3c(0x1e0));if(_0x3b5670[_0x45ce3c(0x1ec)][_0x45ce3c(0x1e3)]===0x1)return{'parent':_0x3b5670['segments'][0x0]};return{'parent':_0x3b5670[_0x45ce3c(0x1ec)][0x0],'child':_0x3b5670[_0x45ce3c(0x1ec)][_0x45ce3c(0x1d9)](0x1)[_0x45ce3c(0x1dd)]('/')};}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a74_0x4db6(_0x172632,_0x4021b9){const _0x7e2595=a74_0x7e25();return a74_0x4db6=function(_0x4db612,_0x1f724f){_0x4db612=_0x4db612-0x194;let _0xd614f3=_0x7e2595[_0x4db612];return _0xd614f3;},a74_0x4db6(_0x172632,_0x4021b9);}(function(_0x1d9db6,_0x3193e8){const _0x20106a=a74_0x4db6,_0x42708a=_0x1d9db6();while(!![]){try{const _0x55900f=-parseInt(_0x20106a(0x199))/0x1+parseInt(_0x20106a(0x19a))/0x2*(parseInt(_0x20106a(0x196))/0x3)+-parseInt(_0x20106a(0x1a0))/0x4+parseInt(_0x20106a(0x19b))/0x5*(parseInt(_0x20106a(0x19f))/0x6)+parseInt(_0x20106a(0x194))/0x7+-parseInt(_0x20106a(0x197))/0x8+parseInt(_0x20106a(0x19c))/0x9*(parseInt(_0x20106a(0x1a1))/0xa);if(_0x55900f===_0x3193e8)break;else _0x42708a['push'](_0x42708a['shift']());}catch(_0x5b2229){_0x42708a['push'](_0x42708a['shift']());}}}(a74_0x7e25,0xdd84c));function a74_0x7e25(){const _0x53d505=['179638sCKJVl','3847145fKXvDg','18509571eVCgvj','indexOf','.\x20Parent\x20name\x20cannot\x20be\x20empty','6lJntSs','5188948ZrvtmJ','10MdYyIi','5700009ZjTzlz','Invalid\x20segment\x20reference\x20format:\x20','12vIfGZZ','8197488xRmaQA','substring','770348rYkeDW'];a74_0x7e25=function(){return _0x53d505;};return a74_0x7e25();}export function parseSegmentRef(_0xd4ef3f){const _0x22a872=a74_0x4db6,_0x344add=_0xd4ef3f[_0x22a872(0x19d)]('/');if(_0x344add===-0x1)return{'parentId':_0xd4ef3f};if(_0x344add===0x0)throw new Error(_0x22a872(0x195)+_0xd4ef3f+_0x22a872(0x19e));const _0x5b4ce1=_0xd4ef3f[_0x22a872(0x198)](0x0,_0x344add),_0x2259b4=_0xd4ef3f[_0x22a872(0x198)](_0x344add+0x1);if(_0x2259b4==='')throw new Error('Invalid\x20segment\x20reference\x20format:\x20'+_0xd4ef3f+'.\x20Child\x20name\x20cannot\x20be\x20empty');return{'parentId':_0x5b4ce1,'childId':_0x2259b4};}
|
package/dist/utils/spinner.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x3c69a1,_0x105cd3){const _0x16900c=a75_0x18d5,_0x45e719=_0x3c69a1();while(!![]){try{const _0x561ced=parseInt(_0x16900c(0x93))/0x1*(-parseInt(_0x16900c(0x96))/0x2)+-parseInt(_0x16900c(0x94))/0x3+parseInt(_0x16900c(0x88))/0x4+parseInt(_0x16900c(0x86))/0x5+parseInt(_0x16900c(0x8b))/0x6+parseInt(_0x16900c(0x8d))/0x7*(parseInt(_0x16900c(0x87))/0x8)+parseInt(_0x16900c(0x91))/0x9;if(_0x561ced===_0x105cd3)break;else _0x45e719['push'](_0x45e719['shift']());}catch(_0x2c13d8){_0x45e719['push'](_0x45e719['shift']());}}}(a75_0x1131,0xcb235));function a75_0x1131(){const _0x173bc0=['replace','stdout','start','phase','3169840DdQQsz','1665128nmbiNn','128752oQlqKX','\x20[Job\x20ID:\x20','stop','6500958VcFtOc','extra','35PPGpNL','clock','jobId','now','3950190OFvKYh','floor','1tfqRjD','3696255tSiIub','cyan','2330252dMLcvc','isSpinning','intervalFactory','isTTY'];a75_0x1131=function(){return _0x173bc0;};return a75_0x1131();}import a75_0x2e9b22 from'ora';export function createCommandSpinner(_0x53eb06,_0x139aaa={}){const _0x1e9789=a75_0x18d5,{verbose:verbose=![],forceEnabled:forceEnabled=![]}=_0x139aaa;return a75_0x2e9b22({'text':_0x53eb06,'color':_0x1e9789(0x95),'isEnabled':forceEnabled||process[_0x1e9789(0x83)][_0x1e9789(0x81)]&&!verbose});}export async function withSpinner(_0x55a7ab,_0x48e006,_0x44acd9={}){const _0x1e3354=a75_0x18d5,_0x1ad090=_0x44acd9[_0x1e3354(0x8e)]??(()=>Date[_0x1e3354(0x90)]()),_0x4ef800=createCommandSpinner(_0x55a7ab,_0x44acd9);_0x4ef800[_0x1e3354(0x84)]();const _0x360d3f=_0x1ad090();try{const _0x4ccb36=await _0x48e006(),_0x4c372b=_0x1ad090()-_0x360d3f;return _0x4ef800[_0x1e3354(0x8a)](),{'data':_0x4ccb36,'elapsedMs':_0x4c372b};}catch(_0x113e4e){_0x4ef800[_0x1e3354(0x8a)]();throw _0x113e4e;}}export async function withQuerySpinner(_0x2d6c0a,_0x4595bb,_0x1fb0b1={}){const _0x4e776a=a75_0x18d5,_0x13d1c6=_0x1fb0b1[_0x4e776a(0x8e)]??(()=>Date[_0x4e776a(0x90)]()),_0x9e2c10=_0x1fb0b1[_0x4e776a(0x80)]??setInterval,_0x56cede=createCommandSpinner(_0x2d6c0a,_0x1fb0b1);_0x56cede[_0x4e776a(0x84)]();const _0x3f0417=_0x13d1c6(),_0xb6c601=_0x2d6c0a[_0x4e776a(0x82)]('...',''),_0x2b761a={},_0x15aaca=()=>{const _0x6e504f=_0x4e776a;if(!_0x56cede[_0x6e504f(0x7f)])return;const _0x1825ec=_0x13d1c6()-_0x3f0417,_0x37e8e0=formatElapsed(_0x1825ec),_0x239b90=_0x2b761a[_0x6e504f(0x85)]??_0xb6c601,_0x3c433c=_0x2b761a[_0x6e504f(0x8f)]?_0x6e504f(0x89)+_0x2b761a['jobId']+']':'',_0x4c8f41=_0x2b761a['extra']?'\x20'+_0x2b761a['extra']:'';_0x56cede['text']=_0x239b90+'\x20'+_0x37e8e0+_0x4c8f41+_0x3c433c;},_0x2b8f2b=_0x9e2c10(()=>{_0x15aaca();},0x3e8),_0x11fd09={'setPhase':_0x198942=>{_0x2b761a['phase']=_0x198942,_0x15aaca();},'setJobId':_0x4195b5=>{const _0x408a34=_0x4e776a;_0x2b761a[_0x408a34(0x8f)]=_0x4195b5,_0x15aaca();},'setExtra':_0x49be26=>{const _0x50b267=_0x4e776a;_0x2b761a[_0x50b267(0x8c)]=_0x49be26,_0x15aaca();}};_0x15aaca();try{const _0x360e23=await _0x4595bb(_0x11fd09),_0x426e29=_0x13d1c6()-_0x3f0417;return{'data':_0x360e23,'elapsedMs':_0x426e29};}finally{clearInterval(_0x2b8f2b),_0x56cede[_0x4e776a(0x8a)]();}}function a75_0x18d5(_0x9dbc41,_0x255c5a){const _0x1131db=a75_0x1131();return a75_0x18d5=function(_0x18d591,_0x5847b1){_0x18d591=_0x18d591-0x7f;let _0x2f8cc2=_0x1131db[_0x18d591];return _0x2f8cc2;},a75_0x18d5(_0x9dbc41,_0x255c5a);}export function formatElapsed(_0x59d52a){const _0x37c53a=a75_0x18d5,_0x4a0aad=Math[_0x37c53a(0x92)](_0x59d52a/0x3e8);if(_0x4a0aad<0x3c)return(_0x59d52a/0x3e8)['toFixed'](0x1)+'s';const _0xef8766=Math[_0x37c53a(0x92)](_0x4a0aad/0x3c),_0x48560a=_0x4a0aad%0x3c;if(_0xef8766<0x3c)return _0xef8766+'m\x20'+_0x48560a+'s';const _0x1007d4=Math['floor'](_0xef8766/0x3c),_0x1d8e0e=_0xef8766%0x3c;return _0x1007d4+'h\x20'+_0x1d8e0e+'m';}
|
package/dist/utils/sql-parser.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x55b73c,_0x133570){const _0xfaa4b4=a76_0x3bda,_0x58b265=_0x55b73c();while(!![]){try{const _0x6fc7da=-parseInt(_0xfaa4b4(0x13b))/0x1+-parseInt(_0xfaa4b4(0x145))/0x2*(-parseInt(_0xfaa4b4(0x13d))/0x3)+parseInt(_0xfaa4b4(0x14d))/0x4+parseInt(_0xfaa4b4(0x147))/0x5+-parseInt(_0xfaa4b4(0x14e))/0x6+parseInt(_0xfaa4b4(0x13e))/0x7*(parseInt(_0xfaa4b4(0x144))/0x8)+-parseInt(_0xfaa4b4(0x13c))/0x9*(parseInt(_0xfaa4b4(0x146))/0xa);if(_0x6fc7da===_0x133570)break;else _0x58b265['push'](_0x58b265['shift']());}catch(_0x2b9a39){_0x58b265['push'](_0x58b265['shift']());}}}(a76_0x5da6,0xd005f));function a76_0x5da6(){const _0x1776d0=['8018244qLwurv','replace','ENOENT','code','\x27:\x20','filter','926941dIDFiJ','369qwxPii','3pzNTsX','7QYGmup','toLowerCase','message','length','push','Content\x20contains\x20no\x20SQL\x20statements','13165848QUyMnm','85396KSwKwQ','99310cpCuMy','7314310OdfkuX','utf-8','File\x20\x27','Permission\x20denied\x20reading\x20file\x20\x27','EACCES','trim','1485032TwfkdP'];a76_0x5da6=function(){return _0x1776d0;};return a76_0x5da6();}import{readFileSync}from'fs';export function stripSqlComments(_0x4271ff){const _0x46fc9e=a76_0x3bda;let _0x1f9b66=_0x4271ff[_0x46fc9e(0x14f)](/\/\*(?:[^*]|\*(?!\/))*\*\//g,'');return _0x1f9b66=_0x1f9b66[_0x46fc9e(0x14f)](/--.*$/gm,''),_0x1f9b66[_0x46fc9e(0x14c)]();}function a76_0x3bda(_0x2271bc,_0x42929c){const _0x5da689=a76_0x5da6();return a76_0x3bda=function(_0x3bda0e,_0x4db199){_0x3bda0e=_0x3bda0e-0x138;let _0x2ad65c=_0x5da689[_0x3bda0e];return _0x2ad65c;},a76_0x3bda(_0x2271bc,_0x42929c);}function isEscaped(_0x246e6c,_0x1f0af4){let _0x4bc33e=0x0;for(let _0x2ad26a=_0x1f0af4-0x1;_0x2ad26a>=0x0&&_0x246e6c[_0x2ad26a]==='\x5c';_0x2ad26a--){_0x4bc33e++;}return _0x4bc33e%0x2===0x1;}export function splitSqlStatements(_0x13d0da){const _0x1a36b8=a76_0x3bda,_0x524cf1=stripSqlComments(_0x13d0da);if(!_0x524cf1)throw new Error(_0x1a36b8(0x143));const _0x216138=[];let _0x18988f='',_0x4fc486=![],_0x7f4acb=![],_0x382f91=![];for(let _0x15b536=0x0;_0x15b536<_0x13d0da['length'];_0x15b536++){const _0x25e71e=_0x13d0da[_0x15b536];if(_0x25e71e==='\x27'&&!isEscaped(_0x13d0da,_0x15b536)&&!_0x7f4acb&&!_0x382f91)_0x4fc486=!_0x4fc486;else{if(_0x25e71e==='\x22'&&!isEscaped(_0x13d0da,_0x15b536)&&!_0x4fc486&&!_0x382f91)_0x7f4acb=!_0x7f4acb;else _0x25e71e==='`'&&!isEscaped(_0x13d0da,_0x15b536)&&!_0x4fc486&&!_0x7f4acb&&(_0x382f91=!_0x382f91);}if(_0x25e71e===';'&&!_0x4fc486&&!_0x7f4acb&&!_0x382f91){const _0x8d040c=_0x18988f[_0x1a36b8(0x14c)]();_0x8d040c&&_0x216138[_0x1a36b8(0x142)](_0x8d040c),_0x18988f='';}else _0x18988f+=_0x25e71e;}const _0x25dc67=_0x18988f[_0x1a36b8(0x14c)]();_0x25dc67&&_0x216138[_0x1a36b8(0x142)](_0x25dc67);const _0x5944e7=_0x216138['map'](_0x49cb85=>_0x49cb85[_0x1a36b8(0x14c)]())[_0x1a36b8(0x13a)](_0x231c1a=>{const _0x42dc89=_0x1a36b8,_0x1c21eb=stripSqlComments(_0x231c1a);return _0x1c21eb[_0x42dc89(0x141)]>0x0;});if(_0x5944e7[_0x1a36b8(0x141)]===0x0)throw new Error(_0x1a36b8(0x143));return _0x5944e7;}export function readFileContent(_0x110ab7){const _0x7b88da=a76_0x3bda;try{return readFileSync(_0x110ab7,_0x7b88da(0x148));}catch(_0x107b7c){const _0x5c7559=_0x107b7c[_0x7b88da(0x138)];if(_0x5c7559===_0x7b88da(0x150))throw new Error(_0x7b88da(0x149)+_0x110ab7+'\x27\x20not\x20found');else{if(_0x5c7559===_0x7b88da(0x14b))throw new Error(_0x7b88da(0x14a)+_0x110ab7+'\x27');else throw new Error('Error\x20reading\x20file\x20\x27'+_0x110ab7+_0x7b88da(0x139)+_0x107b7c['message']);}}}export function readSqlStatementsFromFile(_0x43850b){const _0x3608cb=a76_0x3bda,_0x47c5c7=readFileContent(_0x43850b);try{return splitSqlStatements(_0x47c5c7);}catch(_0x5bd01e){throw new Error(_0x3608cb(0x149)+_0x43850b+'\x27\x20'+_0x5bd01e[_0x3608cb(0x140)][_0x3608cb(0x13f)]());}}
|
package/dist/utils/sse-parser.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x5d3e40,_0xcfec51){const _0x58b53f=a77_0x1ebd,_0x434a2e=_0x5d3e40();while(!![]){try{const _0x4b661a=-parseInt(_0x58b53f(0x95))/0x1+parseInt(_0x58b53f(0x9c))/0x2*(-parseInt(_0x58b53f(0x8a))/0x3)+-parseInt(_0x58b53f(0x98))/0x4+parseInt(_0x58b53f(0x90))/0x5*(parseInt(_0x58b53f(0x92))/0x6)+parseInt(_0x58b53f(0x97))/0x7+parseInt(_0x58b53f(0x91))/0x8*(-parseInt(_0x58b53f(0x99))/0x9)+parseInt(_0x58b53f(0x86))/0xa*(parseInt(_0x58b53f(0x93))/0xb);if(_0x4b661a===_0xcfec51)break;else _0x434a2e['push'](_0x434a2e['shift']());}catch(_0x529529){_0x434a2e['push'](_0x434a2e['shift']());}}}(a77_0x1f6d,0xc04df));function a77_0x1ebd(_0x127063,_0x3713ca){const _0x1f6ded=a77_0x1f6d();return a77_0x1ebd=function(_0x1ebd3f,_0x4c10cb){_0x1ebd3f=_0x1ebd3f-0x84;let _0x118180=_0x1f6ded[_0x1ebd3f];return _0x118180;},a77_0x1ebd(_0x127063,_0x3713ca);}function a77_0x1f6d(){const _0x11b7ba=['5ZosTdl','8OMaBoS','1394706CKikTR','102553bbMatt','releaseLock','91481JdDTYc','Response\x20body\x20is\x20null','9559501lmIRtR','3378928CBTLVV','8623557awijbU','data','slice','3034292GYyPom','startsWith','indexOf','getReader','2790vxIhcW','Failed\x20to\x20parse\x20SSE\x20data\x20as\x20JSON:\x20','body','read','3qotKfi','decode','split','event','trim','pop'];a77_0x1f6d=function(){return _0x11b7ba;};return a77_0x1f6d();}export async function*parseSSEStream(_0x2cd2a4){const _0x5529cc=a77_0x1ebd;if(!_0x2cd2a4[_0x5529cc(0x88)])throw new Error(_0x5529cc(0x96));const _0x4fa46a=_0x2cd2a4[_0x5529cc(0x88)][_0x5529cc(0x85)](),_0x3ae038=new TextDecoder();let _0x121eee='',_0x4a8122={};try{while(!![]){const {done:_0x572dc0,value:_0x2e4e8a}=await _0x4fa46a[_0x5529cc(0x89)]();if(_0x572dc0){_0x4a8122[_0x5529cc(0x9a)]&&(yield parseSSEData(_0x4a8122[_0x5529cc(0x9a)]));break;}_0x121eee+=_0x3ae038[_0x5529cc(0x8b)](_0x2e4e8a,{'stream':!![]});const _0x33be7c=_0x121eee[_0x5529cc(0x8c)]('\x0a');_0x121eee=_0x33be7c[_0x5529cc(0x8f)]()||'';for(const _0x492e60 of _0x33be7c){if(_0x492e60[_0x5529cc(0x8e)]()===''){_0x4a8122[_0x5529cc(0x9a)]&&(yield parseSSEData(_0x4a8122['data']),_0x4a8122={});continue;}if(_0x492e60[_0x5529cc(0x9d)](':'))continue;const _0xa4c628=_0x492e60[_0x5529cc(0x84)](':');if(_0xa4c628===-0x1)continue;const _0x5f112c=_0x492e60['slice'](0x0,_0xa4c628);let _0x16e68d=_0x492e60[_0x5529cc(0x9b)](_0xa4c628+0x1);_0x16e68d['startsWith']('\x20')&&(_0x16e68d=_0x16e68d[_0x5529cc(0x9b)](0x1));switch(_0x5f112c){case _0x5529cc(0x8d):_0x4a8122[_0x5529cc(0x8d)]=_0x16e68d;break;case _0x5529cc(0x9a):_0x4a8122['data']=_0x4a8122[_0x5529cc(0x9a)]?_0x4a8122[_0x5529cc(0x9a)]+'\x0a'+_0x16e68d:_0x16e68d;break;case'id':_0x4a8122['id']=_0x16e68d;break;}}}}finally{_0x4fa46a[_0x5529cc(0x94)]();}}function parseSSEData(_0x35bee9){const _0x503cd9=a77_0x1ebd;try{return JSON['parse'](_0x35bee9);}catch(_0x477ed8){throw new Error(_0x503cd9(0x87)+_0x35bee9,{'cause':_0x477ed8});}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a78_0x30ef(_0xb71fa8,_0x453f62){const _0x388ad2=a78_0x388a();return a78_0x30ef=function(_0x30ef83,_0x33b01c){_0x30ef83=_0x30ef83-0x157;let _0x4dc15f=_0x388ad2[_0x30ef83];return _0x4dc15f;},a78_0x30ef(_0xb71fa8,_0x453f62);}(function(_0xe6158a,_0x1acf4c){const _0x3f421d=a78_0x30ef,_0x3310f6=_0xe6158a();while(!![]){try{const _0x10ba8c=-parseInt(_0x3f421d(0x161))/0x1*(-parseInt(_0x3f421d(0x168))/0x2)+-parseInt(_0x3f421d(0x162))/0x3+parseInt(_0x3f421d(0x166))/0x4+-parseInt(_0x3f421d(0x16d))/0x5+parseInt(_0x3f421d(0x15d))/0x6*(parseInt(_0x3f421d(0x157))/0x7)+-parseInt(_0x3f421d(0x15a))/0x8+parseInt(_0x3f421d(0x15b))/0x9;if(_0x10ba8c===_0x1acf4c)break;else _0x3310f6['push'](_0x3310f6['shift']());}catch(_0x23c1b7){_0x3310f6['push'](_0x3310f6['shift']());}}}(a78_0x388a,0xd38c5));import a78_0x2d92b1 from'string-width';function a78_0x388a(){const _0xd93b98=['padStart','3980155RRUrIL','119AhdSSW','slice','Cannot\x20build\x20LIKE\x20pattern\x20from\x20empty\x20string','1918080GwlMRc','5745996WacTBS','repeat','196578AUUtWQ','length','unknown','replace','16181WJBtAA','3284466boGVfI','toString','trim','floor','2093600CTkhLv','toLowerCase','158OioemI','USER','USERNAME','env'];a78_0x388a=function(){return _0xd93b98;};return a78_0x388a();}export function stringWidth(_0x1d835d){return a78_0x2d92b1(_0x1d835d);}export function padEnd(_0x8b7bfa,_0x4d13da){const _0x5dcd1d=a78_0x30ef,_0x2b19bd=stringWidth(_0x8b7bfa);if(_0x2b19bd>=_0x4d13da)return _0x8b7bfa;return _0x8b7bfa+'\x20'[_0x5dcd1d(0x15c)](_0x4d13da-_0x2b19bd);}export function padStart(_0x4b6541,_0x5d44c4){const _0x44a554=stringWidth(_0x4b6541);if(_0x44a554>=_0x5d44c4)return _0x4b6541;return'\x20'['repeat'](_0x5d44c4-_0x44a554)+_0x4b6541;}export function centerAlign(_0x92084a,_0x36e8cc){const _0x292e9b=a78_0x30ef,_0x7b1b9=stringWidth(_0x92084a);if(_0x7b1b9>_0x36e8cc){if(_0x36e8cc<=0x1)return'…'['substring'](0x0,_0x36e8cc);let _0x3522f2=_0x92084a;while(stringWidth(_0x3522f2+'…')>_0x36e8cc){_0x3522f2=_0x3522f2[_0x292e9b(0x158)](0x0,-0x1);}return _0x3522f2+'…';}if(_0x7b1b9===_0x36e8cc)return _0x92084a;const _0x5897d7=_0x36e8cc-_0x7b1b9,_0xfaccfc=Math[_0x292e9b(0x165)](_0x5897d7/0x2),_0x3e4a49=_0x5897d7-_0xfaccfc;return'\x20'[_0x292e9b(0x15c)](_0xfaccfc)+_0x92084a+'\x20'[_0x292e9b(0x15c)](_0x3e4a49);}export function escapeStringLiteral(_0x37783b){const _0x4b9d5c=a78_0x30ef;if(!_0x37783b||_0x37783b[_0x4b9d5c(0x164)]()['length']===0x0)throw new Error('Cannot\x20escape\x20empty\x20string\x20literal');const _0x2025ac=_0x37783b['replace'](/'/g,'\x27\x27');return'\x27'+_0x2025ac+'\x27';}export function globToLike(_0x47f42d){const _0x10e467=a78_0x30ef;let _0x5ea864=_0x47f42d[_0x10e467(0x160)](/\\/g,'\x5c\x5c')[_0x10e467(0x160)](/%/g,'\x5c%')['replace'](/_/g,'\x5c_');return _0x5ea864=_0x5ea864['replace'](/\*/g,'%')['replace'](/\?/g,'_'),_0x5ea864;}export function buildLikePattern(_0xb0b3eb){const _0x122aa3=a78_0x30ef;if(!_0xb0b3eb||_0xb0b3eb[_0x122aa3(0x164)]()[_0x122aa3(0x15e)]===0x0)throw new Error(_0x122aa3(0x159));const _0x1fa725=globToLike(_0xb0b3eb),_0x4e60e0=_0x1fa725['replace'](/'/g,'\x27\x27');return'\x27'+_0x4e60e0+'\x27';}export function matchGlobPattern(_0x959413,_0x33fea2){const _0x1e4d99=a78_0x30ef,_0x32c501=_0x33fea2[_0x1e4d99(0x160)](/[.+^${}()|[\]\\]/g,'\x5c$&')['replace'](/\*/g,'.*')[_0x1e4d99(0x160)](/\?/g,'.'),_0x13aac0=new RegExp('^'+_0x32c501+'$');return _0x13aac0['test'](_0x959413);}export function getSanitizedUsername(){const _0x2eb502=a78_0x30ef,_0x1c783b=process[_0x2eb502(0x16b)][_0x2eb502(0x169)]||process[_0x2eb502(0x16b)][_0x2eb502(0x16a)]||_0x2eb502(0x15f);return _0x1c783b[_0x2eb502(0x160)](/[^a-zA-Z0-9]/g,'')[_0x2eb502(0x167)]();}export function generateRandomHex(){const _0x30f694=a78_0x30ef,_0x2de1ad=Math[_0x30f694(0x165)](Math['random']()*0xfffff);return _0x2de1ad[_0x30f694(0x163)](0x10)[_0x30f694(0x16c)](0x5,'0');}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x227a77,_0x531d0a){const _0x10d2bc=a79_0x5bae,_0x1ec7f1=_0x227a77();while(!![]){try{const _0x3ba531=parseInt(_0x10d2bc(0xc8))/0x1+parseInt(_0x10d2bc(0xd1))/0x2*(-parseInt(_0x10d2bc(0xcd))/0x3)+parseInt(_0x10d2bc(0xd2))/0x4+-parseInt(_0x10d2bc(0xd7))/0x5+-parseInt(_0x10d2bc(0xcb))/0x6+-parseInt(_0x10d2bc(0xce))/0x7+parseInt(_0x10d2bc(0xda))/0x8;if(_0x3ba531===_0x531d0a)break;else _0x1ec7f1['push'](_0x1ec7f1['shift']());}catch(_0x2f74f7){_0x1ec7f1['push'](_0x1ec7f1['shift']());}}}(a79_0x1581,0x6bc7a));function a79_0x1581(){const _0x58ec50=['length','Pattern\x20cannot\x20be\x20just\x20a\x20dot','Invalid\x20pattern\x20format\x20-\x20too\x20many\x20dots\x20(max:\x20catalog.database.table)','3339725ZRJkFv','Invalid\x20catalog.database.table\x20format\x20-\x20all\x20parts\x20must\x20be\x20non-empty','Wildcards\x20are\x20not\x20allowed\x20in\x20database\x20name\x20for\x20describe\x20operation','13368808hfflCM','Table\x20part\x20cannot\x20be\x20empty\x20-\x20use\x20\x22*\x22\x20for\x20all\x20tables\x20(e.g.,\x20\x22mydb.*\x22)','includes','join','database','table','734389VRmYbF','push','Database\x20part\x20cannot\x20be\x20empty\x20-\x20use\x20\x22*\x22\x20for\x20all\x20databases\x20(e.g.,\x20\x22*.mytable\x22)','3459510npJCsi','trim','111HiMUnK','2760884sansfx','Wildcards\x20are\x20not\x20allowed\x20in\x20table\x20name\x20for\x20describe\x20operation','split','17672abKNiY','7400BhefGL','catalog'];a79_0x1581=function(){return _0x58ec50;};return a79_0x1581();}function hasWildcard(_0x24e420){const _0xc09fcf=a79_0x5bae;return _0x24e420[_0xc09fcf(0xc4)]('*')||_0x24e420['includes']('?');}export function parseTableReference(_0x47ff66){const _0x21e5f3=a79_0x5bae;if(!_0x47ff66||_0x47ff66[_0x21e5f3(0xcc)]()['length']===0x0)throw new Error('Pattern\x20cannot\x20be\x20empty\x20or\x20whitespace-only');const _0x313a1f=_0x47ff66[_0x21e5f3(0xcc)](),_0x542934={'original':_0x313a1f},_0x1dacde=_0x313a1f[_0x21e5f3(0xd0)]('.');if(_0x1dacde[_0x21e5f3(0xd4)]===0x1){const _0x4459db=_0x1dacde[0x0];if(!_0x4459db)throw new Error(_0x21e5f3(0xd5));_0x542934[_0x21e5f3(0xc7)]=_0x4459db;}else{if(_0x1dacde['length']===0x2){const [_0x38c9cb,_0x151f7f]=_0x1dacde;if(!_0x38c9cb)throw new Error(_0x21e5f3(0xca));if(!_0x151f7f)throw new Error(_0x21e5f3(0xc3));_0x542934[_0x21e5f3(0xc6)]=_0x38c9cb,_0x542934[_0x21e5f3(0xc7)]=_0x151f7f;}else{if(_0x1dacde[_0x21e5f3(0xd4)]===0x3){const [_0x2e43c4,_0x2830f2,_0x553a49]=_0x1dacde;if(!_0x2e43c4||!_0x2830f2||!_0x553a49)throw new Error(_0x21e5f3(0xd8));_0x542934[_0x21e5f3(0xd3)]=_0x2e43c4,_0x542934[_0x21e5f3(0xc6)]=_0x2830f2,_0x542934['table']=_0x553a49;}else throw new Error(_0x21e5f3(0xd6));}}return _0x542934;}function a79_0x5bae(_0x44b1d1,_0x426332){const _0x1581ab=a79_0x1581();return a79_0x5bae=function(_0x5bae81,_0x26a739){_0x5bae81=_0x5bae81-0xc3;let _0x5869a9=_0x1581ab[_0x5bae81];return _0x5869a9;},a79_0x5bae(_0x44b1d1,_0x426332);}export function formatTableReference(_0x275b02){const _0x3f6b5f=a79_0x5bae,_0x4ac524=[];return _0x275b02[_0x3f6b5f(0xd3)]&&_0x4ac524[_0x3f6b5f(0xc9)](_0x275b02[_0x3f6b5f(0xd3)]),_0x275b02[_0x3f6b5f(0xc6)]&&_0x4ac524[_0x3f6b5f(0xc9)](_0x275b02[_0x3f6b5f(0xc6)]),_0x275b02[_0x3f6b5f(0xc7)]&&_0x4ac524[_0x3f6b5f(0xc9)](_0x275b02[_0x3f6b5f(0xc7)]),_0x4ac524[_0x3f6b5f(0xc5)]('.');}export function validateTableListReference(_0x50d944){return undefined;}export function validateTableDescribeReference(_0x2f4fee){const _0x510676=a79_0x5bae;if(!_0x2f4fee[_0x510676(0xc7)])return'Table\x20name\x20is\x20required\x20for\x20describe\x20operation';if(_0x2f4fee['database']&&hasWildcard(_0x2f4fee[_0x510676(0xc6)]))return _0x510676(0xd9);if(hasWildcard(_0x2f4fee[_0x510676(0xc7)]))return _0x510676(0xcf);return undefined;}
|
package/dist/utils/tdx-logger.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a80_0x8b8512=a80_0x2d51;(function(_0x2a6b16,_0x22dac0){const _0x24cc6a=a80_0x2d51,_0x3a70d3=_0x2a6b16();while(!![]){try{const _0x13c9f2=-parseInt(_0x24cc6a(0xb8))/0x1*(parseInt(_0x24cc6a(0xea))/0x2)+parseInt(_0x24cc6a(0xbb))/0x3*(-parseInt(_0x24cc6a(0xe3))/0x4)+parseInt(_0x24cc6a(0xd6))/0x5*(parseInt(_0x24cc6a(0xdb))/0x6)+-parseInt(_0x24cc6a(0xc6))/0x7+-parseInt(_0x24cc6a(0xaf))/0x8*(-parseInt(_0x24cc6a(0xc9))/0x9)+parseInt(_0x24cc6a(0xad))/0xa*(parseInt(_0x24cc6a(0xd9))/0xb)+-parseInt(_0x24cc6a(0xe0))/0xc*(-parseInt(_0x24cc6a(0xc7))/0xd);if(_0x13c9f2===_0x22dac0)break;else _0x3a70d3['push'](_0x3a70d3['shift']());}catch(_0x41491a){_0x3a70d3['push'](_0x3a70d3['shift']());}}}(a80_0x4500,0xa25ab));function a80_0x4500(){const _0x32da38=['mtime','join','write','getFullYear','logLevel','getTimezoneOffset','error','1156645CdAksY','9697727shOrIv','string','134379EJCFAj','getHours','close','map','init','getLogPath','getMilliseconds','yellow','abs','.gz','ERROR','.cache','message','5010aGhYTe','Warning:\x20Failed\x20to\x20compress\x20','padStart','599346gNYmBW','Proxy\x20session\x20ended','5514GtWjmO','toString','includes','debug','Proxy\x20server\x20started','12aawrpJ','stack','logDir','4THGXUC','split','info','getSeconds','log','red','getMonth','1440570PkoxsP','DEBUG','toISOString','TRACE','fileOnly','cyan','test','10SMGxTx','WARN','56cpPdZf','logStream','cause','rotateOldLogs','INFO','.log','getMinutes','name','trace','1YRMJZJ','gray','filter','825891IYjuWQ','stringify','getDate','proxy.log'];a80_0x4500=function(){return _0x32da38;};return a80_0x4500();}import{createWriteStream,createReadStream}from'fs';import{mkdir,readdir,unlink,stat,rename}from'fs/promises';import{join}from'path';function a80_0x2d51(_0x331b83,_0x478cac){const _0x4500d4=a80_0x4500();return a80_0x2d51=function(_0x2d51be,_0x2cc1aa){_0x2d51be=_0x2d51be-0xa7;let _0x1f2a62=_0x4500d4[_0x2d51be];return _0x1f2a62;},a80_0x2d51(_0x331b83,_0x478cac);}import{homedir}from'os';import{createGzip}from'zlib';import{pipeline}from'stream/promises';import a80_0x3f0a38 from'chalk';function safeStringify(_0x8724c1){const _0x595dce=a80_0x2d51;if(typeof _0x8724c1===_0x595dce(0xc8))return _0x8724c1;if(_0x8724c1 instanceof Error)return _0x8724c1[_0x595dce(0xe1)]||_0x8724c1[_0x595dce(0xb6)]+':\x20'+_0x8724c1['message'];try{return JSON[_0x595dce(0xbc)](_0x8724c1,(_0x48b23b,_0x526124)=>{const _0x512ad3=_0x595dce;if(_0x526124 instanceof Error)return{'name':_0x526124[_0x512ad3(0xb6)],'message':_0x526124[_0x512ad3(0xd5)],'stack':_0x526124[_0x512ad3(0xe1)],'cause':_0x526124[_0x512ad3(0xb1)]};return _0x526124;});}catch{return String(_0x8724c1);}}function getTimezoneOffset(){const _0x3d1fb3=a80_0x2d51,_0x54f1a6=-new Date()[_0x3d1fb3(0xc4)](),_0x34467b=Math['floor'](Math[_0x3d1fb3(0xd1)](_0x54f1a6)/0x3c),_0x344eed=Math[_0x3d1fb3(0xd1)](_0x54f1a6)%0x3c,_0x307efa=_0x54f1a6>=0x0?'+':'-';return''+_0x307efa+_0x34467b['toString']()[_0x3d1fb3(0xd8)](0x2,'0')+_0x344eed[_0x3d1fb3(0xdc)]()[_0x3d1fb3(0xd8)](0x2,'0');}function formatTimestamp(){const _0x3e096a=a80_0x2d51,_0x437c4e=new Date(),_0x4830cb=_0x437c4e[_0x3e096a(0xc2)](),_0x282657=(_0x437c4e[_0x3e096a(0xe9)]()+0x1)[_0x3e096a(0xdc)]()[_0x3e096a(0xd8)](0x2,'0'),_0x25e927=_0x437c4e[_0x3e096a(0xbd)]()[_0x3e096a(0xdc)]()['padStart'](0x2,'0'),_0x155ac6=_0x437c4e[_0x3e096a(0xca)]()[_0x3e096a(0xdc)]()[_0x3e096a(0xd8)](0x2,'0'),_0x4b63c4=_0x437c4e[_0x3e096a(0xb5)]()[_0x3e096a(0xdc)]()['padStart'](0x2,'0'),_0xdf731=_0x437c4e[_0x3e096a(0xe6)]()[_0x3e096a(0xdc)]()[_0x3e096a(0xd8)](0x2,'0'),_0x301851=_0x437c4e[_0x3e096a(0xcf)]()['toString']()[_0x3e096a(0xd8)](0x3,'0'),_0x3d43b9=getTimezoneOffset();return _0x4830cb+'-'+_0x282657+'-'+_0x25e927+'\x20'+_0x155ac6+':'+_0x4b63c4+':'+_0xdf731+'.'+_0x301851+_0x3d43b9;}function formatColoredLogEntry(_0x12ce4a,_0x4bec4e){const _0x2a1938=a80_0x2d51,_0x321f66=formatTimestamp(),_0x2f4b95=_0x4bec4e[_0x2a1938(0xcc)](safeStringify)[_0x2a1938(0xc0)]('\x20'),_0x5e2163=a80_0x3f0a38['gray'](_0x321f66);let _0x14ff4b;switch(_0x12ce4a){case _0x2a1938(0xe5):_0x14ff4b=a80_0x3f0a38[_0x2a1938(0xab)]('['+_0x12ce4a+']\x20');break;case'warn':_0x14ff4b=a80_0x3f0a38[_0x2a1938(0xd0)]('['+_0x12ce4a+']\x20');break;case'error':_0x14ff4b=a80_0x3f0a38[_0x2a1938(0xe8)]('['+_0x12ce4a+']');break;case'debug':_0x14ff4b=a80_0x3f0a38[_0x2a1938(0xb9)]('['+_0x12ce4a+']');break;default:_0x14ff4b='['+_0x12ce4a+']';}return _0x5e2163+'\x20'+_0x14ff4b+'\x20'+_0x2f4b95;}export var LogLevel;(function(_0x4b715b){const _0x9150e0=a80_0x2d51;_0x4b715b[_0x4b715b['TRACE']=-0x2]=_0x9150e0(0xa9),_0x4b715b[_0x4b715b[_0x9150e0(0xa7)]=-0x1]=_0x9150e0(0xa7),_0x4b715b[_0x4b715b[_0x9150e0(0xb3)]=0x0]=_0x9150e0(0xb3),_0x4b715b[_0x4b715b[_0x9150e0(0xae)]=0x1]='WARN',_0x4b715b[_0x4b715b[_0x9150e0(0xd3)]=0x2]=_0x9150e0(0xd3);}(LogLevel||(LogLevel={})));export class TDXLogger{[a80_0x8b8512(0xb0)];[a80_0x8b8512(0xe2)];[a80_0x8b8512(0xc3)];['fileOnly'];constructor(_0x49adb1=LogLevel[a80_0x8b8512(0xb3)],_0x4ed447=![]){const _0x5bfaa6=a80_0x8b8512;this[_0x5bfaa6(0xe2)]=join(homedir(),_0x5bfaa6(0xd4),'tdx','logs'),this['logLevel']=_0x49adb1,this[_0x5bfaa6(0xaa)]=_0x4ed447;}async[a80_0x8b8512(0xcd)](){const _0x32acf0=a80_0x8b8512;try{await mkdir(this[_0x32acf0(0xe2)],{'recursive':!![]}),await this[_0x32acf0(0xb2)]();const _0xc8ba6e=join(this[_0x32acf0(0xe2)],_0x32acf0(0xbe));this['logStream']=createWriteStream(_0xc8ba6e,{'flags':'a'}),this['logStream']['on'](_0x32acf0(0xc5),_0x4a8d4a=>{const _0x5b7c97=_0x32acf0;console[_0x5b7c97(0xc5)]('Warning:\x20Error\x20writing\x20to\x20proxy.log:',_0x4a8d4a[_0x5b7c97(0xd5)]);}),this[_0x32acf0(0xe5)](_0x32acf0(0xdf));}catch(_0x11343a){console[_0x32acf0(0xc5)]('Warning:\x20Failed\x20to\x20initialize\x20proxy\x20log\x20files:',_0x11343a);}}async[a80_0x8b8512(0xb2)](){const _0x2e8e7b=a80_0x8b8512;try{const _0x5f045e=await readdir(this[_0x2e8e7b(0xe2)]),_0x14b447=new Date()[_0x2e8e7b(0xa8)]()[_0x2e8e7b(0xe4)]('T')[0x0];if(_0x5f045e[_0x2e8e7b(0xdd)](_0x2e8e7b(0xbe))){const _0x5b204d=join(this[_0x2e8e7b(0xe2)],'proxy.log'),_0x572671=await stat(_0x5b204d),_0x9e46b2=new Date(_0x572671[_0x2e8e7b(0xbf)])[_0x2e8e7b(0xa8)]()[_0x2e8e7b(0xe4)]('T')[0x0];if(_0x9e46b2<_0x14b447){const _0x591553=join(this[_0x2e8e7b(0xe2)],'proxy-'+_0x9e46b2+_0x2e8e7b(0xb4));await rename(_0x5b204d,_0x591553);}}const _0xaafc2e=await readdir(this[_0x2e8e7b(0xe2)]),_0xd8a1a0=/^proxy-(\d{4}-\d{2}-\d{2})\.log$/,_0x24e7cf=_0xaafc2e[_0x2e8e7b(0xba)](_0x36cd3a=>_0xd8a1a0[_0x2e8e7b(0xac)](_0x36cd3a));for(const _0x2771a0 of _0x24e7cf){const _0x54ef0d=join(this[_0x2e8e7b(0xe2)],_0x2771a0),_0x37dad3=join(this['logDir'],_0x2771a0+_0x2e8e7b(0xd2));try{await pipeline(createReadStream(_0x54ef0d),createGzip(),createWriteStream(_0x37dad3)),await unlink(_0x54ef0d);}catch(_0x1a9dea){console[_0x2e8e7b(0xc5)](_0x2e8e7b(0xd7)+_0x2771a0+':',_0x1a9dea);}}}catch{}}[a80_0x8b8512(0xde)](..._0x520b63){const _0xf19db8=a80_0x8b8512;if(this[_0xf19db8(0xc3)]>LogLevel[_0xf19db8(0xa7)])return;const _0x15de8b=formatColoredLogEntry(_0xf19db8(0xde),_0x520b63);this[_0xf19db8(0xb0)]?.[_0xf19db8(0xc1)](_0x15de8b+'\x0a');}[a80_0x8b8512(0xb7)](..._0x2022cf){const _0x250d18=a80_0x8b8512;if(this[_0x250d18(0xc3)]>LogLevel[_0x250d18(0xa9)])return;const _0x122d34=formatColoredLogEntry('trace',_0x2022cf);this[_0x250d18(0xb0)]?.['write'](_0x122d34+'\x0a');}[a80_0x8b8512(0xe5)](..._0x421d82){const _0x2700ab=a80_0x8b8512;if(this['logLevel']>LogLevel[_0x2700ab(0xb3)])return;const _0x466ac9=formatColoredLogEntry(_0x2700ab(0xe5),_0x421d82);!this[_0x2700ab(0xaa)]&&console[_0x2700ab(0xe7)](_0x466ac9),this[_0x2700ab(0xb0)]?.['write'](_0x466ac9+'\x0a');}['warn'](..._0x214ad6){const _0x3c5136=a80_0x8b8512;if(this[_0x3c5136(0xc3)]>LogLevel[_0x3c5136(0xae)])return;const _0x2ef2f7=formatColoredLogEntry('warn',_0x214ad6);!this[_0x3c5136(0xaa)]&&console[_0x3c5136(0xc5)](_0x2ef2f7),this['logStream']?.[_0x3c5136(0xc1)](_0x2ef2f7+'\x0a');}[a80_0x8b8512(0xc5)](..._0x34f4e8){const _0x5a7419=a80_0x8b8512,_0x1b55e=formatColoredLogEntry(_0x5a7419(0xc5),_0x34f4e8);!this[_0x5a7419(0xaa)]&&console[_0x5a7419(0xc5)](_0x1b55e),this[_0x5a7419(0xb0)]?.[_0x5a7419(0xc1)](_0x1b55e+'\x0a');}async[a80_0x8b8512(0xcb)](){const _0x1df6cc=a80_0x8b8512;return this[_0x1df6cc(0xe5)](_0x1df6cc(0xda)),new Promise(_0x4007a4=>{const _0x5e38c9=_0x1df6cc;this[_0x5e38c9(0xb0)]?this[_0x5e38c9(0xb0)]['end'](()=>{_0x4007a4();}):_0x4007a4();});}[a80_0x8b8512(0xce)](){const _0x303c05=a80_0x8b8512;return join(this[_0x303c05(0xe2)],_0x303c05(0xbe));}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a81_0x31f7(){const _0x4e19bb=['length','icon','\x20\x20\x20\x20','segment','population','\x20\x20\x20','5jPsJeu','push','showMetadata','820200kzOBWw','\x20folder','11YtQTas','folderCount','(empty)','join','234096iuvsOq','4JupkzV','├──\x20','localeCompare','name','131966tsuiDT','924585hvWSBc','folder','1144140scLLWJ','showIcons','indent','12xrBSrf','children','metadata','8jbfWmt','map','6346054YdKnlV','type','segmentCount','📁\x20','dim','showTreeLines','sort','2789037RSLfXi','🎯\x20','\x20segment','28JYvoyg','└──\x20'];a81_0x31f7=function(){return _0x4e19bb;};return a81_0x31f7();}(function(_0x5913a3,_0x41a329){const _0xd13548=a81_0x2426,_0x2d200b=_0x5913a3();while(!![]){try{const _0xacc18a=-parseInt(_0xd13548(0x154))/0x1*(parseInt(_0xd13548(0x162))/0x2)+parseInt(_0xd13548(0x157))/0x3+parseInt(_0xd13548(0x15e))/0x4*(-parseInt(_0xd13548(0x163))/0x5)+-parseInt(_0xd13548(0x15d))/0x6*(-parseInt(_0xd13548(0x177))/0x7)+-parseInt(_0xd13548(0x16b))/0x8*(parseInt(_0xd13548(0x174))/0x9)+parseInt(_0xd13548(0x165))/0xa*(parseInt(_0xd13548(0x159))/0xb)+parseInt(_0xd13548(0x168))/0xc*(parseInt(_0xd13548(0x16d))/0xd);if(_0xacc18a===_0x41a329)break;else _0x2d200b['push'](_0x2d200b['shift']());}catch(_0x450f7e){_0x2d200b['push'](_0x2d200b['shift']());}}}(a81_0x31f7,0x329cf));import{formatRows}from'./formatters.js';import a81_0xbd5f88 from'chalk';const DEFAULT_OPTIONS={'showTreeLines':!![],'showIcons':!![],'showMetadata':!![],'indent':'\x20\x20'};export function formatTree(_0x509710,_0x308630={},_0x3a50ee=0x0,_0x2b81ff=''){const _0xb2094f=a81_0x2426,_0x3ca481={...DEFAULT_OPTIONS,..._0x308630},_0x364543=[],_0xc43ca6=[..._0x509710]['sort']((_0xa19777,_0x13559d)=>_0xa19777['name'][_0xb2094f(0x160)](_0x13559d[_0xb2094f(0x161)]));for(let _0x4ddda7=0x0;_0x4ddda7<_0xc43ca6[_0xb2094f(0x14e)];_0x4ddda7++){const _0x52880e=_0xc43ca6[_0x4ddda7],_0x551e6d=_0x4ddda7===_0xc43ca6[_0xb2094f(0x14e)]-0x1;let _0xf35d7d='';_0x3a50ee>0x0&&(_0xf35d7d+=_0x2b81ff);_0x3ca481[_0xb2094f(0x172)]&&_0x3a50ee>0x0&&(_0xf35d7d+=a81_0xbd5f88[_0xb2094f(0x171)](_0x551e6d?_0xb2094f(0x178):_0xb2094f(0x15f)));_0x3ca481[_0xb2094f(0x166)]&&(_0xf35d7d+=_0x52880e[_0xb2094f(0x16e)]===_0xb2094f(0x164)?_0xb2094f(0x170):_0xb2094f(0x175));_0xf35d7d+=_0x52880e['name'];if(_0x3ca481[_0xb2094f(0x156)]){if(_0x52880e[_0xb2094f(0x16e)]==='folder'){const _0x463cd8=[];_0x52880e[_0xb2094f(0x16a)][_0xb2094f(0x16f)]&&_0x463cd8[_0xb2094f(0x155)](_0x52880e[_0xb2094f(0x16a)]['segmentCount']+_0xb2094f(0x176)+(_0x52880e[_0xb2094f(0x16a)]['segmentCount']!==0x1?'s':'')),_0x52880e[_0xb2094f(0x16a)][_0xb2094f(0x15a)]&&_0x463cd8[_0xb2094f(0x155)](_0x52880e[_0xb2094f(0x16a)][_0xb2094f(0x15a)]+_0xb2094f(0x158)+(_0x52880e['metadata'][_0xb2094f(0x15a)]!==0x1?'s':'')),_0x463cd8['length']>0x0&&(_0xf35d7d+=a81_0xbd5f88[_0xb2094f(0x171)]('\x20('+_0x463cd8[_0xb2094f(0x15c)](',\x20')+')'));}else _0x52880e[_0xb2094f(0x16e)]===_0xb2094f(0x151)&&_0x52880e[_0xb2094f(0x152)]!==undefined&&(_0xf35d7d+=a81_0xbd5f88['dim']('\x20('+formatRows(_0x52880e['population'])+')'));}_0x364543[_0xb2094f(0x155)](_0xf35d7d);if(_0x52880e[_0xb2094f(0x169)]&&_0x52880e[_0xb2094f(0x169)][_0xb2094f(0x14e)]>0x0){let _0x44aa95;if(_0x3a50ee===0x0)_0x44aa95='';else _0x3ca481['showTreeLines']?_0x44aa95=_0x2b81ff+(_0x551e6d?_0xb2094f(0x150):a81_0xbd5f88[_0xb2094f(0x171)]('│')+_0xb2094f(0x153)):_0x44aa95=_0x2b81ff+_0x3ca481[_0xb2094f(0x167)];const _0x2f3ef1=formatTree(_0x52880e['children'],_0x3ca481,_0x3a50ee+0x1,_0x44aa95);_0x364543['push'](_0x2f3ef1);}}return _0x364543[_0xb2094f(0x15c)]('\x0a');}function a81_0x2426(_0x17798d,_0x289b25){const _0x31f716=a81_0x31f7();return a81_0x2426=function(_0x242661,_0x6dfcee){_0x242661=_0x242661-0x14e;let _0x1307e0=_0x31f716[_0x242661];return _0x1307e0;},a81_0x2426(_0x17798d,_0x289b25);}export function formatFlatList(_0x573ad5,_0x246a0b,_0x28fa8a={}){const _0x41de8d=a81_0x2426,_0x226930={...DEFAULT_OPTIONS,..._0x28fa8a},_0x5a2489=[];for(const _0x32ce54 of _0x573ad5){_0x5a2489[_0x41de8d(0x155)]({'name':_0x32ce54[_0x41de8d(0x161)],'icon':_0x226930[_0x41de8d(0x166)]?'📁':'','metadata':undefined});}for(const _0x291be3 of _0x246a0b){const _0x508845=_0x226930[_0x41de8d(0x156)]&&_0x291be3[_0x41de8d(0x152)]!==undefined?a81_0xbd5f88[_0x41de8d(0x171)]('\x20('+formatRows(_0x291be3['population'])+')'):'';_0x5a2489['push']({'name':_0x291be3[_0x41de8d(0x161)],'icon':_0x226930[_0x41de8d(0x166)]?'🎯':'','metadata':_0x508845});}_0x5a2489[_0x41de8d(0x173)]((_0x22dcfd,_0x56b1bc)=>_0x22dcfd[_0x41de8d(0x161)][_0x41de8d(0x160)](_0x56b1bc[_0x41de8d(0x161)]));if(_0x5a2489[_0x41de8d(0x14e)]===0x0)return _0x41de8d(0x15b);const _0x277bb6=_0x5a2489[_0x41de8d(0x16c)](_0x272fa5=>{const _0x113667=_0x41de8d,_0x1f0ac5=_0x272fa5['icon']?_0x272fa5[_0x113667(0x14f)]+'\x20':'',_0x2136e1=_0x272fa5[_0x113667(0x16a)]||'';return''+_0x1f0ac5+_0x272fa5[_0x113667(0x161)]+_0x2136e1;});return _0x277bb6['join']('\x0a');}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a82_0x16ad(_0x2b686d,_0x235fbc){const _0x194b41=a82_0x194b();return a82_0x16ad=function(_0x16adfd,_0x307f31){_0x16adfd=_0x16adfd-0x1a0;let _0x25d43c=_0x194b41[_0x16adfd];return _0x25d43c;},a82_0x16ad(_0x2b686d,_0x235fbc);}(function(_0x1954c2,_0x3e1c61){const _0xcf075e=a82_0x16ad,_0x5ca886=_0x1954c2();while(!![]){try{const _0x1c155f=parseInt(_0xcf075e(0x1be))/0x1*(parseInt(_0xcf075e(0x1c5))/0x2)+parseInt(_0xcf075e(0x1ae))/0x3+parseInt(_0xcf075e(0x1b9))/0x4+-parseInt(_0xcf075e(0x1a3))/0x5*(parseInt(_0xcf075e(0x1b4))/0x6)+-parseInt(_0xcf075e(0x1bf))/0x7*(-parseInt(_0xcf075e(0x1b6))/0x8)+parseInt(_0xcf075e(0x1ac))/0x9*(-parseInt(_0xcf075e(0x1c1))/0xa)+parseInt(_0xcf075e(0x1a7))/0xb*(-parseInt(_0xcf075e(0x1a5))/0xc);if(_0x1c155f===_0x3e1c61)break;else _0x5ca886['push'](_0x5ca886['shift']());}catch(_0x52aa13){_0x5ca886['push'](_0x5ca886['shift']());}}}(a82_0x194b,0x31956));import{get}from'https';import{readFileSync,writeFileSync,mkdirSync}from'fs';import{join}from'path';function a82_0x194b(){const _0x10fea4=['green','3WbVLit','17395oBPLxe','HTTP\x20','3625150zTJhqB','cyan','Request\x20timeout','currentVersion','173686WQLYjJ','data','yellow','Update\x20available:','58450cbVIPN','utf-8','25716vohwyk','env','2189VNCWiQ','isTTY','latestVersion','getTime','statusCode','9lDJUNI','\x0aRun:\x20','1208559JxXbZZ','npm\x20install\x20-g\x20@treasuredata/tdx@latest','error','destroy','NO_COLOR','write','60nCjJjS','lastCheck','632YETujK','now','Invalid\x20version\x20format','997076BcIPia','end','version','Run:'];a82_0x194b=function(){return _0x10fea4;};return a82_0x194b();}import{gt,valid}from'semver';import a82_0x5e2a27 from'chalk';import{getCacheDir}from'../core/config.js';const CACHE_DURATION_MS=0x18*0x3c*0x3c*0x3e8,NPM_REGISTRY_URL='https://registry.npmjs.org/@treasuredata/tdx/latest',TIMEOUT_MS=0x7d0;function getCacheFilePath(){const _0x4206cc=getCacheDir();return join(_0x4206cc,'last_version_check');}function readCache(){try{const _0xb3f178=getCacheFilePath(),_0x4afd13=readFileSync(_0xb3f178,'utf-8');return JSON['parse'](_0x4afd13);}catch{return null;}}function writeCache(_0x2e2209){const _0x12d44e=a82_0x16ad;try{const _0x210d5f=getCacheDir();mkdirSync(_0x210d5f,{'recursive':!![]});const _0x25241c={'lastCheck':new Date()['toISOString'](),'latestVersion':_0x2e2209},_0x3d3b81=getCacheFilePath();writeFileSync(_0x3d3b81,JSON['stringify'](_0x25241c,null,0x2),_0x12d44e(0x1a4));}catch{}}function isCacheValid(_0x7ba902){const _0x310b1b=a82_0x16ad;if(!_0x7ba902)return![];const _0x2b758c=new Date(_0x7ba902[_0x310b1b(0x1b5)])[_0x310b1b(0x1aa)](),_0x5baf89=Date[_0x310b1b(0x1b7)]();return _0x5baf89-_0x2b758c<CACHE_DURATION_MS;}function fetchLatestVersion(){return new Promise((_0x19c1b1,_0x1ed7b4)=>{const _0x83d112=a82_0x16ad,_0x3cff4b=get(NPM_REGISTRY_URL,_0xca5c5e=>{const _0x25773f=a82_0x16ad;if(_0xca5c5e['statusCode']!==0xc8){clearTimeout(_0x47f996),_0x1ed7b4(new Error(_0x25773f(0x1c0)+_0xca5c5e[_0x25773f(0x1ab)]));return;}let _0x402332='';_0xca5c5e['on'](_0x25773f(0x1a0),_0x21f12b=>{_0x402332+=_0x21f12b;}),_0xca5c5e['on'](_0x25773f(0x1ba),()=>{const _0x11020f=_0x25773f;clearTimeout(_0x47f996);try{const _0x22c717=JSON['parse'](_0x402332);if(!valid(_0x22c717['version'])){_0x1ed7b4(new Error(_0x11020f(0x1b8)));return;}_0x19c1b1(_0x22c717[_0x11020f(0x1bb)]);}catch(_0x143586){_0x1ed7b4(_0x143586);}});})['on'](_0x83d112(0x1b0),_0x53112d=>{clearTimeout(_0x47f996),_0x1ed7b4(_0x53112d);}),_0x47f996=setTimeout(()=>{const _0x3a2246=_0x83d112;_0x3cff4b[_0x3a2246(0x1b1)](),_0x1ed7b4(new Error(_0x3a2246(0x1c3)));},TIMEOUT_MS);});}export async function checkForUpdate(_0x3401eb){const _0x30b5d0=a82_0x16ad;try{const _0x11f9f2=readCache();if(isCacheValid(_0x11f9f2)){const _0x250f99=gt(_0x11f9f2[_0x30b5d0(0x1a9)],_0x3401eb);return{'updateAvailable':_0x250f99,'currentVersion':_0x3401eb,'latestVersion':_0x11f9f2[_0x30b5d0(0x1a9)]};}const _0x472d80=await fetchLatestVersion();writeCache(_0x472d80);const _0xb603a9=gt(_0x472d80,_0x3401eb);return{'updateAvailable':_0xb603a9,'currentVersion':_0x3401eb,'latestVersion':_0x472d80};}catch{return null;}}export function displayUpdateNotification(_0x5afbf0){const _0x39d9aa=a82_0x16ad;if(!_0x5afbf0['updateAvailable'])return;const _0x22ee33=process['stderr'][_0x39d9aa(0x1a8)]&&!process[_0x39d9aa(0x1a6)][_0x39d9aa(0x1b2)],_0x588257=_0x22ee33?a82_0x5e2a27['gray']('→'):'→',_0x311541=_0x22ee33?a82_0x5e2a27['dim'](_0x5afbf0[_0x39d9aa(0x1c4)]):_0x5afbf0[_0x39d9aa(0x1c4)],_0x294525=_0x22ee33?a82_0x5e2a27[_0x39d9aa(0x1bd)](_0x5afbf0[_0x39d9aa(0x1a9)]):_0x5afbf0[_0x39d9aa(0x1a9)],_0x32ead0=_0x22ee33?a82_0x5e2a27[_0x39d9aa(0x1c2)](_0x39d9aa(0x1af)):_0x39d9aa(0x1af),_0x3fb9c2=_0x22ee33?'\x0a'+a82_0x5e2a27[_0x39d9aa(0x1a1)](_0x39d9aa(0x1a2))+'\x20'+_0x311541+'\x20'+_0x588257+'\x20'+_0x294525+'\x0a'+a82_0x5e2a27['dim'](_0x39d9aa(0x1bc))+'\x20'+_0x32ead0+'\x0a':'\x0aUpdate\x20available:\x20'+_0x311541+'\x20'+_0x588257+'\x20'+_0x294525+_0x39d9aa(0x1ad)+_0x32ead0+'\x0a';process['stderr'][_0x39d9aa(0x1b3)](_0x3fb9c2);}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
const a83_0x3fae8f=a83_0x304c;(function(_0xffa74b,_0xbd1c27){const _0x26ee20=a83_0x304c,_0x1b29d1=_0xffa74b();while(!![]){try{const _0x366957=parseInt(_0x26ee20(0x177))/0x1+-parseInt(_0x26ee20(0x173))/0x2*(-parseInt(_0x26ee20(0x176))/0x3)+parseInt(_0x26ee20(0x17d))/0x4*(-parseInt(_0x26ee20(0x175))/0x5)+-parseInt(_0x26ee20(0x171))/0x6*(parseInt(_0x26ee20(0x17a))/0x7)+-parseInt(_0x26ee20(0x170))/0x8+parseInt(_0x26ee20(0x17b))/0x9+parseInt(_0x26ee20(0x172))/0xa*(-parseInt(_0x26ee20(0x174))/0xb);if(_0x366957===_0xbd1c27)break;else _0x1b29d1['push'](_0x1b29d1['shift']());}catch(_0x974b43){_0x1b29d1['push'](_0x1b29d1['shift']());}}}(a83_0x3cf7,0x37cd7));export const WORKFLOW_FILE_EXTENSION=a83_0x3fae8f(0x17c);function a83_0x304c(_0x266072,_0xbddc1a){const _0x3cf727=a83_0x3cf7();return a83_0x304c=function(_0x304c95,_0x1c2416){_0x304c95=_0x304c95-0x170;let _0x119e4e=_0x3cf727[_0x304c95];return _0x119e4e;},a83_0x304c(_0x266072,_0xbddc1a);}function a83_0x3cf7(){const _0x4d1b90=['1404221oJJSzz','2881260RDbzWG','.dig','4UMYKKF','500088xOlLwA','6kKNAMs','110EVoZhp','289566YzGXhC','172711XZffIZ','1148975DkNcZD','3SNKtTp','429264gYlPfx','.digdag','startsWith'];a83_0x3cf7=function(){return _0x4d1b90;};return a83_0x3cf7();}export function shouldIncludeInArchive(_0x54840d){const _0x105288=a83_0x3fae8f;if(_0x54840d===_0x105288(0x178))return!![];if(_0x54840d[_0x105288(0x179)]('.'))return![];return!![];}
|