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

@metalsmith/layouts

Package Overview
Dependencies
Maintainers
3
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@metalsmith/layouts - npm Package Compare versions

Comparing version 2.5.0 to 2.5.1

8

CHANGELOG.md

@@ -7,4 +7,12 @@ ### Changelog

#### [v2.5.1](https://github.com/metalsmith/layouts/compare/v2.5.0...v2.5.1)
- Resolves #183: pass the transformed list of files to metalsmith.match… [`#184`](https://github.com/metalsmith/layouts/pull/184)
- Merge pull request #184 from doteco/master [`#183`](https://github.com/metalsmith/layouts/issues/183)
- Resolves #183: pass the transformed list of files to metalsmith.match so that renamed files can be matched [`#183`](https://github.com/metalsmith/layouts/issues/183)
#### [v2.5.0](https://github.com/metalsmith/layouts/compare/v2.4.0...v2.5.0)
> 2 May 2022
- Resolves #181, use metalsmith.match instead of multimatch [`#181`](https://github.com/metalsmith/layouts/issues/181)

@@ -11,0 +19,0 @@ - Remove semicolons, run formatting. Remove devDependencies [`605559a`](https://github.com/metalsmith/layouts/commit/605559a025ac6253fbc2d81a3cb10ff647d053fb)

2

lib/index.js

@@ -131,3 +131,3 @@ const debug = require('debug')('@metalsmith/layouts')

// Filter files by the pattern
const matchedFiles = metalsmith.match(settings.pattern)
const matchedFiles = metalsmith.match(settings.pattern, Object.keys(files))

@@ -134,0 +134,0 @@ // Filter files by validity

{
"name": "@metalsmith/layouts",
"version": "2.5.0",
"version": "2.5.1",
"description": "A metalsmith plugin for layouts",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/metalsmith/layouts#readme",

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