@babel/plugin-transform-json-strings
Advanced tools
+1
-1
| import { declare } from '@babel/helper-plugin-utils'; | ||
| var index = declare(api => { | ||
| api.assertVersion("^7.0.0-0 || ^8.0.0 || 8.0.0-beta.4"); | ||
| api.assertVersion("^7.0.0-0 || ^8.0.0 || 8.0.0-rc.1"); | ||
| const regex = /(\\*)([\u2028\u2029])/g; | ||
@@ -6,0 +6,0 @@ function replace(match, escapes, separator) { |
+4
-4
| { | ||
| "name": "@babel/plugin-transform-json-strings", | ||
| "version": "8.0.0-beta.4", | ||
| "version": "8.0.0-rc.1", | ||
| "description": "Escape U+2028 LINE SEPARATOR and U+2029 PARAGRAPH SEPARATOR in JS strings", | ||
@@ -20,3 +20,3 @@ "repository": { | ||
| "dependencies": { | ||
| "@babel/helper-plugin-utils": "^8.0.0-beta.4" | ||
| "@babel/helper-plugin-utils": "^8.0.0-rc.1" | ||
| }, | ||
@@ -27,4 +27,4 @@ "peerDependencies": { | ||
| "devDependencies": { | ||
| "@babel/core": "^8.0.0-beta.4", | ||
| "@babel/helper-plugin-test-runner": "^8.0.0-beta.4" | ||
| "@babel/core": "^8.0.0-rc.1", | ||
| "@babel/helper-plugin-test-runner": "^8.0.0-rc.1" | ||
| }, | ||
@@ -31,0 +31,0 @@ "engines": { |
Sorry, the diff of this file is not supported yet
5843
-0.17%