deslop-js 0.9.1 → 0.9.3
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/dist/index.cjs +1 -0
- package/dist/index.mjs +1 -0
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -8030,6 +8030,7 @@ const detectStalePackages = (graph, config, summaryCache) => {
|
|
|
8030
8030
|
"react-app-rewired"
|
|
8031
8031
|
].some((framework) => declaredNames.has(framework) || usedPackageNames.has(framework))) usedPackageNames.add("react-dom");
|
|
8032
8032
|
}
|
|
8033
|
+
if (declaredNames.has("astro") && declaredNames.has("sharp")) usedPackageNames.add("sharp");
|
|
8033
8034
|
if (declaredNames.has("react") && declaredNames.has("react-dom")) {
|
|
8034
8035
|
const packageJsonPath = (0, node_path.resolve)(config.rootDir, "package.json");
|
|
8035
8036
|
try {
|
package/dist/index.mjs
CHANGED
|
@@ -7997,6 +7997,7 @@ const detectStalePackages = (graph, config, summaryCache) => {
|
|
|
7997
7997
|
"react-app-rewired"
|
|
7998
7998
|
].some((framework) => declaredNames.has(framework) || usedPackageNames.has(framework))) usedPackageNames.add("react-dom");
|
|
7999
7999
|
}
|
|
8000
|
+
if (declaredNames.has("astro") && declaredNames.has("sharp")) usedPackageNames.add("sharp");
|
|
8000
8001
|
if (declaredNames.has("react") && declaredNames.has("react-dom")) {
|
|
8001
8002
|
const packageJsonPath = resolve(config.rootDir, "package.json");
|
|
8002
8003
|
try {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "deslop-js",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.3",
|
|
4
4
|
"description": "Remove AI slop from JavaScript code.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"dead-code",
|
|
@@ -63,10 +63,10 @@
|
|
|
63
63
|
"access": "public"
|
|
64
64
|
},
|
|
65
65
|
"dependencies": {
|
|
66
|
-
"@oxc-project/types": "^0.
|
|
66
|
+
"@oxc-project/types": "^0.142.0",
|
|
67
67
|
"fast-glob": "^3.3.3",
|
|
68
68
|
"minimatch": "^10.2.5",
|
|
69
|
-
"oxc-parser": "^0.
|
|
69
|
+
"oxc-parser": "^0.142.0",
|
|
70
70
|
"oxc-resolver": "^11.24.2",
|
|
71
71
|
"typescript": ">=5.0.4 <6"
|
|
72
72
|
},
|