ctags-prebuilt
Advanced tools
Comparing version 0.0.12 to 0.1.0
@@ -25,5 +25,9 @@ 'use strict'; | ||
var partialMatch = options ? options.partialMatch : null; | ||
var limit = options ? options.limit : null; | ||
if (limit != null && (!(typeof limit === "number") || limit <= 0)) { | ||
throw new TypeError('limit must be a positive integer'); | ||
} | ||
var tagsWrapper = new Tags(tagsFilePath); | ||
tagsWrapper.findTags(tag, partialMatch, caseInsensitive, function(error, tags) { | ||
tagsWrapper.findTags(tag, partialMatch, caseInsensitive, limit, function(error, tags) { | ||
tagsWrapper.end(); | ||
@@ -30,0 +34,0 @@ callback(error, tags); |
@@ -38,4 +38,2 @@ { | ||
}, | ||
"readme": "# pre-binding\n\n[![Build Status](https://travis-ci.org/zertosh/pre-binding.svg?branch=master)](https://travis-ci.org/zertosh/pre-binding)\n\n`pre-binding` is the [`node-pre-gyp`](https://github.com/mapbox/node-pre-gyp) binary module loader for use in modules that are distributed with pre-compiled binaries. `pre-binding` does not have the parts relating to compiling, only the parts relating to `node-pre-gyp`'s `find` method.\n\n## Usage\n\nSame as `node-pre-gyp`'s `find` method.\n", | ||
"readmeFilename": "README.md", | ||
"gitHead": "4c6926dbf9a14e163c235d36fc31411196cca5e9", | ||
@@ -48,3 +46,26 @@ "bugs": { | ||
"_shasum": "a8a4bc880c7e06fb1d35370ec0cb7093566702d9", | ||
"_from": "pre-binding@>=1.0.0 <2.0.0" | ||
"_from": "pre-binding@>=1.0.0 <2.0.0", | ||
"_npmVersion": "2.14.4", | ||
"_nodeVersion": "4.1.1", | ||
"_npmUser": { | ||
"name": "zertosh", | ||
"email": "zertosh@gmail.com" | ||
}, | ||
"dist": { | ||
"shasum": "a8a4bc880c7e06fb1d35370ec0cb7093566702d9", | ||
"tarball": "http://registry.npmjs.org/pre-binding/-/pre-binding-1.0.0.tgz" | ||
}, | ||
"maintainers": [ | ||
{ | ||
"name": "zertosh", | ||
"email": "zertosh@gmail.com" | ||
} | ||
], | ||
"_npmOperationalInternal": { | ||
"host": "packages-6-west.internal.npmjs.com", | ||
"tmp": "tmp/pre-binding-1.0.0.tgz_1456296804683_0.23352009104564786" | ||
}, | ||
"directories": {}, | ||
"_resolved": "https://registry.npmjs.org/pre-binding/-/pre-binding-1.0.0.tgz", | ||
"readme": "ERROR: No README data found!" | ||
} |
{ | ||
"name": "ctags-prebuilt", | ||
"description": "A package for reading source code tag files prebuilt for Mac and Linux", | ||
"version": "0.0.12", | ||
"version": "0.1.0", | ||
"keywords": [ | ||
@@ -6,0 +6,0 @@ "tags", |
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
954277
3687
16
39
10