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.6.1 to 1.0.0

dist/cache-control.cjs

83

package.json
{
"name": "@tusbar/cache-control",
"public": true,
"version": "0.6.1",
"license": "MIT",
"version": "1.0.0",
"author": "Bertrand Marron <bertrand.marron@gmail.com>",
"description": "Format and parse HTTP Cache-Control header",
"main": "./index.js",
"types": "./index.d.ts",
"scripts": {
"test": "jest"
},
"repository": "https://github.com/tusbar/cache-control",
"keywords": [

@@ -16,46 +14,47 @@ "cache-control",

],
"type": "module",
"sideEffects": false,
"files": [
"index.js",
"index.d.ts"
"dist"
],
"repository": "https://github.com/tusbar/cache-control",
"author": "Bertrand Marron <bertrand.marron@gmail.com>",
"license": "MIT",
"source": "./src/index.ts",
"main": "./dist/cache-control.cjs",
"umd:main": "./dist/cache-control.umd.js",
"module": "./dist/cache-control.js",
"exports": {
"types": "./dist/index.d.ts",
"require": "./dist/cache-control.cjs",
"default": "./dist/cache-control.modern.js"
},
"types": "./dist/index.d.ts",
"scripts": {
"preinstall": "npx only-allow pnpm",
"test": "jest",
"check:ts": "tsc --noEmit",
"build": "microbundle",
"dev": "microbundle watch"
},
"devDependencies": {
"@bizon/semantic-release-config": "^1.1.0",
"jest": "^27.4.0",
"jest-junit": "^13.0.0",
"semantic-release": "^18.0.1",
"xo": "^0.47.0"
"@bizon/semantic-release-config": "^2.1.0",
"@jest/types": "^29.6.1",
"@tsconfig/node18": "^18.2.0",
"@types/jest": "^29.5.3",
"eslint-config-xo-bizon": "^2.0.0",
"jest": "^29.6.2",
"microbundle": "^0.15.1",
"semantic-release": "^21.0.7",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.1",
"typescript": "^5.1.6",
"xo": "^0.55.0"
},
"jest": {
"testMatch": [
"<rootDir>/__tests__/*.js"
],
"transform": {},
"collectCoverage": true,
"collectCoverageFrom": [
"index.js"
],
"coverageReporters": [
"lcov",
"text-summary"
]
},
"xo": {
"extends": "xo-bizon",
"semicolon": false,
"space": 2,
"rules": {
"unicorn/no-array-reduce": "off",
"unicorn/prefer-module": "off"
},
"overrides": [
{
"files": "__tests__/*.js",
"envs": [
"jest"
]
}
]
"prettier": true
},
"prettier": {
"printWidth": 100
},
"release": {

@@ -62,0 +61,0 @@ "extends": "@bizon/semantic-release-config"

@@ -30,3 +30,3 @@ # cache-control

`parse()` takes `Cache-Control` HTTP header value and returns a `CacheControl` instance.
`parse()` takes a `Cache-Control` HTTP header value and returns a `CacheControl` instance.

@@ -33,0 +33,0 @@ For example, `parse('max-age=31536000, public')` will return

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