baseline-browser-mapping 2.9.2 → 2.9.3

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "baseline-browser-mapping",
3
3
  "main": "./dist/index.cjs",
4
- "version": "2.9.2",
4
+ "version": "2.9.3",
5
5
  "description": "A library for obtaining browser versions with their maximum supported Baseline feature set and Widely Available status.",
6
6
  "exports": {
7
7
  ".": {
@@ -30,10 +30,9 @@
30
30
  "fix-cli-permissions": "output=$(npx baseline-browser-mapping 2>&1); path=$(printf '%s\n' \"$output\" | sed -n 's/^.*: \\(.*\\): Permission denied$/\\1/p; t; s/^\\(.*\\): Permission denied$/\\1/p'); if [ -n \"$path\" ]; then echo \"Permission denied for: $path\"; echo \"Removing $path ...\"; rm -rf \"$path\"; else echo \"$output\"; fi",
31
31
  "test:format": "npx prettier --check .",
32
32
  "test:lint": "npx eslint .",
33
- "test:browserslist": "mkdir test-browserslist && cd test-browserslist && npm init -y && npm i ../../baseline-browser-mapping browserslist &&jq '. += {\"browserslist\":[\"baseline widely available with downstream\"]}' package.json >p && mv p package.json && npx browserslist && cd ../ && rm -rf test-browserslist",
34
33
  "test:jasmine": "npx jasmine",
35
34
  "test:jasmine-browser": "npx jasmine-browser-runner runSpecs --config ./spec/support/jasmine-browser.js",
36
- "test": "npm run build && npm run fix-cli-permissions && rm -rf test-browserslist && npm run test:format && npm run test:lint && npm run test:jasmine && npm run test:jasmine-browser && npm run test:browserslist",
35
+ "test": "npm run build && npm run fix-cli-permissions && npm run test:format && npm run test:lint && npm run test:jasmine && npm run test:jasmine-browser",
37
36
  "build": "rm -rf dist; npx prettier . --write; rollup -c; rm -rf ./dist/scripts/expose-data.d.ts ./dist/cli.d.ts",
38
37
  "refresh-downstream": "npx tsx scripts/refresh-downstream.ts",
39
38
  "refresh-static": "npx tsx scripts/refresh-static.ts",