Sha256: aff7372f6e772c25bd084d5299fd6996976e664eb60633e65b72d8b6f6994da8

Contents?: true

Size: 1.63 KB

Versions: 183

Compression:

Stored size: 1.63 KB

Contents

'use strict';


var loader = require('./js-yaml/loader');
var dumper = require('./js-yaml/dumper');


function deprecated(name) {
  return function () {
    throw new Error('Function ' + name + ' is deprecated and cannot be used.');
  };
}


module.exports.Type                = require('./js-yaml/type');
module.exports.Schema              = require('./js-yaml/schema');
module.exports.FAILSAFE_SCHEMA     = require('./js-yaml/schema/failsafe');
module.exports.JSON_SCHEMA         = require('./js-yaml/schema/json');
module.exports.CORE_SCHEMA         = require('./js-yaml/schema/core');
module.exports.DEFAULT_SAFE_SCHEMA = require('./js-yaml/schema/default_safe');
module.exports.DEFAULT_FULL_SCHEMA = require('./js-yaml/schema/default_full');
module.exports.load                = loader.load;
module.exports.loadAll             = loader.loadAll;
module.exports.safeLoad            = loader.safeLoad;
module.exports.safeLoadAll         = loader.safeLoadAll;
module.exports.dump                = dumper.dump;
module.exports.safeDump            = dumper.safeDump;
module.exports.YAMLException       = require('./js-yaml/exception');

// Deprecated schema names from JS-YAML 2.0.x
module.exports.MINIMAL_SCHEMA = require('./js-yaml/schema/failsafe');
module.exports.SAFE_SCHEMA    = require('./js-yaml/schema/default_safe');
module.exports.DEFAULT_SCHEMA = require('./js-yaml/schema/default_full');

// Deprecated functions from JS-YAML 1.x.x
module.exports.scan           = deprecated('scan');
module.exports.parse          = deprecated('parse');
module.exports.compose        = deprecated('compose');
module.exports.addConstructor = deprecated('addConstructor');

Version data entries

183 entries across 168 versions & 20 rubygems

Version Path
groonga-client-model-6.0.0 test/apps/rails6.1.3/node_modules/js-yaml/lib/js-yaml.js
ruby2js-4.0.4 lib/tasks/testrails/node_modules/js-yaml/lib/js-yaml.js
ruby2js-4.0.3 lib/tasks/testrails/node_modules/js-yaml/lib/js-yaml.js
tang-0.2.0 spec/tang_app/node_modules/js-yaml/lib/js-yaml.js
tang-0.1.0 spec/tang_app/node_modules/js-yaml/lib/js-yaml.js
tang-0.0.9 spec/tang_app/node_modules/js-yaml/lib/js-yaml.js
enju_library-0.3.8 spec/dummy/node_modules/js-yaml/lib/js-yaml.js
ilog-0.4.1 node_modules/js-yaml/lib/js-yaml.js
ilog-0.4.0 node_modules/js-yaml/lib/js-yaml.js
ilog-0.3.3 node_modules/js-yaml/lib/js-yaml.js
learn_create-0.0.22 lib/templates/javascript_lab_template/node_modules/js-yaml/lib/js-yaml.js
jester-data-8.0.0 node_modules/js-yaml/lib/js-yaml.js
ezii-os-5.2.1 node_modules/js-yaml/lib/js-yaml.js
ezii-os-2.0.1 node_modules/js-yaml/lib/js-yaml.js
ezii-os-1.1.0 node_modules/js-yaml/lib/js-yaml.js
ezii-os-1.0.0 node_modules/js-yaml/lib/js-yaml.js
ezii-os-0.0.0.1.0 node_modules/js-yaml/lib/js-yaml.js
ezii-os-0.0.0.0.1 node_modules/js-yaml/lib/js-yaml.js
govuk_publishing_components-18.0.0 node_modules/js-yaml/lib/js-yaml.js
govuk_publishing_components-17.21.0 node_modules/js-yaml/lib/js-yaml.js