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

postcss-exclude-files

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postcss-exclude-files - npm Package Compare versions

Comparing version 1.0.11 to 1.0.12

20

__tests__/index.spec.js

@@ -14,3 +14,3 @@ import excludeFiles from '../src/'

describe('when test-plugin used without exclude files wrapper', () => {
test('test-plugin can be function and produce prefixed css', () => {
it('test-plugin can be function and produce prefixed css', () => {
const result = postcss([testPlugin()]).process(css)

@@ -21,3 +21,3 @@

test('test-plugin can be initializer and produce prefixed css', () => {
it('test-plugin can be initializer and produce prefixed css', () => {
const result = postcss([testPlugin]).process(css)

@@ -28,3 +28,3 @@

test('test-plugin can processing without postcss and produce prefixed css', () => {
it('test-plugin can processing without postcss and produce prefixed css', () => {
const result = testPlugin.process(css)

@@ -38,3 +38,3 @@

describe('when other plugins wrapped by exclude files plugin with invalud options', () => {
test('filter parameter must be a glob string or an array of glob strings', () => {
it('filter parameter must be a glob string or an array of glob strings', () => {
const invalidFilters = [NaN, null, undefined, 0, 1, true, false, {}]

@@ -52,3 +52,3 @@

test('plugins parameter must be (function | arrray | object)', () => {
it('plugins parameter must be (function | arrray | object)', () => {
const invalidPlugins = [NaN, null, undefined, 0, 1, true, false, 'bad plugin']

@@ -69,3 +69,3 @@

describe('when other pligins wrapped by exclude files plugin and css pass to processing', () => {
test('plugin can be a function', () => {
it('plugin can be a function', () => {
expect.hasAssertions()

@@ -83,3 +83,3 @@

test('plugin can be a initializer', () => {
it('plugin can be a initializer', () => {
expect.hasAssertions()

@@ -97,3 +97,3 @@

test('plugin can be a postcss bundle and initializer', () => {
it('plugin can be a postcss bundle and initializer', () => {
expect.hasAssertions()

@@ -113,3 +113,3 @@

test('plugin can be a postcss bundle and function', () => {
it('plugin can be a postcss bundle and function', () => {
expect.hasAssertions()

@@ -132,3 +132,3 @@

describe('when other pligins wrapped by exclude files plugin and css excluded from processing', () => {
test('wrapped plugins will not run', () => {
it('wrapped plugins will not run', () => {
expect.hasAssertions()

@@ -135,0 +135,0 @@

{
"name": "postcss-exclude-files",
"version": "1.0.11",
"version": "1.0.12",
"description": "postcss plugin for exclude files from processing",

@@ -5,0 +5,0 @@ "main": "./dist/index.js",

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