1
0
mirror of https://github.com/lancedikson/bowser synced 2026-03-02 03:40:27 +00:00

chore(bulding): trying pika

This commit is contained in:
Denis Demchenko
2019-08-28 00:24:23 +03:00
parent 8fb6e3a080
commit eda9e7326b
9 changed files with 10504 additions and 227 deletions

View File

@@ -1,7 +1,7 @@
import test from 'ava';
import yaml from 'yamljs';
import path from 'path';
import Bowser from '../../src/bowser';
import Bowser from '../../src';
import BowserBuild from '../../es5';
const listOfUA = yaml.load(path.join(__dirname, 'useragentstrings.yml'));

View File

@@ -1,5 +1,5 @@
import test from 'ava';
import Bowser from '../../src/bowser';
import Bowser from '../../src';
import Parser from '../../src/parser';
const UA = 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36 OPR/43.0.2442.1165';

View File

@@ -1,7 +1,7 @@
import test from 'ava';
import sinon from 'sinon';
import Parser from '../../src/parser';
import Bowser from '../../src/bowser';
import Bowser from '../../src';
const UA = 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36 OPR/43.0.2442.1165';
const parser = new Parser(UA, true);