weboptimizer 2.0.1603 → 2.0.1605

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/eslint.config.mjs CHANGED
@@ -6,7 +6,7 @@ import google from 'eslint-config-google';
6
6
  import jsdoc from 'eslint-plugin-jsdoc';
7
7
  import { readFile, stat } from 'fs/promises';
8
8
  import globals from 'globals';
9
- import { dirname, resolve } from 'path';
9
+ import { basename, dirname, resolve } from 'path';
10
10
  import { cwd } from 'process';
11
11
  import typescript from 'typescript-eslint';
12
12
  /**
@@ -64,7 +64,7 @@ export const config = defineConfig({
64
64
  jsx: true
65
65
  },
66
66
  impliedStrict: true,
67
- project: TSCONFIG_FILE_PATH,
67
+ project: basename(TSCONFIG_FILE_PATH),
68
68
  tsconfigRootDir: resolve(dirname(TSCONFIG_FILE_PATH))
69
69
  },
70
70
  sourceType: 'module'
package/helper.js CHANGED
@@ -272,9 +272,9 @@ var determineExternalRequest = exports.determineExternalRequest = function deter
272
272
  parts.splice(-1, 1);
273
273
  }
274
274
  /*
275
- NOTE: We mark dependencies as external if they does not contain a
276
- loader in their request and aren't part of the current main package or
277
- have a file extension other than javaScript aware.
275
+ NOTE: We mark dependencies as external if they do not contain a loader
276
+ in their request and aren't part of the current main package or have a
277
+ file extension other than javaScript aware.
278
278
  */
279
279
  if (!inPlaceNormalLibrary && (extensions.file.external.length === 0 || filePath && extensions.file.external.includes((0, _path.extname)(filePath)) || !filePath && extensions.file.external.includes('')) && !(inPlaceDynamicLibrary && request.includes('!')) && (!filePath && inPlaceDynamicLibrary || filePath && (!filePath.startsWith(context) || isFilePathInLocation(filePath, externalModuleLocations)))) return applyContext(resolvedRequest, requestContext, referencePath, aliases, moduleReplacements, relativeModuleLocations) || null;
280
280
  return null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "weboptimizer",
3
- "version": "2.0.1603",
3
+ "version": "2.0.1605",
4
4
  "description": "A generic web optimizer, (module) bundler and development environment.",
5
5
  "keywords": [
6
6
  "webpack",
@@ -98,7 +98,7 @@
98
98
  "babel-loader": "^10.0.0",
99
99
  "babel-plugin-transform-modern-regexp": "^0.0.6",
100
100
  "babel-preset-minify": "^0.5.2",
101
- "clientnode": "3.0.1304",
101
+ "clientnode": "3.0.1306",
102
102
  "ejs": "^3.1.10",
103
103
  "exports-loader": "^5.0.0",
104
104
  "extract-loader": "^5.1.0",
@@ -135,7 +135,7 @@
135
135
  "documentation-website": "^1.0.394",
136
136
  "eslint": "^9.35.0",
137
137
  "eslint-config-google": "^0.14.0",
138
- "eslint-plugin-jsdoc": "^55.3.0",
138
+ "eslint-plugin-jsdoc": "^56.1.2",
139
139
  "favicons": "^7.2.0",
140
140
  "favicons-webpack-plugin": "^6.0.1",
141
141
  "globals": "^16.4.0",
@@ -156,7 +156,7 @@
156
156
  "style-loader": "^4.0.0",
157
157
  "stylelint": "^16.24.0",
158
158
  "stylelint-config-standard": "^39.0.0",
159
- "stylelint-config-standard-scss": "^15.0.1",
159
+ "stylelint-config-standard-scss": "^16.0.0",
160
160
  "typescript-eslint": "^8.43.0",
161
161
  "typescript-plugin-css-modules": "^5.2.0",
162
162
  "workbox-webpack-plugin": "^7.3.0"