browserslist-config-anolilab 3.2.0 → 4.0.0

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/CHANGELOG.md CHANGED
@@ -1,3 +1,28 @@
1
+ ## browserslist-config-anolilab [4.0.0](https://github.com/anolilab/javascript-style-guide/compare/browserslist-config-anolilab@3.2.1...browserslist-config-anolilab@4.0.0) (2023-06-09)
2
+
3
+
4
+ ### ⚠ BREAKING CHANGES
5
+
6
+ * Changed the package to support cjs and mjs, so the type module was removed
7
+
8
+ ### Features
9
+
10
+ * changed package to support cjs and mjs ([c7bd117](https://github.com/anolilab/javascript-style-guide/commit/c7bd117dfe63ee2bce4c0851b383bdb56880bab9))
11
+
12
+ ## browserslist-config-anolilab [3.2.1](https://github.com/anolilab/javascript-style-guide/compare/browserslist-config-anolilab@3.2.0...browserslist-config-anolilab@3.2.1) (2023-05-25)
13
+
14
+
15
+ ### Bug Fixes
16
+
17
+ * updated package deps ([28b3198](https://github.com/anolilab/javascript-style-guide/commit/28b31982bb43594a0c0ab21c73a1cd9c6e2a383b))
18
+ * updated package deps ([34e24a0](https://github.com/anolilab/javascript-style-guide/commit/34e24a097c282f0b032a283225a1d91439b3f08e))
19
+
20
+
21
+
22
+ ### Dependencies
23
+
24
+ * **@anolilab/semantic-release-preset:** upgraded to 2.2.1
25
+
1
26
  ## browserslist-config-anolilab [3.2.0](https://github.com/anolilab/javascript-style-guide/compare/browserslist-config-anolilab@3.1.0...browserslist-config-anolilab@3.2.0) (2023-01-14)
2
27
 
3
28
 
@@ -0,0 +1,8 @@
1
+ declare const config: {
2
+ production: string[];
3
+ legacyBrowsers: string[];
4
+ modernBrowsers: string[];
5
+ ssr: string[];
6
+ };
7
+
8
+ export { config as default };
package/dist/index.js ADDED
@@ -0,0 +1,7 @@
1
+ 'use strict';
2
+
3
+ var o={production:["> 1%","last 2 versions","Firefox ESR","not dead"],legacyBrowsers:["> 1%","last 2 versions","Firefox ESR"],modernBrowsers:["last 2 Chrome versions","not Chrome < 60","last 2 Safari versions","not Safari < 10.1","last 2 iOS versions","not iOS < 10.3","last 2 Firefox versions","not Firefox < 54","last 2 Edge versions","not Edge < 15"],ssr:["node 16"]},s=o;
4
+
5
+ module.exports = s;
6
+ //# sourceMappingURL=out.js.map
7
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/index.ts"],"names":["config","src_default"],"mappings":"AAAA,IAAMA,EAAS,CACX,WAAY,CAAC,OAAQ,kBAAmB,cAAe,UAAU,EACjE,eAAgB,CAAC,OAAQ,kBAAmB,aAAa,EACzD,eAAgB,CACZ,yBACA,kBACA,yBACA,oBACA,sBACA,iBACA,0BACA,mBACA,uBACA,eACJ,EACA,IAAK,CAAC,SAAS,CACnB,EAEOC,EAAQD","sourcesContent":["const config = {\n production: [\"> 1%\", \"last 2 versions\", \"Firefox ESR\", \"not dead\"],\n legacyBrowsers: [\"> 1%\", \"last 2 versions\", \"Firefox ESR\"],\n modernBrowsers: [\n \"last 2 Chrome versions\",\n \"not Chrome < 60\",\n \"last 2 Safari versions\",\n \"not Safari < 10.1\",\n \"last 2 iOS versions\",\n \"not iOS < 10.3\",\n \"last 2 Firefox versions\",\n \"not Firefox < 54\",\n \"last 2 Edge versions\",\n \"not Edge < 15\",\n ],\n ssr: [\"node 16\"],\n};\n\nexport default config;\n"]}
package/dist/index.mjs ADDED
@@ -0,0 +1,5 @@
1
+ var o={production:["> 1%","last 2 versions","Firefox ESR","not dead"],legacyBrowsers:["> 1%","last 2 versions","Firefox ESR"],modernBrowsers:["last 2 Chrome versions","not Chrome < 60","last 2 Safari versions","not Safari < 10.1","last 2 iOS versions","not iOS < 10.3","last 2 Firefox versions","not Firefox < 54","last 2 Edge versions","not Edge < 15"],ssr:["node 16"]},s=o;
2
+
3
+ export { s as default };
4
+ //# sourceMappingURL=out.js.map
5
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/index.ts"],"names":["config","src_default"],"mappings":"AAAA,IAAMA,EAAS,CACX,WAAY,CAAC,OAAQ,kBAAmB,cAAe,UAAU,EACjE,eAAgB,CAAC,OAAQ,kBAAmB,aAAa,EACzD,eAAgB,CACZ,yBACA,kBACA,yBACA,oBACA,sBACA,iBACA,0BACA,mBACA,uBACA,eACJ,EACA,IAAK,CAAC,SAAS,CACnB,EAEOC,EAAQD","sourcesContent":["const config = {\n production: [\"> 1%\", \"last 2 versions\", \"Firefox ESR\", \"not dead\"],\n legacyBrowsers: [\"> 1%\", \"last 2 versions\", \"Firefox ESR\"],\n modernBrowsers: [\n \"last 2 Chrome versions\",\n \"not Chrome < 60\",\n \"last 2 Safari versions\",\n \"not Safari < 10.1\",\n \"last 2 iOS versions\",\n \"not iOS < 10.3\",\n \"last 2 Firefox versions\",\n \"not Firefox < 54\",\n \"last 2 Edge versions\",\n \"not Edge < 15\",\n ],\n ssr: [\"node 16\"],\n};\n\nexport default config;\n"]}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "browserslist-config-anolilab",
3
- "version": "3.2.0",
4
- "description": "Shareable browserlist config for Anolilab.",
3
+ "version": "4.0.0",
4
+ "description": "Shareable browserlist config for Anolilab projects.",
5
5
  "keywords": [
6
6
  "browserslist",
7
7
  "browserslist-config",
@@ -9,6 +9,9 @@
9
9
  "browsers"
10
10
  ],
11
11
  "homepage": "https://anolilab.com/nodejs/packages/browserslist-config",
12
+ "bugs": {
13
+ "url": "https://github.com/anolilab/javascript-style-guide/issues"
14
+ },
12
15
  "repository": {
13
16
  "type": "git",
14
17
  "url": "https://github.com/anolilab/javascript-style-guide.git",
@@ -29,39 +32,44 @@
29
32
  "name": "Daniel Bannert",
30
33
  "email": "d.bannert@anolilab.de"
31
34
  },
32
- "type": "module",
33
- "main": "index.cjs",
35
+ "sideEffects": false,
36
+ "exports": {
37
+ ".": {
38
+ "types": "./dist/index.d.ts",
39
+ "require": "./dist/index.js",
40
+ "import": "./dist/index.mjs"
41
+ },
42
+ "./package.json": "./package.json"
43
+ },
44
+ "main": "dist/index.js",
45
+ "module": "dist/index.mjs",
46
+ "source": "src/index.ts",
47
+ "types": "dist/index.d.ts",
34
48
  "files": [
35
- "index.cjs",
49
+ "dist/**",
36
50
  "README.md",
37
51
  "CHANGELOG.md",
38
52
  "LICENSE.md"
39
53
  ],
54
+ "scripts": {
55
+ "build": "cross-env NODE_ENV=development tsup",
56
+ "build:prod": "cross-env NODE_ENV=production tsup",
57
+ "clean": "rimraf node_modules dist"
58
+ },
40
59
  "devDependencies": {
41
- "browserslist": "4.21.4",
42
- "caniuse-lite": "^1.0.30001444"
60
+ "@anolilab/semantic-release-preset": "2.2.1",
61
+ "browserslist": "4.21.7",
62
+ "caniuse-lite": "^1.0.30001497",
63
+ "cross-env": "^7.0.3",
64
+ "rimraf": "^5.0.1",
65
+ "tsup": "^6.7.0",
66
+ "vitest": "^0.32.0"
43
67
  },
44
68
  "engines": {
45
69
  "node": ">=16"
46
70
  },
47
71
  "publishConfig": {
48
- "access": "public"
49
- },
50
- "moduleName": "browserslist-config",
51
- "pnpm": {
52
- "overrides": {
53
- "glob-parent@<5.1.2": ">=5.1.2",
54
- "minimist@<1.2.6": ">=1.2.6",
55
- "chrono-node@<2.2.4": ">=2.2.4",
56
- "yargs-parser@>=6.0.0 <13.1.2": ">=13.1.2",
57
- "trim@<0.0.3": ">=0.0.3",
58
- "trim-newlines@<3.0.1": ">=3.0.1",
59
- "moment@<2.29.2": ">=2.29.2",
60
- "semver-regex@<3.1.4": ">=3.1.4",
61
- "got@<11.8.5": ">=11.8.5",
62
- "moment@>=2.18.0 <2.29.4": ">=2.29.4",
63
- "ansi-regex@>=3.0.0 <3.0.1": ">=3.0.1",
64
- "ansi-regex@>=4.0.0 <4.1.1": ">=4.1.1"
65
- }
72
+ "access": "public",
73
+ "provenance": true
66
74
  }
67
75
  }
package/index.cjs DELETED
@@ -1,17 +0,0 @@
1
- module.exports = {
2
- production: ["> 1%", "last 2 versions", "Firefox ESR", "not dead"],
3
- legacyBrowsers: ["> 1%", "last 2 versions", "Firefox ESR"],
4
- modernBrowsers: [
5
- "last 2 Chrome versions",
6
- "not Chrome < 60",
7
- "last 2 Safari versions",
8
- "not Safari < 10.1",
9
- "last 2 iOS versions",
10
- "not iOS < 10.3",
11
- "last 2 Firefox versions",
12
- "not Firefox < 54",
13
- "last 2 Edge versions",
14
- "not Edge < 15",
15
- ],
16
- ssr: ["node 12"],
17
- };