Comparing version 2.69.28 to 2.69.29
@@ -135,3 +135,3 @@ "use strict"; | ||
exports.ApiObject = ApiObject; | ||
ApiObject[_a] = { fqn: "cdk8s.ApiObject", version: "2.69.28" }; | ||
ApiObject[_a] = { fqn: "cdk8s.ApiObject", version: "2.69.29" }; | ||
function parseApiGroup(apiVersion) { | ||
@@ -138,0 +138,0 @@ const v = apiVersion.split('/'); |
@@ -195,3 +195,3 @@ "use strict"; | ||
_a = JSII_RTTI_SYMBOL_1; | ||
App[_a] = { fqn: "cdk8s.App", version: "2.69.28" }; | ||
App[_a] = { fqn: "cdk8s.App", version: "2.69.29" }; | ||
function validate(app, cache) { | ||
@@ -198,0 +198,0 @@ const errors = []; |
@@ -109,3 +109,3 @@ "use strict"; | ||
exports.Chart = Chart; | ||
Chart[_a] = { fqn: "cdk8s.Chart", version: "2.69.28" }; | ||
Chart[_a] = { fqn: "cdk8s.Chart", version: "2.69.29" }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hhcnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvY2hhcnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSwyQ0FBbUQ7QUFDbkQsNkNBQXlDO0FBQ3pDLCtCQUE0QjtBQUM1QixtQ0FBZ0M7QUFFaEMsTUFBTSxZQUFZLEdBQUcsTUFBTSxDQUFDLEdBQUcsQ0FBQyxhQUFhLENBQUMsQ0FBQztBQUMvQyxNQUFNLE9BQU8sR0FBRyxTQUFTLENBQUM7QUE2QjFCLE1BQWEsS0FBTSxTQUFRLHNCQUFTO0lBQ2xDOzs7O09BSUc7SUFDSSxNQUFNLENBQUMsT0FBTyxDQUFDLENBQU07UUFDMUIsT0FBTyxDQUFDLEtBQUssSUFBSSxJQUFJLE9BQU0sQ0FBQyxDQUFDLENBQUMsS0FBSyxRQUFRLElBQUksWUFBWSxJQUFJLENBQUMsQ0FB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N0cnVjdFtdKSB7XG4gICAgdGhpcy5ub2RlLmFkZERlcGVuZGVuY3koLi4uZGVwZW5kZW5jaWVzKTtcbiAgfVxuXG4gIC8qKlxuICAgKiBSZW5kZXJzIHRoaXMgY2hhcnQgdG8gYSBzZXQgb2YgS3ViZXJuZXRlcyBKU09OIHJlc291cmNlcy5cbiAgICogQHJldHVybnMgYXJyYXkgb2YgcmVzb3VyY2UgbWFuaWZlc3RzXG4gICAqL1xuICBwdWJsaWMgdG9Kc29uKCk6IGFueVtdIHtcbiAgICByZXR1cm4gQXBwLl9zeW50aENoYXJ0KHRoaXMpO1xuICB9XG5cbiAgLyoqXG4gICAqIFJldHVybnMgYWxsIHRoZSBpbmNsdWRlZCBBUEkgb2JqZWN0cy5cbiAgICovXG4gIGdldCBhcGlPYmplY3RzKCk6IEFwaU9iamVjdFtdIHtcbiAgICByZXR1cm4gdGhpcy5ub2RlLmNoaWxkcmVuLmZpbHRlcigobyk6IG8gaXMgQXBpT2JqZWN0ID0+IG8gaW5zdGFuY2VvZiBBcGlPYmplY3QpO1xuICB9XG59XG4iXX0= |
@@ -64,3 +64,3 @@ "use strict"; | ||
_a = JSII_RTTI_SYMBOL_1; | ||
Cron[_a] = { fqn: "cdk8s.Cron", version: "2.69.28" }; | ||
Cron[_a] = { fqn: "cdk8s.Cron", version: "2.69.29" }; | ||
function fallback(x, def) { | ||
@@ -67,0 +67,0 @@ return x ?? def; |
@@ -78,3 +78,3 @@ "use strict"; | ||
_a = JSII_RTTI_SYMBOL_1; | ||
DependencyGraph[_a] = { fqn: "cdk8s.DependencyGraph", version: "2.69.28" }; | ||
DependencyGraph[_a] = { fqn: "cdk8s.DependencyGraph", version: "2.69.29" }; | ||
/** | ||
@@ -172,3 +172,3 @@ * Represents a vertex in the graph. | ||
_b = JSII_RTTI_SYMBOL_1; | ||
DependencyVertex[_b] = { fqn: "cdk8s.DependencyVertex", version: "2.69.28" }; | ||
DependencyVertex[_b] = { fqn: "cdk8s.DependencyVertex", version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VuY3Rpb24gdmlzaXQobjogRGVwZW5kZW5jeVZlcnRleCk6IGJvb2xlYW4ge1xuICAgICAgcm91dGUucHVzaChuKTtcbiAgICAgIGxldCBmb3VuZCA9IGZhbHNlO1xuICAgICAgZm9yIChjb25zdCBjIG9mIG4ub3V0Ym91bmQpIHtcbiAgICAgICAgaWYgKGMgPT09IGRzdCkge1xuICAgICAgICAgIHJvdXRlLnB1c2goYyk7XG4gICAgICAgICAgcmV0dXJuIHRydWU7XG4gICAgICAgIH1cbiAgICAgICAgZm91bmQgPSB2aXNpdChjKTtcbiAgICAgIH1cbiAgICAgIGlmICghZm91bmQpIHtcbiAgICAgICAgcm91dGUucG9wKCk7XG4gICAgICB9XG4gICAgICByZXR1cm4gZm91bmQ7XG5cbiAgICB9XG5cbiAgfVxufVxuIl19 |
@@ -201,3 +201,3 @@ "use strict"; | ||
_a = JSII_RTTI_SYMBOL_1; | ||
Duration[_a] = { fqn: "cdk8s.Duration", version: "2.69.28" }; | ||
Duration[_a] = { fqn: "cdk8s.Duration", version: "2.69.29" }; | ||
class TimeUnit { | ||
@@ -204,0 +204,0 @@ constructor(label, inMillis) { |
@@ -57,3 +57,3 @@ "use strict"; | ||
_a = JSII_RTTI_SYMBOL_1; | ||
Helm[_a] = { fqn: "cdk8s.Helm", version: "2.69.28" }; | ||
Helm[_a] = { fqn: "cdk8s.Helm", version: "2.69.29" }; | ||
function renderTemplate(workdir, prog, args) { | ||
@@ -60,0 +60,0 @@ const helm = _child_process_1._child_process.spawnSync(prog, args, { |
@@ -37,3 +37,3 @@ "use strict"; | ||
_a = JSII_RTTI_SYMBOL_1; | ||
Include[_a] = { fqn: "cdk8s.Include", version: "2.69.28" }; | ||
Include[_a] = { fqn: "cdk8s.Include", version: "2.69.29" }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5jbHVkZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3NyYy9p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gPSAwO1xuICAgIGZvciAoY29uc3Qgb2JqIG9mIG9iamVjdHMpIHtcbiAgICAgIGNvbnN0IG9iam5hbWUgPSBvYmoubWV0YWRhdGE/Lm5hbWUgPz8gYG9iamVjdCR7b3JkZXIrK31gO1xuXG4gICAgICAvLyByZW5kZXIgYW4gaWQ6IG5hbWVbLWtpbmRdWy1uYW1lc3BhY2VdXG4gICAgICBjb25zdCBvYmppZCA9IFtvYmpuYW1lLCBvYmoua2luZD8udG9Mb3dlckNhc2UoKSwgb2JqLm1ldGFkYXRhPy5uYW1lc3BhY2VdLmZpbHRlcih4ID0+IHgpLmpvaW4oJy0nKTtcbiAgICAgIG5ldyBBcGlPYmplY3QodGhpcywgb2JqaWQsIG9iaik7XG4gICAgfVxuICB9XG5cbiAgLyoqXG4gICAqIFJldHVybnMgYWxsIHRoZSBpbmNsdWRlZCBBUEkgb2JqZWN0cy5cbiAgICovXG4gIHB1YmxpYyBnZXQgYXBpT2JqZWN0cygpOiBBcGlPYmplY3RbXSB7XG4gICAgcmV0dXJuIHRoaXMubm9kZS5jaGlsZHJlbi5maWx0ZXIoKG8pOiBvIGlzIEFwaU9iamVjdCA9PiBvIGluc3RhbmNlb2YgQXBpT2JqZWN0KTtcbiAgfVxufVxuIl19 |
@@ -90,3 +90,3 @@ "use strict"; | ||
_a = JSII_RTTI_SYMBOL_1; | ||
JsonPatch[_a] = { fqn: "cdk8s.JsonPatch", version: "2.69.28" }; | ||
JsonPatch[_a] = { fqn: "cdk8s.JsonPatch", version: "2.69.29" }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoianNvbi1wYXRjaC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3NyYy9qc29uLXBhdGNoLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEscURBQW1FO0FBRW5FOzs7Ozs7Ozs7Ozs7Ozs7O0dBZ0JHO0FBQ0g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hbWUnLCAnQ2hvY28gTGVpYm5peicpXG4gICAqL1xuICBwdWJsaWMgc3RhdGljIHRlc3QocGF0aDogc3RyaW5nLCB2YWx1ZTogYW55KSB7IHJldHVybiBuZXcgSnNvblBhdGNoKHsgb3A6ICd0ZXN0JywgcGF0aCwgdmFsdWUgfSk7IH1cblxuICBwcml2YXRlIGNvbnN0cnVjdG9yKHByaXZhdGUgcmVhZG9ubHkgb3BlcmF0aW9uOiBPcGVyYXRpb24pIHt9XG5cbiAgLyoqXG4gICAqIFJldHVybnMgdGhlIEpTT04gcmVwcmVzZW50YXRpb24gb2YgdGhpcyBKU09OIHBhdGNoIG9wZXJhdGlvbi5cbiAgICpcbiAgICogQGludGVybmFsXG4gICAqL1xuICBwdWJsaWMgX3RvSnNvbigpOiBhbnkge1xuICAgIHJldHVybiB0aGlzLm9wZXJhdGlvbjtcbiAgfVxufSJdfQ== |
@@ -19,3 +19,3 @@ "use strict"; | ||
_a = JSII_RTTI_SYMBOL_1; | ||
Lazy[_a] = { fqn: "cdk8s.Lazy", version: "2.69.28" }; | ||
Lazy[_a] = { fqn: "cdk8s.Lazy", version: "2.69.29" }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGF6eS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3NyYy9sYXp5LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsTUFBYSxJQUFJO0lBQ1IsTUFBTSxDQUFDLEdBQUcsQ0FBQyxRQUFzQjtRQUN0QyxPQUFPLElBQUksSUFBSSxDQUFDLFFBQVEsQ0FBbUIsQ0FBQztJQUM5QyxDQUFDO0lBRUQsWUFBcUMsUUFBc0I7UUFBdEIsYUFBUSxHQUFSLFFBQVEsQ0FBYztJQUFHLENBQUM7SUFFeEQsT0FBTztRQUNaLE9BQU8sSUFBSSxDQUFDLFFBQVEsQ0FBQyxPQUFPLEVBQUUsQ0FBQztJQUNqQyxDQUFDOztBQVRILG9CQVVDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGNsYXNzIExhenkge1xuICBwdWJsaWMgc3RhdGljIGFueShwcm9kdWNlcjogSUFueVByb2R1Y2VyKTogYW55IHtcbiAgICByZXR1cm4gbmV3IExhenkocHJvZHVjZXIpIGFzIHVua25vd24gYXMgYW55O1xuICB9XG5cbiAgcHJpdmF0ZSBjb25zdHJ1Y3Rvcihwcml2YXRlIHJlYWRvbmx5IHByb2R1Y2VyOiBJQW55UHJvZHVjZXIpIHt9XG5cbiAgcHVibGljIHByb2R1Y2UoKTogYW55IHtcbiAgICByZXR1cm4gdGhpcy5wcm9kdWNlci5wcm9kdWNlKCk7XG4gIH1cbn1cblxuZXhwb3J0IGludGVyZmFjZSBJQW55UHJvZHVjZXIge1xuICBwcm9kdWNlKCk6IGFueTtcbn1cblxuXG4iXX0= |
@@ -91,3 +91,3 @@ "use strict"; | ||
_a = JSII_RTTI_SYMBOL_1; | ||
ApiObjectMetadataDefinition[_a] = { fqn: "cdk8s.ApiObjectMetadataDefinition", version: "2.69.28" }; | ||
ApiObjectMetadataDefinition[_a] = { fqn: "cdk8s.ApiObjectMetadataDefinition", version: "2.69.29" }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWV0YWRhdGEuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvbWV0YWRhdGEudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxtQ0FBd0M7QUFFeEMsdUNBQW9DO0FBbUhwQzs7R0FFRztBQUNILE1BQWEsMkJBQTJCO0lBOEN0QyxZQUFZLE9BQTJDO1FBQ3JELElBQUksQ0FBQyxJQUFJLEdBQUcsT0FBTyxDQUFDLElBQUksQ0FBQztRQUN6QixJQUFJLENBQUMsTUFBTSxHQUFHLEVBQUUsR0FBRyxDQUFDLE9BQU8sQ0FB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RoZSByZWZlcmVudC5cbiAgICpcbiAgICogQHNlZSBodHRwczovL2dpdC5rOHMuaW8vY29tbXVuaXR5L2NvbnRyaWJ1dG9ycy9kZXZlbC9zaWctYXJjaGl0ZWN0dXJlL2FwaS1jb252ZW50aW9ucy5tZCN0eXBlcy1raW5kc1xuICAgKi9cbiAgcmVhZG9ubHkga2luZDogc3RyaW5nO1xuXG4gIC8qKlxuICAgKiBOYW1lIG9mIHRoZSByZWZlcmVudC5cbiAgICpcbiAgICogQHNlZSBodHRwOi8va3ViZXJuZXRlcy5pby9kb2NzL3VzZXItZ3VpZGUvaWRlbnRpZmllcnMjbmFtZXNcbiAgICovXG4gIHJlYWRvbmx5IG5hbWU6IHN0cmluZztcblxuICAvKipcbiAgICogVUlEIG9mIHRoZSByZWZlcmVudC5cbiAgICpcbiAgICogQHNlZSBodHRwOi8va3ViZXJuZXRlcy5pby9kb2NzL3VzZXItZ3VpZGUvaWRlbnRpZmllcnMjdWlkc1xuICAgKi9cbiAgcmVhZG9ubHkgdWlkOiBzdHJpbmc7XG5cbn1cbiJdfQ== |
@@ -123,3 +123,3 @@ "use strict"; | ||
_a = JSII_RTTI_SYMBOL_1; | ||
Names[_a] = { fqn: "cdk8s.Names", version: "2.69.28" }; | ||
Names[_a] = { fqn: "cdk8s.Names", version: "2.69.29" }; | ||
function omitDuplicates(value, index, components) { | ||
@@ -126,0 +126,0 @@ return value !== components[index - 1]; |
@@ -45,3 +45,3 @@ "use strict"; | ||
_a = JSII_RTTI_SYMBOL_1; | ||
ResolutionContext[_a] = { fqn: "cdk8s.ResolutionContext", version: "2.69.28" }; | ||
ResolutionContext[_a] = { fqn: "cdk8s.ResolutionContext", version: "2.69.29" }; | ||
/** | ||
@@ -60,3 +60,3 @@ * Resolvers instanecs of `Lazy`. | ||
_b = JSII_RTTI_SYMBOL_1; | ||
LazyResolver[_b] = { fqn: "cdk8s.LazyResolver", version: "2.69.28" }; | ||
LazyResolver[_b] = { fqn: "cdk8s.LazyResolver", version: "2.69.29" }; | ||
/** | ||
@@ -75,3 +75,3 @@ * Resolves implicit tokens. | ||
_c = JSII_RTTI_SYMBOL_1; | ||
ImplicitTokenResolver[_c] = { fqn: "cdk8s.ImplicitTokenResolver", version: "2.69.28" }; | ||
ImplicitTokenResolver[_c] = { fqn: "cdk8s.ImplicitTokenResolver", version: "2.69.29" }; | ||
/** | ||
@@ -97,3 +97,3 @@ * Resolves union types that allow using either number or string (as generated by the CLI). | ||
_d = JSII_RTTI_SYMBOL_1; | ||
NumberStringUnionResolver[_d] = { fqn: "cdk8s.NumberStringUnionResolver", version: "2.69.28" }; | ||
NumberStringUnionResolver[_d] = { fqn: "cdk8s.NumberStringUnionResolver", version: "2.69.29" }; | ||
NumberStringUnionResolver.TYPES = ['number', 'string']; | ||
@@ -100,0 +100,0 @@ /** |
@@ -96,3 +96,3 @@ "use strict"; | ||
_a = JSII_RTTI_SYMBOL_1; | ||
Size[_a] = { fqn: "cdk8s.Size", version: "2.69.28" }; | ||
Size[_a] = { fqn: "cdk8s.Size", version: "2.69.29" }; | ||
/** | ||
@@ -99,0 +99,0 @@ * Rounding behaviour when converting between units of `Size`. |
@@ -48,3 +48,3 @@ "use strict"; | ||
_a = JSII_RTTI_SYMBOL_1; | ||
Testing[_a] = { fqn: "cdk8s.Testing", version: "2.69.28" }; | ||
Testing[_a] = { fqn: "cdk8s.Testing", version: "2.69.29" }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGVzdGluZy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3NyYy90ZXN0aW5nLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEseUJBQXlCO0FBQ3pCLHlCQUF5QjtBQUN6Qiw2QkFBNkI7QUFDN0IsK0JBQXNDO0FBQ3RDLG1DQUFnQztBQUVoQzs7R0FFRztBQUNILE1BQWEsT0FBTztJQUNsQjs7O09BR0c7SUF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biAgICByZXR1cm4gY2hhcnQudG9Kc29uKCk7XG4gIH1cblxuICAvKiBpc3RhbmJ1bCBpZ25vcmUgbmV4dCAqL1xuICBwcml2YXRlIGNvbnN0cnVjdG9yKCkge1xuICAgIHJldHVybjtcbiAgfVxufVxuIl19 |
@@ -101,3 +101,3 @@ "use strict"; | ||
_a = JSII_RTTI_SYMBOL_1; | ||
Yaml[_a] = { fqn: "cdk8s.Yaml", version: "2.69.28" }; | ||
Yaml[_a] = { fqn: "cdk8s.Yaml", version: "2.69.29" }; | ||
/** | ||
@@ -104,0 +104,0 @@ * Loads a url (or file) and returns the contents. |
@@ -58,3 +58,3 @@ function resolveProps(tokens, { flow, indicator, next, offset, onError, parentIndent, startOnNewline }) { | ||
comment += token.source; | ||
else | ||
else if (!found || indicator !== 'seq-item-ind') | ||
spaceBefore = true; | ||
@@ -61,0 +61,0 @@ } |
@@ -7,6 +7,3 @@ function debug(logLevel, ...messages) { | ||
if (logLevel === 'debug' || logLevel === 'warn') { | ||
if (typeof process !== 'undefined' && process.emitWarning) | ||
process.emitWarning(warning); | ||
else | ||
console.warn(warning); | ||
console.warn(warning); | ||
} | ||
@@ -13,0 +10,0 @@ } |
@@ -17,6 +17,3 @@ import { Scalar } from '../../nodes/Scalar.js'; | ||
resolve(src, onError) { | ||
if (typeof Buffer === 'function') { | ||
return Buffer.from(src, 'base64'); | ||
} | ||
else if (typeof atob === 'function') { | ||
if (typeof atob === 'function') { | ||
// On IE 11, atob() can't handle newlines | ||
@@ -37,9 +34,3 @@ const str = atob(src.replace(/[\n\r]/g, '')); | ||
let str; | ||
if (typeof Buffer === 'function') { | ||
str = | ||
buf instanceof Buffer | ||
? buf.toString('base64') | ||
: Buffer.from(buf.buffer).toString('base64'); | ||
} | ||
else if (typeof btoa === 'function') { | ||
if (typeof btoa === 'function') { | ||
let s = ''; | ||
@@ -46,0 +37,0 @@ for (let i = 0; i < buf.length; ++i) |
export { createNode } from './doc/createNode.js'; | ||
export { debug, warn } from './log.js'; | ||
export { createPair } from './nodes/Pair.js'; | ||
export { toJS } from './nodes/toJS.js'; | ||
export { findPair } from './nodes/YAMLMap.js'; | ||
export { toJS } from './nodes/toJS.js'; | ||
export { map as mapTag } from './schema/common/map.js'; | ||
@@ -7,0 +7,0 @@ export { seq as seqTag } from './schema/common/seq.js'; |
@@ -1,5 +0,5 @@ | ||
import type { ParsedNode } from '../nodes/Node.js'; | ||
import type { BlockMap, BlockSequence, FlowCollection, SourceToken } from '../parse/cst.js'; | ||
import type { ComposeContext, ComposeNode } from './compose-node.js'; | ||
import type { ComposeErrorHandler } from './composer.js'; | ||
import type { ParsedNode } from '../nodes/Node'; | ||
import type { BlockMap, BlockSequence, FlowCollection, SourceToken } from '../parse/cst'; | ||
import type { ComposeContext, ComposeNode } from './compose-node'; | ||
import type { ComposeErrorHandler } from './composer'; | ||
interface Props { | ||
@@ -6,0 +6,0 @@ anchor: SourceToken | null; |
@@ -1,7 +0,7 @@ | ||
import type { Directives } from '../doc/directives.js'; | ||
import { Document } from '../doc/Document.js'; | ||
import type { ParsedNode } from '../nodes/Node.js'; | ||
import type { DocumentOptions, ParseOptions, SchemaOptions } from '../options.js'; | ||
import type * as CST from '../parse/cst.js'; | ||
import type { ComposeErrorHandler } from './composer.js'; | ||
import type { Directives } from '../doc/directives'; | ||
import { Document } from '../doc/Document'; | ||
import type { ParsedNode } from '../nodes/Node'; | ||
import type { DocumentOptions, ParseOptions, SchemaOptions } from '../options'; | ||
import type * as CST from '../parse/cst'; | ||
import type { ComposeErrorHandler } from './composer'; | ||
export declare function composeDoc<Contents extends ParsedNode = ParsedNode, Strict extends boolean = true>(options: ParseOptions & DocumentOptions & SchemaOptions, directives: Directives, { offset, start, value, end }: CST.Document, onError: ComposeErrorHandler): Document.Parsed<Contents, Strict>; |
@@ -1,7 +0,7 @@ | ||
import type { Directives } from '../doc/directives.js'; | ||
import type { ParsedNode } from '../nodes/Node.js'; | ||
import type { ParseOptions } from '../options.js'; | ||
import type { SourceToken, Token } from '../parse/cst.js'; | ||
import type { Schema } from '../schema/Schema.js'; | ||
import type { ComposeErrorHandler } from './composer.js'; | ||
import type { Directives } from '../doc/directives'; | ||
import type { ParsedNode } from '../nodes/Node'; | ||
import type { ParseOptions } from '../options'; | ||
import type { SourceToken, Token } from '../parse/cst'; | ||
import type { Schema } from '../schema/Schema'; | ||
import type { ComposeErrorHandler } from './composer'; | ||
export interface ComposeContext { | ||
@@ -28,3 +28,3 @@ atKey: boolean; | ||
export declare function composeNode(ctx: ComposeContext, token: Token, props: Props, onError: ComposeErrorHandler): ParsedNode; | ||
export declare function composeEmptyNode(ctx: ComposeContext, offset: number, before: Token[] | undefined, pos: number | null, { spaceBefore, comment, anchor, tag, end }: Props, onError: ComposeErrorHandler): import("../index.js").Scalar.Parsed; | ||
export declare function composeEmptyNode(ctx: ComposeContext, offset: number, before: Token[] | undefined, pos: number | null, { spaceBefore, comment, anchor, tag, end }: Props, onError: ComposeErrorHandler): import('../index').Scalar.Parsed; | ||
export {}; |
@@ -1,5 +0,5 @@ | ||
import { Scalar } from '../nodes/Scalar.js'; | ||
import type { BlockScalar, FlowScalar, SourceToken } from '../parse/cst.js'; | ||
import type { ComposeContext } from './compose-node.js'; | ||
import type { ComposeErrorHandler } from './composer.js'; | ||
import { Scalar } from '../nodes/Scalar'; | ||
import type { BlockScalar, FlowScalar, SourceToken } from '../parse/cst'; | ||
import type { ComposeContext } from './compose-node'; | ||
import type { ComposeErrorHandler } from './composer'; | ||
export declare function composeScalar(ctx: ComposeContext, token: FlowScalar | BlockScalar, tagToken: SourceToken | null, onError: ComposeErrorHandler): Scalar.Parsed; |
@@ -1,7 +0,8 @@ | ||
import { Directives } from '../doc/directives.js'; | ||
import { Document } from '../doc/Document.js'; | ||
import { ErrorCode, YAMLParseError, YAMLWarning } from '../errors.js'; | ||
import type { ParsedNode, Range } from '../nodes/Node.js'; | ||
import type { DocumentOptions, ParseOptions, SchemaOptions } from '../options.js'; | ||
import type { Token } from '../parse/cst.js'; | ||
import { Directives } from '../doc/directives'; | ||
import { Document } from '../doc/Document'; | ||
import type { ErrorCode } from '../errors'; | ||
import { YAMLParseError, YAMLWarning } from '../errors'; | ||
import type { ParsedNode, Range } from '../nodes/Node'; | ||
import type { DocumentOptions, ParseOptions, SchemaOptions } from '../options'; | ||
import type { Token } from '../parse/cst'; | ||
type ErrorSource = number | [number, number] | Range | { | ||
@@ -8,0 +9,0 @@ offset: number; |
'use strict'; | ||
var node_process = require('node:process'); | ||
var directives = require('../doc/directives.js'); | ||
@@ -136,3 +137,3 @@ var Document = require('../doc/Document.js'); | ||
*next(token) { | ||
if (process.env.LOG_STREAM) | ||
if (node_process.env.LOG_STREAM) | ||
console.dir(token, { depth: null }); | ||
@@ -139,0 +140,0 @@ switch (token.type) { |
@@ -1,6 +0,6 @@ | ||
import { YAMLMap } from '../nodes/YAMLMap.js'; | ||
import type { BlockMap } from '../parse/cst.js'; | ||
import { CollectionTag } from '../schema/types.js'; | ||
import type { ComposeContext, ComposeNode } from './compose-node.js'; | ||
import type { ComposeErrorHandler } from './composer.js'; | ||
import { YAMLMap } from '../nodes/YAMLMap'; | ||
import type { BlockMap } from '../parse/cst'; | ||
import type { CollectionTag } from '../schema/types'; | ||
import type { ComposeContext, ComposeNode } from './compose-node'; | ||
import type { ComposeErrorHandler } from './composer'; | ||
export declare function resolveBlockMap({ composeNode, composeEmptyNode }: ComposeNode, ctx: ComposeContext, bm: BlockMap, onError: ComposeErrorHandler, tag?: CollectionTag): YAMLMap.Parsed; |
@@ -1,6 +0,6 @@ | ||
import { Range } from '../nodes/Node.js'; | ||
import { Scalar } from '../nodes/Scalar.js'; | ||
import type { BlockScalar } from '../parse/cst.js'; | ||
import type { ComposeContext } from './compose-node.js'; | ||
import type { ComposeErrorHandler } from './composer.js'; | ||
import type { Range } from '../nodes/Node'; | ||
import { Scalar } from '../nodes/Scalar'; | ||
import type { BlockScalar } from '../parse/cst'; | ||
import type { ComposeContext } from './compose-node'; | ||
import type { ComposeErrorHandler } from './composer'; | ||
export declare function resolveBlockScalar(ctx: ComposeContext, scalar: BlockScalar, onError: ComposeErrorHandler): { | ||
@@ -7,0 +7,0 @@ value: string; |
@@ -1,6 +0,6 @@ | ||
import { YAMLSeq } from '../nodes/YAMLSeq.js'; | ||
import type { BlockSequence } from '../parse/cst.js'; | ||
import { CollectionTag } from '../schema/types.js'; | ||
import type { ComposeContext, ComposeNode } from './compose-node.js'; | ||
import type { ComposeErrorHandler } from './composer.js'; | ||
import { YAMLSeq } from '../nodes/YAMLSeq'; | ||
import type { BlockSequence } from '../parse/cst'; | ||
import type { CollectionTag } from '../schema/types'; | ||
import type { ComposeContext, ComposeNode } from './compose-node'; | ||
import type { ComposeErrorHandler } from './composer'; | ||
export declare function resolveBlockSeq({ composeNode, composeEmptyNode }: ComposeNode, ctx: ComposeContext, bs: BlockSequence, onError: ComposeErrorHandler, tag?: CollectionTag): YAMLSeq.Parsed; |
@@ -1,3 +0,3 @@ | ||
import type { SourceToken } from '../parse/cst.js'; | ||
import type { ComposeErrorHandler } from './composer.js'; | ||
import type { SourceToken } from '../parse/cst'; | ||
import type { ComposeErrorHandler } from './composer'; | ||
export declare function resolveEnd(end: SourceToken[] | undefined, offset: number, reqSpace: boolean, onError: ComposeErrorHandler): { | ||
@@ -4,0 +4,0 @@ comment: string; |
@@ -1,7 +0,7 @@ | ||
import { YAMLMap } from '../nodes/YAMLMap.js'; | ||
import { YAMLSeq } from '../nodes/YAMLSeq.js'; | ||
import type { FlowCollection } from '../parse/cst.js'; | ||
import { CollectionTag } from '../schema/types.js'; | ||
import type { ComposeContext, ComposeNode } from './compose-node.js'; | ||
import type { ComposeErrorHandler } from './composer.js'; | ||
export declare function resolveFlowCollection({ composeNode, composeEmptyNode }: ComposeNode, ctx: ComposeContext, fc: FlowCollection, onError: ComposeErrorHandler, tag?: CollectionTag): YAMLMap.Parsed<import("../index.js").ParsedNode, import("../index.js").ParsedNode | null> | YAMLSeq.Parsed<import("../index.js").ParsedNode>; | ||
import { YAMLMap } from '../nodes/YAMLMap'; | ||
import { YAMLSeq } from '../nodes/YAMLSeq'; | ||
import type { FlowCollection } from '../parse/cst'; | ||
import type { CollectionTag } from '../schema/types'; | ||
import type { ComposeContext, ComposeNode } from './compose-node'; | ||
import type { ComposeErrorHandler } from './composer'; | ||
export declare function resolveFlowCollection({ composeNode, composeEmptyNode }: ComposeNode, ctx: ComposeContext, fc: FlowCollection, onError: ComposeErrorHandler, tag?: CollectionTag): YAMLMap.Parsed<import('../index').ParsedNode, import('../index').ParsedNode | null> | YAMLSeq.Parsed<import('../index').ParsedNode>; |
@@ -1,5 +0,5 @@ | ||
import { Range } from '../nodes/Node.js'; | ||
import { Scalar } from '../nodes/Scalar.js'; | ||
import type { FlowScalar } from '../parse/cst.js'; | ||
import type { ComposeErrorHandler } from './composer.js'; | ||
import type { Range } from '../nodes/Node'; | ||
import { Scalar } from '../nodes/Scalar'; | ||
import type { FlowScalar } from '../parse/cst'; | ||
import type { ComposeErrorHandler } from './composer'; | ||
export declare function resolveFlowScalar(scalar: FlowScalar, strict: boolean, onError: ComposeErrorHandler): { | ||
@@ -6,0 +6,0 @@ value: string; |
@@ -1,3 +0,3 @@ | ||
import type { SourceToken, Token } from '../parse/cst.js'; | ||
import type { ComposeErrorHandler } from './composer.js'; | ||
import type { SourceToken, Token } from '../parse/cst'; | ||
import type { ComposeErrorHandler } from './composer'; | ||
export interface ResolvePropsArg { | ||
@@ -4,0 +4,0 @@ flow?: 'flow map' | 'flow sequence'; |
@@ -60,3 +60,3 @@ 'use strict'; | ||
comment += token.source; | ||
else | ||
else if (!found || indicator !== 'seq-item-ind') | ||
spaceBefore = true; | ||
@@ -63,0 +63,0 @@ } |
@@ -1,2 +0,2 @@ | ||
import type { Token } from '../parse/cst.js'; | ||
import type { Token } from '../parse/cst'; | ||
export declare function containsNewline(key: Token | null | undefined): boolean | null; |
@@ -1,2 +0,2 @@ | ||
import type { Token } from '../parse/cst.js'; | ||
import type { Token } from '../parse/cst'; | ||
export declare function emptyScalarPosition(offset: number, before: Token[] | undefined, pos: number | null): number; |
@@ -1,3 +0,3 @@ | ||
import { Token } from '../parse/cst'; | ||
import { ComposeErrorHandler } from './composer'; | ||
import type { Token } from '../parse/cst'; | ||
import type { ComposeErrorHandler } from './composer'; | ||
export declare function flowIndentCheck(indent: number, fc: Token | null | undefined, onError: ComposeErrorHandler): void; |
@@ -1,4 +0,4 @@ | ||
import type { ParsedNode } from '../nodes/Node.js'; | ||
import type { Pair } from '../nodes/Pair.js'; | ||
import type { ComposeContext } from './compose-node.js'; | ||
import type { ParsedNode } from '../nodes/Node'; | ||
import type { Pair } from '../nodes/Pair'; | ||
import type { ComposeContext } from './compose-node'; | ||
export declare function mapIncludes(ctx: ComposeContext, items: Pair<ParsedNode>[], search: ParsedNode): boolean; |
@@ -1,3 +0,3 @@ | ||
import type { Node } from '../nodes/Node.js'; | ||
import type { Document } from './Document.js'; | ||
import type { Node } from '../nodes/Node'; | ||
import type { Document } from './Document'; | ||
/** | ||
@@ -4,0 +4,0 @@ * Verify that the input string is a valid anchor. |
@@ -1,5 +0,5 @@ | ||
import type { Node } from '../nodes/Node.js'; | ||
import type { Schema } from '../schema/Schema.js'; | ||
import type { CollectionTag, ScalarTag } from '../schema/types.js'; | ||
import type { Replacer } from './Document.js'; | ||
import type { Node } from '../nodes/Node'; | ||
import type { Schema } from '../schema/Schema'; | ||
import type { CollectionTag, ScalarTag } from '../schema/types'; | ||
import type { Replacer } from './Document'; | ||
export interface CreateNodeContext { | ||
@@ -6,0 +6,0 @@ aliasDuplicateObjects: boolean; |
@@ -1,2 +0,2 @@ | ||
import type { Document } from './Document.js'; | ||
import type { Document } from './Document'; | ||
export declare class Directives { | ||
@@ -3,0 +3,0 @@ static defaultYaml: Directives['yaml']; |
@@ -1,12 +0,12 @@ | ||
import type { YAMLError, YAMLWarning } from '../errors.js'; | ||
import { Alias } from '../nodes/Alias.js'; | ||
import { NODE_TYPE } from '../nodes/identity.js'; | ||
import type { Node, NodeType, ParsedNode, Range } from '../nodes/Node.js'; | ||
import { Pair } from '../nodes/Pair.js'; | ||
import type { Scalar } from '../nodes/Scalar.js'; | ||
import type { YAMLMap } from '../nodes/YAMLMap.js'; | ||
import type { YAMLSeq } from '../nodes/YAMLSeq.js'; | ||
import type { CreateNodeOptions, DocumentOptions, ParseOptions, SchemaOptions, ToJSOptions, ToStringOptions } from '../options.js'; | ||
import { Schema } from '../schema/Schema.js'; | ||
import { Directives } from './directives.js'; | ||
import type { YAMLError, YAMLWarning } from '../errors'; | ||
import { Alias } from '../nodes/Alias'; | ||
import { NODE_TYPE } from '../nodes/identity'; | ||
import type { Node, NodeType, ParsedNode, Range } from '../nodes/Node'; | ||
import { Pair } from '../nodes/Pair'; | ||
import type { Scalar } from '../nodes/Scalar'; | ||
import type { YAMLMap } from '../nodes/YAMLMap'; | ||
import type { YAMLSeq } from '../nodes/YAMLSeq'; | ||
import type { CreateNodeOptions, DocumentOptions, ParseOptions, SchemaOptions, ToJSOptions, ToStringOptions } from '../options'; | ||
import { Schema } from '../schema/Schema'; | ||
import { Directives } from './directives'; | ||
export type Replacer = any[] | ((key: any, value: any) => unknown); | ||
@@ -13,0 +13,0 @@ export declare namespace Document { |
@@ -1,18 +0,20 @@ | ||
export { Composer } from './compose/composer.js'; | ||
export { Document } from './doc/Document.js'; | ||
export { Schema } from './schema/Schema.js'; | ||
export { ErrorCode, YAMLError, YAMLParseError, YAMLWarning } from './errors.js'; | ||
export { Alias } from './nodes/Alias.js'; | ||
export { isAlias, isCollection, isDocument, isMap, isNode, isPair, isScalar, isSeq } from './nodes/identity.js'; | ||
export { Node, ParsedNode, Range } from './nodes/Node.js'; | ||
export { Pair } from './nodes/Pair.js'; | ||
export { Scalar } from './nodes/Scalar.js'; | ||
export { YAMLMap } from './nodes/YAMLMap.js'; | ||
export { YAMLSeq } from './nodes/YAMLSeq.js'; | ||
export type { CreateNodeOptions, DocumentOptions, ParseOptions, SchemaOptions, ToJSOptions, ToStringOptions } from './options.js'; | ||
export * as CST from './parse/cst.js'; | ||
export { Lexer } from './parse/lexer.js'; | ||
export { LineCounter } from './parse/line-counter.js'; | ||
export { Parser } from './parse/parser.js'; | ||
export { EmptyStream, parse, parseAllDocuments, parseDocument, stringify } from './public-api.js'; | ||
export { Composer } from './compose/composer'; | ||
export { Document } from './doc/Document'; | ||
export { Schema } from './schema/Schema'; | ||
export type { ErrorCode } from './errors'; | ||
export { YAMLError, YAMLParseError, YAMLWarning } from './errors'; | ||
export { Alias } from './nodes/Alias'; | ||
export { isAlias, isCollection, isDocument, isMap, isNode, isPair, isScalar, isSeq } from './nodes/identity'; | ||
export type { Node, ParsedNode, Range } from './nodes/Node'; | ||
export { Pair } from './nodes/Pair'; | ||
export { Scalar } from './nodes/Scalar'; | ||
export { YAMLMap } from './nodes/YAMLMap'; | ||
export { YAMLSeq } from './nodes/YAMLSeq'; | ||
export type { CreateNodeOptions, DocumentOptions, ParseOptions, SchemaOptions, ToJSOptions, ToStringOptions } from './options'; | ||
export * as CST from './parse/cst'; | ||
export { Lexer } from './parse/lexer'; | ||
export { LineCounter } from './parse/line-counter'; | ||
export { Parser } from './parse/parser'; | ||
export type { EmptyStream } from './public-api'; | ||
export { parse, parseAllDocuments, parseDocument, stringify } from './public-api'; | ||
export type { TagId, Tags } from './schema/tags'; | ||
@@ -22,2 +24,3 @@ export type { CollectionTag, ScalarTag } from './schema/types'; | ||
export type { YAMLSet } from './schema/yaml-1.1/set'; | ||
export { asyncVisitor, asyncVisitorFn, visit, visitAsync, visitor, visitorFn } from './visit.js'; | ||
export type { asyncVisitor, asyncVisitorFn, visitor, visitorFn } from './visit'; | ||
export { visit, visitAsync } from './visit'; |
'use strict'; | ||
var node_process = require('node:process'); | ||
function debug(logLevel, ...messages) { | ||
@@ -9,4 +11,4 @@ if (logLevel === 'debug') | ||
if (logLevel === 'debug' || logLevel === 'warn') { | ||
if (typeof process !== 'undefined' && process.emitWarning) | ||
process.emitWarning(warning); | ||
if (typeof node_process.emitWarning === 'function') | ||
node_process.emitWarning(warning); | ||
else | ||
@@ -13,0 +15,0 @@ console.warn(warning); |
@@ -1,4 +0,4 @@ | ||
import type { Pair } from './Pair.js'; | ||
import { ToJSContext } from './toJS.js'; | ||
import type { MapLike } from './YAMLMap.js'; | ||
import type { Pair } from './Pair'; | ||
import type { ToJSContext } from './toJS'; | ||
import type { MapLike } from './YAMLMap'; | ||
export declare function addPairToJSMap(ctx: ToJSContext | undefined, map: MapLike, { key, value }: Pair): MapLike; |
@@ -1,9 +0,10 @@ | ||
import type { Document } from '../doc/Document.js'; | ||
import type { FlowScalar } from '../parse/cst.js'; | ||
import type { StringifyContext } from '../stringify/stringify.js'; | ||
import { NodeBase, Range } from './Node.js'; | ||
import type { Document } from '../doc/Document'; | ||
import type { FlowScalar } from '../parse/cst'; | ||
import type { StringifyContext } from '../stringify/stringify'; | ||
import type { Range } from './Node'; | ||
import { NodeBase } from './Node'; | ||
import type { Scalar } from './Scalar'; | ||
import { ToJSContext } from './toJS.js'; | ||
import type { YAMLMap } from './YAMLMap.js'; | ||
import type { YAMLSeq } from './YAMLSeq.js'; | ||
import type { ToJSContext } from './toJS'; | ||
import type { YAMLMap } from './YAMLMap'; | ||
import type { YAMLSeq } from './YAMLSeq'; | ||
export declare namespace Alias { | ||
@@ -26,4 +27,4 @@ interface Parsed extends Alias { | ||
resolve(doc: Document): Scalar | YAMLMap | YAMLSeq | undefined; | ||
toJSON(_arg?: unknown, ctx?: ToJSContext): {} | null; | ||
toJSON(_arg?: unknown, ctx?: ToJSContext): unknown; | ||
toString(ctx?: StringifyContext, _onComment?: () => void, _onChompKeep?: () => void): string; | ||
} |
@@ -1,5 +0,5 @@ | ||
import type { Schema } from '../schema/Schema.js'; | ||
import { NODE_TYPE } from './identity.js'; | ||
import { NodeBase } from './Node.js'; | ||
export declare function collectionFromPath(schema: Schema, path: unknown[], value: unknown): import("./Node.js").Node; | ||
import type { Schema } from '../schema/Schema'; | ||
import { NODE_TYPE } from './identity'; | ||
import { NodeBase } from './Node'; | ||
export declare function collectionFromPath(schema: Schema, path: unknown[], value: unknown): import('./Node').Node; | ||
export declare const isEmptyPath: (path: Iterable<unknown> | null | undefined) => path is null | undefined; | ||
@@ -6,0 +6,0 @@ export declare abstract class Collection extends NodeBase { |
@@ -1,8 +0,8 @@ | ||
import type { Document } from '../doc/Document.js'; | ||
import type { Alias } from './Alias.js'; | ||
import type { Node } from './Node.js'; | ||
import type { Pair } from './Pair.js'; | ||
import type { Scalar } from './Scalar.js'; | ||
import type { YAMLMap } from './YAMLMap.js'; | ||
import type { YAMLSeq } from './YAMLSeq.js'; | ||
import type { Document } from '../doc/Document'; | ||
import type { Alias } from './Alias'; | ||
import type { Node } from './Node'; | ||
import type { Pair } from './Pair'; | ||
import type { Scalar } from './Scalar'; | ||
import type { YAMLMap } from './YAMLMap'; | ||
import type { YAMLSeq } from './YAMLSeq'; | ||
export declare const ALIAS: unique symbol; | ||
@@ -9,0 +9,0 @@ export declare const DOC: unique symbol; |
@@ -1,11 +0,11 @@ | ||
import type { Document } from '../doc/Document.js'; | ||
import type { ToJSOptions } from '../options.js'; | ||
import { Token } from '../parse/cst.js'; | ||
import type { StringifyContext } from '../stringify/stringify.js'; | ||
import type { Alias } from './Alias.js'; | ||
import { NODE_TYPE } from './identity.js'; | ||
import type { Scalar } from './Scalar.js'; | ||
import { ToJSContext } from './toJS.js'; | ||
import type { MapLike, YAMLMap } from './YAMLMap.js'; | ||
import type { YAMLSeq } from './YAMLSeq.js'; | ||
import type { Document } from '../doc/Document'; | ||
import type { ToJSOptions } from '../options'; | ||
import type { Token } from '../parse/cst'; | ||
import type { StringifyContext } from '../stringify/stringify'; | ||
import type { Alias } from './Alias'; | ||
import { NODE_TYPE } from './identity'; | ||
import type { Scalar } from './Scalar'; | ||
import type { ToJSContext } from './toJS'; | ||
import type { MapLike, YAMLMap } from './YAMLMap'; | ||
import type { YAMLSeq } from './YAMLSeq'; | ||
export type Node<T = unknown> = Alias | Scalar<T> | YAMLMap<unknown, T> | YAMLSeq<T>; | ||
@@ -12,0 +12,0 @@ /** Utility type mapper */ |
@@ -1,9 +0,10 @@ | ||
import { CreateNodeContext } from '../doc/createNode.js'; | ||
import type { CollectionItem } from '../parse/cst.js'; | ||
import type { Schema } from '../schema/Schema.js'; | ||
import type { StringifyContext } from '../stringify/stringify.js'; | ||
import { addPairToJSMap } from './addPairToJSMap.js'; | ||
import { NODE_TYPE } from './identity.js'; | ||
import type { ToJSContext } from './toJS.js'; | ||
export declare function createPair(key: unknown, value: unknown, ctx: CreateNodeContext): Pair<import("./Node.js").Node, import("./Alias.js").Alias | import("./Scalar.js").Scalar<unknown> | import("./YAMLMap.js").YAMLMap<unknown, unknown> | import("./YAMLSeq.js").YAMLSeq<unknown>>; | ||
import type { CreateNodeContext } from '../doc/createNode'; | ||
import type { CollectionItem } from '../parse/cst'; | ||
import type { Schema } from '../schema/Schema'; | ||
import type { StringifyContext } from '../stringify/stringify'; | ||
import { addPairToJSMap } from './addPairToJSMap'; | ||
import { NODE_TYPE } from './identity'; | ||
import type { Node } from './Node'; | ||
import type { ToJSContext } from './toJS'; | ||
export declare function createPair(key: unknown, value: unknown, ctx: CreateNodeContext): Pair<Node, Node>; | ||
export declare class Pair<K = unknown, V = unknown> { | ||
@@ -10,0 +11,0 @@ readonly [NODE_TYPE]: symbol; |
@@ -1,4 +0,5 @@ | ||
import type { BlockScalar, FlowScalar } from '../parse/cst.js'; | ||
import { NodeBase, Range } from './Node.js'; | ||
import { ToJSContext } from './toJS.js'; | ||
import type { BlockScalar, FlowScalar } from '../parse/cst'; | ||
import type { Range } from './Node'; | ||
import { NodeBase } from './Node'; | ||
import type { ToJSContext } from './toJS'; | ||
export declare const isScalarValue: (value: unknown) => boolean; | ||
@@ -5,0 +6,0 @@ export declare namespace Scalar { |
@@ -1,3 +0,3 @@ | ||
import type { Document } from '../doc/Document.js'; | ||
import type { Node } from './Node.js'; | ||
import type { Document } from '../doc/Document'; | ||
import type { Node } from './Node'; | ||
export interface AnchorData { | ||
@@ -4,0 +4,0 @@ aliasCount: number; |
@@ -1,10 +0,10 @@ | ||
import type { BlockMap, FlowCollection } from '../parse/cst.js'; | ||
import type { Schema } from '../schema/Schema.js'; | ||
import type { StringifyContext } from '../stringify/stringify.js'; | ||
import { CreateNodeContext } from '../util.js'; | ||
import { Collection } from './Collection.js'; | ||
import type { ParsedNode, Range } from './Node.js'; | ||
import { Pair } from './Pair.js'; | ||
import { Scalar } from './Scalar.js'; | ||
import type { ToJSContext } from './toJS.js'; | ||
import type { BlockMap, FlowCollection } from '../parse/cst'; | ||
import type { Schema } from '../schema/Schema'; | ||
import type { StringifyContext } from '../stringify/stringify'; | ||
import type { CreateNodeContext } from '../util'; | ||
import { Collection } from './Collection'; | ||
import type { ParsedNode, Range } from './Node'; | ||
import { Pair } from './Pair'; | ||
import type { Scalar } from './Scalar'; | ||
import type { ToJSContext } from './toJS'; | ||
export type MapLike = Map<unknown, unknown> | Set<unknown> | Record<string | number | symbol, unknown>; | ||
@@ -27,3 +27,3 @@ export declare function findPair<K = unknown, V = unknown>(items: Iterable<Pair<K, V>>, key: unknown): Pair<K, V> | undefined; | ||
*/ | ||
static from(schema: Schema, obj: unknown, ctx: CreateNodeContext): YAMLMap<unknown, unknown>; | ||
static from(schema: Schema, obj: unknown, ctx: CreateNodeContext): YAMLMap; | ||
/** | ||
@@ -30,0 +30,0 @@ * Adds a value to the collection. |
@@ -1,10 +0,10 @@ | ||
import { CreateNodeContext } from '../doc/createNode.js'; | ||
import type { BlockSequence, FlowCollection } from '../parse/cst.js'; | ||
import type { Schema } from '../schema/Schema.js'; | ||
import type { StringifyContext } from '../stringify/stringify.js'; | ||
import { Collection } from './Collection.js'; | ||
import type { ParsedNode, Range } from './Node.js'; | ||
import type { Pair } from './Pair.js'; | ||
import { Scalar } from './Scalar.js'; | ||
import { ToJSContext } from './toJS.js'; | ||
import type { CreateNodeContext } from '../doc/createNode'; | ||
import type { BlockSequence, FlowCollection } from '../parse/cst'; | ||
import type { Schema } from '../schema/Schema'; | ||
import type { StringifyContext } from '../stringify/stringify'; | ||
import { Collection } from './Collection'; | ||
import type { ParsedNode, Range } from './Node'; | ||
import type { Pair } from './Pair'; | ||
import type { Scalar } from './Scalar'; | ||
import type { ToJSContext } from './toJS'; | ||
export declare namespace YAMLSeq { | ||
@@ -59,3 +59,3 @@ interface Parsed<T extends ParsedNode | Pair<ParsedNode, ParsedNode | null> = ParsedNode> extends YAMLSeq<T> { | ||
toString(ctx?: StringifyContext, onComment?: () => void, onChompKeep?: () => void): string; | ||
static from(schema: Schema, obj: unknown, ctx: CreateNodeContext): YAMLSeq<unknown>; | ||
static from(schema: Schema, obj: unknown, ctx: CreateNodeContext): YAMLSeq; | ||
} |
@@ -1,11 +0,11 @@ | ||
import type { Reviver } from './doc/applyReviver.js'; | ||
import type { Directives } from './doc/directives.js'; | ||
import type { LogLevelId } from './log.js'; | ||
import type { ParsedNode } from './nodes/Node.js'; | ||
import type { Pair } from './nodes/Pair.js'; | ||
import type { Scalar } from './nodes/Scalar.js'; | ||
import type { LineCounter } from './parse/line-counter.js'; | ||
import type { Schema } from './schema/Schema.js'; | ||
import type { Tags } from './schema/tags.js'; | ||
import type { CollectionTag, ScalarTag } from './schema/types.js'; | ||
import type { Reviver } from './doc/applyReviver'; | ||
import type { Directives } from './doc/directives'; | ||
import type { LogLevelId } from './log'; | ||
import type { ParsedNode } from './nodes/Node'; | ||
import type { Pair } from './nodes/Pair'; | ||
import type { Scalar } from './nodes/Scalar'; | ||
import type { LineCounter } from './parse/line-counter'; | ||
import type { Schema } from './schema/Schema'; | ||
import type { Tags } from './schema/tags'; | ||
import type { CollectionTag, ScalarTag } from './schema/types'; | ||
export type ParseOptions = { | ||
@@ -12,0 +12,0 @@ /** |
@@ -1,5 +0,5 @@ | ||
import { ErrorCode } from '../errors.js'; | ||
import { Range } from '../nodes/Node.js'; | ||
import type { Scalar } from '../nodes/Scalar.js'; | ||
import type { BlockScalar, FlowScalar, SourceToken, Token } from './cst.js'; | ||
import type { ErrorCode } from '../errors'; | ||
import type { Range } from '../nodes/Node'; | ||
import type { Scalar } from '../nodes/Scalar'; | ||
import type { BlockScalar, FlowScalar, SourceToken, Token } from './cst'; | ||
/** | ||
@@ -6,0 +6,0 @@ * If `token` is a CST flow or block scalar, determine its string value and a few other attributes. |
@@ -1,2 +0,2 @@ | ||
import type { CollectionItem, Token } from './cst.js'; | ||
import type { CollectionItem, Token } from './cst'; | ||
/** | ||
@@ -3,0 +3,0 @@ * Stringify a CST document, token, or collection item |
@@ -1,2 +0,2 @@ | ||
import type { CollectionItem, Document } from './cst.js'; | ||
import type { BlockMap, BlockSequence, CollectionItem, Document, FlowCollection } from './cst'; | ||
export type VisitPath = readonly ['key' | 'value', number][]; | ||
@@ -38,3 +38,3 @@ export type Visitor = (item: CollectionItem, path: VisitPath) => number | symbol | Visitor | void; | ||
var itemAtPath: (cst: Document | CollectionItem, path: VisitPath) => CollectionItem | undefined; | ||
var parentCollection: (cst: Document | CollectionItem, path: VisitPath) => import("./cst.js").BlockMap | import("./cst.js").BlockSequence | import("./cst.js").FlowCollection; | ||
var parentCollection: (cst: Document | CollectionItem, path: VisitPath) => BlockMap | BlockSequence | FlowCollection; | ||
} |
@@ -1,4 +0,5 @@ | ||
export { createScalarToken, resolveAsScalar, setScalarValue } from './cst-scalar.js'; | ||
export { stringify } from './cst-stringify.js'; | ||
export { visit, Visitor, VisitPath } from './cst-visit.js'; | ||
export { createScalarToken, resolveAsScalar, setScalarValue } from './cst-scalar'; | ||
export { stringify } from './cst-stringify'; | ||
export type { Visitor, VisitPath } from './cst-visit'; | ||
export { visit } from './cst-visit'; | ||
export interface SourceToken { | ||
@@ -5,0 +6,0 @@ type: 'byte-order-mark' | 'doc-mode' | 'doc-start' | 'space' | 'comment' | 'newline' | 'directive-line' | 'anchor' | 'tag' | 'seq-item-ind' | 'explicit-key-ind' | 'map-value-ind' | 'flow-map-start' | 'flow-map-end' | 'flow-seq-start' | 'flow-seq-end' | 'flow-error-end' | 'comma' | 'block-scalar-header'; |
@@ -62,3 +62,3 @@ /** | ||
*/ | ||
lex(source: string, incomplete?: boolean): Generator<string, void, any>; | ||
lex(source: string, incomplete?: boolean): Generator<string, void>; | ||
private atLineEnd; | ||
@@ -65,0 +65,0 @@ private charAt; |
@@ -1,2 +0,2 @@ | ||
import { Token } from './cst.js'; | ||
import type { Token } from './cst'; | ||
/** | ||
@@ -60,10 +60,10 @@ * A YAML concrete syntax tree (CST) parser | ||
*/ | ||
parse(source: string, incomplete?: boolean): Generator<Token, void, any>; | ||
parse(source: string, incomplete?: boolean): Generator<Token, void>; | ||
/** | ||
* Advance the parser by the `source` of one lexical token. | ||
*/ | ||
next(source: string): Generator<Token, void, any>; | ||
next(source: string): Generator<Token, void>; | ||
private lexer; | ||
/** Call at end of input to push out any remaining constructions */ | ||
end(): Generator<Token, void, any>; | ||
end(): Generator<Token, void>; | ||
private get sourceToken(); | ||
@@ -70,0 +70,0 @@ private step; |
'use strict'; | ||
var node_process = require('node:process'); | ||
var cst = require('./cst.js'); | ||
@@ -169,3 +170,3 @@ var lexer = require('./lexer.js'); | ||
this.source = source; | ||
if (process.env.LOG_TOKENS) | ||
if (node_process.env.LOG_TOKENS) | ||
console.log('|', cst.prettyToken(source)); | ||
@@ -172,0 +173,0 @@ if (this.atScalar) { |
@@ -1,6 +0,7 @@ | ||
import { Composer } from './compose/composer.js'; | ||
import type { Reviver } from './doc/applyReviver.js'; | ||
import { Document, Replacer } from './doc/Document.js'; | ||
import type { Node, ParsedNode } from './nodes/Node.js'; | ||
import type { CreateNodeOptions, DocumentOptions, ParseOptions, SchemaOptions, ToJSOptions, ToStringOptions } from './options.js'; | ||
import { Composer } from './compose/composer'; | ||
import type { Reviver } from './doc/applyReviver'; | ||
import type { Replacer } from './doc/Document'; | ||
import { Document } from './doc/Document'; | ||
import type { Node, ParsedNode } from './nodes/Node'; | ||
import type { CreateNodeOptions, DocumentOptions, ParseOptions, SchemaOptions, ToJSOptions, ToStringOptions } from './options'; | ||
export interface EmptyStream extends Array<Document.Parsed>, ReturnType<Composer['streamInfo']> { | ||
@@ -7,0 +8,0 @@ empty: true; |
@@ -1,2 +0,2 @@ | ||
import type { CollectionTag } from '../types.js'; | ||
import type { CollectionTag } from '../types'; | ||
export declare const map: CollectionTag; |
@@ -1,4 +0,4 @@ | ||
import type { ScalarTag } from '../types.js'; | ||
import type { ScalarTag } from '../types'; | ||
export declare const nullTag: ScalarTag & { | ||
test: RegExp; | ||
}; |
@@ -1,2 +0,2 @@ | ||
import type { CollectionTag } from '../types.js'; | ||
import type { CollectionTag } from '../types'; | ||
export declare const seq: CollectionTag; |
@@ -1,2 +0,2 @@ | ||
import type { ScalarTag } from '../types.js'; | ||
import type { ScalarTag } from '../types'; | ||
export declare const string: ScalarTag; |
@@ -1,4 +0,4 @@ | ||
import type { ScalarTag } from '../types.js'; | ||
import type { ScalarTag } from '../types'; | ||
export declare const boolTag: ScalarTag & { | ||
test: RegExp; | ||
}; |
@@ -1,4 +0,4 @@ | ||
import type { ScalarTag } from '../types.js'; | ||
import type { ScalarTag } from '../types'; | ||
export declare const floatNaN: ScalarTag; | ||
export declare const floatExp: ScalarTag; | ||
export declare const float: ScalarTag; |
@@ -1,4 +0,4 @@ | ||
import type { ScalarTag } from '../types.js'; | ||
import type { ScalarTag } from '../types'; | ||
export declare const intOct: ScalarTag; | ||
export declare const int: ScalarTag; | ||
export declare const intHex: ScalarTag; |
@@ -1,1 +0,1 @@ | ||
export declare const schema: (import("../types.js").CollectionTag | import("../types.js").ScalarTag)[]; | ||
export declare const schema: (import('../types').CollectionTag | import('../types').ScalarTag)[]; |
@@ -1,2 +0,2 @@ | ||
import { CollectionTag, ScalarTag } from '../types.js'; | ||
import type { CollectionTag, ScalarTag } from '../types'; | ||
export declare const schema: (CollectionTag | ScalarTag)[]; |
@@ -1,5 +0,5 @@ | ||
import { MAP, SCALAR, SEQ } from '../nodes/identity.js'; | ||
import type { Pair } from '../nodes/Pair.js'; | ||
import type { SchemaOptions, ToStringOptions } from '../options.js'; | ||
import type { CollectionTag, ScalarTag } from './types.js'; | ||
import { MAP, SCALAR, SEQ } from '../nodes/identity'; | ||
import type { Pair } from '../nodes/Pair'; | ||
import type { SchemaOptions, ToStringOptions } from '../options'; | ||
import type { CollectionTag, ScalarTag } from './types'; | ||
export declare class Schema { | ||
@@ -6,0 +6,0 @@ compat: Array<CollectionTag | ScalarTag> | null; |
@@ -1,3 +0,3 @@ | ||
import { SchemaOptions } from '../options.js'; | ||
import type { CollectionTag, ScalarTag } from './types.js'; | ||
import type { SchemaOptions } from '../options'; | ||
import type { CollectionTag, ScalarTag } from './types'; | ||
declare const tagsByName: { | ||
@@ -4,0 +4,0 @@ binary: ScalarTag; |
@@ -1,9 +0,9 @@ | ||
import type { CreateNodeContext } from '../doc/createNode.js'; | ||
import type { Node } from '../nodes/Node.js'; | ||
import type { Scalar } from '../nodes/Scalar.js'; | ||
import type { YAMLMap } from '../nodes/YAMLMap.js'; | ||
import type { YAMLSeq } from '../nodes/YAMLSeq.js'; | ||
import type { ParseOptions } from '../options.js'; | ||
import type { StringifyContext } from '../stringify/stringify.js'; | ||
import type { Schema } from './Schema.js'; | ||
import type { CreateNodeContext } from '../doc/createNode'; | ||
import type { Node } from '../nodes/Node'; | ||
import type { Scalar } from '../nodes/Scalar'; | ||
import type { YAMLMap } from '../nodes/YAMLMap'; | ||
import type { YAMLSeq } from '../nodes/YAMLSeq'; | ||
import type { ParseOptions } from '../options'; | ||
import type { StringifyContext } from '../stringify/stringify'; | ||
import type { Schema } from './Schema'; | ||
interface TagBase { | ||
@@ -10,0 +10,0 @@ /** |
@@ -1,2 +0,2 @@ | ||
import type { ScalarTag } from '../types.js'; | ||
import type { ScalarTag } from '../types'; | ||
export declare const binary: ScalarTag; |
'use strict'; | ||
var node_buffer = require('node:buffer'); | ||
var Scalar = require('../../nodes/Scalar.js'); | ||
@@ -19,4 +20,4 @@ var stringifyString = require('../../stringify/stringifyString.js'); | ||
resolve(src, onError) { | ||
if (typeof Buffer === 'function') { | ||
return Buffer.from(src, 'base64'); | ||
if (typeof node_buffer.Buffer === 'function') { | ||
return node_buffer.Buffer.from(src, 'base64'); | ||
} | ||
@@ -39,7 +40,7 @@ else if (typeof atob === 'function') { | ||
let str; | ||
if (typeof Buffer === 'function') { | ||
if (typeof node_buffer.Buffer === 'function') { | ||
str = | ||
buf instanceof Buffer | ||
buf instanceof node_buffer.Buffer | ||
? buf.toString('base64') | ||
: Buffer.from(buf.buffer).toString('base64'); | ||
: node_buffer.Buffer.from(buf.buffer).toString('base64'); | ||
} | ||
@@ -46,0 +47,0 @@ else if (typeof btoa === 'function') { |
@@ -1,2 +0,2 @@ | ||
import type { ScalarTag } from '../types.js'; | ||
import type { ScalarTag } from '../types'; | ||
export declare const trueTag: ScalarTag & { | ||
@@ -3,0 +3,0 @@ test: RegExp; |
@@ -1,4 +0,4 @@ | ||
import type { ScalarTag } from '../types.js'; | ||
import type { ScalarTag } from '../types'; | ||
export declare const floatNaN: ScalarTag; | ||
export declare const floatExp: ScalarTag; | ||
export declare const float: ScalarTag; |
@@ -1,2 +0,2 @@ | ||
import type { ScalarTag } from '../types.js'; | ||
import type { ScalarTag } from '../types'; | ||
export declare const intBin: ScalarTag; | ||
@@ -3,0 +3,0 @@ export declare const intOct: ScalarTag; |
@@ -1,4 +0,4 @@ | ||
import type { ToJSContext } from '../../nodes/toJS.js'; | ||
import type { MapLike } from '../../nodes/YAMLMap.js'; | ||
import type { ScalarTag } from '../types.js'; | ||
import type { ToJSContext } from '../../nodes/toJS'; | ||
import type { MapLike } from '../../nodes/YAMLMap'; | ||
import type { ScalarTag } from '../types'; | ||
export declare const merge: ScalarTag & { | ||
@@ -5,0 +5,0 @@ identify(value: unknown): boolean; |
@@ -1,21 +0,15 @@ | ||
import { ToJSContext } from '../../nodes/toJS.js'; | ||
import { YAMLSeq } from '../../nodes/YAMLSeq.js'; | ||
import { CreateNodeContext } from '../../util.js'; | ||
import type { Schema } from '../Schema.js'; | ||
import { CollectionTag } from '../types.js'; | ||
import type { ToJSContext } from '../../nodes/toJS'; | ||
import { YAMLMap } from '../../nodes/YAMLMap'; | ||
import { YAMLSeq } from '../../nodes/YAMLSeq'; | ||
import type { CreateNodeContext } from '../../util'; | ||
import type { Schema } from '../Schema'; | ||
import type { CollectionTag } from '../types'; | ||
export declare class YAMLOMap extends YAMLSeq { | ||
static tag: string; | ||
constructor(); | ||
add: (pair: import("../../index.js").Pair<any, any> | { | ||
key: any; | ||
value: any; | ||
}, overwrite?: boolean) => void; | ||
delete: (key: unknown) => boolean; | ||
get: { | ||
(key: unknown, keepScalar: true): import("../../index.js").Scalar<any> | undefined; | ||
(key: unknown, keepScalar?: false): any; | ||
(key: unknown, keepScalar?: boolean): any; | ||
}; | ||
has: (key: unknown) => boolean; | ||
set: (key: any, value: any) => void; | ||
add: typeof YAMLMap.prototype.add; | ||
delete: typeof YAMLMap.prototype.delete; | ||
get: typeof YAMLMap.prototype.get; | ||
has: typeof YAMLMap.prototype.has; | ||
set: typeof YAMLMap.prototype.set; | ||
/** | ||
@@ -22,0 +16,0 @@ * If `ctx` is given, the return type is actually `Map<unknown, unknown>`, |
@@ -1,10 +0,10 @@ | ||
import type { CreateNodeContext } from '../../doc/createNode.js'; | ||
import type { ParsedNode } from '../../nodes/Node.js'; | ||
import { Pair } from '../../nodes/Pair.js'; | ||
import { YAMLMap } from '../../nodes/YAMLMap.js'; | ||
import { YAMLSeq } from '../../nodes/YAMLSeq.js'; | ||
import type { Schema } from '../../schema/Schema.js'; | ||
import type { CollectionTag } from '../types.js'; | ||
import type { CreateNodeContext } from '../../doc/createNode'; | ||
import type { ParsedNode } from '../../nodes/Node'; | ||
import { Pair } from '../../nodes/Pair'; | ||
import type { YAMLMap } from '../../nodes/YAMLMap'; | ||
import { YAMLSeq } from '../../nodes/YAMLSeq'; | ||
import type { Schema } from '../../schema/Schema'; | ||
import type { CollectionTag } from '../types'; | ||
export declare function resolvePairs(seq: YAMLSeq.Parsed<ParsedNode | Pair<ParsedNode, ParsedNode | null>> | YAMLMap.Parsed, onError: (message: string) => void): YAMLSeq.Parsed<Pair<ParsedNode, ParsedNode | null>>; | ||
export declare function createPairs(schema: Schema, iterable: unknown, ctx: CreateNodeContext): YAMLSeq<unknown>; | ||
export declare const pairs: CollectionTag; |
@@ -1,1 +0,1 @@ | ||
export declare const schema: (import("../types.js").CollectionTag | import("../types.js").ScalarTag)[]; | ||
export declare const schema: (import('../types').CollectionTag | import('../types').ScalarTag)[]; |
@@ -1,9 +0,9 @@ | ||
import { Pair } from '../../nodes/Pair.js'; | ||
import { Scalar } from '../../nodes/Scalar.js'; | ||
import { ToJSContext } from '../../nodes/toJS.js'; | ||
import { YAMLMap } from '../../nodes/YAMLMap.js'; | ||
import type { Schema } from '../../schema/Schema.js'; | ||
import type { StringifyContext } from '../../stringify/stringify.js'; | ||
import { CreateNodeContext } from '../../util.js'; | ||
import type { CollectionTag } from '../types.js'; | ||
import { Pair } from '../../nodes/Pair'; | ||
import type { Scalar } from '../../nodes/Scalar'; | ||
import type { ToJSContext } from '../../nodes/toJS'; | ||
import { YAMLMap } from '../../nodes/YAMLMap'; | ||
import type { Schema } from '../../schema/Schema'; | ||
import type { StringifyContext } from '../../stringify/stringify'; | ||
import type { CreateNodeContext } from '../../util'; | ||
import type { CollectionTag } from '../types'; | ||
export declare class YAMLSet<T = unknown> extends YAMLMap<T, Scalar<null> | null> { | ||
@@ -26,4 +26,4 @@ static tag: string; | ||
toString(ctx?: StringifyContext, onComment?: () => void, onChompKeep?: () => void): string; | ||
static from(schema: Schema, iterable: unknown, ctx: CreateNodeContext): YAMLSet<unknown>; | ||
static from(schema: Schema, iterable: unknown, ctx: CreateNodeContext): YAMLSet; | ||
} | ||
export declare const set: CollectionTag; |
@@ -1,2 +0,2 @@ | ||
import type { ScalarTag } from '../types.js'; | ||
import type { ScalarTag } from '../types'; | ||
export declare const intTime: ScalarTag; | ||
@@ -3,0 +3,0 @@ export declare const floatTime: ScalarTag; |
@@ -1,4 +0,4 @@ | ||
import type { Document } from '../doc/Document.js'; | ||
import type { Alias } from '../nodes/Alias.js'; | ||
import type { ToStringOptions } from '../options.js'; | ||
import type { Document } from '../doc/Document'; | ||
import type { Alias } from '../nodes/Alias'; | ||
import type { ToStringOptions } from '../options'; | ||
export type StringifyContext = { | ||
@@ -5,0 +5,0 @@ actualString?: boolean; |
@@ -1,3 +0,3 @@ | ||
import { Collection } from '../nodes/Collection.js'; | ||
import { StringifyContext } from './stringify.js'; | ||
import type { Collection } from '../nodes/Collection'; | ||
import type { StringifyContext } from './stringify'; | ||
interface StringifyCollectionOptions { | ||
@@ -4,0 +4,0 @@ blockItemPrefix: string; |
@@ -1,4 +0,4 @@ | ||
import type { Document } from '../doc/Document.js'; | ||
import type { Node } from '../nodes/Node.js'; | ||
import type { ToStringOptions } from '../options.js'; | ||
import type { Document } from '../doc/Document'; | ||
import type { Node } from '../nodes/Node'; | ||
import type { ToStringOptions } from '../options'; | ||
export declare function stringifyDocument(doc: Readonly<Document<Node, boolean>>, options: ToStringOptions): string; |
@@ -1,2 +0,2 @@ | ||
import type { Scalar } from '../nodes/Scalar.js'; | ||
import type { Scalar } from '../nodes/Scalar'; | ||
export declare function stringifyNumber({ format, minFractionDigits, tag, value }: Scalar): string; |
@@ -1,3 +0,3 @@ | ||
import type { Pair } from '../nodes/Pair.js'; | ||
import { StringifyContext } from './stringify.js'; | ||
import type { Pair } from '../nodes/Pair'; | ||
import type { StringifyContext } from './stringify'; | ||
export declare function stringifyPair({ key, value }: Readonly<Pair>, ctx: StringifyContext, onComment?: () => void, onChompKeep?: () => void): string; |
@@ -1,3 +0,3 @@ | ||
import { Scalar } from '../nodes/Scalar.js'; | ||
import type { StringifyContext } from './stringify.js'; | ||
import { Scalar } from '../nodes/Scalar'; | ||
import type { StringifyContext } from './stringify'; | ||
interface StringifyScalar { | ||
@@ -4,0 +4,0 @@ value: string; |
@@ -1,12 +0,16 @@ | ||
export { createNode, CreateNodeContext } from './doc/createNode.js'; | ||
export { debug, LogLevelId, warn } from './log.js'; | ||
export { createPair } from './nodes/Pair.js'; | ||
export { findPair } from './nodes/YAMLMap.js'; | ||
export { toJS, ToJSContext } from './nodes/toJS.js'; | ||
export { map as mapTag } from './schema/common/map.js'; | ||
export { seq as seqTag } from './schema/common/seq.js'; | ||
export { string as stringTag } from './schema/common/string.js'; | ||
export { foldFlowLines, FoldOptions } from './stringify/foldFlowLines'; | ||
export { StringifyContext } from './stringify/stringify.js'; | ||
export { stringifyNumber } from './stringify/stringifyNumber.js'; | ||
export { stringifyString } from './stringify/stringifyString.js'; | ||
export { createNode } from './doc/createNode'; | ||
export type { CreateNodeContext } from './doc/createNode'; | ||
export { debug, warn } from './log'; | ||
export type { LogLevelId } from './log'; | ||
export { createPair } from './nodes/Pair'; | ||
export { toJS } from './nodes/toJS'; | ||
export type { ToJSContext } from './nodes/toJS'; | ||
export { findPair } from './nodes/YAMLMap'; | ||
export { map as mapTag } from './schema/common/map'; | ||
export { seq as seqTag } from './schema/common/seq'; | ||
export { string as stringTag } from './schema/common/string'; | ||
export { foldFlowLines } from './stringify/foldFlowLines'; | ||
export type { FoldOptions } from './stringify/foldFlowLines'; | ||
export type { StringifyContext } from './stringify/stringify'; | ||
export { stringifyNumber } from './stringify/stringifyNumber'; | ||
export { stringifyString } from './stringify/stringifyString'; |
@@ -6,4 +6,4 @@ 'use strict'; | ||
var Pair = require('./nodes/Pair.js'); | ||
var toJS = require('./nodes/toJS.js'); | ||
var YAMLMap = require('./nodes/YAMLMap.js'); | ||
var toJS = require('./nodes/toJS.js'); | ||
var map = require('./schema/common/map.js'); | ||
@@ -22,4 +22,4 @@ var seq = require('./schema/common/seq.js'); | ||
exports.createPair = Pair.createPair; | ||
exports.toJS = toJS.toJS; | ||
exports.findPair = YAMLMap.findPair; | ||
exports.toJS = toJS.toJS; | ||
exports.mapTag = map.map; | ||
@@ -26,0 +26,0 @@ exports.seqTag = seq.seq; |
@@ -1,8 +0,8 @@ | ||
import type { Document } from './doc/Document.js'; | ||
import type { Alias } from './nodes/Alias.js'; | ||
import { Node } from './nodes/Node.js'; | ||
import type { Pair } from './nodes/Pair.js'; | ||
import type { Scalar } from './nodes/Scalar.js'; | ||
import type { YAMLMap } from './nodes/YAMLMap.js'; | ||
import type { YAMLSeq } from './nodes/YAMLSeq.js'; | ||
import type { Document } from './doc/Document'; | ||
import type { Alias } from './nodes/Alias'; | ||
import type { Node } from './nodes/Node'; | ||
import type { Pair } from './nodes/Pair'; | ||
import type { Scalar } from './nodes/Scalar'; | ||
import type { YAMLMap } from './nodes/YAMLMap'; | ||
import type { YAMLSeq } from './nodes/YAMLSeq'; | ||
export type visitorFn<T> = (key: number | 'key' | 'value' | null, node: T, path: readonly (Document | Node | Pair)[]) => void | symbol | number | Node | Pair; | ||
@@ -9,0 +9,0 @@ export type visitor = visitorFn<unknown> | { |
{ | ||
"name": "yaml", | ||
"version": "2.6.1", | ||
"version": "2.7.0", | ||
"license": "ISC", | ||
@@ -77,3 +77,3 @@ "author": "Eemeli Aro <eemeli@gmail.com>", | ||
"@rollup/plugin-replace": "^5.0.2", | ||
"@rollup/plugin-typescript": "^11.0.0", | ||
"@rollup/plugin-typescript": "^12.1.1", | ||
"@types/jest": "^29.2.4", | ||
@@ -90,4 +90,4 @@ "@types/node": "^20.11.20", | ||
"rollup": "^4.12.0", | ||
"tslib": "^2.1.0", | ||
"typescript": "^5.0.3", | ||
"tslib": "^2.8.1", | ||
"typescript": "^5.7.2", | ||
"typescript-eslint": "^8.4.0" | ||
@@ -94,0 +94,0 @@ }, |
@@ -58,12 +58,8 @@ # YAML <a href="https://www.npmjs.com/package/yaml"><img align="right" src="https://badge.fury.io/js/yaml.svg" title="npm package" /></a> | ||
### Parse & Stringify | ||
```js | ||
import { parse, stringify } from 'yaml' | ||
// or | ||
import YAML from 'yaml' | ||
// or | ||
const YAML = require('yaml') | ||
``` | ||
### Parse & Stringify | ||
- [`parse(str, reviver?, options?): value`](https://eemeli.org/yaml/#yaml-parse) | ||
@@ -74,5 +70,14 @@ - [`stringify(value, replacer?, options?): string`](https://eemeli.org/yaml/#yaml-stringify) | ||
<!-- prettier-ignore --> | ||
```js | ||
import { | ||
Document, | ||
isDocument, | ||
parseAllDocuments, | ||
parseDocument | ||
} from 'yaml' | ||
``` | ||
- [`Document`](https://eemeli.org/yaml/#documents) | ||
- [`constructor(value, replacer?, options?)`](https://eemeli.org/yaml/#creating-documents) | ||
- [`#anchors`](https://eemeli.org/yaml/#working-with-anchors) | ||
- [`#contents`](https://eemeli.org/yaml/#content-nodes) | ||
@@ -88,2 +93,11 @@ - [`#directives`](https://eemeli.org/yaml/#stream-directives) | ||
<!-- prettier-ignore --> | ||
```js | ||
import { | ||
isAlias, isCollection, isMap, isNode, | ||
isPair, isScalar, isSeq, Scalar, | ||
visit, visitAsync, YAMLMap, YAMLSeq | ||
} from 'yaml' | ||
``` | ||
- [`isAlias(foo): boolean`](https://eemeli.org/yaml/#identifying-node-types) | ||
@@ -99,9 +113,14 @@ - [`isCollection(foo): boolean`](https://eemeli.org/yaml/#identifying-node-types) | ||
- [`new YAMLSeq()`](https://eemeli.org/yaml/#collections) | ||
- [`doc.createAlias(node, name?): Alias`](https://eemeli.org/yaml/#working-with-anchors) | ||
- [`doc.createAlias(node, name?): Alias`](https://eemeli.org/yaml/#creating-nodes) | ||
- [`doc.createNode(value, options?): Node`](https://eemeli.org/yaml/#creating-nodes) | ||
- [`doc.createPair(key, value): Pair`](https://eemeli.org/yaml/#creating-nodes) | ||
- [`visit(node, visitor)`](https://eemeli.org/yaml/#finding-and-modifying-nodes) | ||
- [`visitAsync(node, visitor)`](https://eemeli.org/yaml/#finding-and-modifying-nodes) | ||
### Parsing YAML | ||
```js | ||
import { Composer, Lexer, Parser } from 'yaml' | ||
``` | ||
- [`new Lexer().lex(src)`](https://eemeli.org/yaml/#lexer) | ||
@@ -108,0 +127,0 @@ - [`new Parser(onNewLine?).parse(src)`](https://eemeli.org/yaml/#parser) |
@@ -47,3 +47,3 @@ { | ||
"devDependencies": { | ||
"@cdk8s/projen-common": "^0.0.563", | ||
"@cdk8s/projen-common": "^0.0.565", | ||
"@stylistic/eslint-plugin": "^2", | ||
@@ -78,3 +78,3 @@ "@types/follow-redirects": "^1.14.4", | ||
"follow-redirects": "^1.15.9", | ||
"yaml": "2.6.1" | ||
"yaml": "2.7.0" | ||
}, | ||
@@ -108,3 +108,3 @@ "bundledDependencies": [ | ||
}, | ||
"version": "2.69.28", | ||
"version": "2.69.29", | ||
"jest": { | ||
@@ -111,0 +111,0 @@ "coverageProvider": "v8", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances in 1 package
9
1719093
25133
Updatedyaml@2.7.0