mirror of
https://github.com/dawidd6/action-ansible-playbook.git
synced 2025-12-09 22:30:41 -07:00
node_modules: upgrade
This commit is contained in:
17
node_modules/yaml/browser/dist/schema/yaml-1.1/omap.js
generated
vendored
17
node_modules/yaml/browser/dist/schema/yaml-1.1/omap.js
generated
vendored
@@ -1,7 +1,7 @@
|
||||
import { YAMLSeq } from '../../nodes/YAMLSeq.js';
|
||||
import { isScalar, isPair } from '../../nodes/identity.js';
|
||||
import { toJS } from '../../nodes/toJS.js';
|
||||
import { isScalar, isPair } from '../../nodes/Node.js';
|
||||
import { YAMLMap } from '../../nodes/YAMLMap.js';
|
||||
import { YAMLSeq } from '../../nodes/YAMLSeq.js';
|
||||
import { resolvePairs, createPairs } from './pairs.js';
|
||||
|
||||
class YAMLOMap extends YAMLSeq {
|
||||
@@ -39,6 +39,12 @@ class YAMLOMap extends YAMLSeq {
|
||||
}
|
||||
return map;
|
||||
}
|
||||
static from(schema, iterable, ctx) {
|
||||
const pairs = createPairs(schema, iterable, ctx);
|
||||
const omap = new this();
|
||||
omap.items = pairs.items;
|
||||
return omap;
|
||||
}
|
||||
}
|
||||
YAMLOMap.tag = 'tag:yaml.org,2002:omap';
|
||||
const omap = {
|
||||
@@ -62,12 +68,7 @@ const omap = {
|
||||
}
|
||||
return Object.assign(new YAMLOMap(), pairs);
|
||||
},
|
||||
createNode(schema, iterable, ctx) {
|
||||
const pairs = createPairs(schema, iterable, ctx);
|
||||
const omap = new YAMLOMap();
|
||||
omap.items = pairs.items;
|
||||
return omap;
|
||||
}
|
||||
createNode: (schema, iterable, ctx) => YAMLOMap.from(schema, iterable, ctx)
|
||||
};
|
||||
|
||||
export { YAMLOMap, omap };
|
||||
|
||||
Reference in New Issue
Block a user