![pnpm 9.5 Introduces Catalogs: Shareable Dependency Version Specifiers](https://cdn.sanity.io/images/cgdhsj6q/production/c06a5b74512bcc6da29d38cef96a454fa947810d-1024x1024.webp?w=400&fit=max&auto=format)
Security News
pnpm 9.5 Introduces Catalogs: Shareable Dependency Version Specifiers
pnpm 9.5 introduces a Catalogs feature, enabling shareable dependency version specifiers, reducing merge conflicts and improving support for monorepos.
@babel/plugin-transform-unicode-escapes
Advanced tools
Package description
@babel/plugin-transform-unicode-escapes is a Babel plugin that transforms Unicode escape sequences in JavaScript string literals into their corresponding Unicode characters. This can be useful for improving readability and ensuring compatibility with environments that may not fully support Unicode escape sequences.
Transform Unicode Escape Sequences
This feature transforms Unicode escape sequences (e.g., \u0041) into their corresponding Unicode characters (e.g., 'A'). This can make the code more readable and easier to understand.
const str = '\u0041\u0042\u0043'; // ABC
The 'unicode-escape' package provides similar functionality by converting Unicode escape sequences into their corresponding characters. However, it is a standalone utility rather than a Babel plugin, which means it needs to be used separately from the Babel transformation pipeline.
The 'unicode-escape-sequences' package offers utilities to work with Unicode escape sequences, including converting them to characters and vice versa. Like 'unicode-escape', it is not a Babel plugin and must be used independently.
Changelog
v7.22.10 (2023-08-07)
babel-plugin-transform-typescript
babel-helper-create-class-features-plugin
, babel-plugin-proposal-decorators
, babel-plugin-proposal-destructuring-private
, babel-plugin-transform-class-properties
, babel-plugin-transform-class-static-block
, babel-plugin-transform-new-target
, babel-plugin-transform-private-methods
, babel-preset-env
babel-cli
babel-traverse
, babel-types
path.isX
(@liuxingbaoyu)babel-generator
, babel-types
babel-cli
, babel-core
, babel-generator
, babel-helper-builder-react-jsx
, babel-preset-env
, babel-standalone
babel-helper-compilation-targets
@babel/core
peerDep from helper-compilation-targets
(@nicolo-ribaudo)babel-parser
babel-plugin-transform-runtime
, babel-traverse
, babel-types
typescript-eslint@v6
with reworked configs (@JoshuaKGoldberg)babel-plugin-transform-block-scoping
, babel-plugin-transform-parameters
, babel-plugin-transform-regenerator
transform-block-scoping
loops output size (@liuxingbaoyu)Readme
Compile ES2015 Unicode escapes to ES5
See our website @babel/plugin-transform-unicode-escapes for more information.
Using npm:
npm install --save-dev @babel/plugin-transform-unicode-escapes
or using yarn:
yarn add @babel/plugin-transform-unicode-escapes --dev
FAQs
Unknown package
We found that @babel/plugin-transform-unicode-escapes demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
pnpm 9.5 introduces a Catalogs feature, enabling shareable dependency version specifiers, reducing merge conflicts and improving support for monorepos.
Security News
A threat actor on BreachForums is selling an unverified npm vulnerability for account takeover, but npm has not officially confirmed the existence of this security concern.
Security News
Cyber insurance rates are dropping as the market matures, according to a new report projecting global premiums to reach $43 billion by 2030, driven by international market uptake and growth in the SME sector.