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

@cocreate/authorize

Package Overview
Dependencies
Maintainers
1
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cocreate/authorize - npm Package Compare versions

Comparing version 1.13.1 to 1.13.2

7

CHANGELOG.md

@@ -0,1 +1,8 @@

## [1.13.2](https://github.com/CoCreate-app/CoCreate-authorize/compare/v1.13.1...v1.13.2) (2024-01-30)
### Bug Fixes
* replaced this.user with $user_id ([4b3c672](https://github.com/CoCreate-app/CoCreate-authorize/commit/4b3c672fce83d96729900e2be08c93d4c36c97f8))
## [1.13.1](https://github.com/CoCreate-app/CoCreate-authorize/compare/v1.13.0...v1.13.1) (2024-01-17)

@@ -2,0 +9,0 @@

2

package.json
{
"name": "@cocreate/authorize",
"version": "1.13.1",
"version": "1.13.2",
"description": "A simple authorize component in vanilla javascript. Easily configured using HTML5 data-attributes and/or JavaScript API.",

@@ -5,0 +5,0 @@ "keywords": [

@@ -235,3 +235,3 @@ (function (root, factory) {

async function checkMethodOperators(data, key, value) {
if (value === 'this.userId' && data.socket)
if (value === '$user_Id' && data.socket)
value = data.socket.user_id || data.user_id

@@ -238,0 +238,0 @@

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