Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@feathersjs/adapter-tests

Package Overview
Dependencies
Maintainers
3
Versions
98
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@feathersjs/adapter-tests - npm Package Compare versions

Comparing version 5.0.0 to 5.0.1

6

CHANGELOG.md

@@ -6,2 +6,8 @@ # Change Log

## [5.0.1](https://github.com/feathersjs/feathers/compare/v5.0.0...v5.0.1) (2023-03-15)
### Bug Fixes
- **memory/mongodb:** $select as only property & force 'id' in '$select' ([#3081](https://github.com/feathersjs/feathers/issues/3081)) ([fbe3cf5](https://github.com/feathersjs/feathers/commit/fbe3cf5199e102b5aeda2ae33828d5034df3d105))
# [5.0.0](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.38...v5.0.0) (2023-02-24)

@@ -8,0 +14,0 @@

4

lib/methods.js

@@ -92,2 +92,3 @@ "use strict";

});
assert_1.default.strictEqual(data[idProp].toString(), doug[idProp].toString(), `${idProp} id property matches`);
assert_1.default.strictEqual(data.name, 'Doug', 'data.name matches');

@@ -208,2 +209,3 @@ assert_1.default.ok(!data.age, 'data.age is falsy');

});
assert_1.default.strictEqual(data[idProp].toString(), doug[idProp].toString(), `${idProp} id property matches`);
assert_1.default.strictEqual(data.name, 'Dougler', 'data.name matches');

@@ -282,2 +284,3 @@ assert_1.default.ok(!data.age, 'data.age is falsy');

});
assert_1.default.strictEqual(data[idProp].toString(), doug[idProp].toString(), `${idProp} id property matches`);
assert_1.default.strictEqual(data.name, 'PatchDoug', 'data.name matches');

@@ -500,2 +503,3 @@ assert_1.default.ok(!data.age, 'data.age is falsy');

});
assert_1.default.ok(idProp in data, 'data has id');
assert_1.default.strictEqual(data.name, 'William', 'data.name matches');

@@ -502,0 +506,0 @@ assert_1.default.ok(!data.age, 'data.age is falsy');

@@ -113,2 +113,3 @@ "use strict";

assert_1.default.strictEqual(data.length, 1);
assert_1.default.ok(idProp in data[0], 'data has id');
assert_1.default.strictEqual(data[0].name, 'Alice');

@@ -115,0 +116,0 @@ assert_1.default.strictEqual(data[0].age, undefined);

6

package.json
{
"name": "@feathersjs/adapter-tests",
"version": "5.0.0",
"version": "5.0.1",
"description": "Feathers shared database adapter test suite",

@@ -54,3 +54,3 @@ "homepage": "https://feathersjs.com",

"@types/mocha": "^10.0.1",
"@types/node": "^18.14.1",
"@types/node": "^18.14.6",
"mocha": "^10.2.0",

@@ -61,3 +61,3 @@ "shx": "^0.3.4",

},
"gitHead": "90caf635aec850550b9d37bea2762af959d9e8d5"
"gitHead": "18b7f4ab0a8075572a81d78956ba1205a9795c91"
}

@@ -102,2 +102,3 @@ import assert from 'assert'

assert.strictEqual(data[idProp].toString(), doug[idProp].toString(), `${idProp} id property matches`)
assert.strictEqual(data.name, 'Doug', 'data.name matches')

@@ -248,2 +249,3 @@ assert.ok(!data.age, 'data.age is falsy')

assert.strictEqual(data[idProp].toString(), doug[idProp].toString(), `${idProp} id property matches`)
assert.strictEqual(data.name, 'Dougler', 'data.name matches')

@@ -338,2 +340,3 @@ assert.ok(!data.age, 'data.age is falsy')

assert.strictEqual(data[idProp].toString(), doug[idProp].toString(), `${idProp} id property matches`)
assert.strictEqual(data.name, 'PatchDoug', 'data.name matches')

@@ -623,2 +626,3 @@ assert.ok(!data.age, 'data.age is falsy')

assert.ok(idProp in data, 'data has id')
assert.strictEqual(data.name, 'William', 'data.name matches')

@@ -625,0 +629,0 @@ assert.ok(!data.age, 'data.age is falsy')

@@ -130,2 +130,3 @@ import assert from 'assert'

assert.strictEqual(data.length, 1)
assert.ok(idProp in data[0], 'data has id')
assert.strictEqual(data[0].name, 'Alice')

@@ -132,0 +133,0 @@ assert.strictEqual(data[0].age, undefined)

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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