@tarojs/rn-runner 3.6.6-alpha.1 → 3.6.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.
|
@@ -226,11 +226,15 @@ function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getProt
|
|
|
226
226
|
|
|
227
227
|
function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function");}}
|
|
228
228
|
|
|
229
|
-
function
|
|
229
|
+
function _toPrimitive(input,hint){if(_typeof(input)!=="object"||input===null)return input;var prim=input[Symbol.toPrimitive];if(prim!==undefined){var res=prim.call(input,hint||"default");if(_typeof(res)!=="object")return res;throw new TypeError("@@toPrimitive must return a primitive value.");}return (hint==="string"?String:Number)(input);}
|
|
230
|
+
|
|
231
|
+
function _toPropertyKey(arg){var key=_toPrimitive(arg,"string");return _typeof(key)==="symbol"?key:String(key);}
|
|
232
|
+
|
|
233
|
+
function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;if("value"in descriptor)descriptor.writable=true;Object.defineProperty(target,_toPropertyKey(descriptor.key),descriptor);}}function _createClass(Constructor,protoProps,staticProps){if(protoProps)_defineProperties(Constructor.prototype,protoProps);if(staticProps)_defineProperties(Constructor,staticProps);Object.defineProperty(Constructor,"prototype",{writable:false});return Constructor;}
|
|
230
234
|
|
|
231
235
|
function asyncGeneratorStep(gen,resolve,reject,_next,_throw,key,arg){try{var info=gen[key](arg);var value=info.value;}catch(error){reject(error);return;}if(info.done){resolve(value);}else {Promise.resolve(value).then(_next,_throw);}}function _asyncToGenerator(fn){return function(){var self=this,args=arguments;return new Promise(function(resolve,reject){var gen=fn.apply(self,args);function _next(value){asyncGeneratorStep(gen,resolve,reject,_next,_throw,"next",value);}function _throw(err){asyncGeneratorStep(gen,resolve,reject,_next,_throw,"throw",err);}_next(undefined);});};}
|
|
232
236
|
|
|
233
|
-
function _defineProperty(obj,key,value){if(key in obj){Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true});}else {obj[key]=value;}return obj;}
|
|
237
|
+
function _defineProperty(obj,key,value){key=_toPropertyKey(key);if(key in obj){Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true});}else {obj[key]=value;}return obj;}
|
|
234
238
|
|
|
235
239
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
236
240
|
|
|
@@ -258,7 +262,7 @@ function _createSuper$1(Derived){var hasNativeReflectConstruct=_isNativeReflectC
|
|
|
258
262
|
|
|
259
263
|
var NativeErrorManager = NativeModulesProxy.ExpoModulesCoreErrorManager;
|
|
260
264
|
|
|
261
|
-
if(__DEV__&&Platform.OS==='android'&&NativeErrorManager){var eventEmitter=new EventEmitter(NativeErrorManager);eventEmitter.addListener(
|
|
265
|
+
if(__DEV__&&Platform.OS==='android'&&NativeErrorManager){var onNewException='ExpoModulesCoreErrorManager.onNewException';var eventEmitter=new EventEmitter(NativeErrorManager);eventEmitter.addListener(onNewException,function(_ref){var message=_ref.message;console.error(message);});}global.ExpoModulesCore_CodedError=CodedError;
|
|
262
266
|
|
|
263
267
|
var compareVersions = {exports: {}};
|
|
264
268
|
|
|
@@ -371,7 +375,13 @@ import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
|
|
|
371
375
|
|
|
372
376
|
function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function");}}
|
|
373
377
|
|
|
374
|
-
function
|
|
378
|
+
function _typeof(obj){"@babel/helpers - typeof";return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj;}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj;},_typeof(obj);}
|
|
379
|
+
|
|
380
|
+
function _toPrimitive(input,hint){if(_typeof(input)!=="object"||input===null)return input;var prim=input[Symbol.toPrimitive];if(prim!==undefined){var res=prim.call(input,hint||"default");if(_typeof(res)!=="object")return res;throw new TypeError("@@toPrimitive must return a primitive value.");}return (hint==="string"?String:Number)(input);}
|
|
381
|
+
|
|
382
|
+
function _toPropertyKey(arg){var key=_toPrimitive(arg,"string");return _typeof(key)==="symbol"?key:String(key);}
|
|
383
|
+
|
|
384
|
+
function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;if("value"in descriptor)descriptor.writable=true;Object.defineProperty(target,_toPropertyKey(descriptor.key),descriptor);}}function _createClass(Constructor,protoProps,staticProps){if(protoProps)_defineProperties(Constructor.prototype,protoProps);if(staticProps)_defineProperties(Constructor,staticProps);Object.defineProperty(Constructor,"prototype",{writable:false});return Constructor;}
|
|
375
385
|
|
|
376
386
|
function ChildrenWrapper(props){return jsx(Fragment,{children:props.children});}
|
|
377
387
|
|
|
@@ -381,8 +391,6 @@ function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf?Object.setPr
|
|
|
381
391
|
|
|
382
392
|
function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function");}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});Object.defineProperty(subClass,"prototype",{writable:false});if(superClass)_setPrototypeOf(subClass,superClass);}
|
|
383
393
|
|
|
384
|
-
function _typeof(obj){"@babel/helpers - typeof";return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj;}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj;},_typeof(obj);}
|
|
385
|
-
|
|
386
394
|
function _assertThisInitialized(self){if(self===void 0){throw new ReferenceError("this hasn't been initialised - super() hasn't been called");}return self;}
|
|
387
395
|
|
|
388
396
|
function _possibleConstructorReturn(self,call){if(call&&(_typeof(call)==="object"||typeof call==="function")){return call;}else if(call!==void 0){throw new TypeError("Derived constructors may only return object or undefined");}return _assertThisInitialized(self);}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tarojs/rn-runner",
|
|
3
|
-
"version": "3.6.6
|
|
3
|
+
"version": "3.6.6",
|
|
4
4
|
"description": "ReactNative build tool for taro",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"repository": {
|
|
@@ -30,10 +30,10 @@
|
|
|
30
30
|
"fs-extra": "^8.0.1",
|
|
31
31
|
"lodash": "^4.17.21",
|
|
32
32
|
"rollup-plugin-image-file": "^1.0.2",
|
|
33
|
-
"@tarojs/helper": "3.6.6
|
|
34
|
-
"@tarojs/rn-style-transformer": "3.6.6
|
|
35
|
-
"@tarojs/rn-supporter": "3.6.6
|
|
36
|
-
"@tarojs/rn-transformer": "3.6.6
|
|
33
|
+
"@tarojs/helper": "3.6.6",
|
|
34
|
+
"@tarojs/rn-style-transformer": "3.6.6",
|
|
35
|
+
"@tarojs/rn-supporter": "3.6.6",
|
|
36
|
+
"@tarojs/rn-transformer": "3.6.6"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"@babel/core": "^7.14.5",
|
|
@@ -58,8 +58,8 @@
|
|
|
58
58
|
"dev": "tsc --watch",
|
|
59
59
|
"lint": "eslint .",
|
|
60
60
|
"test": "jest --silent",
|
|
61
|
-
"test:dev": "jest --watch",
|
|
62
61
|
"test:ci": "jest --ci --silent --coverage false",
|
|
63
|
-
"test:coverage": "jest --coverage"
|
|
62
|
+
"test:coverage": "jest --coverage",
|
|
63
|
+
"test:dev": "jest --watch"
|
|
64
64
|
}
|
|
65
65
|
}
|
package/src/types/index.ts
CHANGED