pareto-core-dev 0.12.12 → 0.12.14
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.
package/dist/implement_me.d.ts
CHANGED
package/dist/implement_me.js
CHANGED
|
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.
|
|
6
|
+
exports.default = _p_implement_me;
|
|
7
7
|
const get_location_info_1 = __importDefault(require("./private/get_location_info"));
|
|
8
8
|
/**
|
|
9
9
|
* use this function as a placeholder when you want to compile but have not fully developed all functionality yet.
|
|
@@ -12,7 +12,7 @@ const get_location_info_1 = __importDefault(require("./private/get_location_info
|
|
|
12
12
|
* before publishing, the usages should be removed
|
|
13
13
|
* @param message the string to be printed to stderr
|
|
14
14
|
*/
|
|
15
|
-
function
|
|
15
|
+
function _p_implement_me(marker) {
|
|
16
16
|
const location = (0, get_location_info_1.default)(1);
|
|
17
17
|
throw new Error(`IMPLEMENT ME ${marker
|
|
18
18
|
? `: '${marker}'`
|
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
* before publishing, the usages should be removed
|
|
5
5
|
* @param message the string to be printed to stdout
|
|
6
6
|
*/
|
|
7
|
-
export
|
|
7
|
+
export default function _p_log_debug_message<T>(message: string, handler: () => T): T;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.default = _p_log_debug_message;
|
|
4
4
|
/**
|
|
5
5
|
* logs a debug message
|
|
6
6
|
* this function should only be called from code that is in the development phase,
|
|
7
7
|
* before publishing, the usages should be removed
|
|
8
8
|
* @param message the string to be printed to stdout
|
|
9
9
|
*/
|
|
10
|
-
function
|
|
10
|
+
function _p_log_debug_message(message, handler) {
|
|
11
11
|
console.log("DEBUG", message);
|
|
12
12
|
return handler();
|
|
13
13
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export default function _p_log_wrapping_debug_messages<T>(message: string, handler: () => T): T;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
function
|
|
3
|
+
exports.default = _p_log_wrapping_debug_messages;
|
|
4
|
+
function _p_log_wrapping_debug_messages(message, handler) {
|
|
5
5
|
console.log();
|
|
6
6
|
console.log("DEBUG BEFORE", message);
|
|
7
7
|
const startTime = Date.now();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pareto-core-dev",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.14",
|
|
4
4
|
"license": "ISC",
|
|
5
5
|
"description": "a pareto package that contains functions that are useful during development",
|
|
6
6
|
"author": "Corno",
|
|
@@ -24,6 +24,6 @@
|
|
|
24
24
|
"url": "git+https://github.com/corno/pareto-core-dev.git"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"pareto-core": "^0.1.
|
|
27
|
+
"pareto-core": "^0.1.64"
|
|
28
28
|
}
|
|
29
29
|
}
|