std-env 3.2.1 → 3.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENCE +1 -1
- package/dist/index.cjs +2 -3
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +2 -1
- package/package.json +9 -9
package/LICENCE
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
3
|
const providers = [
|
|
6
4
|
["APPVEYOR"],
|
|
7
5
|
["AZURE_PIPELINES", "SYSTEM_TEAMFOUNDATIONCOLLECTIONURI"],
|
|
@@ -44,7 +42,8 @@ const providers = [
|
|
|
44
42
|
["APPCENTER", "APPCENTER_BUILD_ID"],
|
|
45
43
|
["CODESANDBOX", "CODESANDBOX_SSE", { ci: false }],
|
|
46
44
|
["STACKBLITZ"],
|
|
47
|
-
["STORMKIT"]
|
|
45
|
+
["STORMKIT"],
|
|
46
|
+
["CLEAVR"]
|
|
48
47
|
];
|
|
49
48
|
function detectProvider(env) {
|
|
50
49
|
for (const provider of providers) {
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare type ProviderName =
|
|
1
|
+
declare type ProviderName = "" | "appveyor" | "azure_pipelines" | "azure_static" | "appcircle" | "bamboo" | "bitbucket" | "bitrise" | "buddy" | "buildkite" | "circle" | "cirrus" | "cloudflare_pages" | "codebuild" | "codefresh" | "drone" | "drone" | "dsari" | "github_actions" | "gitlab" | "gocd" | "layerci" | "hudson" | "jenkins" | "magnum" | "netlify" | "nevercode" | "render" | "sail" | "semaphore" | "screwdriver" | "shippable" | "solano" | "strider" | "teamcity" | "travis" | "vercel" | "appcenter" | "codesandbox" | "stackblitz" | "stormkit" | "cleavr";
|
|
2
2
|
declare type ProviderInfo = {
|
|
3
3
|
name: ProviderName;
|
|
4
4
|
[meta: string]: any;
|
package/dist/index.mjs
CHANGED
|
@@ -40,7 +40,8 @@ const providers = [
|
|
|
40
40
|
["APPCENTER", "APPCENTER_BUILD_ID"],
|
|
41
41
|
["CODESANDBOX", "CODESANDBOX_SSE", { ci: false }],
|
|
42
42
|
["STACKBLITZ"],
|
|
43
|
-
["STORMKIT"]
|
|
43
|
+
["STORMKIT"],
|
|
44
|
+
["CLEAVR"]
|
|
44
45
|
];
|
|
45
46
|
function detectProvider(env) {
|
|
46
47
|
for (const provider of providers) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "std-env",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.3.1",
|
|
4
4
|
"description": "Detect current Javascript environment",
|
|
5
5
|
"repository": "unjs/std-env",
|
|
6
6
|
"license": "MIT",
|
|
@@ -15,17 +15,17 @@
|
|
|
15
15
|
"dist"
|
|
16
16
|
],
|
|
17
17
|
"devDependencies": {
|
|
18
|
-
"@
|
|
19
|
-
"@types/node": "^18.7.2",
|
|
18
|
+
"@types/node": "^18.11.9",
|
|
20
19
|
"c8": "^7.12.0",
|
|
21
|
-
"eslint": "^8.
|
|
22
|
-
"
|
|
20
|
+
"eslint": "^8.27.0",
|
|
21
|
+
"eslint-config-unjs": "^0.0.2",
|
|
22
|
+
"jiti": "^1.16.0",
|
|
23
23
|
"standard-version": "^9.5.0",
|
|
24
|
-
"typescript": "^4.
|
|
25
|
-
"unbuild": "^0.
|
|
26
|
-
"vitest": "^0.
|
|
24
|
+
"typescript": "^4.8.4",
|
|
25
|
+
"unbuild": "^0.9.4",
|
|
26
|
+
"vitest": "^0.25.2"
|
|
27
27
|
},
|
|
28
|
-
"packageManager": "pnpm@7.
|
|
28
|
+
"packageManager": "pnpm@7.13.4",
|
|
29
29
|
"scripts": {
|
|
30
30
|
"build": "unbuild",
|
|
31
31
|
"dev": "vitest",
|