New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

keycloak-mock

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

keycloak-mock - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

10

dist/views/createUser.js

@@ -23,4 +23,12 @@ "use strict";

});
return [200, { id: createdUser.profile.id }];
const resourcePath = `/admin/realms/${instance.params.realm}/users/${createdUser.profile.id}`;
const resourceURL = instance.createURL(resourcePath);
return [
200,
{ id: createdUser.profile.id },
{
location: resourceURL,
},
];
};
exports.default = createUser;

@@ -30,5 +30,14 @@ import { v4 as uuidv4 } from "uuid";

return [200, { id: createdUser.profile.id }];
const resourcePath = `/admin/realms/${instance.params.realm}/users/${createdUser.profile.id}`;
const resourceURL = instance.createURL(resourcePath);
return [
200,
{ id: createdUser.profile.id },
{
location: resourceURL,
},
];
};
export default createUser;

2

package.json
{
"name": "keycloak-mock",
"version": "1.0.4",
"version": "1.0.5",
"description": "Keycloak server mock for Node.js",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc