Socket
Socket
Sign inDemoInstall

@vue/component-compiler-utils

Package Overview
Dependencies
20
Maintainers
19
Versions
28
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.2.0 to 3.2.1

third_party/postcss/CHANGELOG.md

9

CHANGELOG.md

@@ -0,1 +1,10 @@

## [3.2.1](https://github.com/vuejs/component-compiler-utils/compare/v3.2.0...v3.2.1) (2021-06-09)
### Bug Fixes
* patch postcss 7 and bundle it in the published npm package ([#111](https://github.com/vuejs/component-compiler-utils/issues/111)) ([cab504f](https://github.com/vuejs/component-compiler-utils/commit/cab504fb9d900cdef078358870e5ee20d0bc7ec2))
# [3.2.0](https://github.com/vuejs/component-compiler-utils/compare/v3.1.2...v3.2.0) (2020-07-22)

@@ -2,0 +11,0 @@

2

dist/compileStyle.d.ts

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

import { LazyResult } from 'postcss';
import { LazyResult } from "../third_party/postcss/lib/postcss";
export interface StyleCompileOptions {

@@ -3,0 +3,0 @@ source: string;

@@ -7,3 +7,3 @@ "use strict";

exports.doCompileStyle = exports.compileStyleAsync = exports.compileStyle = void 0;
const postcss = require('postcss');
const postcss = require("../third_party/postcss/lib/postcss");
const trim_1 = __importDefault(require("./stylePlugins/trim"));

@@ -10,0 +10,0 @@ const scoped_1 = __importDefault(require("./stylePlugins/scoped"));

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

import { VueTemplateCompiler, VueTemplateCompilerOptions, ErrorWithRange } from './types';
import { AssetURLOptions, TransformAssetUrlsOptions } from './templateCompilerModules/assetUrl';
import { VueTemplateCompiler, VueTemplateCompilerOptions, ErrorWithRange } from "./types";
import { AssetURLOptions, TransformAssetUrlsOptions } from "./templateCompilerModules/assetUrl";
export interface TemplateCompileOptions {

@@ -4,0 +4,0 @@ source: string;

@@ -1,5 +0,5 @@

import { parse, SFCBlock, SFCCustomBlock, SFCDescriptor } from './parse';
import { compileTemplate, TemplateCompileOptions, TemplateCompileResult } from './compileTemplate';
import { compileStyle, compileStyleAsync, StyleCompileOptions, StyleCompileResults } from './compileStyle';
import { parse, SFCBlock, SFCCustomBlock, SFCDescriptor } from "./parse";
import { compileTemplate, TemplateCompileOptions, TemplateCompileResult } from "./compileTemplate";
import { compileStyle, compileStyleAsync, StyleCompileOptions, StyleCompileResults } from "./compileStyle";
export { parse, compileTemplate, compileStyle, compileStyleAsync };
export { SFCBlock, SFCCustomBlock, SFCDescriptor, TemplateCompileOptions, TemplateCompileResult, StyleCompileOptions, StyleCompileResults };

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

import { RawSourceMap, VueTemplateCompiler, VueTemplateCompilerParseOptions } from './types';
import { RawSourceMap, VueTemplateCompiler, VueTemplateCompilerParseOptions } from "./types";
export interface ParseOptions {

@@ -3,0 +3,0 @@ source: string;

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

import * as postcss from 'postcss';
import * as postcss from "../../third_party/postcss/lib/postcss";
declare const _default: postcss.Plugin<any>;
export default _default;

@@ -22,3 +22,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
const postcss = __importStar(require("postcss"));
const postcss = __importStar(require("../../third_party/postcss/lib/postcss"));
// postcss-selector-parser does have typings but it's problematic to work with.

@@ -25,0 +25,0 @@ const selectorParser = require('postcss-selector-parser');

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

import * as postcss from 'postcss';
import * as postcss from "../../third_party/postcss/lib/postcss";
declare const _default: postcss.Plugin<unknown>;
export default _default;

@@ -22,3 +22,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
const postcss = __importStar(require("postcss"));
const postcss = __importStar(require("../../third_party/postcss/lib/postcss"));
exports.default = postcss.plugin('trim', () => (css) => {

@@ -25,0 +25,0 @@ css.walk(({ type, raws }) => {

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

import { ASTNode } from './utils';
import { ASTNode } from "./utils";
export interface AssetURLOptions {

@@ -3,0 +3,0 @@ [name: string]: string | string[];

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

import { ASTNode } from './utils';
import { TransformAssetUrlsOptions } from './assetUrl';
import { ASTNode } from "./utils";
import { TransformAssetUrlsOptions } from "./assetUrl";
declare const _default: (transformAssetUrlsOptions?: TransformAssetUrlsOptions | undefined) => {

@@ -4,0 +4,0 @@ postTransformNode: (node: ASTNode) => void;

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

import { TransformAssetUrlsOptions } from './assetUrl';
import { TransformAssetUrlsOptions } from "./assetUrl";
export interface Attr {

@@ -3,0 +3,0 @@ name: string;

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

import { SFCDescriptor } from './parse';
import { SFCDescriptor } from "./parse";
export interface StartOfSourceMap {

@@ -3,0 +3,0 @@ file?: string;

{
"name": "@vue/component-compiler-utils",
"version": "3.2.0",
"version": "3.2.1",
"description": "Lower level utilities for compiling Vue single file components",

@@ -9,8 +9,13 @@ "main": "dist/index.js",

"dist",
"lib"
"lib",
"third_party"
],
"scripts": {
"lint": "prettier --write \"{lib,test}/**/*.ts\"",
"pretest": "yarn clean && yarn patch-postcss",
"test": "prettier --list-different \"{lib,test}/**/*.ts\" && jest --coverage",
"build": "rm -rf dist && tsc",
"clean": "rm -rf dist third_party",
"patch-postcss": "patch-package && mkdir -p third_party/postcss && cp -R node_modules/postcss third_party/",
"prebuild": "yarn clean && yarn patch-postcss",
"build": "ttsc",
"prepublishOnly": "yarn build && conventional-changelog -p angular -r 2 -i CHANGELOG.md -s"

@@ -50,2 +55,4 @@ },

"lint-staged": "^8.1.1",
"patch-package": "^6.4.7",
"postcss": "^7.0.35",
"pug": "^2.0.3",

@@ -55,3 +62,5 @@ "sass": "^1.17.3",

"ts-jest": "^24.0.0",
"ttypescript": "^1.5.12",
"typescript": "^3.3.0",
"typescript-transform-paths": "^2.2.4",
"vue": "^2.6.6",

@@ -66,3 +75,2 @@ "vue-template-compiler": "^2.6.6",

"merge-source-map": "^1.1.0",
"postcss": "^7.0.14",
"postcss-selector-parser": "^6.0.2",

@@ -69,0 +77,0 @@ "source-map": "~0.6.1",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc