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

@plasmicapp/loader-core

Package Overview
Dependencies
Maintainers
1
Versions
139
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@plasmicapp/loader-core - npm Package Compare versions

Comparing version 1.0.119 to 1.0.120

118

dist/index.d.ts

@@ -1,6 +0,112 @@

export type { AssetModule, CodeModule, ComponentMeta, ExperimentSlice, FontMeta, GlobalGroupMeta, LoaderBundleCache, LoaderBundleOutput, LoaderHtmlOutput, PageMeta, PageMetadata, ProjectMeta, SegmentSlice, Split, } from "@plasmicapp/loader-fetcher";
export { Api, PlasmicModulesFetcher } from "@plasmicapp/loader-fetcher";
export { getBundleSubset } from "./bundles";
export { Registry } from "./registry";
export { PlasmicTracker } from "./tracker";
export type { TrackRenderOptions } from "./tracker";
import { Api } from '@plasmicapp/loader-fetcher';
import { AssetModule } from '@plasmicapp/loader-fetcher';
import { CodeModule } from '@plasmicapp/loader-fetcher';
import { ComponentMeta } from '@plasmicapp/loader-fetcher';
import { ExperimentSlice } from '@plasmicapp/loader-fetcher';
import { FontMeta } from '@plasmicapp/loader-fetcher';
import { GlobalGroupMeta } from '@plasmicapp/loader-fetcher';
import { LoaderBundleCache } from '@plasmicapp/loader-fetcher';
import { LoaderBundleOutput } from '@plasmicapp/loader-fetcher';
import { LoaderHtmlOutput } from '@plasmicapp/loader-fetcher';
import { PageMeta } from '@plasmicapp/loader-fetcher';
import { PageMetadata } from '@plasmicapp/loader-fetcher';
import { PlasmicModulesFetcher } from '@plasmicapp/loader-fetcher';
import { ProjectMeta } from '@plasmicapp/loader-fetcher';
import { SegmentSlice } from '@plasmicapp/loader-fetcher';
import { Split } from '@plasmicapp/loader-fetcher';
export { Api }
export { AssetModule }
export { CodeModule }
export { ComponentMeta }
export { ExperimentSlice }
export { FontMeta }
/**
* Get sub-bundle including only modules that are reachable from `names`.
* @param opts.target by default, will target the browser modules. Can request
* the server modules instead.
*/
export declare function getBundleSubset(bundle: LoaderBundleOutput, names: string[], opts?: {
target?: 'browser' | 'server';
}): LoaderBundleOutput;
export { GlobalGroupMeta }
export { LoaderBundleCache }
export { LoaderBundleOutput }
export { LoaderHtmlOutput }
export { PageMeta }
export { PageMetadata }
export { PlasmicModulesFetcher }
export declare class PlasmicTracker {
private opts;
private eventQueue;
private fetch;
constructor(opts: TrackerOptions);
trackRender(opts?: TrackRenderOptions): void;
trackFetch(): void;
trackConversion(value?: number): void;
private getProperties;
private enqueue;
private getContextMeta;
private sendEvents;
}
export { ProjectMeta }
export declare class Registry {
private loadedModules;
private registeredModules;
private modules;
constructor();
register(name: string, module: any): void;
isEmpty(): boolean;
clear(): void;
getRegisteredModule(name: string): any;
hasModule(name: string, opts?: {
forceOriginal?: boolean;
}): boolean;
load(name: string, opts?: {
forceOriginal?: boolean;
}): any;
updateModules(bundle: LoaderBundleOutput): void;
}
export { SegmentSlice }
export { Split }
declare interface TrackerOptions {
projectIds: string[];
host?: string;
platform?: string;
preview?: boolean;
nativeFetch?: boolean;
}
declare interface TrackerRenderProperties {
rootProjectId?: string;
rootComponentId?: string;
rootComponentName?: string;
teamIds: string[];
projectIds: string[];
}
export declare interface TrackRenderOptions {
renderCtx?: TrackerRenderProperties;
variation?: Record<string, string>;
}
export { }

6

package.json
{
"version": "1.0.119",
"version": "1.0.120",
"license": "MIT",

@@ -44,5 +44,5 @@ "types": "./dist/index.d.ts",

"@plasmicapp/isomorphic-unfetch": "1.0.3",
"@plasmicapp/loader-fetcher": "1.0.41"
"@plasmicapp/loader-fetcher": "1.0.42"
},
"gitHead": "6f034859cd2316dfed75d01006abbc002149374c"
"gitHead": "48a2877c3dc093d101508fcdde2fd213055fdab9"
}

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