aboutsummaryrefslogtreecommitdiff
path: root/node_modules/yaml/browser/dist/schema/common/null.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/yaml/browser/dist/schema/common/null.js')
-rw-r--r--node_modules/yaml/browser/dist/schema/common/null.js15
1 files changed, 0 insertions, 15 deletions
diff --git a/node_modules/yaml/browser/dist/schema/common/null.js b/node_modules/yaml/browser/dist/schema/common/null.js
deleted file mode 100644
index fcbe1b7..0000000
--- a/node_modules/yaml/browser/dist/schema/common/null.js
+++ /dev/null
@@ -1,15 +0,0 @@
-import { Scalar } from '../../nodes/Scalar.js';
-
-const nullTag = {
- identify: value => value == null,
- createNode: () => new Scalar(null),
- default: true,
- tag: 'tag:yaml.org,2002:null',
- test: /^(?:~|[Nn]ull|NULL)?$/,
- resolve: () => new Scalar(null),
- stringify: ({ source }, ctx) => typeof source === 'string' && nullTag.test.test(source)
- ? source
- : ctx.options.nullStr
-};
-
-export { nullTag };