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

@master/css-compiler

Package Overview
Dependencies
Maintainers
2
Versions
82
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@master/css-compiler - npm Package Compare versions

Comparing version 2.0.0-beta.17 to 2.0.0-beta.18

8

dist/compiler.d.ts

@@ -1,12 +0,12 @@

import { MasterCSSCompilerOptions, MasterCSSCompilerSource } from './options';
import { CompilerOptions, CompilerSource } from './options';
import MasterCSS from '@master/css';
export default class MasterCSSCompiler {
options?: MasterCSSCompilerOptions;
constructor(options?: MasterCSSCompilerOptions);
options?: CompilerOptions;
constructor(options?: CompilerOptions);
initializing: Promise<any>;
css: MasterCSS;
extractions: Set<string>;
extract({ name, content }: MasterCSSCompilerSource): string[];
extract({ name, content }: CompilerSource): string[];
insert(extractions: any): void;
log(name: any, content: any): void;
}
import MasterCSS from '@master/css';
import type { MasterCSSCompilerSource } from './index';
export default function extract({ content }: MasterCSSCompilerSource, masterCss: MasterCSS): string[];
import type { CompilerSource } from './index';
export default function extract({ content }: CompilerSource, masterCss: MasterCSS): string[];
import MasterCSS from '@master/css';
declare const defaultOptions: MasterCSSCompilerOptions;
export declare type MasterCSSCompilerSource = {
declare const options: CompilerOptions;
export declare type CompilerSource = {
name: string;
content: string;
};
export interface MasterCSSCompilerOptions {
export interface CompilerOptions {
output?: {

@@ -12,7 +12,7 @@ name: string;

};
accept?: (source: MasterCSSCompilerSource) => boolean;
extract?: (source: MasterCSSCompilerSource, masterCss: MasterCSS) => string[];
accept?: (source: CompilerSource) => boolean;
extract?: (source: CompilerSource, css: MasterCSS) => string[];
config?: string;
debug?: string[] | boolean;
}
export default defaultOptions;
export default options;

@@ -1,3 +0,3 @@

import type { MasterCSSCompilerOptions } from './options';
import type { CompilerOptions } from './options';
import type { Plugin } from 'vite';
export default function (options?: MasterCSSCompilerOptions): Promise<Plugin>;
export default function (options?: CompilerOptions): Promise<Plugin>;

@@ -141,3 +141,3 @@ {

"peerDependencies": {
"@master/css": "^2.0.0-beta.22"
"@master/css": "^2.0.0-beta.37"
},

@@ -147,3 +147,3 @@ "dependencies": {

},
"version": "2.0.0-beta.17"
"version": "2.0.0-beta.18"
}

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