+2
-2
| /*! | ||
| * reflinks <https://github.com/jonschlinkert/reflinks> | ||
| * | ||
| * Copyright (c) 2015, Jon Schlinkert. | ||
| * Licensed under the MIT License. | ||
| * Copyright (c) 2015-2018, Jon Schlinkert. | ||
| * Released under the MIT License. | ||
| */ | ||
@@ -7,0 +7,0 @@ |
+1
-1
| The MIT License (MIT) | ||
| Copyright (c) 2015-2016, Jon Schlinkert. | ||
| Copyright (c) 2015-2018, Jon Schlinkert. | ||
@@ -5,0 +5,0 @@ Permission is hereby granted, free of charge, to any person obtaining a copy |
+8
-22
| { | ||
| "name": "reflinks", | ||
| "description": "Generate (relative) reference links for a glob of markdown files, allowing you to more easily create references from one file to another.", | ||
| "version": "0.3.5", | ||
| "version": "0.3.6", | ||
| "homepage": "https://github.com/jonschlinkert/reflinks", | ||
@@ -18,3 +18,3 @@ "author": "Jon Schlinkert (https://github.com/jonschlinkert)", | ||
| "engines": { | ||
| "node": ">=0.10.0" | ||
| "node": ">=8" | ||
| }, | ||
@@ -26,19 +26,13 @@ "scripts": { | ||
| "async-each": "^1.0.1", | ||
| "data-store": "^0.16.1", | ||
| "data-store": "^3.0.0", | ||
| "date-store": "^0.1.2", | ||
| "extend-shallow": "^2.0.1", | ||
| "get-pkg": "^0.3.0", | ||
| "lazy-cache": "^2.0.2", | ||
| "extend-shallow": "^3.0.2", | ||
| "get-pkg": "^1.0.0", | ||
| "markdown-reference": "^0.1.0", | ||
| "ora": "^0.4.0", | ||
| "ora": "^2.1.0", | ||
| "pkg-homepage": "^0.1.1" | ||
| }, | ||
| "devDependencies": { | ||
| "gulp": "^3.9.1", | ||
| "gulp-eslint": "^3.0.1", | ||
| "gulp-format-md": "^0.1.11", | ||
| "gulp-istanbul": "^1.1.1", | ||
| "gulp-mocha": "^3.0.1", | ||
| "gulp-unused": "^0.2.0", | ||
| "mocha": "^3.2.0" | ||
| "gulp-format-md": "^1.0.0", | ||
| "mocha": "^3.5.3" | ||
| }, | ||
@@ -58,10 +52,2 @@ "keywords": [ | ||
| ], | ||
| "reflinks": [ | ||
| "markdown-utils", | ||
| "matched", | ||
| "pkg-cache", | ||
| "remarkable", | ||
| "verb", | ||
| "verb-readme-generator" | ||
| ], | ||
| "related": { | ||
@@ -68,0 +54,0 @@ "list": [ |
+42
-20
@@ -1,5 +0,7 @@ | ||
| # reflinks [](https://www.npmjs.com/package/reflinks) [](https://npmjs.org/package/reflinks) [](https://travis-ci.org/jonschlinkert/reflinks) | ||
| # reflinks [](https://www.npmjs.com/package/reflinks) [](https://npmjs.org/package/reflinks) [](https://npmjs.org/package/reflinks) [](https://travis-ci.org/jonschlinkert/reflinks) | ||
| Generate (relative) reference links for a glob of markdown files, allowing you to more easily create references from one file to another. | ||
| > Generate (relative) reference links for a glob of markdown files, allowing you to more easily create references from one file to another. | ||
| Please consider following this project's author, [Jon Schlinkert](https://github.com/jonschlinkert), and consider starring the project to show your :heart: and support. | ||
| ## Install | ||
@@ -68,29 +70,48 @@ | ||
| ### Related projects | ||
| <details> | ||
| <summary><strong>Contributing</strong></summary> | ||
| * [markdown-utils](https://www.npmjs.com/package/markdown-utils): Micro-utils for creating markdown snippets. | [homepage](https://github.com/jonschlinkert/markdown-utils) | ||
| * [remarkable](https://www.npmjs.com/package/remarkable): Markdown parser, done right. 100% Commonmark support, extensions, syntax plugins, high speed - all in… [more](https://github.com/jonschlinkert/remarkable) | [homepage](https://github.com/jonschlinkert/remarkable) | ||
| ### Contributing | ||
| Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new). | ||
| ### Building docs | ||
| </details> | ||
| _(This document was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme) (a [verb](https://github.com/verbose/verb) generator), please don't edit the readme directly. Any changes to the readme must be made in [.verb.md](.verb.md).)_ | ||
| <details> | ||
| <summary><strong>Running Tests</strong></summary> | ||
| To generate the readme and API documentation with [verb](https://github.com/verbose/verb): | ||
| Running and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command: | ||
| ```sh | ||
| $ npm install -g verb verb-generate-readme && verb | ||
| $ npm install && npm test | ||
| ``` | ||
| ### Running tests | ||
| </details> | ||
| Install dev dependencies: | ||
| <details> | ||
| <summary><strong>Building docs</strong></summary> | ||
| _(This project's readme.md is generated by [verb](https://github.com/verbose/verb-generate-readme), please don't edit the readme directly. Any changes to the readme must be made in the [.verb.md](.verb.md) readme template.)_ | ||
| To generate the readme, run the following command: | ||
| ```sh | ||
| $ npm install -d && npm test | ||
| $ npm install -g verbose/verb#dev verb-generate-readme && verb | ||
| ``` | ||
| </details> | ||
| ### Related projects | ||
| You might also be interested in these projects: | ||
| * [markdown-utils](https://www.npmjs.com/package/markdown-utils): Micro-utils for creating markdown snippets. | [homepage](https://github.com/jonschlinkert/markdown-utils "Micro-utils for creating markdown snippets.") | ||
| * [remarkable](https://www.npmjs.com/package/remarkable): Markdown parser, done right. 100% Commonmark support, extensions, syntax plugins, high speed - all in… [more](https://github.com/jonschlinkert/remarkable) | [homepage](https://github.com/jonschlinkert/remarkable "Markdown parser, done right. 100% Commonmark support, extensions, syntax plugins, high speed - all in one.") | ||
| ### Contributors | ||
| | **Commits** | **Contributor** | | ||
| | --- | --- | | ||
| | 50 | [jonschlinkert](https://github.com/jonschlinkert) | | ||
| | 4 | [stefanwalther](https://github.com/stefanwalther) | | ||
| | 2 | [charlike-old](https://github.com/charlike-old) | | ||
| ### Author | ||
@@ -100,12 +121,13 @@ | ||
| * [github/jonschlinkert](https://github.com/jonschlinkert) | ||
| * [twitter/jonschlinkert](http://twitter.com/jonschlinkert) | ||
| * [LinkedIn Profile](https://linkedin.com/in/jonschlinkert) | ||
| * [GitHub Profile](https://github.com/jonschlinkert) | ||
| * [Twitter Profile](https://twitter.com/jonschlinkert) | ||
| ### License | ||
| Copyright © 2016, [Jon Schlinkert](https://github.com/jonschlinkert). | ||
| Released under the [MIT license](https://github.com/jonschlinkert/reflinks/blob/master/LICENSE). | ||
| Copyright © 2018, [Jon Schlinkert](https://github.com/jonschlinkert). | ||
| Released under the [MIT License](LICENSE). | ||
| *** | ||
| _This file was generated by [verb](https://github.com/verbose/verb), v0.9.0, on July 18, 2016._ | ||
| _This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.6.0, on May 29, 2018._ |
+12
-19
| 'use strict'; | ||
| var utils = require('lazy-cache')(require); | ||
| var fn = require; | ||
| require = utils; | ||
| define(exports, 'each', () => require('async-each')); | ||
| define(exports, 'pkg', () => require('get-pkg')); | ||
| define(exports, 'extend', () => require('extend-shallow')); | ||
| define(exports, 'homepage', () => require('pkg-homepage')); | ||
| define(exports, 'reference', () => require('markdown-reference')); | ||
| define(exports, 'Dates', () => require('date-store')); | ||
| define(exports, 'Store', () => require('data-store')); | ||
| require('async-each', 'each'); | ||
| require('get-pkg', 'pkg'); | ||
| require('extend-shallow', 'extend'); | ||
| require('pkg-homepage', 'homepage'); | ||
| require('markdown-reference', 'reference'); | ||
| require('date-store', 'Dates'); | ||
| require('data-store', 'Store'); | ||
| require = fn; | ||
| function define(obj, key, fn) { | ||
| Object.defineProperty(obj, key, { get: fn }); | ||
| } | ||
| utils.arrayify = function(val) { | ||
| exports.arrayify = function(val) { | ||
| return val ? (Array.isArray(val) ? val : [val]) : []; | ||
| }; | ||
| utils.isCached = function(store, name, timespan) { | ||
| exports.isCached = function(store, name, timespan) { | ||
| return store.has(name) && store.lastSaved(name).lessThan(timespan); | ||
| }; | ||
| /** | ||
| * Expose utils | ||
| */ | ||
| module.exports = utils; |
10591
8.21%8
-11.11%2
-71.43%131
20.18%128
-3.76%+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
- 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
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
Updated
Updated
Updated
Updated