@najemi-software/typed-scss-modules 10.10.1 → 10.11.0-alpha.11.1

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.
Files changed (2) hide show
  1. package/esm/load.js +2 -6
  2. package/package.json +3 -3
package/esm/load.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import path from "path";
2
- import { bundleRequire } from "bundle-require";
3
2
  import JoyCon from "joycon";
3
+ import { bundleRequire } from "rolldown-require";
4
4
  import { alerts } from "./core/alerts.js";
5
5
  import {} from "./core/types.js";
6
6
  import { getDefaultImplementation } from "./implementations/implementations.js";
@@ -28,11 +28,7 @@ export const loadConfig = async () => {
28
28
  const configModule = await bundleRequire({
29
29
  filepath: configPath,
30
30
  });
31
- // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
32
- const config =
33
- // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
34
- configModule.mod.config || configModule.mod.default || configModule.mod;
35
- return config;
31
+ return configModule.mod.config || configModule.mod.default || configModule.mod;
36
32
  }
37
33
  catch (error) {
38
34
  alerts.error(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@najemi-software/typed-scss-modules",
3
- "version": "10.10.1",
3
+ "version": "10.11.0-alpha.11.1",
4
4
  "private": false,
5
5
  "description": "TypeScript type definition generator for SCSS CSS Modules",
6
6
  "keywords": [
@@ -62,16 +62,16 @@
62
62
  "typed-scss-modules": "node ./esm/cli.js"
63
63
  },
64
64
  "dependencies": {
65
- "bundle-require": "^5.1.0",
66
65
  "chalk": "4.1.2",
67
66
  "change-case": "^4.1.2",
68
67
  "chokidar": "^3.6.0",
69
- "esbuild": "^0.27.2",
70
68
  "glob": "^13.0.0",
71
69
  "joycon": "^3.1.1",
72
70
  "postcss": "^8.4.49",
73
71
  "postcss-modules": "^6.0.1",
74
72
  "reserved-words": "^0.1.2",
73
+ "rolldown": "^1.1.5",
74
+ "rolldown-require": "^2.0.20",
75
75
  "slash": "^3.0.0",
76
76
  "yargs": "^17.7.2"
77
77
  },