@backstage/plugin-auth-backend 0.11.0 → 0.12.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.
@@ -21,7 +21,7 @@
21
21
  */
22
22
  exports.up = async function up(knex) {
23
23
  // Sqlite does not support alter column.
24
- if (knex.client.config.client !== 'sqlite3') {
24
+ if (knex.client.config.client.includes('sqlite3')) {
25
25
  await knex.schema.alterTable('signing_keys', table => {
26
26
  table
27
27
  .timestamp('created_at', { useTz: true, precision: 0 })
@@ -38,7 +38,7 @@ exports.up = async function up(knex) {
38
38
  */
39
39
  exports.down = async function down(knex) {
40
40
  // Sqlite does not support alter column.
41
- if (knex.client.config.client !== 'sqlite3') {
41
+ if (knex.client.config.client.includes('sqlite3')) {
42
42
  await knex.schema.alterTable('signing_keys', table => {
43
43
  table
44
44
  .timestamp('created_at', { useTz: false, precision: 0 })
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@backstage/plugin-auth-backend",
3
3
  "description": "A Backstage backend plugin that handles authentication",
4
- "version": "0.11.0",
4
+ "version": "0.12.1",
5
5
  "main": "dist/index.cjs.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "license": "Apache-2.0",
@@ -33,12 +33,12 @@
33
33
  "clean": "backstage-cli package clean"
34
34
  },
35
35
  "dependencies": {
36
- "@backstage/backend-common": "^0.11.0",
37
- "@backstage/catalog-client": "^0.7.2",
38
- "@backstage/catalog-model": "^0.11.0",
36
+ "@backstage/backend-common": "^0.13.0",
37
+ "@backstage/catalog-client": "^0.9.0",
38
+ "@backstage/catalog-model": "^0.13.0",
39
39
  "@backstage/config": "^0.1.15",
40
40
  "@backstage/errors": "^0.2.2",
41
- "@backstage/plugin-auth-node": "^0.1.3",
41
+ "@backstage/plugin-auth-node": "^0.1.5",
42
42
  "@backstage/types": "^0.1.3",
43
43
  "@google-cloud/firestore": "^5.0.2",
44
44
  "@types/express": "^4.17.6",
@@ -49,7 +49,7 @@
49
49
  "express": "^4.17.1",
50
50
  "express-promise-router": "^4.1.0",
51
51
  "express-session": "^1.17.1",
52
- "fs-extra": "9.1.0",
52
+ "fs-extra": "10.0.1",
53
53
  "google-auth-library": "^7.6.1",
54
54
  "jose": "^1.27.1",
55
55
  "jwt-decode": "^3.1.0",
@@ -76,8 +76,8 @@
76
76
  "yn": "^4.0.0"
77
77
  },
78
78
  "devDependencies": {
79
- "@backstage/cli": "^0.14.1",
80
- "@backstage/test-utils": "^0.2.6",
79
+ "@backstage/backend-test-utils": "^0.1.21",
80
+ "@backstage/cli": "^0.15.2",
81
81
  "@types/body-parser": "^1.19.0",
82
82
  "@types/cookie-parser": "^1.4.2",
83
83
  "@types/express-session": "^1.17.2",
@@ -97,5 +97,5 @@
97
97
  "config.d.ts"
98
98
  ],
99
99
  "configSchema": "config.d.ts",
100
- "gitHead": "a15da6ea1e3e8adc37be98be064071c8b5279b4a"
100
+ "gitHead": "60c4e39d1fcaeb10d6488ada1d907f34dc2a105a"
101
101
  }