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

@nickkaramoff/taskr-postcss

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nickkaramoff/taskr-postcss - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

10

index.js
'use strict';
const res = require('path').resolve;
const postcss = require('postcss');

@@ -8,15 +7,10 @@ const postcssrc = require('postcss-load-config');

const base = { plugins:[], options:{} };
const filenames = ['.postcssrc', '.postcssrc.js', 'postcss.config.js', 'package.json'];
const isString = any => typeof any === 'string';
const isObject = any => !!any && typeof any === 'object' && !Array.isArray(any);
const isEmptyObj = any => isObject(any) && Object.keys(any).length === 0;
module.exports = function (task, utils) {
const rootDir = str => res(task.root, str);
module.exports = function (task) {
const setError = msg => task.emit('plugin_error', { plugin:'@nickkaramoff/taskr-postcss', error:msg });
const getConfig = arr => Promise.all(arr.map(utils.find)).then(res => res.filter(Boolean)).then(res => res[0]);
task.plugin('postcss', { every:false }, function * (files, opts) {
let config, isJSON = false;
let config = false;

@@ -23,0 +17,0 @@ try {

2

package.json
{
"name": "@nickkaramoff/taskr-postcss",
"version": "2.0.0",
"version": "2.0.1",
"description": "PostCSS plugin for Taskr",

@@ -5,0 +5,0 @@ "repository": "NickKaramoff/taskr-postcss",

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