New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

cacheability

Package Overview
Dependencies
Maintainers
1
Versions
109
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cacheability - npm Package Compare versions

Comparing version 0.0.46 to 0.0.47

lib/umd/cacheability.js

1

lib/main/index.d.ts

@@ -1,2 +0,1 @@

import "isomorphic-fetch";
import { CacheControl, CacheHeaders, Metadata } from "./types";

@@ -3,0 +2,0 @@ export declare type CacheabilityCacheControl = CacheControl;

@@ -17,6 +17,8 @@ "use strict";

require("isomorphic-fetch");
const lodash_1 = require("lodash");
if (!process.env.WEB_ENV) {
require("isomorphic-fetch");
}
let Cacheability = class Cacheability {

@@ -23,0 +25,0 @@ static _getDirectives(cacheControl) {

@@ -15,3 +15,6 @@ import "core-js/modules/es6.symbol";

import "isomorphic-fetch";
if (!process.env.WEB_ENV) {
require("isomorphic-fetch");
}
let Cacheability = class Cacheability {

@@ -18,0 +21,0 @@ static _getDirectives(cacheControl) {

{
"name": "cacheability",
"version": "0.0.46",
"version": "0.0.47",
"description": "A utility class to parse, store and print http cache headers.",

@@ -28,9 +28,10 @@ "author": "Dylan Aubrey <dylanaubrey@gmail.com>",

"scripts": {
"analyze:bundle": "webpack-bundle-analyzer bundle/stats.json --mode static --report bundle/report.html --no-open",
"analyze:bundle": "webpack-bundle-analyzer bundle/stats.json lib/umd --mode static --report bundle/report.html --no-open",
"build": "npm run clean && npm run test && npm run compile && npm run analyze:bundle",
"clean": "gulp clean",
"compile": "npm run compile:main && npm run compile:module && npm run compile:browser",
"compile": "npm run compile:main && npm run compile:module && npm run compile:browser && npm run compile:umd",
"compile:browser": "cross-env BABEL_ENV=browser gulp browser",
"compile:main": "cross-env BABEL_ENV=main gulp main",
"compile:module": "cross-env BABEL_ENV=module gulp module",
"compile:umd": "cross-env BABEL_ENV=browser gulp umd",
"debug:web": "cross-env BABEL_ENV=debug karma start --no-single-run --browsers Chrome",

@@ -37,0 +38,0 @@ "lint": "gulp lint",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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