@jdeighan/coffee-utils 17.0.1 → 17.0.2

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,12 +1,11 @@
1
1
  {
2
2
  "name": "@jdeighan/coffee-utils",
3
3
  "type": "module",
4
- "version": "17.0.1",
4
+ "version": "17.0.2",
5
5
  "description": "A set of utility functions for CoffeeScript",
6
6
  "main": "coffee_utils.js",
7
7
  "exports": {
8
8
  ".": "./src/lib/fs.js",
9
- "./server": "./src/lib/server.js",
10
9
  "./fs": "./src/lib/fs.js",
11
10
  "./block": "./src/lib/block.js",
12
11
  "./html": "./src/lib/html.js",
@@ -1,14 +0,0 @@
1
- # server.coffee
2
-
3
- import getline from 'readline-sync'
4
- import {execSync} from 'child_process'
5
-
6
- # ---------------------------------------------------------------------------
7
- # exec - run external commands
8
-
9
- export exec = (cmd) =>
10
-
11
- buffer = execSync cmd, {
12
- windowsHide: true
13
- }
14
- return buffer.toString()
package/src/lib/server.js DELETED
@@ -1,19 +0,0 @@
1
- // Generated by CoffeeScript 2.7.0
2
- // server.coffee
3
- import getline from 'readline-sync';
4
-
5
- import {
6
- execSync
7
- } from 'child_process';
8
-
9
- // ---------------------------------------------------------------------------
10
- // exec - run external commands
11
- export var exec = (cmd) => {
12
- var buffer;
13
- buffer = execSync(cmd, {
14
- windowsHide: true
15
- });
16
- return buffer.toString();
17
- };
18
-
19
- //# sourceMappingURL=server.js.map
@@ -1,13 +0,0 @@
1
- {
2
- "version": 3,
3
- "file": "server.js",
4
- "sourceRoot": "..\\..\\",
5
- "sources": [
6
- "src\\lib\\server.coffee"
7
- ],
8
- "names": [],
9
- "mappings": ";AAAe;AAEf,OAAO,OAAP,MAAA;;AACA,OAAA;EAAQ,QAAR;CAAA,MAAA,gBAHe;;;;AAQf,OAAA,IAAO,IAAA,GAAO,CAAC,GAAD,CAAA,GAAA;AAEd,MAAA;EAAC,MAAA,GAAS,QAAA,CAAS,GAAT,EAAc;IACtB,WAAA,EAAa;EADS,CAAd;AAGT,SAAO,MAAM,CAAC,QAAP,CAAA;AALM",
10
- "sourcesContent": [
11
- "# server.coffee\r\n\r\nimport getline from 'readline-sync'\r\nimport {execSync} from 'child_process'\r\n\r\n# ---------------------------------------------------------------------------\r\n# exec - run external commands\r\n\r\nexport exec = (cmd) =>\r\n\r\n\tbuffer = execSync cmd, {\r\n\t\twindowsHide: true\r\n\t\t}\r\n\treturn buffer.toString()\r\n"
12
- ]
13
- }