forked from daren.hsu/line_push
update
This commit is contained in:
+5
@@ -0,0 +1,5 @@
|
||||
# Changelog
|
||||
|
||||
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
||||
|
||||
### [2.3.1](https://github.com/unjs/std-env/compare/v2.3.0...v2.3.1) (2021-09-29)
|
||||
+22
@@ -0,0 +1,22 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2021 UnJS
|
||||
|
||||
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.
|
||||
|
||||
+2
-2
@@ -7,13 +7,13 @@ Detect running environment of the current Node.js process.
|
||||
|
||||
## Installation
|
||||
|
||||
Using yarn:
|
||||
Using Yarn:
|
||||
|
||||
```
|
||||
yarn add std-env
|
||||
```
|
||||
|
||||
Usin npm:
|
||||
Using npm:
|
||||
|
||||
```
|
||||
npm i std-env
|
||||
|
||||
+20
@@ -0,0 +1,20 @@
|
||||
declare const env: {
|
||||
readonly browser: boolean
|
||||
|
||||
readonly test: boolean
|
||||
readonly dev: boolean
|
||||
readonly production: boolean
|
||||
readonly debug: boolean
|
||||
|
||||
readonly ci: boolean
|
||||
readonly tty: boolean
|
||||
|
||||
readonly minimal: boolean
|
||||
readonly minimalCLI: boolean
|
||||
|
||||
readonly windows: boolean
|
||||
readonly darwin: boolean
|
||||
readonly linux: boolean
|
||||
};
|
||||
|
||||
export default env;
|
||||
+26
-22
@@ -1,57 +1,61 @@
|
||||
{
|
||||
"_args": [
|
||||
[
|
||||
"std-env@2.2.1",
|
||||
"/mnt/Foxconn/Digitalent/Deverloper/liff-push_2series"
|
||||
"std-env@2.3.1",
|
||||
"/home/node/nuxt"
|
||||
]
|
||||
],
|
||||
"_from": "std-env@2.2.1",
|
||||
"_id": "std-env@2.2.1",
|
||||
"_from": "std-env@2.3.1",
|
||||
"_id": "std-env@2.3.1",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha512-IjYQUinA3lg5re/YMlwlfhqNRTzMZMqE+pezevdcTaHceqx8ngEi1alX9nNCk9Sc81fy1fLDeQoaCzeiW1yBOQ==",
|
||||
"_integrity": "sha512-eOsoKTWnr6C8aWrqJJ2KAReXoa7Vn5Ywyw6uCXgA/xDhxPoaIsBa5aNJmISY04dLwXPBnDHW4diGM7Sn5K4R/g==",
|
||||
"_location": "/std-env",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "version",
|
||||
"registry": true,
|
||||
"raw": "std-env@2.2.1",
|
||||
"raw": "std-env@2.3.1",
|
||||
"name": "std-env",
|
||||
"escapedName": "std-env",
|
||||
"rawSpec": "2.2.1",
|
||||
"rawSpec": "2.3.1",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "2.2.1"
|
||||
"fetchSpec": "2.3.1"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/@nuxt/cli",
|
||||
"/@nuxt/config",
|
||||
"/@nuxt/core",
|
||||
"/@nuxt/telemetry",
|
||||
"/@nuxt/webpack",
|
||||
"/webpackbar"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/std-env/-/std-env-2.2.1.tgz",
|
||||
"_spec": "2.2.1",
|
||||
"_where": "/mnt/Foxconn/Digitalent/Deverloper/liff-push_2series",
|
||||
"_resolved": "https://registry.npmjs.org/std-env/-/std-env-2.3.1.tgz",
|
||||
"_spec": "2.3.1",
|
||||
"_where": "/home/node/nuxt",
|
||||
"bugs": {
|
||||
"url": "https://github.com/jsless/std-env/issues"
|
||||
"url": "https://github.com/unjs/std-env/issues"
|
||||
},
|
||||
"contributes": [
|
||||
"Pooya Parsa <pooya@pi0.ir>"
|
||||
],
|
||||
"dependencies": {
|
||||
"ci-info": "^1.6.0"
|
||||
"ci-info": "^3.1.1"
|
||||
},
|
||||
"description": "Detect running environment of the current Node.js process",
|
||||
"devDependencies": {
|
||||
"standard-version": "^9.3.1"
|
||||
},
|
||||
"files": [
|
||||
"index.js"
|
||||
"index.js",
|
||||
"index.d.ts"
|
||||
],
|
||||
"homepage": "https://github.com/jsless/std-env#readme",
|
||||
"homepage": "https://github.com/unjs/std-env#readme",
|
||||
"license": "MIT",
|
||||
"main": "index.js",
|
||||
"main": "./index.js",
|
||||
"name": "std-env",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/jsless/std-env.git"
|
||||
"url": "git+https://github.com/unjs/std-env.git"
|
||||
},
|
||||
"version": "2.2.1"
|
||||
"scripts": {
|
||||
"release": "standard-version && git push --follow-tags && npm publish"
|
||||
},
|
||||
"types": "./index.d.ts",
|
||||
"version": "2.3.1"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user