Comparing version 1.4.0 to 1.5.0
@@ -86,2 +86,6 @@ /* HEADER BEGIN */ | ||
} | ||
if (ua.indexOf('BingPreview') >= 0) { | ||
updateMap(result, dataset.get('BingPreview')); | ||
return true; | ||
} | ||
if (ua.indexOf('Baidu') >= 0) { | ||
@@ -88,0 +92,0 @@ if (ua.indexOf('compatible; Baiduspider') >= 0 || |
@@ -37,3 +37,3 @@ var KEY_LABEL = exports.KEY_LABEL = 'label', | ||
var DATASET = {}; | ||
// GENERATED from dataset.yaml at Tue May 17 15:21:32 JST 2016 by tagomoris | ||
// GENERATED from dataset.yaml at Mon Aug 22 20:49:51 JST 2016 by tagomoris | ||
var obj; | ||
@@ -311,2 +311,6 @@ obj = {label:'MSIE', name:'Internet Explorer', type:'browser'}; | ||
DATASET[obj.label] = obj; | ||
obj = {label:'BingPreview', name:'BingPreview', type:'full'}; | ||
obj['vendor'] = ''; | ||
obj['category'] = 'crawler'; | ||
DATASET[obj.label] = obj; | ||
obj = {label:'Yeti', name:'Naver Yeti', type:'full'}; | ||
@@ -313,0 +317,0 @@ obj['vendor'] = ''; |
{ | ||
"name": "woothee", | ||
"version": "1.4.0", | ||
"version": "1.5.0", | ||
"description": "User-Agent string parser (js implementation)", | ||
@@ -5,0 +5,0 @@ "main": "./release/woothee", |
@@ -5,6 +5,6 @@ (function (){ | ||
// GENERATED from dataset.yaml at Tue May 17 15:21:32 JST 2016 by tagomoris | ||
// GENERATED from dataset.yaml at Mon Aug 22 20:49:52 JST 2016 by tagomoris | ||
// Snapshot from package.json | ||
var package_info = {"name":"woothee","version":"1.4.0","description":"User-Agent string parser (js implementation)","main":"./release/woothee","devDependencies":{"mocha":">= 1.7.0","chai":">= 1.3.0","js-yaml":">= 1.0.3","should":"~1.2.2"},"scripts":{"test":"make test"},"repository":{"type":"git","url":"https://github.com/woothee/woothee-js"},"author":"tagomoris","license":"Apache v2"}; | ||
var package_info = {"name":"woothee","version":"1.5.0","description":"User-Agent string parser (js implementation)","main":"./release/woothee","devDependencies":{"mocha":">= 1.7.0","chai":">= 1.3.0","js-yaml":">= 1.0.3","should":"~1.2.2"},"scripts":{"test":"make test"},"repository":{"type":"git","url":"https://github.com/woothee/woothee-js"},"author":"tagomoris","license":"Apache v2"}; | ||
@@ -45,3 +45,3 @@ var dataset = {}; | ||
var DATASET = {}; | ||
// GENERATED from dataset.yaml at Tue May 17 15:21:32 JST 2016 by tagomoris | ||
// GENERATED from dataset.yaml at Mon Aug 22 20:49:51 JST 2016 by tagomoris | ||
var obj; | ||
@@ -319,2 +319,6 @@ obj = {label:'MSIE', name:'Internet Explorer', type:'browser'}; | ||
DATASET[obj.label] = obj; | ||
obj = {label:'BingPreview', name:'BingPreview', type:'full'}; | ||
obj['vendor'] = ''; | ||
obj['category'] = 'crawler'; | ||
DATASET[obj.label] = obj; | ||
obj = {label:'Yeti', name:'Naver Yeti', type:'full'}; | ||
@@ -949,2 +953,6 @@ obj['vendor'] = ''; | ||
} | ||
if (ua.indexOf('BingPreview') >= 0) { | ||
updateMap(result, dataset.get('BingPreview')); | ||
return true; | ||
} | ||
if (ua.indexOf('Baidu') >= 0) { | ||
@@ -951,0 +959,0 @@ if (ua.indexOf('compatible; Baiduspider') >= 0 || |
@@ -25,2 +25,4 @@ # Project Woothee | ||
* v1.5.0 | ||
* Add BingPreview crawler | ||
* v1.4.0 | ||
@@ -27,0 +29,0 @@ * Add Vivaldi |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
178335
52
2952