@firestartr/cli 2.10.0-snapshot-fix-renderer-1 → 2.10.0-snapshot-fix-renderer-nondeterminism-2
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/build/index.js +12 -16
- package/package.json +1 -1
package/build/index.js
CHANGED
|
@@ -319900,25 +319900,23 @@ class DefaultSection extends BasePatches {
|
|
|
319900
319900
|
return [
|
|
319901
319901
|
{
|
|
319902
319902
|
async apply(cr) {
|
|
319903
|
-
let currentPatchData = patchData;
|
|
319904
319903
|
// Merge object arrays
|
|
319905
|
-
const mergeResult = await __self._mergeObjectArrays(cr,
|
|
319904
|
+
const mergeResult = await __self._mergeObjectArrays(cr, patchData, mergeFilterFn, arrayPaths);
|
|
319906
319905
|
cr = mergeResult.cr;
|
|
319907
|
-
|
|
319906
|
+
patchData = mergeResult.patchData;
|
|
319908
319907
|
// Get the patch list
|
|
319909
|
-
const patchList = getPatchesFn(cr,
|
|
319908
|
+
const patchList = getPatchesFn(cr, patchData);
|
|
319910
319909
|
// We apply the patches, update the cr.spec field and return the CR
|
|
319911
319910
|
cr.spec = fast_json_patch_default().applyPatch(cr.spec, patchList).newDocument;
|
|
319912
319911
|
return cr;
|
|
319913
319912
|
},
|
|
319914
319913
|
async validate(cr) {
|
|
319915
|
-
let currentPatchData = patchData;
|
|
319916
319914
|
// Merge object arrays
|
|
319917
|
-
const mergeResult = await __self._mergeObjectArrays(cr,
|
|
319915
|
+
const mergeResult = await __self._mergeObjectArrays(cr, patchData, mergeFilterFn, arrayPaths);
|
|
319918
319916
|
cr = mergeResult.cr;
|
|
319919
|
-
|
|
319917
|
+
patchData = mergeResult.patchData;
|
|
319920
319918
|
// Get the patch list
|
|
319921
|
-
const patchList = getPatchesFn(cr,
|
|
319919
|
+
const patchList = getPatchesFn(cr, patchData);
|
|
319922
319920
|
// If the patchList array has length greater than 0,
|
|
319923
319921
|
// that must mean some operation was either overriden or not
|
|
319924
319922
|
// done at all. That would make our CR invalid
|
|
@@ -320841,20 +320839,18 @@ async function freeSlot() {
|
|
|
320841
320839
|
*
|
|
320842
320840
|
*/
|
|
320843
320841
|
async function crawlDirectory(dirEnt, exec) {
|
|
320844
|
-
const entries = (await promises_.readdir(dirEnt))
|
|
320845
|
-
|
|
320842
|
+
const entries = (await promises_.readdir(dirEnt))
|
|
320843
|
+
.map((entry) => external_path_.join(dirEnt, entry))
|
|
320844
|
+
.sort();
|
|
320846
320845
|
for (const entry of entries) {
|
|
320847
320846
|
const testDir = await isDir(entry);
|
|
320848
320847
|
if (testDir) {
|
|
320849
|
-
|
|
320848
|
+
await crawlDirectory(entry, exec);
|
|
320850
320849
|
}
|
|
320851
320850
|
else {
|
|
320852
|
-
|
|
320851
|
+
await slurpFile(entry, exec);
|
|
320853
320852
|
}
|
|
320854
320853
|
}
|
|
320855
|
-
return Promise.all(slurps.map((f) => f())).catch((err) => {
|
|
320856
|
-
throw `crawlDirectory: ${err} on ${dirEnt}`;
|
|
320857
|
-
});
|
|
320858
320854
|
}
|
|
320859
320855
|
function isDir(dirEnt) {
|
|
320860
320856
|
return promises_.stat(dirEnt)
|
|
@@ -524899,7 +524895,7 @@ const crsStatusSubcommand = {
|
|
|
524899
524895
|
};
|
|
524900
524896
|
|
|
524901
524897
|
;// CONCATENATED MODULE: ./package.json
|
|
524902
|
-
const package_namespaceObject = JSON.parse('{"i8":"2.10.0-snapshot-fix-renderer-
|
|
524898
|
+
const package_namespaceObject = JSON.parse('{"i8":"2.10.0-snapshot-fix-renderer-nondeterminism-2"}');
|
|
524903
524899
|
;// CONCATENATED MODULE: ../../package.json
|
|
524904
524900
|
const package_namespaceObject_1 = {"i8":"2.9.0"};
|
|
524905
524901
|
// EXTERNAL MODULE: ../../node_modules/semver/index.js
|