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

@callstack/repack-dev-server

Package Overview
Dependencies
Maintainers
9
Versions
60
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 1.0.0-next.2 to 1.0.0-next.3

dist/img/favicon.ico

12

CHANGELOG.md
# @callstack/repack-dev-server
## 1.0.0-next.3
### Minor Changes
- [#230](https://github.com/callstack/repack/pull/230) [`e6dc69d`](https://github.com/callstack/repack/commit/e6dc69d35f287af08d09944edd8e6d12f28484cf) Thanks [@jbinda](https://github.com/jbinda)! - Introduce `fastify-favicon` plugin to prevent server logger from emitting error log related to `GET 400 /favicon.ico` when requesting bundles via browser.
* [#239](https://github.com/callstack/repack/pull/239) [`6d65156`](https://github.com/callstack/repack/commit/6d65156366bc88edefdae7a3d0310ddbcdf48886) Thanks [@jbinda](https://github.com/jbinda)! - Expose favicon.ico in devserver
### Patch Changes
- [#238](https://github.com/callstack/repack/pull/238) [`b913b89`](https://github.com/callstack/repack/commit/b913b8981334854cc13076af2a9c8a12bc465d1b) Thanks [@jbinda](https://github.com/jbinda)! - Add `archive` script in dev-server
## 1.0.0-next.2

@@ -4,0 +16,0 @@

6

dist/createServer.js

@@ -11,2 +11,3 @@ import { Writable } from 'stream';

import wssPlugin from "./plugins/wss/index.js";
import faviconPlugin from "./plugins/favicon/index.js";
import { Internal } from "./types.js";

@@ -91,3 +92,6 @@ import symbolicatePlugin from "./plugins/symbolicate/index.js";

prefixAvoidTrailingSlash: true
});
}); // below is to prevent showing `GET 400 /favicon.ico`
// errors in console when requesting the bundle via browser
await instance.register(faviconPlugin);
instance.addHook('onSend', async (request, reply, payload) => {

@@ -94,0 +98,0 @@ reply.header('X-Content-Type-Options', 'nosniff');

8

package.json

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

"license": "MIT",
"version": "1.0.0-next.2",
"version": "1.0.0-next.3",
"type": "module",

@@ -38,3 +38,3 @@ "main": "./dist/index.js",

"scripts": {
"build:js": "babel src --out-dir dist --extensions \".js,.cjs,.ts\" --source-maps --ignore \"**/__tests__/**\" --delete-dir-on-start",
"build:js": "babel src --out-dir dist --extensions \".js,.cjs,.ts\" --source-maps --ignore \"**/__tests__/**\" --delete-dir-on-start --copy-files",
"build:js:watch": "yarn build:js --watch",

@@ -46,3 +46,4 @@ "build:ts": "tsc --emitDeclarationOnly",

"typecheck": "tsc --noEmit",
"lint": "eslint --ext \".js,.ts\" src"
"lint": "eslint --ext \".js,.ts\" src",
"archive": "yarn build && yarn pack --out repack-dev-server-%v-$(git log -1 --format=\"%h\").tgz"
},

@@ -55,2 +56,3 @@ "dependencies": {

"fastify": "^3.29.0",
"fastify-favicon": "^3.2.0",
"fastify-plugin": "^3.0.1",

@@ -57,0 +59,0 @@ "metro-inspector-proxy": "^0.71.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