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

woothee

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

woothee - npm Package Compare versions

Comparing version 1.10.0 to 1.10.1

352

lib/dataset.js

@@ -35,354 +35,6 @@ var KEY_LABEL = exports.KEY_LABEL = 'label',

var ATTRIBUTE_LIST = exports.ATTRIBUTE_LIST = [ATTRIBUTE_NAME, ATTRIBUTE_CATEGORY, ATTRIBUTE_OS, ATTRIBUTE_VENDOR, ATTRIBUTE_VERSION, ATTRIBUTE_OS_VERSION];
var DATASET = {};
// GENERATED from dataset.yaml at Thu Apr 11 17:12:02 JST 2019 by tagomoris
var obj;
obj = {label:'MSIE', name:'Internet Explorer', type:'browser'};
obj['vendor'] = 'Microsoft';
DATASET[obj.label] = obj;
obj = {label:'Edge', name:'Edge', type:'browser'};
obj['vendor'] = 'Microsoft';
DATASET[obj.label] = obj;
obj = {label:'Chrome', name:'Chrome', type:'browser'};
obj['vendor'] = 'Google';
DATASET[obj.label] = obj;
obj = {label:'Safari', name:'Safari', type:'browser'};
obj['vendor'] = 'Apple';
DATASET[obj.label] = obj;
obj = {label:'Firefox', name:'Firefox', type:'browser'};
obj['vendor'] = 'Mozilla';
DATASET[obj.label] = obj;
obj = {label:'Opera', name:'Opera', type:'browser'};
obj['vendor'] = 'Opera';
DATASET[obj.label] = obj;
obj = {label:'Vivaldi', name:'Vivaldi', type:'browser'};
obj['vendor'] = 'Vivaldi Technologies';
DATASET[obj.label] = obj;
obj = {label:'Sleipnir', name:'Sleipnir', type:'browser'};
obj['vendor'] = 'Fenrir Inc.';
DATASET[obj.label] = obj;
obj = {label:'Webview', name:'Webview', type:'browser'};
obj['vendor'] = 'OS vendor';
DATASET[obj.label] = obj;
obj = {label:'YaBrowser', name:'Yandex Browser', type:'browser'};
obj['vendor'] = 'Yandex';
DATASET[obj.label] = obj;
obj = {label:'Win', name:'Windows UNKNOWN Ver', type:'os'};
obj['category'] = 'pc';
DATASET[obj.label] = obj;
obj = {label:'Win10', name:'Windows 10', type:'os'};
obj['category'] = 'pc';
DATASET[obj.label] = obj;
obj = {label:'Win8.1', name:'Windows 8.1', type:'os'};
obj['category'] = 'pc';
DATASET[obj.label] = obj;
obj = {label:'Win8', name:'Windows 8', type:'os'};
obj['category'] = 'pc';
DATASET[obj.label] = obj;
obj = {label:'Win7', name:'Windows 7', type:'os'};
obj['category'] = 'pc';
DATASET[obj.label] = obj;
obj = {label:'WinVista', name:'Windows Vista', type:'os'};
obj['category'] = 'pc';
DATASET[obj.label] = obj;
obj = {label:'WinXP', name:'Windows XP', type:'os'};
obj['category'] = 'pc';
DATASET[obj.label] = obj;
obj = {label:'Win2000', name:'Windows 2000', type:'os'};
obj['category'] = 'pc';
DATASET[obj.label] = obj;
obj = {label:'WinNT4', name:'Windows NT 4.0', type:'os'};
obj['category'] = 'pc';
DATASET[obj.label] = obj;
obj = {label:'WinMe', name:'Windows Me', type:'os'};
obj['category'] = 'pc';
DATASET[obj.label] = obj;
obj = {label:'Win98', name:'Windows 98', type:'os'};
obj['category'] = 'pc';
DATASET[obj.label] = obj;
obj = {label:'Win95', name:'Windows 95', type:'os'};
obj['category'] = 'pc';
DATASET[obj.label] = obj;
obj = {label:'WinPhone', name:'Windows Phone OS', type:'os'};
obj['category'] = 'smartphone';
DATASET[obj.label] = obj;
obj = {label:'WinCE', name:'Windows CE', type:'os'};
obj['category'] = 'smartphone';
DATASET[obj.label] = obj;
obj = {label:'OSX', name:'Mac OSX', type:'os'};
obj['category'] = 'pc';
DATASET[obj.label] = obj;
obj = {label:'MacOS', name:'Mac OS Classic', type:'os'};
obj['category'] = 'pc';
DATASET[obj.label] = obj;
obj = {label:'Linux', name:'Linux', type:'os'};
obj['category'] = 'pc';
DATASET[obj.label] = obj;
obj = {label:'BSD', name:'BSD', type:'os'};
obj['category'] = 'pc';
DATASET[obj.label] = obj;
obj = {label:'ChromeOS', name:'ChromeOS', type:'os'};
obj['category'] = 'pc';
DATASET[obj.label] = obj;
obj = {label:'Android', name:'Android', type:'os'};
obj['category'] = 'smartphone';
DATASET[obj.label] = obj;
obj = {label:'iPhone', name:'iPhone', type:'os'};
obj['category'] = 'smartphone';
DATASET[obj.label] = obj;
obj = {label:'iPad', name:'iPad', type:'os'};
obj['category'] = 'smartphone';
DATASET[obj.label] = obj;
obj = {label:'iPod', name:'iPod', type:'os'};
obj['category'] = 'smartphone';
DATASET[obj.label] = obj;
obj = {label:'iOS', name:'iOS', type:'os'};
obj['category'] = 'smartphone';
DATASET[obj.label] = obj;
obj = {label:'FirefoxOS', name:'Firefox OS', type:'os'};
obj['category'] = 'smartphone';
DATASET[obj.label] = obj;
obj = {label:'BlackBerry', name:'BlackBerry', type:'os'};
obj['category'] = 'smartphone';
DATASET[obj.label] = obj;
obj = {label:'BlackBerry10', name:'BlackBerry 10', type:'os'};
obj['category'] = 'smartphone';
DATASET[obj.label] = obj;
obj = {label:'docomo', name:'docomo', type:'full'};
obj['vendor'] = 'docomo';
obj['category'] = 'mobilephone';
obj['os'] = 'docomo';
DATASET[obj.label] = obj;
obj = {label:'au', name:'au by KDDI', type:'full'};
obj['vendor'] = 'au';
obj['category'] = 'mobilephone';
obj['os'] = 'au';
DATASET[obj.label] = obj;
obj = {label:'SoftBank', name:'SoftBank Mobile', type:'full'};
obj['vendor'] = 'SoftBank';
obj['category'] = 'mobilephone';
obj['os'] = 'SoftBank';
DATASET[obj.label] = obj;
obj = {label:'willcom', name:'WILLCOM', type:'full'};
obj['vendor'] = 'WILLCOM';
obj['category'] = 'mobilephone';
obj['os'] = 'WILLCOM';
DATASET[obj.label] = obj;
obj = {label:'jig', name:'jig browser', type:'full'};
obj['vendor'] = '';
obj['category'] = 'mobilephone';
obj['os'] = 'jig';
DATASET[obj.label] = obj;
obj = {label:'emobile', name:'emobile', type:'full'};
obj['vendor'] = '';
obj['category'] = 'mobilephone';
obj['os'] = 'emobile';
DATASET[obj.label] = obj;
obj = {label:'SymbianOS', name:'SymbianOS', type:'full'};
obj['vendor'] = '';
obj['category'] = 'mobilephone';
obj['os'] = 'SymbianOS';
DATASET[obj.label] = obj;
obj = {label:'MobileTranscoder', name:'Mobile Transcoder', type:'full'};
obj['vendor'] = '';
obj['category'] = 'mobilephone';
obj['os'] = 'Mobile Transcoder';
DATASET[obj.label] = obj;
obj = {label:'Nintendo3DS', name:'Nintendo 3DS', type:'full'};
obj['vendor'] = 'Nintendo';
obj['category'] = 'appliance';
obj['os'] = 'Nintendo 3DS';
DATASET[obj.label] = obj;
obj = {label:'NintendoDSi', name:'Nintendo DSi', type:'full'};
obj['vendor'] = 'Nintendo';
obj['category'] = 'appliance';
obj['os'] = 'Nintendo DSi';
DATASET[obj.label] = obj;
obj = {label:'NintendoWii', name:'Nintendo Wii', type:'full'};
obj['vendor'] = 'Nintendo';
obj['category'] = 'appliance';
obj['os'] = 'Nintendo Wii';
DATASET[obj.label] = obj;
obj = {label:'NintendoWiiU', name:'Nintendo Wii U', type:'full'};
obj['vendor'] = 'Nintendo';
obj['category'] = 'appliance';
obj['os'] = 'Nintendo Wii U';
DATASET[obj.label] = obj;
obj = {label:'PSP', name:'PlayStation Portable', type:'full'};
obj['vendor'] = 'Sony';
obj['category'] = 'appliance';
obj['os'] = 'PlayStation Portable';
DATASET[obj.label] = obj;
obj = {label:'PSVita', name:'PlayStation Vita', type:'full'};
obj['vendor'] = 'Sony';
obj['category'] = 'appliance';
obj['os'] = 'PlayStation Vita';
DATASET[obj.label] = obj;
obj = {label:'PS3', name:'PlayStation 3', type:'full'};
obj['vendor'] = 'Sony';
obj['category'] = 'appliance';
obj['os'] = 'PlayStation 3';
DATASET[obj.label] = obj;
obj = {label:'PS4', name:'PlayStation 4', type:'full'};
obj['vendor'] = 'Sony';
obj['category'] = 'appliance';
obj['os'] = 'PlayStation 4';
DATASET[obj.label] = obj;
obj = {label:'Xbox360', name:'Xbox 360', type:'full'};
obj['vendor'] = 'Microsoft';
obj['category'] = 'appliance';
obj['os'] = 'Xbox 360';
DATASET[obj.label] = obj;
obj = {label:'XboxOne', name:'Xbox One', type:'full'};
obj['vendor'] = 'Microsoft';
obj['category'] = 'appliance';
obj['os'] = 'Xbox One';
DATASET[obj.label] = obj;
obj = {label:'DigitalTV', name:'InternetTVBrowser', type:'full'};
obj['vendor'] = '';
obj['category'] = 'appliance';
obj['os'] = 'DigitalTV';
DATASET[obj.label] = obj;
obj = {label:'SafariRSSReader', name:'Safari RSSReader', type:'full'};
obj['vendor'] = 'Apple';
obj['category'] = 'misc';
DATASET[obj.label] = obj;
obj = {label:'GoogleDesktop', name:'Google Desktop', type:'full'};
obj['vendor'] = 'Google';
obj['category'] = 'misc';
DATASET[obj.label] = obj;
obj = {label:'WindowsRSSReader', name:'Windows RSSReader', type:'full'};
obj['vendor'] = 'Microsoft';
obj['category'] = 'misc';
DATASET[obj.label] = obj;
obj = {label:'VariousRSSReader', name:'RSSReader', type:'full'};
obj['vendor'] = '';
obj['category'] = 'misc';
DATASET[obj.label] = obj;
obj = {label:'HTTPLibrary', name:'HTTP Library', type:'full'};
obj['vendor'] = '';
obj['category'] = 'misc';
DATASET[obj.label] = obj;
obj = {label:'GoogleBot', name:'Googlebot', type:'full'};
obj['vendor'] = '';
obj['category'] = 'crawler';
DATASET[obj.label] = obj;
obj = {label:'GoogleBotMobile', name:'Googlebot Mobile', type:'full'};
obj['vendor'] = '';
obj['category'] = 'crawler';
DATASET[obj.label] = obj;
obj = {label:'GoogleMediaPartners', name:'Google Mediapartners', type:'full'};
obj['vendor'] = '';
obj['category'] = 'crawler';
DATASET[obj.label] = obj;
obj = {label:'GoogleFeedFetcher', name:'Google Feedfetcher', type:'full'};
obj['vendor'] = '';
obj['category'] = 'crawler';
DATASET[obj.label] = obj;
obj = {label:'GoogleAppEngine', name:'Google AppEngine', type:'full'};
obj['vendor'] = '';
obj['category'] = 'crawler';
DATASET[obj.label] = obj;
obj = {label:'GoogleWebPreview', name:'Google Web Preview', type:'full'};
obj['vendor'] = '';
obj['category'] = 'crawler';
DATASET[obj.label] = obj;
obj = {label:'YahooSlurp', name:'Yahoo! Slurp', type:'full'};
obj['vendor'] = '';
obj['category'] = 'crawler';
DATASET[obj.label] = obj;
obj = {label:'YahooJP', name:'Yahoo! Japan', type:'full'};
obj['vendor'] = '';
obj['category'] = 'crawler';
DATASET[obj.label] = obj;
obj = {label:'YahooPipes', name:'Yahoo! Pipes', type:'full'};
obj['vendor'] = '';
obj['category'] = 'crawler';
DATASET[obj.label] = obj;
obj = {label:'Baiduspider', name:'Baiduspider', type:'full'};
obj['vendor'] = '';
obj['category'] = 'crawler';
DATASET[obj.label] = obj;
obj = {label:'msnbot', name:'msnbot', type:'full'};
obj['vendor'] = '';
obj['category'] = 'crawler';
DATASET[obj.label] = obj;
obj = {label:'bingbot', name:'bingbot', type:'full'};
obj['vendor'] = '';
obj['category'] = 'crawler';
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'};
obj['vendor'] = '';
obj['category'] = 'crawler';
DATASET[obj.label] = obj;
obj = {label:'FeedBurner', name:'Google FeedBurner', type:'full'};
obj['vendor'] = '';
obj['category'] = 'crawler';
DATASET[obj.label] = obj;
obj = {label:'facebook', name:'facebook', type:'full'};
obj['vendor'] = '';
obj['category'] = 'crawler';
DATASET[obj.label] = obj;
obj = {label:'twitter', name:'twitter', type:'full'};
obj['vendor'] = '';
obj['category'] = 'crawler';
DATASET[obj.label] = obj;
obj = {label:'trendictionbot', name:'trendiction', type:'full'};
obj['vendor'] = '';
obj['category'] = 'crawler';
DATASET[obj.label] = obj;
obj = {label:'mixi', name:'mixi', type:'full'};
obj['vendor'] = '';
obj['category'] = 'crawler';
DATASET[obj.label] = obj;
obj = {label:'IndyLibrary', name:'Indy Library', type:'full'};
obj['vendor'] = '';
obj['category'] = 'crawler';
DATASET[obj.label] = obj;
obj = {label:'ApplePubSub', name:'Apple iCloud', type:'full'};
obj['vendor'] = '';
obj['category'] = 'crawler';
DATASET[obj.label] = obj;
obj = {label:'Genieo', name:'Genieo Web Filter', type:'full'};
obj['vendor'] = '';
obj['category'] = 'crawler';
DATASET[obj.label] = obj;
obj = {label:'topsyButterfly', name:'topsy Butterfly', type:'full'};
obj['vendor'] = '';
obj['category'] = 'crawler';
DATASET[obj.label] = obj;
obj = {label:'rogerbot', name:'SeoMoz rogerbot', type:'full'};
obj['vendor'] = '';
obj['category'] = 'crawler';
DATASET[obj.label] = obj;
obj = {label:'AhrefsBot', name:'ahref AhrefsBot', type:'full'};
obj['vendor'] = '';
obj['category'] = 'crawler';
DATASET[obj.label] = obj;
obj = {label:'radian6', name:'salesforce radian6', type:'full'};
obj['vendor'] = '';
obj['category'] = 'crawler';
DATASET[obj.label] = obj;
obj = {label:'Hatena', name:'Hatena', type:'full'};
obj['vendor'] = '';
obj['category'] = 'crawler';
DATASET[obj.label] = obj;
obj = {label:'goo', name:'goo', type:'full'};
obj['vendor'] = '';
obj['category'] = 'crawler';
DATASET[obj.label] = obj;
obj = {label:'livedoorFeedFetcher', name:'livedoor FeedFetcher', type:'full'};
obj['vendor'] = '';
obj['category'] = 'crawler';
DATASET[obj.label] = obj;
obj = {label:'VariousCrawler', name:'misc crawler', type:'full'};
obj['vendor'] = '';
obj['category'] = 'crawler';
DATASET[obj.label] = obj;
// GENERATED from dataset.yaml at Mon Aug 5 11:54:13 JST 2019 by tagomoris
var DATASET = {MSIE: {label: "MSIE", name: "Internet Explorer", type: "browser", vendor: "Microsoft"}, Edge: {label: "Edge", name: "Edge", type: "browser", vendor: "Microsoft"}, Chrome: {label: "Chrome", name: "Chrome", type: "browser", vendor: "Google"}, Safari: {label: "Safari", name: "Safari", type: "browser", vendor: "Apple"}, Firefox: {label: "Firefox", name: "Firefox", type: "browser", vendor: "Mozilla"}, Opera: {label: "Opera", name: "Opera", type: "browser", vendor: "Opera"}, Vivaldi: {label: "Vivaldi", name: "Vivaldi", type: "browser", vendor: "Vivaldi Technologies"}, Sleipnir: {label: "Sleipnir", name: "Sleipnir", type: "browser", vendor: "Fenrir Inc."}, Webview: {label: "Webview", name: "Webview", type: "browser", vendor: "OS vendor"}, YaBrowser: {label: "YaBrowser", name: "Yandex Browser", type: "browser", vendor: "Yandex"}, Win: {label: "Win", name: "Windows UNKNOWN Ver", type: "os", category: "pc"}, Win10: {label: "Win10", name: "Windows 10", type: "os", category: "pc"}, "Win8.1": {label: "Win8.1", name: "Windows 8.1", type: "os", category: "pc"}, Win8: {label: "Win8", name: "Windows 8", type: "os", category: "pc"}, Win7: {label: "Win7", name: "Windows 7", type: "os", category: "pc"}, WinVista: {label: "WinVista", name: "Windows Vista", type: "os", category: "pc"}, WinXP: {label: "WinXP", name: "Windows XP", type: "os", category: "pc"}, Win2000: {label: "Win2000", name: "Windows 2000", type: "os", category: "pc"}, WinNT4: {label: "WinNT4", name: "Windows NT 4.0", type: "os", category: "pc"}, WinMe: {label: "WinMe", name: "Windows Me", type: "os", category: "pc"}, Win98: {label: "Win98", name: "Windows 98", type: "os", category: "pc"}, Win95: {label: "Win95", name: "Windows 95", type: "os", category: "pc"}, WinPhone: {label: "WinPhone", name: "Windows Phone OS", type: "os", category: "smartphone"}, WinCE: {label: "WinCE", name: "Windows CE", type: "os", category: "smartphone"}, OSX: {label: "OSX", name: "Mac OSX", type: "os", category: "pc"}, MacOS: {label: "MacOS", name: "Mac OS Classic", type: "os", category: "pc"}, Linux: {label: "Linux", name: "Linux", type: "os", category: "pc"}, BSD: {label: "BSD", name: "BSD", type: "os", category: "pc"}, ChromeOS: {label: "ChromeOS", name: "ChromeOS", type: "os", category: "pc"}, Android: {label: "Android", name: "Android", type: "os", category: "smartphone"}, iPhone: {label: "iPhone", name: "iPhone", type: "os", category: "smartphone"}, iPad: {label: "iPad", name: "iPad", type: "os", category: "smartphone"}, iPod: {label: "iPod", name: "iPod", type: "os", category: "smartphone"}, iOS: {label: "iOS", name: "iOS", type: "os", category: "smartphone"}, FirefoxOS: {label: "FirefoxOS", name: "Firefox OS", type: "os", category: "smartphone"}, BlackBerry: {label: "BlackBerry", name: "BlackBerry", type: "os", category: "smartphone"}, BlackBerry10: {label: "BlackBerry10", name: "BlackBerry 10", type: "os", category: "smartphone"}, docomo: {label: "docomo", name: "docomo", type: "full", vendor: "docomo", category: "mobilephone", os: "docomo"}, au: {label: "au", name: "au by KDDI", type: "full", vendor: "au", category: "mobilephone", os: "au"}, SoftBank: {label: "SoftBank", name: "SoftBank Mobile", type: "full", vendor: "SoftBank", category: "mobilephone", os: "SoftBank"}, willcom: {label: "willcom", name: "WILLCOM", type: "full", vendor: "WILLCOM", category: "mobilephone", os: "WILLCOM"}, jig: {label: "jig", name: "jig browser", type: "full", vendor: "", category: "mobilephone", os: "jig"}, emobile: {label: "emobile", name: "emobile", type: "full", vendor: "", category: "mobilephone", os: "emobile"}, SymbianOS: {label: "SymbianOS", name: "SymbianOS", type: "full", vendor: "", category: "mobilephone", os: "SymbianOS"}, MobileTranscoder: {label: "MobileTranscoder", name: "Mobile Transcoder", type: "full", vendor: "", category: "mobilephone", os: "Mobile Transcoder"}, Nintendo3DS: {label: "Nintendo3DS", name: "Nintendo 3DS", type: "full", vendor: "Nintendo", category: "appliance", os: "Nintendo 3DS"}, NintendoDSi: {label: "NintendoDSi", name: "Nintendo DSi", type: "full", vendor: "Nintendo", category: "appliance", os: "Nintendo DSi"}, NintendoWii: {label: "NintendoWii", name: "Nintendo Wii", type: "full", vendor: "Nintendo", category: "appliance", os: "Nintendo Wii"}, NintendoWiiU: {label: "NintendoWiiU", name: "Nintendo Wii U", type: "full", vendor: "Nintendo", category: "appliance", os: "Nintendo Wii U"}, PSP: {label: "PSP", name: "PlayStation Portable", type: "full", vendor: "Sony", category: "appliance", os: "PlayStation Portable"}, PSVita: {label: "PSVita", name: "PlayStation Vita", type: "full", vendor: "Sony", category: "appliance", os: "PlayStation Vita"}, PS3: {label: "PS3", name: "PlayStation 3", type: "full", vendor: "Sony", category: "appliance", os: "PlayStation 3"}, PS4: {label: "PS4", name: "PlayStation 4", type: "full", vendor: "Sony", category: "appliance", os: "PlayStation 4"}, Xbox360: {label: "Xbox360", name: "Xbox 360", type: "full", vendor: "Microsoft", category: "appliance", os: "Xbox 360"}, XboxOne: {label: "XboxOne", name: "Xbox One", type: "full", vendor: "Microsoft", category: "appliance", os: "Xbox One"}, DigitalTV: {label: "DigitalTV", name: "InternetTVBrowser", type: "full", vendor: "", category: "appliance", os: "DigitalTV"}, SafariRSSReader: {label: "SafariRSSReader", name: "Safari RSSReader", type: "full", vendor: "Apple", category: "misc"}, GoogleDesktop: {label: "GoogleDesktop", name: "Google Desktop", type: "full", vendor: "Google", category: "misc"}, WindowsRSSReader: {label: "WindowsRSSReader", name: "Windows RSSReader", type: "full", vendor: "Microsoft", category: "misc"}, VariousRSSReader: {label: "VariousRSSReader", name: "RSSReader", type: "full", vendor: "", category: "misc"}, HTTPLibrary: {label: "HTTPLibrary", name: "HTTP Library", type: "full", vendor: "", category: "misc"}, GoogleBot: {label: "GoogleBot", name: "Googlebot", type: "full", vendor: "", category: "crawler"}, GoogleBotMobile: {label: "GoogleBotMobile", name: "Googlebot Mobile", type: "full", vendor: "", category: "crawler"}, GoogleMediaPartners: {label: "GoogleMediaPartners", name: "Google Mediapartners", type: "full", vendor: "", category: "crawler"}, GoogleFeedFetcher: {label: "GoogleFeedFetcher", name: "Google Feedfetcher", type: "full", vendor: "", category: "crawler"}, GoogleAppEngine: {label: "GoogleAppEngine", name: "Google AppEngine", type: "full", vendor: "", category: "crawler"}, GoogleWebPreview: {label: "GoogleWebPreview", name: "Google Web Preview", type: "full", vendor: "", category: "crawler"}, YahooSlurp: {label: "YahooSlurp", name: "Yahoo! Slurp", type: "full", vendor: "", category: "crawler"}, YahooJP: {label: "YahooJP", name: "Yahoo! Japan", type: "full", vendor: "", category: "crawler"}, YahooPipes: {label: "YahooPipes", name: "Yahoo! Pipes", type: "full", vendor: "", category: "crawler"}, Baiduspider: {label: "Baiduspider", name: "Baiduspider", type: "full", vendor: "", category: "crawler"}, msnbot: {label: "msnbot", name: "msnbot", type: "full", vendor: "", category: "crawler"}, bingbot: {label: "bingbot", name: "bingbot", type: "full", vendor: "", category: "crawler"}, BingPreview: {label: "BingPreview", name: "BingPreview", type: "full", vendor: "", category: "crawler"}, Yeti: {label: "Yeti", name: "Naver Yeti", type: "full", vendor: "", category: "crawler"}, FeedBurner: {label: "FeedBurner", name: "Google FeedBurner", type: "full", vendor: "", category: "crawler"}, facebook: {label: "facebook", name: "facebook", type: "full", vendor: "", category: "crawler"}, twitter: {label: "twitter", name: "twitter", type: "full", vendor: "", category: "crawler"}, trendictionbot: {label: "trendictionbot", name: "trendiction", type: "full", vendor: "", category: "crawler"}, mixi: {label: "mixi", name: "mixi", type: "full", vendor: "", category: "crawler"}, IndyLibrary: {label: "IndyLibrary", name: "Indy Library", type: "full", vendor: "", category: "crawler"}, ApplePubSub: {label: "ApplePubSub", name: "Apple iCloud", type: "full", vendor: "", category: "crawler"}, Genieo: {label: "Genieo", name: "Genieo Web Filter", type: "full", vendor: "", category: "crawler"}, topsyButterfly: {label: "topsyButterfly", name: "topsy Butterfly", type: "full", vendor: "", category: "crawler"}, rogerbot: {label: "rogerbot", name: "SeoMoz rogerbot", type: "full", vendor: "", category: "crawler"}, AhrefsBot: {label: "AhrefsBot", name: "ahref AhrefsBot", type: "full", vendor: "", category: "crawler"}, radian6: {label: "radian6", name: "salesforce radian6", type: "full", vendor: "", category: "crawler"}, Hatena: {label: "Hatena", name: "Hatena", type: "full", vendor: "", category: "crawler"}, goo: {label: "goo", name: "goo", type: "full", vendor: "", category: "crawler"}, livedoorFeedFetcher: {label: "livedoorFeedFetcher", name: "livedoor FeedFetcher", type: "full", vendor: "", category: "crawler"}, VariousCrawler: {label: "VariousCrawler", name: "misc crawler", type: "full", vendor: "", category: "crawler"}};
var get = exports.get = function(label) {
return DATASET[label];
};

3

package.json
{
"name": "woothee",
"version": "1.10.0",
"version": "1.10.1",
"description": "User-Agent string parser (js implementation)",

@@ -10,2 +10,3 @@ "main": "./release/woothee",

"mocha": "^6.0.0",
"serialize-to-js": "^3.0.0",
"should": "~1.2.2"

@@ -12,0 +13,0 @@ },

@@ -5,6 +5,6 @@ (function (){

// GENERATED from dataset.yaml at Thu Apr 11 17:12:03 JST 2019 by tagomoris
// GENERATED from dataset.yaml at Mon Aug 5 11:54:14 JST 2019 by tagomoris
// Snapshot from package.json
var package_info = {"name":"woothee","version":"1.10.0","description":"User-Agent string parser (js implementation)","main":"./release/woothee","devDependencies":{"chai":">= 1.3.0","js-yaml":">= 1.0.3","mocha":"^6.0.0","should":"~1.2.2"},"scripts":{"test":"make test"},"repository":{"type":"git","url":"https://github.com/woothee/woothee-js"},"author":"tagomoris","license":"Apache-2.0"};
var package_info = {"name":"woothee","version":"1.10.1","description":"User-Agent string parser (js implementation)","main":"./release/woothee","devDependencies":{"chai":">= 1.3.0","js-yaml":">= 1.0.3","mocha":"^6.0.0","serialize-to-js":"^3.0.0","should":"~1.2.2"},"scripts":{"test":"make test"},"repository":{"type":"git","url":"https://github.com/woothee/woothee-js"},"author":"tagomoris","license":"Apache-2.0"};

@@ -44,351 +44,4 @@ var dataset = {};

var ATTRIBUTE_LIST = exports.ATTRIBUTE_LIST = [ATTRIBUTE_NAME, ATTRIBUTE_CATEGORY, ATTRIBUTE_OS, ATTRIBUTE_VENDOR, ATTRIBUTE_VERSION, ATTRIBUTE_OS_VERSION];
var DATASET = {};
// GENERATED from dataset.yaml at Thu Apr 11 17:12:02 JST 2019 by tagomoris
var obj;
obj = {label:'MSIE', name:'Internet Explorer', type:'browser'};
obj['vendor'] = 'Microsoft';
DATASET[obj.label] = obj;
obj = {label:'Edge', name:'Edge', type:'browser'};
obj['vendor'] = 'Microsoft';
DATASET[obj.label] = obj;
obj = {label:'Chrome', name:'Chrome', type:'browser'};
obj['vendor'] = 'Google';
DATASET[obj.label] = obj;
obj = {label:'Safari', name:'Safari', type:'browser'};
obj['vendor'] = 'Apple';
DATASET[obj.label] = obj;
obj = {label:'Firefox', name:'Firefox', type:'browser'};
obj['vendor'] = 'Mozilla';
DATASET[obj.label] = obj;
obj = {label:'Opera', name:'Opera', type:'browser'};
obj['vendor'] = 'Opera';
DATASET[obj.label] = obj;
obj = {label:'Vivaldi', name:'Vivaldi', type:'browser'};
obj['vendor'] = 'Vivaldi Technologies';
DATASET[obj.label] = obj;
obj = {label:'Sleipnir', name:'Sleipnir', type:'browser'};
obj['vendor'] = 'Fenrir Inc.';
DATASET[obj.label] = obj;
obj = {label:'Webview', name:'Webview', type:'browser'};
obj['vendor'] = 'OS vendor';
DATASET[obj.label] = obj;
obj = {label:'YaBrowser', name:'Yandex Browser', type:'browser'};
obj['vendor'] = 'Yandex';
DATASET[obj.label] = obj;
obj = {label:'Win', name:'Windows UNKNOWN Ver', type:'os'};
obj['category'] = 'pc';
DATASET[obj.label] = obj;
obj = {label:'Win10', name:'Windows 10', type:'os'};
obj['category'] = 'pc';
DATASET[obj.label] = obj;
obj = {label:'Win8.1', name:'Windows 8.1', type:'os'};
obj['category'] = 'pc';
DATASET[obj.label] = obj;
obj = {label:'Win8', name:'Windows 8', type:'os'};
obj['category'] = 'pc';
DATASET[obj.label] = obj;
obj = {label:'Win7', name:'Windows 7', type:'os'};
obj['category'] = 'pc';
DATASET[obj.label] = obj;
obj = {label:'WinVista', name:'Windows Vista', type:'os'};
obj['category'] = 'pc';
DATASET[obj.label] = obj;
obj = {label:'WinXP', name:'Windows XP', type:'os'};
obj['category'] = 'pc';
DATASET[obj.label] = obj;
obj = {label:'Win2000', name:'Windows 2000', type:'os'};
obj['category'] = 'pc';
DATASET[obj.label] = obj;
obj = {label:'WinNT4', name:'Windows NT 4.0', type:'os'};
obj['category'] = 'pc';
DATASET[obj.label] = obj;
obj = {label:'WinMe', name:'Windows Me', type:'os'};
obj['category'] = 'pc';
DATASET[obj.label] = obj;
obj = {label:'Win98', name:'Windows 98', type:'os'};
obj['category'] = 'pc';
DATASET[obj.label] = obj;
obj = {label:'Win95', name:'Windows 95', type:'os'};
obj['category'] = 'pc';
DATASET[obj.label] = obj;
obj = {label:'WinPhone', name:'Windows Phone OS', type:'os'};
obj['category'] = 'smartphone';
DATASET[obj.label] = obj;
obj = {label:'WinCE', name:'Windows CE', type:'os'};
obj['category'] = 'smartphone';
DATASET[obj.label] = obj;
obj = {label:'OSX', name:'Mac OSX', type:'os'};
obj['category'] = 'pc';
DATASET[obj.label] = obj;
obj = {label:'MacOS', name:'Mac OS Classic', type:'os'};
obj['category'] = 'pc';
DATASET[obj.label] = obj;
obj = {label:'Linux', name:'Linux', type:'os'};
obj['category'] = 'pc';
DATASET[obj.label] = obj;
obj = {label:'BSD', name:'BSD', type:'os'};
obj['category'] = 'pc';
DATASET[obj.label] = obj;
obj = {label:'ChromeOS', name:'ChromeOS', type:'os'};
obj['category'] = 'pc';
DATASET[obj.label] = obj;
obj = {label:'Android', name:'Android', type:'os'};
obj['category'] = 'smartphone';
DATASET[obj.label] = obj;
obj = {label:'iPhone', name:'iPhone', type:'os'};
obj['category'] = 'smartphone';
DATASET[obj.label] = obj;
obj = {label:'iPad', name:'iPad', type:'os'};
obj['category'] = 'smartphone';
DATASET[obj.label] = obj;
obj = {label:'iPod', name:'iPod', type:'os'};
obj['category'] = 'smartphone';
DATASET[obj.label] = obj;
obj = {label:'iOS', name:'iOS', type:'os'};
obj['category'] = 'smartphone';
DATASET[obj.label] = obj;
obj = {label:'FirefoxOS', name:'Firefox OS', type:'os'};
obj['category'] = 'smartphone';
DATASET[obj.label] = obj;
obj = {label:'BlackBerry', name:'BlackBerry', type:'os'};
obj['category'] = 'smartphone';
DATASET[obj.label] = obj;
obj = {label:'BlackBerry10', name:'BlackBerry 10', type:'os'};
obj['category'] = 'smartphone';
DATASET[obj.label] = obj;
obj = {label:'docomo', name:'docomo', type:'full'};
obj['vendor'] = 'docomo';
obj['category'] = 'mobilephone';
obj['os'] = 'docomo';
DATASET[obj.label] = obj;
obj = {label:'au', name:'au by KDDI', type:'full'};
obj['vendor'] = 'au';
obj['category'] = 'mobilephone';
obj['os'] = 'au';
DATASET[obj.label] = obj;
obj = {label:'SoftBank', name:'SoftBank Mobile', type:'full'};
obj['vendor'] = 'SoftBank';
obj['category'] = 'mobilephone';
obj['os'] = 'SoftBank';
DATASET[obj.label] = obj;
obj = {label:'willcom', name:'WILLCOM', type:'full'};
obj['vendor'] = 'WILLCOM';
obj['category'] = 'mobilephone';
obj['os'] = 'WILLCOM';
DATASET[obj.label] = obj;
obj = {label:'jig', name:'jig browser', type:'full'};
obj['vendor'] = '';
obj['category'] = 'mobilephone';
obj['os'] = 'jig';
DATASET[obj.label] = obj;
obj = {label:'emobile', name:'emobile', type:'full'};
obj['vendor'] = '';
obj['category'] = 'mobilephone';
obj['os'] = 'emobile';
DATASET[obj.label] = obj;
obj = {label:'SymbianOS', name:'SymbianOS', type:'full'};
obj['vendor'] = '';
obj['category'] = 'mobilephone';
obj['os'] = 'SymbianOS';
DATASET[obj.label] = obj;
obj = {label:'MobileTranscoder', name:'Mobile Transcoder', type:'full'};
obj['vendor'] = '';
obj['category'] = 'mobilephone';
obj['os'] = 'Mobile Transcoder';
DATASET[obj.label] = obj;
obj = {label:'Nintendo3DS', name:'Nintendo 3DS', type:'full'};
obj['vendor'] = 'Nintendo';
obj['category'] = 'appliance';
obj['os'] = 'Nintendo 3DS';
DATASET[obj.label] = obj;
obj = {label:'NintendoDSi', name:'Nintendo DSi', type:'full'};
obj['vendor'] = 'Nintendo';
obj['category'] = 'appliance';
obj['os'] = 'Nintendo DSi';
DATASET[obj.label] = obj;
obj = {label:'NintendoWii', name:'Nintendo Wii', type:'full'};
obj['vendor'] = 'Nintendo';
obj['category'] = 'appliance';
obj['os'] = 'Nintendo Wii';
DATASET[obj.label] = obj;
obj = {label:'NintendoWiiU', name:'Nintendo Wii U', type:'full'};
obj['vendor'] = 'Nintendo';
obj['category'] = 'appliance';
obj['os'] = 'Nintendo Wii U';
DATASET[obj.label] = obj;
obj = {label:'PSP', name:'PlayStation Portable', type:'full'};
obj['vendor'] = 'Sony';
obj['category'] = 'appliance';
obj['os'] = 'PlayStation Portable';
DATASET[obj.label] = obj;
obj = {label:'PSVita', name:'PlayStation Vita', type:'full'};
obj['vendor'] = 'Sony';
obj['category'] = 'appliance';
obj['os'] = 'PlayStation Vita';
DATASET[obj.label] = obj;
obj = {label:'PS3', name:'PlayStation 3', type:'full'};
obj['vendor'] = 'Sony';
obj['category'] = 'appliance';
obj['os'] = 'PlayStation 3';
DATASET[obj.label] = obj;
obj = {label:'PS4', name:'PlayStation 4', type:'full'};
obj['vendor'] = 'Sony';
obj['category'] = 'appliance';
obj['os'] = 'PlayStation 4';
DATASET[obj.label] = obj;
obj = {label:'Xbox360', name:'Xbox 360', type:'full'};
obj['vendor'] = 'Microsoft';
obj['category'] = 'appliance';
obj['os'] = 'Xbox 360';
DATASET[obj.label] = obj;
obj = {label:'XboxOne', name:'Xbox One', type:'full'};
obj['vendor'] = 'Microsoft';
obj['category'] = 'appliance';
obj['os'] = 'Xbox One';
DATASET[obj.label] = obj;
obj = {label:'DigitalTV', name:'InternetTVBrowser', type:'full'};
obj['vendor'] = '';
obj['category'] = 'appliance';
obj['os'] = 'DigitalTV';
DATASET[obj.label] = obj;
obj = {label:'SafariRSSReader', name:'Safari RSSReader', type:'full'};
obj['vendor'] = 'Apple';
obj['category'] = 'misc';
DATASET[obj.label] = obj;
obj = {label:'GoogleDesktop', name:'Google Desktop', type:'full'};
obj['vendor'] = 'Google';
obj['category'] = 'misc';
DATASET[obj.label] = obj;
obj = {label:'WindowsRSSReader', name:'Windows RSSReader', type:'full'};
obj['vendor'] = 'Microsoft';
obj['category'] = 'misc';
DATASET[obj.label] = obj;
obj = {label:'VariousRSSReader', name:'RSSReader', type:'full'};
obj['vendor'] = '';
obj['category'] = 'misc';
DATASET[obj.label] = obj;
obj = {label:'HTTPLibrary', name:'HTTP Library', type:'full'};
obj['vendor'] = '';
obj['category'] = 'misc';
DATASET[obj.label] = obj;
obj = {label:'GoogleBot', name:'Googlebot', type:'full'};
obj['vendor'] = '';
obj['category'] = 'crawler';
DATASET[obj.label] = obj;
obj = {label:'GoogleBotMobile', name:'Googlebot Mobile', type:'full'};
obj['vendor'] = '';
obj['category'] = 'crawler';
DATASET[obj.label] = obj;
obj = {label:'GoogleMediaPartners', name:'Google Mediapartners', type:'full'};
obj['vendor'] = '';
obj['category'] = 'crawler';
DATASET[obj.label] = obj;
obj = {label:'GoogleFeedFetcher', name:'Google Feedfetcher', type:'full'};
obj['vendor'] = '';
obj['category'] = 'crawler';
DATASET[obj.label] = obj;
obj = {label:'GoogleAppEngine', name:'Google AppEngine', type:'full'};
obj['vendor'] = '';
obj['category'] = 'crawler';
DATASET[obj.label] = obj;
obj = {label:'GoogleWebPreview', name:'Google Web Preview', type:'full'};
obj['vendor'] = '';
obj['category'] = 'crawler';
DATASET[obj.label] = obj;
obj = {label:'YahooSlurp', name:'Yahoo! Slurp', type:'full'};
obj['vendor'] = '';
obj['category'] = 'crawler';
DATASET[obj.label] = obj;
obj = {label:'YahooJP', name:'Yahoo! Japan', type:'full'};
obj['vendor'] = '';
obj['category'] = 'crawler';
DATASET[obj.label] = obj;
obj = {label:'YahooPipes', name:'Yahoo! Pipes', type:'full'};
obj['vendor'] = '';
obj['category'] = 'crawler';
DATASET[obj.label] = obj;
obj = {label:'Baiduspider', name:'Baiduspider', type:'full'};
obj['vendor'] = '';
obj['category'] = 'crawler';
DATASET[obj.label] = obj;
obj = {label:'msnbot', name:'msnbot', type:'full'};
obj['vendor'] = '';
obj['category'] = 'crawler';
DATASET[obj.label] = obj;
obj = {label:'bingbot', name:'bingbot', type:'full'};
obj['vendor'] = '';
obj['category'] = 'crawler';
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'};
obj['vendor'] = '';
obj['category'] = 'crawler';
DATASET[obj.label] = obj;
obj = {label:'FeedBurner', name:'Google FeedBurner', type:'full'};
obj['vendor'] = '';
obj['category'] = 'crawler';
DATASET[obj.label] = obj;
obj = {label:'facebook', name:'facebook', type:'full'};
obj['vendor'] = '';
obj['category'] = 'crawler';
DATASET[obj.label] = obj;
obj = {label:'twitter', name:'twitter', type:'full'};
obj['vendor'] = '';
obj['category'] = 'crawler';
DATASET[obj.label] = obj;
obj = {label:'trendictionbot', name:'trendiction', type:'full'};
obj['vendor'] = '';
obj['category'] = 'crawler';
DATASET[obj.label] = obj;
obj = {label:'mixi', name:'mixi', type:'full'};
obj['vendor'] = '';
obj['category'] = 'crawler';
DATASET[obj.label] = obj;
obj = {label:'IndyLibrary', name:'Indy Library', type:'full'};
obj['vendor'] = '';
obj['category'] = 'crawler';
DATASET[obj.label] = obj;
obj = {label:'ApplePubSub', name:'Apple iCloud', type:'full'};
obj['vendor'] = '';
obj['category'] = 'crawler';
DATASET[obj.label] = obj;
obj = {label:'Genieo', name:'Genieo Web Filter', type:'full'};
obj['vendor'] = '';
obj['category'] = 'crawler';
DATASET[obj.label] = obj;
obj = {label:'topsyButterfly', name:'topsy Butterfly', type:'full'};
obj['vendor'] = '';
obj['category'] = 'crawler';
DATASET[obj.label] = obj;
obj = {label:'rogerbot', name:'SeoMoz rogerbot', type:'full'};
obj['vendor'] = '';
obj['category'] = 'crawler';
DATASET[obj.label] = obj;
obj = {label:'AhrefsBot', name:'ahref AhrefsBot', type:'full'};
obj['vendor'] = '';
obj['category'] = 'crawler';
DATASET[obj.label] = obj;
obj = {label:'radian6', name:'salesforce radian6', type:'full'};
obj['vendor'] = '';
obj['category'] = 'crawler';
DATASET[obj.label] = obj;
obj = {label:'Hatena', name:'Hatena', type:'full'};
obj['vendor'] = '';
obj['category'] = 'crawler';
DATASET[obj.label] = obj;
obj = {label:'goo', name:'goo', type:'full'};
obj['vendor'] = '';
obj['category'] = 'crawler';
DATASET[obj.label] = obj;
obj = {label:'livedoorFeedFetcher', name:'livedoor FeedFetcher', type:'full'};
obj['vendor'] = '';
obj['category'] = 'crawler';
DATASET[obj.label] = obj;
obj = {label:'VariousCrawler', name:'misc crawler', type:'full'};
obj['vendor'] = '';
obj['category'] = 'crawler';
DATASET[obj.label] = obj;
// GENERATED from dataset.yaml at Mon Aug 5 11:54:13 JST 2019 by tagomoris
var DATASET = {MSIE: {label: "MSIE", name: "Internet Explorer", type: "browser", vendor: "Microsoft"}, Edge: {label: "Edge", name: "Edge", type: "browser", vendor: "Microsoft"}, Chrome: {label: "Chrome", name: "Chrome", type: "browser", vendor: "Google"}, Safari: {label: "Safari", name: "Safari", type: "browser", vendor: "Apple"}, Firefox: {label: "Firefox", name: "Firefox", type: "browser", vendor: "Mozilla"}, Opera: {label: "Opera", name: "Opera", type: "browser", vendor: "Opera"}, Vivaldi: {label: "Vivaldi", name: "Vivaldi", type: "browser", vendor: "Vivaldi Technologies"}, Sleipnir: {label: "Sleipnir", name: "Sleipnir", type: "browser", vendor: "Fenrir Inc."}, Webview: {label: "Webview", name: "Webview", type: "browser", vendor: "OS vendor"}, YaBrowser: {label: "YaBrowser", name: "Yandex Browser", type: "browser", vendor: "Yandex"}, Win: {label: "Win", name: "Windows UNKNOWN Ver", type: "os", category: "pc"}, Win10: {label: "Win10", name: "Windows 10", type: "os", category: "pc"}, "Win8.1": {label: "Win8.1", name: "Windows 8.1", type: "os", category: "pc"}, Win8: {label: "Win8", name: "Windows 8", type: "os", category: "pc"}, Win7: {label: "Win7", name: "Windows 7", type: "os", category: "pc"}, WinVista: {label: "WinVista", name: "Windows Vista", type: "os", category: "pc"}, WinXP: {label: "WinXP", name: "Windows XP", type: "os", category: "pc"}, Win2000: {label: "Win2000", name: "Windows 2000", type: "os", category: "pc"}, WinNT4: {label: "WinNT4", name: "Windows NT 4.0", type: "os", category: "pc"}, WinMe: {label: "WinMe", name: "Windows Me", type: "os", category: "pc"}, Win98: {label: "Win98", name: "Windows 98", type: "os", category: "pc"}, Win95: {label: "Win95", name: "Windows 95", type: "os", category: "pc"}, WinPhone: {label: "WinPhone", name: "Windows Phone OS", type: "os", category: "smartphone"}, WinCE: {label: "WinCE", name: "Windows CE", type: "os", category: "smartphone"}, OSX: {label: "OSX", name: "Mac OSX", type: "os", category: "pc"}, MacOS: {label: "MacOS", name: "Mac OS Classic", type: "os", category: "pc"}, Linux: {label: "Linux", name: "Linux", type: "os", category: "pc"}, BSD: {label: "BSD", name: "BSD", type: "os", category: "pc"}, ChromeOS: {label: "ChromeOS", name: "ChromeOS", type: "os", category: "pc"}, Android: {label: "Android", name: "Android", type: "os", category: "smartphone"}, iPhone: {label: "iPhone", name: "iPhone", type: "os", category: "smartphone"}, iPad: {label: "iPad", name: "iPad", type: "os", category: "smartphone"}, iPod: {label: "iPod", name: "iPod", type: "os", category: "smartphone"}, iOS: {label: "iOS", name: "iOS", type: "os", category: "smartphone"}, FirefoxOS: {label: "FirefoxOS", name: "Firefox OS", type: "os", category: "smartphone"}, BlackBerry: {label: "BlackBerry", name: "BlackBerry", type: "os", category: "smartphone"}, BlackBerry10: {label: "BlackBerry10", name: "BlackBerry 10", type: "os", category: "smartphone"}, docomo: {label: "docomo", name: "docomo", type: "full", vendor: "docomo", category: "mobilephone", os: "docomo"}, au: {label: "au", name: "au by KDDI", type: "full", vendor: "au", category: "mobilephone", os: "au"}, SoftBank: {label: "SoftBank", name: "SoftBank Mobile", type: "full", vendor: "SoftBank", category: "mobilephone", os: "SoftBank"}, willcom: {label: "willcom", name: "WILLCOM", type: "full", vendor: "WILLCOM", category: "mobilephone", os: "WILLCOM"}, jig: {label: "jig", name: "jig browser", type: "full", vendor: "", category: "mobilephone", os: "jig"}, emobile: {label: "emobile", name: "emobile", type: "full", vendor: "", category: "mobilephone", os: "emobile"}, SymbianOS: {label: "SymbianOS", name: "SymbianOS", type: "full", vendor: "", category: "mobilephone", os: "SymbianOS"}, MobileTranscoder: {label: "MobileTranscoder", name: "Mobile Transcoder", type: "full", vendor: "", category: "mobilephone", os: "Mobile Transcoder"}, Nintendo3DS: {label: "Nintendo3DS", name: "Nintendo 3DS", type: "full", vendor: "Nintendo", category: "appliance", os: "Nintendo 3DS"}, NintendoDSi: {label: "NintendoDSi", name: "Nintendo DSi", type: "full", vendor: "Nintendo", category: "appliance", os: "Nintendo DSi"}, NintendoWii: {label: "NintendoWii", name: "Nintendo Wii", type: "full", vendor: "Nintendo", category: "appliance", os: "Nintendo Wii"}, NintendoWiiU: {label: "NintendoWiiU", name: "Nintendo Wii U", type: "full", vendor: "Nintendo", category: "appliance", os: "Nintendo Wii U"}, PSP: {label: "PSP", name: "PlayStation Portable", type: "full", vendor: "Sony", category: "appliance", os: "PlayStation Portable"}, PSVita: {label: "PSVita", name: "PlayStation Vita", type: "full", vendor: "Sony", category: "appliance", os: "PlayStation Vita"}, PS3: {label: "PS3", name: "PlayStation 3", type: "full", vendor: "Sony", category: "appliance", os: "PlayStation 3"}, PS4: {label: "PS4", name: "PlayStation 4", type: "full", vendor: "Sony", category: "appliance", os: "PlayStation 4"}, Xbox360: {label: "Xbox360", name: "Xbox 360", type: "full", vendor: "Microsoft", category: "appliance", os: "Xbox 360"}, XboxOne: {label: "XboxOne", name: "Xbox One", type: "full", vendor: "Microsoft", category: "appliance", os: "Xbox One"}, DigitalTV: {label: "DigitalTV", name: "InternetTVBrowser", type: "full", vendor: "", category: "appliance", os: "DigitalTV"}, SafariRSSReader: {label: "SafariRSSReader", name: "Safari RSSReader", type: "full", vendor: "Apple", category: "misc"}, GoogleDesktop: {label: "GoogleDesktop", name: "Google Desktop", type: "full", vendor: "Google", category: "misc"}, WindowsRSSReader: {label: "WindowsRSSReader", name: "Windows RSSReader", type: "full", vendor: "Microsoft", category: "misc"}, VariousRSSReader: {label: "VariousRSSReader", name: "RSSReader", type: "full", vendor: "", category: "misc"}, HTTPLibrary: {label: "HTTPLibrary", name: "HTTP Library", type: "full", vendor: "", category: "misc"}, GoogleBot: {label: "GoogleBot", name: "Googlebot", type: "full", vendor: "", category: "crawler"}, GoogleBotMobile: {label: "GoogleBotMobile", name: "Googlebot Mobile", type: "full", vendor: "", category: "crawler"}, GoogleMediaPartners: {label: "GoogleMediaPartners", name: "Google Mediapartners", type: "full", vendor: "", category: "crawler"}, GoogleFeedFetcher: {label: "GoogleFeedFetcher", name: "Google Feedfetcher", type: "full", vendor: "", category: "crawler"}, GoogleAppEngine: {label: "GoogleAppEngine", name: "Google AppEngine", type: "full", vendor: "", category: "crawler"}, GoogleWebPreview: {label: "GoogleWebPreview", name: "Google Web Preview", type: "full", vendor: "", category: "crawler"}, YahooSlurp: {label: "YahooSlurp", name: "Yahoo! Slurp", type: "full", vendor: "", category: "crawler"}, YahooJP: {label: "YahooJP", name: "Yahoo! Japan", type: "full", vendor: "", category: "crawler"}, YahooPipes: {label: "YahooPipes", name: "Yahoo! Pipes", type: "full", vendor: "", category: "crawler"}, Baiduspider: {label: "Baiduspider", name: "Baiduspider", type: "full", vendor: "", category: "crawler"}, msnbot: {label: "msnbot", name: "msnbot", type: "full", vendor: "", category: "crawler"}, bingbot: {label: "bingbot", name: "bingbot", type: "full", vendor: "", category: "crawler"}, BingPreview: {label: "BingPreview", name: "BingPreview", type: "full", vendor: "", category: "crawler"}, Yeti: {label: "Yeti", name: "Naver Yeti", type: "full", vendor: "", category: "crawler"}, FeedBurner: {label: "FeedBurner", name: "Google FeedBurner", type: "full", vendor: "", category: "crawler"}, facebook: {label: "facebook", name: "facebook", type: "full", vendor: "", category: "crawler"}, twitter: {label: "twitter", name: "twitter", type: "full", vendor: "", category: "crawler"}, trendictionbot: {label: "trendictionbot", name: "trendiction", type: "full", vendor: "", category: "crawler"}, mixi: {label: "mixi", name: "mixi", type: "full", vendor: "", category: "crawler"}, IndyLibrary: {label: "IndyLibrary", name: "Indy Library", type: "full", vendor: "", category: "crawler"}, ApplePubSub: {label: "ApplePubSub", name: "Apple iCloud", type: "full", vendor: "", category: "crawler"}, Genieo: {label: "Genieo", name: "Genieo Web Filter", type: "full", vendor: "", category: "crawler"}, topsyButterfly: {label: "topsyButterfly", name: "topsy Butterfly", type: "full", vendor: "", category: "crawler"}, rogerbot: {label: "rogerbot", name: "SeoMoz rogerbot", type: "full", vendor: "", category: "crawler"}, AhrefsBot: {label: "AhrefsBot", name: "ahref AhrefsBot", type: "full", vendor: "", category: "crawler"}, radian6: {label: "radian6", name: "salesforce radian6", type: "full", vendor: "", category: "crawler"}, Hatena: {label: "Hatena", name: "Hatena", type: "full", vendor: "", category: "crawler"}, goo: {label: "goo", name: "goo", type: "full", vendor: "", category: "crawler"}, livedoorFeedFetcher: {label: "livedoorFeedFetcher", name: "livedoor FeedFetcher", type: "full", vendor: "", category: "crawler"}, VariousCrawler: {label: "VariousCrawler", name: "misc crawler", type: "full", vendor: "", category: "crawler"}};
var get = exports.get = function(label) {

@@ -395,0 +48,0 @@ return DATASET[label];

@@ -35,3 +35,1 @@ var KEY_LABEL = exports.KEY_LABEL = 'label',

var ATTRIBUTE_LIST = exports.ATTRIBUTE_LIST = [ATTRIBUTE_NAME, ATTRIBUTE_CATEGORY, ATTRIBUTE_OS, ATTRIBUTE_VENDOR, ATTRIBUTE_VERSION, ATTRIBUTE_OS_VERSION];
var DATASET = {};
var fs = require('fs')
, util = require('util')
, serialize_to_js = require('serialize-to-js')
, yaml = require('js-yaml');

@@ -29,3 +30,3 @@

var dumpToFile = function() {
var defs = [util.format("// GENERATED from dataset.yaml at %s by %s\nvar obj;", generated_timestamp, generated_username)];
var data = {};

@@ -36,17 +37,22 @@ dataset_entries.forEach(function(dataset){

, type = dataset.type;
defs.push("obj = {label:'" + label + "', name:'" + name + "', type:'" + type + "'};");
var entry = {label: label, name: name, type: type};
if (type === 'browser') {
defs.push("obj['vendor'] = '" + dataset.vendor + "';");
} else if ( type === 'os') {
defs.push("obj['category'] = '" + dataset.category + "';");
} else if ( type === 'full') {
defs.push("obj['vendor'] = '" + (dataset.vendor ? dataset.vendor : '') + "';");
defs.push("obj['category'] = '" + dataset.category + "';");
entry['vendor'] = dataset.vendor;
} else if (type === 'os') {
entry['category'] = dataset.category;
} else if (type === 'full') {
entry['vendor'] = (dataset.vendor ? dataset.vendor : '');
entry['category'] = dataset.category;
if (dataset.os) {
defs.push("obj['os'] = '" + dataset.os + "';");
entry['os'] = dataset.os;
}
}
defs.push("DATASET[obj.label] = obj;");
data[entry.label] = entry;
});
var defs = [
util.format("// GENERATED from dataset.yaml at %s by %s", generated_timestamp, generated_username),
'var DATASET = ' + serialize_to_js(data) + ';'
];
fs.writeFile(js_file, header_data + defs.join("\n") + footer_data, function(err){

@@ -53,0 +59,0 @@ if (err) throw err;

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