Socket
Socket
Sign inDemoInstall

toml

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

toml - npm Package Compare versions

Comparing version 2.2.0 to 2.2.1

5

CHANGELOG.md

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

2.2.1 - March 17 2015
=====================
* Parse dates generated by Date#toISOString() ([#20](https://github.com/BinaryMuse/toml-node/issues/20))
2.2.0 - Feb 26 2015

@@ -2,0 +7,0 @@ ===================

2

package.json
{
"name": "toml",
"version": "2.2.0",
"version": "2.2.1",
"description": "TOML parser for Node.js (parses TOML spec v0.4.0)",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -22,2 +22,4 @@ TOML Parser for Node.js

toml-node also works with browser module bundlers like Browserify and webpack.
Usage

@@ -78,6 +80,6 @@ -----

npm install
./generate.sh
npm run build
npm test
Any changes to `src/toml.peg` requires a regeneration of the parser with `./generate.sh`.
Any changes to `src/toml.peg` requires a regeneration of the parser with `npm run build`.

@@ -84,0 +86,0 @@ toml-node is tested on Travis CI and is tested against:

@@ -299,2 +299,14 @@ var toml = require('../');

exports.testDateFromIsoString = function(test) {
// https://github.com/BinaryMuse/toml-node/issues/20
var date = new Date(),
dateStr = date.toISOString(),
tomlStr = "a = " + dateStr;
test.deepEqual(toml.parse(tomlStr), {
a: date
});
test.done();
};
exports.testInlineTables = function(test) {

@@ -301,0 +313,0 @@ var str = fs.readFileSync(__dirname + "/inline_tables.toml", 'utf8'),

Sorry, the diff of this file is too big to display

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