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

@web/dev-server-core

Package Overview
Dependencies
Maintainers
7
Versions
85
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@web/dev-server-core - npm Package Compare versions

Comparing version 0.3.0 to 0.3.1

6

CHANGELOG.md
# @web/dev-server-core
## 0.3.1
### Patch Changes
- eceb6295: match dotfiles when resolving mimetypes
## 0.3.0

@@ -4,0 +10,0 @@

2

dist/plugins/mimeTypesPlugin.js

@@ -12,3 +12,3 @@ "use strict";

const resolvedPattern = !path_1.isAbsolute(pattern) && !pattern.startsWith('*') ? path_1.posix.join(rootDir, pattern) : pattern;
return picomatch_1.default(resolvedPattern);
return picomatch_1.default(resolvedPattern, { dot: true });
}

@@ -15,0 +15,0 @@ function mimeTypesPlugin(mappings) {

{
"name": "@web/dev-server-core",
"version": "0.3.0",
"version": "0.3.1",
"publishConfig": {

@@ -5,0 +5,0 @@ "access": "public"

@@ -11,3 +11,3 @@ import picoMatch from 'picomatch';

!isAbsolute(pattern) && !pattern.startsWith('*') ? posix.join(rootDir, pattern) : pattern;
return picoMatch(resolvedPattern);
return picoMatch(resolvedPattern, { dot: true });
}

@@ -14,0 +14,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