@graffy/common
Advanced tools
Comparing version 0.12.3 to 0.13.0
@@ -54,3 +54,3 @@ "use strict"; | ||
var result = decorateChildren(graph, links); | ||
var result = graph && decorateChildren(graph, links); | ||
var link; | ||
@@ -57,0 +57,0 @@ |
"use strict"; | ||
exports.__esModule = true; | ||
exports.decodeKey = exports.decodeUrl = exports.encodeKey = exports.encodeUrl = void 0; | ||
exports.decodeKey = exports.decodeUrl = exports.encodeKey = exports.key = exports.encodeUrl = void 0; | ||
@@ -13,3 +13,4 @@ var _url = require("./url.js"); | ||
exports.key = _key.encode; | ||
exports.encodeKey = _key.encode; | ||
exports.decodeKey = _key.decode; |
@@ -5,3 +5,3 @@ { | ||
"author": "aravind (https://github.com/aravindet)", | ||
"version": "0.12.3", | ||
"version": "0.13.0", | ||
"main": "dst/index.js", | ||
@@ -16,3 +16,3 @@ "source": "src/index.js", | ||
"dependencies": { | ||
"@babel/runtime-corejs3": "^7.5.5", | ||
"@babel/runtime-corejs3": "^7.6.3", | ||
"text-encoder-lite": "^2.0.0", | ||
@@ -19,0 +19,0 @@ "merge-async-iterators": "^0.2.1" |
@@ -17,3 +17,3 @@ import { isRange, isBranch, isLink } from '../node'; | ||
export default function decorate(graph, links = []) { | ||
const result = decorateChildren(graph, links); | ||
const result = graph && decorateChildren(graph, links); | ||
@@ -20,0 +20,0 @@ let link; |
export { encode as encodeUrl, decode as decodeUrl } from './url.js'; | ||
export { encode as encodeKey, decode as decodeKey } from './key.js'; | ||
export { | ||
encode as key, | ||
encode as encodeKey, | ||
decode as decodeKey, | ||
} from './key.js'; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
100933
60
2800