@babel/plugin-syntax-record-and-tuple
Advanced tools
Comparing version 7.24.1 to 7.24.6
@@ -10,9 +10,12 @@ "use strict"; | ||
api.assertVersion(7); | ||
; | ||
return { | ||
name: "syntax-record-and-tuple", | ||
manipulateOptions(opts, parserOpts) { | ||
opts.generatorOpts.recordAndTupleSyntaxType = options.syntaxType; | ||
parserOpts.plugins.push(["recordAndTuple", { | ||
syntaxType: options.syntaxType | ||
}]); | ||
{ | ||
opts.generatorOpts.recordAndTupleSyntaxType = options.syntaxType; | ||
parserOpts.plugins.push(["recordAndTuple", { | ||
syntaxType: options.syntaxType | ||
}]); | ||
} | ||
} | ||
@@ -19,0 +22,0 @@ }; |
{ | ||
"name": "@babel/plugin-syntax-record-and-tuple", | ||
"version": "7.24.1", | ||
"version": "7.24.6", | ||
"description": "Allow parsing of records and tuples.", | ||
@@ -19,3 +19,3 @@ "repository": { | ||
"dependencies": { | ||
"@babel/helper-plugin-utils": "^7.24.0" | ||
"@babel/helper-plugin-utils": "^7.24.6" | ||
}, | ||
@@ -26,3 +26,3 @@ "peerDependencies": { | ||
"devDependencies": { | ||
"@babel/core": "^7.24.1" | ||
"@babel/core": "^7.24.6" | ||
}, | ||
@@ -29,0 +29,0 @@ "engines": { |
Sorry, the diff of this file is not supported yet
70800
7
38