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

@trapi/metadata

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@trapi/metadata - npm Package Compare versions

Comparing version 1.0.0-alpha.7 to 1.0.0-alpha.8

dist/utils/array.d.ts

0

./dist/index.js

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import type { CacheData, CacheOptionsInput } from './type';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ export * from './driver';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import type { Metadata } from '../generator';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import type { CacheOptions, CacheOptionsInput } from './type';

@@ -0,0 +0,0 @@ "use strict";

export * from './type';
//# sourceMappingURL=index.d.ts.map

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import type { CacheOptions } from '../cache';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ export declare enum DecoratorID {

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ export * from './constants';

@@ -0,0 +0,0 @@ "use strict";

export * from './type';
export * from './utils';
//# sourceMappingURL=index.d.ts.map

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import type { DecoratorConfig } from '../type';

@@ -0,0 +0,0 @@ "use strict";

import type { PresetSchema } from '../type';
export declare function isPresetSchema(input: unknown): input is PresetSchema;
//# sourceMappingURL=check.d.ts.map

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ export * from './check';

@@ -0,0 +0,0 @@ "use strict";

import type { DecoratorConfig } from '../../type';
export declare function loadPreset(input: string): Promise<DecoratorConfig[]>;
//# sourceMappingURL=load.d.ts.map

@@ -0,0 +0,0 @@ "use strict";

export declare function generatePresetLookupPaths(input: string): string[];
//# sourceMappingURL=normalize.d.ts.map

@@ -0,0 +0,0 @@ "use strict";

export * from './module';
export * from './utils';
//# sourceMappingURL=index.d.ts.map

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import type { DecoratorConfig, DecoratorID, DecoratorProperties, DecoratorPropertyConfig } from '../index';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import type { NodeDecorator } from '../../utils';

@@ -0,0 +0,0 @@ "use strict";

export * from './module';
export * from './type';
//# sourceMappingURL=index.d.ts.map

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import type { Node } from 'typescript';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import type { DecoratorID } from '../constants';

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=type.js.map

@@ -0,0 +0,0 @@ import type { DecoratorID } from '../constants';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ export * from './class';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import type { DecoratorID } from '../constants';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import type { DecoratorID } from '../constants';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import type { DecoratorID } from '../constants';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import type { DecoratorID } from '../constants';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import type { DecoratorID } from '../constants';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ export type DecoratorPropertyValueSchema<T> = {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=type.js.map

@@ -0,0 +0,0 @@ import type { DecoratorID } from './constants';

@@ -0,0 +0,0 @@ "use strict";

export declare class BaseError extends Error {
}
//# sourceMappingURL=base.d.ts.map

@@ -0,0 +0,0 @@ "use strict";

export * from './base';
//# sourceMappingURL=index.d.ts.map

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import type { Node } from 'typescript';

2

dist/generator/abstract.js

@@ -49,3 +49,3 @@ "use strict";

const scopes = representation.get('value');
if (Array.isArray(scopes)) {
if ((0, utils_1.isStringArray)(scopes)) {
securities.push({

@@ -52,0 +52,0 @@ [name]: scopes,

export * from './module';
export * from './type';
//# sourceMappingURL=index.d.ts.map

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import type { ClassDeclaration } from 'typescript';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import type { Response, Security } from '../type';

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=type.js.map

@@ -0,0 +0,0 @@ export * from './abstract';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ export * from './module';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import type { Node, TypeChecker } from 'typescript';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import type { CompilerOptions } from 'typescript';

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=type.js.map
import type { Metadata } from './type';
export declare function isMetadata(input: unknown): input is Metadata;
//# sourceMappingURL=utils.d.ts.map

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ export declare enum MethodName {

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ export * from './constants';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import type { MethodDeclaration } from 'typescript';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import type { BaseType, Extension } from '../../resolver';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ export declare enum ParameterSource {

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import type { Node } from 'typescript';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ export * from './constants';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import * as ts from 'typescript';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import type { Validator } from '../../utils';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import type { CompilerOptions } from 'typescript';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ export * from './cache';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import type { Options } from './config';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ export declare enum TypeName {

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import type { Node, TypeNode } from 'typescript';

@@ -0,0 +0,0 @@ "use strict";

export * from './module';
export * from './type';
//# sourceMappingURL=index.d.ts.map

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import type { Node } from 'typescript';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ export interface Extension {

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ export * from './constants';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import * as ts from 'typescript';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import type { Validator } from '../utils';

@@ -0,0 +0,0 @@ "use strict";

export type VariableType = 'string' | 'number' | 'bigint' | 'boolean' | 'symbol' | 'undefined' | 'object' | 'function';
//# sourceMappingURL=type.d.ts.map

@@ -0,0 +0,0 @@ "use strict";

@@ -0,1 +1,2 @@

export * from './array';
export * from './initializer';

@@ -2,0 +3,0 @@ export * from './js-doc';

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

Object.defineProperty(exports, "__esModule", { value: true });
__exportStar(require("./array"), exports);
__exportStar(require("./initializer"), exports);

@@ -25,0 +26,0 @@ __exportStar(require("./js-doc"), exports);

@@ -0,0 +0,0 @@ import * as ts from 'typescript';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ export declare enum JSDocTagName {

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ export * from './constants';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import type { JSDoc, JSDocTag, Node } from 'typescript';

@@ -0,0 +0,0 @@ "use strict";

import type { JSDocComment, NodeArray } from 'typescript';
export declare function transformJSDocComment(input?: string | NodeArray<JSDocComment>): string | undefined;
//# sourceMappingURL=utils.d.ts.map

@@ -0,0 +0,0 @@ "use strict";

export * from './module';
export * from './type';
//# sourceMappingURL=index.d.ts.map

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import type { Node } from 'typescript';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ export interface NodeDecorator {

@@ -0,0 +0,0 @@ "use strict";

export declare function hasOwnProperty<X extends {}, Y extends PropertyKey>(obj: X, prop: Y): obj is X & Record<Y, unknown>;
//# sourceMappingURL=object.d.ts.map

@@ -0,0 +0,0 @@ "use strict";

export declare function normalizePath(str: string): string;
//# sourceMappingURL=path-normalize.d.ts.map

@@ -0,0 +0,0 @@ "use strict";

import type { EntryPoint } from '../config';
export declare function scanSourceFiles(input: EntryPoint): Promise<string[]>;
//# sourceMappingURL=source-files.d.ts.map

@@ -0,0 +0,0 @@ "use strict";

export * from './module';
export * from './type';
//# sourceMappingURL=index.d.ts.map

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import type { TsConfig, TsconfigLoadContext } from './type';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import type { CompilerOptions } from 'typescript';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ export declare enum ValidatorName {

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ export * from './constants';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import type { ParameterDeclaration, PropertyDeclaration, PropertySignature, TypeAliasDeclaration } from 'typescript';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ export type Validator = {

@@ -0,0 +0,0 @@ "use strict";

{
"name": "@trapi/metadata",
"version": "1.0.0-alpha.7",
"version": "1.0.0-alpha.8",
"description": "Generate REST-API metadata scheme from TypeScript Decorators.",

@@ -45,11 +45,10 @@ "main": "./dist/index.js",

"devDependencies": {
"jsonata": "^2.0.2",
"typescript": "^4.9.5"
"jsonata": "^2.0.2"
},
"dependencies": {
"locter": "^1.0.9",
"locter": "^1.0.10",
"minimatch": "^7.4.2"
},
"peerDependencies": {
"typescript": "4.7.x || 4.8.x || 4.9.x"
"typescript": "4.7.x || 4.8.x || 4.9.x || 5.x"
},

@@ -59,3 +58,3 @@ "publishConfig": {

},
"gitHead": "6d462ec6a345cb45427d3a8bb0d108b540d722f2"
"gitHead": "9629f2cf38e8fe548b8f6ff5f1a9571cb2099af8"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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