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

confeta-file

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

confeta-file - npm Package Compare versions

Comparing version 1.0.0 to 1.0.2

@@ -26,7 +26,8 @@ 'use strict';

var ConfetaFile = function () {
function ConfetaFile(parseFn) {
var options = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1];
function ConfetaFile() {
var options = arguments.length <= 0 || arguments[0] === undefined ? {} : arguments[0];
_classCallCheck(this, ConfetaFile);
var parseFn = options.parseFn || JSON.parse;
var obj = undefined;

@@ -83,4 +84,4 @@ if (options.content) {

function createInstance(parseFn, options) {
return new ConfetaFile(parseFn, options);
function createInstance(options) {
return new ConfetaFile(options);
}
{
"name": "confeta-file",
"version": "1.0.0",
"version": "1.0.2",
"description": "",

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

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