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

@marko/compiler

Package Overview
Dependencies
Maintainers
6
Versions
317
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@marko/compiler - npm Package Compare versions

Comparing version 5.31.1 to 5.31.2

5

config.d.ts

@@ -13,3 +13,6 @@ declare const Config: {

translator?: any;
fileSystem?: typeof import("fs");
fileSystem?: Pick<
typeof import("fs"),
"statSync" | "readFileSync" | "readdirSync"
>;
modules?: "esm" | "cjs";

@@ -16,0 +19,0 @@ resolveVirtualDependency?:

11

index.d.ts

@@ -6,3 +6,4 @@ import { SourceMap } from "magic-string";

export type Config = typeof import("./config");
type _Config = typeof import("./config");
export interface Config extends _Config {}

@@ -20,3 +21,3 @@ type Dep = {

export type MarkoMeta = {
export interface MarkoMeta {
id: string;

@@ -28,5 +29,5 @@ component?: string;

diagnostics: Diagnostic[];
};
}
export type CompileResult = {
export interface CompileResult {
ast: types.File;

@@ -36,3 +37,3 @@ code: string;

meta: MarkoMeta;
};
}

@@ -39,0 +40,0 @@ export function configure(config: Config): void;

{
"name": "@marko/compiler",
"description": "Marko template to JS compiler.",
"version": "5.31.1",
"version": "5.31.2",
"author": "Dylan Piercey <dpiercey@ebay.com>",

@@ -18,3 +18,3 @@ "bugs": "https://github.com/marko-js/marko/issues/new?template=Bug_report.md",

"@babel/types": "^7.16.0",
"@marko/babel-utils": "^6.2.0",
"@marko/babel-utils": "^6.2.1",
"complain": "^1.6.0",

@@ -21,0 +21,0 @@ "he": "^1.2.0",

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