Built motion from commit 973e3e332e1c8e2f84c4b0cd2e5af794131724f5. Version 3.0.0...
[motion-next.git] / server / utils / build-info.js
index 51717a5..bce03d6 100644 (file)
@@ -1 +1 @@
-const a1229_0x3700=['join','git-last-commit','../../package.json','xcally','isProduction','undefined','resolve','exports'];(function(_0x16f765,_0x370048){const _0xb2abdc=function(_0x21032a){while(--_0x21032a){_0x16f765['push'](_0x16f765['shift']());}};_0xb2abdc(++_0x370048);}(a1229_0x3700,0x18c));const a1229_0xb2ab=function(_0x16f765,_0x370048){_0x16f765=_0x16f765-0x0;let _0xb2abdc=a1229_0x3700[_0x16f765];return _0xb2abdc;};const _0x113f04=a1229_0xb2ab,{getLastCommit}=require(_0x113f04('0x5')),{getConfigService}=require('../config/config.service'),packageJson=require(_0x113f04('0x6')),cs=getConfigService();function getBuildInfo(){return new Promise((_0x21032a,_0x32d7e1)=>{getLastCommit(function(_0xfc90f4,_0x4163fd){const _0x38c701=a1229_0xb2ab;if(_0xfc90f4)_0x32d7e1(_0xfc90f4);else{const {shortHash:_0x576a45,branch:_0x2d3bbe,committedOn:_0x73b9a8,tags:_0x2f83eb}=_0x4163fd;_0x21032a({'shortHash':_0x576a45,'branch':_0x2d3bbe,'tag':_0x2f83eb[_0x38c701('0x4')](',\x20'),'committedOn':new Date(Number(_0x73b9a8)*0x3e8),'buildDate':new Date()});}});});}function readBuildInfo(){const _0x3c6229=_0x113f04;return cs[_0x3c6229('0x0')]&&typeof packageJson['xcally']!==_0x3c6229('0x1')?Promise[_0x3c6229('0x2')](packageJson[_0x3c6229('0x7')]):getBuildInfo();}module[_0x113f04('0x3')]={'getBuildInfo':getBuildInfo,'readBuildInfo':readBuildInfo};
\ No newline at end of file
+const a1231_0x1681=['resolve','exports','xcally','../../package.json','join','git-last-commit','isProduction','undefined'];(function(_0x5ce93a,_0x16812c){const _0x763d23=function(_0x2b0589){while(--_0x2b0589){_0x5ce93a['push'](_0x5ce93a['shift']());}};_0x763d23(++_0x16812c);}(a1231_0x1681,0xfb));const a1231_0x763d=function(_0x5ce93a,_0x16812c){_0x5ce93a=_0x5ce93a-0x0;let _0x763d23=a1231_0x1681[_0x5ce93a];return _0x763d23;};const _0x4eaa22=a1231_0x763d,{getLastCommit}=require(_0x4eaa22('0x2')),{getConfigService}=require('../config/config.service'),packageJson=require(_0x4eaa22('0x0')),cs=getConfigService();function getBuildInfo(){return new Promise((_0x2b0589,_0x9295f7)=>{getLastCommit(function(_0x3b2a15,_0x3034ae){const _0x559d95=a1231_0x763d;if(_0x3b2a15)_0x9295f7(_0x3b2a15);else{const {shortHash:_0x1c698b,branch:_0x4bfcb4,committedOn:_0x457111,tags:_0x433781}=_0x3034ae;_0x2b0589({'shortHash':_0x1c698b,'branch':_0x4bfcb4,'tag':_0x433781[_0x559d95('0x1')](',\x20'),'committedOn':new Date(Number(_0x457111)*0x3e8),'buildDate':new Date()});}});});}function readBuildInfo(){const _0x1b107f=_0x4eaa22;return cs[_0x1b107f('0x3')]&&typeof packageJson[_0x1b107f('0x7')]!==_0x1b107f('0x4')?Promise[_0x1b107f('0x5')](packageJson[_0x1b107f('0x7')]):getBuildInfo();}module[_0x4eaa22('0x6')]={'getBuildInfo':getBuildInfo,'readBuildInfo':readBuildInfo};
\ No newline at end of file