Socket
Socket
Sign inDemoInstall

@feathersjs/adapter-tests

Package Overview
Dependencies
0
Maintainers
3
Versions
94
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 5.0.0-pre.33 to 5.0.0-pre.34

6

CHANGELOG.md

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

# [5.0.0-pre.34](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.33...v5.0.0-pre.34) (2022-12-14)
### Features
- **adapter:** Add patch data type to adapters and refactor AdapterBase usage ([#2906](https://github.com/feathersjs/feathers/issues/2906)) ([9ddc2e6](https://github.com/feathersjs/feathers/commit/9ddc2e6b028f026f939d6af68125847e5c6734b4))
# [5.0.0-pre.33](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.32...v5.0.0-pre.33) (2022-11-08)

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

18

lib/basic.js

@@ -41,20 +41,2 @@ "use strict";

});
test('.$get', () => {
assert_1.default.strictEqual(typeof service.$get, 'function');
});
test('.$find', () => {
assert_1.default.strictEqual(typeof service.$find, 'function');
});
test('.$create', () => {
assert_1.default.strictEqual(typeof service.$create, 'function');
});
test('.$update', () => {
assert_1.default.strictEqual(typeof service.$update, 'function');
});
test('.$patch', () => {
assert_1.default.strictEqual(typeof service.$patch, 'function');
});
test('.$remove', () => {
assert_1.default.strictEqual(typeof service.$remove, 'function');
});
});

@@ -61,0 +43,0 @@ });

16

lib/declarations.d.ts

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

export declare type AdapterTest = (name: AdapterTestName, runner: any) => void;
export declare type AdapterBasicTest = (name: AdapterBasicTestName, runner: any) => void;
export declare type AdapterMethodsTest = (name: AdapterMethodsTestName, runner: any) => void;
export declare type AdapterSyntaxTest = (name: AdapterSyntaxTestName, runner: any) => void;
export declare type AdapterTestName = AdapterBasicTestName | AdapterMethodsTestName | AdapterSyntaxTestName;
export declare type AdapterBasicTestName = '.id' | '.options' | '.events' | '._get' | '._find' | '._create' | '._update' | '._patch' | '._remove' | '.$get' | '.$find' | '.$create' | '.$update' | '.$patch' | '.$remove';
export declare type AdapterMethodsTestName = '.get' | '.get + $select' | '.get + id + query' | '.get + NotFound' | '.get + id + query id' | '.find' | '.remove' | '.remove + $select' | '.remove + id + query' | '.remove + multi' | '.remove + multi no pagination' | '.remove + id + query id' | '.update' | '.update + $select' | '.update + id + query' | '.update + NotFound' | '.update + query + NotFound' | '.update + id + query id' | '.patch' | '.patch + $select' | '.patch + id + query' | '.patch multiple' | '.patch multiple no pagination' | '.patch multi query same' | '.patch multi query changed' | '.patch + NotFound' | '.patch + query + NotFound' | '.patch + id + query id' | '.create' | '.create + $select' | '.create multi' | 'internal .find' | 'internal .get' | 'internal .create' | 'internal .update' | 'internal .patch' | 'internal .remove';
export declare type AdapterSyntaxTestName = '.find + equal' | '.find + equal multiple' | '.find + $sort' | '.find + $sort + string' | '.find + $limit' | '.find + $limit 0' | '.find + $skip' | '.find + $select' | '.find + $or' | '.find + $in' | '.find + $nin' | '.find + $lt' | '.find + $lte' | '.find + $gt' | '.find + $gte' | '.find + $ne' | '.find + $gt + $lt + $sort' | '.find + $or nested + $sort' | 'params.adapter + paginate' | 'params.adapter + multi' | '.find + paginate' | '.find + paginate + query' | '.find + paginate + $limit + $skip' | '.find + paginate + $limit 0' | '.find + paginate + params';
export type AdapterTest = (name: AdapterTestName, runner: any) => void;
export type AdapterBasicTest = (name: AdapterBasicTestName, runner: any) => void;
export type AdapterMethodsTest = (name: AdapterMethodsTestName, runner: any) => void;
export type AdapterSyntaxTest = (name: AdapterSyntaxTestName, runner: any) => void;
export type AdapterTestName = AdapterBasicTestName | AdapterMethodsTestName | AdapterSyntaxTestName;
export type AdapterBasicTestName = '.id' | '.options' | '.events' | '._get' | '._find' | '._create' | '._update' | '._patch' | '._remove' | '.$get' | '.$find' | '.$create' | '.$update' | '.$patch' | '.$remove';
export type AdapterMethodsTestName = '.get' | '.get + $select' | '.get + id + query' | '.get + NotFound' | '.get + id + query id' | '.find' | '.remove' | '.remove + $select' | '.remove + id + query' | '.remove + multi' | '.remove + multi no pagination' | '.remove + id + query id' | '.update' | '.update + $select' | '.update + id + query' | '.update + NotFound' | '.update + query + NotFound' | '.update + id + query id' | '.patch' | '.patch + $select' | '.patch + id + query' | '.patch multiple' | '.patch multiple no pagination' | '.patch multi query same' | '.patch multi query changed' | '.patch + NotFound' | '.patch + query + NotFound' | '.patch + id + query id' | '.create' | '.create + $select' | '.create multi' | 'internal .find' | 'internal .get' | 'internal .create' | 'internal .update' | 'internal .patch' | 'internal .remove';
export type AdapterSyntaxTestName = '.find + equal' | '.find + equal multiple' | '.find + $sort' | '.find + $sort + string' | '.find + $limit' | '.find + $limit 0' | '.find + $skip' | '.find + $select' | '.find + $or' | '.find + $in' | '.find + $nin' | '.find + $lt' | '.find + $lte' | '.find + $gt' | '.find + $gte' | '.find + $ne' | '.find + $gt + $lt + $sort' | '.find + $or nested + $sort' | 'params.adapter + paginate' | 'params.adapter + multi' | '.find + paginate' | '.find + paginate + query' | '.find + paginate + $limit + $skip' | '.find + paginate + $limit 0' | '.find + paginate + params';
{
"name": "@feathersjs/adapter-tests",
"version": "5.0.0-pre.33",
"version": "5.0.0-pre.34",
"description": "Feathers shared database adapter test suite",

@@ -53,10 +53,10 @@ "homepage": "https://feathersjs.com",

"devDependencies": {
"@types/mocha": "^10.0.0",
"@types/node": "^18.11.9",
"@types/mocha": "^10.0.1",
"@types/node": "^18.11.10",
"mocha": "^10.1.0",
"shx": "^0.3.4",
"ts-node": "^10.9.1",
"typescript": "^4.8.4"
"typescript": "^4.9.3"
},
"gitHead": "89f516bcb1457e23a02c6212e9cd8bacc4d267d4"
"gitHead": "42cca600d00f0b3b9d89fa79be30fcd46bc50132"
}

@@ -48,28 +48,4 @@ import assert from 'assert'

})
test('.$get', () => {
assert.strictEqual(typeof service.$get, 'function')
})
test('.$find', () => {
assert.strictEqual(typeof service.$find, 'function')
})
test('.$create', () => {
assert.strictEqual(typeof service.$create, 'function')
})
test('.$update', () => {
assert.strictEqual(typeof service.$update, 'function')
})
test('.$patch', () => {
assert.strictEqual(typeof service.$patch, 'function')
})
test('.$remove', () => {
assert.strictEqual(typeof service.$remove, 'function')
})
})
})
}

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc