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

@callstack/repack-dev-server

Package Overview
Dependencies
Maintainers
11
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@callstack/repack-dev-server - npm Package Compare versions

Comparing version 4.0.0-rc.0 to 4.0.0-rc.1

6

CHANGELOG.md
# @callstack/repack-dev-server
## 4.0.0-rc.1
### Patch Changes
- [#554](https://github.com/callstack/repack/pull/554) [`ed82e29`](https://github.com/callstack/repack/commit/ed82e29c2871411fd73616f29a7d4b75ff3dd913) Thanks [@jbroma](https://github.com/jbroma)! - Fix path to favicon.ico on Windows
## 4.0.0-rc.0

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

7

dist/plugins/favicon/faviconPlugin.js

@@ -0,1 +1,3 @@

import path from 'path';
import { fileURLToPath } from 'url';
import fastifyFavicon from 'fastify-favicon';

@@ -5,6 +7,7 @@ import fastifyPlugin from 'fastify-plugin';

// @ts-ignore
const pathToImg = new URL('../../img', import.meta.url).pathname;
const dirname = path.dirname(fileURLToPath(import.meta.url));
const pathToImgDir = path.join(dirname, '../../img');
async function faviconPlugin(instance) {
instance.register(fastifyFavicon, {
path: pathToImg
path: pathToImgDir
});

@@ -11,0 +14,0 @@ }

@@ -5,3 +5,3 @@ {

"license": "MIT",
"version": "4.0.0-rc.0",
"version": "4.0.0-rc.1",
"type": "module",

@@ -8,0 +8,0 @@ "main": "./dist/index.js",

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