Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

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 1.0.0 to 1.0.1

.ndocrc

9

HISTORY.md

@@ -1,4 +0,11 @@

1.0.0 / 2012-06-01
1.0.1 / 2012-07-07
------------------
* Fixes `TypeError: 'undefined' is not an object` under Safari. Thanks Phuong.
* Fix timestamps incorrectly parsed in local time. Thanks @caolan. Closes #46.
1.0.0 / 2012-07-01
------------------
* `y`, `yes`, `n`, `no`, `on`, `off` are not converted to Booleans anymore.

@@ -5,0 +12,0 @@ Fixes #42.

@@ -0,1 +1,6 @@

/**
* jsyaml
**/
'use strict';

@@ -59,2 +64,3 @@

* jsyaml.addConstructor(tag, constructor[, Loader]) -> Void
*
* Add a constructor for the given tag.

@@ -61,0 +67,0 @@ *

2

lib/js-yaml/constructor.js

@@ -435,3 +435,3 @@ 'use strict';

data = new Date(year, month, day, hour, minute, second, fraction);
data = new Date(Date.UTC(year, month, day, hour, minute, second, fraction));

@@ -438,0 +438,0 @@ if (!!delta) {

{
"name" : "js-yaml",
"version" : "1.0.0",
"version" : "1.0.1",
"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