Commit 317e332
authored
Enforce node protocol import (#17207)
* enable prefer-node-protocol rule
* prefer node protocol import
* fix broken scripts
* fix e2e-old-babel error
* strip node: protocol for old node versions
* update Makefile.mjs1 parent 68ba495 commit 317e332
152 files changed
Lines changed: 402 additions & 284 deletions
File tree
- benchmark
- babel-core
- real-case-preset-env-flow-ast
- real-case-preset-env-typescript
- real-case-ts-cjs
- babel-generator/real-case
- babel-parser
- real-case-ts
- real-case
- eslint
- babel-eslint-parser
- src
- test
- babel-eslint-tests/test
- helpers
- integration
- eslint
- rules
- packages
- babel-cli
- src/babel
- test/helpers
- babel-compat-data/scripts
- babel-core
- src
- config
- files
- gensync-utils
- transformation
- test
- helpers
- babel-generator
- scripts
- test
- babel-helper-compilation-targets/test
- browserslist-extends
- custom-browserslist-env
- load-browserslist-package-json
- load-browserslistrc
- babel-helper-fixtures/src
- babel-helper-module-imports
- src
- test
- babel-helper-module-transforms/src
- babel-helper-plugin-test-runner/src
- babel-helper-transform-fixture-test-runner
- src
- test
- babel-helpers
- scripts
- test/helpers
- babel-node
- scripts
- src
- test/helpers
- babel-parser
- bin
- test
- helpers
- babel-plugin-transform-modules-amd/test
- babel-plugin-transform-modules-commonjs/test
- babel-plugin-transform-modules-systemjs/test
- babel-plugin-transform-modules-umd
- src
- test
- babel-plugin-transform-react-display-name/src
- babel-plugin-transform-regenerator
- src/regenerator
- test
- babel-plugin-transform-runtime
- scripts
- src/get-runtime-path
- test
- babel-plugin-transform-typeof-symbol/test
- babel-plugin-transform-typescript/src
- babel-preset-env
- scripts
- test
- babel-register
- src
- worker
- test
- babel-standalone/test
- babel-types
- scripts/generators
- test
- builders
- scripts
- babel-plugin-transform-node-protocol-import
- generators
- integration-tests/utils
- parser-tests
- flow
- test262
- typescript
- utils
- repo-utils
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
| 2 | + | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
1 | 3 | | |
2 | 4 | | |
3 | 5 | | |
| |||
191 | 193 | | |
192 | 194 | | |
193 | 195 | | |
| 196 | + | |
194 | 197 | | |
195 | 198 | | |
196 | 199 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
0 commit comments