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.1.1 to 0.2.0

.circleci/config.yml

4

index.js

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

parse(header) {
if (!header || header.length === 0) {
return this
}
const values = {}

@@ -58,0 +62,0 @@ const matches = header.match(HEADER_REGEXP) || []

{
"name": "@tusbar/cache-control",
"public": true,
"version": "0.1.1",
"version": "0.2.0",
"description": "Format and parse HTTP Cache-Control header",
"main": "index.js",
"scripts": {
"test": "xo"
"test": "nyc ava"
},

@@ -14,4 +14,13 @@ "repository": "https://github.com/tusbar/cache-control",

"devDependencies": {
"ava": "^0.24.0",
"codecov": "^3.0.0",
"nyc": "^11.4.1",
"xo": "^0.18.2"
},
"nyc": {
"reporter": [
"lcov",
"text"
]
},
"xo": {

@@ -18,0 +27,0 @@ "semicolon": false,

3

readme.md

@@ -1,5 +0,6 @@

# 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)

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