Socket
Socket
Sign inDemoInstall

js-yaml

Package Overview
Dependencies
3
Maintainers
1
Versions
72
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.1 to 2.0.2

test/issues/data/issue-64.yml

6

HISTORY.md

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

2.0.2 / 2013-02-15
------------------
* Fixed input validation: tabs are printable characters.
2.0.1 / 2013-02-09

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

2

lib/js-yaml/loader.js

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

var PATTERN_NON_PRINTABLE = /[\x00-\x09\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uD800-\uDFFF\uFFFE\uFFFF]/;
var PATTERN_NON_PRINTABLE = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uD800-\uDFFF\uFFFE\uFFFF]/;
var PATTERN_NON_ASCII_LINE_BREAKS = /[\x85\u2028\u2029]/;

@@ -113,0 +113,0 @@ var PATTERN_FLOW_INDICATORS = /[,\[\]\{\}]/;

{
"name" : "js-yaml",
"version" : "2.0.1",
"version" : "2.0.2",
"description" : "YAML 1.2 parser and serializer",

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

@@ -13,2 +13,3 @@ 'use strict';

require('./issues/issue-54.js');
require('./issues/issue-64.js');
});

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

it('#17: Non-specific "!" tags should resolve to !!str', function () {
it('Non-specific "!" tags should resolve to !!str', function () {
var data = require('./data/issue-17.yml');

@@ -13,0 +13,0 @@

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

it('#19: Timestamp parsing is one month off', function () {
it('Timestamp parsing is one month off', function () {
var data = require('./data/issue-19.yml');

@@ -13,0 +13,0 @@

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

it('#26: should convert new line into white space', function () {
it('should convert new line into white space', function () {
var data = require('./data/issue-26.yml');

@@ -13,0 +13,0 @@

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

it('#33: refactor compact variant of MarkedYAMLError.toString', function () {
it('refactor compact variant of MarkedYAMLError.toString', function () {
assert.throws(

@@ -13,0 +13,0 @@ function () { require('./data/issue-33.yml'); },

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

it('#46: Timestamps are incorrectly parsed in local time', function () {
it('Timestamps are incorrectly parsed in local time', function () {
var data = require('./data/issue-46.yml'), date1, date2;

@@ -13,0 +13,0 @@

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

it("#54: Incorrect utf-8 handling on require('file.yaml')", function () {
it("Incorrect utf-8 handling on require('file.yaml')", function () {
var data = require('./data/issue-54.yml'),

@@ -13,0 +13,0 @@ expected = '',

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

it('#8: Parse failed when no document start present', function () {
it('Parse failed when no document start present', function () {
assert.doesNotThrow(function () {

@@ -13,0 +13,0 @@ require('./data/issue-8.yml');

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc