@darkhorseprojects/circuitry 0.3.4 → 0.3.5
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/cli.js +6 -1
- package/dist/index.js +6 -1
- package/dist/node.js +6 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -167,7 +167,12 @@ var parseYamlData = (text) => {
|
|
|
167
167
|
${message}`);
|
|
168
168
|
}
|
|
169
169
|
};
|
|
170
|
-
var stringifyYamlData = (value) => YAML2.stringify(value
|
|
170
|
+
var stringifyYamlData = (value) => YAML2.stringify(value, {
|
|
171
|
+
aliasDuplicateObjects: false,
|
|
172
|
+
defaultKeyType: "PLAIN",
|
|
173
|
+
defaultStringType: "QUOTE_DOUBLE",
|
|
174
|
+
doubleQuotedAsJSON: true
|
|
175
|
+
});
|
|
171
176
|
var parseCircuitryYaml = (text, standard = {}, options = {}) => {
|
|
172
177
|
const graph = parseYamlData(text);
|
|
173
178
|
if (!graph || typeof graph !== "object" || Array.isArray(graph)) {
|
package/dist/index.js
CHANGED
|
@@ -199,7 +199,12 @@ var parseYamlData = (text) => {
|
|
|
199
199
|
${message}`);
|
|
200
200
|
}
|
|
201
201
|
};
|
|
202
|
-
var stringifyYamlData = (value) => YAML2.stringify(value
|
|
202
|
+
var stringifyYamlData = (value) => YAML2.stringify(value, {
|
|
203
|
+
aliasDuplicateObjects: false,
|
|
204
|
+
defaultKeyType: "PLAIN",
|
|
205
|
+
defaultStringType: "QUOTE_DOUBLE",
|
|
206
|
+
doubleQuotedAsJSON: true
|
|
207
|
+
});
|
|
203
208
|
var parseCircuitryYaml = (text, standard = {}, options = {}) => {
|
|
204
209
|
const graph = parseYamlData(text);
|
|
205
210
|
if (!graph || typeof graph !== "object" || Array.isArray(graph)) {
|
package/dist/node.js
CHANGED
|
@@ -179,7 +179,12 @@ var parseYamlData = (text) => {
|
|
|
179
179
|
${message}`);
|
|
180
180
|
}
|
|
181
181
|
};
|
|
182
|
-
var stringifyYamlData = (value) => YAML2.stringify(value
|
|
182
|
+
var stringifyYamlData = (value) => YAML2.stringify(value, {
|
|
183
|
+
aliasDuplicateObjects: false,
|
|
184
|
+
defaultKeyType: "PLAIN",
|
|
185
|
+
defaultStringType: "QUOTE_DOUBLE",
|
|
186
|
+
doubleQuotedAsJSON: true
|
|
187
|
+
});
|
|
183
188
|
var parseCircuitryYaml = (text, standard = {}, options = {}) => {
|
|
184
189
|
const graph = parseYamlData(text);
|
|
185
190
|
if (!graph || typeof graph !== "object" || Array.isArray(graph)) {
|