Socket
Socket
Sign inDemoInstall

postcss-property-lookup

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postcss-property-lookup - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

.d.ts

6

build/index.js

@@ -14,3 +14,3 @@ 'use strict';

var plugin = 'postcss-property-lookup';
var lookupPattern = /@([a-z-]+)(\s?)/g;
var lookupPattern = /@([a-z-]+)\b/g;
var defaultOptions = {

@@ -52,3 +52,3 @@ logLevel: 'warn'

function resolveLookup(rule, orig, prop, space) {
function resolveLookup(rule, orig, prop) {
var resolvedValue = closest(rule, prop);

@@ -60,3 +60,3 @@

return resolvedValue + space;
return resolvedValue;
}

@@ -63,0 +63,0 @@

{
"name": "postcss-property-lookup",
"version": "1.1.0",
"version": "1.1.1",
"description": "PostCSS plugin that allows referencing property values without a variable",

@@ -5,0 +5,0 @@ "keywords": [

@@ -38,2 +38,31 @@ # postcss-property-lookup [![Build Status][ci-img]][ci]

## Installation
```
$ npm install postcss-property-lookup
```
## Usage
### JavaScript
```js
postcss([
require('postcss-property-lookup')(/* options */),
// more plugins...
])
```
### TypeScript
```ts
///<reference path="node_modules/postcss-property-lookup/.d.ts" />
import postcssPropertyLookup from 'postcss-property-lookup';
postcss([
postcssPropertyLookup(/* options */),
// more plugins...
])
```
## Options

@@ -40,0 +69,0 @@

Sorry, the diff of this file is not supported yet

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