New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@savvywombat/tailwindcss-grid-areas

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

@savvywombat/tailwindcss-grid-areas - npm Package Compare versions

Comparing version 3.1.0 to 4.0.0

src/util/lodash-fns.js

19

package.json
{
"name": "@savvywombat/tailwindcss-grid-areas",
"version": "3.1.0",
"version": "4.0.0",
"description": "A plugin to provide Tailwind CSS utilities for grid areas.",

@@ -27,5 +27,2 @@ "keywords": [

},
"dependencies": {
"lodash": "^4.17.21"
},
"peerDependencies": {

@@ -35,9 +32,9 @@ "tailwindcss": "^3.0.1"

"devDependencies": {
"@babel/cli": "^7.21.5",
"@babel/core": "^7.22.1",
"@babel/node": "^7.22.1",
"@babel/preset-env": "^7.22.4",
"@babel/cli": "^7.22.5",
"@babel/core": "^7.22.5",
"@babel/node": "^7.22.5",
"@babel/preset-env": "^7.22.5",
"babel-jest": "^29.5.0",
"clean-css": "^5.3.2",
"eslint": "^8.41.0",
"eslint": "^8.43.0",
"eslint-config-prettier": "^8.8.0",

@@ -58,3 +55,3 @@ "eslint-plugin-prettier": "^4.2.1",

"targets": {
"node": "14.18.2"
"node": "16.20.2"
}

@@ -66,3 +63,3 @@ }

"engines": {
"node": ">=14.18.2"
"node": ">=16.20.2"
},

@@ -69,0 +66,0 @@ "jest": {

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

const _ = require('lodash')
const { reduce } = require('./util/lodash-fns')
const extractGridAreaNames = require('./util/extractGridAreaNames')

@@ -7,3 +7,3 @@

const templateAreas = _.reduce(
const templateAreas = reduce(
theme('gridTemplateAreas'),

@@ -10,0 +10,0 @@ (templates, area, name) => {

@@ -1,9 +0,9 @@

const _ = require('lodash')
const { uniq, flatMap } = require('./lodash-fns')
module.exports = function (gridTemplateAreas) {
return _.uniq(
_.flatMap(gridTemplateAreas, (row) => {
return _.flatMap(row, (area) => {
return uniq(
flatMap(gridTemplateAreas, (row) => {
return flatMap(row, (area) => {
// extract grid area names from the gridTemplate
return _.flatMap(area.match(/[^\s]+/g), (match) => {
return flatMap(area.match(/[^\s]+/g), (match) => {
if (match !== '.') {

@@ -10,0 +10,0 @@ return match

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