@hubol/smooch 1.0.0-beta.13 → 1.0.0-beta.15
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.
- package/README.md +1 -1
- package/index.js +469 -463
- package/package.json +2 -2
- package/schema.json +20 -4
- package/template-api.d.ts +2 -13
package/README.md
CHANGED
package/index.js
CHANGED
|
@@ -13026,7 +13026,7 @@ module.exports = {
|
|
|
13026
13026
|
|
|
13027
13027
|
/***/ }),
|
|
13028
13028
|
|
|
13029
|
-
/***/
|
|
13029
|
+
/***/ 3736:
|
|
13030
13030
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
13031
13031
|
|
|
13032
13032
|
"use strict";
|
|
@@ -13043,41 +13043,430 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
13043
13043
|
constantCase: () => (/* reexport */ constantCase),
|
|
13044
13044
|
dotCase: () => (/* reexport */ dotCase),
|
|
13045
13045
|
headerCase: () => (/* reexport */ headerCase),
|
|
13046
|
-
noCase: () => (/* reexport */
|
|
13046
|
+
noCase: () => (/* reexport */ noCase),
|
|
13047
13047
|
paramCase: () => (/* reexport */ paramCase),
|
|
13048
|
-
pascalCase: () => (/* reexport */
|
|
13049
|
-
pascalCaseTransform: () => (/* reexport */
|
|
13050
|
-
pascalCaseTransformMerge: () => (/* reexport */
|
|
13048
|
+
pascalCase: () => (/* reexport */ pascalCase),
|
|
13049
|
+
pascalCaseTransform: () => (/* reexport */ pascalCaseTransform),
|
|
13050
|
+
pascalCaseTransformMerge: () => (/* reexport */ pascalCaseTransformMerge),
|
|
13051
13051
|
pathCase: () => (/* reexport */ pathCase),
|
|
13052
13052
|
sentenceCase: () => (/* reexport */ sentenceCase),
|
|
13053
13053
|
sentenceCaseTransform: () => (/* reexport */ sentenceCaseTransform),
|
|
13054
13054
|
snakeCase: () => (/* reexport */ snakeCase)
|
|
13055
13055
|
});
|
|
13056
13056
|
|
|
13057
|
-
|
|
13058
|
-
|
|
13059
|
-
|
|
13060
|
-
|
|
13057
|
+
;// CONCATENATED MODULE: ./node_modules/tslib/tslib.es6.js
|
|
13058
|
+
/******************************************************************************
|
|
13059
|
+
Copyright (c) Microsoft Corporation.
|
|
13060
|
+
|
|
13061
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
13062
|
+
purpose with or without fee is hereby granted.
|
|
13063
|
+
|
|
13064
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
13065
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
13066
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
13067
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
13068
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
13069
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
13070
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
13071
|
+
***************************************************************************** */
|
|
13072
|
+
/* global Reflect, Promise */
|
|
13073
|
+
|
|
13074
|
+
var extendStatics = function(d, b) {
|
|
13075
|
+
extendStatics = Object.setPrototypeOf ||
|
|
13076
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
13077
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
13078
|
+
return extendStatics(d, b);
|
|
13079
|
+
};
|
|
13080
|
+
|
|
13081
|
+
function __extends(d, b) {
|
|
13082
|
+
if (typeof b !== "function" && b !== null)
|
|
13083
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
13084
|
+
extendStatics(d, b);
|
|
13085
|
+
function __() { this.constructor = d; }
|
|
13086
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
13087
|
+
}
|
|
13088
|
+
|
|
13089
|
+
var __assign = function() {
|
|
13090
|
+
__assign = Object.assign || function __assign(t) {
|
|
13091
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
13092
|
+
s = arguments[i];
|
|
13093
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
13094
|
+
}
|
|
13095
|
+
return t;
|
|
13096
|
+
}
|
|
13097
|
+
return __assign.apply(this, arguments);
|
|
13098
|
+
}
|
|
13099
|
+
|
|
13100
|
+
function __rest(s, e) {
|
|
13101
|
+
var t = {};
|
|
13102
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
13103
|
+
t[p] = s[p];
|
|
13104
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
13105
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
13106
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
13107
|
+
t[p[i]] = s[p[i]];
|
|
13108
|
+
}
|
|
13109
|
+
return t;
|
|
13110
|
+
}
|
|
13111
|
+
|
|
13112
|
+
function __decorate(decorators, target, key, desc) {
|
|
13113
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
13114
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
13115
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
13116
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
13117
|
+
}
|
|
13118
|
+
|
|
13119
|
+
function __param(paramIndex, decorator) {
|
|
13120
|
+
return function (target, key) { decorator(target, key, paramIndex); }
|
|
13121
|
+
}
|
|
13122
|
+
|
|
13123
|
+
function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {
|
|
13124
|
+
function accept(f) { if (f !== void 0 && typeof f !== "function") throw new TypeError("Function expected"); return f; }
|
|
13125
|
+
var kind = contextIn.kind, key = kind === "getter" ? "get" : kind === "setter" ? "set" : "value";
|
|
13126
|
+
var target = !descriptorIn && ctor ? contextIn["static"] ? ctor : ctor.prototype : null;
|
|
13127
|
+
var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});
|
|
13128
|
+
var _, done = false;
|
|
13129
|
+
for (var i = decorators.length - 1; i >= 0; i--) {
|
|
13130
|
+
var context = {};
|
|
13131
|
+
for (var p in contextIn) context[p] = p === "access" ? {} : contextIn[p];
|
|
13132
|
+
for (var p in contextIn.access) context.access[p] = contextIn.access[p];
|
|
13133
|
+
context.addInitializer = function (f) { if (done) throw new TypeError("Cannot add initializers after decoration has completed"); extraInitializers.push(accept(f || null)); };
|
|
13134
|
+
var result = (0, decorators[i])(kind === "accessor" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);
|
|
13135
|
+
if (kind === "accessor") {
|
|
13136
|
+
if (result === void 0) continue;
|
|
13137
|
+
if (result === null || typeof result !== "object") throw new TypeError("Object expected");
|
|
13138
|
+
if (_ = accept(result.get)) descriptor.get = _;
|
|
13139
|
+
if (_ = accept(result.set)) descriptor.set = _;
|
|
13140
|
+
if (_ = accept(result.init)) initializers.push(_);
|
|
13141
|
+
}
|
|
13142
|
+
else if (_ = accept(result)) {
|
|
13143
|
+
if (kind === "field") initializers.push(_);
|
|
13144
|
+
else descriptor[key] = _;
|
|
13145
|
+
}
|
|
13146
|
+
}
|
|
13147
|
+
if (target) Object.defineProperty(target, contextIn.name, descriptor);
|
|
13148
|
+
done = true;
|
|
13149
|
+
};
|
|
13150
|
+
|
|
13151
|
+
function __runInitializers(thisArg, initializers, value) {
|
|
13152
|
+
var useValue = arguments.length > 2;
|
|
13153
|
+
for (var i = 0; i < initializers.length; i++) {
|
|
13154
|
+
value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);
|
|
13155
|
+
}
|
|
13156
|
+
return useValue ? value : void 0;
|
|
13157
|
+
};
|
|
13158
|
+
|
|
13159
|
+
function __propKey(x) {
|
|
13160
|
+
return typeof x === "symbol" ? x : "".concat(x);
|
|
13161
|
+
};
|
|
13162
|
+
|
|
13163
|
+
function __setFunctionName(f, name, prefix) {
|
|
13164
|
+
if (typeof name === "symbol") name = name.description ? "[".concat(name.description, "]") : "";
|
|
13165
|
+
return Object.defineProperty(f, "name", { configurable: true, value: prefix ? "".concat(prefix, " ", name) : name });
|
|
13166
|
+
};
|
|
13167
|
+
|
|
13168
|
+
function __metadata(metadataKey, metadataValue) {
|
|
13169
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
|
|
13170
|
+
}
|
|
13171
|
+
|
|
13172
|
+
function __awaiter(thisArg, _arguments, P, generator) {
|
|
13173
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
13174
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
13175
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
13176
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
13177
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
13178
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
13179
|
+
});
|
|
13180
|
+
}
|
|
13181
|
+
|
|
13182
|
+
function __generator(thisArg, body) {
|
|
13183
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
13184
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
13185
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
13186
|
+
function step(op) {
|
|
13187
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
13188
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
13189
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
13190
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
13191
|
+
switch (op[0]) {
|
|
13192
|
+
case 0: case 1: t = op; break;
|
|
13193
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
13194
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
13195
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
13196
|
+
default:
|
|
13197
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
13198
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
13199
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
13200
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
13201
|
+
if (t[2]) _.ops.pop();
|
|
13202
|
+
_.trys.pop(); continue;
|
|
13203
|
+
}
|
|
13204
|
+
op = body.call(thisArg, _);
|
|
13205
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
13206
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
13207
|
+
}
|
|
13208
|
+
}
|
|
13209
|
+
|
|
13210
|
+
var __createBinding = Object.create ? (function(o, m, k, k2) {
|
|
13211
|
+
if (k2 === undefined) k2 = k;
|
|
13212
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
13213
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
13214
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
13215
|
+
}
|
|
13216
|
+
Object.defineProperty(o, k2, desc);
|
|
13217
|
+
}) : (function(o, m, k, k2) {
|
|
13218
|
+
if (k2 === undefined) k2 = k;
|
|
13219
|
+
o[k2] = m[k];
|
|
13220
|
+
});
|
|
13221
|
+
|
|
13222
|
+
function __exportStar(m, o) {
|
|
13223
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);
|
|
13224
|
+
}
|
|
13225
|
+
|
|
13226
|
+
function __values(o) {
|
|
13227
|
+
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
|
13228
|
+
if (m) return m.call(o);
|
|
13229
|
+
if (o && typeof o.length === "number") return {
|
|
13230
|
+
next: function () {
|
|
13231
|
+
if (o && i >= o.length) o = void 0;
|
|
13232
|
+
return { value: o && o[i++], done: !o };
|
|
13233
|
+
}
|
|
13234
|
+
};
|
|
13235
|
+
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
13236
|
+
}
|
|
13237
|
+
|
|
13238
|
+
function __read(o, n) {
|
|
13239
|
+
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
13240
|
+
if (!m) return o;
|
|
13241
|
+
var i = m.call(o), r, ar = [], e;
|
|
13242
|
+
try {
|
|
13243
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
|
|
13244
|
+
}
|
|
13245
|
+
catch (error) { e = { error: error }; }
|
|
13246
|
+
finally {
|
|
13247
|
+
try {
|
|
13248
|
+
if (r && !r.done && (m = i["return"])) m.call(i);
|
|
13249
|
+
}
|
|
13250
|
+
finally { if (e) throw e.error; }
|
|
13251
|
+
}
|
|
13252
|
+
return ar;
|
|
13253
|
+
}
|
|
13254
|
+
|
|
13255
|
+
/** @deprecated */
|
|
13256
|
+
function __spread() {
|
|
13257
|
+
for (var ar = [], i = 0; i < arguments.length; i++)
|
|
13258
|
+
ar = ar.concat(__read(arguments[i]));
|
|
13259
|
+
return ar;
|
|
13260
|
+
}
|
|
13261
|
+
|
|
13262
|
+
/** @deprecated */
|
|
13263
|
+
function __spreadArrays() {
|
|
13264
|
+
for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
|
|
13265
|
+
for (var r = Array(s), k = 0, i = 0; i < il; i++)
|
|
13266
|
+
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
|
|
13267
|
+
r[k] = a[j];
|
|
13268
|
+
return r;
|
|
13269
|
+
}
|
|
13270
|
+
|
|
13271
|
+
function __spreadArray(to, from, pack) {
|
|
13272
|
+
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
13273
|
+
if (ar || !(i in from)) {
|
|
13274
|
+
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
13275
|
+
ar[i] = from[i];
|
|
13276
|
+
}
|
|
13277
|
+
}
|
|
13278
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
13279
|
+
}
|
|
13280
|
+
|
|
13281
|
+
function __await(v) {
|
|
13282
|
+
return this instanceof __await ? (this.v = v, this) : new __await(v);
|
|
13283
|
+
}
|
|
13284
|
+
|
|
13285
|
+
function __asyncGenerator(thisArg, _arguments, generator) {
|
|
13286
|
+
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
13287
|
+
var g = generator.apply(thisArg, _arguments || []), i, q = [];
|
|
13288
|
+
return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
|
|
13289
|
+
function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
|
|
13290
|
+
function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }
|
|
13291
|
+
function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
|
|
13292
|
+
function fulfill(value) { resume("next", value); }
|
|
13293
|
+
function reject(value) { resume("throw", value); }
|
|
13294
|
+
function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }
|
|
13295
|
+
}
|
|
13296
|
+
|
|
13297
|
+
function __asyncDelegator(o) {
|
|
13298
|
+
var i, p;
|
|
13299
|
+
return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
|
|
13300
|
+
function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }
|
|
13301
|
+
}
|
|
13302
|
+
|
|
13303
|
+
function __asyncValues(o) {
|
|
13304
|
+
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
13305
|
+
var m = o[Symbol.asyncIterator], i;
|
|
13306
|
+
return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
|
|
13307
|
+
function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
|
|
13308
|
+
function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }
|
|
13309
|
+
}
|
|
13310
|
+
|
|
13311
|
+
function __makeTemplateObject(cooked, raw) {
|
|
13312
|
+
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
13313
|
+
return cooked;
|
|
13314
|
+
};
|
|
13315
|
+
|
|
13316
|
+
var __setModuleDefault = Object.create ? (function(o, v) {
|
|
13317
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
13318
|
+
}) : function(o, v) {
|
|
13319
|
+
o["default"] = v;
|
|
13320
|
+
};
|
|
13321
|
+
|
|
13322
|
+
function __importStar(mod) {
|
|
13323
|
+
if (mod && mod.__esModule) return mod;
|
|
13324
|
+
var result = {};
|
|
13325
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
13326
|
+
__setModuleDefault(result, mod);
|
|
13327
|
+
return result;
|
|
13328
|
+
}
|
|
13329
|
+
|
|
13330
|
+
function __importDefault(mod) {
|
|
13331
|
+
return (mod && mod.__esModule) ? mod : { default: mod };
|
|
13332
|
+
}
|
|
13333
|
+
|
|
13334
|
+
function __classPrivateFieldGet(receiver, state, kind, f) {
|
|
13335
|
+
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
|
|
13336
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
13337
|
+
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
13338
|
+
}
|
|
13339
|
+
|
|
13340
|
+
function __classPrivateFieldSet(receiver, state, value, kind, f) {
|
|
13341
|
+
if (kind === "m") throw new TypeError("Private method is not writable");
|
|
13342
|
+
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
|
|
13343
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
13344
|
+
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
13345
|
+
}
|
|
13346
|
+
|
|
13347
|
+
function __classPrivateFieldIn(state, receiver) {
|
|
13348
|
+
if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function")) throw new TypeError("Cannot use 'in' operator on non-object");
|
|
13349
|
+
return typeof state === "function" ? receiver === state : state.has(receiver);
|
|
13350
|
+
}
|
|
13351
|
+
|
|
13352
|
+
;// CONCATENATED MODULE: ./node_modules/lower-case/dist.es2015/index.js
|
|
13353
|
+
/**
|
|
13354
|
+
* Source: ftp://ftp.unicode.org/Public/UCD/latest/ucd/SpecialCasing.txt
|
|
13355
|
+
*/
|
|
13356
|
+
var SUPPORTED_LOCALE = {
|
|
13357
|
+
tr: {
|
|
13358
|
+
regexp: /\u0130|\u0049|\u0049\u0307/g,
|
|
13359
|
+
map: {
|
|
13360
|
+
İ: "\u0069",
|
|
13361
|
+
I: "\u0131",
|
|
13362
|
+
İ: "\u0069",
|
|
13363
|
+
},
|
|
13364
|
+
},
|
|
13365
|
+
az: {
|
|
13366
|
+
regexp: /\u0130/g,
|
|
13367
|
+
map: {
|
|
13368
|
+
İ: "\u0069",
|
|
13369
|
+
I: "\u0131",
|
|
13370
|
+
İ: "\u0069",
|
|
13371
|
+
},
|
|
13372
|
+
},
|
|
13373
|
+
lt: {
|
|
13374
|
+
regexp: /\u0049|\u004A|\u012E|\u00CC|\u00CD|\u0128/g,
|
|
13375
|
+
map: {
|
|
13376
|
+
I: "\u0069\u0307",
|
|
13377
|
+
J: "\u006A\u0307",
|
|
13378
|
+
Į: "\u012F\u0307",
|
|
13379
|
+
Ì: "\u0069\u0307\u0300",
|
|
13380
|
+
Í: "\u0069\u0307\u0301",
|
|
13381
|
+
Ĩ: "\u0069\u0307\u0303",
|
|
13382
|
+
},
|
|
13383
|
+
},
|
|
13384
|
+
};
|
|
13385
|
+
/**
|
|
13386
|
+
* Localized lower case.
|
|
13387
|
+
*/
|
|
13388
|
+
function localeLowerCase(str, locale) {
|
|
13389
|
+
var lang = SUPPORTED_LOCALE[locale.toLowerCase()];
|
|
13390
|
+
if (lang)
|
|
13391
|
+
return lowerCase(str.replace(lang.regexp, function (m) { return lang.map[m]; }));
|
|
13392
|
+
return lowerCase(str);
|
|
13393
|
+
}
|
|
13394
|
+
/**
|
|
13395
|
+
* Lower case as a function.
|
|
13396
|
+
*/
|
|
13397
|
+
function lowerCase(str) {
|
|
13398
|
+
return str.toLowerCase();
|
|
13399
|
+
}
|
|
13400
|
+
//# sourceMappingURL=index.js.map
|
|
13401
|
+
;// CONCATENATED MODULE: ./node_modules/no-case/dist.es2015/index.js
|
|
13402
|
+
|
|
13403
|
+
// Support camel case ("camelCase" -> "camel Case" and "CAMELCase" -> "CAMEL Case").
|
|
13404
|
+
var DEFAULT_SPLIT_REGEXP = [/([a-z0-9])([A-Z])/g, /([A-Z])([A-Z][a-z])/g];
|
|
13405
|
+
// Remove all non-word characters.
|
|
13406
|
+
var DEFAULT_STRIP_REGEXP = /[^A-Z0-9]+/gi;
|
|
13407
|
+
/**
|
|
13408
|
+
* Normalize the string into something other libraries can manipulate easier.
|
|
13409
|
+
*/
|
|
13410
|
+
function noCase(input, options) {
|
|
13411
|
+
if (options === void 0) { options = {}; }
|
|
13412
|
+
var _a = options.splitRegexp, splitRegexp = _a === void 0 ? DEFAULT_SPLIT_REGEXP : _a, _b = options.stripRegexp, stripRegexp = _b === void 0 ? DEFAULT_STRIP_REGEXP : _b, _c = options.transform, transform = _c === void 0 ? lowerCase : _c, _d = options.delimiter, delimiter = _d === void 0 ? " " : _d;
|
|
13413
|
+
var result = replace(replace(input, splitRegexp, "$1\0$2"), stripRegexp, "\0");
|
|
13414
|
+
var start = 0;
|
|
13415
|
+
var end = result.length;
|
|
13416
|
+
// Trim the delimiter from around the output string.
|
|
13417
|
+
while (result.charAt(start) === "\0")
|
|
13418
|
+
start++;
|
|
13419
|
+
while (result.charAt(end - 1) === "\0")
|
|
13420
|
+
end--;
|
|
13421
|
+
// Transform each token independently.
|
|
13422
|
+
return result.slice(start, end).split("\0").map(transform).join(delimiter);
|
|
13423
|
+
}
|
|
13424
|
+
/**
|
|
13425
|
+
* Replace `re` in the input string with the replacement value.
|
|
13426
|
+
*/
|
|
13427
|
+
function replace(input, re, value) {
|
|
13428
|
+
if (re instanceof RegExp)
|
|
13429
|
+
return input.replace(re, value);
|
|
13430
|
+
return re.reduce(function (input, re) { return input.replace(re, value); }, input);
|
|
13431
|
+
}
|
|
13432
|
+
//# sourceMappingURL=index.js.map
|
|
13433
|
+
;// CONCATENATED MODULE: ./node_modules/pascal-case/dist.es2015/index.js
|
|
13434
|
+
|
|
13435
|
+
|
|
13436
|
+
function pascalCaseTransform(input, index) {
|
|
13437
|
+
var firstChar = input.charAt(0);
|
|
13438
|
+
var lowerChars = input.substr(1).toLowerCase();
|
|
13439
|
+
if (index > 0 && firstChar >= "0" && firstChar <= "9") {
|
|
13440
|
+
return "_" + firstChar + lowerChars;
|
|
13441
|
+
}
|
|
13442
|
+
return "" + firstChar.toUpperCase() + lowerChars;
|
|
13443
|
+
}
|
|
13444
|
+
function pascalCaseTransformMerge(input) {
|
|
13445
|
+
return input.charAt(0).toUpperCase() + input.slice(1).toLowerCase();
|
|
13446
|
+
}
|
|
13447
|
+
function pascalCase(input, options) {
|
|
13448
|
+
if (options === void 0) { options = {}; }
|
|
13449
|
+
return noCase(input, __assign({ delimiter: "", transform: pascalCaseTransform }, options));
|
|
13450
|
+
}
|
|
13451
|
+
//# sourceMappingURL=index.js.map
|
|
13061
13452
|
;// CONCATENATED MODULE: ./node_modules/camel-case/dist.es2015/index.js
|
|
13062
13453
|
|
|
13063
13454
|
|
|
13064
13455
|
function camelCaseTransform(input, index) {
|
|
13065
13456
|
if (index === 0)
|
|
13066
13457
|
return input.toLowerCase();
|
|
13067
|
-
return
|
|
13458
|
+
return pascalCaseTransform(input, index);
|
|
13068
13459
|
}
|
|
13069
13460
|
function camelCaseTransformMerge(input, index) {
|
|
13070
13461
|
if (index === 0)
|
|
13071
13462
|
return input.toLowerCase();
|
|
13072
|
-
return
|
|
13463
|
+
return pascalCaseTransformMerge(input);
|
|
13073
13464
|
}
|
|
13074
13465
|
function camelCase(input, options) {
|
|
13075
13466
|
if (options === void 0) { options = {}; }
|
|
13076
|
-
return
|
|
13467
|
+
return pascalCase(input, __assign({ transform: camelCaseTransform }, options));
|
|
13077
13468
|
}
|
|
13078
13469
|
//# sourceMappingURL=index.js.map
|
|
13079
|
-
// EXTERNAL MODULE: ./node_modules/no-case/dist.es2015/index.js + 1 modules
|
|
13080
|
-
var no_case_dist_es2015 = __webpack_require__(6734);
|
|
13081
13470
|
;// CONCATENATED MODULE: ./node_modules/upper-case-first/dist.es2015/index.js
|
|
13082
13471
|
/**
|
|
13083
13472
|
* Upper case the first character of an input string.
|
|
@@ -13095,14 +13484,14 @@ function capitalCaseTransform(input) {
|
|
|
13095
13484
|
}
|
|
13096
13485
|
function capitalCase(input, options) {
|
|
13097
13486
|
if (options === void 0) { options = {}; }
|
|
13098
|
-
return
|
|
13487
|
+
return noCase(input, __assign({ delimiter: " ", transform: capitalCaseTransform }, options));
|
|
13099
13488
|
}
|
|
13100
13489
|
//# sourceMappingURL=index.js.map
|
|
13101
13490
|
;// CONCATENATED MODULE: ./node_modules/upper-case/dist.es2015/index.js
|
|
13102
13491
|
/**
|
|
13103
13492
|
* Source: ftp://ftp.unicode.org/Public/UCD/latest/ucd/SpecialCasing.txt
|
|
13104
13493
|
*/
|
|
13105
|
-
var
|
|
13494
|
+
var dist_es2015_SUPPORTED_LOCALE = {
|
|
13106
13495
|
tr: {
|
|
13107
13496
|
regexp: /[\u0069]/g,
|
|
13108
13497
|
map: {
|
|
@@ -13131,7 +13520,7 @@ var SUPPORTED_LOCALE = {
|
|
|
13131
13520
|
* Localized upper case.
|
|
13132
13521
|
*/
|
|
13133
13522
|
function localeUpperCase(str, locale) {
|
|
13134
|
-
var lang =
|
|
13523
|
+
var lang = dist_es2015_SUPPORTED_LOCALE[locale.toLowerCase()];
|
|
13135
13524
|
if (lang)
|
|
13136
13525
|
return upperCase(str.replace(lang.regexp, function (m) { return lang.map[m]; }));
|
|
13137
13526
|
return upperCase(str);
|
|
@@ -13149,7 +13538,7 @@ function upperCase(str) {
|
|
|
13149
13538
|
|
|
13150
13539
|
function constantCase(input, options) {
|
|
13151
13540
|
if (options === void 0) { options = {}; }
|
|
13152
|
-
return
|
|
13541
|
+
return noCase(input, __assign({ delimiter: "_", transform: upperCase }, options));
|
|
13153
13542
|
}
|
|
13154
13543
|
//# sourceMappingURL=index.js.map
|
|
13155
13544
|
;// CONCATENATED MODULE: ./node_modules/dot-case/dist.es2015/index.js
|
|
@@ -13157,7 +13546,7 @@ function constantCase(input, options) {
|
|
|
13157
13546
|
|
|
13158
13547
|
function dotCase(input, options) {
|
|
13159
13548
|
if (options === void 0) { options = {}; }
|
|
13160
|
-
return
|
|
13549
|
+
return noCase(input, __assign({ delimiter: "." }, options));
|
|
13161
13550
|
}
|
|
13162
13551
|
//# sourceMappingURL=index.js.map
|
|
13163
13552
|
;// CONCATENATED MODULE: ./node_modules/header-case/dist.es2015/index.js
|
|
@@ -13165,7 +13554,7 @@ function dotCase(input, options) {
|
|
|
13165
13554
|
|
|
13166
13555
|
function headerCase(input, options) {
|
|
13167
13556
|
if (options === void 0) { options = {}; }
|
|
13168
|
-
return capitalCase(input,
|
|
13557
|
+
return capitalCase(input, __assign({ delimiter: "-" }, options));
|
|
13169
13558
|
}
|
|
13170
13559
|
//# sourceMappingURL=index.js.map
|
|
13171
13560
|
;// CONCATENATED MODULE: ./node_modules/param-case/dist.es2015/index.js
|
|
@@ -13173,7 +13562,7 @@ function headerCase(input, options) {
|
|
|
13173
13562
|
|
|
13174
13563
|
function paramCase(input, options) {
|
|
13175
13564
|
if (options === void 0) { options = {}; }
|
|
13176
|
-
return dotCase(input,
|
|
13565
|
+
return dotCase(input, __assign({ delimiter: "-" }, options));
|
|
13177
13566
|
}
|
|
13178
13567
|
//# sourceMappingURL=index.js.map
|
|
13179
13568
|
;// CONCATENATED MODULE: ./node_modules/path-case/dist.es2015/index.js
|
|
@@ -13181,7 +13570,7 @@ function paramCase(input, options) {
|
|
|
13181
13570
|
|
|
13182
13571
|
function pathCase(input, options) {
|
|
13183
13572
|
if (options === void 0) { options = {}; }
|
|
13184
|
-
return dotCase(input,
|
|
13573
|
+
return dotCase(input, __assign({ delimiter: "/" }, options));
|
|
13185
13574
|
}
|
|
13186
13575
|
//# sourceMappingURL=index.js.map
|
|
13187
13576
|
;// CONCATENATED MODULE: ./node_modules/sentence-case/dist.es2015/index.js
|
|
@@ -13196,7 +13585,7 @@ function sentenceCaseTransform(input, index) {
|
|
|
13196
13585
|
}
|
|
13197
13586
|
function sentenceCase(input, options) {
|
|
13198
13587
|
if (options === void 0) { options = {}; }
|
|
13199
|
-
return
|
|
13588
|
+
return noCase(input, __assign({ delimiter: " ", transform: sentenceCaseTransform }, options));
|
|
13200
13589
|
}
|
|
13201
13590
|
//# sourceMappingURL=index.js.map
|
|
13202
13591
|
;// CONCATENATED MODULE: ./node_modules/snake-case/dist.es2015/index.js
|
|
@@ -13204,7 +13593,7 @@ function sentenceCase(input, options) {
|
|
|
13204
13593
|
|
|
13205
13594
|
function snakeCase(input, options) {
|
|
13206
13595
|
if (options === void 0) { options = {}; }
|
|
13207
|
-
return dotCase(input,
|
|
13596
|
+
return dotCase(input, __assign({ delimiter: "_" }, options));
|
|
13208
13597
|
}
|
|
13209
13598
|
//# sourceMappingURL=index.js.map
|
|
13210
13599
|
;// CONCATENATED MODULE: ./node_modules/change-case/dist.es2015/index.js
|
|
@@ -36351,100 +36740,6 @@ function noop() {
|
|
|
36351
36740
|
module.exports = union;
|
|
36352
36741
|
|
|
36353
36742
|
|
|
36354
|
-
/***/ }),
|
|
36355
|
-
|
|
36356
|
-
/***/ 6734:
|
|
36357
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
36358
|
-
|
|
36359
|
-
"use strict";
|
|
36360
|
-
|
|
36361
|
-
// EXPORTS
|
|
36362
|
-
__webpack_require__.d(__webpack_exports__, {
|
|
36363
|
-
B: () => (/* binding */ noCase)
|
|
36364
|
-
});
|
|
36365
|
-
|
|
36366
|
-
;// CONCATENATED MODULE: ./node_modules/lower-case/dist.es2015/index.js
|
|
36367
|
-
/**
|
|
36368
|
-
* Source: ftp://ftp.unicode.org/Public/UCD/latest/ucd/SpecialCasing.txt
|
|
36369
|
-
*/
|
|
36370
|
-
var SUPPORTED_LOCALE = {
|
|
36371
|
-
tr: {
|
|
36372
|
-
regexp: /\u0130|\u0049|\u0049\u0307/g,
|
|
36373
|
-
map: {
|
|
36374
|
-
İ: "\u0069",
|
|
36375
|
-
I: "\u0131",
|
|
36376
|
-
İ: "\u0069",
|
|
36377
|
-
},
|
|
36378
|
-
},
|
|
36379
|
-
az: {
|
|
36380
|
-
regexp: /\u0130/g,
|
|
36381
|
-
map: {
|
|
36382
|
-
İ: "\u0069",
|
|
36383
|
-
I: "\u0131",
|
|
36384
|
-
İ: "\u0069",
|
|
36385
|
-
},
|
|
36386
|
-
},
|
|
36387
|
-
lt: {
|
|
36388
|
-
regexp: /\u0049|\u004A|\u012E|\u00CC|\u00CD|\u0128/g,
|
|
36389
|
-
map: {
|
|
36390
|
-
I: "\u0069\u0307",
|
|
36391
|
-
J: "\u006A\u0307",
|
|
36392
|
-
Į: "\u012F\u0307",
|
|
36393
|
-
Ì: "\u0069\u0307\u0300",
|
|
36394
|
-
Í: "\u0069\u0307\u0301",
|
|
36395
|
-
Ĩ: "\u0069\u0307\u0303",
|
|
36396
|
-
},
|
|
36397
|
-
},
|
|
36398
|
-
};
|
|
36399
|
-
/**
|
|
36400
|
-
* Localized lower case.
|
|
36401
|
-
*/
|
|
36402
|
-
function localeLowerCase(str, locale) {
|
|
36403
|
-
var lang = SUPPORTED_LOCALE[locale.toLowerCase()];
|
|
36404
|
-
if (lang)
|
|
36405
|
-
return lowerCase(str.replace(lang.regexp, function (m) { return lang.map[m]; }));
|
|
36406
|
-
return lowerCase(str);
|
|
36407
|
-
}
|
|
36408
|
-
/**
|
|
36409
|
-
* Lower case as a function.
|
|
36410
|
-
*/
|
|
36411
|
-
function lowerCase(str) {
|
|
36412
|
-
return str.toLowerCase();
|
|
36413
|
-
}
|
|
36414
|
-
//# sourceMappingURL=index.js.map
|
|
36415
|
-
;// CONCATENATED MODULE: ./node_modules/no-case/dist.es2015/index.js
|
|
36416
|
-
|
|
36417
|
-
// Support camel case ("camelCase" -> "camel Case" and "CAMELCase" -> "CAMEL Case").
|
|
36418
|
-
var DEFAULT_SPLIT_REGEXP = [/([a-z0-9])([A-Z])/g, /([A-Z])([A-Z][a-z])/g];
|
|
36419
|
-
// Remove all non-word characters.
|
|
36420
|
-
var DEFAULT_STRIP_REGEXP = /[^A-Z0-9]+/gi;
|
|
36421
|
-
/**
|
|
36422
|
-
* Normalize the string into something other libraries can manipulate easier.
|
|
36423
|
-
*/
|
|
36424
|
-
function noCase(input, options) {
|
|
36425
|
-
if (options === void 0) { options = {}; }
|
|
36426
|
-
var _a = options.splitRegexp, splitRegexp = _a === void 0 ? DEFAULT_SPLIT_REGEXP : _a, _b = options.stripRegexp, stripRegexp = _b === void 0 ? DEFAULT_STRIP_REGEXP : _b, _c = options.transform, transform = _c === void 0 ? lowerCase : _c, _d = options.delimiter, delimiter = _d === void 0 ? " " : _d;
|
|
36427
|
-
var result = replace(replace(input, splitRegexp, "$1\0$2"), stripRegexp, "\0");
|
|
36428
|
-
var start = 0;
|
|
36429
|
-
var end = result.length;
|
|
36430
|
-
// Trim the delimiter from around the output string.
|
|
36431
|
-
while (result.charAt(start) === "\0")
|
|
36432
|
-
start++;
|
|
36433
|
-
while (result.charAt(end - 1) === "\0")
|
|
36434
|
-
end--;
|
|
36435
|
-
// Transform each token independently.
|
|
36436
|
-
return result.slice(start, end).split("\0").map(transform).join(delimiter);
|
|
36437
|
-
}
|
|
36438
|
-
/**
|
|
36439
|
-
* Replace `re` in the input string with the replacement value.
|
|
36440
|
-
*/
|
|
36441
|
-
function replace(input, re, value) {
|
|
36442
|
-
if (re instanceof RegExp)
|
|
36443
|
-
return input.replace(re, value);
|
|
36444
|
-
return re.reduce(function (input, re) { return input.replace(re, value); }, input);
|
|
36445
|
-
}
|
|
36446
|
-
//# sourceMappingURL=index.js.map
|
|
36447
|
-
|
|
36448
36743
|
/***/ }),
|
|
36449
36744
|
|
|
36450
36745
|
/***/ 3171:
|
|
@@ -44263,39 +44558,6 @@ function ZStream() {
|
|
|
44263
44558
|
module.exports = ZStream;
|
|
44264
44559
|
|
|
44265
44560
|
|
|
44266
|
-
/***/ }),
|
|
44267
|
-
|
|
44268
|
-
/***/ 7764:
|
|
44269
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
44270
|
-
|
|
44271
|
-
"use strict";
|
|
44272
|
-
__webpack_require__.r(__webpack_exports__);
|
|
44273
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
44274
|
-
/* harmony export */ pascalCase: () => (/* binding */ pascalCase),
|
|
44275
|
-
/* harmony export */ pascalCaseTransform: () => (/* binding */ pascalCaseTransform),
|
|
44276
|
-
/* harmony export */ pascalCaseTransformMerge: () => (/* binding */ pascalCaseTransformMerge)
|
|
44277
|
-
/* harmony export */ });
|
|
44278
|
-
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(655);
|
|
44279
|
-
/* harmony import */ var no_case__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6734);
|
|
44280
|
-
|
|
44281
|
-
|
|
44282
|
-
function pascalCaseTransform(input, index) {
|
|
44283
|
-
var firstChar = input.charAt(0);
|
|
44284
|
-
var lowerChars = input.substr(1).toLowerCase();
|
|
44285
|
-
if (index > 0 && firstChar >= "0" && firstChar <= "9") {
|
|
44286
|
-
return "_" + firstChar + lowerChars;
|
|
44287
|
-
}
|
|
44288
|
-
return "" + firstChar.toUpperCase() + lowerChars;
|
|
44289
|
-
}
|
|
44290
|
-
function pascalCaseTransformMerge(input) {
|
|
44291
|
-
return input.charAt(0).toUpperCase() + input.slice(1).toLowerCase();
|
|
44292
|
-
}
|
|
44293
|
-
function pascalCase(input, options) {
|
|
44294
|
-
if (options === void 0) { options = {}; }
|
|
44295
|
-
return (0,no_case__WEBPACK_IMPORTED_MODULE_0__/* .noCase */ .B)(input, (0,tslib__WEBPACK_IMPORTED_MODULE_1__/* .__assign */ .pi)({ delimiter: "", transform: pascalCaseTransform }, options));
|
|
44296
|
-
}
|
|
44297
|
-
//# sourceMappingURL=index.js.map
|
|
44298
|
-
|
|
44299
44561
|
/***/ }),
|
|
44300
44562
|
|
|
44301
44563
|
/***/ 4095:
|
|
@@ -52825,6 +53087,31 @@ function describeList(items) {
|
|
|
52825
53087
|
exports.describeList = describeList;
|
|
52826
53088
|
|
|
52827
53089
|
|
|
53090
|
+
/***/ }),
|
|
53091
|
+
|
|
53092
|
+
/***/ 1161:
|
|
53093
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
53094
|
+
|
|
53095
|
+
"use strict";
|
|
53096
|
+
|
|
53097
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
53098
|
+
exports.forceEndOfLineSequence = void 0;
|
|
53099
|
+
const os_1 = __webpack_require__(2037);
|
|
53100
|
+
const endOfLineSequenceRegexp = /\r?\n/g;
|
|
53101
|
+
const endOfLineSequenceToCharacter = {
|
|
53102
|
+
crlf: '\r\n',
|
|
53103
|
+
lf: '\n',
|
|
53104
|
+
os: os_1.EOL,
|
|
53105
|
+
};
|
|
53106
|
+
const forceEndOfLineSequence = (text, lineEnding) => {
|
|
53107
|
+
if (!text.endsWith('\n')) {
|
|
53108
|
+
text += '\n';
|
|
53109
|
+
}
|
|
53110
|
+
return text.replace(endOfLineSequenceRegexp, endOfLineSequenceToCharacter[lineEnding]);
|
|
53111
|
+
};
|
|
53112
|
+
exports.forceEndOfLineSequence = forceEndOfLineSequence;
|
|
53113
|
+
|
|
53114
|
+
|
|
52828
53115
|
/***/ }),
|
|
52829
53116
|
|
|
52830
53117
|
/***/ 3685:
|
|
@@ -52901,6 +53188,9 @@ const fs_1 = __importDefault(__webpack_require__(7147));
|
|
|
52901
53188
|
const util_1 = __importDefault(__webpack_require__(3837));
|
|
52902
53189
|
const path_1 = __importDefault(__webpack_require__(1017));
|
|
52903
53190
|
const gwob_1 = __webpack_require__(8792);
|
|
53191
|
+
const logger_1 = __webpack_require__(6266);
|
|
53192
|
+
const end_of_line_sequence_1 = __webpack_require__(1161);
|
|
53193
|
+
const logger = new logger_1.Logger('Fs', 'magenta');
|
|
52904
53194
|
function resolve(...paths) {
|
|
52905
53195
|
return (0, gwob_1.normalizeWindowsPathSeparator)(path_1.default.resolve(...paths));
|
|
52906
53196
|
}
|
|
@@ -52910,7 +53200,23 @@ const mkdir = (...args) => __awaiter(void 0, void 0, void 0, function* () {
|
|
|
52910
53200
|
return;
|
|
52911
53201
|
yield fsMkdir(...args);
|
|
52912
53202
|
});
|
|
52913
|
-
|
|
53203
|
+
let _writeFileEndOfLineSequence = 'os';
|
|
53204
|
+
const promisifiedWriteFile = util_1.default.promisify(fs_1.default.writeFile);
|
|
53205
|
+
const writeFile = (file, data) => __awaiter(void 0, void 0, void 0, function* () {
|
|
53206
|
+
if (typeof data === 'string') {
|
|
53207
|
+
data = (0, end_of_line_sequence_1.forceEndOfLineSequence)(data, _writeFileEndOfLineSequence);
|
|
53208
|
+
}
|
|
53209
|
+
return yield promisifiedWriteFile(file, data, {});
|
|
53210
|
+
});
|
|
53211
|
+
let loggedEndOfLineSequence = false;
|
|
53212
|
+
const _setWriteFileEndOfLineSequence = (endOfLineSequence) => {
|
|
53213
|
+
if (!loggedEndOfLineSequence || _writeFileEndOfLineSequence !== endOfLineSequence) {
|
|
53214
|
+
logger.info(`Set writeFile End of Line Sequence to ${endOfLineSequence.toUpperCase()}`);
|
|
53215
|
+
loggedEndOfLineSequence = true;
|
|
53216
|
+
}
|
|
53217
|
+
_writeFileEndOfLineSequence = endOfLineSequence;
|
|
53218
|
+
};
|
|
53219
|
+
exports.Fs = Object.assign(Object.assign({ createWriteStream: fs_1.default.createWriteStream, readFile: util_1.default.promisify(fs_1.default.readFile), readFileSync: fs_1.default.readFileSync, writeFile, copyFile: util_1.default.promisify(fs_1.default.copyFile), mkdir, rm: util_1.default.promisify(fs_1.default.rm), exists: util_1.default.promisify(fs_1.default.exists), rename: util_1.default.promisify(fs_1.default.rename) }, path_1.default), { resolve, _setWriteFileLineEnding: _setWriteFileEndOfLineSequence });
|
|
52914
53220
|
|
|
52915
53221
|
|
|
52916
53222
|
/***/ }),
|
|
@@ -53679,8 +53985,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
53679
53985
|
};
|
|
53680
53986
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
53681
53987
|
exports.JsTemplate = void 0;
|
|
53682
|
-
const
|
|
53683
|
-
const change_case_1 = __webpack_require__(2964);
|
|
53988
|
+
const change_case_1 = __webpack_require__(3736);
|
|
53684
53989
|
const fs_1 = __webpack_require__(1942);
|
|
53685
53990
|
const logger_1 = __webpack_require__(6266);
|
|
53686
53991
|
const chalk_1 = __importDefault(__webpack_require__(4061));
|
|
@@ -53689,8 +53994,8 @@ const require_module_1 = __webpack_require__(4584);
|
|
|
53689
53994
|
const count_lines_1 = __webpack_require__(7961);
|
|
53690
53995
|
const native_module_1 = __webpack_require__(4828);
|
|
53691
53996
|
const utils = {
|
|
53692
|
-
camel: change_case_1.camelCase,
|
|
53693
|
-
pascal:
|
|
53997
|
+
camel: (string) => (0, change_case_1.camelCase)(string).replace(/_/g, ''),
|
|
53998
|
+
pascal: (string) => (0, change_case_1.pascalCase)(string).replace(/_/g, ''),
|
|
53694
53999
|
noext: (string) => string.replace(/\.[^/\\.]+$/, ""),
|
|
53695
54000
|
json: (object) => JSON.stringify(object, undefined, 1),
|
|
53696
54001
|
oneline: (string) => string.replace(/\s+/g, ' '),
|
|
@@ -54154,6 +54459,9 @@ function initializeSmoochConfig() {
|
|
|
54154
54459
|
textures: [],
|
|
54155
54460
|
audioFiles: [],
|
|
54156
54461
|
jsonFiles: [],
|
|
54462
|
+
global: {
|
|
54463
|
+
endOfLineSequence: 'os',
|
|
54464
|
+
},
|
|
54157
54465
|
};
|
|
54158
54466
|
const json = JSON.stringify(Object.assign({ "$schema": "node_modules/@hubol/smooch/schema.json" }, config), undefined, '\t');
|
|
54159
54467
|
logger.log("Wrote smooch.json");
|
|
@@ -54268,6 +54576,7 @@ class Application {
|
|
|
54268
54576
|
}
|
|
54269
54577
|
static create(config, deleteSnapshotFile) {
|
|
54270
54578
|
return __awaiter(this, void 0, void 0, function* () {
|
|
54579
|
+
fs_1.Fs._setWriteFileLineEnding(config.global.endOfLineSequence);
|
|
54271
54580
|
yield fs_1.Fs.mkdir(global_1.Global.cacheDir, { recursive: true });
|
|
54272
54581
|
const workspaceDirectory = path_1.Path.Directory.create('./');
|
|
54273
54582
|
const snapshotFile = path_1.Path.File.create(fs_1.Fs.resolve(global_1.Global.cacheDir, 'snapshot.txt'));
|
|
@@ -54651,7 +54960,9 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
54651
54960
|
exports.SmoochConfig = void 0;
|
|
54652
54961
|
const superstruct_1 = __webpack_require__(43);
|
|
54653
54962
|
const smooch_recipes_1 = __webpack_require__(9374);
|
|
54654
|
-
exports.SmoochConfig = (0, superstruct_1.object)(Object.assign({}, smooch_recipes_1.SmoochRecipes.getRecipeConfigs()))
|
|
54963
|
+
exports.SmoochConfig = (0, superstruct_1.object)(Object.assign(Object.assign({}, smooch_recipes_1.SmoochRecipes.getRecipeConfigs()), { global: (0, superstruct_1.object)({
|
|
54964
|
+
endOfLineSequence: (0, superstruct_1.enums)(['crlf', 'lf', 'os']),
|
|
54965
|
+
}) }));
|
|
54655
54966
|
|
|
54656
54967
|
|
|
54657
54968
|
/***/ }),
|
|
@@ -55347,311 +55658,6 @@ function zipGlob(srcGlob, dstFile, options) {
|
|
|
55347
55658
|
exports.zipGlob = zipGlob;
|
|
55348
55659
|
|
|
55349
55660
|
|
|
55350
|
-
/***/ }),
|
|
55351
|
-
|
|
55352
|
-
/***/ 655:
|
|
55353
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
55354
|
-
|
|
55355
|
-
"use strict";
|
|
55356
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
55357
|
-
/* harmony export */ pi: () => (/* binding */ __assign)
|
|
55358
|
-
/* harmony export */ });
|
|
55359
|
-
/* unused harmony exports __extends, __rest, __decorate, __param, __esDecorate, __runInitializers, __propKey, __setFunctionName, __metadata, __awaiter, __generator, __createBinding, __exportStar, __values, __read, __spread, __spreadArrays, __spreadArray, __await, __asyncGenerator, __asyncDelegator, __asyncValues, __makeTemplateObject, __importStar, __importDefault, __classPrivateFieldGet, __classPrivateFieldSet, __classPrivateFieldIn */
|
|
55360
|
-
/******************************************************************************
|
|
55361
|
-
Copyright (c) Microsoft Corporation.
|
|
55362
|
-
|
|
55363
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
55364
|
-
purpose with or without fee is hereby granted.
|
|
55365
|
-
|
|
55366
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
55367
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
55368
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
55369
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
55370
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
55371
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
55372
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
55373
|
-
***************************************************************************** */
|
|
55374
|
-
/* global Reflect, Promise */
|
|
55375
|
-
|
|
55376
|
-
var extendStatics = function(d, b) {
|
|
55377
|
-
extendStatics = Object.setPrototypeOf ||
|
|
55378
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
55379
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
55380
|
-
return extendStatics(d, b);
|
|
55381
|
-
};
|
|
55382
|
-
|
|
55383
|
-
function __extends(d, b) {
|
|
55384
|
-
if (typeof b !== "function" && b !== null)
|
|
55385
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
55386
|
-
extendStatics(d, b);
|
|
55387
|
-
function __() { this.constructor = d; }
|
|
55388
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
55389
|
-
}
|
|
55390
|
-
|
|
55391
|
-
var __assign = function() {
|
|
55392
|
-
__assign = Object.assign || function __assign(t) {
|
|
55393
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
55394
|
-
s = arguments[i];
|
|
55395
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
55396
|
-
}
|
|
55397
|
-
return t;
|
|
55398
|
-
}
|
|
55399
|
-
return __assign.apply(this, arguments);
|
|
55400
|
-
}
|
|
55401
|
-
|
|
55402
|
-
function __rest(s, e) {
|
|
55403
|
-
var t = {};
|
|
55404
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
55405
|
-
t[p] = s[p];
|
|
55406
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
55407
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
55408
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
55409
|
-
t[p[i]] = s[p[i]];
|
|
55410
|
-
}
|
|
55411
|
-
return t;
|
|
55412
|
-
}
|
|
55413
|
-
|
|
55414
|
-
function __decorate(decorators, target, key, desc) {
|
|
55415
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
55416
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
55417
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
55418
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
55419
|
-
}
|
|
55420
|
-
|
|
55421
|
-
function __param(paramIndex, decorator) {
|
|
55422
|
-
return function (target, key) { decorator(target, key, paramIndex); }
|
|
55423
|
-
}
|
|
55424
|
-
|
|
55425
|
-
function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {
|
|
55426
|
-
function accept(f) { if (f !== void 0 && typeof f !== "function") throw new TypeError("Function expected"); return f; }
|
|
55427
|
-
var kind = contextIn.kind, key = kind === "getter" ? "get" : kind === "setter" ? "set" : "value";
|
|
55428
|
-
var target = !descriptorIn && ctor ? contextIn["static"] ? ctor : ctor.prototype : null;
|
|
55429
|
-
var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});
|
|
55430
|
-
var _, done = false;
|
|
55431
|
-
for (var i = decorators.length - 1; i >= 0; i--) {
|
|
55432
|
-
var context = {};
|
|
55433
|
-
for (var p in contextIn) context[p] = p === "access" ? {} : contextIn[p];
|
|
55434
|
-
for (var p in contextIn.access) context.access[p] = contextIn.access[p];
|
|
55435
|
-
context.addInitializer = function (f) { if (done) throw new TypeError("Cannot add initializers after decoration has completed"); extraInitializers.push(accept(f || null)); };
|
|
55436
|
-
var result = (0, decorators[i])(kind === "accessor" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);
|
|
55437
|
-
if (kind === "accessor") {
|
|
55438
|
-
if (result === void 0) continue;
|
|
55439
|
-
if (result === null || typeof result !== "object") throw new TypeError("Object expected");
|
|
55440
|
-
if (_ = accept(result.get)) descriptor.get = _;
|
|
55441
|
-
if (_ = accept(result.set)) descriptor.set = _;
|
|
55442
|
-
if (_ = accept(result.init)) initializers.push(_);
|
|
55443
|
-
}
|
|
55444
|
-
else if (_ = accept(result)) {
|
|
55445
|
-
if (kind === "field") initializers.push(_);
|
|
55446
|
-
else descriptor[key] = _;
|
|
55447
|
-
}
|
|
55448
|
-
}
|
|
55449
|
-
if (target) Object.defineProperty(target, contextIn.name, descriptor);
|
|
55450
|
-
done = true;
|
|
55451
|
-
};
|
|
55452
|
-
|
|
55453
|
-
function __runInitializers(thisArg, initializers, value) {
|
|
55454
|
-
var useValue = arguments.length > 2;
|
|
55455
|
-
for (var i = 0; i < initializers.length; i++) {
|
|
55456
|
-
value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);
|
|
55457
|
-
}
|
|
55458
|
-
return useValue ? value : void 0;
|
|
55459
|
-
};
|
|
55460
|
-
|
|
55461
|
-
function __propKey(x) {
|
|
55462
|
-
return typeof x === "symbol" ? x : "".concat(x);
|
|
55463
|
-
};
|
|
55464
|
-
|
|
55465
|
-
function __setFunctionName(f, name, prefix) {
|
|
55466
|
-
if (typeof name === "symbol") name = name.description ? "[".concat(name.description, "]") : "";
|
|
55467
|
-
return Object.defineProperty(f, "name", { configurable: true, value: prefix ? "".concat(prefix, " ", name) : name });
|
|
55468
|
-
};
|
|
55469
|
-
|
|
55470
|
-
function __metadata(metadataKey, metadataValue) {
|
|
55471
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
|
|
55472
|
-
}
|
|
55473
|
-
|
|
55474
|
-
function __awaiter(thisArg, _arguments, P, generator) {
|
|
55475
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
55476
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
55477
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
55478
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
55479
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
55480
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
55481
|
-
});
|
|
55482
|
-
}
|
|
55483
|
-
|
|
55484
|
-
function __generator(thisArg, body) {
|
|
55485
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
55486
|
-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
55487
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
55488
|
-
function step(op) {
|
|
55489
|
-
if (f) throw new TypeError("Generator is already executing.");
|
|
55490
|
-
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
55491
|
-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
55492
|
-
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
55493
|
-
switch (op[0]) {
|
|
55494
|
-
case 0: case 1: t = op; break;
|
|
55495
|
-
case 4: _.label++; return { value: op[1], done: false };
|
|
55496
|
-
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
55497
|
-
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
55498
|
-
default:
|
|
55499
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
55500
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
55501
|
-
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
55502
|
-
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
55503
|
-
if (t[2]) _.ops.pop();
|
|
55504
|
-
_.trys.pop(); continue;
|
|
55505
|
-
}
|
|
55506
|
-
op = body.call(thisArg, _);
|
|
55507
|
-
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
55508
|
-
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
55509
|
-
}
|
|
55510
|
-
}
|
|
55511
|
-
|
|
55512
|
-
var __createBinding = Object.create ? (function(o, m, k, k2) {
|
|
55513
|
-
if (k2 === undefined) k2 = k;
|
|
55514
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
55515
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
55516
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
55517
|
-
}
|
|
55518
|
-
Object.defineProperty(o, k2, desc);
|
|
55519
|
-
}) : (function(o, m, k, k2) {
|
|
55520
|
-
if (k2 === undefined) k2 = k;
|
|
55521
|
-
o[k2] = m[k];
|
|
55522
|
-
});
|
|
55523
|
-
|
|
55524
|
-
function __exportStar(m, o) {
|
|
55525
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);
|
|
55526
|
-
}
|
|
55527
|
-
|
|
55528
|
-
function __values(o) {
|
|
55529
|
-
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
|
55530
|
-
if (m) return m.call(o);
|
|
55531
|
-
if (o && typeof o.length === "number") return {
|
|
55532
|
-
next: function () {
|
|
55533
|
-
if (o && i >= o.length) o = void 0;
|
|
55534
|
-
return { value: o && o[i++], done: !o };
|
|
55535
|
-
}
|
|
55536
|
-
};
|
|
55537
|
-
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
55538
|
-
}
|
|
55539
|
-
|
|
55540
|
-
function __read(o, n) {
|
|
55541
|
-
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
55542
|
-
if (!m) return o;
|
|
55543
|
-
var i = m.call(o), r, ar = [], e;
|
|
55544
|
-
try {
|
|
55545
|
-
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
|
|
55546
|
-
}
|
|
55547
|
-
catch (error) { e = { error: error }; }
|
|
55548
|
-
finally {
|
|
55549
|
-
try {
|
|
55550
|
-
if (r && !r.done && (m = i["return"])) m.call(i);
|
|
55551
|
-
}
|
|
55552
|
-
finally { if (e) throw e.error; }
|
|
55553
|
-
}
|
|
55554
|
-
return ar;
|
|
55555
|
-
}
|
|
55556
|
-
|
|
55557
|
-
/** @deprecated */
|
|
55558
|
-
function __spread() {
|
|
55559
|
-
for (var ar = [], i = 0; i < arguments.length; i++)
|
|
55560
|
-
ar = ar.concat(__read(arguments[i]));
|
|
55561
|
-
return ar;
|
|
55562
|
-
}
|
|
55563
|
-
|
|
55564
|
-
/** @deprecated */
|
|
55565
|
-
function __spreadArrays() {
|
|
55566
|
-
for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
|
|
55567
|
-
for (var r = Array(s), k = 0, i = 0; i < il; i++)
|
|
55568
|
-
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
|
|
55569
|
-
r[k] = a[j];
|
|
55570
|
-
return r;
|
|
55571
|
-
}
|
|
55572
|
-
|
|
55573
|
-
function __spreadArray(to, from, pack) {
|
|
55574
|
-
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
55575
|
-
if (ar || !(i in from)) {
|
|
55576
|
-
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
55577
|
-
ar[i] = from[i];
|
|
55578
|
-
}
|
|
55579
|
-
}
|
|
55580
|
-
return to.concat(ar || Array.prototype.slice.call(from));
|
|
55581
|
-
}
|
|
55582
|
-
|
|
55583
|
-
function __await(v) {
|
|
55584
|
-
return this instanceof __await ? (this.v = v, this) : new __await(v);
|
|
55585
|
-
}
|
|
55586
|
-
|
|
55587
|
-
function __asyncGenerator(thisArg, _arguments, generator) {
|
|
55588
|
-
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
55589
|
-
var g = generator.apply(thisArg, _arguments || []), i, q = [];
|
|
55590
|
-
return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
|
|
55591
|
-
function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
|
|
55592
|
-
function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }
|
|
55593
|
-
function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
|
|
55594
|
-
function fulfill(value) { resume("next", value); }
|
|
55595
|
-
function reject(value) { resume("throw", value); }
|
|
55596
|
-
function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }
|
|
55597
|
-
}
|
|
55598
|
-
|
|
55599
|
-
function __asyncDelegator(o) {
|
|
55600
|
-
var i, p;
|
|
55601
|
-
return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
|
|
55602
|
-
function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }
|
|
55603
|
-
}
|
|
55604
|
-
|
|
55605
|
-
function __asyncValues(o) {
|
|
55606
|
-
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
55607
|
-
var m = o[Symbol.asyncIterator], i;
|
|
55608
|
-
return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
|
|
55609
|
-
function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
|
|
55610
|
-
function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }
|
|
55611
|
-
}
|
|
55612
|
-
|
|
55613
|
-
function __makeTemplateObject(cooked, raw) {
|
|
55614
|
-
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
55615
|
-
return cooked;
|
|
55616
|
-
};
|
|
55617
|
-
|
|
55618
|
-
var __setModuleDefault = Object.create ? (function(o, v) {
|
|
55619
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
55620
|
-
}) : function(o, v) {
|
|
55621
|
-
o["default"] = v;
|
|
55622
|
-
};
|
|
55623
|
-
|
|
55624
|
-
function __importStar(mod) {
|
|
55625
|
-
if (mod && mod.__esModule) return mod;
|
|
55626
|
-
var result = {};
|
|
55627
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
55628
|
-
__setModuleDefault(result, mod);
|
|
55629
|
-
return result;
|
|
55630
|
-
}
|
|
55631
|
-
|
|
55632
|
-
function __importDefault(mod) {
|
|
55633
|
-
return (mod && mod.__esModule) ? mod : { default: mod };
|
|
55634
|
-
}
|
|
55635
|
-
|
|
55636
|
-
function __classPrivateFieldGet(receiver, state, kind, f) {
|
|
55637
|
-
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
|
|
55638
|
-
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
55639
|
-
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
55640
|
-
}
|
|
55641
|
-
|
|
55642
|
-
function __classPrivateFieldSet(receiver, state, value, kind, f) {
|
|
55643
|
-
if (kind === "m") throw new TypeError("Private method is not writable");
|
|
55644
|
-
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
|
|
55645
|
-
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
55646
|
-
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
55647
|
-
}
|
|
55648
|
-
|
|
55649
|
-
function __classPrivateFieldIn(state, receiver) {
|
|
55650
|
-
if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function")) throw new TypeError("Cannot use 'in' operator on non-object");
|
|
55651
|
-
return typeof state === "function" ? receiver === state : state.has(receiver);
|
|
55652
|
-
}
|
|
55653
|
-
|
|
55654
|
-
|
|
55655
55661
|
/***/ }),
|
|
55656
55662
|
|
|
55657
55663
|
/***/ 5847:
|
|
@@ -86086,7 +86092,7 @@ module.exports = JSON.parse('[[[0,44],"disallowed_STD3_valid"],[[45,46],"valid"]
|
|
|
86086
86092
|
/***/ ((module) => {
|
|
86087
86093
|
|
|
86088
86094
|
"use strict";
|
|
86089
|
-
module.exports = JSON.parse('{"name":"@hubol/smooch","version":"1.0.0-beta.
|
|
86095
|
+
module.exports = JSON.parse('{"name":"@hubol/smooch","version":"1.0.0-beta.15","description":"Generate texture atlases, browser-compatible audio, and source code from directories","scripts":{"build":"npm run build:json-schema && npm run build:template-api-dts && npm run build:bundle && npm run build:distributable-package-json && npm run build:npm-readme && npm run build:npm-pack","build:json-schema":"ts-node ./tools/generate-config-schema.ts","build:template-api-dts":"npx tsup lib/template-api.ts --dts-only --dts-resolve","build:bundle":"webpack","build:distributable-package-json":"ts-node ./tools/generate-distributable-package-json.ts","build:npm-readme":"ts-node ./tools/generate-npm-readme.ts","build:npm-pack":"ts-node ./tools/pack.ts ../smooch.tgz","dev:build-and-test":"npm run build && npm run test","dev:start":"node --nolazy -r ts-node/register ./lib/main/dev.ts","dev:update-readme":"ts-node ./lib/main/dev.ts ../../tools/update-readme-md.ts","test":"ts-node --transpileOnly test/test.ts"},"bin":{"smooch":"index.js"},"author":"Hubol","license":"ISC","repository":{"type":"git","url":"https://github.com/hubol/smooch.git"},"devDependencies":{"@jimp/custom":"^0.22.10","@jimp/types":"^0.22.10","@types/archiver":"^5.3.2","@types/fluent-ffmpeg":"^2.1.21","@types/sharp":"^0.31.1","archiver":"^6.0.0","chalk":"^4.1.2","change-case":"^4.1.2","fluent-ffmpeg":"^2.1.2","glob":"^10.3.3","image-size":"^1.0.2","maxrects-packer":"^2.7.3","minimatch":"^9.0.3","superstruct":"^0.15.5","tree-kill":"^1.2.2","ts-loader":"^9.4.4","ts-node":"^10.9.1","tsup":"^7.2.0","typescript":"^5.0.4","typescript-json-schema":"^0.56.0","webpack":"^5.88.2","webpack-cli":"^5.1.4","webpack-shebang-plugin":"^1.1.8"}}');
|
|
86090
86096
|
|
|
86091
86097
|
/***/ })
|
|
86092
86098
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hubol/smooch",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.15",
|
|
4
4
|
"description": "Generate texture atlases, browser-compatible audio, and source code from directories",
|
|
5
5
|
"bin": {
|
|
6
6
|
"smooch": "index.js"
|
|
@@ -11,4 +11,4 @@
|
|
|
11
11
|
"type": "git",
|
|
12
12
|
"url": "https://github.com/hubol/smooch.git"
|
|
13
13
|
}
|
|
14
|
-
}
|
|
14
|
+
}
|
package/schema.json
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
},
|
|
13
13
|
"typeof__tag": {
|
|
14
14
|
"properties": {
|
|
15
|
-
"__@toStringTag@
|
|
15
|
+
"__@toStringTag@299": {
|
|
16
16
|
"type": "string"
|
|
17
17
|
},
|
|
18
18
|
"description": {
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
},
|
|
24
24
|
"typeof__tag_1": {
|
|
25
25
|
"properties": {
|
|
26
|
-
"__@toStringTag@
|
|
26
|
+
"__@toStringTag@299": {
|
|
27
27
|
"type": "string"
|
|
28
28
|
},
|
|
29
29
|
"description": {
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
},
|
|
35
35
|
"typeof__tag_2": {
|
|
36
36
|
"properties": {
|
|
37
|
-
"__@toStringTag@
|
|
37
|
+
"__@toStringTag@299": {
|
|
38
38
|
"type": "string"
|
|
39
39
|
},
|
|
40
40
|
"description": {
|
|
@@ -54,6 +54,19 @@
|
|
|
54
54
|
},
|
|
55
55
|
"type": "object"
|
|
56
56
|
},
|
|
57
|
+
"{endOfLineSequence:\"crlf\"|\"lf\"|\"os\";}": {
|
|
58
|
+
"properties": {
|
|
59
|
+
"endOfLineSequence": {
|
|
60
|
+
"enum": [
|
|
61
|
+
"crlf",
|
|
62
|
+
"lf",
|
|
63
|
+
"os"
|
|
64
|
+
],
|
|
65
|
+
"type": "string"
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
"type": "object"
|
|
69
|
+
},
|
|
57
70
|
"{format:string;zip?:Path.File.t|undefined;directory?:Path.Directory.t|undefined;}": {
|
|
58
71
|
"properties": {
|
|
59
72
|
"directory": {
|
|
@@ -155,6 +168,9 @@
|
|
|
155
168
|
},
|
|
156
169
|
"type": "array"
|
|
157
170
|
},
|
|
171
|
+
"global": {
|
|
172
|
+
"$ref": "#/definitions/{endOfLineSequence:\"crlf\"|\"lf\"|\"os\";}"
|
|
173
|
+
},
|
|
158
174
|
"jsonFiles": {
|
|
159
175
|
"items": {
|
|
160
176
|
"$ref": "#/definitions/{glob:Path.Glob.t;template:{program:Path.File.t;out:Path.File.t;};}"
|
|
@@ -169,4 +185,4 @@
|
|
|
169
185
|
}
|
|
170
186
|
},
|
|
171
187
|
"type": "object"
|
|
172
|
-
}
|
|
188
|
+
}
|
package/template-api.d.ts
CHANGED
|
@@ -144,20 +144,9 @@ declare namespace Boundary_Prettier {
|
|
|
144
144
|
export {};
|
|
145
145
|
}
|
|
146
146
|
|
|
147
|
-
interface Options {
|
|
148
|
-
splitRegexp?: RegExp | RegExp[];
|
|
149
|
-
stripRegexp?: RegExp | RegExp[];
|
|
150
|
-
delimiter?: string;
|
|
151
|
-
transform?: (part: string, index: number, parts: string[]) => string;
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
declare function pascalCase(input: string, options?: Options): string;
|
|
155
|
-
|
|
156
|
-
declare function camelCase(input: string, options?: Options): string;
|
|
157
|
-
|
|
158
147
|
declare const utils: {
|
|
159
|
-
camel:
|
|
160
|
-
pascal:
|
|
148
|
+
camel: (string: string) => string;
|
|
149
|
+
pascal: (string: string) => string;
|
|
161
150
|
noext: (string: string) => string;
|
|
162
151
|
json: (object: any) => string;
|
|
163
152
|
oneline: (string: string) => string;
|