@antongolub/lockfile 0.0.0-snapshot.51 → 0.0.0-snapshot.52
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/dist/formats/yarn-berry-v10.js +7 -0
- package/dist/formats/yarn-berry-v4.js +7 -0
- package/dist/formats/yarn-berry-v5.js +7 -0
- package/dist/formats/yarn-berry-v6.js +7 -0
- package/dist/formats/yarn-berry-v7.js +7 -0
- package/dist/formats/yarn-berry-v8.js +7 -0
- package/dist/formats/yarn-berry-v9.js +7 -0
- package/dist/index.js +7 -0
- package/package.json +1 -1
|
@@ -1774,6 +1774,7 @@ ${stringify(root)}`;
|
|
|
1774
1774
|
output = unquoteMetadataScalar(output, "compressionLevel", compressionLevel);
|
|
1775
1775
|
}
|
|
1776
1776
|
output = unquoteConditionsScalars(output);
|
|
1777
|
+
output = unquoteMetaBooleanScalars(output);
|
|
1777
1778
|
if (options.lineEnding === "crlf") {
|
|
1778
1779
|
output = output.replace(/\n/g, "\r\n");
|
|
1779
1780
|
}
|
|
@@ -2818,6 +2819,12 @@ function unquoteConditionsScalars(output) {
|
|
|
2818
2819
|
(_m, key, body) => `${key}: ${body}`
|
|
2819
2820
|
);
|
|
2820
2821
|
}
|
|
2822
|
+
function unquoteMetaBooleanScalars(output) {
|
|
2823
|
+
return output.replace(
|
|
2824
|
+
/^( (?:optional|built|unplugged)): "(true|false)"$/gm,
|
|
2825
|
+
(_m, key, body) => `${key}: ${body}`
|
|
2826
|
+
);
|
|
2827
|
+
}
|
|
2821
2828
|
|
|
2822
2829
|
// src/main/ts/formats/yarn-berry-v10.ts
|
|
2823
2830
|
var CONFIG = {
|
|
@@ -1774,6 +1774,7 @@ ${stringify(root)}`;
|
|
|
1774
1774
|
output = unquoteMetadataScalar(output, "compressionLevel", compressionLevel);
|
|
1775
1775
|
}
|
|
1776
1776
|
output = unquoteConditionsScalars(output);
|
|
1777
|
+
output = unquoteMetaBooleanScalars(output);
|
|
1777
1778
|
if (options.lineEnding === "crlf") {
|
|
1778
1779
|
output = output.replace(/\n/g, "\r\n");
|
|
1779
1780
|
}
|
|
@@ -2822,6 +2823,12 @@ function unquoteConditionsScalars(output) {
|
|
|
2822
2823
|
(_m, key, body) => `${key}: ${body}`
|
|
2823
2824
|
);
|
|
2824
2825
|
}
|
|
2826
|
+
function unquoteMetaBooleanScalars(output) {
|
|
2827
|
+
return output.replace(
|
|
2828
|
+
/^( (?:optional|built|unplugged)): "(true|false)"$/gm,
|
|
2829
|
+
(_m, key, body) => `${key}: ${body}`
|
|
2830
|
+
);
|
|
2831
|
+
}
|
|
2825
2832
|
|
|
2826
2833
|
// src/main/ts/formats/yarn-berry-v4.ts
|
|
2827
2834
|
var CONFIG = {
|
|
@@ -1774,6 +1774,7 @@ ${stringify(root)}`;
|
|
|
1774
1774
|
output = unquoteMetadataScalar(output, "compressionLevel", compressionLevel);
|
|
1775
1775
|
}
|
|
1776
1776
|
output = unquoteConditionsScalars(output);
|
|
1777
|
+
output = unquoteMetaBooleanScalars(output);
|
|
1777
1778
|
if (options.lineEnding === "crlf") {
|
|
1778
1779
|
output = output.replace(/\n/g, "\r\n");
|
|
1779
1780
|
}
|
|
@@ -2817,6 +2818,12 @@ function unquoteConditionsScalars(output) {
|
|
|
2817
2818
|
(_m, key, body) => `${key}: ${body}`
|
|
2818
2819
|
);
|
|
2819
2820
|
}
|
|
2821
|
+
function unquoteMetaBooleanScalars(output) {
|
|
2822
|
+
return output.replace(
|
|
2823
|
+
/^( (?:optional|built|unplugged)): "(true|false)"$/gm,
|
|
2824
|
+
(_m, key, body) => `${key}: ${body}`
|
|
2825
|
+
);
|
|
2826
|
+
}
|
|
2820
2827
|
|
|
2821
2828
|
// src/main/ts/formats/yarn-berry-v5.ts
|
|
2822
2829
|
var CONFIG = {
|
|
@@ -1774,6 +1774,7 @@ ${stringify(root)}`;
|
|
|
1774
1774
|
output = unquoteMetadataScalar(output, "compressionLevel", compressionLevel);
|
|
1775
1775
|
}
|
|
1776
1776
|
output = unquoteConditionsScalars(output);
|
|
1777
|
+
output = unquoteMetaBooleanScalars(output);
|
|
1777
1778
|
if (options.lineEnding === "crlf") {
|
|
1778
1779
|
output = output.replace(/\n/g, "\r\n");
|
|
1779
1780
|
}
|
|
@@ -2817,6 +2818,12 @@ function unquoteConditionsScalars(output) {
|
|
|
2817
2818
|
(_m, key, body) => `${key}: ${body}`
|
|
2818
2819
|
);
|
|
2819
2820
|
}
|
|
2821
|
+
function unquoteMetaBooleanScalars(output) {
|
|
2822
|
+
return output.replace(
|
|
2823
|
+
/^( (?:optional|built|unplugged)): "(true|false)"$/gm,
|
|
2824
|
+
(_m, key, body) => `${key}: ${body}`
|
|
2825
|
+
);
|
|
2826
|
+
}
|
|
2820
2827
|
|
|
2821
2828
|
// src/main/ts/formats/yarn-berry-v6.ts
|
|
2822
2829
|
var CONFIG = {
|
|
@@ -1774,6 +1774,7 @@ ${stringify(root)}`;
|
|
|
1774
1774
|
output = unquoteMetadataScalar(output, "compressionLevel", compressionLevel);
|
|
1775
1775
|
}
|
|
1776
1776
|
output = unquoteConditionsScalars(output);
|
|
1777
|
+
output = unquoteMetaBooleanScalars(output);
|
|
1777
1778
|
if (options.lineEnding === "crlf") {
|
|
1778
1779
|
output = output.replace(/\n/g, "\r\n");
|
|
1779
1780
|
}
|
|
@@ -2817,6 +2818,12 @@ function unquoteConditionsScalars(output) {
|
|
|
2817
2818
|
(_m, key, body) => `${key}: ${body}`
|
|
2818
2819
|
);
|
|
2819
2820
|
}
|
|
2821
|
+
function unquoteMetaBooleanScalars(output) {
|
|
2822
|
+
return output.replace(
|
|
2823
|
+
/^( (?:optional|built|unplugged)): "(true|false)"$/gm,
|
|
2824
|
+
(_m, key, body) => `${key}: ${body}`
|
|
2825
|
+
);
|
|
2826
|
+
}
|
|
2820
2827
|
|
|
2821
2828
|
// src/main/ts/formats/yarn-berry-v7.ts
|
|
2822
2829
|
var CONFIG = {
|
|
@@ -1774,6 +1774,7 @@ ${stringify(root)}`;
|
|
|
1774
1774
|
output = unquoteMetadataScalar(output, "compressionLevel", compressionLevel);
|
|
1775
1775
|
}
|
|
1776
1776
|
output = unquoteConditionsScalars(output);
|
|
1777
|
+
output = unquoteMetaBooleanScalars(output);
|
|
1777
1778
|
if (options.lineEnding === "crlf") {
|
|
1778
1779
|
output = output.replace(/\n/g, "\r\n");
|
|
1779
1780
|
}
|
|
@@ -2818,6 +2819,12 @@ function unquoteConditionsScalars(output) {
|
|
|
2818
2819
|
(_m, key, body) => `${key}: ${body}`
|
|
2819
2820
|
);
|
|
2820
2821
|
}
|
|
2822
|
+
function unquoteMetaBooleanScalars(output) {
|
|
2823
|
+
return output.replace(
|
|
2824
|
+
/^( (?:optional|built|unplugged)): "(true|false)"$/gm,
|
|
2825
|
+
(_m, key, body) => `${key}: ${body}`
|
|
2826
|
+
);
|
|
2827
|
+
}
|
|
2821
2828
|
|
|
2822
2829
|
// src/main/ts/formats/yarn-berry-v8.ts
|
|
2823
2830
|
var CONFIG = {
|
|
@@ -1774,6 +1774,7 @@ ${stringify(root)}`;
|
|
|
1774
1774
|
output = unquoteMetadataScalar(output, "compressionLevel", compressionLevel);
|
|
1775
1775
|
}
|
|
1776
1776
|
output = unquoteConditionsScalars(output);
|
|
1777
|
+
output = unquoteMetaBooleanScalars(output);
|
|
1777
1778
|
if (options.lineEnding === "crlf") {
|
|
1778
1779
|
output = output.replace(/\n/g, "\r\n");
|
|
1779
1780
|
}
|
|
@@ -2818,6 +2819,12 @@ function unquoteConditionsScalars(output) {
|
|
|
2818
2819
|
(_m, key, body) => `${key}: ${body}`
|
|
2819
2820
|
);
|
|
2820
2821
|
}
|
|
2822
|
+
function unquoteMetaBooleanScalars(output) {
|
|
2823
|
+
return output.replace(
|
|
2824
|
+
/^( (?:optional|built|unplugged)): "(true|false)"$/gm,
|
|
2825
|
+
(_m, key, body) => `${key}: ${body}`
|
|
2826
|
+
);
|
|
2827
|
+
}
|
|
2821
2828
|
|
|
2822
2829
|
// src/main/ts/formats/yarn-berry-v9.ts
|
|
2823
2830
|
var CONFIG = {
|
package/dist/index.js
CHANGED
|
@@ -6497,6 +6497,7 @@ ${stringify8(root)}`;
|
|
|
6497
6497
|
output = unquoteMetadataScalar(output, "compressionLevel", compressionLevel);
|
|
6498
6498
|
}
|
|
6499
6499
|
output = unquoteConditionsScalars(output);
|
|
6500
|
+
output = unquoteMetaBooleanScalars(output);
|
|
6500
6501
|
if (options.lineEnding === "crlf") {
|
|
6501
6502
|
output = output.replace(/\n/g, "\r\n");
|
|
6502
6503
|
}
|
|
@@ -7206,6 +7207,12 @@ function unquoteConditionsScalars(output) {
|
|
|
7206
7207
|
(_m, key, body) => `${key}: ${body}`
|
|
7207
7208
|
);
|
|
7208
7209
|
}
|
|
7210
|
+
function unquoteMetaBooleanScalars(output) {
|
|
7211
|
+
return output.replace(
|
|
7212
|
+
/^( (?:optional|built|unplugged)): "(true|false)"$/gm,
|
|
7213
|
+
(_m, key, body) => `${key}: ${body}`
|
|
7214
|
+
);
|
|
7215
|
+
}
|
|
7209
7216
|
|
|
7210
7217
|
// src/main/ts/formats/yarn-berry-v4.ts
|
|
7211
7218
|
var CONFIG3 = {
|