| Index: node_modules/vulcanize/node_modules/update-notifier/node_modules/configstore/node_modules/js-yaml/lib/js-yaml/type/null.js
|
| diff --git a/node_modules/vulcanize/node_modules/update-notifier/node_modules/configstore/node_modules/js-yaml/lib/js-yaml/type/null.js b/node_modules/vulcanize/node_modules/update-notifier/node_modules/configstore/node_modules/js-yaml/lib/js-yaml/type/null.js
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..3ea02df27685ae566af792130b58747309d18627
|
| --- /dev/null
|
| +++ b/node_modules/vulcanize/node_modules/update-notifier/node_modules/configstore/node_modules/js-yaml/lib/js-yaml/type/null.js
|
| @@ -0,0 +1,40 @@
|
| +'use strict';
|
| +
|
| +
|
| +var Type = require('../type');
|
| +
|
| +
|
| +var YAML_NULL_MAP = {
|
| + '~' : true,
|
| + 'null' : true,
|
| + 'Null' : true,
|
| + 'NULL' : true
|
| +};
|
| +
|
| +
|
| +function resolveYamlNull(state) {
|
| + if (YAML_NULL_MAP.hasOwnProperty(state.result)) {
|
| + state.result = null;
|
| + return true;
|
| + }
|
| + return false;
|
| +}
|
| +
|
| +
|
| +function isNull(object) {
|
| + return null === object;
|
| +}
|
| +
|
| +
|
| +module.exports = new Type('tag:yaml.org,2002:null', {
|
| + loadKind: 'scalar',
|
| + loadResolver: resolveYamlNull,
|
| + dumpPredicate: isNull,
|
| + dumpRepresenter: {
|
| + canonical: function () { return '~'; },
|
| + lowercase: function () { return 'null'; },
|
| + uppercase: function () { return 'NULL'; },
|
| + camelcase: function () { return 'Null'; }
|
| + },
|
| + dumpDefaultStyle: 'lowercase'
|
| +});
|
|
|