@stencil/postcss
Advanced tools
Comparing version 0.1.0 to 1.0.0
@@ -0,40 +1,9 @@ | ||
export * from '@stencil/core/internal'; | ||
export interface PluginOptions { | ||
injectGlobalPaths?: string[]; | ||
plugins?: Array<any>; | ||
plugins?: any[]; | ||
} | ||
export interface PluginTransformResults { | ||
code?: string; | ||
id?: string; | ||
} | ||
export interface RendererOptions { | ||
data: string; | ||
plugins: Array<any>; | ||
plugins: any[]; | ||
} | ||
export interface PluginCtx { | ||
config: { | ||
rootDir?: string; | ||
srcDir?: string; | ||
}; | ||
fs: any; | ||
diagnostics: Diagnostic[]; | ||
} | ||
export interface Diagnostic { | ||
level: 'error' | 'warn' | 'info' | 'log' | 'debug'; | ||
type: 'typescript' | 'bundling' | 'build' | 'runtime' | 'hydrate' | 'css'; | ||
header?: string; | ||
language?: string; | ||
messageText: string; | ||
code?: string; | ||
absFilePath?: string; | ||
relFilePath?: string; | ||
lineNumber?: number; | ||
columnNumber?: number; | ||
lines?: PrintLine[]; | ||
} | ||
export interface PrintLine { | ||
lineIndex: number; | ||
lineNumber: number; | ||
text?: string; | ||
errorCharStart: number; | ||
errorLength?: number; | ||
} |
@@ -7,4 +7,4 @@ 'use strict'; | ||
var postCss = _interopDefault(require('postcss')); | ||
var path = require('path'); | ||
var postCss = _interopDefault(require('postcss')); | ||
@@ -11,0 +11,0 @@ function loadDiagnostic(context, postcssError, filePath) { |
@@ -0,3 +1,3 @@ | ||
import postCss from 'postcss'; | ||
import { isAbsolute, join } from 'path'; | ||
import postCss from 'postcss'; | ||
@@ -4,0 +4,0 @@ function loadDiagnostic(context, postcssError, filePath) { |
{ | ||
"name": "@stencil/postcss", | ||
"version": "0.1.0", | ||
"version": "1.0.0", | ||
"license": "MIT", | ||
@@ -23,14 +23,18 @@ "main": "dist/index.cjs.js", | ||
"dependencies": { | ||
"postcss": "6.0.20" | ||
"postcss": "~7.0.17" | ||
}, | ||
"peerDependencies": { | ||
"@stencil/core": "^1.0.2" | ||
}, | ||
"devDependencies": { | ||
"@types/jest": "^22.2.0", | ||
"@types/node": "^8.5.1", | ||
"jest": "^22.4.2", | ||
"np": "^2.20.1", | ||
"@stencil/core": "^1.0.2", | ||
"@types/jest": "^24.0.13", | ||
"@types/node": "^12.0.7", | ||
"jest": "^24.8.0", | ||
"np": "^5.0.3", | ||
"rimraf": "^2.6.2", | ||
"rollup": "^0.57.1", | ||
"rollup": "^1.14.1", | ||
"tslint": "^5.9.1", | ||
"tslint-ionic-rules": "0.0.14", | ||
"typescript": "^2.7.2" | ||
"tslint-ionic-rules": "0.0.21", | ||
"typescript": "^3.5.1" | ||
}, | ||
@@ -37,0 +41,0 @@ "repository": { |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
0
28276
2
10
548
1
+ Added@stencil/core@1.17.4(transitive)
+ Addedpicocolors@0.2.1(transitive)
+ Addedpostcss@7.0.39(transitive)
+ Addedtypescript@3.9.7(transitive)
- Removedansi-styles@3.2.1(transitive)
- Removedchalk@2.4.2(transitive)
- Removedcolor-convert@1.9.3(transitive)
- Removedcolor-name@1.1.3(transitive)
- Removedescape-string-regexp@1.0.5(transitive)
- Removedhas-flag@3.0.0(transitive)
- Removedpostcss@6.0.20(transitive)
- Removedsupports-color@5.5.0(transitive)
Updatedpostcss@~7.0.17