Skip to content

Commit d7f5d49

Browse files
committed
Rename mdast-heading > mdast-util-heading-range
1 parent c9e9e50 commit d7f5d49

File tree

8 files changed

+33
-33
lines changed

8 files changed

+33
-33
lines changed

.eslintignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ components/
33
coverage/
44
build.js
55
example.js
6-
mdast-heading.js
7-
mdast-heading.min.js
6+
mdast-util-heading-range.js
7+
mdast-util-heading-range.min.js

.jscs.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
"node_modules/",
77
"build.js",
88
"example.js",
9-
"mdast-heading.js",
10-
"mdast-heading.min.js"
9+
"mdast-util-heading-range.js",
10+
"mdast-util-heading-range.min.js"
1111
],
1212
"jsDoc": {
1313
"checkAnnotations": "jsdoc3",

bower.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "mdast-heading",
3-
"main": "mdast-heading.js",
2+
"name": "mdast-util-heading-range",
3+
"main": "mdast-util-heading-range.js",
44
"description": "Markdown heading as ranges in mdast",
55
"license": "MIT",
66
"keywords": [
@@ -11,7 +11,7 @@
1111
],
1212
"repository": {
1313
"type": "git",
14-
"url": "https://github.com/wooorm/mdast-heading.git"
14+
"url": "https://github.com/wooorm/mdast-util-heading-range.git"
1515
},
1616
"authors": [
1717
"Titus Wormer <[email protected]>"

component.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "mdast-heading",
2+
"name": "mdast-util-heading-range",
33
"version": "1.0.0",
44
"description": "Markdown heading as ranges in mdast",
55
"license": "MIT",
@@ -12,7 +12,7 @@
1212
"dependencies": {
1313
"wooorm/mdast-util-to-string": "^1.0.0"
1414
},
15-
"repository": "wooorm/mdast-heading",
15+
"repository": "wooorm/mdast-util-heading-range",
1616
"scripts": [
1717
"index.js"
1818
]

history.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,31 +5,31 @@
55
1.0.0 / 2015-08-18
66
==================
77

8-
* Refactor to make installation section smaller ([b5699e5](https://github.com/wooorm/mdast-heading/commit/b5699e5))
9-
* Update dependencies, dev-dependencies ([25f00b9](https://github.com/wooorm/mdast-heading/commit/25f00b9))
8+
* Refactor to make installation section smaller ([b5699e5](https://github.com/wooorm/mdast-util-heading-range/commit/b5699e5))
9+
* Update dependencies, dev-dependencies ([25f00b9](https://github.com/wooorm/mdast-util-heading-range/commit/25f00b9))
1010

1111
0.1.3 / 2015-07-12
1212
==================
1313

14-
* Remove peer-dependencies ([47589b6](https://github.com/wooorm/mdast-heading/commit/47589b6))
14+
* Remove peer-dependencies ([47589b6](https://github.com/wooorm/mdast-util-heading-range/commit/47589b6))
1515

1616
0.1.2 / 2015-06-14
1717
==================
1818

19-
* Remove `.npmignore` in favour of `files` in `package.json` ([abfc010](https://github.com/wooorm/mdast-heading/commit/abfc010))
20-
* Add mdast-lint as a dev-dependency ([8520a6c](https://github.com/wooorm/mdast-heading/commit/8520a6c))
21-
* Refactor lint targets ([f1bf4b9](https://github.com/wooorm/mdast-heading/commit/f1bf4b9))
22-
* Add `.editorconfig` ([6765f89](https://github.com/wooorm/mdast-heading/commit/6765f89))
23-
* Update mdast ([e0b6e90](https://github.com/wooorm/mdast-heading/commit/e0b6e90))
24-
* Update browserify, eslint, jscs-jsdoc ([be1259e](https://github.com/wooorm/mdast-heading/commit/be1259e))
19+
* Remove `.npmignore` in favour of `files` in `package.json` ([abfc010](https://github.com/wooorm/mdast-util-heading-range/commit/abfc010))
20+
* Add mdast-lint as a dev-dependency ([8520a6c](https://github.com/wooorm/mdast-util-heading-range/commit/8520a6c))
21+
* Refactor lint targets ([f1bf4b9](https://github.com/wooorm/mdast-util-heading-range/commit/f1bf4b9))
22+
* Add `.editorconfig` ([6765f89](https://github.com/wooorm/mdast-util-heading-range/commit/6765f89))
23+
* Update mdast ([e0b6e90](https://github.com/wooorm/mdast-util-heading-range/commit/e0b6e90))
24+
* Update browserify, eslint, jscs-jsdoc ([be1259e](https://github.com/wooorm/mdast-util-heading-range/commit/be1259e))
2525

2626
0.1.1 / 2015-04-15
2727
==================
2828

29-
* Update eslint ([63ae427](https://github.com/wooorm/mdast-heading/commit/63ae427))
30-
* Update mdast ([09dc2a3](https://github.com/wooorm/mdast-heading/commit/09dc2a3))
31-
* Add mdast-toc as a dependency ([49d1bf3](https://github.com/wooorm/mdast-heading/commit/49d1bf3))
32-
* Rebuild ([7a7ae6e](https://github.com/wooorm/mdast-heading/commit/7a7ae6e))
29+
* Update eslint ([63ae427](https://github.com/wooorm/mdast-util-heading-range/commit/63ae427))
30+
* Update mdast ([09dc2a3](https://github.com/wooorm/mdast-util-heading-range/commit/09dc2a3))
31+
* Add mdast-toc as a dependency ([49d1bf3](https://github.com/wooorm/mdast-util-heading-range/commit/49d1bf3))
32+
* Rebuild ([7a7ae6e](https://github.com/wooorm/mdast-util-heading-range/commit/7a7ae6e))
3333

3434
0.1.0 / 2015-04-15
3535
==================

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "mdast-heading",
2+
"name": "mdast-util-heading-range",
33
"version": "1.0.0",
44
"description": "Markdown heading as ranges in mdast",
55
"license": "MIT",
@@ -12,7 +12,7 @@
1212
"dependencies": {
1313
"mdast-util-to-string": "^1.0.0"
1414
},
15-
"repository": "wooorm/mdast-heading",
15+
"repository": "wooorm/mdast-util-heading-range",
1616
"author": "Titus Wormer <[email protected]>",
1717
"files": [
1818
"index.js"
@@ -42,8 +42,8 @@
4242
"lint-style": "jscs --reporter inline .",
4343
"lint": "npm run lint-api && npm run lint-style",
4444
"make": "npm run lint && npm run test-coverage",
45-
"bundle": "browserify index.js --no-builtins -s mdastHeading > mdast-heading.js",
46-
"postbundle": "esmangle mdast-heading.js > mdast-heading.min.js",
45+
"bundle": "browserify index.js --no-builtins -s mdastUtilHeadingRange > mdast-util-heading-range.js",
46+
"postbundle": "esmangle mdast-util-heading-range.js > mdast-util-heading-range.min.js",
4747
"build-md": "mdast . --output --quiet",
4848
"build": "npm run bundle && npm run build-md"
4949
}

readme.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# mdast-heading [![Build Status](https://img.shields.io/travis/wooorm/mdast-heading.svg)](https://travis-ci.org/wooorm/mdast-heading) [![Coverage Status](https://img.shields.io/codecov/c/github/wooorm/mdast-heading.svg)](https://codecov.io/github/wooorm/mdast-heading)
1+
# mdast-util-heading-range [![Build Status](https://img.shields.io/travis/wooorm/mdast-util-heading-range.svg)](https://travis-ci.org/wooorm/mdast-util-heading-range) [![Coverage Status](https://img.shields.io/codecov/c/github/wooorm/mdast-util-heading-range.svg)](https://codecov.io/github/wooorm/mdast-util-heading-range)
22

33
Markdown heading as ranges in [**mdast**](https://github.com/wooorm/mdast).
44

@@ -7,13 +7,13 @@ Markdown heading as ranges in [**mdast**](https://github.com/wooorm/mdast).
77
[npm](https://docs.npmjs.com/cli/install):
88

99
```bash
10-
npm install mdast-heading
10+
npm install mdast-util-heading-range
1111
```
1212

13-
**mdast-heading** is also available for [bower](http://bower.io/#install-packages),
13+
**mdast-util-heading-range** is also available for [bower](http://bower.io/#install-packages),
1414
[component](https://github.com/componentjs/component), and
1515
[duo](http://duojs.org/#getting-started), and as an AMD, CommonJS, and globals
16-
module, [uncompressed](mdast-heading.js) and [compressed](mdast-heading.min.js).
16+
module, [uncompressed](mdast-util-heading-range.js) and [compressed](mdast-util-heading-range.min.js).
1717

1818
## Table of Contents
1919

@@ -30,7 +30,7 @@ module, [uncompressed](mdast-heading.js) and [compressed](mdast-heading.min.js).
3030
## Usage
3131

3232
```javascript
33-
var heading = require('mdast-heading');
33+
var heading = require('mdast-util-heading-range');
3434
var mdast = require('mdast');
3535
```
3636

test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ function process(value, options) {
4949
* Tests.
5050
*/
5151

52-
describe('mdast-heading()', function () {
52+
describe('mdast-util-heading-range()', function () {
5353
it('should be a function', function () {
5454
equal(typeof heading, 'function');
5555
});
@@ -59,7 +59,7 @@ describe('mdast-heading()', function () {
5959
* Tests.
6060
*/
6161

62-
describe('mdast-heading(heading, callback)', function () {
62+
describe('mdast-util-heading-range(heading, callback)', function () {
6363
it('should accept a heading as string', function () {
6464
equal(process(
6565
'# Fo\n' +

0 commit comments

Comments
 (0)