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

caching-transform

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

caching-transform - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

2

index.js

@@ -17,3 +17,3 @@ 'use strict';

}
if (typeof opts.cacheDir !== 'string') {
if (typeof opts.cacheDir !== 'string' && !opts.disableCache) {
throw new Error('cacheDir must be a string');

@@ -20,0 +20,0 @@ }

{
"name": "caching-transform",
"version": "1.0.0",
"version": "1.0.1",
"description": "Wraps a transform and provides caching",

@@ -39,3 +39,3 @@ "license": "MIT",

"mock-fs": "^3.5.0",
"nyc": "^5.0.1",
"nyc": "5.0.1",
"proxyquire": "^1.7.3",

@@ -42,0 +42,0 @@ "sinon": "^1.17.2",

@@ -93,3 +93,4 @@ # caching-transform [![Build Status](https://travis-ci.org/jamestalmage/caching-transform.svg?branch=master)](https://travis-ci.org/jamestalmage/caching-transform) [![Coverage Status](https://coveralls.io/repos/jamestalmage/caching-transform/badge.svg?branch=master&service=github)](https://coveralls.io/github/jamestalmage/caching-transform?branch=master)

Type: `string`
Type: `string`
*Required unless caching is disabled*

@@ -96,0 +97,0 @@ The directory where cached transform results will be stored. The directory is automatically created with [`mkdirp`](https://www.npmjs.com/package/mkdirp). You can set `options.createCacheDir = false` if you are certain the directory already exists.

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