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 1.0.3 to 1.0.4

2

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

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

@@ -79,2 +79,18 @@ var toml = require('../');

exports.testSingleElementArrayWithNoTrailingComma = function(test) {
var str = "a = [1]";
test.deepEqual(toml.parse(str), {
a: [1]
});
test.done();
};
exports.testEmptyArray = function(test) {
var str = "a = []";
test.deepEqual(toml.parse(str), {
a: []
});
test.done();
};
exports.textDefineOnSuperkey = function(test) {

@@ -102,10 +118,2 @@ var str = "[a.b]\nc = 1\n\n[a]\nd = 2";

exports.testSingleElementArrayWithNoTrailingComma = function(test) {
var str = "a = [1]";
test.deepEqual(toml.parse(str), {
a: [1]
});
test.done();
};
exports.testErrorOnKeygroupOverride = function(test) {

@@ -112,0 +120,0 @@ test.throws(function() {

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