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

@lagon/astro

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lagon/astro - npm Package Compare versions

Comparing version 0.1.0 to 0.2.0

README.md

10

CHANGELOG.md
# @lagon/astro
## 0.2.0
### Minor Changes
- [#551](https://github.com/lagonapp/lagon/pull/551) [`1cfb186`](https://github.com/lagonapp/lagon/commit/1cfb186480aaac1598aa6b08cc7606847869e170) Thanks [@QuiiBz](https://github.com/QuiiBz)! - Prepare Astro integration for release
### Patch Changes
- [#551](https://github.com/lagonapp/lagon/pull/551) [`1cfb186`](https://github.com/lagonapp/lagon/commit/1cfb186480aaac1598aa6b08cc7606847869e170) Thanks [@QuiiBz](https://github.com/QuiiBz)! - Fix client IP address injection
## 0.1.0

@@ -4,0 +14,0 @@

2

dist/server.js

@@ -7,3 +7,3 @@ import { App } from "astro/app";

if (routeData) {
Reflect.set(request, Symbol.for("astro.clientAddress"), request.headers.get("cf-connecting-ip"));
Reflect.set(request, Symbol.for("astro.clientAddress"), request.headers.get("x-forwarded-for"));
return app.render(request, routeData);

@@ -10,0 +10,0 @@ }

{
"name": "@lagon/astro",
"version": "0.1.0",
"version": "0.2.0",
"description": "Astro integration to deploy your site to Lagon",
"type": "module",

@@ -12,2 +13,16 @@ "main": "dist/index.js",

},
"repository": {
"type": "git",
"url": "https://github.com/lagonapp/lagon"
},
"homepage": "https://github.com/lagonapp/lagon/tree/main/packages/integrations/astro",
"keywords": [
"lagon",
"serverless",
"edge",
"integration",
"astro",
"withastro",
"astro-adapter"
],
"dependencies": {

@@ -17,3 +32,3 @@ "esbuild": "^0.17.0"

"devDependencies": {
"astro": "2.0.0"
"astro": "2.0.2"
},

@@ -20,0 +35,0 @@ "scripts": {

@@ -11,3 +11,3 @@ import type { SSRManifest } from 'astro';

if (routeData) {
Reflect.set(request, Symbol.for('astro.clientAddress'), request.headers.get('cf-connecting-ip'));
Reflect.set(request, Symbol.for('astro.clientAddress'), request.headers.get('x-forwarded-for'));
return app.render(request, routeData);

@@ -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