Socket
Socket
Sign inDemoInstall

gilded-wordpress

Package Overview
Dependencies
5
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.7 to 1.0.8

10

index.js

@@ -179,4 +179,10 @@ var fs = require( "fs" );

if ( xmlrpcVersion !== version ) {
return callback( new Error( "Mismatching versions for Gilded WordPress. " +
// The server should have all capabilities expected by this client.
// The server must therefore be in the "^x.y.z" semver-range, whereby it
// implements the same major version, and the same (or newer) minor version.
var xmlrpcVersionParts = xmlrpcVersion.split( ".", 3 ).map( parseFloat );
var clientVersionParts = version.split( ".", 3 ).map( parseFloat );
if ( !( xmlrpcVersionParts[0] === clientVersionParts[0] && xmlrpcVersionParts[1] >= clientVersionParts[1] ) ) {
return callback( new Error( "Incompatible versions for Gilded WordPress. " +
"Version " + version + " is installed as a Node.js module, " +

@@ -183,0 +189,0 @@ "but the WordPress server is running version " + xmlrpcVersion + "." ) );

2

package.json
{
"name": "gilded-wordpress",
"description": "Easily synchronize content between the file system and WordPress",
"version": "1.0.7",
"version": "1.0.8",
"homepage": "https://github.com/scottgonzalez/gilded-wordpress",

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

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc