diff --git a/README.md b/README.md index ccc4c80b1..1babcc085 100644 --- a/README.md +++ b/README.md @@ -315,7 +315,7 @@ a question to [StackOverflow with the webpack tag](https://stackoverflow.com/tag If you are twitter savvy you can tweet #webpack with your question and someone should be able to reach out and help also. -If you have discovered a 🐜 or have a feature suggestion, feel free to create an issue on Github. +If you have discovered a 🐜 or have a feature suggestion, feel free to create an issue on GitHub. ### License @@ -405,7 +405,7 @@ src="https://static.monei.net/monei-logo.svg" height="30" alt="MONEI">

Gold Sponsors

-[Become a gold sponsor](https://opencollective.com/webpack#sponsor) and get your logo on our README on Github with a link to your site. +[Become a gold sponsor](https://opencollective.com/webpack#sponsor) and get your logo on our README on GitHub with a link to your site.
@@ -444,7 +444,7 @@ src="https://static.monei.net/monei-logo.svg" height="30" alt="MONEI">

Silver Sponsors

-[Become a silver sponsor](https://opencollective.com/webpack#sponsor) and get your logo on our README on Github with a link to your site. +[Become a silver sponsor](https://opencollective.com/webpack#sponsor) and get your logo on our README on GitHub with a link to your site.
@@ -483,7 +483,7 @@ src="https://static.monei.net/monei-logo.svg" height="30" alt="MONEI">

Bronze Sponsors

-[Become a bronze sponsor](https://opencollective.com/webpack#sponsor) and get your logo on our README on Github with a link to your site. +[Become a bronze sponsor](https://opencollective.com/webpack#sponsor) and get your logo on our README on GitHub with a link to your site.
@@ -593,7 +593,7 @@ src="https://static.monei.net/monei-logo.svg" height="30" alt="MONEI">

Backers

-[Become a backer](https://opencollective.com/webpack#backer) and get your image on our README on Github with a link to your site. +[Become a backer](https://opencollective.com/webpack#backer) and get your image on our README on GitHub with a link to your site. diff --git a/lib/FileSystemInfo.js b/lib/FileSystemInfo.js index 59bf47336..f60e601d1 100644 --- a/lib/FileSystemInfo.js +++ b/lib/FileSystemInfo.js @@ -3394,7 +3394,7 @@ class FileSystemInfo { timestampHash: info, hash: info || "" }), - fromSymlink: (fle, target, callback) => { + fromSymlink: (file, target, callback) => { callback(null, { timestampHash: target, hash: target, diff --git a/lib/ModuleFilenameHelpers.js b/lib/ModuleFilenameHelpers.js index 949a011ee..b6fc1a621 100644 --- a/lib/ModuleFilenameHelpers.js +++ b/lib/ModuleFilenameHelpers.js @@ -115,7 +115,7 @@ const asRegExp = test => { * @template T * Returns a lazy object. The object is lazy in the sense that the properties are * only evaluated when they are accessed. This is only obtained by setting a function as the value for each key. - * @param {Record T>} obj the object to covert to a lazy access object + * @param {Record T>} obj the object to convert to a lazy access object * @returns {Object} the lazy access object */ const lazyObject = obj => { diff --git a/lib/node/NodeWatchFileSystem.js b/lib/node/NodeWatchFileSystem.js index 13befb709..7f7f6ebde 100644 --- a/lib/node/NodeWatchFileSystem.js +++ b/lib/node/NodeWatchFileSystem.js @@ -26,7 +26,7 @@ class NodeWatchFileSystem { /** * @param {Iterable} files watched files * @param {Iterable} directories watched directories - * @param {Iterable} missing watched exitance entries + * @param {Iterable} missing watched existence entries * @param {number} startTime timestamp of start time * @param {WatchOptions} options options object * @param {function((Error | null)=, Map, Map, Set, Set): void} callback aggregated callback diff --git a/lib/optimize/EnsureChunkConditionsPlugin.js b/lib/optimize/EnsureChunkConditionsPlugin.js index 8a32cc258..dfd2dce95 100644 --- a/lib/optimize/EnsureChunkConditionsPlugin.js +++ b/lib/optimize/EnsureChunkConditionsPlugin.js @@ -56,7 +56,7 @@ class EnsureChunkConditionsPlugin { // We reached the entrypoint: fail if (chunkGroup.isInitial()) { throw new Error( - "Cannot fullfil chunk condition of " + module.identifier() + "Cannot fulfil chunk condition of " + module.identifier() ); } // Try placing in all parents diff --git a/lib/optimize/SplitChunksPlugin.js b/lib/optimize/SplitChunksPlugin.js index d430df495..fec9c41ac 100644 --- a/lib/optimize/SplitChunksPlugin.js +++ b/lib/optimize/SplitChunksPlugin.js @@ -160,7 +160,7 @@ const MinMaxSizeWarning = require("./MinMaxSizeWarning"); * @property {string} name * @property {Record} sizes * @property {Set} chunks - * @property {Set} reuseableChunks + * @property {Set} reusableChunks * @property {Set} chunksKeys */ @@ -1177,7 +1177,7 @@ module.exports = class SplitChunksPlugin { name, sizes: {}, chunks: new Set(), - reuseableChunks: new Set(), + reusableChunks: new Set(), chunksKeys: new Set() }) ); diff --git a/lib/util/fs.js b/lib/util/fs.js index bcbf57126..127e61a7d 100644 --- a/lib/util/fs.js +++ b/lib/util/fs.js @@ -85,7 +85,7 @@ const path = require("path"); * @callback WatchMethod * @param {Iterable} files watched files * @param {Iterable} directories watched directories - * @param {Iterable} missing watched exitance entries + * @param {Iterable} missing watched existence entries * @param {number} startTime timestamp of start time * @param {WatchOptions} options options object * @param {function(Error=, Map, Map, Set, Set): void} callback aggregated callback diff --git a/lib/wasm-sync/WebAssemblyGenerator.js b/lib/wasm-sync/WebAssemblyGenerator.js index 4c0bb0318..af1c51de9 100644 --- a/lib/wasm-sync/WebAssemblyGenerator.js +++ b/lib/wasm-sync/WebAssemblyGenerator.js @@ -118,7 +118,7 @@ const getNextTypeIndex = ast => { /** * Get next func index * - * The Func section metadata provide informations for implemented funcs + * The Func section metadata provide information for implemented funcs * in order to have the correct index we shift the index by number of external * functions. * diff --git a/test/cases/chunks/inline-options/index.js b/test/cases/chunks/inline-options/index.js index 61555301e..f75ddad90 100644 --- a/test/cases/chunks/inline-options/index.js +++ b/test/cases/chunks/inline-options/index.js @@ -181,7 +181,7 @@ if (process.env.NODE_ENV === "production") { ); }); - it("should be able to load with webpackFetchPriorty high, low and auto", function () { + it("should be able to load with webpackFetchPriority high, low and auto", function () { return Promise.all([ import(/* webpackFetchPriority: "high"*/ "./dir14/a"), import(/* webpackFetchPriority: "low"*/ "./dir14/b"), diff --git a/test/cases/parsing/context/index.js b/test/cases/parsing/context/index.js index 6822f3c88..c2bbbc43e 100644 --- a/test/cases/parsing/context/index.js +++ b/test/cases/parsing/context/index.js @@ -20,7 +20,7 @@ it("should automatically create contexts", function() { expect(require("./templates/t" + mp + "l")).toBe("test template"); }); -it("should be able to require.resolve with automatical context", function() { +it("should be able to require.resolve with automatic context", function() { var template = "tmpl"; expect(require.resolve("./templates/" + template)).toBe( require.resolve("./templates/tmpl") diff --git a/test/configCases/inner-graph/issue-11678/module.js b/test/configCases/inner-graph/issue-11678/module.js index 25570eb0a..aef489980 100644 --- a/test/configCases/inner-graph/issue-11678/module.js +++ b/test/configCases/inner-graph/issue-11678/module.js @@ -89,7 +89,7 @@ const _positionSettings = { headerStatus: "" }, settings: { - [SETTINGS.CREATEABLE]: false, + [SETTINGS.CREATABLE]: false, [SETTINGS.DELETABLE]: false } }, @@ -466,7 +466,7 @@ async function _createToolbarTable(setEvent) { _staticData, privileges.PRIVILEGE.SICONNECTPOSITION ) && - _positionSettings.settings[SETTINGS.CREATEABLE] + _positionSettings.settings[SETTINGS.CREATABLE] ) { toolbar.add(_buttonConnectPosition(onConnectPosition)); } @@ -507,7 +507,7 @@ async function _createToolbarTable(setEvent) { _staticData, privileges.PRIVILEGE.COPYORDERPOS ) && - _positionSettings.settings[SETTINGS.CREATEABLE] + _positionSettings.settings[SETTINGS.CREATABLE] ) { toolbar.add( buttonCopyJobToOrderPos(onJobToOrderPos.bind(this, true)) @@ -525,7 +525,7 @@ async function _createToolbarTable(setEvent) { { const s = { canBeCreated: - _positionSettings.settings[SETTINGS.CREATEABLE] || false + _positionSettings.settings[SETTINGS.CREATABLE] || false }; if (s.canBeCreated) { if ( @@ -685,7 +685,7 @@ async function _createToolbarTable(setEvent) { _staticData, privileges.PRIVILEGE.SICONNECTPOSITION ) && - _positionSettings.settings[SETTINGS.CREATEABLE] + _positionSettings.settings[SETTINGS.CREATABLE] ) { toolbar.add(_buttonConnectPosition(onConnectPosition)); } @@ -765,7 +765,7 @@ async function _createToolbarTable(setEvent) { _staticData, privileges.PRIVILEGE.COPYORDERPOS ) && - _positionSettings.settings[SETTINGS.CREATEABLE] + _positionSettings.settings[SETTINGS.CREATABLE] ) { toolbar.add(buttonCopyJobToOrderPos(onJobToOrderPos.bind(this, true))); } @@ -806,7 +806,7 @@ async function _createToolbarTable(setEvent) { case buttons.STATE.ciPositionTableMenu: { const s = { - canBeCreated: _positionSettings.settings[SETTINGS.CREATEABLE] || false + canBeCreated: _positionSettings.settings[SETTINGS.CREATABLE] || false }; if (s.canBeCreated) { if ( @@ -843,7 +843,7 @@ async function _createToolbarTable(setEvent) { case buttons.STATE.ciPositionTableMenuMultiple: { const s = { - canBeCreated: _positionSettings.settings[SETTINGS.CREATEABLE] || false + canBeCreated: _positionSettings.settings[SETTINGS.CREATABLE] || false }; if (s.canBeCreated) { if ( @@ -1017,7 +1017,7 @@ export async function getDataAndShowTable( default: break; } - _positionSettings.settings[SETTINGS.CREATEABLE] = settingsData.canBeCreated; + _positionSettings.settings[SETTINGS.CREATABLE] = settingsData.canBeCreated; _positionSettings.settings[SETTINGS.DELETABLE] = settingsData.canBeDeleted; _positionSettings.settings[SETTINGS.MULTIPLEDELETE] = settingsData.showButtonDeleteAndMoveNCH; @@ -2720,7 +2720,7 @@ function _showFormButtons(manualSetEvent) { if (manualSetEvent) { _formEvent = manualSetEvent; } - s.canBeCreated = _positionSettings.settings[SETTINGS.CREATEABLE]; + s.canBeCreated = _positionSettings.settings[SETTINGS.CREATABLE]; s.canBeDeleted = _positionSettings.settings[SETTINGS.DELETABLE]; if ( _formData && @@ -3003,7 +3003,7 @@ function _showParentTable(forceReload = true) { } } } -function _setParentModulSettings(moduleName) { +function _setParentModuleSettings(moduleName) { switch (moduleName) { case ModuleNameEnum.JOB: _parentModuleSettings = { @@ -3051,7 +3051,7 @@ export async function initialize( moduleName, previousTableTitle ) { - _setParentModulSettings(moduleName); + _setParentModuleSettings(moduleName); _tableContainerId = "#" + newContainerId; _formIdName = moduleName + "_" + newContainerId + "-form"; _previousTableTitle = previousTableTitle; @@ -3075,7 +3075,7 @@ export async function renderFormInDialog(contentId, data, addTask = false) { jpos_headertype: 1, jpos_subposno: 1 }; - _setParentModulSettings(ModuleNameEnum.JOB); + _setParentModuleSettings(ModuleNameEnum.JOB); _isFormInDialog = true; _isFormInDialogSelector = contentId; _isFormInDialogJobPK = pkForJobService; @@ -3089,7 +3089,7 @@ export async function renderFormInDialog(contentId, data, addTask = false) { getPKfromModule(), _getModuleType() ); - _positionSettings.settings[SETTINGS.CREATEABLE] = settings.canBeCreated; + _positionSettings.settings[SETTINGS.CREATABLE] = settings.canBeCreated; _positionSettings.settings[SETTINGS.DELETABLE] = settings.canBeDeleted; const emailOfCurrentUser = await employeeData.getEmplList(); _generalDataEmplLists = { diff --git a/test/configCases/mangle/mangle-with-destructuring-assignment/index.js b/test/configCases/mangle/mangle-with-destructuring-assignment/index.js index b045bee6e..518cc2851 100644 --- a/test/configCases/mangle/mangle-with-destructuring-assignment/index.js +++ b/test/configCases/mangle/mangle-with-destructuring-assignment/index.js @@ -8,7 +8,7 @@ it("should not mangle export when destructuring module", () => { expect(objCanMangle).toBe(false) }); -it("should mangle export when destructuring module's porperty", () => { +it("should mangle export when destructuring module's property", () => { const { a, b } = module.obj2 const { obj2CanMangle } = module expect(a).toBe("a"); diff --git a/test/configCases/plugins/source-map-dev-tool-plugin/index.js b/test/configCases/plugins/source-map-dev-tool-plugin/index.js index 53b37f635..30bc39f50 100644 --- a/test/configCases/plugins/source-map-dev-tool-plugin/index.js +++ b/test/configCases/plugins/source-map-dev-tool-plugin/index.js @@ -5,7 +5,7 @@ it("should contain publicPath prefix in [url] and resolve relatively to fileCont expect(source).toMatch("//# sourceMappingURL=https://10.10.10.10/project/sourcemaps/test.js.map"); }); -it("should write sourcemap file relative fo fileContext", function() { +it("should write sourcemap file relative to fileContext", function() { var fs = require("fs"), path = require("path"); expect(fs.existsSync(path.join(__dirname, "sourcemaps/test.js.map"))).toBe(true);