confeta-file
Advanced tools
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
AI-detected possible typosquat
Supply chain riskAI has identified this package as a potential typosquat of a more popular package. This suggests that the package may be intentionally mimicking another package's name, description, or other metadata.
Found 1 instance in 1 package
108138
2818
1