@vue-modeler/model 1.0.1 → 1.0.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/README.md +1 -3
- package/dist/index2.js +3 -3
- package/package.json +15 -19
package/README.md
CHANGED
|
@@ -2,9 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
## What is @vue-modeler/model
|
|
4
4
|
|
|
5
|
-
A state management library based on models for [VUE.js.](VUE.js.) The extremely simple API serves
|
|
6
|
-
|
|
7
|
-
Try it out! Level up your development process.
|
|
5
|
+
A state management library based on models for [VUE.js.](VUE.js.) The extremely simple API serves single purpose — creating models. It preserves types, supports OOP, DRY, and SOLID principles.
|
|
8
6
|
|
|
9
7
|
---
|
|
10
8
|
|
package/dist/index2.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { onScopeDispose as c, getCurrentInstance as
|
|
1
|
+
import { onScopeDispose as c, getCurrentInstance as f, shallowReactive as d } from "vue";
|
|
2
2
|
import { P as S, A as l } from "./proto-model-BXAhWQOY.js";
|
|
3
3
|
var _ = Object.defineProperty, h = (t, e, r) => e in t ? _(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r, s = (t, e, r) => h(t, typeof e != "symbol" ? e + "" : e, r);
|
|
4
4
|
function p() {
|
|
5
5
|
var t;
|
|
6
|
-
const e = (t =
|
|
6
|
+
const e = (t = f()) == null ? void 0 : t.proxy;
|
|
7
7
|
if (!e)
|
|
8
8
|
throw new Error("Current instance is undefined");
|
|
9
9
|
if (!e.$vueModelerDc)
|
|
@@ -63,7 +63,7 @@ function I(t) {
|
|
|
63
63
|
if (!(t instanceof S))
|
|
64
64
|
throw new Error("ProtoModel instance is required");
|
|
65
65
|
return new y(
|
|
66
|
-
|
|
66
|
+
d(t),
|
|
67
67
|
{
|
|
68
68
|
get(r, n, o) {
|
|
69
69
|
const i = Reflect.get(r, n, o), a = typeof i == "function";
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"type": "module",
|
|
3
3
|
"name": "@vue-modeler/model",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.2",
|
|
5
5
|
"description": "A state management library based on models for Vue.js",
|
|
6
6
|
"author": "abratko",
|
|
7
7
|
"license": "MIT",
|
|
@@ -29,21 +29,23 @@
|
|
|
29
29
|
"access": "public"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@eslint/js": "^9.
|
|
32
|
+
"@eslint/js": "^9.23.0",
|
|
33
33
|
"@semantic-release/changelog": "^6.0.3",
|
|
34
34
|
"@semantic-release/git": "^10.0.1",
|
|
35
35
|
"@types/eslint__js": "^8.42.3",
|
|
36
|
-
"@types/node": "^22.
|
|
36
|
+
"@types/node": "^22.13.14",
|
|
37
37
|
"@vitest/coverage-v8": "2.1.3",
|
|
38
38
|
"@vue/test-utils": "^1.3.6",
|
|
39
|
-
"eslint": "^9.
|
|
39
|
+
"eslint": "^9.23.0",
|
|
40
|
+
"eslint-scope": "^8.3.0",
|
|
41
|
+
"eslint-visitor-keys": "^4.2.0",
|
|
40
42
|
"jsdom": "^25.0.1",
|
|
41
|
-
"semantic-release": "^24.2.
|
|
42
|
-
"typescript": "^5.
|
|
43
|
-
"typescript-eslint": "^8.
|
|
44
|
-
"vite": "^5.4.
|
|
45
|
-
"vite-plugin-dts": "^4.
|
|
46
|
-
"vitest": "^2.1.
|
|
43
|
+
"semantic-release": "^24.2.3",
|
|
44
|
+
"typescript": "^5.8.2",
|
|
45
|
+
"typescript-eslint": "^8.28.0",
|
|
46
|
+
"vite": "^5.4.16",
|
|
47
|
+
"vite-plugin-dts": "^4.5.3",
|
|
48
|
+
"vitest": "^2.1.9"
|
|
47
49
|
},
|
|
48
50
|
"peerDependencies": {
|
|
49
51
|
"@vue-modeler/dc": "^2.1.0-beta",
|
|
@@ -57,10 +59,10 @@
|
|
|
57
59
|
},
|
|
58
60
|
"repository": {
|
|
59
61
|
"type": "git",
|
|
60
|
-
"url": "git+https://github.com/vue-modeler/
|
|
62
|
+
"url": "git+https://github.com/vue-modeler/model.git"
|
|
61
63
|
},
|
|
62
64
|
"bugs": {
|
|
63
|
-
"url": "https://github.com/vue-modeler/
|
|
65
|
+
"url": "https://github.com/vue-modeler/model/issues"
|
|
64
66
|
},
|
|
65
67
|
"directories": {
|
|
66
68
|
"test": "tests"
|
|
@@ -71,11 +73,5 @@
|
|
|
71
73
|
"state",
|
|
72
74
|
"manager"
|
|
73
75
|
],
|
|
74
|
-
"homepage": "https://github.com/vue-modeler/
|
|
75
|
-
"dependencies": {
|
|
76
|
-
"eslint-scope": "^8.2.0",
|
|
77
|
-
"eslint-visitor-keys": "^4.2.0",
|
|
78
|
-
"prettier": "^2.8.8",
|
|
79
|
-
"vue": "^2.7.16"
|
|
80
|
-
}
|
|
76
|
+
"homepage": "https://github.com/vue-modeler/model#readme"
|
|
81
77
|
}
|