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

node-yj

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-yj - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

api/shinsai/Area.js

4

api/text/DAService.js

@@ -14,2 +14,6 @@ "use strict";

if( self.config.defaults ){
Util.extend(params, self.config.defaults, true);
}
self.options = {

@@ -16,0 +20,0 @@ host : self.config.host,

@@ -14,2 +14,6 @@ "use strict";

if( self.config.defaults ){
Util.extend(params, self.config.defaults, true);
}
self.options = {

@@ -16,0 +20,0 @@ host : self.config.host,

3

api/text/index.js

@@ -38,3 +38,4 @@ "use strict";

res.data = data;
callback(null, res.data);
var retJson = Util.toJson(res.data);
callback(null, retJson);
}

@@ -41,0 +42,0 @@ });

@@ -14,2 +14,6 @@ "use strict";

if( self.config.defaults ){
Util.extend(params, self.config.defaults, true);
}
self.options = {

@@ -16,0 +20,0 @@ host : self.config.host,

@@ -14,2 +14,6 @@ "use strict";

if( self.config.defaults ){
Util.extend(params, self.config.defaults, true);
}
self.options = {

@@ -16,0 +20,0 @@ host : self.config.host,

@@ -14,2 +14,6 @@ "use strict";

if( self.config.defaults ){
Util.extend(params, self.config.defaults, true);
}
self.options = {

@@ -16,0 +20,0 @@ host : self.config.host,

@@ -9,7 +9,11 @@ "use strict";

MAService : function(params, callback){
var self = this;
self.name = "MAService";
self.config = self.__proto__.router[self.name];
var self = this;
self.name = "MAService";
self.config = self.__proto__.router[self.name];
self.requestClient = self.__proto__.requestClient;
if( self.config.defaults ){
Util.extend(params, self.config.defaults, true);
}
self.options = {

@@ -16,0 +20,0 @@ host : self.config.host,

@@ -0,4 +1,14 @@

/*
* class: YJClient
*
* Author: Kai Sasaki <lewuathe@me.com>
* This client can access to YJDN API server
*
* Date: 2013-2-17
*/
var Error = require('./error');
var Util = require('./util');
var url = require('url');

@@ -5,0 +15,0 @@ var Client = module.exports = function(config){

{
"name" : "node-yj",
"version" : "0.0.1",
"version" : "0.0.2",
"description" : "NodeJS wrapper for the Yahoo! JAPAN API",

@@ -18,3 +18,4 @@ "author": "Kai Sasaki, Yohei Yamaguchi",

"dependencies" : {
"pkginfo" : "0.2.x"
"pkginfo" : "0.2.x",
"xml2json" : "0.3.x"
},

@@ -33,2 +34,2 @@ "devDependencies": {

]
}
}

@@ -13,2 +13,3 @@ /** section: github

var Util = require("util");
var xml2json = require("xml2json");

@@ -158,1 +159,9 @@ /**

exports.toJson = function(xml, options){
return xml2json.toJson(xml, options);
};
exports.toXml = function(json, options){
return xml2json.toXml(json, options);
};
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