@babel/plugin-transform-json-strings
Advanced tools
+1
-1
| import { declare } from '@babel/helper-plugin-utils'; | ||
| var index = declare(api => { | ||
| api.assertVersion("8.0.0-beta.2"); | ||
| api.assertVersion("8.0.0-beta.3"); | ||
| const regex = /(\\*)([\u2028\u2029])/g; | ||
@@ -6,0 +6,0 @@ function replace(match, escapes, separator) { |
+5
-5
| { | ||
| "name": "@babel/plugin-transform-json-strings", | ||
| "version": "8.0.0-beta.2", | ||
| "version": "8.0.0-beta.3", | ||
| "description": "Escape U+2028 LINE SEPARATOR and U+2029 PARAGRAPH SEPARATOR in JS strings", | ||
@@ -20,10 +20,10 @@ "repository": { | ||
| "dependencies": { | ||
| "@babel/helper-plugin-utils": "^8.0.0-beta.2" | ||
| "@babel/helper-plugin-utils": "^8.0.0-beta.3" | ||
| }, | ||
| "peerDependencies": { | ||
| "@babel/core": "^8.0.0-beta.2" | ||
| "@babel/core": "^8.0.0-beta.3" | ||
| }, | ||
| "devDependencies": { | ||
| "@babel/core": "^8.0.0-beta.2", | ||
| "@babel/helper-plugin-test-runner": "^8.0.0-beta.2" | ||
| "@babel/core": "^8.0.0-beta.3", | ||
| "@babel/helper-plugin-test-runner": "^8.0.0-beta.3" | ||
| }, | ||
@@ -30,0 +30,0 @@ "engines": { |