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

feathers-commons

Package Overview
Dependencies
Maintainers
2
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

feathers-commons - npm Package Compare versions

Comparing version 0.8.6 to 0.8.7

17

CHANGELOG.md
# Change Log
## [v0.8.6](https://github.com/feathersjs/feathers-commons/tree/v0.8.6) (2016-11-25)
[Full Changelog](https://github.com/feathersjs/feathers-commons/compare/v0.8.5...v0.8.6)
**Merged pull requests:**
- Allow to pass an object to hook object [\#45](https://github.com/feathersjs/feathers-commons/pull/45) ([daffl](https://github.com/daffl))
## [v0.8.5](https://github.com/feathersjs/feathers-commons/tree/v0.8.5) (2016-11-19)
[Full Changelog](https://github.com/feathersjs/feathers-commons/compare/v0.8.4...v0.8.5)
**Merged pull requests:**
- Deep merge and toObject [\#44](https://github.com/feathersjs/feathers-commons/pull/44) ([ekryski](https://github.com/ekryski))
- Expose lodash functions [\#43](https://github.com/feathersjs/feathers-commons/pull/43) ([ekryski](https://github.com/ekryski))
- Make url [\#42](https://github.com/feathersjs/feathers-commons/pull/42) ([ekryski](https://github.com/ekryski))
- Expect syntax [\#41](https://github.com/feathersjs/feathers-commons/pull/41) ([ekryski](https://github.com/ekryski))
## [v0.8.4](https://github.com/feathersjs/feathers-commons/tree/v0.8.4) (2016-11-11)

@@ -4,0 +21,0 @@ [Full Changelog](https://github.com/feathersjs/feathers-commons/compare/v0.8.3...v0.8.4)

5

lib/arguments.js

@@ -6,6 +6,6 @@ 'use strict';

});
exports.default = getArguments;
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
function _typeof(obj) { return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj; }
exports.default = getArguments;
var noop = exports.noop = function noop() {};

@@ -88,3 +88,2 @@ var getCallback = function getCallback(args) {

update: updateOrPatch('update'),

@@ -91,0 +90,0 @@

10

lib/hooks.js
'use strict';
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
Object.defineProperty(exports, "__esModule", {

@@ -7,8 +9,6 @@ value: true

var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
var _utils = require('./utils');
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
function _typeof(obj) { return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj; }
var _utils = require('./utils');
function getOrRemove(args) {

@@ -52,3 +52,3 @@ return {

function hookObject(method, type, args) {
var app = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};
var app = arguments.length <= 3 || arguments[3] === undefined ? {} : arguments[3];

@@ -55,0 +55,0 @@ var hook = converters[method](args);

'use strict';
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
Object.defineProperty(exports, "__esModule", {

@@ -8,4 +10,2 @@ value: true

var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
var _assert = require('assert');

@@ -12,0 +12,0 @@

'use strict';
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
Object.defineProperty(exports, "__esModule", {
value: true
});
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
exports.stripSlashes = stripSlashes;

@@ -31,2 +28,4 @@ exports.each = each;

function _typeof(obj) { return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj; }
function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }

@@ -224,3 +223,3 @@

return _.every(query, function (value, key) {
if ((typeof value === 'undefined' ? 'undefined' : _typeof(value)) === 'object') {
if (value !== null && (typeof value === 'undefined' ? 'undefined' : _typeof(value)) === 'object') {
return _.every(value, function (target, filterType) {

@@ -262,3 +261,3 @@ if (specialFilters[filterType]) {

function makeUrl(path) {
var app = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
var app = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1];

@@ -265,0 +264,0 @@ var get = typeof app.get === 'function' ? app.get.bind(app) : function () {};

{
"name": "feathers-commons",
"version": "0.8.6",
"version": "0.8.7",
"description": "Shared Feathers utility functions",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/feathersjs/feathers-commons",

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