Skip to content

Commit a00268e

Browse files
authored
Fix typos (#35683)
* fix(typo): wolrd -> world * fix(typo): _lineNumer -> _lineNumber * fix(typo): Dyanmic -> Dynamic * fix(typo): mutliple -> multiple * fix(typo): dyanmic -> dynamic * fix(typo): speical -> special * fix(typo): acceptible -> acceptable * fix(typo): dyanmic -> dynamic * fix(typo): nonexistant -> nonexistent * fix(typo): nonexistant -> nonexistent * fix(typo): nonexistant -> nonexistent * fix(typo): nonexistant -> nonexistent * fix(typo): nonexistant -> nonexistent * fix(typo): nonexistant -> nonexistent * fix(typo): accesible -> accessible * fix(typo): explicitely -> explicitly
1 parent 88a7e58 commit a00268e

File tree

16 files changed

+22
-22
lines changed

16 files changed

+22
-22
lines changed

bench/nested-deps/fuzzponent.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -137,37 +137,37 @@ if (require.main === module) {
137137
.option('minLen', {
138138
demandOption: false,
139139
default: MIN_COMPONENT_NAME_LEN,
140-
describe: 'the smallest acceptible component name length',
140+
describe: 'the smallest acceptable component name length',
141141
type: 'number',
142142
})
143143
.option('maxLen', {
144144
demandOption: false,
145145
default: MAX_COMPONENT_NAME_LEN,
146-
describe: 'the largest acceptible component name length',
146+
describe: 'the largest acceptable component name length',
147147
type: 'number',
148148
})
149149
.option('minLen', {
150150
demandOption: false,
151151
default: MIN_COMPONENT_NAME_LEN,
152-
describe: 'the smallest acceptible component name length',
152+
describe: 'the smallest acceptable component name length',
153153
type: 'number',
154154
})
155155
.option('maxLen', {
156156
demandOption: false,
157157
default: MAX_COMPONENT_NAME_LEN,
158-
describe: 'the largest acceptible component name length',
158+
describe: 'the largest acceptable component name length',
159159
type: 'number',
160160
})
161161
.option('minChild', {
162162
demandOption: false,
163163
default: MIN_CHILDREN,
164-
describe: 'the smallest number of acceptible component children',
164+
describe: 'the smallest number of acceptable component children',
165165
type: 'number',
166166
})
167167
.option('maxChild', {
168168
demandOption: false,
169169
default: MAX_CHILDREN,
170-
describe: 'the largest number of acceptible component children',
170+
describe: 'the largest number of acceptable component children',
171171
type: 'number',
172172
})
173173
.option('extension', {

packages/eslint-plugin-next/lib/utils/node-attributes.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
hasValue: false
1010
}
1111
Inclusion of hasValue is in case an eslint rule cares about boolean values
12-
explicitely assigned to attribute vs the attribute being used as a flag
12+
explicitly assigned to attribute vs the attribute being used as a flag
1313
*/
1414
class NodeAttributes {
1515
constructor(ASTnode) {

packages/next/build/webpack/plugins/wellknown-errors-plugin/parseCss.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ export function getCssError(
2323

2424
const res = regexCssError.exec(err.message)
2525
if (res) {
26-
const [, _lineNumer, _column, reason] = res
27-
const lineNumber = Math.max(1, parseInt(_lineNumer, 10))
26+
const [, _lineNumber, _column, reason] = res
27+
const lineNumber = Math.max(1, parseInt(_lineNumber, 10))
2828
const column = Math.max(1, parseInt(_column, 10))
2929

3030
return new SimpleWebpackError(

packages/next/pages/_document.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ export default class Document<P = {}> extends Component<DocumentProps & P> {
264264
}
265265
}
266266

267-
// Add a speical property to the built-in `Document` component so later we can
267+
// Add a special property to the built-in `Document` component so later we can
268268
// identify if a user customized `Document` is used or not.
269269
;(Document as any).__next_internal_document =
270270
function InternalFunctionDocument() {

packages/next/server/lib/squoosh/avif/avif_node_dec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1013,7 +1013,7 @@ var Module = (function () {
10131013
}
10141014
function replacePublicSymbol(name, value, numArguments) {
10151015
if (!Module.hasOwnProperty(name)) {
1016-
throwInternalError('Replacing nonexistant public symbol')
1016+
throwInternalError('Replacing nonexistent public symbol')
10171017
}
10181018
if (
10191019
undefined !== Module[name].overloadTable &&

packages/next/server/lib/squoosh/avif/avif_node_enc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1130,7 +1130,7 @@ var Module = (function () {
11301130
}
11311131
function replacePublicSymbol(name, value, numArguments) {
11321132
if (!Module.hasOwnProperty(name)) {
1133-
throwInternalError('Replacing nonexistant public symbol')
1133+
throwInternalError('Replacing nonexistent public symbol')
11341134
}
11351135
if (
11361136
undefined !== Module[name].overloadTable &&

packages/next/server/lib/squoosh/mozjpeg/mozjpeg_node_dec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1024,7 +1024,7 @@ var Module = (function () {
10241024
}
10251025
function replacePublicSymbol(name, value, numArguments) {
10261026
if (!Module.hasOwnProperty(name)) {
1027-
throwInternalError('Replacing nonexistant public symbol')
1027+
throwInternalError('Replacing nonexistent public symbol')
10281028
}
10291029
if (
10301030
undefined !== Module[name].overloadTable &&

packages/next/server/lib/squoosh/mozjpeg/mozjpeg_node_enc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1104,7 +1104,7 @@ var Module = (function () {
11041104
}
11051105
function replacePublicSymbol(name, value, numArguments) {
11061106
if (!Module.hasOwnProperty(name)) {
1107-
throwInternalError('Replacing nonexistant public symbol')
1107+
throwInternalError('Replacing nonexistent public symbol')
11081108
}
11091109
if (
11101110
undefined !== Module[name].overloadTable &&

packages/next/server/lib/squoosh/webp/webp_node_dec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -996,7 +996,7 @@ var Module = (function () {
996996
}
997997
function replacePublicSymbol(name, value, numArguments) {
998998
if (!Module.hasOwnProperty(name)) {
999-
throwInternalError('Replacing nonexistant public symbol')
999+
throwInternalError('Replacing nonexistent public symbol')
10001000
}
10011001
if (
10021002
undefined !== Module[name].overloadTable &&

packages/next/server/lib/squoosh/webp/webp_node_enc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1148,7 +1148,7 @@ var Module = (function () {
11481148
}
11491149
function replacePublicSymbol(name, value, numArguments) {
11501150
if (!Module.hasOwnProperty(name)) {
1151-
throwInternalError('Replacing nonexistant public symbol')
1151+
throwInternalError('Replacing nonexistent public symbol')
11521152
}
11531153
if (
11541154
undefined !== Module[name].overloadTable &&

0 commit comments

Comments
 (0)