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

@giteeteam/apps-api

Package Overview
Dependencies
Maintainers
5
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@giteeteam/apps-api - npm Package Compare versions

Comparing version 0.2.0 to 0.3.0

dist/cache/index.d.ts

6

dist/global.d.ts
/* eslint-disable no-var */
import type { AxiosConfig } from './axios';
import type { LocalCacheSetOptions } from './localCache';
import type { CacheSetOptions, CacheValueType } from './cache';

@@ -36,2 +37,7 @@ export interface PgQueryResult {

};
var cache: {
set: (key: string, value: CacheValueType, options?: CacheSetOptions) => Promise<void>;
get: (key: string) => Promise<CacheValueType>;
del: (key: string) => Promise<void>;
};
var i18n: {

@@ -38,0 +44,0 @@ t: (keys: string | string[], options?: Record<string, any>) => string;

1

dist/index.d.ts
export * from './axios';
export * from './localCache';
export * from './cache';
export * from './logger';

@@ -4,0 +5,0 @@ export * from './i18n';

export * from './axios';
export * from './localCache';
export * from './cache';
export * from './logger';

@@ -4,0 +5,0 @@ export * from './i18n';

2

dist/resolver/index.d.ts

@@ -9,3 +9,3 @@ export type ResolverPayload = Record<string, any>;

constructor();
define(functionKey: string, cb: ResolverCallback): this;
define(functionKey: string, callback: ResolverCallback): this;
getFunction(functionKey: string): ResolverCallback;

@@ -12,0 +12,0 @@ sanitizeObject(object: Record<string, any>): any;

@@ -5,5 +5,5 @@ export class Resolver {

}
define(functionKey, cb) {
if (!cb || typeof cb !== 'function') {
throw new Error(`Resolver definition '${functionKey}' callback must be a 'function'. Received '${typeof cb}'.`);
define(functionKey, callback) {
if (!callback || typeof callback !== 'function') {
throw new Error(`Resolver definition '${functionKey}' callback must be a 'function'. Received '${typeof callback}'.`);
}

@@ -13,3 +13,3 @@ if (functionKey in this.functions) {

}
this.functions[functionKey] = cb;
this.functions[functionKey] = callback;
return this;

@@ -16,0 +16,0 @@ }

{
"name": "@giteeteam/apps-api",
"version": "0.2.0",
"version": "0.3.0",
"description": "Giteeteam Apps API",

@@ -16,10 +16,2 @@ "keywords": [

],
"bugs": {
"url": "https://github.com/moriahq/proxima/issues"
},
"homepage": "https://github.com/moriahq/proxima/tree/develop/giteeteam/packages/giteeteam/packages/apps-api",
"repository": {
"type": "git",
"url": "git+https://github.com/moriahq/proxima.git"
},
"scripts": {

@@ -26,0 +18,0 @@ "copy-dts": "copyfiles -u 1 \"src/**/*.d.ts\" dist",

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