nested-formdata
Advanced tools
Comparing version 1.0.2 to 1.1.0
{ | ||
"name": "nested-formdata", | ||
"version": "1.0.2", | ||
"description": "This is a JavaScript utility function that converts JavaScript nested objects into FormData. It's beneficial when you need to send your data to the server in multipart/form-data format. This utility is built with TypeScript and Lodash.", | ||
"author": "Mohammad Hosein Alijany", | ||
"keywords": [ | ||
"nested-formdata", | ||
"formdata", | ||
"object-to-formdata" | ||
"version": "1.1.0", | ||
"license": "MIT", | ||
"main": "dist/index.js", | ||
"typings": "dist/index.d.ts", | ||
"files": [ | ||
"dist", | ||
"src" | ||
], | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/alijany/nested-formdata.git" | ||
"engines": { | ||
"node": ">=10" | ||
}, | ||
"license": "ISC", | ||
"dependencies": { | ||
"lodash": "^4.17.21" | ||
"scripts": { | ||
"start": "tsdx watch", | ||
"build": "tsdx build --transpileOnly", | ||
"test": "tsdx test", | ||
"lint": "tsdx lint", | ||
"prepare": "tsdx build --transpileOnly", | ||
"size": "size-limit", | ||
"analyze": "size-limit --why" | ||
}, | ||
"source": "./script.ts", | ||
"type": "module", | ||
"exports": { | ||
"require": "./dist/nested-formdata.cjs", | ||
"default": "./dist/nested-formdata.modern.js" | ||
"husky": { | ||
"hooks": { | ||
"pre-commit": "tsdx lint" | ||
} | ||
}, | ||
"main": "./dist/nested-formdata.cjs", | ||
"module": "./dist/nested-formdata.module.js", | ||
"unpkg": "./dist/nested-formdata.umd.js", | ||
"types": "./dist/script.d.ts", | ||
"scripts": { | ||
"build": "microbundle", | ||
"dev": "microbundle watch" | ||
"prettier": { | ||
"printWidth": 80, | ||
"semi": true, | ||
"singleQuote": true, | ||
"trailingComma": "es5" | ||
}, | ||
"files": [ | ||
"dist/" | ||
"name": "nested-formdata", | ||
"author": "MH.Alijany", | ||
"module": "dist/nested-formdata.esm.js", | ||
"size-limit": [ | ||
{ | ||
"path": "dist/nested-formdata.cjs.production.min.js", | ||
"limit": "10 KB" | ||
}, | ||
{ | ||
"path": "dist/nested-formdata.esm.js", | ||
"limit": "10 KB" | ||
} | ||
], | ||
"devDependencies": { | ||
"@size-limit/preset-small-lib": "^11.0.1", | ||
"@types/lodash": "^4.14.202", | ||
@@ -43,4 +54,11 @@ "@typescript-eslint/eslint-plugin": "^5.59.11", | ||
"eslint-plugin-prettier": "^4.2.1", | ||
"microbundle": "^0.15.1" | ||
"husky": "^8.0.3", | ||
"size-limit": "^11.0.1", | ||
"tsdx": "^0.14.1", | ||
"tslib": "^2.6.2", | ||
"typescript": "^5.3.3" | ||
}, | ||
"dependencies": { | ||
"lodash": "^4.17.21" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
13998
12
99
12
2
No