New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

bd-conf

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bd-conf - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

2

package.json
{
"name": "bd-conf",
"version": "1.0.0",
"version": "1.0.1",
"description": "bd conf parser",

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

@@ -109,4 +109,6 @@ /**

throw new Error(`error format: ${command}`);
console.warn(`conf parse error: wrong format: ${command}`);
return null;
}

@@ -122,3 +124,6 @@

if (line) {
result.push(parseCommand(line, index));
let command = parseCommand(line, index);
if (command) {
result.push(command);
}
}

@@ -125,0 +130,0 @@

@@ -13,30 +13,30 @@ /**

it('error format', function () {
// it('error format', function () {
//
// expect(function () {
// parse();
// }).toThrow();
//
// expect(function () {
//
// parse(
// `
// ahahaha
// `
// );
//
// }).toThrow();
//
// expect(function () {
//
// parse(
// `
// [.a.b]
// `
// );
//
// }).toThrow();
//
// });
expect(function () {
parse();
}).toThrow();
expect(function () {
parse(
`
ahahaha
`
);
}).toThrow();
expect(function () {
parse(
`
[.a.b]
`
);
}).toThrow();
});
it('basic', function () {

@@ -43,0 +43,0 @@

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