Socket
Socket
Sign inDemoInstall

@vue/compiler-sfc

Package Overview
Dependencies
Maintainers
1
Versions
274
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vue/compiler-sfc - npm Package Compare versions

Comparing version 3.0.5 to 3.0.6

LICENSE

23

dist/compiler-sfc.d.ts

@@ -48,2 +48,15 @@ import { BindingMetadata } from '@vue/compiler-core';

export declare function compileTemplate(options: SFCTemplateCompileOptions): SFCTemplateCompileResults;
/**
* Aligns with postcss-modules
* https://github.com/css-modules/postcss-modules
*/
declare interface CSSModulesOptions {
scopeBehaviour?: 'global' | 'local';
generateScopedName?: string | ((name: string, filename: string, css: string) => string);
hashPrefix?: string;
localsConvention?: 'camelCase' | 'camelCaseOnly' | 'dashes' | 'dashesOnly';
exportGlobals?: boolean;
globalModulePaths?: string[];
}
export { generateCodeFrame }

@@ -64,9 +77,3 @@

modules?: boolean;
modulesOptions?: {
scopeBehaviour?: 'global' | 'local';
globalModulePaths?: string[];
generateScopedName?: string | ((name: string, filename: string, css: string) => string);
hashPrefix?: string;
localsConvention?: 'camelCase' | 'camelCaseOnly' | 'dashes' | 'dashesOnly';
};
modulesOptions?: CSSModulesOptions;
}

@@ -175,3 +182,3 @@

map: RawSourceMap | undefined;
rawResult: LazyResult | Result | undefined;
rawResult: Result | LazyResult | undefined;
errors: Error[];

@@ -178,0 +185,0 @@ modules?: Record<string, string>;

{
"name": "@vue/compiler-sfc",
"version": "3.0.5",
"version": "3.0.6",
"description": "@vue/compiler-sfc",

@@ -34,3 +34,3 @@ "main": "dist/compiler-sfc.cjs.js",

"peerDependencies": {
"vue": "3.0.5"
"vue": "3.0.6"
},

@@ -40,6 +40,6 @@ "dependencies": {

"@babel/types": "^7.12.0",
"@vue/compiler-core": "3.0.5",
"@vue/compiler-dom": "3.0.5",
"@vue/compiler-ssr": "3.0.5",
"@vue/shared": "3.0.5",
"@vue/compiler-core": "3.0.6",
"@vue/compiler-dom": "3.0.6",
"@vue/compiler-ssr": "3.0.6",
"@vue/shared": "3.0.6",
"consolidate": "^0.16.0",

@@ -51,4 +51,4 @@ "estree-walker": "^2.0.1",

"merge-source-map": "^1.1.0",
"postcss": "^7.0.32",
"postcss-modules": "^3.2.2",
"postcss": "^8.1.10",
"postcss-modules": "^4.0.0",
"postcss-selector-parser": "^6.0.4",

@@ -55,0 +55,0 @@ "source-map": "^0.6.1"

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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