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

@universal-packages/dynamic-api

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@universal-packages/dynamic-api - npm Package Compare versions

Comparing version 1.5.1 to 1.6.0

2

DynamicApi.d.ts

@@ -5,5 +5,5 @@ /// <reference types="node" />

export default class DynamicApi<D extends Record<string, any>> extends EventEmitter {
static readonly debugLog: DebugLog;
readonly options: DynamicApiOptions;
readonly dynamics: Dynamics;
readonly debugLog: DebugLog;
constructor(options: DynamicApiOptions);

@@ -10,0 +10,0 @@ loadDynamics(): Promise<void>;

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

this.dynamics = {};
this.debugLog = [];
this.options = { ...options };

@@ -109,3 +108,3 @@ if (this.options.debug && process.env['NODE_ENV'] !== 'test' && process.env['NODE_ENV'] !== 'development') {

if (this.options.debug)
this.debugLog.push(debugEntry);
this.constructor['debugLog'].push(debugEntry);
if (this.options.accumulate) {

@@ -174,3 +173,3 @@ return results;

if (this.options.debug)
this.debugLog.push(debugEntry);
this.constructor['debugLog'].push(debugEntry);
if (this.options.accumulate) {

@@ -206,2 +205,3 @@ return results;

exports.default = DynamicApi;
DynamicApi.debugLog = [];
//# sourceMappingURL=DynamicApi.js.map
{
"name": "@universal-packages/dynamic-api",
"version": "1.5.1",
"version": "1.6.0",
"description": "Dynamic decoupling-adapting system",

@@ -14,3 +14,4 @@ "author": "David De Anda <david@universal-packages.com> (https://github.com/universal-packages)",

"test:full": "jest --coverage --verbose",
"test:clear": "jest --clearCache"
"test:clear": "jest --clearCache",
"format": "prettier --write \"./{src,tests}/**/*.{ts,tsx,js,jsx,json}\""
},

@@ -21,2 +22,3 @@ "dependencies": {

"devDependencies": {
"@trivago/prettier-plugin-sort-imports": "^4.1.1",
"@types/jest": "^28.1.0",

@@ -26,2 +28,3 @@ "@types/node": "^17.0.39",

"jest-circus": "^28.1.0",
"prettier": "^2.8.7",
"ts-jest": "^28.0.4",

@@ -50,4 +53,15 @@ "typescript": "^4.7.3"

"printWidth": 180,
"trailingComma": "none"
"trailingComma": "none",
"importOrder": [
"^[./]"
],
"importOrderSeparation": true,
"importOrderSortSpecifiers": true,
"importOrderParserPlugins": [
"typescript",
"jsx",
"classProperties",
"decorators-legacy"
]
}
}

@@ -71,3 +71,3 @@ # Dynamic API

## Hooks
## Decorators
#### **`@Dynamic(name: string, [default: boolean])`**

@@ -74,0 +74,0 @@

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