Skip to content

Commit

Permalink
Merge pull request #792 from terrestris/dependabot/npm_and_yarn/keycl…
Browse files Browse the repository at this point in the history
…oak-js-26.0.1

chore(deps): bump keycloak-js from 25.0.6 to 26.0.1
  • Loading branch information
dnlkoch authored Oct 18, 2024
2 parents 7518353 + 62715fc commit 387323d
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 28 deletions.
2 changes: 1 addition & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ module.exports = {
},
transformIgnorePatterns: [
'<rootDir>/node_modules/(?!(ol|@babel|jest-runtime|@terrestris|color-*|query-string|' +
'decode-uri-component|split-on-first|filter-obj|geostyler-openlayers-parser|geostyler-style))'
'decode-uri-component|split-on-first|filter-obj|geostyler-openlayers-parser|geostyler-style|keycloak-js))'
],
testRegex: '/src/.*\\.spec.(ts|js)$',
collectCoverageFrom: [
Expand Down
27 changes: 4 additions & 23 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"dependencies": {
"@terrestris/base-util": "^2.0.0",
"geojson": "^0.5.0",
"keycloak-js": "^25.0.6",
"keycloak-js": "^26.0.1",
"lodash": "^4.17.21"
},
"devDependencies": {
Expand Down
6 changes: 5 additions & 1 deletion src/service/PermissionService/index.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,11 @@ describe('PermissionService', () => {
let service: PermissionService;

beforeEach(() => {
const keycloak: Keycloak = new Keycloak();
const keycloak: Keycloak = new Keycloak({
clientId: 'EXAMPLE',
realm: 'EXAMPLE',
url: 'https://example.com/auth'
});
keycloak.token = 'ThisIsNotAValidBearerToken';

service = new PermissionService({
Expand Down
4 changes: 2 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@
// "useDefineForClassFields": true, /* Emit ECMAScript-standard-compliant class fields. */

/* Modules */
"module": "commonjs", /* Specify what module code is generated. */
"module": "ESNext", /* Specify what module code is generated. */
// "rootDir": "./", /* Specify the root folder within your source files. */
"moduleResolution": "node", /* Specify how TypeScript looks up a file from a given module specifier. */
"moduleResolution": "Bundler", /* Specify how TypeScript looks up a file from a given module specifier. */
// "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */
// "paths": {}, /* Specify a set of entries that re-map imports to additional lookup locations. */
// "rootDirs": [], /* Allow multiple folders to be treated as one when resolving modules. */
Expand Down

0 comments on commit 387323d

Please sign in to comment.