processenv
Advanced tools
Comparing version 1.1.0 to 2.0.0
{ | ||
"extends": "eslint-config-es/2015/server" | ||
"extends": "es/node" | ||
} |
{ | ||
"name": "processenv", | ||
"version": "1.1.0", | ||
"version": "2.0.0", | ||
"description": "processenv parses environment variables.", | ||
@@ -17,13 +17,16 @@ "contributors": [ | ||
"email": "peter@pwntr.com" | ||
}, | ||
{ | ||
"name": "Hannes Leutloff", | ||
"email": "hannes.leutloff@thenativeweb.io" | ||
} | ||
], | ||
"main": "dist/processEnv.js", | ||
"dependencies": { | ||
"babel-runtime": "6.26.0" | ||
}, | ||
"main": "build/lib/processEnv.js", | ||
"types": "build/lib/processEnv.d.ts", | ||
"dependencies": {}, | ||
"devDependencies": { | ||
"assertthat": "1.0.0", | ||
"nodeenv": "1.0.0", | ||
"roboter": "1.0.5", | ||
"uuidv4": "1.0.1" | ||
"assertthat": "4.0.1", | ||
"nodeenv": "2.0.0", | ||
"roboter": "7.1.1", | ||
"uuidv4": "5.0.0" | ||
}, | ||
@@ -30,0 +33,0 @@ "repository": { |
@@ -5,2 +5,12 @@ # processenv | ||
## Status | ||
| Category | Status | | ||
| ---------------- | ------------------------------------------------------------------------------------------------------------------------------------------------ | | ||
| Version | [![npm](https://img.shields.io/npm/v/processenv)](https://www.npmjs.com/package/processenv) | | ||
| Dependencies | ![David](https://img.shields.io/david/thenativeweb/processenv) | | ||
| Dev dependencies | ![David](https://img.shields.io/david/dev/thenativeweb/processenv) | | ||
| Build | [![CircleCI](https://img.shields.io/circleci/build/github/thenativeweb/processenv)](https://circleci.com/gh/thenativeweb/processenv/tree/master) | | ||
| License | ![GitHub](https://img.shields.io/github/license/thenativeweb/processenv) | | ||
## Installation | ||
@@ -17,5 +27,11 @@ | ||
```javascript | ||
const processenv = require('processenv'); | ||
const processenv = require('processenv').default; | ||
``` | ||
If you use TypeScript, use the following code instead: | ||
```typescript | ||
import processenv from 'processenv'; | ||
``` | ||
Then, to parse an environment variable, call the `processenv` function and provide the name of the environment variable you would like to parse: | ||
@@ -67,12 +83,1 @@ | ||
``` | ||
## License | ||
The MIT License (MIT) | ||
Copyright (c) 2015-2018 the native web. | ||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | ||
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. | ||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
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
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 3 instances in 1 package
0
8
81
0
7552
74
2
- Removedbabel-runtime@6.26.0
- Removedbabel-runtime@6.26.0(transitive)
- Removedcore-js@2.6.12(transitive)
- Removedregenerator-runtime@0.11.1(transitive)