node-ldapjs/test
Patrick Mooney 59bebe537b Make Attribute detection more strict
The old Attribute.isAttribute would allow objects lacking the toBer
method to be attached to Change objects.  This would result in errors
during serialization.

With the stricter Attribute detection, it's necessary to convert
Attribute-like objects containing type (string) and vals (array)
properties into real Attribute objects.  This precise detection is
necessary to avoid falling back to the object-keys-into-attributes

That other logic which will turn a well structured Attribute-like object
such as this:

  { type: 'valid', vals: ['something'] }

... and turn it into something broken like this:

  [
    { type: 'type', vals: ['valid'] },
    { type: 'vals', vals: ['something'] }
  ]
2014-07-17 13:33:02 -05:00
..
controls Preserve raw Buffer value in Control objects 2014-07-14 14:47:56 -05:00
filters Convert tests to use tape/istanbul/faucet 2014-07-08 15:09:26 -05:00
messages Convert tests to use tape/istanbul/faucet 2014-07-08 15:09:26 -05:00
attribute.test.js Make Attribute detection more strict 2014-07-17 13:33:02 -05:00
change.test.js Simplify and fix Change.apply tests for replace 2014-07-16 15:03:15 -05:00
client.test.js Fix message parsing for length-sensitive types 2014-07-16 18:53:06 -05:00
dn.test.js Convert tests to use tape/istanbul/faucet 2014-07-08 15:09:26 -05:00
laundry.test.js Convert tests to use tape/istanbul/faucet 2014-07-08 15:09:26 -05:00
server.test.js Convert tests to use tape/istanbul/faucet 2014-07-08 15:09:26 -05:00
test.js Convert tests to use tape/istanbul/faucet 2014-07-08 15:09:26 -05:00
url.test.js Convert tests to use tape/istanbul/faucet 2014-07-08 15:09:26 -05:00