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

cloudflare

Package Overview
Dependencies
Maintainers
3
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cloudflare - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

6

lib/cloudflare.js

@@ -382,3 +382,3 @@ var https = require('https');

cf.whitelistIp = function whitelistIp(ip, fn) {
this._request("wl", {}, function (err, res) {
this._request("wl", { key: ip }, function (err, res) {
fn(err, res);

@@ -400,3 +400,3 @@ });

cf.banIp = function banIp(ip, fn) {
this._request("ban", {}, function (err, res) {
this._request("ban", { key: ip }, function (err, res) {
fn(err, res);

@@ -418,3 +418,3 @@ });

cf.unlistIp = function unlistIp(ip, fn) {
this._request("nul", {}, function (err, res) {
this._request("nul", { key: ip }, function (err, res) {
fn(err, res);

@@ -421,0 +421,0 @@ });

{
"name": "cloudflare",
"version": "0.0.5",
"version": "0.0.6",
"description": "CloudFlare API client",

@@ -5,0 +5,0 @@ "main": "lib/cloudflare.js",

@@ -17,3 +17,3 @@ var should = require('should');

data.should.be.a('object').and.include({
data.should.be.an.instanceof(Object).and.include({
tkn: CF_TOKEN,

@@ -28,3 +28,3 @@ email: CF_EMAIL,

data.should.be.a('object').and.include({
data.should.be.an.instanceof(Object).and.include({
tkn: CF_TOKEN,

@@ -31,0 +31,0 @@ email: CF_EMAIL,

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