documentation
Advanced tools
Comparing version 14.0.0-alpha.0 to 14.0.0-alpha.1
@@ -5,2 +5,9 @@ # Changelog | ||
## [14.0.0-alpha.1](https://github.com/documentationjs/documentation/compare/v14.0.0-alpha.0...v14.0.0-alpha.1) (2022-08-07) | ||
### Features | ||
* :sparkles: update Babel, copy list of plugins from Prettier ([3f187d7](https://github.com/documentationjs/documentation/commit/3f187d73132c6667a9140bd491c5f703c1f37c40)) | ||
## [14.0.0-alpha.0](https://github.com/documentationjs/documentation/compare/v13.2.5...v14.0.0-alpha.0) (2022-08-05) | ||
@@ -7,0 +14,0 @@ |
{ | ||
"name": "documentation", | ||
"description": "a documentation generator", | ||
"version": "14.0.0-alpha.0", | ||
"version": "14.0.0-alpha.1", | ||
"author": "Tom MacWright", | ||
@@ -6,0 +6,0 @@ "homepage": "https://documentation.js.org", |
@@ -9,9 +9,24 @@ import babelParser from '@babel/parser'; | ||
// this list is roughly the same as the one in prettier | ||
// https://github.com/prettier/prettier/blob/24d39a906834cf449304dc684b280a5ca9a0a6d7/src/language-js/parser-babel.js#L23 | ||
export const standardBabelParserPlugins = [ | ||
'classPrivateMethods', | ||
'classPrivateProperties', | ||
'classProperties', | ||
'classStaticBlock', | ||
'decimal', | ||
['decorators', { decoratorsBeforeExport: false }], | ||
'doExpressions', | ||
'exportDefaultFrom', | ||
'functionBind', | ||
'functionSent', | ||
'importAssertions', | ||
'moduleBlocks', | ||
'moduleStringNames', | ||
'partialApplication', | ||
['pipelineOperator', { proposal: 'minimal' }], | ||
'throwExpressions' | ||
'privateIn', | ||
['recordAndTuple', { syntaxType: 'hash' }], | ||
'throwExpressions', | ||
'v8intrinsic' | ||
]; | ||
@@ -25,3 +40,2 @@ | ||
...standardBabelParserPlugins, | ||
['decorators', { decoratorsBeforeExport: false }], | ||
...(TYPESCRIPT_EXTS[path.extname(file || '')] || ['flow', 'jsx']) | ||
@@ -28,0 +42,0 @@ ] |
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
1851003
7853
0