Skip to content

Commit

Permalink
Fix unicode-bidi import
Browse files Browse the repository at this point in the history
  • Loading branch information
ai committed Sep 11, 2022
1 parent 135d11f commit acfe2ad
Show file tree
Hide file tree
Showing 3 changed files with 59 additions and 14 deletions.
47 changes: 46 additions & 1 deletion data/prefixes.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'], {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
24 changes: 12 additions & 12 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit acfe2ad

Please sign in to comment.