Socket
Socket
Sign inDemoInstall

remark-github

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

remark-github - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

15

history.md

@@ -1,2 +0,2 @@

<!--mdast setext-->
<!--remark setext-->

@@ -7,2 +7,15 @@ <!--lint disable no-multiple-toplevel-headings-->

2.0.1 / 2015-12-25
==================
* Add node 4, 5 to travis ([cc3992e](https://github.com/wooorm/remark-github/commit/cc3992e))
* Remove distribution files from source ([10d4614](https://github.com/wooorm/remark-github/commit/10d4614))
* Remove support for bower ([bf06b8e](https://github.com/wooorm/remark-github/commit/bf06b8e))
* Remove superfluous ignores ([0b9a667](https://github.com/wooorm/remark-github/commit/0b9a667))
* Update jscs style guidelines ([ea60d82](https://github.com/wooorm/remark-github/commit/ea60d82))
* Refactor npm test target ([308737b](https://github.com/wooorm/remark-github/commit/308737b))
* Refactor to replace mocha with tape ([a6318c0](https://github.com/wooorm/remark-github/commit/a6318c0))
* Update dev-dependencies ([698b551](https://github.com/wooorm/remark-github/commit/698b551))
* Replace internal dependency of mdast > remark ([384629d](https://github.com/wooorm/remark-github/commit/384629d))
2.0.0 / 2015-12-24

@@ -9,0 +22,0 @@ ==================

14

index.js

@@ -101,3 +101,3 @@ /**

* @param {string} sha - Commit hash.
* @return {boolean}
* @return {boolean} - Whether `sha` is not blacklisted.
*/

@@ -112,3 +112,3 @@ function isSHA(sha) {

* @param {string} sha - Commit hash.
* @return {string}
* @return {string} - Abbreviated sha.
*/

@@ -125,3 +125,3 @@ function abbr(sha) {

* @param {string?} project - Project.
* @return {string}
* @return {string} - URL.
*/

@@ -205,3 +205,3 @@ function gh(repo, project) {

(code >= CC_A_LOWER && code <= CC_Z_LOWER) ||
(code >= CC_A_UPPER && code <= CC_Z_UPPER)
(code >= CC_A_UPPER && code <= CC_Z_UPPER);
}

@@ -221,3 +221,3 @@

(code >= CC_A_LOWER && code <= CC_Z_LOWER) ||
(code >= CC_A_UPPER && code <= CC_Z_UPPER)
(code >= CC_A_UPPER && code <= CC_Z_UPPER);
}

@@ -236,3 +236,3 @@

(code >= CC_A_LOWER && code <= CC_Z_LOWER) ||
(code >= CC_A_UPPER && code <= CC_Z_UPPER)
(code >= CC_A_UPPER && code <= CC_Z_UPPER);
}

@@ -720,3 +720,3 @@

href = gh(handle, project || self.github.project) + suffix + reference;
subvalue = value.slice(0, index)
subvalue = value.slice(0, index);
content = handle + (project ? C_SLASH + project : '') + delimiter +

@@ -723,0 +723,0 @@ content;

{
"name": "remark-github",
"version": "2.0.0",
"version": "2.0.1",
"description": "Auto-link references like in GitHub issues, PRs, and comments",

@@ -25,29 +25,27 @@ "license": "MIT",

"devDependencies": {
"browserify": "^11.0.0",
"browserify": "^12.0.0",
"eslint": "^1.0.0",
"esmangle": "^1.0.0",
"istanbul": "^0.3.0",
"istanbul": "^0.4.0",
"jscs": "^2.0.0",
"jscs-jsdoc": "^1.0.0",
"mdast": "^3.0.0-alpha.5",
"mdast-comment-config": "^2.0.0-alpha.1",
"mdast-lint": "^2.0.0-alpha.1",
"mdast-toc": "^1.0.0",
"mdast-usage": "^2.0.0-alpha.1",
"mocha": "^2.0.0"
"remark": "^3.0.0",
"remark-comment-config": "^2.0.0",
"remark-lint": "^2.0.0",
"remark-toc": "^2.0.0",
"remark-usage": "^2.0.0",
"tape": "^4.0.0"
},
"scripts": {
"test-api": "mocha --check-leaks test/index.js",
"test-coverage": "istanbul cover _mocha -- test/index.js",
"test-travis": "npm run test-coverage",
"test": "npm run test-api",
"build-md": "remark . --quiet --frail",
"build-bundle": "browserify --no-builtins index.js -s remarkGitHub > remark-github.js",
"build-mangle": "esmangle remark-github.js > remark-github.min.js",
"build": "npm run build-md && npm run build-bundle && npm run build-mangle",
"lint-api": "eslint .",
"lint-style": "jscs --reporter inline .",
"lint": "npm run lint-api && npm run lint-style",
"make": "npm run lint && npm run test-coverage",
"bundle": "browserify --no-builtins index.js -s remarkGitHub > remark-github.js",
"postbundle": "esmangle remark-github.js > remark-github.min.js",
"build-md": "mdast . --quiet",
"build": "npm run bundle && npm run build-md"
"test-api": "node test/index.js",
"test-coverage": "istanbul cover test/index.js",
"test": "npm run build && npm run lint && npm run test-coverage"
}
}
# remark-github [![Build Status](https://img.shields.io/travis/wooorm/remark-github.svg)](https://travis-ci.org/wooorm/remark-github) [![Coverage Status](https://img.shields.io/codecov/c/github/wooorm/remark-github.svg)](https://codecov.io/github/wooorm/remark-github)
> :warning: **mdast is currently being renamed to remark** :warning:
>
> This means all plug-ins and relating projects change too, causing many
> changes across the ecosystem. Expect the dust to settle in roughly a day.
>
> See this project at the previous stable commit
> [c4a51d1](https://github.com/wooorm/remark-github/commit/c4a51d1).
Auto-link references to commits, issues, pull-requests, and users like GitHub: [Writing on GitHub](https://help.github.com/articles/writing-on-github/#references).

@@ -21,30 +13,6 @@

[Component.js](https://github.com/componentjs/component)
**remark-github** is also available for [duo](http://duojs.org/#getting-started),
and as an AMD, CommonJS, and globals module, [uncompressed and
compressed](https://github.com/wooorm/remark-github/releases).
```bash
component install wooorm/remark-github
```
[Bower](http://bower.io/#install-packages)
```bash
bower install remark-github
```
[Duo](http://duojs.org/#getting-started)
```javascript
var github = require('wooorm/remark-github');
```
UMD: globals, AMD, and CommonJS ([uncompressed](remark-github.js) and [compressed](remark-github.min.js)):
```html
<script src="path/to/remark.js"></script>
<script src="path/to/remark-github.js"></script>
<script>
remark.use(remarkGitHub);
</script>
```
## Table of Contents

@@ -51,0 +19,0 @@

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