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

@tusbar/cache-control

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tusbar/cache-control - npm Package Compare versions

Comparing version 0.2.1 to 0.3.0

.editorconfig

4

index.js

@@ -5,3 +5,3 @@ const HEADER_REGEXP = /([a-zA-Z][a-zA-Z_-]*)\s*(?:=(?:"([^"]*)"|([^ \t",;]*)))?/g

maxAge: 'max-age',
sharedMaxAge: 's-max-age',
sharedMaxAge: 's-maxage',
maxStale: 'max-stale',

@@ -67,3 +67,3 @@ minFresh: 'min-fresh',

const key = tokens[0]
const [key] = tokens
let value = null

@@ -70,0 +70,0 @@

{
"name": "@tusbar/cache-control",
"public": true,
"version": "0.2.1",
"version": "0.3.0",
"description": "Format and parse HTTP Cache-Control header",

@@ -19,6 +19,7 @@ "main": "index.js",

"devDependencies": {
"ava": "^0.24.0",
"ava": "^0.25.0",
"codecov": "^3.0.0",
"nyc": "^11.4.1",
"xo": "^0.18.2"
"lerna-changelog": "0.8.0",
"nyc": "^13.1.0",
"xo": "^0.23.0"
},

@@ -34,3 +35,16 @@ "nyc": {

"space": 2
},
"changelog": {
"cacheDir": ".changelog",
"labels": {
"bug": ":bug: Bug Fix",
"build": ":building_construction: Build Process",
"cleanup": ":shower: Cleanup",
"documentation": ":memo: Documentation",
"enhancement": ":rocket: Enhancement",
"performance": ":racehorse: Performance",
"security": ":policeman: Security"
},
"repo": "tusbar/cache-control"
}
}
# cache-control [![CircleCI](https://circleci.com/gh/tusbar/cache-control.svg?style=svg)](https://circleci.com/gh/tusbar/cache-control)
[![npm version](https://img.shields.io/npm/v/@tusbar/cache-control.svg)](https://www.npmjs.com/package/@tusbar/cache-control)
[![dependencies Status](https://david-dm.org/tusbar/cachecontrol/status.svg)](https://david-dm.org/tusbar/cachecontrol)
[![codecov](https://codecov.io/gh/tusbar/cache-control/branch/master/graph/badge.svg)](https://codecov.io/gh/tusbar/cache-control)
[![XO code style](https://img.shields.io/badge/code_style-XO-5ed9c7.svg)](https://github.com/sindresorhus/xo)
[![npm version](https://badgen.net/npm/v/@tusbar/cache-control)](https://www.npmjs.com/package/@tusbar/cache-control)
[![dependencies Status](https://badgen.net/david/dep/tusbar/cache-control)](https://david-dm.org/tusbar/cache-control)
[![codecov](https://badgen.net/codecov/c/github/tusbar/cache-control)](https://codecov.io/gh/tusbar/cache-control)
[![XO code style](https://badgen.net/badge/code%20style/XO/cyan)](https://github.com/xojs/xo)

@@ -86,1 +86,14 @@ > Format and parse HTTP Cache-Control header

MIT
## Miscellaneous
```
╚⊙ ⊙╝
╚═(███)═╝
╚═(███)═╝
╚═(███)═╝
╚═(███)═╝
╚═(███)═╝
╚═(███)═╝
```

@@ -170,3 +170,3 @@ import test from 'ava'

t.is(cc, 'max-age=4242, s-max-age=4343, min-fresh=4444')
t.is(cc, 'max-age=4242, s-maxage=4343, min-fresh=4444')
})

@@ -173,0 +173,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