@lcap/nasl-utils 3.9.0-beta.1 → 3.9.0-beta.2
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/out/breakpoint/index.d.ts +2 -0
- package/out/breakpoint/index.d.ts.map +1 -0
- package/out/breakpoint/index.js +18 -0
- package/out/breakpoint/index.js.map +1 -0
- package/out/breakpoint/shared/operators.d.ts +11 -0
- package/out/breakpoint/shared/operators.d.ts.map +1 -0
- package/out/breakpoint/shared/operators.js +24 -0
- package/out/breakpoint/shared/operators.js.map +1 -0
- package/out/index.d.ts +1 -0
- package/out/index.d.ts.map +1 -1
- package/out/index.js +14 -0
- package/out/index.js.map +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/breakpoint/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./shared/operators"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/breakpoint/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAmC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
type Callback = (...args: any[]) => void;
|
|
2
|
+
export declare const operators: {
|
|
3
|
+
create: (...args: any[]) => void;
|
|
4
|
+
update: (...args: any[]) => void;
|
|
5
|
+
delete: (...args: any[]) => void;
|
|
6
|
+
};
|
|
7
|
+
export declare const setCreate: (callback: Callback) => void;
|
|
8
|
+
export declare const setUpdate: (callback: Callback) => void;
|
|
9
|
+
export declare const setDelete: (callback: Callback) => void;
|
|
10
|
+
export {};
|
|
11
|
+
//# sourceMappingURL=operators.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operators.d.ts","sourceRoot":"","sources":["../../../src/breakpoint/shared/operators.ts"],"names":[],"mappings":"AAAA,KAAK,QAAQ,GAAG,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,IAAI,CAAC;AAMzC,eAAO,MAAM,SAAS;sBACF,GAAG,EAAE;sBACL,GAAG,EAAE;sBACL,GAAG,EAAE;CACxB,CAAC;AAEF,eAAO,MAAM,SAAS,aAAc,QAAQ,SAE3C,CAAC;AAEF,eAAO,MAAM,SAAS,aAAc,QAAQ,SAE3C,CAAC;AAEF,eAAO,MAAM,SAAS,aAAc,QAAQ,SAE3C,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.setDelete = exports.setUpdate = exports.setCreate = exports.operators = void 0;
|
|
4
|
+
let createCallback;
|
|
5
|
+
let updateCallback;
|
|
6
|
+
let deleteCallback;
|
|
7
|
+
exports.operators = {
|
|
8
|
+
create: (...args) => createCallback && createCallback(...args),
|
|
9
|
+
update: (...args) => updateCallback && updateCallback(...args),
|
|
10
|
+
delete: (...args) => deleteCallback && deleteCallback(...args),
|
|
11
|
+
};
|
|
12
|
+
const setCreate = (callback) => {
|
|
13
|
+
createCallback = callback;
|
|
14
|
+
};
|
|
15
|
+
exports.setCreate = setCreate;
|
|
16
|
+
const setUpdate = (callback) => {
|
|
17
|
+
updateCallback = callback;
|
|
18
|
+
};
|
|
19
|
+
exports.setUpdate = setUpdate;
|
|
20
|
+
const setDelete = (callback) => {
|
|
21
|
+
deleteCallback = callback;
|
|
22
|
+
};
|
|
23
|
+
exports.setDelete = setDelete;
|
|
24
|
+
//# sourceMappingURL=operators.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operators.js","sourceRoot":"","sources":["../../../src/breakpoint/shared/operators.ts"],"names":[],"mappings":";;;AAEA,IAAI,cAAwB,CAAC;AAC7B,IAAI,cAAwB,CAAC;AAC7B,IAAI,cAAwB,CAAC;AAEhB,QAAA,SAAS,GAAG;IACvB,MAAM,EAAE,CAAC,GAAG,IAAW,EAAE,EAAE,CAAC,cAAc,IAAI,cAAc,CAAC,GAAG,IAAI,CAAC;IACrE,MAAM,EAAE,CAAC,GAAG,IAAW,EAAE,EAAE,CAAC,cAAc,IAAI,cAAc,CAAC,GAAG,IAAI,CAAC;IACrE,MAAM,EAAE,CAAC,GAAG,IAAW,EAAE,EAAE,CAAC,cAAc,IAAI,cAAc,CAAC,GAAG,IAAI,CAAC;CACtE,CAAC;AAEK,MAAM,SAAS,GAAG,CAAC,QAAkB,EAAE,EAAE;IAC9C,cAAc,GAAG,QAAQ,CAAC;AAC5B,CAAC,CAAC;AAFW,QAAA,SAAS,aAEpB;AAEK,MAAM,SAAS,GAAG,CAAC,QAAkB,EAAE,EAAE;IAC9C,cAAc,GAAG,QAAQ,CAAC;AAC5B,CAAC,CAAC;AAFW,QAAA,SAAS,aAEpB;AAEK,MAAM,SAAS,GAAG,CAAC,QAAkB,EAAE,EAAE;IAC9C,cAAc,GAAG,QAAQ,CAAC;AAC5B,CAAC,CAAC;AAFW,QAAA,SAAS,aAEpB"}
|
package/out/index.d.ts
CHANGED
package/out/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,OAAO,CAAC;AACtB,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,UAAU,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,OAAO,CAAC;AACtB,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,UAAU,CAAC;AACzB,OAAO,KAAK,UAAU,MAAM,cAAc,CAAC"}
|
package/out/index.js
CHANGED
|
@@ -10,10 +10,23 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (functi
|
|
|
10
10
|
if (k2 === undefined) k2 = k;
|
|
11
11
|
o[k2] = m[k];
|
|
12
12
|
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
13
18
|
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
19
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
20
|
};
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
16
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.breakpoint = void 0;
|
|
17
30
|
__exportStar(require("./string"), exports);
|
|
18
31
|
__exportStar(require("./traverse"), exports);
|
|
19
32
|
__exportStar(require("./logger"), exports);
|
|
@@ -28,4 +41,5 @@ __exportStar(require("./hash"), exports);
|
|
|
28
41
|
__exportStar(require("./concept"), exports);
|
|
29
42
|
__exportStar(require("./time-slicing"), exports);
|
|
30
43
|
__exportStar(require("./assets"), exports);
|
|
44
|
+
exports.breakpoint = __importStar(require("./breakpoint"));
|
|
31
45
|
//# sourceMappingURL=index.js.map
|
package/out/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,6CAA2B;AAC3B,2CAAyB;AACzB,2CAAyB;AACzB,wCAAsB;AACtB,yCAAuB;AACvB,yCAAuB;AACvB,0CAAwB;AACxB,0CAAwB;AACxB,6CAA2B;AAC3B,yCAAuB;AACvB,4CAA0B;AAC1B,iDAA+B;AAC/B,2CAAyB;AACzB,2DAA2C"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lcap/nasl-utils",
|
|
3
3
|
"description": "NetEase Application Specific Language",
|
|
4
|
-
"version": "3.9.0-beta.
|
|
4
|
+
"version": "3.9.0-beta.2",
|
|
5
5
|
"author": "Forrest <rainforest92@126.com>",
|
|
6
6
|
"main": "./out",
|
|
7
7
|
"types": "./out",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"uuid": "8.3.2",
|
|
26
|
-
"@lcap/nasl-types": "3.9.0-beta.
|
|
26
|
+
"@lcap/nasl-types": "3.9.0-beta.2"
|
|
27
27
|
},
|
|
28
28
|
"scripts": {
|
|
29
29
|
"clear": "rimraf ./out",
|