flickr-following
Advanced tools
+12
-21
| { | ||
| "name": "flickr-following", | ||
| "version": "0.0.0", | ||
| "description": "List the people given user follows on Flickr", | ||
| "version": "0.0.1-security", | ||
| "description": "", | ||
| "main": "index.js", | ||
| "scripts": { | ||
| "test": "node test" | ||
| "test": "echo \"Error: no test specified\" && exit 1" | ||
| }, | ||
| "keywords": [ | ||
| "flickr", | ||
| "photos", | ||
| "photography", | ||
| "api", | ||
| "client" | ||
| ], | ||
| "repository": { | ||
| "url": "git@github.com:npm-flickr/flickr-following.git", | ||
| "type": "git" | ||
| "type": "git", | ||
| "url": "git+https://github.com/npm/security-holder.git" | ||
| }, | ||
| "author": "azer", | ||
| "license": "BSD", | ||
| "dependencies": { | ||
| "flickr-client": "0.0.2" | ||
| "keywords": [], | ||
| "author": "", | ||
| "license": "ISC", | ||
| "bugs": { | ||
| "url": "https://github.com/npm/security-holder/issues" | ||
| }, | ||
| "devDependencies": { | ||
| "with-env": "^0.1.0", | ||
| "prova": "^1.11.1" | ||
| } | ||
| } | ||
| "homepage": "https://github.com/npm/security-holder#readme" | ||
| } |
+7
-33
@@ -1,35 +0,9 @@ | ||
| ## flickr-following | ||
| # Security holding package | ||
| List the people given user follows on Flickr | ||
| This package name is not currently in use, but was formerly occupied | ||
| by a popular package. To avoid malicious use, npm is hanging on to | ||
| the package name, but loosely, and we'll probably give it to you if | ||
| you want it. | ||
| ## Install | ||
| ```bash | ||
| $ npm install flickr-following | ||
| ``` | ||
| ## Usage | ||
| ```js | ||
| var following = require('flickr-following')({ | ||
| key: 'api-key' | ||
| }) | ||
| following('user-id', function (error, users) { | ||
| users.length | ||
| // => 400 | ||
| users[0] | ||
| { "nsid": "49575362@N05", "username": "**mog**", "iconserver": "3770", "iconfarm": 4, "ignored": 0, "rev_ignored": 0 } | ||
| }) | ||
| ``` | ||
| [flickr-client](http://github.com/npm-flickr/flickr-client) can be passed to avoid repeating auth options: | ||
| ```js | ||
| var client = require('flickr-client')({ | ||
| key: 'api-key' | ||
| }); | ||
| var following = require('flickr-following')(client) | ||
| ``` | ||
| You may adopt this package by contacting support@npmjs.com and | ||
| requesting the name. |
Sorry, the diff of this file is not supported yet
-17
| var createClient = require("flickr-client"); | ||
| var client; | ||
| module.exports = setup; | ||
| function setup (options) { | ||
| client = createClient(options); | ||
| return following; | ||
| } | ||
| function following (userId, callback) { | ||
| client('contacts.getPublicList', { user_id: userId }, function (error, response) { | ||
| if (error) return callback(error); | ||
| callback(undefined, response.contacts.contact); | ||
| }); | ||
| } |
Known malware
Supply chain riskThis package version is identified as malware. It has been flagged either by Socket's AI scanner and confirmed by our threat research team, or is listed as malicious in security databases and other sources.
Found 1 instance in 1 package
Empty package
Supply chain riskPackage does not contain any code. It may be removed, is name squatting, or the result of a faulty package publish.
Found 1 instance in 1 package
No contributors or author data
MaintenancePackage does not specify a list of contributors or an author in package.json.
Found 1 instance in 1 package
No tests
QualityPackage does not have any tests. This is a strong signal of a poorly maintained or low quality package.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
0
-100%0
-100%809
-50.4%2
-50%0
-100%10
-72.22%1
Infinity%1
Infinity%- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed