environment
Advanced tools
Comparing version 0.0.2 to 1.0.0
{ | ||
"author": "Brandon Benvie <brandon@bbenvie.com> (http://bbenvie.com)", | ||
"name": "environment", | ||
"description": "env getter, setter, deleter, and enumerator from node's process.env as standalone functions, and an env object that behaves.", | ||
"version": "0.0.2", | ||
"keywords": ["env", "environment", "process.env"], | ||
"homepage": "https://github.com/Benvie/node-environment", | ||
"repository": { | ||
"type": "git", | ||
"url": "git://github.com/Benvie/node-environment.git" | ||
}, | ||
"main": "environment.js" | ||
} | ||
"name": "environment", | ||
"version": "1.0.0", | ||
"description": "Check which JavaScript environment your code is running in at runtime: browser, Node.js, Bun, etc", | ||
"license": "MIT", | ||
"repository": "sindresorhus/environment", | ||
"funding": "https://github.com/sponsors/sindresorhus", | ||
"author": { | ||
"name": "Sindre Sorhus", | ||
"email": "sindresorhus@gmail.com", | ||
"url": "https://sindresorhus.com" | ||
}, | ||
"type": "module", | ||
"exports": { | ||
"types": "./index.d.ts", | ||
"default": "./index.js" | ||
}, | ||
"sideEffects": false, | ||
"engines": { | ||
"node": ">=18" | ||
}, | ||
"scripts": { | ||
"test": "xo && ava && tsc index.d.ts" | ||
}, | ||
"files": [ | ||
"index.js", | ||
"index.d.ts" | ||
], | ||
"keywords": [ | ||
"runtime", | ||
"environment", | ||
"env", | ||
"execution", | ||
"engine", | ||
"platform", | ||
"context", | ||
"js", | ||
"javascript", | ||
"is", | ||
"check", | ||
"checking", | ||
"detect", | ||
"detection", | ||
"browser", | ||
"node", | ||
"bun", | ||
"deno", | ||
"electron", | ||
"jsdom", | ||
"webworker", | ||
"worker", | ||
"serviceworker" | ||
], | ||
"devDependencies": { | ||
"ava": "^6.1.2", | ||
"typescript": "^5.4.5", | ||
"xo": "^0.58.0" | ||
} | ||
} |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
No website
QualityPackage does not have a website.
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
Non-existent author
Supply chain riskThe package was published by an npm account that no longer exists.
Found 1 instance in 1 package
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 2 instances in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
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 2 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
No License Found
License(Experimental) License information could not be found.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
0
1
73
0
1
Yes
6690
3
5
52