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

@rsdoctor/types

Package Overview
Dependencies
Maintainers
2
Versions
73
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rsdoctor/types - npm Package Compare versions

Comparing version 1.0.0-alpha.0 to 1.0.0-alpha.1

1

dist/client.d.ts

@@ -6,2 +6,3 @@ export declare enum RsdoctorClientUrlQuery {

export declare enum RsdoctorClientRoutes {
Home = "/",
Overall = "/overall",

@@ -8,0 +9,0 @@ WebpackLoaderOverall = "/webpack/loaders/overall",

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

(function (RsdoctorClientRoutes) {
RsdoctorClientRoutes["Home"] = "/";
RsdoctorClientRoutes["Overall"] = "/overall";

@@ -13,0 +14,0 @@ RsdoctorClientRoutes["WebpackLoaderOverall"] = "/webpack/loaders/overall";

8

dist/sdk/chunk.d.ts

@@ -60,8 +60,4 @@ import type { NonFunctionProperties } from '../common';

getChunkById(id: string): ChunkInstance | undefined;
/** Get Chunk by Module */
getChunkByModule(module: ModuleInstance): ChunkInstance | undefined;
/** Get the file according to the path */
getAssetByPath(path: string): AssetInstance | undefined;
/** Get files based on Chunk */
getAssetsByChunk(chunk: ChunkInstance): AssetInstance[] | undefined;
/**

@@ -72,2 +68,6 @@ * get the list of entry points

/**
* get the entry point by id
*/
getEntryPointByName(name: string): EntryPointInstance | undefined;
/**
* add the entry point instance to chunk graph

@@ -74,0 +74,0 @@ */

@@ -108,2 +108,3 @@ import type { Configuration } from 'webpack';

brief?: BriefConfig;
compressData?: boolean;
};

@@ -110,0 +111,0 @@ /**

@@ -82,2 +82,4 @@ import type { Program } from 'estree';

readonly id: number;
/** webpack render identifier */
readonly renderId?: string;
/** webpack identifier */

@@ -91,2 +93,3 @@ readonly webpackId: string;

readonly rootModule?: ModuleInstance;
readonly layer?: string;
/**

@@ -117,3 +120,3 @@ * Preference to source location

setSource(source: Partial<ModuleSource>): void;
getSource(): ModuleSource;
getSource(type?: ToDataType): ModuleSource;
/**Set code AST after transform */

@@ -209,2 +212,3 @@ setProgram(program: Program): void;

isSameWithoutStatements(dep: DependencyInstance): boolean;
setBuildMeta(data: DependencyBuildMeta): void;
}

@@ -266,3 +270,3 @@ export type ModuleGraphToDataArgs = {

/** Generate data */
toCodeData(): ModuleCodeData;
toCodeData(type?: ToDataType): ModuleCodeData;
}

@@ -269,0 +273,0 @@ export interface ModuleData extends Omit<NonFunctionProperties<ModuleInstance>, 'rootModule' | 'isEntry' | 'concatenationModules' | 'meta'> {

@@ -14,3 +14,3 @@ import { ServerResponse } from 'http';

import { RsdoctorManifestMappingKeys } from '../../../manifest';
import { SDK } from '@/index';
import { SDK } from '../../../index';
export * from './pagination';

@@ -103,4 +103,4 @@ export declare enum API {

[API.GetModuleCodeByModuleIds]: SDK.ModuleCodeData;
[API.GetAllModuleGraph]: SDK.ModuleGraphData;
[API.GetAllChunkGraph]: SDK.ChunkGraphData;
[API.GetAllModuleGraph]: SDK.ModuleData[];
[API.GetAllChunkGraph]: SDK.ChunkData[];
}

@@ -107,0 +107,0 @@ export interface RequestBodyTypes extends LoaderAPIRequestBody, ResolverAPIRequestBody, PluginAPIRequestBody, GraphAPIRequestBody, AlertsAPIRequestBody, ProjectAPIRequestBody {

@@ -172,2 +172,3 @@ import type { SourceRange, ModuleInstance } from './module';

toData(): StatementData;
getLineCode(): string | undefined;
}

@@ -174,0 +175,0 @@ /** statement data */

{
"name": "@rsdoctor/types",
"version": "1.0.0-alpha.0",
"version": "1.0.0-alpha.1",
"repository": {

@@ -5,0 +5,0 @@ "type": "git",

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

# Rsdoctor Types
# Rsdoctor types

@@ -3,0 +3,0 @@ This package is the Rsdoctor‘s types package.

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

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