Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

std-env

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

std-env - npm Package Compare versions

Comparing version 3.1.1 to 3.2.1

2

dist/index.d.ts

@@ -1,2 +0,2 @@

declare type ProviderName = '' | 'appveyor' | 'azure_pipelines' | 'azure_static' | 'appcircle' | 'bamboo' | 'bitbucket' | 'bitrise' | 'buddy' | 'buildkite' | 'circle' | 'cirrus' | 'codebuild' | 'codefresh' | 'drone' | 'drone' | 'dsari' | 'github_actions' | 'gitlab' | 'gitlab' | 'gocd' | 'layerci' | 'hudson' | 'jenkins' | 'magnum' | 'netlify' | 'netlify' | 'nevercode' | 'render' | 'sail' | 'semaphore' | 'screwdriver' | 'shippable' | 'solano' | 'strider' | 'teamcity' | 'travis' | 'vercel' | 'appcenter' | 'codesandbox' | 'stackblitz' | 'stormkit';
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';
declare type ProviderInfo = {

@@ -3,0 +3,0 @@ name: ProviderName;

{
"name": "std-env",
"version": "3.1.1",
"version": "3.2.1",
"description": "Detect current Javascript environment",

@@ -18,11 +18,13 @@ "repository": "unjs/std-env",

"devDependencies": {
"@nuxtjs/eslint-config-typescript": "^9.0.0",
"c8": "^7.11.0",
"eslint": "^8.13.0",
"jiti": "^1.13.0",
"standard-version": "^9.3.2",
"unbuild": "^0.7.4",
"vitest": "^0.9.3"
"@nuxtjs/eslint-config-typescript": "^10.0.0",
"@types/node": "^18.7.2",
"c8": "^7.12.0",
"eslint": "^8.21.0",
"jiti": "^1.14.0",
"standard-version": "^9.5.0",
"typescript": "^4.7.4",
"unbuild": "^0.8.8",
"vitest": "^0.21.1"
},
"packageManager": "pnpm@6.32.7",
"packageManager": "pnpm@7.9.0",
"scripts": {

@@ -34,4 +36,3 @@ "build": "unbuild",

"test": "pnpm lint && vitest run"
},
"readme": "# std-env\n\n[![npm](https://img.shields.io/npm/dm/std-env.svg?style=flat-square)](http://npmjs.com/package/std-env)\n[![npm](https://img.shields.io/npm/v/std-env.svg?style=flat-square)](http://npmjs.com/package/std-env)\n[![bundlephobia](https://img.shields.io/bundlephobia/min/std-env/latest.svg?style=flat-square)](https://bundlephobia.com/result?p=std-env)\n\n> Detect current Javascript environment\n\n## Installation\n\n```sh\n# Using Yarn\nyarn add std-env\n\n# Using npm\nnpm i std-env\n```\n\n## Usage\n\n```js\n// ESM\nimport { isWindows } from 'std-env'\n\n// CommonJS\nconst { isCI } = require('std-env')\n```\n\nAvailable exports:\n\n- `hasTTY`\n- `hasWindow`\n- `isCI`\n- `isDebug`\n- `isDevelopment`\n- `isLinux`\n- `isMacOS`\n- `isMinimal`\n- `isProduction`\n- `isTest`\n- `isWindows`\n- `platform`\n- `provider`\n\nYou can read more about how each flag works from [./src/index.ts](./src/index.ts).\n\nList of well known providers can be found from [./src/providers.ts](./src/providers.ts).\n\n\n## License\n\nMIT\n"
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc