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

gulp-awspublish-headers

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-awspublish-headers - npm Package Compare versions

Comparing version 1.0.1 to 1.1.0

7

index.js

@@ -6,5 +6,10 @@ 'use strict';

// These are the options to pass to Minimatch.
const options = {
dot: true,
};
module.exports = function(headers) {
const matches = Object.entries(headers).map(([key, value]) => ({
path: new Minimatch(key),
path: new Minimatch(key, options),
headers: Object.entries(value),

@@ -11,0 +16,0 @@ }));

2

package.json
{
"name": "gulp-awspublish-headers",
"version": "1.0.1",
"version": "1.1.0",
"description": "Define per-file headers for gulp-awspublish.",

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

@@ -24,3 +24,3 @@ # gulp-awspublish-headers

Files may match multiple paths in which case the headers will be merged with the later defined headers taking prescedence.
Files may match multiple paths in which case the headers will be merged with the later defined headers taking precedence.

@@ -27,0 +27,0 @@ ## Installation

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