@lcap/nasl-utils 4.0.0-beta.9 → 4.0.0-creator.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/index.d.ts CHANGED
@@ -16,4 +16,5 @@ export * from './logger';
16
16
  export * as breakpoint from './breakpoint';
17
17
  export * from './process';
18
18
  export * from './command';
19
+ export * from './vue-hack';
19
20
  //# sourceMappingURL=index.d.ts.map
@@ -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;AACzB,cAAc,UAAU,CAAC;AACzB,OAAO,KAAK,UAAU,MAAM,cAAc,CAAC;AAC3C,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,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,cAAc,UAAU,CAAC;AACzB,OAAO,KAAK,UAAU,MAAM,cAAc,CAAC;AAC3C,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC"}
package/out/index.js CHANGED
@@ -45,4 +45,5 @@ __exportStar(require("./logger"), exports);
45
45
  exports.breakpoint = __importStar(require("./breakpoint"));
46
46
  __exportStar(require("./process"), exports);
47
47
  __exportStar(require("./command"), exports);
48
+ __exportStar(require("./vue-hack"), exports);
48
49
  //# 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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;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,2CAAyB;AACzB,2DAA2C;AAC3C,4CAA0B;AAC1B,4CAA0B"}
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,2CAAyB;AACzB,2DAA2C;AAC3C,4CAA0B;AAC1B,4CAA0B;AAC1B,6CAA2B"}
@@ -0,0 +1,25 @@
1
+ /**
2
+ * Returns the raw, original object of a Vue-created proxy.
3
+ *
4
+ * `toRaw()` can return the original object from proxies created by
5
+ * {@link reactive()}, {@link readonly()}, {@link shallowReactive()} or
6
+ * {@link shallowReadonly()}.
7
+ *
8
+ * This is an escape hatch that can be used to temporarily read without
9
+ * incurring proxy access / tracking overhead or write without triggering
10
+ * changes. It is **not** recommended to hold a persistent reference to the
11
+ * original object. Use with caution.
12
+ *
13
+ * @example
14
+ * ```js
15
+ * const foo = {}
16
+ * const reactiveFoo = reactive(foo)
17
+ *
18
+ * console.log(toRaw(reactiveFoo) === foo) // true
19
+ * ```
20
+ *
21
+ * @param observed - The object for which the "raw" value is requested.
22
+ * @see {@link https://vuejs.org/api/reactivity-advanced.html#toraw}
23
+ */
24
+ export declare function toRaw<T>(observed: T): T;
25
+ //# sourceMappingURL=vue-hack.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vue-hack.d.ts","sourceRoot":"","sources":["../src/vue-hack.ts"],"names":[],"mappings":"AACA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAgB,KAAK,CAAC,CAAC,EAAE,QAAQ,EAAE,CAAC,GAAG,CAAC,CAGvC"}
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.toRaw = void 0;
4
+ // Adapted from https://github.com/vuejs/core/blob/2dd2feab9c3a7c282ebd00b8fb0086361cac1194/packages/reactivity/src/reactive.ts#L378
5
+ /**
6
+ * Returns the raw, original object of a Vue-created proxy.
7
+ *
8
+ * `toRaw()` can return the original object from proxies created by
9
+ * {@link reactive()}, {@link readonly()}, {@link shallowReactive()} or
10
+ * {@link shallowReadonly()}.
11
+ *
12
+ * This is an escape hatch that can be used to temporarily read without
13
+ * incurring proxy access / tracking overhead or write without triggering
14
+ * changes. It is **not** recommended to hold a persistent reference to the
15
+ * original object. Use with caution.
16
+ *
17
+ * @example
18
+ * ```js
19
+ * const foo = {}
20
+ * const reactiveFoo = reactive(foo)
21
+ *
22
+ * console.log(toRaw(reactiveFoo) === foo) // true
23
+ * ```
24
+ *
25
+ * @param observed - The object for which the "raw" value is requested.
26
+ * @see {@link https://vuejs.org/api/reactivity-advanced.html#toraw}
27
+ */
28
+ function toRaw(observed) {
29
+ const raw = observed && observed.__v_raw;
30
+ return raw ? toRaw(raw) : observed;
31
+ }
32
+ exports.toRaw = toRaw;
33
+ //# sourceMappingURL=vue-hack.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vue-hack.js","sourceRoot":"","sources":["../src/vue-hack.ts"],"names":[],"mappings":";;;AAAA,oIAAoI;AACpI;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,SAAgB,KAAK,CAAI,QAAW;IAClC,MAAM,GAAG,GAAG,QAAQ,IAAK,QAAgB,CAAC,OAAO,CAAA;IACjD,OAAO,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAA;AACpC,CAAC;AAHD,sBAGC"}
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": "4.0.0-beta.9",
4
+ "version": "4.0.0-creator.2",
5
5
  "author": "Forrest <rainforest92@126.com>",
6
6
  "exports": {
7
7
  "./*": {
@@ -30,12 +30,12 @@
30
30
  "rimraf": "5.0.5",
31
31
  "tslib": "2.6.2",
32
32
  "typescript": "5.4.4",
33
- "@lcap/nasl-test-toolkit": "1.0.0",
34
- "@lcap/nasl-tsconfig": "1.0.1"
33
+ "@lcap/nasl-tsconfig": "1.0.1",
34
+ "@lcap/nasl-test-toolkit": "1.0.0"
35
35
  },
36
36
  "dependencies": {
37
37
  "uuid": "8.3.2",
38
- "@lcap/nasl-types": "4.0.0-beta.9"
38
+ "@lcap/nasl-types": "4.0.0-creator.2"
39
39
  },
40
40
  "scripts": {
41
41
  "clear": "rimraf ./out",