Socket
Socket
Sign inDemoInstall

@feathersjs/hooks

Package Overview
Dependencies
Maintainers
3
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@feathersjs/hooks - npm Package Compare versions

Comparing version 0.7.5 to 0.7.6

2

CHANGELOG.md

@@ -6,4 +6,4 @@ # Change Log

## [0.7.5](https://github.com/feathersjs/hooks/compare/v0.7.4...v0.7.5) (2022-06-04)
## [0.7.6](https://github.com/feathersjs/hooks/compare/v0.7.5...v0.7.6) (2022-12-08)
**Note:** Version bump only for package @feathersjs/hooks
import { compose } from './compose.js';
export const runHook = (hook, context, type) => {
const typeBefore = context.type;
if (type)

@@ -8,3 +9,3 @@ context.type = type;

if (type)
context.type = null;
context.type = typeBefore;
if (res && res !== context) {

@@ -11,0 +12,0 @@ Object.assign(context, res);

@@ -6,3 +6,3 @@ {

"name": "@feathersjs/hooks",
"version": "0.7.5",
"version": "0.7.6",
"description": "Async middleware for JavaScript and TypeScript",

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

},
"gitHead": "b27f38b8a6d9677706bfd276e6118204b54652a7"
"gitHead": "2490de640a198759526293268a2c2f4ce81714d2"
}

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

const runHook = (hook, context, type) => {
const typeBefore = context.type;
if (type)

@@ -12,3 +13,3 @@ context.type = type;

if (type)
context.type = null;
context.type = typeBefore;
if (res && res !== context) {

@@ -15,0 +16,0 @@ Object.assign(context, res);

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