@atomicservice/ascf-toolkit 1.0.6 → 1.0.8

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.
Files changed (91) hide show
  1. package/lib/ascf-base/index.js +1 -1
  2. package/lib/ascf-common/index.js +1 -1
  3. package/lib/ascf-compiler/appjson-loader.js +1 -1
  4. package/lib/ascf-compiler/common/appjson-validator.js +1 -1
  5. package/lib/ascf-compiler/common/ascf-define.js +1 -1
  6. package/lib/ascf-compiler/common/beforeLoaderProcess.js +1 -1
  7. package/lib/ascf-compiler/common/css-runtime-api.js +1 -1
  8. package/lib/ascf-compiler/common/eventHappenHjs.js +1 -1
  9. package/lib/ascf-compiler/common/exp-utils.js +1 -1
  10. package/lib/ascf-compiler/common/hash-sum.js +1 -1
  11. package/lib/ascf-compiler/common/hdc-executor.js +1 -1
  12. package/lib/ascf-compiler/common/hjs-utils.js +1 -1
  13. package/lib/ascf-compiler/common/hxml-validator.js +1 -1
  14. package/lib/ascf-compiler/common/logUndefined.js +1 -1
  15. package/lib/ascf-compiler/common/manifest-handler.js +1 -1
  16. package/lib/ascf-compiler/common/manifest-manager.js +1 -1
  17. package/lib/ascf-compiler/common/merge-tpl-cmps.js +1 -1
  18. package/lib/ascf-compiler/common/packoptions-utils.js +1 -1
  19. package/lib/ascf-compiler/common/quick-generate-subpackage.js +1 -1
  20. package/lib/ascf-compiler/common/utils.js +1 -1
  21. package/lib/ascf-compiler/css-process-loader.js +1 -1
  22. package/lib/ascf-compiler/extract-loader.js +1 -1
  23. package/lib/ascf-compiler/hcss-loader.js +1 -1
  24. package/lib/ascf-compiler/hjs-loader.js +1 -1
  25. package/lib/ascf-compiler/hxml-loader.js +1 -1
  26. package/lib/ascf-compiler/js-parser/parser-babel.js +1 -1
  27. package/lib/ascf-compiler/js-parser/parser-swc.js +1 -1
  28. package/lib/ascf-compiler/js-parser/parser.js +1 -1
  29. package/lib/ascf-compiler/loader-utils.js +1 -1
  30. package/lib/ascf-compiler/path-process-loader.js +1 -1
  31. package/lib/ascf-compiler/plugin/before-loader-plugin.js +1 -1
  32. package/lib/ascf-compiler/plugin/copy-bundle-plugin.js +1 -1
  33. package/lib/ascf-compiler/plugin/dynamic-entry-plugin.js +1 -1
  34. package/lib/ascf-compiler/plugin/extConfig-plugin.js +1 -1
  35. package/lib/ascf-compiler/plugin/html-generator-plugin.js +1 -1
  36. package/lib/ascf-compiler/plugin/i18n-transform-plugin.js +1 -1
  37. package/lib/ascf-compiler/plugin/manifest-generator-plugin.js +1 -1
  38. package/lib/ascf-compiler/plugin/quick-service-build-plugin.js +1 -1
  39. package/lib/ascf-compiler/plugin/replace-module-id-plugin.js +1 -1
  40. package/lib/ascf-compiler/plugin/resource-plugin.js +1 -1
  41. package/lib/ascf-compiler/plugin/webpack-target/index.js +1 -1
  42. package/lib/ascf-compiler/plugin/webpack-target/jsonpChunkLoadingRuntimeModule.js +1 -1
  43. package/lib/ascf-compiler/plugin/webpack-target/jsonpHelpers.js +1 -1
  44. package/lib/ascf-compiler/plugin/webpack-target/jsonpTemplatePlugin.js +1 -1
  45. package/lib/ascf-compiler/require-loader.js +1 -1
  46. package/lib/ascf-compiler/server/dev-server.js +1 -1
  47. package/lib/ascf-compiler/server/port-manager.js +1 -1
  48. package/lib/ascf-compiler/swc-loader.js +1 -1
  49. package/lib/ascf-compiler/template/attr-utils.js +1 -1
  50. package/lib/ascf-compiler/template/implicit-model-config.js +1 -1
  51. package/lib/ascf-compiler/template/node-name-utils.js +1 -1
  52. package/lib/ascf-compiler/trustlist-hxml-verify-loader.js +1 -1
  53. package/lib/ascf-compiler/trustlist-js-verify-loader.js +1 -1
  54. package/lib/ascf-compiler/trustlist-verify/config.js +1 -1
  55. package/lib/ascf-compiler/trustlist-verify/utils.js +1 -1
  56. package/lib/ascf-compiler/trustlist-verify/verify-ignore-files.js +1 -1
  57. package/lib/ascf-compiler/vue-compiler/vue.bundle.js +1 -1
  58. package/lib/ascf-compiler/web.webpack.config.js +1 -1
  59. package/lib/ascf-converter/common/commonConfig.js +1 -1
  60. package/lib/ascf-converter/common/commonUtils.js +1 -1
  61. package/lib/ascf-converter/common/path-validator.js +1 -1
  62. package/lib/ascf-converter/common/textDocument.js +1 -1
  63. package/lib/ascf-converter/compiler-utils/parse5.bundle.js +1 -1
  64. package/lib/ascf-converter/convertManager.js +1 -1
  65. package/lib/ascf-converter/features/converter.js +1 -1
  66. package/lib/ascf-converter/features/fileHandle.js +1 -1
  67. package/lib/ascf-converter/features/transformReport.js +1 -1
  68. package/lib/ascf-converter/lib/apiadapter4alipay.js +1 -1
  69. package/lib/ascf-converter/parse/babelParser.js +1 -1
  70. package/lib/ascf-converter/parse/importVisitor.js +1 -1
  71. package/lib/ascf-converter/parse/wxssParser.js +1 -1
  72. package/lib/ascf-converter/report/js/index.js +1 -1
  73. package/lib/ascf-sign-tools/cli.js +1 -1
  74. package/lib/ascf-sign-tools/index.js +1 -1
  75. package/lib/bin/ascf.js +1 -1
  76. package/lib/commands/ascfbuild/index.js +1 -1
  77. package/lib/commands/build-npm/index.js +1 -1
  78. package/lib/commands/compile.js +1 -1
  79. package/lib/commands/convert.js +1 -1
  80. package/lib/commands/debugger/index.js +1 -1
  81. package/lib/commands/quickservice/index.js +1 -1
  82. package/lib/common/config.js +1 -1
  83. package/lib/common/constants.js +1 -1
  84. package/lib/common/log4js.js +1 -1
  85. package/lib/common/logger-plugin.js +1 -1
  86. package/lib/common/remove-strict-mode-plugin.js +1 -1
  87. package/lib/common/string-utils.js +1 -1
  88. package/lib/common/utils.js +1 -1
  89. package/lib/common/version-check.js +1 -1
  90. package/lib/index.js +1 -1
  91. package/package.json +1 -3
@@ -1 +1 @@
1
- var _0x270714=_0x54db;function _0x54db(e,r){var n=_0x5b45();return(_0x54db=function(e,r){return n[e-=182]})(e,r)}function _0x5b45(){var e=["3381470ebWvCx","@atomicservice/ascfapi","2134449mVhXtA","length","oh-package.json5","4KErFhb","@atomicservice/ascf","4716642fTVvBx","info","166545boLvrU","resolve","86oKExzL","modules","574EPUcaw","returnCode","pathValidator","build-profile.json5","existsSync","readJsonFile","path","33EUDyRS","3326886GjHuRS","checkInputPathFun","Output path is not an ASCF project.","2352ANMkxj","data","../../common/utils","7671zpkpCO"];return(_0x5b45=function(){return e})()}(()=>{for(var e=_0x54db,r=_0x5b45();;)try{if(398759==+parseInt(e(189))*(-parseInt(e(201))/2)+parseInt(e(192))/3*(-parseInt(e(195))/4)+parseInt(e(199))/5+parseInt(e(197))/6+-parseInt(e(203))/7*(parseInt(e(186))/8)+-parseInt(e(183))/9+-parseInt(e(190))/10*(-parseInt(e(182))/11))break;r.push(r.shift())}catch(e){r.push(r.shift())}})();var fs=require("fs"),path=require(_0x270714(209)),_require=require(_0x270714(188)),readJsonFile=_require[_0x270714(208)];exports[_0x270714(205)]=function(e,r){var n,t=_0x270714;require("../features/converter.js")[t(184)](e)[t(187)][t(204)]?(e=path[t(200)](r,t(206)),null!=(r=(n=0<(null==(e=fs[t(207)](e)?readJsonFile(e):void 0)||null==(n=e.modules)?void 0:n[t(193)])?path[t(200)](r,e[t(202)][0].srcPath,t(194)):void 0)?readJsonFile(n):void 0)&&r.dependencies&&(r.dependencies[t(191)]||r.dependencies[t(196)])?console[t(198)]("Check success."):console.error(t(185))):console.error("Input path is not MiniProgram src.")};
1
+ function _0x29e9(){var e=["../../common/utils","30XhmnPI","checkInputPathFun","resolve","oh-package.json5","Input path is not MiniProgram src.","1TkmOBH","2460035ZriBYp","8063811DPInAX","data","error","9886440jhjeGO","33243EJJCvT","dependencies","info","../features/converter.js","returnCode","52gDvPCF","srcPath","pathValidator","@atomicservice/ascfapi","132rcJybh","3380229wsaYdk","length","2489047kgARqi","621958CmIWjw","readJsonFile","Output path is not an ASCF project.","modules","12dbiIao","path","build-profile.json5"];return(_0x29e9=function(){return e})()}function _0x13b6(e,r){var n=_0x29e9();return(_0x13b6=function(e,r){return n[e-=116]})(e,r)}var _0x4515c9=_0x13b6,fs=((()=>{for(var e=_0x13b6,r=_0x29e9();;)try{if(699030==-parseInt(e(117))*(-parseInt(e(136))/2)+parseInt(e(123))/3*(parseInt(e(128))/4)+parseInt(e(118))/5*(-parseInt(e(140))/6)+-parseInt(e(119))/7+-parseInt(e(122))/8+-parseInt(e(133))/9*(-parseInt(e(144))/10)+-parseInt(e(135))/11*(-parseInt(e(132))/12))break;r.push(r.shift())}catch(e){r.push(r.shift())}})(),require("fs")),path=require(_0x4515c9(141)),_require=require(_0x4515c9(143)),readJsonFile=_require[_0x4515c9(137)];exports[_0x4515c9(130)]=function(e,r){var n,t=_0x4515c9;require(t(126))[t(145)](e)[t(120)][t(127)]?(e=path[t(146)](r,t(142)),null!=(r=(n=0<(null==(e=fs.existsSync(e)?readJsonFile(e):void 0)||null==(n=e[t(139)])?void 0:n[t(134)])?path[t(146)](r,e[t(139)][0][t(129)],t(147)):void 0)?readJsonFile(n):void 0)&&r[t(124)]&&(r[t(124)][t(131)]||r[t(124)]["@atomicservice/ascf"])?console[t(125)]("Check success."):console[t(121)](t(138))):console[t(121)](t(116))};
@@ -1 +1 @@
1
- function _typeof(t){var r=_0x41b1;return(_typeof=r(231)==typeof Symbol&&r(233)==typeof Symbol[r(246)]?function(t){return typeof t}:function(t){var e=r;return t&&e(231)==typeof Symbol&&t[e(219)]===Symbol&&t!==Symbol[e(221)]?"symbol":typeof t})(t)}function _classCallCheck(t,e){var r=_0x41b1;if(!(t instanceof e))throw new TypeError(r(253))}function _0x41b1(t,e){var r=_0x2305();return(_0x41b1=function(t,e){return r[t-=219]})(t,e)}function _defineProperties(t,e){for(var r=_0x41b1,n=0;n<e[r(226)];n++){var i=e[n];i.enumerable=i[r(256)]||!1,i[r(243)]=!0,r(240)in i&&(i[r(252)]=!0),Object.defineProperty(t,_toPropertyKey(i[r(251)]),i)}}function _createClass(t,e,r){var n=_0x41b1;return e&&_defineProperties(t.prototype,e),r&&_defineProperties(t,r),Object[n(250)](t,n(221),{writable:!1}),t}function _toPropertyKey(t){var e=_0x41b1,t=_toPrimitive(t,e(245));return e(233)==_typeof(t)?t:t+""}function _toPrimitive(t,e){var r=_0x41b1;if(r(234)!=_typeof(t)||!t)return t;var n=t[Symbol[r(259)]];if(void 0===n)return(r(245)===e?String:Number)(t);n=n[r(255)](t,e||"default");if(r(234)!=_typeof(n))return n;throw new TypeError(r(238))}(()=>{for(var t=_0x41b1,e=_0x2305();;)try{if(546605==-parseInt(t(235))+-parseInt(t(223))/2+parseInt(t(230))/3*(-parseInt(t(227))/4)+parseInt(t(236))/5*(-parseInt(t(232))/6)+-parseInt(t(224))/7+parseInt(t(239))/8*(parseInt(t(220))/9)+parseInt(t(247))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}})();var TextDocument=(()=>{var f=_0x41b1;return _createClass(function t(e,r){var n=_0x41b1;_classCallCheck(this,t),this[n(249)]=e,this[n(222)]=r,this._lineOffsets=void 0},[{key:"getText",value:function(){return this[_0x41b1(222)]}},{key:f(244),value:function(){return this[f(249)]}},{key:"offsetAt",value:function(t){var e,r=f,n=this[r(258)]();return t[r(248)]>=n[r(226)]?this[r(222)][r(226)]:t[r(248)]<0?0:(e=n[t[r(248)]],n=t[r(248)]+1<n.length?n[t[r(248)]+1]:this._content[r(226)],Math[r(254)](Math[r(257)](e+t[r(260)],n),e))}},{key:"getLineOffsets",value:function(){var t=f;return void 0===this[t(229)]&&(this[t(229)]=this[t(242)](this._content,!0)),this[t(229)]}},{key:"computeLineOffsets",value:function(t,e,r){for(var n=f,i=(void 0===r&&(r=0),e?[r]:[]),o=0;o<t[n(226)];o++){var a=t[n(225)](o);13!==a&&10!==a||(13===a&&o+1<t[n(226)]&&10===t[n(225)](o+1)&&o++,i[n(237)](r+o+1))}return i}},{key:f(241),value:function(t){var e=f,r=(t=Math[e(254)](Math[e(257)](t,this[e(222)][e(226)]),0),this.getLineOffsets()),n=0,i=r[e(226)];if(0===i)return{line:0,character:t};for(;n<i;){var o=Math[e(228)]((n+i)/2);r[o]>t?i=o:n=o+1}var a=n-1;return{line:a,character:t-r[a]}}}])})();function _0x2305(){var t=["4757886ecaRDZ","prototype","_content","1721220wYeDrK","847826vOiOrX","charCodeAt","length","1704OyYwLj","floor","_lineOffsets","5469HzlGGz","function","30jvEmOc","symbol","object","977830ycmWCf","435205stNGrm","push","@@toPrimitive must return a primitive value.","8hRaAAl","value","positionAt","computeLineOffsets","configurable","uri","string","iterator","31893120ixYJQH","line","_uri","defineProperty","key","writable","Cannot call a class as a function","max","call","enumerable","min","getLineOffsets","toPrimitive","character","constructor"];return(_0x2305=function(){return t})()}function create(t,e){return new TextDocument(t,e)}module.exports={create:create};
1
+ function _typeof(t){var r=_0x1521;return(_typeof=r(413)==typeof Symbol&&r(379)==typeof Symbol[r(377)]?function(t){return typeof t}:function(t){var e=r;return t&&e(413)==typeof Symbol&&t[e(393)]===Symbol&&t!==Symbol[e(396)]?e(379):typeof t})(t)}function _classCallCheck(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _defineProperties(t,e){for(var r=_0x1521,n=0;n<e[r(371)];n++){var i=e[n];i[r(375)]=i[r(375)]||!1,i.configurable=!0,r(385)in i&&(i.writable=!0),Object[r(406)](t,_toPropertyKey(i[r(387)]),i)}}function _createClass(t,e,r){var n=_0x1521;return e&&_defineProperties(t.prototype,e),r&&_defineProperties(t,r),Object.defineProperty(t,n(396),{writable:!1}),t}function _0x1521(t,e){var r=_0x102a();return(_0x1521=function(t,e){return r[t-=371]})(t,e)}function _toPropertyKey(t){t=_toPrimitive(t,_0x1521(374));return"symbol"==_typeof(t)?t:t+""}function _toPrimitive(t,e){var r=_0x1521;if("object"!=_typeof(t)||!t)return t;var n=t[Symbol[r(399)]];if(void 0===n)return(r(374)===e?String:Number)(t);n=n[r(398)](t,e||r(386));if(r(389)!=_typeof(n))return n;throw new TypeError(r(402))}function _0x102a(){var t=["getText","value","default","key","_content","object","2033465erApVW","14604570WLfMnt","charCodeAt","constructor","63192PaaIKp","6858PpPafx","prototype","8ViQBTA","call","toPrimitive","offsetAt","5kBqCXn","@@toPrimitive must return a primitive value.","character","positionAt","push","defineProperty","computeLineOffsets","line","10kyswjG","10xBteHz","getLineOffsets","_uri","function","max","length","344JdvzuT","_lineOffsets","string","enumerable","926431GJpOsA","iterator","uri","symbol","234jTntQA","6594018nkEvkn","603288KRwnVD","floor"];return(_0x102a=function(){return t})()}(()=>{for(var t=_0x1521,e=_0x102a();;)try{if(929529==-parseInt(t(409))*(parseInt(t(394))/2)+-parseInt(t(395))/3*(parseInt(t(372))/4)+parseInt(t(401))/5*(parseInt(t(381))/6)+-parseInt(t(390))/7*(parseInt(t(397))/8)+parseInt(t(391))/9+parseInt(t(410))/10*(-parseInt(t(376))/11)+parseInt(t(382))/12*(-parseInt(t(380))/13))break;e.push(e.shift())}catch(t){e.push(e.shift())}})();var TextDocument=(()=>{var s=_0x1521;return _createClass(function t(e,r){var n=_0x1521;_classCallCheck(this,t),this._uri=e,this[n(388)]=r,this[n(373)]=void 0},[{key:s(384),value:function(){return this._content}},{key:s(378),value:function(){return this[s(412)]}},{key:s(400),value:function(t){var e,r=s,n=this.getLineOffsets();return t[r(408)]>=n[r(371)]?this[r(388)][r(371)]:t[r(408)]<0?0:(e=n[t[r(408)]],n=t.line+1<n.length?n[t[r(408)]+1]:this[r(388)][r(371)],Math[r(414)](Math.min(e+t[r(403)],n),e))}},{key:s(411),value:function(){var t=s;return void 0===this[t(373)]&&(this[t(373)]=this[t(407)](this[t(388)],!0)),this._lineOffsets}},{key:s(407),value:function(t,e,r){for(var n=s,i=(void 0===r&&(r=0),e?[r]:[]),o=0;o<t[n(371)];o++){var a=t[n(392)](o);13!==a&&10!==a||(13===a&&o+1<t[n(371)]&&10===t[n(392)](o+1)&&o++,i[n(405)](r+o+1))}return i}},{key:s(404),value:function(t){var e=s,r=(t=Math[e(414)](Math.min(t,this[e(388)][e(371)]),0),this[e(411)]()),n=0,i=r[e(371)];if(0===i)return{line:0,character:t};for(;n<i;){var o=Math[e(383)]((n+i)/2);r[o]>t?i=o:n=o+1}var a=n-1;return{line:a,character:t-r[a]}}}])})();function create(t,e){return new TextDocument(t,e)}module.exports={create:create};