create-expo 3.5.0 → 3.5.1
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.
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
exports.id =
|
|
2
|
-
exports.ids = [
|
|
1
|
+
exports.id = 654;
|
|
2
|
+
exports.ids = [654];
|
|
3
3
|
exports.modules = {
|
|
4
4
|
|
|
5
|
-
/***/
|
|
5
|
+
/***/ 2536:
|
|
6
6
|
/***/ ((module) => {
|
|
7
7
|
|
|
8
8
|
"use strict";
|
|
@@ -160,7 +160,7 @@ var deepExtend = module.exports = function (/*obj_1, [obj_2], [obj_N]*/) {
|
|
|
160
160
|
|
|
161
161
|
/***/ }),
|
|
162
162
|
|
|
163
|
-
/***/
|
|
163
|
+
/***/ 2388:
|
|
164
164
|
/***/ ((__unused_webpack_module, exports) => {
|
|
165
165
|
|
|
166
166
|
exports.parse = exports.decode = decode
|
|
@@ -373,7 +373,7 @@ function unsafe (val, doUnesc) {
|
|
|
373
373
|
|
|
374
374
|
/***/ }),
|
|
375
375
|
|
|
376
|
-
/***/
|
|
376
|
+
/***/ 4750:
|
|
377
377
|
/***/ ((module) => {
|
|
378
378
|
|
|
379
379
|
"use strict";
|
|
@@ -644,12 +644,12 @@ module.exports = function (args, opts) {
|
|
|
644
644
|
|
|
645
645
|
/***/ }),
|
|
646
646
|
|
|
647
|
-
/***/
|
|
647
|
+
/***/ 8987:
|
|
648
648
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
649
649
|
|
|
650
|
-
var cc = __webpack_require__(
|
|
651
|
-
var join = (__webpack_require__(
|
|
652
|
-
var deepExtend = __webpack_require__(
|
|
650
|
+
var cc = __webpack_require__(4038)
|
|
651
|
+
var join = (__webpack_require__(6928).join)
|
|
652
|
+
var deepExtend = __webpack_require__(2536)
|
|
653
653
|
var etc = '/etc'
|
|
654
654
|
var win = process.platform === "win32"
|
|
655
655
|
var home = win
|
|
@@ -660,7 +660,7 @@ module.exports = function (name, defaults, argv, parse) {
|
|
|
660
660
|
if('string' !== typeof name)
|
|
661
661
|
throw new Error('rc(name): name *must* be string')
|
|
662
662
|
if(!argv)
|
|
663
|
-
argv = __webpack_require__(
|
|
663
|
+
argv = __webpack_require__(4750)(process.argv.slice(2))
|
|
664
664
|
defaults = (
|
|
665
665
|
'string' === typeof defaults
|
|
666
666
|
? cc.json(defaults) : defaults
|
|
@@ -704,15 +704,15 @@ module.exports = function (name, defaults, argv, parse) {
|
|
|
704
704
|
|
|
705
705
|
/***/ }),
|
|
706
706
|
|
|
707
|
-
/***/
|
|
707
|
+
/***/ 4038:
|
|
708
708
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
709
709
|
|
|
710
710
|
"use strict";
|
|
711
711
|
|
|
712
|
-
var fs = __webpack_require__(
|
|
713
|
-
var ini = __webpack_require__(
|
|
714
|
-
var path = __webpack_require__(
|
|
715
|
-
var stripJsonComments = __webpack_require__(
|
|
712
|
+
var fs = __webpack_require__(9896)
|
|
713
|
+
var ini = __webpack_require__(2388)
|
|
714
|
+
var path = __webpack_require__(6928)
|
|
715
|
+
var stripJsonComments = __webpack_require__(5405)
|
|
716
716
|
|
|
717
717
|
var parse = exports.parse = function (content) {
|
|
718
718
|
|
|
@@ -816,7 +816,7 @@ var find = exports.find = function () {
|
|
|
816
816
|
|
|
817
817
|
/***/ }),
|
|
818
818
|
|
|
819
|
-
/***/
|
|
819
|
+
/***/ 5405:
|
|
820
820
|
/***/ ((module) => {
|
|
821
821
|
|
|
822
822
|
"use strict";
|
|
@@ -894,10 +894,10 @@ module.exports = function (str, opts) {
|
|
|
894
894
|
|
|
895
895
|
/***/ }),
|
|
896
896
|
|
|
897
|
-
/***/
|
|
897
|
+
/***/ 8381:
|
|
898
898
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
899
899
|
|
|
900
|
-
const safeBuffer = (__webpack_require__(
|
|
900
|
+
const safeBuffer = (__webpack_require__(5950).Buffer)
|
|
901
901
|
|
|
902
902
|
function decodeBase64 (base64) {
|
|
903
903
|
return safeBuffer.from(base64, 'base64').toString('utf8')
|
|
@@ -915,11 +915,11 @@ module.exports = {
|
|
|
915
915
|
|
|
916
916
|
/***/ }),
|
|
917
917
|
|
|
918
|
-
/***/
|
|
918
|
+
/***/ 6856:
|
|
919
919
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
920
920
|
|
|
921
|
-
var url = __webpack_require__(
|
|
922
|
-
var base64 = __webpack_require__(
|
|
921
|
+
var url = __webpack_require__(7016)
|
|
922
|
+
var base64 = __webpack_require__(8381)
|
|
923
923
|
|
|
924
924
|
var decodeBase64 = base64.decodeBase64
|
|
925
925
|
var encodeBase64 = base64.encodeBase64
|
|
@@ -940,7 +940,7 @@ module.exports = function () {
|
|
|
940
940
|
options = arguments[0]
|
|
941
941
|
}
|
|
942
942
|
options = options || {}
|
|
943
|
-
options.npmrc = options.npmrc || __webpack_require__(
|
|
943
|
+
options.npmrc = options.npmrc || __webpack_require__(8987)('npm', {registry: 'https://registry.npmjs.org/'})
|
|
944
944
|
checkUrl = checkUrl || options.npmrc.registry
|
|
945
945
|
return getRegistryAuthInfo(checkUrl, options) || getLegacyAuthInfo(options.npmrc)
|
|
946
946
|
}
|
|
@@ -1040,13 +1040,13 @@ function getTokenForUsernameAndPassword (username, password) {
|
|
|
1040
1040
|
|
|
1041
1041
|
/***/ }),
|
|
1042
1042
|
|
|
1043
|
-
/***/
|
|
1043
|
+
/***/ 2139:
|
|
1044
1044
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
1045
1045
|
|
|
1046
1046
|
"use strict";
|
|
1047
1047
|
|
|
1048
1048
|
module.exports = function (scope) {
|
|
1049
|
-
var rc = __webpack_require__(
|
|
1049
|
+
var rc = __webpack_require__(8987)('npm', {registry: 'https://registry.npmjs.org/'});
|
|
1050
1050
|
var url = rc[scope + ':registry'] || rc.registry;
|
|
1051
1051
|
return url.slice(-1) === '/' ? url : url + '/';
|
|
1052
1052
|
};
|
|
@@ -1054,12 +1054,12 @@ module.exports = function (scope) {
|
|
|
1054
1054
|
|
|
1055
1055
|
/***/ }),
|
|
1056
1056
|
|
|
1057
|
-
/***/
|
|
1057
|
+
/***/ 5950:
|
|
1058
1058
|
/***/ ((module, exports, __webpack_require__) => {
|
|
1059
1059
|
|
|
1060
1060
|
/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
1061
1061
|
/* eslint-disable node/no-deprecated-api */
|
|
1062
|
-
var buffer = __webpack_require__(
|
|
1062
|
+
var buffer = __webpack_require__(181)
|
|
1063
1063
|
var Buffer = buffer.Buffer
|
|
1064
1064
|
|
|
1065
1065
|
// alternative to using Object.keys for old browsers
|
|
@@ -1126,18 +1126,18 @@ SafeBuffer.allocUnsafeSlow = function (size) {
|
|
|
1126
1126
|
|
|
1127
1127
|
/***/ }),
|
|
1128
1128
|
|
|
1129
|
-
/***/
|
|
1129
|
+
/***/ 5012:
|
|
1130
1130
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
1131
1131
|
|
|
1132
1132
|
// Native
|
|
1133
|
-
const {URL} = __webpack_require__(
|
|
1134
|
-
const {join} = __webpack_require__(
|
|
1135
|
-
const fs = __webpack_require__(
|
|
1136
|
-
const {promisify} = __webpack_require__(
|
|
1137
|
-
const {tmpdir} = __webpack_require__(
|
|
1133
|
+
const {URL} = __webpack_require__(7016);
|
|
1134
|
+
const {join} = __webpack_require__(6928);
|
|
1135
|
+
const fs = __webpack_require__(9896);
|
|
1136
|
+
const {promisify} = __webpack_require__(9023);
|
|
1137
|
+
const {tmpdir} = __webpack_require__(857);
|
|
1138
1138
|
|
|
1139
1139
|
// Packages
|
|
1140
|
-
const registryUrl = __webpack_require__(
|
|
1140
|
+
const registryUrl = __webpack_require__(2139);
|
|
1141
1141
|
|
|
1142
1142
|
const writeFile = promisify(fs.writeFile);
|
|
1143
1143
|
const mkdir = promisify(fs.mkdir);
|
|
@@ -1208,7 +1208,7 @@ const loadPackage = (url, authInfo) => new Promise((resolve, reject) => {
|
|
|
1208
1208
|
options.headers.authorization = `${authInfo.type} ${authInfo.token}`;
|
|
1209
1209
|
}
|
|
1210
1210
|
|
|
1211
|
-
const {get} = __webpack_require__(url.protocol === 'https:' ?
|
|
1211
|
+
const {get} = __webpack_require__(url.protocol === 'https:' ? 5692 : 8611);
|
|
1212
1212
|
get(options, response => {
|
|
1213
1213
|
const {statusCode} = response;
|
|
1214
1214
|
|
|
@@ -1256,7 +1256,7 @@ const getMostRecent = async ({full, scope}, distTag) => {
|
|
|
1256
1256
|
if (err.code && String(err.code).startsWith(4)) {
|
|
1257
1257
|
// We only want to load this package for when we
|
|
1258
1258
|
// really need to use the token
|
|
1259
|
-
const registryAuthToken = __webpack_require__(
|
|
1259
|
+
const registryAuthToken = __webpack_require__(6856);
|
|
1260
1260
|
const authInfo = registryAuthToken(regURL, {recursive: true});
|
|
1261
1261
|
|
|
1262
1262
|
spec = await loadPackage(url, authInfo);
|
|
@@ -1334,7 +1334,7 @@ module.exports = async (pkg, config) => {
|
|
|
1334
1334
|
|
|
1335
1335
|
/***/ }),
|
|
1336
1336
|
|
|
1337
|
-
/***/
|
|
1337
|
+
/***/ 654:
|
|
1338
1338
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
1339
1339
|
|
|
1340
1340
|
"use strict";
|
|
@@ -1342,21 +1342,21 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1342
1342
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1343
1343
|
/* harmony export */ "default": () => (/* binding */ shouldUpdate)
|
|
1344
1344
|
/* harmony export */ });
|
|
1345
|
-
/* harmony import */ var chalk__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
1345
|
+
/* harmony import */ var chalk__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2325);
|
|
1346
1346
|
/* harmony import */ var chalk__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(chalk__WEBPACK_IMPORTED_MODULE_0__);
|
|
1347
|
-
/* harmony import */ var update_check__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
1347
|
+
/* harmony import */ var update_check__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(5012);
|
|
1348
1348
|
/* harmony import */ var update_check__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(update_check__WEBPACK_IMPORTED_MODULE_1__);
|
|
1349
1349
|
|
|
1350
1350
|
|
|
1351
|
-
const packageJson = __webpack_require__(
|
|
1352
|
-
const debug = __webpack_require__(
|
|
1351
|
+
const packageJson = __webpack_require__(8965);
|
|
1352
|
+
const debug = __webpack_require__(7674)('expo:init:update-check');
|
|
1353
1353
|
async function shouldUpdate() {
|
|
1354
1354
|
try {
|
|
1355
1355
|
const res = await update_check__WEBPACK_IMPORTED_MODULE_1___default()(packageJson);
|
|
1356
1356
|
if (res?.latest) {
|
|
1357
1357
|
console.log();
|
|
1358
1358
|
console.log(chalk__WEBPACK_IMPORTED_MODULE_0___default().yellow.bold(`A new version of \`${packageJson.name}\` is available`));
|
|
1359
|
-
console.log(
|
|
1359
|
+
console.log(chalk__WEBPACK_IMPORTED_MODULE_0___default() `You can update by running: {cyan npm install -g ${packageJson.name}}`);
|
|
1360
1360
|
console.log();
|
|
1361
1361
|
}
|
|
1362
1362
|
}
|
|
@@ -1368,7 +1368,7 @@ async function shouldUpdate() {
|
|
|
1368
1368
|
|
|
1369
1369
|
/***/ }),
|
|
1370
1370
|
|
|
1371
|
-
/***/
|
|
1371
|
+
/***/ 8965:
|
|
1372
1372
|
/***/ ((module) => {
|
|
1373
1373
|
|
|
1374
1374
|
module.exports = eval("require")("../package.json");
|