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

detector

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

detector - npm Package Compare versions

Comparing version 2.4.5 to 2.5.0

web/detector.js

31

package.json
{
"name": "detector",
"version": "2.4.5",
"version": "2.5.0",
"description": "The module for detect client-side information.",

@@ -11,2 +11,3 @@ "homepage": "http://spmjs.io/docs/detector/",

"main": "./lib/node-detector.js",
"browser": "./web/web-detector.js",
"bin": {

@@ -16,3 +17,5 @@ "detector": "./bin/detector"

"scripts": {
"test": "make test"
"test": "make test",
"build": "rm -rf web/* && babel ./lib --out-dir ./web/ --ignore node-detector.js && rm ./web/rules.js",
"prepublish": "npm run build"
},

@@ -29,2 +32,10 @@ "keywords": [

],
"files": [
"lib",
"bin",
"web",
"package.json",
"README.md",
"README-zh_CN.md"
],
"repository": {

@@ -49,2 +60,11 @@ "type": "git",

},
"babel": {
"presets": [
"es2015",
"stage-0"
],
"plugins": [
"add-module-exports"
]
},
"dependencies": {

@@ -55,2 +75,6 @@ "colors": "0.6.2",

"devDependencies": {
"babel-cli": "^6.10.1",
"babel-plugin-add-module-exports": "^0.2.1",
"babel-preset-es2015": "^6.9.0",
"babel-preset-stage-0": "^6.5.0",
"eslint": "~1.4.3",

@@ -61,4 +85,3 @@ "expect.js": "0.3.1",

"spm": "~3.6.12"
},
"browser": "./web-detector.js"
}
}
.eslintrc
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