orange-orm 4.6.0-beta.1 → 4.6.1

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 CHANGED
@@ -2,7 +2,7 @@
2
2
  <img src="./docs/orange.svg" alt="Orange ORM Logo" width="250"/>
3
3
  </div>
4
4
 
5
- The ultimate Object Relational Mapper for Node.js and Typescript, offering seamless integration with a variety of popular databases. Orange ORM supports both TypeScript and JavaScript, including both CommonJS and ECMAScript.
5
+ The ultimate Object Relational Mapper for Node.js, Bun and Deno, offering seamless integration with a variety of popular databases. Orange ORM supports both TypeScript and JavaScript, including both CommonJS and ECMAScript.
6
6
 
7
7
  [![npm version](https://img.shields.io/npm/v/orange-orm.svg?style=flat-square)](https://www.npmjs.org/package/orange-orm)
8
8
  [![Build status](https://github.com/alfateam/orange-orm/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/alfateam/orange-orm/actions)
@@ -1571,12 +1571,10 @@ const db = map.sqlite('demo.db');
1571
1571
  getRows();
1572
1572
 
1573
1573
  async function getRows() {
1574
- const filter = db.order.lines.any(x => x.product.contains('guitar'));
1575
- //equivalent syntax:
1576
- // const filter = db.order.lines.product.contains('guitar');
1577
-
1578
1574
  const rows = await db.order.getAll({
1579
1575
  where: y => y.lines.any(x => x.product.contains('guitar'))
1576
+ //equivalent syntax:
1577
+ //where: x => x.lines.product.contains('guitar')
1580
1578
  });
1581
1579
  }
1582
1580
  ```
package/docs/changelog.md CHANGED
@@ -1,4 +1,6 @@
1
1
  ## Changelog
2
+ __4.6.1__
3
+ Bugfix: No intellisense when running in browser mode . See [#125](https://github.com/alfateam/)
2
4
  __4.6.0__
3
5
  Support for Deno and Bun.
4
6
  Using builtin sqlite for Node22++.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "orange-orm",
3
- "version": "4.6.0-beta.1",
3
+ "version": "4.6.1",
4
4
  "main": "./src/index.js",
5
5
  "module": "./dist/index.mjs",
6
6
  "browser": "./dist/index.browser.mjs",
@@ -8,7 +8,8 @@
8
8
  ".": {
9
9
  "require": "./src/index.js",
10
10
  "import": "./dist/index.mjs",
11
- "browser": "./dist/index.browser.mjs"
11
+ "browser": "./dist/index.browser.mjs",
12
+ "types": "./src/index.d.ts"
12
13
  }
13
14
  },
14
15
  "bin": {
@@ -16,7 +17,6 @@
16
17
  },
17
18
  "title": "Orange ORM",
18
19
  "description": "Object Relational Mapper",
19
- "types": "./src/index.d.ts",
20
20
  "keywords": [
21
21
  "typescript orm",
22
22
  "orm",