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

@loopback/core

Package Overview
Dependencies
Maintainers
11
Versions
202
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@loopback/core - npm Package Compare versions

Comparing version 2.16.2 to 2.17.0

6

dist/lifecycle-registry.d.ts

@@ -25,2 +25,8 @@ import { Binding, Context, ContextView } from '@loopback/context';

/**
* Override and disable lifecycle observer groups. This setting applies to
* both ordered groups (i.e. those defined in `orderedGroups`) and unordered
* groups.
*/
disabledGroups?: string[];
/**
* Notify observers of the same group in parallel, default to `true`

@@ -27,0 +33,0 @@ */

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

async notifyGroups(events, groups, reverse = false) {
var _a;
const observers = await this.observersView.values();

@@ -138,2 +139,6 @@ const bindings = this.observersView.bindings;

for (const group of groups) {
if ((_a = this.options.disabledGroups) === null || _a === void 0 ? void 0 : _a.includes(group.group)) {
debug('Notification skipped (Group is disabled): %s', group.group);
continue;
}
const observersForGroup = [];

@@ -140,0 +145,0 @@ const bindingsInGroup = reverse

18

package.json
{
"name": "@loopback/core",
"description": "Define and implement core constructs such as Application and Component",
"version": "2.16.2",
"version": "2.17.0",
"license": "MIT",

@@ -38,14 +38,14 @@ "main": "dist/index.js",

"dependencies": {
"@loopback/context": "^3.17.1",
"debug": "^4.3.1",
"tslib": "^2.3.0"
"@loopback/context": "^3.17.2",
"debug": "^4.3.2",
"tslib": "^2.3.1"
},
"devDependencies": {
"@loopback/build": "^7.0.0",
"@loopback/eslint-config": "^11.0.0",
"@loopback/testlab": "^3.4.2",
"@types/debug": "^4.1.5",
"@loopback/build": "^7.0.1",
"@loopback/eslint-config": "^11.0.1",
"@loopback/testlab": "^3.4.3",
"@types/debug": "^4.1.7",
"@types/node": "^10.17.60"
},
"gitHead": "baac86fff18e0bc88a953814b6b181ebdbb446c3"
"gitHead": "1df36bb1ee2e513d9e197bd6010c4cfb296d50b8"
}

@@ -42,2 +42,8 @@ // Copyright IBM Corp. 2018,2020. All Rights Reserved.

/**
* Override and disable lifecycle observer groups. This setting applies to
* both ordered groups (i.e. those defined in `orderedGroups`) and unordered
* groups.
*/
disabledGroups?: string[];
/**
* Notify observers of the same group in parallel, default to `true`

@@ -215,2 +221,6 @@ */

for (const group of groups) {
if (this.options.disabledGroups?.includes(group.group)) {
debug('Notification skipped (Group is disabled): %s', group.group);
continue;
}
const observersForGroup: LifeCycleObserver[] = [];

@@ -217,0 +227,0 @@ const bindingsInGroup = reverse

@@ -64,9 +64,7 @@ // Copyright IBM Corp. 2020. All Rights Reserved.

*/
export type MixinTarget<T extends object> = Constructor<
{
// Enumerate only public members to avoid the following compiler error:
// Property '(name)' of exported class expression
// may not be private or protected.ts(4094)
[P in keyof T]: T[P];
}
>;
export type MixinTarget<T extends object> = Constructor<{
// Enumerate only public members to avoid the following compiler error:
// Property '(name)' of exported class expression
// may not be private or protected.ts(4094)
[P in keyof T]: T[P];
}>;

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