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

uncors

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

uncors - npm Package Compare versions

Comparing version 0.1.0 to 0.2.0

4

package.json
{
"name": "uncors",
"version": "0.1.0",
"version": "0.2.0",
"description": "A simple dev HTTP/HTTPS reverse proxy for replacing CORS headers.",

@@ -33,3 +33,3 @@ "keywords": [

"dependencies": {
"npm-go-bin": "^0.0.1-beta.1"
"npm-go-bin": "latest"
},

@@ -36,0 +36,0 @@ "cpu": [

@@ -12,25 +12,25 @@ <!--suppress HtmlDeprecatedAttribute -->

<a href="https://go.dev">
<img alt="Go version" src="https://img.shields.io/github/go-mod/go-version/evg4b/uncors">
<img alt="Go version" src="https://img.shields.io/github/go-mod/go-version/evg4b/uncors/develop?label=go">
</a>
<a href="https://github.com/evg4b/uncors/releases/latest">
<img alt="GitHub version" src="https://img.shields.io/github/v/tag/evg4b/uncors?label=version">
<a href="#">
<img alt="GitHub version" src="https://img.shields.io/badge/version-%40next-blue">
</a>
<a href="https://github.com/evg4b/uncors/blob/main/LICENSE">
<img alt="License" src="https://img.shields.io/github/license/evg4b/uncors?label=license">
</a>
<a href="https://sonarcloud.io/summary/new_code?id=evg4b_uncors">
<img alt="Coverage" src="https://sonarcloud.io/api/project_badges/measure?project=evg4b_uncors&metric=coverage">
</a>
<a href="https://goreportcard.com/report/github.com/evg4b/uncors">
<img alt="Go Report Card" src="https://goreportcard.com/badge/github.com/evg4b/uncors">
</a>
<a href="https://sonarcloud.io/summary/new_code?id=evg4b_uncors">
<img alt="Reliability Rating" src="https://sonarcloud.io/api/project_badges/measure?project=evg4b_uncors&metric=reliability_rating">
</a>
<a href="https://sonarcloud.io/summary/new_code?id=evg4b_uncors">
<img alt="Security Rating" src="https://sonarcloud.io/api/project_badges/measure?project=evg4b_uncors&metric=security_rating">
</a>
<a href="https://sonarcloud.io/summary/new_code?id=evg4b_uncors">
<img alt="Lines of Code" src="https://sonarcloud.io/api/project_badges/measure?project=evg4b_uncors&metric=ncloc">
</a>
<a href="https://github.com/evg4b/uncors/blob/main/LICENSE">
<img alt="License" src="https://img.shields.io/github/license/evg4b/uncors?label=license&branch=develop">
</a>
<a href="https://sonarcloud.io/summary/new_code?id=evg4b_uncors">
<img alt="Coverage" src="https://sonarcloud.io/api/project_badges/measure?project=evg4b_uncors&metric=coverage&branch=develop">
</a>
<a href="https://goreportcard.com/report/github.com/evg4b/uncors">
<img alt="Go Report Card" src="https://goreportcard.com/badge/github.com/evg4b/uncors">
</a>
<a href="https://sonarcloud.io/summary/new_code?id=evg4b_uncors">
<img alt="Reliability Rating" src="https://sonarcloud.io/api/project_badges/measure?project=evg4b_uncors&metric=reliability_rating&branch=develop">
</a>
<a href="https://sonarcloud.io/summary/new_code?id=evg4b_uncors">
<img alt="Security Rating" src="https://sonarcloud.io/api/project_badges/measure?project=evg4b_uncors&metric=security_rating&branch=develop">
</a>
<a href="https://sonarcloud.io/summary/new_code?id=evg4b_uncors">
<img alt="Lines of Code" src="https://sonarcloud.io/api/project_badges/measure?project=evg4b_uncors&metric=ncloc&branch=develop">
</a>
</p>

@@ -46,3 +46,3 @@

- [Static file serving](https://github.com/evg4b/uncors/wiki/4.-Static-file-serving)
- *Response caching ([coming soon...](./ROADMAP.md))*
- [Response caching](https://github.com/evg4b/uncors/wiki/5.-Response-caching)

@@ -55,6 +55,5 @@ Other new features you can find in [roadmap](https://github.com/evg4b/uncors/blob/main/ROADMAP.md).

## Homebrew (macOS | Linux)
You can install the application in one of the following ways:
If you are on macOS or Linux and using [Homebrew](https://brew.sh/), you can install uncors with the following
one-liner:
#### [Homebrew](https://brew.sh/) (macOS | Linux)

@@ -65,6 +64,4 @@ ```bash

## Scoop (Windows)
#### [Scoop](https://scoop.sh/) (Windows)
If you are on Windows and using [Scoop](https://scoop.sh/), you can install uncors with the following commands:
```bash

@@ -75,22 +72,14 @@ scoop bucket add evg4b https://github.com/evg4b/scoop-bucket.git

## NPM (Cross-platform)
#### [NPM](https://npmjs.com) (Cross-platform)
To install uncors as a node package in your project, you can use the following commands:
Via npm:
```bash
npm install uncors --save-dev
```
Via yarn:
```bash
# OR
yarn add uncors --dev
# OR
pnpm add -D uncors
```
## Docker
#### [Docker](https://www.docker.com/) (Cross-platform)
We currently offer images for [Docker](https://hub.docker.com/r/evg4b/uncors)
```bash

@@ -100,6 +89,4 @@ docker run -p 80:3000 evg4b/uncors --from 'http://local.github.com' --to 'https://github.com'

## Stew (Cross-platform)
#### [Stew](https://github.com/marwanhawari/) (Cross-platform)
Also, you can install binaris using [Stew](https://github.com/marwanhawari/) with the following commands:
```bash

@@ -109,33 +96,4 @@ stew install evg4b/uncors

## Binary (Cross-platform)
Or find more installation methods in [uncors wiki](https://github.com/evg4b/uncors/wiki/1.-Installation).
Download the appropriate version for your platform
from [UNCORS releases page](https://github.com/evg4b/uncors/releases/latest).
Once downloaded, the binary can be run from anywhere. You don’t need to install it into a global location.
This works well for shared hosts and other systems where you don’t have a privileged account.
Ideally, you should install it somewhere in your `PATH` for easy use. `/usr/local/bin` is the most probable location.
## Build from source
**Prerequisite Tools**
- Git
- Go (at least Go 1.11)
**Fetch from GitHub**
UNCORS uses the Go Modules support built into Go 1.11 to build. The easiest way to get started is to clone
UNCORS source code in a directory outside the GOPATH, as in the following example:
```
mkdir $HOME/src
cd $HOME/src
git clone https://github.com/evg4b/uncors.git
cd uncors
go install -tags release
```
If you are a Windows user, substitute the $HOME environment variable above with `%USERPROFILE%`.
# Usage

@@ -149,6 +107,13 @@

More information about configuration and usage you can fiund on [UNCORS wiki](https://github.com/evg4b/uncors/wiki).
More information about configuration and usage you can find on [UNCORS wiki](https://github.com/evg4b/uncors/wiki).
# ⚠️ Caution
# ⚠️ Caution
Please note that removing or replacing CORS headers can pose potential security vulnerabilities. This tool is specifically designed to streamline the development and testing workflow and should not be used in a production environment or as a remote proxy server. It has not undergone a thorough security review, so caution should be exercised when utilizing it.
Please note that removing or replacing CORS headers can pose potential security vulnerabilities. This tool is
specifically designed to streamline the development and testing workflow and should not be used in a production
environment or as a remote proxy server. It has not undergone a thorough security review, so caution should be exercised
when utilizing it.
## Stargazers over time
[![Stargazers over time](https://starchart.cc/evg4b/uncors.svg)](https://starchart.cc/evg4b/uncors)
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