Socket
Socket
Sign inDemoInstall

js-yaml

Package Overview
Dependencies
Maintainers
1
Versions
72
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

js-yaml - npm Package Compare versions

Comparing version 0.3.6 to 0.3.7

6

HISTORY.md

@@ -0,1 +1,7 @@

0.3.7 / 2012-02-28
------------------
* Fix export of `addConstructor()`. Closes #39.
0.3.6 / 2012-02-22

@@ -2,0 +8,0 @@ ------------------

5

lib/js-yaml.js

@@ -88,6 +88,1 @@ 'use strict';

}());
////////////////////////////////////////////////////////////////////////////////
// vim:ts=2:sw=2
////////////////////////////////////////////////////////////////////////////////

19

lib/js-yaml/loader.js

@@ -67,8 +67,19 @@ 'use strict';

BaseLoader.addConstructor = function (tag, constructor) {
_constructor.BaseConstructor.addConstructor(tag, constructor);
};
SafeLoader.addConstructor = function (tag, constructor) {
_constructor.SafeConstructor.addConstructor(tag, constructor);
};
Loader.addConstructor = function (tag, constructor) {
_constructor.Constructor.addConstructor(tag, constructor);
};
module.exports.BaseLoader = BaseLoader;
module.exports.SafeLoader = SafeLoader;
module.exports.Loader = Loader;
////////////////////////////////////////////////////////////////////////////////
// vim:ts=2:sw=2
////////////////////////////////////////////////////////////////////////////////
{
"name" : "js-yaml",
"version" : "0.3.6",
"version" : "0.3.7",
"description" : "YAML 1.1 Parser",

@@ -5,0 +5,0 @@ "keywords" : ["yaml", "parser", "pyyaml"],

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc