From acfe2ad0177c8961179e7e47a859d49d4b3f81f2 Mon Sep 17 00:00:00 2001 From: Andrey Sitnik Date: Mon, 12 Sep 2022 01:37:07 +0200 Subject: [PATCH] Fix unicode-bidi import --- data/prefixes.js | 47 ++++++++++++++++++++++++++++++++++++++++++++++- package.json | 2 +- pnpm-lock.yaml | 24 ++++++++++++------------ 3 files changed, 59 insertions(+), 14 deletions(-) diff --git a/data/prefixes.js b/data/prefixes.js index b865252e5..15873e945 100644 --- a/data/prefixes.js +++ b/data/prefixes.js @@ -1041,7 +1041,52 @@ f(prefixAnyLink, browsers => ) // unicode-bidi -let prefixBidi = require('caniuse-lite/data/features/css-unicode-bidi') +// Can I Use DB removed this feature. Here is a copy from the last version. +let prefixBidi = { + A: { + A: { 132: 'J D E F A B 1B' }, + B: { + 1: 'P Q R S T U V W X Y Z c d e f g h i j k l m n o a H', + 132: 'C K L G M N O' + }, + C: { + 1: 'LB MB NB OB PB QB RB SB TB pB UB qB VB WB b XB YB ZB aB bB cB dB eB fB gB hB iB jB kB P Q R rB S T U V W X Y Z c d e f g h i j k l m n o a H sB', + 33: '0 1 2 3 4 5 6 7 8 9 N O q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB', + 132: '2B oB I p J D E F 3B 4B', + 292: 'A B C K L G M' + }, + D: { + 1: 'JB KB LB MB NB OB PB QB RB SB TB pB UB qB VB WB b XB YB ZB aB bB cB dB eB fB gB hB iB jB kB P Q R S T U V W X Y Z c d e f g h i j k l m n o a H sB 5B 6B', + 132: 'I p J D E F A B C K L G M', + 548: '0 1 2 3 4 5 6 7 8 9 N O q r s t u v w x y z AB BB CB DB EB FB GB HB IB' + }, + E: { + 132: 'I p J D E 7B tB 8B 9B AC', + 548: 'F A B C K L G BC uB lB mB CC DC EC vB wB xB yB nB FC' + }, + F: { + 132: '0 1 2 3 4 5 6 7 8 9 F B C G M N O q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB b XB YB ZB aB bB cB dB eB fB gB hB iB jB kB P Q R rB S T U V W X Y Z GC HC IC JC lB zB KC mB' + }, + G: { + 132: 'E tB LC 0B MC NC OC PC', + 548: 'QC RC SC TC UC VC WC XC YC ZC aC bC cC dC eC vB wB xB yB nB' + }, + H: { 16: 'fC' }, + I: { 1: 'H', 16: 'oB I gC hC iC jC 0B kC lC' }, + J: { 16: 'D A' }, + K: { 1: 'b', 16: 'A B C lB zB mB' }, + L: { 1: 'H' }, + M: { 1: 'a' }, + N: { 132: 'A B' }, + O: { 16: 'mC' }, + P: { 1: 'nC oC pC qC rC uB sC tC uC vC wC nB xC yC', 16: 'I' }, + Q: { 16: 'zC' }, + R: { 16: '0C' }, + S: { 33: '1C' } + }, + B: 4, + C: 'CSS unicode-bidi property' +} f(prefixBidi, browsers => prefix(['isolate'], { diff --git a/package.json b/package.json index 08334a5fd..5a3f73c55 100644 --- a/package.json +++ b/package.json @@ -40,7 +40,7 @@ }, "dependencies": { "browserslist": "^4.21.3", - "caniuse-lite": "^1.0.30001390", + "caniuse-lite": "^1.0.30001394", "fraction.js": "^4.2.0", "normalize-range": "^0.1.2", "picocolors": "^1.0.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index e74775943..1aee0bb99 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -5,7 +5,7 @@ specifiers: '@size-limit/preset-small-lib': 8.1.0 browserslist: ^4.21.3 c8: ^7.12.0 - caniuse-lite: ^1.0.30001390 + caniuse-lite: ^1.0.30001394 clean-publish: ^4.0.1 eslint: ^8.23.0 eslint-config-standard: ^17.0.0 @@ -24,7 +24,7 @@ specifiers: dependencies: browserslist: 4.21.3 - caniuse-lite: 1.0.30001390 + caniuse-lite: 1.0.30001394 fraction.js: 4.2.0 normalize-range: 0.1.2 picocolors: 1.0.0 @@ -303,8 +303,8 @@ packages: engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} hasBin: true dependencies: - caniuse-lite: 1.0.30001390 - electron-to-chromium: 1.4.243 + caniuse-lite: 1.0.30001394 + electron-to-chromium: 1.4.247 node-releases: 2.0.6 update-browserslist-db: 1.0.7_browserslist@4.21.3 dev: false @@ -351,8 +351,8 @@ packages: engines: {node: '>=6'} dev: true - /caniuse-lite/1.0.30001390: - resolution: {integrity: sha512-sS4CaUM+/+vqQUlCvCJ2WtDlV81aWtHhqeEVkLokVJJa3ViN4zDxAGfq9R8i1m90uGHxo99cy10Od+lvn3hf0g==} + /caniuse-lite/1.0.30001394: + resolution: {integrity: sha512-TJ2GBCk9Oa6hw7Ta09E13PE0vHdwqL8mG9d1F2z42w87SpKykRksT4nt2IdGVI6n9TfeRHX60EM/WBxW/AdSfQ==} dev: false /chalk/4.1.2: @@ -388,7 +388,7 @@ packages: hasBin: true dependencies: cross-spawn: 7.0.3 - fast-glob: 3.2.11 + fast-glob: 3.2.12 lilconfig: 2.0.6 micromatch: 4.0.5 dev: true @@ -508,8 +508,8 @@ packages: esutils: 2.0.3 dev: true - /electron-to-chromium/1.4.243: - resolution: {integrity: sha512-BgLD2gBX43OSXwlT01oYRRD5NIB4n3okTRxkzEAC6G0SZG4TTlyrWMjbOo0fajCwqwpRtMHXQNMjtRN6qpNtfw==} + /electron-to-chromium/1.4.247: + resolution: {integrity: sha512-FLs6R4FQE+1JHM0hh3sfdxnYjKvJpHZyhQDjc2qFq/xFvmmRt/TATNToZhrcGUFzpF2XjeiuozrA8lI0PZmYYw==} dev: false /emoji-regex/8.0.0: @@ -1028,8 +1028,8 @@ packages: resolution: {integrity: sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==} dev: true - /fast-glob/3.2.11: - resolution: {integrity: sha512-xrO3+1bxSo3ZVHAnqzyuewYT6aMFHRAd4Kcs92MAonjwQZLsK9d0SF1IyQ3k5PoirxTW0Oe/RqFgMQ6TcNE5Ew==} + /fast-glob/3.2.12: + resolution: {integrity: sha512-DVj4CQIYYow0BlaelwK1pHl5n5cRSJfM60UA0zK891sVInoPri2Ekj7+e1CT3/3qxXenpI+nBBmQAcJPJgaj4w==} engines: {node: '>=8.6.0'} dependencies: '@nodelib/fs.stat': 2.0.5 @@ -1192,7 +1192,7 @@ packages: dependencies: array-union: 2.1.0 dir-glob: 3.0.1 - fast-glob: 3.2.11 + fast-glob: 3.2.12 ignore: 5.2.0 merge2: 1.4.1 slash: 3.0.0