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

device-detector

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

device-detector - npm Package Compare versions

Comparing version 0.1.12 to 0.1.16

5

package.json
{
"version": "0.1.12",
"version": "0.1.16",
"name": "device-detector",

@@ -13,3 +13,3 @@ "description": "Simple way to detect device info on Node.js and Browser",

"engines": {
"node": ">= 0.9"
"node": ">= 4.0"
},

@@ -20,3 +20,2 @@ "scripts": {

"devDependencies": {
"traceur": "latest",
"bellajs": "latest",

@@ -23,0 +22,0 @@ "mocha": "latest",

2

README.md

@@ -6,3 +6,3 @@ device-detector

![Travis](https://travis-ci.org/ndaidong/average-rating.svg?branch=master)
[![NPM](https://badge.fury.io/js/device-detector.svg)](https://badge.fury.io/js/device-detector) ![Travis](https://travis-ci.org/ndaidong/average-rating.svg?branch=master)

@@ -9,0 +9,0 @@ # Contents

@@ -7,5 +7,7 @@ /**

import path from 'path';
import chai from 'chai';
'use strict';
var path = require('path');
var chai = require('chai');
chai.should();

@@ -12,0 +14,0 @@ var expect = chai.expect;

@@ -7,5 +7,7 @@ /**

import path from 'path';
import chai from 'chai';
'use strict';
var path = require('path');
var chai = require('chai');
chai.should();

@@ -12,0 +14,0 @@ var expect = chai.expect;

@@ -7,5 +7,7 @@ /**

import path from 'path';
import chai from 'chai';
'use strict';
var path = require('path');
var chai = require('chai');
chai.should();

@@ -12,0 +14,0 @@ var expect = chai.expect;

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

var traceur = require('traceur');
traceur.require.makeDefault((filename) => {
return filename.indexOf('node_modules') === -1;
});
'use strict';

@@ -14,6 +11,6 @@ var fs = require('fs');

var dirs = [''];
dirs.forEach(function(dir){
var where = './test/specs/' + dir;
dirs.forEach((dir) => {
let where = './test/specs/' + dir;
if(fs.existsSync(where)){
fs.readdirSync(where).forEach(function(file){
fs.readdirSync(where).forEach((file) => {
if(path.extname(file) === '.js'){

@@ -20,0 +17,0 @@ require(path.join('.' + where, file));

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