vft 0.0.378 → 0.0.380

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.
@@ -1,6 +1,6 @@
1
1
  declare const _default: {
2
2
  "name": "vft",
3
- "version": "0.0.378",
3
+ "version": "0.0.380",
4
4
  "license": "MIT",
5
5
  "main": "lib/index.cjs",
6
6
  "module": "es/index.js",
@@ -1,4 +1,4 @@
1
- const version = "0.0.378";
1
+ const version = "0.0.380";
2
2
  export {
3
3
  version
4
4
  };
@@ -1,5 +1,4 @@
1
- import { isObject } from "@vft/utils";
2
- import { fromPairs } from "lodash-es";
1
+ import { fromPairs, isObject } from "lodash-es";
3
2
  const hasOwnProperty = Object.prototype.hasOwnProperty;
4
3
  const hasOwn = (val, key) => hasOwnProperty.call(val, key);
5
4
  const epPropKey = "__epPropKey";
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const version = "0.0.378";
3
+ const version = "0.0.380";
4
4
  exports.version = version;
@@ -1,6 +1,6 @@
1
1
  declare const _default: {
2
2
  "name": "vft",
3
- "version": "0.0.378",
3
+ "version": "0.0.380",
4
4
  "license": "MIT",
5
5
  "main": "lib/index.cjs",
6
6
  "module": "es/index.js",
@@ -1,14 +1,13 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const utils = require("@vft/utils");
4
3
  const lodashEs = require("lodash-es");
5
4
  const hasOwnProperty = Object.prototype.hasOwnProperty;
6
5
  const hasOwn = (val, key) => hasOwnProperty.call(val, key);
7
6
  const epPropKey = "__epPropKey";
8
7
  const definePropType = (val) => val;
9
- const isEpProp = (val) => utils.isObject(val) && !!val[epPropKey];
8
+ const isEpProp = (val) => lodashEs.isObject(val) && !!val[epPropKey];
10
9
  const buildProp = (prop, key) => {
11
- if (!utils.isObject(prop) || isEpProp(prop)) return prop;
10
+ if (!lodashEs.isObject(prop) || isEpProp(prop)) return prop;
12
11
  const { values, required, default: defaultValue, type, validator } = prop;
13
12
  const _validator = values || validator ? (val) => {
14
13
  let valid = false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vft",
3
- "version": "0.0.378",
3
+ "version": "0.0.380",
4
4
  "license": "MIT",
5
5
  "main": "lib/index.cjs",
6
6
  "module": "es/index.js",
@@ -56,11 +56,11 @@
56
56
  "sortablejs": "1.15.0",
57
57
  "photoswipe": "5.4.4",
58
58
  "@vft/constants": "0.0.72",
59
- "@vft/utils": "0.0.131",
59
+ "@vft/router": "0.0.66",
60
+ "@vft/store": "0.0.54",
60
61
  "@vft/use": "0.0.77",
61
- "@vft/router": "0.0.65",
62
62
  "@vft/directives": "0.0.34",
63
- "@vft/store": "0.0.54"
63
+ "@vft/utils": "0.0.133"
64
64
  },
65
65
  "vetur": {
66
66
  "tags": "tags.json",
package/web-types.json CHANGED
@@ -1 +1 @@
1
- {"$schema":"http://json.schemastore.org/web-types","framework":"vue","name":"vft","version":"0.0.378","js-types-syntax":"typescript","description-markup":"markdown","contributions":{"html":{}}}
1
+ {"$schema":"http://json.schemastore.org/web-types","framework":"vue","name":"vft","version":"0.0.380","js-types-syntax":"typescript","description-markup":"markdown","contributions":{"html":{}}}