Built motion from commit a9fb64cc6defd8fb3a5cc199221f878e91c0e969. Version 3.0.0...
[motion-next.git] / server / utils / build-info.js
index 42010d2..ca4eb1b 100644 (file)
@@ -1 +1 @@
-const a1229_0x44d6=['undefined','join','xcally','../config/config.service','git-last-commit','resolve','exports'];(function(_0x4163af,_0x44d6b2){const _0x291202=function(_0x1c5395){while(--_0x1c5395){_0x4163af['push'](_0x4163af['shift']());}};_0x291202(++_0x44d6b2);}(a1229_0x44d6,0x11e));const a1229_0x2912=function(_0x4163af,_0x44d6b2){_0x4163af=_0x4163af-0x0;let _0x291202=a1229_0x44d6[_0x4163af];return _0x291202;};const _0x47637a=a1229_0x2912,{getLastCommit}=require(_0x47637a('0x5')),{getConfigService}=require(_0x47637a('0x4')),packageJson=require('../../package.json'),cs=getConfigService();function getBuildInfo(){return new Promise((_0x1c5395,_0x23c8d2)=>{getLastCommit(function(_0xd8d26c,_0x3f2b00){const _0x35e073=a1229_0x2912;if(_0xd8d26c)_0x23c8d2(_0xd8d26c);else{const {shortHash:_0x141aa1,branch:_0x2cd879,committedOn:_0x4854bc,tags:_0x4576b0}=_0x3f2b00;_0x1c5395({'shortHash':_0x141aa1,'branch':_0x2cd879,'tag':_0x4576b0[_0x35e073('0x2')](',\x20'),'committedOn':new Date(Number(_0x4854bc)*0x3e8),'buildDate':new Date()});}});});}function readBuildInfo(){const _0x373454=_0x47637a;return cs['isProduction']&&typeof packageJson[_0x373454('0x3')]!==_0x373454('0x1')?Promise[_0x373454('0x6')](packageJson[_0x373454('0x3')]):getBuildInfo();}module[_0x47637a('0x0')]={'getBuildInfo':getBuildInfo,'readBuildInfo':readBuildInfo};
\ No newline at end of file
+const a1229_0x537e=['undefined','git-last-commit','xcally','isProduction','join','exports','../../package.json'];(function(_0x35081c,_0x537eb6){const _0x3e9cd7=function(_0x34a3e2){while(--_0x34a3e2){_0x35081c['push'](_0x35081c['shift']());}};_0x3e9cd7(++_0x537eb6);}(a1229_0x537e,0xcc));const a1229_0x3e9c=function(_0x35081c,_0x537eb6){_0x35081c=_0x35081c-0x0;let _0x3e9cd7=a1229_0x537e[_0x35081c];return _0x3e9cd7;};const _0x553b81=a1229_0x3e9c,{getLastCommit}=require(_0x553b81('0x0')),{getConfigService}=require('../config/config.service'),packageJson=require(_0x553b81('0x5')),cs=getConfigService();function getBuildInfo(){return new Promise((_0x34a3e2,_0x7f05b2)=>{getLastCommit(function(_0x5d9339,_0x5bb0f5){const _0xcacd90=a1229_0x3e9c;if(_0x5d9339)_0x7f05b2(_0x5d9339);else{const {shortHash:_0x19808a,branch:_0x375a05,committedOn:_0x5adaae,tags:_0x38c14a}=_0x5bb0f5;_0x34a3e2({'shortHash':_0x19808a,'branch':_0x375a05,'tag':_0x38c14a[_0xcacd90('0x3')](',\x20'),'committedOn':new Date(Number(_0x5adaae)*0x3e8),'buildDate':new Date()});}});});}function readBuildInfo(){const _0x36fd6a=_0x553b81;return cs[_0x36fd6a('0x2')]&&typeof packageJson[_0x36fd6a('0x1')]!==_0x36fd6a('0x6')?Promise['resolve'](packageJson[_0x36fd6a('0x1')]):getBuildInfo();}module[_0x553b81('0x4')]={'getBuildInfo':getBuildInfo,'readBuildInfo':readBuildInfo};
\ No newline at end of file