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

docpad-plugin-cachr

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

docpad-plugin-cachr - npm Package Compare versions

Comparing version 2.1.6 to 2.2.0

Contributing.md

8

out/cachr.plugin.js

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

// Generated by CoffeeScript 1.6.2
// Generated by CoffeeScript 1.6.3
var __hasProp = {}.hasOwnProperty,

@@ -7,3 +7,2 @@ __extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; };

var CachrPlugin, TaskGroup, balUtil, eachr, fsUtil, pathUtil, request, safefs, _ref;
balUtil = require('bal-util');

@@ -38,3 +37,2 @@ safefs = require('safefs');

var config, details, docpad, name;
docpad = this.docpad;

@@ -56,3 +54,2 @@ config = this.config;

var attempt, docpad, viaRequest;
docpad = this.docpad;

@@ -109,3 +106,2 @@ attempt = 1;

var cachr, templateData;
templateData = _arg.templateData;

@@ -124,3 +120,2 @@ cachr = this;

var cachr, cachrPath, config, docpad, failures, templateData, urlsToCache, urlsToCacheLength;
templateData = _arg.templateData;

@@ -141,3 +136,2 @@ cachr = this;

_this = this;
if (err) {

@@ -144,0 +138,0 @@ return next(err);

{
"name": "docpad-plugin-cachr",
"version": "2.1.6",
"version": "2.2.0",
"description": "Caches remote resources locally",

@@ -32,4 +32,4 @@ "homepage": "http://docpad.org/plugin/cachr",

"dependencies": {
"request": "~2.16.6",
"bal-util": "~2.0.2",
"request": "~2.21.0",
"bal-util": "~2.2.0",
"safefs": "~3.0.1",

@@ -36,0 +36,0 @@ "eachr": "~2.0.2",

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

# Cachr Plugin for DocPad
# Cachr Plugin for [DocPad](https://docpad.org)
[![Build Status](https://secure.travis-ci.org/docpad/docpad-plugin-cachr.png?branch=master)](http://travis-ci.org/docpad/docpad-plugin-cachr "Check this project's build status on TravisCI")
[![NPM version](https://badge.fury.io/js/docpad-plugin-cachr.png)](https://npmjs.org/package/docpad-plugin-cachr "View this project on NPM")
[![Flattr donate button](https://raw.github.com/balupton/flattr-buttons/master/badge-89x18.gif)](http://flattr.com/thing/344188/balupton-on-Flattr "Donate monthly to this project using Flattr")
[![PayPayl donate button](https://www.paypalobjects.com/en_AU/i/btn/btn_donate_SM.gif)](https://www.paypal.com/au/cgi-bin/webscr?cmd=_flow&SESSION=IHj3DG3oy_N9A9ZDIUnPksOi59v0i-EWDTunfmDrmU38Tuohg_xQTx0xcjq&dispatch=5885d80a13c0db1f8e263663d3faee8d14f86393d55a810282b64afed84968ec "Donate once-off to this project using Paypal")
This [DocPad](https://docpad.org) plugin provides a template helper that will take in a remote URL, download it, and provide the local URL for you.

@@ -43,7 +49,11 @@

## History
You can discover the history inside the `History.md` file
[You can discover the history inside the `History.md` file](https://github.com/bevry/docpad-plugin-cachr/blob/master/History.md#files)
## Contributing
[You can discover the contributing instructions inside the `Contributing.md` file](https://github.com/bevry/docpad-plugin-cachr/blob/master/Contributing.md#files)
## License
Licensed under the incredibly [permissive](http://en.wikipedia.org/wiki/Permissive_free_software_licence) [MIT License](http://creativecommons.org/licenses/MIT/)
<br/>Copyright &copy; 2012+ [Bevry Pty Ltd](http://bevry.me)
<br/>Copyright &copy; 2012+ [Bevry Pty Ltd](http://bevry.me) <us@bevry.me>
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