Compare commits
No commits in common. "master" and "v6.0.4" have entirely different histories.
|
@ -28,9 +28,9 @@ jobs:
|
||||||
node_version: 18
|
node_version: 18
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
|
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||||
- name: Use Node.js ${{ matrix.node-version }}
|
- name: Use Node.js ${{ matrix.node-version }}
|
||||||
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
|
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
|
||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node-version }}
|
node-version: ${{ matrix.node-version }}
|
||||||
- name: Bootstrap project
|
- name: Bootstrap project
|
||||||
|
@ -38,7 +38,7 @@ jobs:
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: npm run-script test:ci
|
run: npm run-script test:ci
|
||||||
- name: Publish coverage report to Coveralls
|
- name: Publish coverage report to Coveralls
|
||||||
uses: coverallsapp/github-action@643bc377ffa44ace6394b2b5d0d3950076de9f63 # v2.3.0
|
uses: coverallsapp/github-action@3dfc5567390f6fa9267c0ee9c251e4c8c3f18949 # v2.2.3
|
||||||
with:
|
with:
|
||||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
flag-name: run-${{ matrix.os }}-node@${{ matrix.node-version }}
|
flag-name: run-${{ matrix.os }}-node@${{ matrix.node-version }}
|
||||||
|
@ -50,7 +50,7 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Coveralls finished
|
- name: Coveralls finished
|
||||||
uses: coverallsapp/github-action@643bc377ffa44ace6394b2b5d0d3950076de9f63 # v2.3.0
|
uses: coverallsapp/github-action@3dfc5567390f6fa9267c0ee9c251e4c8c3f18949 # v2.2.3
|
||||||
with:
|
with:
|
||||||
github-token: ${{ secrets.github_token }}
|
github-token: ${{ secrets.github_token }}
|
||||||
parallel-finished: true
|
parallel-finished: true
|
||||||
|
@ -59,9 +59,9 @@ jobs:
|
||||||
name: Code Lint
|
name: Code Lint
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
|
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||||
- name: Use Node.js 18
|
- name: Use Node.js 18
|
||||||
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
|
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
|
||||||
with:
|
with:
|
||||||
node-version: 18
|
node-version: 18
|
||||||
- name: Bootstrap project
|
- name: Bootstrap project
|
||||||
|
@ -73,11 +73,11 @@ jobs:
|
||||||
name: Commit Lint
|
name: Commit Lint
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
|
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- name: Use Node.js 18
|
- name: Use Node.js 18
|
||||||
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
|
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
|
||||||
with:
|
with:
|
||||||
node-version: 18
|
node-version: 18
|
||||||
- name: Bootstrap project
|
- name: Bootstrap project
|
||||||
|
@ -101,12 +101,12 @@ jobs:
|
||||||
security-events: write
|
security-events: write
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||||
- name: Initialize CodeQL
|
- name: Initialize CodeQL
|
||||||
uses: github/codeql-action/init@9fdb3e49720b44c48891d036bb502feb25684276 # v3.25.6
|
uses: github/codeql-action/init@74483a38d39275f33fcff5f35b679b5ca4a26a99 # v2.22.5
|
||||||
with:
|
with:
|
||||||
languages: 'javascript'
|
languages: 'javascript'
|
||||||
config-file: ./.github/codeql/codeql-config.yaml
|
config-file: ./.github/codeql/codeql-config.yaml
|
||||||
|
|
||||||
- name: Perform CodeQL Analysis
|
- name: Perform CodeQL Analysis
|
||||||
uses: github/codeql-action/analyze@9fdb3e49720b44c48891d036bb502feb25684276 # v3.25.6
|
uses: github/codeql-action/analyze@74483a38d39275f33fcff5f35b679b5ca4a26a99 # v2.22.5
|
||||||
|
|
10
.travis.yml
10
.travis.yml
|
@ -9,10 +9,10 @@ os: linux
|
||||||
dist: bionic
|
dist: bionic
|
||||||
language: node_js
|
language: node_js
|
||||||
node_js:
|
node_js:
|
||||||
- 10.24.1
|
- 10
|
||||||
- 12.22.12
|
- 12
|
||||||
- 14.21.3
|
- 14
|
||||||
- 16.20.2
|
- 16
|
||||||
- 17.9.1
|
- 17
|
||||||
install: npm ci --ignore-scripts
|
install: npm ci --ignore-scripts
|
||||||
script: npm run-script test:ci
|
script: npm run-script test:ci
|
||||||
|
|
168
CHANGES.md
168
CHANGES.md
|
@ -1,171 +1,3 @@
|
||||||
2024-05-13, Version 6.1.5
|
|
||||||
=========================
|
|
||||||
|
|
||||||
* chore: lock file maintenance (renovate[bot])
|
|
||||||
|
|
||||||
* chore: update dependency chai-as-promised to ^7.1.2 (renovate[bot])
|
|
||||||
|
|
||||||
* chore: update coverallsapp/github-action action to v2.3.0 (renovate[bot])
|
|
||||||
|
|
||||||
* chore: update actions/checkout action to v4.1.5 (renovate[bot])
|
|
||||||
|
|
||||||
* chore: update github/codeql-action action to v3.25.4 (renovate[bot])
|
|
||||||
|
|
||||||
* chore: update github/codeql-action action to v3.25.3 (renovate[bot])
|
|
||||||
|
|
||||||
* chore: update actions/checkout action to v4.1.4 (renovate[bot])
|
|
||||||
|
|
||||||
* chore: update dependency commitlint to ^19.3.0 (renovate[bot])
|
|
||||||
|
|
||||||
* chore: update github/codeql-action action to v3.25.2 (renovate[bot])
|
|
||||||
|
|
||||||
* chore: update actions/checkout action to v4.1.3 (renovate[bot])
|
|
||||||
|
|
||||||
* chore: update github/codeql-action action to v3.25.1 (renovate[bot])
|
|
||||||
|
|
||||||
* chore: update github/codeql-action action to v3.25.0 (renovate[bot])
|
|
||||||
|
|
||||||
* chore: update dependency node to v17.9.1 (renovate[bot])
|
|
||||||
|
|
||||||
* chore: update dependency node to v16.20.2 (renovate[bot])
|
|
||||||
|
|
||||||
* chore: update dependency node to v14.21.3 (renovate[bot])
|
|
||||||
|
|
||||||
* chore: update dependency node to v12.22.12 (renovate[bot])
|
|
||||||
|
|
||||||
* chore: update dependency node to v10.24.1 (renovate[bot])
|
|
||||||
|
|
||||||
* chore: update commitlint monorepo to ^19.2.2 (renovate[bot])
|
|
||||||
|
|
||||||
* chore: update github/codeql-action action to v3.24.10 (renovate[bot])
|
|
||||||
|
|
||||||
* chore: update dependency loopback-datasource-juggler to ^5.0.8 (renovate[bot])
|
|
||||||
|
|
||||||
|
|
||||||
2024-04-04, Version 6.1.4
|
|
||||||
=========================
|
|
||||||
|
|
||||||
* chore: lock file maintenance (renovate[bot])
|
|
||||||
|
|
||||||
* chore: update dependency mocha to ^10.4.0 (renovate[bot])
|
|
||||||
|
|
||||||
* chore: update github/codeql-action action to v3.24.9 (renovate[bot])
|
|
||||||
|
|
||||||
* chore: update dependency commitlint to ^19.2.1 (renovate[bot])
|
|
||||||
|
|
||||||
* chore: update github/codeql-action action to v3.24.8 (renovate[bot])
|
|
||||||
|
|
||||||
* chore: update dependency commitlint to ^19.2.0 (renovate[bot])
|
|
||||||
|
|
||||||
* chore: update github/codeql-action action to v3.24.7 (renovate[bot])
|
|
||||||
|
|
||||||
* chore: update commitlint monorepo to ^19.1.0 (renovate[bot])
|
|
||||||
|
|
||||||
* chore: update dependency loopback-datasource-juggler to ^5.0.7 (renovate[bot])
|
|
||||||
|
|
||||||
|
|
||||||
2024-03-06, Version 6.1.3
|
|
||||||
=========================
|
|
||||||
|
|
||||||
* chore: lock file maintenance (renovate[bot])
|
|
||||||
|
|
||||||
* chore: update github/codeql-action action to v3.24.6 (renovate[bot])
|
|
||||||
|
|
||||||
* chore: update commitlint monorepo to ^19.0.3 (renovate[bot])
|
|
||||||
|
|
||||||
* chore: update commitlint monorepo to v19 (renovate[bot])
|
|
||||||
|
|
||||||
* chore: update dependency eslint to ^8.57.0 (renovate[bot])
|
|
||||||
|
|
||||||
* chore: update github/codeql-action action to v3.24.5 (renovate[bot])
|
|
||||||
|
|
||||||
* chore: update github/codeql-action action to v3.24.4 (renovate[bot])
|
|
||||||
|
|
||||||
* chore: update github/codeql-action action to v3.24.3 (renovate[bot])
|
|
||||||
|
|
||||||
* chore: update dependency @commitlint/config-conventional to ^18.6.2 (renovate[bot])
|
|
||||||
|
|
||||||
* chore: update github/codeql-action action to v3.24.1 (renovate[bot])
|
|
||||||
|
|
||||||
* chore: update commitlint monorepo to ^18.6.1 (renovate[bot])
|
|
||||||
|
|
||||||
|
|
||||||
2024-02-12, Version 6.1.2
|
|
||||||
=========================
|
|
||||||
|
|
||||||
* chore: update dependency loopback-datasource-juggler to ^5.0.6 (renovate[bot])
|
|
||||||
|
|
||||||
* chore: lock file maintenance (renovate[bot])
|
|
||||||
|
|
||||||
* chore: update dependency mocha to ^10.3.0 (renovate[bot])
|
|
||||||
|
|
||||||
* chore: update actions/setup-node action to v4.0.2 (renovate[bot])
|
|
||||||
|
|
||||||
* chore: update github/codeql-action action to v3.24.0 (renovate[bot])
|
|
||||||
|
|
||||||
* chore: update github/codeql-action action to v3.23.2 (renovate[bot])
|
|
||||||
|
|
||||||
* chore: update commitlint monorepo to ^18.6.0 (renovate[bot])
|
|
||||||
|
|
||||||
* chore: update commitlint monorepo to ^18.5.0 (renovate[bot])
|
|
||||||
|
|
||||||
* chore: update github/codeql-action action to v3.23.1 (renovate[bot])
|
|
||||||
|
|
||||||
* chore: update dependency chai to ^4.4.1 (renovate[bot])
|
|
||||||
|
|
||||||
* chore: update dependency loopback-datasource-juggler to ^5.0.5 (renovate[bot])
|
|
||||||
|
|
||||||
|
|
||||||
2024-01-09, Version 6.1.1
|
|
||||||
=========================
|
|
||||||
|
|
||||||
* chore: update github/codeql-action action to v3.23.0 (renovate[bot])
|
|
||||||
|
|
||||||
* chore: lock file maintenance (renovate[bot])
|
|
||||||
|
|
||||||
* chore: update dependency chai to ^4.4.0 (renovate[bot])
|
|
||||||
|
|
||||||
* chore: update commitlint monorepo to ^18.4.4 (renovate[bot])
|
|
||||||
|
|
||||||
* chore: update github/codeql-action action to v3.22.12 (renovate[bot])
|
|
||||||
|
|
||||||
* chore: update actions/setup-node action to v4.0.1 (renovate[bot])
|
|
||||||
|
|
||||||
* chore: update dependency eslint to ^8.56.0 (renovate[bot])
|
|
||||||
|
|
||||||
* chore: update github/codeql-action action to v3 (renovate[bot])
|
|
||||||
|
|
||||||
* chore: update github/codeql-action action to v2.22.10 (renovate[bot])
|
|
||||||
|
|
||||||
* chore: update dependency loopback-datasource-juggler to ^5.0.4 (renovate[bot])
|
|
||||||
|
|
||||||
|
|
||||||
2023-12-07, Version 6.1.0
|
|
||||||
=========================
|
|
||||||
|
|
||||||
* chore: update github/codeql-action action to v2.22.9 (renovate[bot])
|
|
||||||
|
|
||||||
* feat: pass options to buildQueryColumns (Muhammad Aaqil)
|
|
||||||
|
|
||||||
* chore: lock file maintenance (renovate[bot])
|
|
||||||
|
|
||||||
* chore: update dependency eslint to ^8.55.0 (renovate[bot])
|
|
||||||
|
|
||||||
* chore: update github/codeql-action action to v2.22.8 (renovate[bot])
|
|
||||||
|
|
||||||
* chore: update commitlint monorepo to ^18.4.3 (renovate[bot])
|
|
||||||
|
|
||||||
* chore: update dependency eslint to ^8.54.0 (renovate[bot])
|
|
||||||
|
|
||||||
* chore: update github/codeql-action action to v2.22.7 (renovate[bot])
|
|
||||||
|
|
||||||
* chore: update commitlint monorepo to ^18.4.2 (renovate[bot])
|
|
||||||
|
|
||||||
* chore: update github/codeql-action action to v2.22.6 (renovate[bot])
|
|
||||||
|
|
||||||
* chore: update dependency loopback-datasource-juggler to ^5.0.3 (renovate[bot])
|
|
||||||
|
|
||||||
|
|
||||||
2023-11-13, Version 6.0.4
|
2023-11-13, Version 6.0.4
|
||||||
=========================
|
=========================
|
||||||
|
|
||||||
|
|
|
@ -1951,7 +1951,7 @@ SQLConnector.prototype.discoverModelDefinitions = function(options, cb) {
|
||||||
*/
|
*/
|
||||||
// Due to the different implementation structure of information_schema across
|
// Due to the different implementation structure of information_schema across
|
||||||
// connectors, each connector will have to generate its own query
|
// connectors, each connector will have to generate its own query
|
||||||
SQLConnector.prototype.buildQueryColumns = function(schema, table, options) {
|
SQLConnector.prototype.buildQueryColumns = function(schema, table) {
|
||||||
throw new Error(g.f('{{buildQueryColumns}} must be implemented by the connector'));
|
throw new Error(g.f('{{buildQueryColumns}} must be implemented by the connector'));
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -1995,7 +1995,7 @@ SQLConnector.prototype.discoverModelProperties = function(table, options, cb) {
|
||||||
self.setDefaultOptions(options);
|
self.setDefaultOptions(options);
|
||||||
cb = args.cb;
|
cb = args.cb;
|
||||||
|
|
||||||
const sql = self.buildQueryColumns(schema, table, options);
|
const sql = self.buildQueryColumns(schema, table);
|
||||||
const callback = function(err, results) {
|
const callback = function(err, results) {
|
||||||
if (err) {
|
if (err) {
|
||||||
cb(err, results);
|
cb(err, results);
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
16
package.json
16
package.json
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "loopback-connector",
|
"name": "loopback-connector",
|
||||||
"version": "6.1.5",
|
"version": "6.0.4",
|
||||||
"description": "Building blocks for LoopBack connectors",
|
"description": "Building blocks for LoopBack connectors",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=18"
|
"node": ">=18"
|
||||||
|
@ -33,14 +33,14 @@
|
||||||
"uuid": "^9.0.1"
|
"uuid": "^9.0.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@commitlint/config-conventional": "^19.2.2",
|
"@commitlint/config-conventional": "^18.4.0",
|
||||||
"chai": "^4.4.1",
|
"chai": "^4.3.10",
|
||||||
"chai-as-promised": "^7.1.2",
|
"chai-as-promised": "^7.1.1",
|
||||||
"commitlint": "^19.3.0",
|
"commitlint": "^18.4.1",
|
||||||
"eslint": "^8.57.0",
|
"eslint": "^8.53.0",
|
||||||
"eslint-config-loopback": "^13.1.0",
|
"eslint-config-loopback": "^13.1.0",
|
||||||
"loopback-datasource-juggler": "^5.0.9",
|
"loopback-datasource-juggler": "^5.0.2",
|
||||||
"mocha": "^10.4.0",
|
"mocha": "^10.2.0",
|
||||||
"nyc": "^15.1.0"
|
"nyc": "^15.1.0"
|
||||||
},
|
},
|
||||||
"ci": {
|
"ci": {
|
||||||
|
|
Loading…
Reference in New Issue