Security News
ESLint is Now Language-Agnostic: Linting JSON, Markdown, and Beyond
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
@babel/plugin-transform-json-strings
Advanced tools
Escape U+2028 LINE SEPARATOR and U+2029 PARAGRAPH SEPARATOR in JS strings
Escape U+2028 LINE SEPARATOR and U+2029 PARAGRAPH SEPARATOR in JS strings
See our website @babel/plugin-transform-json-strings for more information.
Using npm:
npm install --save-dev @babel/plugin-transform-json-strings
or using yarn:
yarn add @babel/plugin-transform-json-strings --dev
v7.22.11 (2023-08-24)
babel-plugin-transform-typescript
babel-types
babel-plugin-transform-async-generator-functions
, babel-plugin-transform-class-static-block
, babel-plugin-transform-dynamic-import
, babel-plugin-transform-export-namespace-from
, babel-plugin-transform-json-strings
, babel-plugin-transform-logical-assignment-operators
, babel-plugin-transform-nullish-coalescing-operator
, babel-plugin-transform-numeric-separator
, babel-plugin-transform-object-rest-spread
, babel-plugin-transform-optional-catch-binding
, babel-plugin-transform-optional-chaining
, babel-plugin-transform-private-property-in-object
babel-core
babel-parser
babel-core
, babel-helper-compilation-targets
, babel-parser
, babel-plugin-proposal-destructuring-private
, babel-plugin-syntax-decorators
, babel-preset-env
, babel-preset-react
, babel-register
, babel-traverse
, babel-types
babel-core
, babel-helpers
, babel-plugin-transform-async-generator-functions
, babel-plugin-transform-modules-commonjs
, babel-plugin-transform-regenerator
, babel-preset-env
, babel-runtime-corejs2
, babel-runtime-corejs3
, babel-runtime
babel-plugin-bugfix-v8-spread-parameters-in-optional-chaining
, babel-plugin-transform-class-properties
, babel-plugin-transform-classes
, babel-plugin-transform-optional-chaining
, babel-preset-env
?.
output when chain result is ignored (@nicolo-ribaudo)FAQs
Escape U+2028 LINE SEPARATOR and U+2029 PARAGRAPH SEPARATOR in JS strings
The npm package @babel/plugin-transform-json-strings receives a total of 13,185,656 weekly downloads. As such, @babel/plugin-transform-json-strings popularity was classified as popular.
We found that @babel/plugin-transform-json-strings 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
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
Security News
Members Hub is conducting large-scale campaigns to artificially boost Discord server metrics, undermining community trust and platform integrity.
Security News
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.