Socket
Socket
Sign inDemoInstall

@ldapjs/messages

Package Overview
Dependencies
8
Maintainers
4
Versions
11
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.1 to 1.0.2

2

lib/messages/search-request.js

@@ -37,3 +37,3 @@ 'use strict'

// ascii attribute names
if (/^[a-zA-Z][\w\d.;-]+$/.test(str) === true) {
if (/^[a-zA-Z][\w\d.;-]*$/.test(str) === true) {
return true

@@ -40,0 +40,0 @@ }

@@ -103,2 +103,9 @@ 'use strict'

t.test('supports single character names (issue #2)', async t => {
const req = new SearchRequest({
attributes: ['a']
})
t.strictSame(req.attributes, ['a'])
})
t.end()

@@ -105,0 +112,0 @@ })

@@ -5,3 +5,3 @@ {

"description": "API for creating and parsing LDAP messages",
"version": "1.0.1",
"version": "1.0.2",
"license": "MIT",

@@ -8,0 +8,0 @@ "repository": {

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc