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

detect-browser-es

Package Overview
Dependencies
Maintainers
2
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

detect-browser-es - npm Package Compare versions

Comparing version 0.0.1 to 0.1.0

dist/index.d.cts

2

dist/index.d.ts

@@ -150,2 +150,2 @@ import { RuntimeName, ProviderInfo, RuntimeInfo } from 'std-env';

export { BotInfo, Browser, BrowserInfo, DetectedInfoType, HTTPHeaderName, HappyDOMOptions, HappyDomInfo, JSDOMInfo, NodeInfo, OperatingSystem, ReactNativeInfo, RequestHeaders, SearchBotDeviceInfo, ServerInfo, UserAgentDataInfo, WDIOBrowserRunnerInfo, asyncDetect, browserName, detect, detectOS, getNodeVersion, getServerVersion, lookupClientUserAgentHints, lookupServerUserAgentHints, lookupUserAgentHints, parseUserAgent, serverResponseHeadersForUserAgentHints };
export { BotInfo, type Browser, BrowserInfo, type DetectedInfoType, type HTTPHeaderName, type HappyDOMOptions, HappyDomInfo, JSDOMInfo, NodeInfo, type OperatingSystem, ReactNativeInfo, type RequestHeaders, SearchBotDeviceInfo, ServerInfo, type UserAgentDataInfo, WDIOBrowserRunnerInfo, asyncDetect, browserName, detect, detectOS, getNodeVersion, getServerVersion, lookupClientUserAgentHints, lookupServerUserAgentHints, lookupUserAgentHints, parseUserAgent, serverResponseHeadersForUserAgentHints };
{
"name": "detect-browser-es",
"type": "module",
"version": "0.0.1",
"packageManager": "pnpm@8.9.2",
"version": "0.1.0",
"packageManager": "pnpm@8.11.0",
"license": "MIT",

@@ -16,9 +16,14 @@ "homepage": "https://github.com/userquin/detect-browser-es#readme",

".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
}
},
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",

@@ -29,3 +34,3 @@ "files": [

"scripts": {
"build": "unbuild",
"build": "tsup src/index.ts --format cjs,esm --dts --no-splitting",
"dev": "vitest",

@@ -50,3 +55,3 @@ "lint": "eslint .",

"@antfu/eslint-config": "^0.43.1",
"@antfu/ni": "^0.21.8",
"@antfu/ni": "^0.21.10",
"@types/mocha": "^10.0.2",

@@ -68,8 +73,9 @@ "@types/node": "^18.18.4",

"jsdom": "^22.1.0",
"publint": "^0.2.5",
"ts-node": "^10.9.1",
"typescript": "^5.2.2",
"unbuild": "^1.2.1",
"vitest": "^1.0.0-beta.2",
"tsup": "^8.0.1",
"typescript": "^5.3.2",
"vitest": "^1.0.0-beta.5",
"webdriverio": "^8.18.0"
}
}
# detect-browser-es
[![bundle size](https://flat.badgen.net/bundlephobia/minzip/detect-browser-es)](https://bundlephobia.com/package/detect-browser-es)
[![npm version][npm-version-src]][npm-version-href]
[![npm downloads][npm-downloads-src]][npm-downloads-href]
[![License][license-src]][license-href]

@@ -86,1 +88,11 @@ ESM build of [detect-browser](https://www.npmjs.com/package/detect-browser) with server info via [std-env](https://github.com/unjs/std-env).

[MIT](./LICENSE)
<!-- Badges -->
[npm-version-src]: https://img.shields.io/npm/v/detect-browser-es?style=flat&colorA=18181B&colorB=F0DB4F
[npm-version-href]: https://npmjs.com/package/detect-browser-es
[npm-downloads-src]: https://img.shields.io/npm/dm/detect-browser-es?style=flat&colorA=18181B&colorB=F0DB4F
[npm-downloads-href]: https://npmjs.com/package/detect-browser-es
[license-src]: https://img.shields.io/github/license/userquin/detect-browser-es.svg?style=flat&colorA=18181B&colorB=F0DB4F
[license-href]: https://github.com/userquin/detect-browser-es/blob/main/LICENSE

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