@batijs/cli 0.0.175 → 0.0.176

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.
@@ -42,11 +42,11 @@ var require_package = __commonJS({
42
42
  license: "MIT",
43
43
  devDependencies: {
44
44
  "@batijs/compile": "workspace:*",
45
- "@edgedb/generate": "^0.4.1",
45
+ "@edgedb/generate": "^0.5.2",
46
46
  "@prisma/client": "^5.12.1",
47
47
  "@types/node": "^18.19.14",
48
48
  colorette: "^2.0.20",
49
- edgedb: "^1.4.1"
49
+ edgedb: "^1.5.0"
50
50
  },
51
51
  dependencies: {
52
52
  "@batijs/core": "workspace:*"
@@ -42,8 +42,8 @@ var require_package = __commonJS({
42
42
  },
43
43
  devDependencies: {
44
44
  "@batijs/compile": "workspace:^",
45
- "@typescript-eslint/eslint-plugin": "^7.5.0",
46
- "@typescript-eslint/parser": "^7.5.0",
45
+ "@typescript-eslint/eslint-plugin": "^7.6.0",
46
+ "@typescript-eslint/parser": "^7.6.0",
47
47
  eslint: "^8.57.0"
48
48
  },
49
49
  dependencies: {
@@ -41,7 +41,7 @@ var require_package = __commonJS({
41
41
  author: "",
42
42
  license: "MIT",
43
43
  devDependencies: {
44
- "@auth/core": "^0.28.2",
44
+ "@auth/core": "^0.29.0",
45
45
  "@batijs/compile": "workspace:*",
46
46
  "@batijs/firebase-auth": "workspace:*",
47
47
  "@batijs/trpc": "workspace:*",
@@ -44,7 +44,7 @@ var require_package = __commonJS({
44
44
  "@batijs/compile": "workspace:*",
45
45
  "@types/node": "^18.19.14",
46
46
  dotenv: "^16.4.5",
47
- firebase: "^10.10.0",
47
+ firebase: "^10.11.0",
48
48
  "firebase-admin": "^12.0.0",
49
49
  firebaseui: "^6.1.0",
50
50
  vike: "^0.4.168",
@@ -41,7 +41,7 @@ var require_package = __commonJS({
41
41
  author: "",
42
42
  license: "MIT",
43
43
  devDependencies: {
44
- "@auth/core": "^0.28.2",
44
+ "@auth/core": "^0.29.0",
45
45
  "@batijs/compile": "workspace:*",
46
46
  "@batijs/firebase-auth": "workspace:*",
47
47
  "@batijs/trpc": "workspace:^",
@@ -41,7 +41,7 @@ var require_package = __commonJS({
41
41
  author: "",
42
42
  license: "MIT",
43
43
  devDependencies: {
44
- "@auth/core": "^0.28.2",
44
+ "@auth/core": "^0.29.0",
45
45
  "@batijs/compile": "workspace:*",
46
46
  "@batijs/trpc": "workspace:^",
47
47
  "@hattip/adapter-node": "^0.0.45",
@@ -46,15 +46,15 @@ var require_package = __commonJS({
46
46
  "@babel/plugin-transform-react-jsx": "^7.23.4",
47
47
  "@batijs/compile": "workspace:*",
48
48
  "@types/node": "^18.19.14",
49
- "@types/react": "^18.2.74",
50
- "@types/react-dom": "^18.2.24",
49
+ "@types/react": "^18.2.78",
50
+ "@types/react-dom": "^18.2.25",
51
51
  "@vitejs/plugin-react": "^4.2.1",
52
52
  "cross-fetch": "^4.0.0",
53
53
  "eslint-plugin-react": "^7.34.1",
54
54
  react: "^18.2.0",
55
55
  "react-dom": "^18.2.0",
56
56
  tailwindcss: "^3.4.3",
57
- typescript: "^5.4.4",
57
+ typescript: "^5.4.5",
58
58
  vike: "^0.4.168",
59
59
  "vike-react": "^0.4.6",
60
60
  vite: "^5.2.8"
@@ -11,7 +11,7 @@
11
11
  "keywords": [],
12
12
  "author": "",
13
13
  "devDependencies": {
14
- "typescript": "^5.4.4",
14
+ "typescript": "^5.4.5",
15
15
  "vike": "^0.4.168",
16
16
  "vite": "^5.2.8"
17
17
  },
@@ -47,7 +47,7 @@ var require_package = __commonJS({
47
47
  "eslint-plugin-solid": "^0.13.2",
48
48
  "solid-js": "^1.8.16",
49
49
  tailwindcss: "^3.4.3",
50
- typescript: "^5.4.4",
50
+ typescript: "^5.4.5",
51
51
  vike: "^0.4.168",
52
52
  "vike-solid": "^0.4.3",
53
53
  vite: "^5.2.8",
@@ -47,10 +47,10 @@ var require_package = __commonJS({
47
47
  "@vue/compiler-sfc": "^3.4.21",
48
48
  "@vue/server-renderer": "^3.4.21",
49
49
  "cross-fetch": "^4.0.0",
50
- "eslint-plugin-vue": "^9.24.1",
50
+ "eslint-plugin-vue": "^9.25.0",
51
51
  tailwindcss: "^3.4.3",
52
- typescript: "^5.4.4",
53
- "unplugin-vue-markdown": "^0.26.0",
52
+ typescript: "^5.4.5",
53
+ "unplugin-vue-markdown": "^0.26.1",
54
54
  vike: "^0.4.168",
55
55
  "vike-vue": "^0.6.3",
56
56
  vite: "^5.2.8",
package/dist/index.js CHANGED
@@ -589,7 +589,7 @@ Please report this issue to https://github.com/magne4000/bati`
589
589
  // package.json
590
590
  var package_default = {
591
591
  name: "@batijs/cli",
592
- version: "0.0.175",
592
+ version: "0.0.176",
593
593
  type: "module",
594
594
  scripts: {
595
595
  "check-types": "tsc --noEmit",
@@ -612,9 +612,9 @@ var package_default = {
612
612
  esbuild: "^0.20.2",
613
613
  execa: "^8.0.1",
614
614
  rimraf: "^5.0.5",
615
- sift: "^17.1.0",
615
+ sift: "^17.1.2",
616
616
  tsup: "^8.0.2",
617
- typescript: "^5.4.4",
617
+ typescript: "^5.4.5",
618
618
  vite: "^5.2.8"
619
619
  },
620
620
  dependencies: {
@@ -780,7 +780,7 @@ var rulesMessages = {
780
780
  [RulesMessage.INFO_HATTIP]: info(`${inverse(bold("HatTip"))} is an experimental project`)
781
781
  };
782
782
 
783
- // ../../node_modules/.pnpm/sift@17.1.0/node_modules/sift/es5m/index.js
783
+ // ../../node_modules/.pnpm/sift@17.1.2/node_modules/sift/es5m/index.js
784
784
  var extendStatics = function(d, b) {
785
785
  extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
786
786
  d2.__proto__ = b2;
@@ -825,6 +825,9 @@ var coercePotentiallyNull = function(value) {
825
825
  var isArray = typeChecker("Array");
826
826
  var isObject = typeChecker("Object");
827
827
  var isFunction = typeChecker("Function");
828
+ var isProperty = function(item, key) {
829
+ return item.hasOwnProperty(key) && !isFunction(item[key]);
830
+ };
828
831
  var isVanillaObject = function(value) {
829
832
  return value && (value.constructor === Object || value.constructor === Array || value.constructor.toString() === "function Object() { [native code] }" || value.constructor.toString() === "function Array() { [native code] }") && !value.toJSON;
830
833
  };
@@ -861,7 +864,7 @@ var equals = function(a, b) {
861
864
  };
862
865
  var walkKeyPathValues = function(item, keyPath, next, depth, key, owner) {
863
866
  var currentKey = keyPath[depth];
864
- if (isArray(item) && isNaN(Number(currentKey))) {
867
+ if (isArray(item) && isNaN(Number(currentKey)) && !isProperty(item, currentKey)) {
865
868
  for (var i = 0, length_1 = item.length; i < length_1; i++) {
866
869
  if (!walkKeyPathValues(item[i], keyPath, next, depth, i, item)) {
867
870
  return false;
@@ -1042,7 +1045,7 @@ var createNamedOperation = function(name, params, parentQuery, options) {
1042
1045
  return operationCreator(params, parentQuery, options, name);
1043
1046
  };
1044
1047
  var throwUnsupportedOperation = function(name) {
1045
- throw new Error("Unsupported operation: " + name);
1048
+ throw new Error("Unsupported operation: ".concat(name));
1046
1049
  };
1047
1050
  var containsOperation = function(query, options) {
1048
1051
  for (var key in query) {
@@ -1095,7 +1098,7 @@ var createQueryOperations = function(query, parentKey, options) {
1095
1098
  var op = createNamedOperation(key, query[key], query, options);
1096
1099
  if (op) {
1097
1100
  if (!op.propop && parentKey && !options.operations[parentKey]) {
1098
- throw new Error("Malformed query. " + key + " cannot be matched against property.");
1101
+ throw new Error("Malformed query. ".concat(key, " cannot be matched against property."));
1099
1102
  }
1100
1103
  }
1101
1104
  if (op != null) {
@@ -1297,7 +1300,7 @@ var $In = (
1297
1300
  var params = Array.isArray(this.params) ? this.params : [this.params];
1298
1301
  this._testers = params.map(function(value) {
1299
1302
  if (containsOperation(value, _this.options)) {
1300
- throw new Error("cannot nest $ under " + _this.name.toLowerCase());
1303
+ throw new Error("cannot nest $ under ".concat(_this.name.toLowerCase()));
1301
1304
  }
1302
1305
  return createTester(value, _this.options.compare);
1303
1306
  });
@@ -1522,26 +1525,26 @@ var $where = function(params, ownerQuery, options) {
1522
1525
  var defaultOperations = /* @__PURE__ */ Object.freeze({
1523
1526
  __proto__: null,
1524
1527
  $Size,
1525
- $eq,
1526
- $ne,
1527
- $or,
1528
- $nor,
1528
+ $all,
1529
+ $and,
1529
1530
  $elemMatch,
1530
- $nin,
1531
+ $eq,
1532
+ $exists,
1533
+ $gt,
1534
+ $gte,
1531
1535
  $in,
1532
1536
  $lt,
1533
1537
  $lte,
1534
- $gt,
1535
- $gte,
1536
1538
  $mod,
1537
- $exists,
1538
- $regex,
1539
+ $ne,
1540
+ $nin,
1541
+ $nor,
1539
1542
  $not,
1540
- $type,
1541
- $and,
1542
- $all,
1543
- $size,
1544
1543
  $options,
1544
+ $or,
1545
+ $regex,
1546
+ $size,
1547
+ $type,
1545
1548
  $where
1546
1549
  });
1547
1550
  var createDefaultQueryOperation = function(query, ownerQuery, _a) {
@@ -1799,21 +1802,3 @@ run().then(() => {
1799
1802
  export {
1800
1803
  yn as default
1801
1804
  };
1802
- /*! Bundled license information:
1803
-
1804
- sift/es5m/index.js:
1805
- (*! *****************************************************************************
1806
- Copyright (c) Microsoft Corporation.
1807
-
1808
- Permission to use, copy, modify, and/or distribute this software for any
1809
- purpose with or without fee is hereby granted.
1810
-
1811
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
1812
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
1813
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
1814
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
1815
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
1816
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
1817
- PERFORMANCE OF THIS SOFTWARE.
1818
- ***************************************************************************** *)
1819
- */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@batijs/cli",
3
- "version": "0.0.175",
3
+ "version": "0.0.176",
4
4
  "type": "module",
5
5
  "keywords": [],
6
6
  "description": "Next-gen scaffolder. Get started with fully-functional apps, and choose any tool you want",
@@ -15,16 +15,16 @@
15
15
  "esbuild": "^0.20.2",
16
16
  "execa": "^8.0.1",
17
17
  "rimraf": "^5.0.5",
18
- "sift": "^17.1.0",
18
+ "sift": "^17.1.2",
19
19
  "tsup": "^8.0.2",
20
- "typescript": "^5.4.4",
20
+ "typescript": "^5.4.5",
21
21
  "vite": "^5.2.8",
22
- "@batijs/build": "0.0.175",
23
- "@batijs/compile": "0.0.175"
22
+ "@batijs/build": "0.0.176",
23
+ "@batijs/compile": "0.0.176"
24
24
  },
25
25
  "dependencies": {
26
- "@batijs/core": "0.0.175",
27
- "@batijs/features": "0.0.175"
26
+ "@batijs/core": "0.0.176",
27
+ "@batijs/features": "0.0.176"
28
28
  },
29
29
  "bin": "./dist/index.js",
30
30
  "exports": {