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.0.5 to 2.0.6

2

package.json
{
"name": "toml",
"version": "2.0.5",
"version": "2.0.6",
"description": "TOML parser for Node.js",

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

@@ -145,2 +145,22 @@ var toml = require('../');

exports.testArrayWithWhitespace = function(test) {
var str = "[versions]\nfiles = [\n 3, \n 5 \n\n ]";
test.deepEqual(toml.parse(str), {
versions: {
files: [3, 5]
}
});
test.done();
};
exports.testEmptyArrayWithWhitespace = function(test) {
var str = "[versions]\nfiles = [\n \n ]";
test.deepEqual(toml.parse(str), {
versions: {
files: []
}
});
test.done();
};
exports.textDefineOnSuperkey = function(test) {

@@ -147,0 +167,0 @@ var str = "[a.b]\nc = 1\n\n[a]\nd = 2";

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