Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Use @istanbuljs/schema to pull defaults #485

Merged
merged 1 commit into from
Oct 5, 2019
Merged

feat: Use @istanbuljs/schema to pull defaults #485

merged 1 commit into from
Oct 5, 2019

Conversation

coreyfarrell
Copy link
Member

Fixes #460

BREAKING CHANGE: The defaults for autoWrap, preserveComments,
esModules and produceSourceMap are now true. This applies only to
the stand-alone instrumenter, the visitor does not use these options.

BREAKING CHANGE: The flow and jsx parser plugins are no longer
enabled by default. This applies only to the stand-alone instrumenter,
the visitor does not use this option.

BREAKING CHANGE: The plugins option of the stand-alone instrumenter
has been renamed to parserPlugins to match nyc.


The removal of flow and jsx default parser plugins will be a breaking change in nyc@15. All other default changes actually cause the built-in instrumenter defaults to match those currently used by nyc. Listed as breaking changes here on the off chance that this effects outside users. None of these breaking changes will have any effect on babel-plugin-istanbul.

Fixes #460

BREAKING CHANGE: The defaults for `autoWrap`, `preserveComments`,
`esModules` and `produceSourceMap` are now true.  This applies only to
the stand-alone instrumenter, the visitor does not use these options.

BREAKING CHANGE: The `flow` and `jsx` parser plugins are no longer
enabled by default.  This applies only to the stand-alone instrumenter,
the visitor does not use this option.

BREAKING CHANGE: The `plugins` option of the stand-alone instrumenter
has been renamed to `parserPlugins` to match nyc.
@coreyfarrell coreyfarrell merged commit 87e27f3 into istanbuljs:master Oct 5, 2019
@coreyfarrell coreyfarrell deleted the config-schemas branch October 5, 2019 15:33
vivek-freshworks pushed a commit to freshworks/istanbuljs that referenced this pull request Oct 16, 2023
Fixes istanbuljs#460

BREAKING CHANGE: The defaults for `autoWrap`, `preserveComments`,
`esModules` and `produceSourceMap` are now true.  This applies only to
the stand-alone instrumenter, the visitor does not use these options.

BREAKING CHANGE: The `flow` and `jsx` parser plugins are no longer
enabled by default.  This applies only to the stand-alone instrumenter,
the visitor does not use this option.

BREAKING CHANGE: The `plugins` option of the stand-alone instrumenter
has been renamed to `parserPlugins` to match nyc.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Babel parser plugin flow vs typescript
1 participant