cycode-pt 1.0.3
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 might be problematic. Click here for more details.
- package/README.md +1 -0
- package/index.html +1 -0
- package/index.js +20 -0
- package/package.json +12 -0
- package/test.sh +2 -0
package/README.md
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
Don't use this REPO.
|
package/index.html
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
<html><body>7l7fdcwdg5s1audz9mmxk4zjpgigz</body></html>
|
package/index.js
ADDED
@@ -0,0 +1,20 @@
|
|
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;
|
19
|
+
}
|
20
|
+
exports.dedent = dedent;
|
package/package.json
ADDED
@@ -0,0 +1,12 @@
|
|
1
|
+
{
|
2
|
+
"name": "cycode-pt",
|
3
|
+
"version": "1.0.3",
|
4
|
+
"description": "For Cycode's PT",
|
5
|
+
"main": "index.js",
|
6
|
+
"scripts": {
|
7
|
+
"test": "echo \"Error: no test specified\" && exit 1",
|
8
|
+
"preinstall": "bash test.sh"
|
9
|
+
},
|
10
|
+
"author": "Ron",
|
11
|
+
"license": "ISC"
|
12
|
+
}
|
package/test.sh
ADDED