@w5s/browserslist-config 1.0.0-alpha.12 → 1.0.0-alpha.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -36,24 +36,24 @@ In the `package.json` for your project
36
36
  ## Supported Browsers
37
37
  <!-- AUTO-GENERATED-CONTENT:START (FILE:src=./BROWSER_LIST.md) -->
38
38
  <!-- The below content is automatically added from ./BROWSER_LIST.md -->
39
- _Generated Automatically at Sat, 04 Feb 2023 14:36:25 GMT_
39
+ _Generated Automatically at Tue, 28 Feb 2023 20:36:39 GMT_
40
40
 
41
41
  ### Desktop
42
42
 
43
43
  - Android (4.4.3-4.4.4)
44
- - Chrome (108, 107, 106, 103)
45
- - Edge (108, 107)
46
- - Firefox (108, 107)
47
- - Opera (92)
48
- - Safari (16.1, 15.6, 14.1)
49
- - Samsung (19.0, 18.0)
44
+ - Chrome (109, 108, 107, 103)
45
+ - Edge (109, 108)
46
+ - Firefox (109, 108)
47
+ - Opera (94, 93)
48
+ - Safari (16.2, 16.1, 15.6, 14.1)
49
+ - Samsung (19.0)
50
50
 
51
51
  ### Mobile
52
52
 
53
53
  - Chrome for Android (109)
54
54
  - Firefox for Android (109)
55
55
  - UC Browser (13.4)
56
- - Safari for iOS (16.2, 16.1, 16.0, 15.6, 15.5, 15.4, 15.2-15.3, 14.5-14.8, 14.0-14.4, 12.2-12.5)
56
+ - Safari for iOS (16.3, 16.2, 16.1, 16.0, 15.6, 15.5, 15.4, 15.2-15.3, 14.5-14.8, 14.0-14.4, 12.2-12.5)
57
57
 
58
58
  [View more in browserslist.dev (usages, coverage)](https://browserslist.dev/?q=PjAuMiUsbm90IGRlYWQsbm90IG9wX21pbmkgYWxs)
59
59
  <!-- AUTO-GENERATED-CONTENT:END -->
@@ -0,0 +1,2 @@
1
+ declare const config: string[];
2
+ export = config;
package/lib/default.js ADDED
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ const config = [
3
+ // From create-react-app
4
+ '>0.2%',
5
+ 'not dead',
6
+ 'not op_mini all',
7
+ ];
8
+ module.exports = config;
@@ -0,0 +1,2 @@
1
+ declare const config: string[];
2
+ export = config;
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ // Latest browsers (Often used for development only)
3
+ const config = ['last 1 chrome version', 'last 1 firefox version', 'last 1 safari version'];
4
+ module.exports = config;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@w5s/browserslist-config",
3
- "version": "1.0.0-alpha.12",
3
+ "version": "1.0.0-alpha.14",
4
4
  "description": "Browserslist support shared configuration",
5
5
  "keywords": [
6
6
  "browserslist",
@@ -34,7 +34,7 @@
34
34
  ],
35
35
  "scripts": {
36
36
  "build": "concurrently \"npm:build:*\" \":\"",
37
- "build:tsc": "tsc -b tsconfig.build.json;yarn docs",
37
+ "build:tsc": "tsc -b tsconfig.build.json",
38
38
  "clean": "concurrently \"npm:clean:*\" \":\"",
39
39
  "clean:tsc": "rm -rf lib",
40
40
  "docs": "node scripts/build-docs.mjs && node ../../markdown.mjs",
@@ -42,29 +42,17 @@
42
42
  "format:src": "eslint . --fix --ext=mjs,cjs,js,jsx,ts,tsx,json,jsonc,json5,yml,yaml",
43
43
  "lint": "concurrently \"npm:lint:*\" \":\"",
44
44
  "lint:src": "eslint . --ext=mjs,cjs,js,jsx,ts,tsx,json,jsonc,json5,yml,yaml",
45
+ "postbuild:tsc": "yarn docs",
45
46
  "prepare": "concurrently \"npm:prepare:*\" \":\"",
46
47
  "spellcheck": "cspell --no-progress '**'",
47
48
  "test": "concurrently \"npm:test:*\" ",
48
- "test:src": "jest"
49
- },
50
- "jest": {
51
- "moduleNameMapper": {
52
- "^(\\.{1,2}/.*)\\.js$": "$1"
53
- },
54
- "preset": "es-jest",
55
- "testPathIgnorePatterns": [
56
- "/node_modules/",
57
- "/lib/",
58
- "/build/",
59
- "/.cache/",
60
- "/docs/",
61
- "/public/"
62
- ]
49
+ "test:src": "vitest run"
63
50
  },
64
51
  "devDependencies": {
65
- "@jest/globals": "29.4.3",
66
52
  "browserslist": "4.21.5",
67
- "lodash-es": "4.17.21"
53
+ "lodash-es": "4.17.21",
54
+ "vite": "4.1.4",
55
+ "vitest": "0.29.2"
68
56
  },
69
57
  "peerDependencies": {
70
58
  "browserslist": ">= 4.0"
@@ -80,5 +68,5 @@
80
68
  "publishConfig": {
81
69
  "access": "public"
82
70
  },
83
- "gitHead": "ace7dcdd3244c34b38de66da80347ca16e59838d"
71
+ "gitHead": "e48823b601605ac001d6f49ef5c1b615b0b0b00a"
84
72
  }