From b22f6770c8bd084d66950655203c61dd701b3d90 Mon Sep 17 00:00:00 2001 From: Minteck Date: Sat, 4 Jun 2022 08:51:19 +0200 Subject: Remove node_modules --- node_modules/yaml/browser/dist/nodes/Scalar.js | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 node_modules/yaml/browser/dist/nodes/Scalar.js (limited to 'node_modules/yaml/browser/dist/nodes/Scalar.js') diff --git a/node_modules/yaml/browser/dist/nodes/Scalar.js b/node_modules/yaml/browser/dist/nodes/Scalar.js deleted file mode 100644 index e7f22a7..0000000 --- a/node_modules/yaml/browser/dist/nodes/Scalar.js +++ /dev/null @@ -1,23 +0,0 @@ -import { NodeBase, SCALAR } from './Node.js'; -import { toJS } from './toJS.js'; - -const isScalarValue = (value) => !value || (typeof value !== 'function' && typeof value !== 'object'); -class Scalar extends NodeBase { - constructor(value) { - super(SCALAR); - this.value = value; - } - toJSON(arg, ctx) { - return (ctx === null || ctx === void 0 ? void 0 : ctx.keep) ? this.value : toJS(this.value, arg, ctx); - } - toString() { - return String(this.value); - } -} -Scalar.BLOCK_FOLDED = 'BLOCK_FOLDED'; -Scalar.BLOCK_LITERAL = 'BLOCK_LITERAL'; -Scalar.PLAIN = 'PLAIN'; -Scalar.QUOTE_DOUBLE = 'QUOTE_DOUBLE'; -Scalar.QUOTE_SINGLE = 'QUOTE_SINGLE'; - -export { Scalar, isScalarValue }; -- cgit