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 CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2021 UnJS
3
+ Copyright (c) Pooya Parsa <pooya@pi0.io>
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
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 = '' | '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';
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.2.1",
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
- "@nuxtjs/eslint-config-typescript": "^10.0.0",
19
- "@types/node": "^18.7.2",
18
+ "@types/node": "^18.11.9",
20
19
  "c8": "^7.12.0",
21
- "eslint": "^8.21.0",
22
- "jiti": "^1.14.0",
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.7.4",
25
- "unbuild": "^0.8.8",
26
- "vitest": "^0.21.1"
24
+ "typescript": "^4.8.4",
25
+ "unbuild": "^0.9.4",
26
+ "vitest": "^0.25.2"
27
27
  },
28
- "packageManager": "pnpm@7.9.0",
28
+ "packageManager": "pnpm@7.13.4",
29
29
  "scripts": {
30
30
  "build": "unbuild",
31
31
  "dev": "vitest",