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

api-core

Package Overview
Dependencies
Maintainers
1
Versions
225
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

api-core - npm Package Compare versions

Comparing version 0.17.2 to 0.17.3

5

dist/src/edge/ApiEdgeDefinition.d.ts

@@ -58,2 +58,4 @@ import { ApiEdgeRelation } from "../relations/ApiEdgeRelation";

metadata: () => ApiEdgeMetadata;
get(key: string): any;
set(key: string, value: any): any;
}

@@ -112,2 +114,5 @@ export declare abstract class ApiEdge implements ApiEdgeDefinition {

entryMethod(name: string, execute: (scope: ApiQueryScope) => Promise<ApiEdgeQueryResponse>, acceptedTypes?: ApiRequestType, parameters?: string[], requiresData?: boolean): ApiEdge;
private extension;
get: (key: string) => any;
set: (key: string, value: any) => any;
}

3

dist/src/edge/ApiEdgeDefinition.js

@@ -49,2 +49,5 @@ "use strict";

};
this.extension = {};
this.get = (key) => this.extension[key];
this.set = (key, value) => this.extension[key] = value;
}

@@ -51,0 +54,0 @@ edgeMethod(name, execute, acceptedTypes = ApiRequest_1.ApiRequestType.Any, parametersOrData = [], requiresData = true) {

2

package.json
{
"name": "api-core",
"version": "0.17.2",
"version": "0.17.3",
"description": "Model-based dynamic multi-level APIs for any provider, plus multiple consumption channels",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -59,2 +59,5 @@ import {ApiEdgeRelation} from "../relations/ApiEdgeRelation";

metadata: () => ApiEdgeMetadata
get(key: string): any;
set(key: string, value: any): any;
}

@@ -194,2 +197,6 @@

};
private extension: { [key: string]: any } = {};
get = (key: string) => this.extension[key];
set = (key: string, value: any) => this.extension[key] = value;
}

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