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

@studiohyperdrive/hal-tools

Package Overview
Dependencies
Maintainers
14
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@studiohyperdrive/hal-tools - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

2

coverage/coverage-final.json

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

{"/Users/anneliesbellon/Documents/Projects/StudioHyperdrive/hal-tools/src/hal-format.helper.ts": {"path":"/Users/anneliesbellon/Documents/Projects/StudioHyperdrive/hal-tools/src/hal-format.helper.ts","statementMap":{"0":{"start":{"line":9,"column":1},"end":{"line":9,"column":40}},"1":{"start":{"line":8,"column":0},"end":{"line":8,"column":16}},"2":{"start":{"line":23,"column":1},"end":{"line":28,"column":3}},"3":{"start":{"line":18,"column":0},"end":{"line":18,"column":16}},"4":{"start":{"line":37,"column":1},"end":{"line":37,"column":67}},"5":{"start":{"line":36,"column":0},"end":{"line":36,"column":16}},"6":{"start":{"line":49,"column":7},"end":{"line":49,"column":9}},"7":{"start":{"line":49,"column":19},"end":{"line":49,"column":21}},"8":{"start":{"line":49,"column":27},"end":{"line":49,"column":45}},"9":{"start":{"line":51,"column":1},"end":{"line":64,"column":3}},"10":{"start":{"line":47,"column":0},"end":{"line":47,"column":16}},"11":{"start":{"line":78,"column":5},"end":{"line":78,"column":null}},"12":{"start":{"line":79,"column":4},"end":{"line":79,"column":null}},"13":{"start":{"line":80,"column":9},"end":{"line":80,"column":null}},"14":{"start":{"line":81,"column":5},"end":{"line":81,"column":null}},"15":{"start":{"line":82,"column":5},"end":{"line":82,"column":null}},"16":{"start":{"line":83,"column":14},"end":{"line":83,"column":null}},"17":{"start":{"line":85,"column":15},"end":{"line":85,"column":61}},"18":{"start":{"line":87,"column":1},"end":{"line":94,"column":null}},"19":{"start":{"line":77,"column":0},"end":{"line":77,"column":16}}},"fnMap":{"0":{"name":"calculateTotalPages","decl":{"start":{"line":8,"column":16},"end":{"line":8,"column":35}},"loc":{"start":{"line":8,"column":71},"end":{"line":10,"column":1}}},"1":{"name":"calculatePagination","decl":{"start":{"line":18,"column":16},"end":{"line":18,"column":35}},"loc":{"start":{"line":21,"column":22},"end":{"line":29,"column":1}}},"2":{"name":"calculateNextPage","decl":{"start":{"line":36,"column":16},"end":{"line":36,"column":33}},"loc":{"start":{"line":36,"column":73},"end":{"line":38,"column":1}}},"3":{"name":"createHalLinks","decl":{"start":{"line":47,"column":16},"end":{"line":47,"column":30}},"loc":{"start":{"line":49,"column":45},"end":{"line":65,"column":1}}},"4":{"name":"HALFormat","decl":{"start":{"line":77,"column":16},"end":{"line":77,"column":25}},"loc":{"start":{"line":84,"column":22},"end":{"line":96,"column":1}}}},"branchMap":{"0":{"loc":{"start":{"line":37,"column":37},"end":{"line":37,"column":48}},"type":"cond-expr","locations":[{"start":{"line":37,"column":37},"end":{"line":37,"column":48}},{"start":{"line":37,"column":51},"end":{"line":37,"column":66}}]},"1":{"loc":{"start":{"line":88,"column":5},"end":{"line":88,"column":9}},"type":"binary-expr","locations":[{"start":{"line":88,"column":5},"end":{"line":88,"column":9}},{"start":{"line":88,"column":13},"end":{"line":90,"column":null}}]}},"s":{"0":9,"1":1,"2":6,"3":1,"4":7,"5":1,"6":3,"7":3,"8":3,"9":3,"10":1,"11":2,"12":2,"13":2,"14":2,"15":2,"16":2,"17":2,"18":2,"19":1},"f":{"0":9,"1":6,"2":7,"3":3,"4":2},"b":{"0":[4,3],"1":[2,1]}}
{"/Users/anneliesbellon/Documents/Projects/StudioHyperdrive/hal-tools/src/hal-format.helper.ts": {"path":"/Users/anneliesbellon/Documents/Projects/StudioHyperdrive/hal-tools/src/hal-format.helper.ts","statementMap":{"0":{"start":{"line":9,"column":1},"end":{"line":9,"column":40}},"1":{"start":{"line":8,"column":0},"end":{"line":8,"column":16}},"2":{"start":{"line":23,"column":1},"end":{"line":28,"column":3}},"3":{"start":{"line":18,"column":0},"end":{"line":18,"column":16}},"4":{"start":{"line":37,"column":1},"end":{"line":37,"column":67}},"5":{"start":{"line":36,"column":0},"end":{"line":36,"column":16}},"6":{"start":{"line":49,"column":7},"end":{"line":49,"column":9}},"7":{"start":{"line":49,"column":19},"end":{"line":49,"column":21}},"8":{"start":{"line":49,"column":27},"end":{"line":49,"column":45}},"9":{"start":{"line":51,"column":1},"end":{"line":64,"column":3}},"10":{"start":{"line":47,"column":0},"end":{"line":47,"column":16}},"11":{"start":{"line":78,"column":5},"end":{"line":78,"column":null}},"12":{"start":{"line":79,"column":4},"end":{"line":79,"column":null}},"13":{"start":{"line":80,"column":9},"end":{"line":80,"column":null}},"14":{"start":{"line":81,"column":5},"end":{"line":81,"column":null}},"15":{"start":{"line":82,"column":5},"end":{"line":82,"column":null}},"16":{"start":{"line":83,"column":14},"end":{"line":83,"column":null}},"17":{"start":{"line":85,"column":15},"end":{"line":85,"column":61}},"18":{"start":{"line":87,"column":1},"end":{"line":94,"column":null}},"19":{"start":{"line":77,"column":0},"end":{"line":77,"column":16}}},"fnMap":{"0":{"name":"calculateTotalPages","decl":{"start":{"line":8,"column":16},"end":{"line":8,"column":35}},"loc":{"start":{"line":8,"column":71},"end":{"line":10,"column":1}}},"1":{"name":"calculatePagination","decl":{"start":{"line":18,"column":16},"end":{"line":18,"column":35}},"loc":{"start":{"line":21,"column":22},"end":{"line":29,"column":1}}},"2":{"name":"calculateNextPage","decl":{"start":{"line":36,"column":16},"end":{"line":36,"column":33}},"loc":{"start":{"line":36,"column":73},"end":{"line":38,"column":1}}},"3":{"name":"createHalLinks","decl":{"start":{"line":47,"column":16},"end":{"line":47,"column":30}},"loc":{"start":{"line":49,"column":45},"end":{"line":65,"column":1}}},"4":{"name":"HALFormat","decl":{"start":{"line":77,"column":16},"end":{"line":77,"column":25}},"loc":{"start":{"line":84,"column":22},"end":{"line":96,"column":1}}}},"branchMap":{"0":{"loc":{"start":{"line":37,"column":8},"end":{"line":37,"column":66}},"type":"cond-expr","locations":[{"start":{"line":37,"column":37},"end":{"line":37,"column":48}},{"start":{"line":37,"column":51},"end":{"line":37,"column":66}}]},"1":{"loc":{"start":{"line":88,"column":5},"end":{"line":90,"column":null}},"type":"binary-expr","locations":[{"start":{"line":88,"column":5},"end":{"line":88,"column":9}},{"start":{"line":88,"column":13},"end":{"line":90,"column":null}}]}},"s":{"0":9,"1":1,"2":6,"3":1,"4":7,"5":1,"6":3,"7":3,"8":3,"9":3,"10":1,"11":2,"12":2,"13":2,"14":2,"15":2,"16":2,"17":2,"18":2,"19":1},"f":{"0":9,"1":6,"2":7,"3":3,"4":2},"b":{"0":[4,3],"1":[2,1]}}
}

@@ -66,2 +66,10 @@ /* eslint-disable */

return function jump(event) {
if (
document.getElementById('fileSearch') === document.activeElement &&
document.activeElement != null
) {
// if we're currently focused on the search input, we don't want to navigate
return;
}
switch (event.which) {

@@ -68,0 +76,0 @@ case 78: // n

@@ -27,2 +27,27 @@ /* eslint-disable */

function onFilterInput() {
const searchValue = document.getElementById('fileSearch').value;
const rows = document.getElementsByTagName('tbody')[0].children;
for (let i = 0; i < rows.length; i++) {
const row = rows[i];
if (
row.textContent
.toLowerCase()
.includes(searchValue.toLowerCase())
) {
row.style.display = '';
} else {
row.style.display = 'none';
}
}
}
// loads the search box
function addSearchBox() {
var template = document.getElementById('filterTemplate');
var templateClone = template.content.cloneNode(true);
templateClone.getElementById('fileSearch').oninput = onFilterInput;
template.parentElement.appendChild(templateClone);
}
// loads all columns

@@ -166,2 +191,3 @@ function loadColumns() {

loadData();
addSearchBox();
addSortIndicators();

@@ -168,0 +194,0 @@ enableUI();

@@ -62,9 +62,9 @@ "use strict";

first: {
href: path + "?page=1&pagesize=" + size,
href: "".concat(path, "?page=1&pagesize=").concat(size),
},
last: {
href: path + "?page=" + totalPages + "&pagesize=" + size,
href: "".concat(path, "?page=").concat(totalPages, "&pagesize=").concat(size),
},
next: {
href: path + "?page=" + calculateNextPage(totalPages, number) + "&pagesize=" + size,
href: "".concat(path, "?page=").concat(calculateNextPage(totalPages, number), "&pagesize=").concat(size),
},

@@ -71,0 +71,0 @@ };

"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {

@@ -6,0 +10,0 @@ if (k2 === undefined) k2 = k;

{
"name": "@studiohyperdrive/hal-tools",
"version": "1.1.0",
"version": "1.1.1",
"description": "",

@@ -17,14 +17,14 @@ "main": "dist/index.js",

"devDependencies": {
"@types/jest": "^26.0.19",
"@types/node": "^14.14.14",
"@typescript-eslint/eslint-plugin": "3.9.1",
"@typescript-eslint/parser": "3.9.1",
"eslint": "7.7.0",
"eslint-config-prettier": "^6.10.0",
"eslint-plugin-import": "^2.20.1",
"eslint-plugin-prettier": "^3.1.4",
"jest": "^26.6.3",
"prettier": "^1.19.1",
"ts-jest": "^26.4.4",
"typescript": "^4.1.3"
"@types/jest": "^27.5.1",
"@types/node": "^17.0.34",
"@typescript-eslint/eslint-plugin": "^5.25.0",
"@typescript-eslint/parser": "^5.25.0",
"eslint": "^8.15.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-prettier": "^4.0.0",
"jest": "^28.1.0",
"prettier": "^2.6.2",
"ts-jest": "^28.0.2",
"typescript": "^4.6.4"
},

@@ -31,0 +31,0 @@ "jest": {

@@ -5,2 +5,4 @@ # Studio Hyperdrive HAL Toolset

WARNING: This package has been renamed to [@studiohyperdrive/nodejs-hal-tools](https://www.npmjs.com/package/@studiohyperdrive/nodejs-hal-tools).
This repo contains a set of tools for working with HAL standards.

@@ -7,0 +9,0 @@

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

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