detect-browser-es
Advanced tools
Comparing version 0.0.1 to 0.1.0
@@ -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
Possible typosquat attack
Supply chain riskThere is a package with a similar name that is downloaded much more often.
Did you mean |
---|
detect-browser |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
50065
7
973
98
24
1