stable

Clone or download

Read-only

Replace relative import of the "potentially dangerous BiDi chars" with a package import

Part of request #26381: Prevent relative imports outside of a package Change-Id: I1348808926a6026ba29aa301e5637e21ec7cbad4

Modified Files

Name
A lib/frontend/potentially-dangerous-bidirectional-characters/.gitignore +1 −0 Go to diff View file
A lib/frontend/potentially-dangerous-bidirectional-characters/package.json +19 −0 Go to diff View file
A lib/frontend/potentially-dangerous-bidirectional-characters/pnpm-lock.yaml +13 −0 Go to diff View file
A lib/frontend/potentially-dangerous-bidirectional-characters/src/index.ts +30 −0 Go to diff View file
A lib/frontend/potentially-dangerous-bidirectional-characters/src/potentially-dangerous-bidirectional-characters-cli.mjs +25 −0 Go to diff View file
A lib/frontend/potentially-dangerous-bidirectional-characters/tsconfig.json +10 −0 Go to diff View file
M plugins/git/include/Unicode/DangerousUnicodeText.php +1 −1 Go to diff View file
M plugins/git/package.json +3 −1 Go to diff View file
M plugins/git/pnpm-lock.yaml +2 −0 Go to diff View file
M plugins/pullrequest/package.json +1 −0 Go to diff View file
M plugins/pullrequest/pnpm-lock.yaml +2 −0 Go to diff View file
M plugins/pullrequest/scripts/src/app/file-diff/diff-bidirectional-unicode-text.ts +3 −3 Go to diff View file
M plugins/pullrequest/tsconfig.json +0 −3 Go to diff View file
D src/common/Code/potentially-dangerous-bidirectional-characters.json +0 −11 Go to diff View file
M src/package.json +1 −0 Go to diff View file
M src/pnpm-lock.yaml +2 −0 Go to diff View file
M src/scripts/syntax-highlight/bidirectional-unicode-text.ts +2 −2 Go to diff View file