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

plugin-node-wrappable

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

plugin-node-wrappable - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

LICENSE

11

index.js

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

function onPatternIterate(patternlab, pattern) {
function wrapPattern(pattern) {
const patternData = JSON.parse(pattern.patternData);

@@ -28,2 +28,11 @@ if (patternData.extraOutput && patternData.extraOutput.wrap_in) {

function onPatternIterate(patternlab, pattern) {
// Patternlab >=5 will supply arguments as an array
if (typeof pattern === 'undefined') {
pattern = patternlab[1];
}
wrapPattern(pattern);
}
/**

@@ -30,0 +39,0 @@ * Define what events you wish to listen to here

2

package.json
{
"name": "plugin-node-wrappable",
"version": "1.0.0",
"version": "1.1.0",
"description": "Patternlab Node plugin for wrappable patterns (e.g. on inverse backgrounds)",

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

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

![license](https://img.shields.io/github/license/networkteam/plugin-node-wrappable.svg)
![license](https://img.shields.io/github/license/networkteam/patternlab-plugin-node-wrappable.svg)
[![npm](https://img.shields.io/npm/v/plugin-node-wrappable.svg)](https://www.npmjs.com/package/plugin-node-wrappable)

@@ -46,2 +46,4 @@

---
[Insert description here]
```

@@ -48,0 +50,0 @@

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