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

network-constants

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

network-constants - npm Package Compare versions

Comparing version 0.11.0 to 0.12.0-alpha

27

bower.json
{
"name": "network-constants.js",
"version": "0.11.0",
"description": "a bunch of network (mainly HTTP) constants for js programs (node + browser), AMD",
"keywords": [
"exceptions",
"browser",
"server"
],
"license": "public domain",
"authors": [ "Offirmo <offirmo.net@gmail.com>" ],
"homepage": "https://github.com/Offirmo/network-constants.js",
"dependencies": {
}
"name": "network-constants.js",
"version": "0.12.0-alpha",
"description": "a bunch of network (mainly HTTP) constants for js programs (node + browser), AMD",
"keywords": [
"exceptions",
"browser",
"server"
],
"license": "public domain",
"authors": [
"Offirmo <offirmo.net@gmail.com>"
],
"homepage": "https://github.com/Offirmo/network-constants.js",
"dependencies": {}
}

@@ -85,2 +85,3 @@ // if node.js : use amdefine (add it with npm)

// http://en.wikipedia.org/wiki/List_of_HTTP_header_fields
// TODO redesign
'request_headers' : {

@@ -121,3 +122,16 @@ 'Accept': undefined, // Content-Types that are acceptable for the response Accept: text/plain Permanent

// TODO redesign
'response_headers' : {
// CORS http://www.w3.org/TR/cors/
'Access-Control-Allow-Origin': undefined,
'Access-Control-Allow-Credentials': undefined,
'Access-Control-Expose-Headers': undefined,
'Access-Control-Max-Age': undefined,
'Access-Control-Allow-Methods': undefined,
'Access-Control-Allow-Headers': undefined,
'Origin Request Header': undefined,
'Access-Control-Request-Method': undefined,
'Access-Control-Request-Headers': undefined,
//
'Allow': undefined, // Used in OPTIONS
'Location': undefined // Used in redirection, or when a new resource has been created.

@@ -124,0 +138,0 @@ },

{
"name": "network-constants",
"version": "0.11.0",
"description": "a bunch of network (mainly HTTP) constants for js programs (node + browser), AMD",
"keywords": "network, constants, http, protocol, browser, server",
"license": "public domain",
"author": "Offirmo <offirmo.net@gmail.com> (http://offirmo.net)",
"homepage": "https://github.com/Offirmo/network-constants.js",
"repository": {
"type": "git",
"url": "https://github.com/Offirmo/network-constants.js.git"
},
"dependencies": {
"amdefine": "~0.1"
},
"engines": {
"node": ">=0.10.0"
},
"bugs": {
"url": "https://github.com/Offirmo/network-constants.js/issues"
},
"scripts": {
"test": "npm install && cd test_runner && make"
}
"name": "network-constants",
"version": "0.12.0-alpha",
"description": "a bunch of network (mainly HTTP) constants for js programs (node + browser), AMD",
"keywords": "network, constants, http, protocol, browser, server",
"license": "public domain",
"author": "Offirmo <offirmo.net@gmail.com> (http://offirmo.net)",
"homepage": "https://github.com/Offirmo/network-constants.js",
"repository": {
"type": "git",
"url": "https://github.com/Offirmo/network-constants.js.git"
},
"dependencies": {
"amdefine": "~0.1"
},
"engines": {
"node": ">=0.10.0"
},
"bugs": {
"url": "https://github.com/Offirmo/network-constants.js/issues"
},
"scripts": {
"test": "npm install && cd test_runner && make"
}
}

@@ -8,8 +8,8 @@ network-constants.js

[![Dependency Status](https://gemnasium.com/Offirmo/network-constants.js.png)](https://gemnasium.com/Offirmo/network-constants.js)
[![Project status](http://img.shields.io/badge/project_status-stable_and_active-brightgreen.png)](http://offirmo.net/classifying-open-source-projects-status/)
[![license](http://img.shields.io/badge/license-public_domain-brightgreen.png)](http://unlicense.org/)
[![Project status](http://img.shields.io/badge/project_status-stable_and_active-brightgreen.svg)](http://offirmo.net/classifying-open-source-projects-status/)
[![license](http://img.shields.io/badge/license-public_domain-brightgreen.svg)](http://unlicense.org/)
[![Code Climate](https://codeclimate.com/github/Offirmo/network-constants.js.png)](https://codeclimate.com/github/Offirmo/network-constants.js)
[![status](https://sourcegraph.com/api/repos/github.com/Offirmo/network-constants.js/badges/status.png)](https://sourcegraph.com/github.com/Offirmo/network-constants.js)
[![Total views](https://sourcegraph.com/api/repos/github.com/Offirmo/network-constants.js/counters/views.png)](https://sourcegraph.com/github.com/Offirmo/network-constants.js)
[![Gittip](http://img.shields.io/gittip/Offirmo.png)](https://www.gittip.com/Offirmo/)
[![Gittip](http://img.shields.io/gittip/Offirmo.svg)](https://www.gittip.com/Offirmo/)

@@ -16,0 +16,0 @@ Introduction

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