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

grunt-qiniu-cdn

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-qiniu-cdn - npm Package Compare versions

Comparing version 0.1.4 to 0.1.5

1

lib/qiniu.js

@@ -29,1 +29,2 @@ var qiniu = require('qiniu');

exports.upload = upload;
exports.raw = qiniu;

2

package.json
{
"name": "grunt-qiniu-cdn",
"description": "grunt qiniu cdn plugin.",
"version": "0.1.4",
"version": "0.1.5",
"homepage": "https://github.com/gongxiancao/grunt-qiniu-cdn",

@@ -6,0 +6,0 @@ "author": {

@@ -29,4 +29,2 @@ /*

var token = qiniu.token();
var _this = this;

@@ -44,2 +42,6 @@

var key = options.prefix + filepath;
var putPolicy = new qiniu.raw.rs.PutPolicy(options.bucket + ":" + key);
var token = putPolicy.token();
qiniu.upload(token, key, fullPath, function(err, ret) {

@@ -46,0 +48,0 @@ if (err) {

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