Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

hal-browser

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hal-browser - npm Package Compare versions

Comparing version 0.7.2 to 0.7.3

9

changelog.md

@@ -0,1 +1,8 @@

0.7.3 (2019-04-17)
==================
* Now showing links as 'Deprecated' or 'Gone' if they are marked as such
using [draft-nottingham-link-hint][link-hint].
0.7.2 (2019-03-26)

@@ -177,1 +184,3 @@ ==================

* First version
[link-hint]: https://tools.ietf.org/html/draft-nottingham-link-hint

13

dist/components/links-table.js

@@ -34,3 +34,14 @@ "use strict";

}
linkHtml += '<td>' + (link.title ? util_1.h(link.title) : '') + '</td>';
let linkBadges = '';
if (link.hints && link.hints.status) {
switch (link.hints.status) {
case 'deprecated':
linkBadges = ' <span class="link-badge status-deprecated">Deprecated</status>';
break;
case 'gone':
linkBadges = ' <span class="link-badge status-gone">Gone</status>';
break;
}
}
linkHtml += '<td>' + (link.title ? util_1.h(link.title) : '') + linkBadges + '</td>';
linkHtml += '</tr>\n';

@@ -37,0 +48,0 @@ }

@@ -67,2 +67,5 @@ /**

rendered?: boolean;
hints?: {
status?: 'deprecated' | 'gone';
};
};

@@ -101,2 +101,3 @@ "use strict";

templated: link.templated,
hints: link.hints
});

@@ -103,0 +104,0 @@ }

16

package.json
{
"name": "hal-browser",
"version": "0.7.2",
"version": "0.7.3",
"description": "A HAL browser middleware",

@@ -43,11 +43,11 @@ "main": "dist/index.js",

"@types/mocha": "^5.2.6",
"@types/node": "^11.12.0",
"@types/sinon": "^7.0.10",
"@types/node": "^11.13.5",
"@types/sinon": "^7.0.11",
"chai": "^4.2.0",
"mocha": "^5.2.0",
"nyc": "^13.3.0",
"sinon": "^7.3.0",
"ts-node": "^8.0.3",
"tslint": "^5.14.0",
"typescript": "^3.3.4000"
"sinon": "^7.3.2",
"ts-node": "^8.1.0",
"tslint": "^5.16.0",
"typescript": "^3.4.3"
},

@@ -61,3 +61,3 @@ "types": "dist/",

"dependencies": {
"@curveball/core": "^0.8.1",
"@curveball/core": "^0.8.6",
"csv-parse": "^2.5.0",

@@ -64,0 +64,0 @@ "highlight.js": "^9.15.6",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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