@collabland/common
Advanced tools
Comparing version 0.30.3 to 0.31.0
import { Debugger } from 'debug'; | ||
export { Debugger } from 'debug'; | ||
export declare const customInspectSymbol: unique symbol; | ||
/** | ||
@@ -4,0 +5,0 @@ * Debug namespaces |
@@ -7,3 +7,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.stringify = exports.inspectJson = exports.setDebugSettings = exports.getDebugSettings = exports.isDebugEnabled = exports.enableDebug = exports.debugFactory = exports.debugNamespaces = void 0; | ||
exports.stringify = exports.inspectJson = exports.setDebugSettings = exports.getDebugSettings = exports.isDebugEnabled = exports.enableDebug = exports.debugFactory = exports.debugNamespaces = exports.customInspectSymbol = void 0; | ||
const tslib_1 = require("tslib"); | ||
@@ -14,2 +14,3 @@ const debug_1 = tslib_1.__importDefault(require("debug")); | ||
const env_1 = require("./env"); | ||
exports.customInspectSymbol = Symbol.for('nodejs.util.inspect.custom'); | ||
/** | ||
@@ -16,0 +17,0 @@ * Debug namespaces |
@@ -12,2 +12,3 @@ export * from './bignumber'; | ||
export * from './promise-timeout'; | ||
export * from './tokenize'; | ||
export * from './totp'; |
@@ -19,3 +19,4 @@ "use strict"; | ||
tslib_1.__exportStar(require("./promise-timeout"), exports); | ||
tslib_1.__exportStar(require("./tokenize"), exports); | ||
tslib_1.__exportStar(require("./totp"), exports); | ||
//# sourceMappingURL=index.js.map |
@@ -15,2 +15,3 @@ "use strict"; | ||
const http_client_fetch_1 = require("./http-client-fetch"); | ||
const tokenize_1 = require("./tokenize"); | ||
const debug = (0, debug_1.debugFactory)('collabland:jsonata:trace'); | ||
@@ -469,3 +470,3 @@ /** | ||
function parseRanges(ids) { | ||
const parts = ids.split(/[,\s]+/).filter(Boolean); | ||
const parts = (0, tokenize_1.tokenize)(ids); | ||
return parts.map(id => { | ||
@@ -472,0 +473,0 @@ if (!isGlobPattern(id) && id.includes('-')) { |
{ | ||
"name": "@collabland/common", | ||
"version": "0.30.3", | ||
"version": "0.31.0", | ||
"description": "CollabLand common utilities", | ||
@@ -44,3 +44,3 @@ "main": "dist/index.js", | ||
"debug": "^4.3.4", | ||
"http-errors": "^1.8.0", | ||
"http-errors": "^2.0.0", | ||
"jsonata": "^1.8.4", | ||
@@ -66,3 +66,3 @@ "jsonwebtoken": "^8.5.1", | ||
"author": "Abridged, Inc.", | ||
"gitHead": "e25dfe7ab4ac6ec72480ba99373f84abc5137acc" | ||
"gitHead": "77c49c79497520440839ab041695d4b3f99f86d9" | ||
} |
@@ -13,2 +13,4 @@ // Copyright Abridged, Inc. 2021. All Rights Reserved. | ||
export const customInspectSymbol = Symbol.for('nodejs.util.inspect.custom'); | ||
/** | ||
@@ -15,0 +17,0 @@ * Debug namespaces |
@@ -17,2 +17,3 @@ // Copyright Abridged, Inc. 2021. All Rights Reserved. | ||
export * from './promise-timeout'; | ||
export * from './tokenize'; | ||
export * from './totp'; |
@@ -13,2 +13,3 @@ // Copyright Abridged, Inc. 2021. All Rights Reserved. | ||
import {HttpErrors} from './http-client-fetch'; | ||
import {tokenize} from './tokenize'; | ||
@@ -629,3 +630,3 @@ export {IOptions as GlobOptions} from 'minimatch'; | ||
export function parseRanges(ids: string): ([string, string] | string)[] { | ||
const parts = ids.split(/[,\s]+/).filter(Boolean); | ||
const parts = tokenize(ids); | ||
return parts.map(id => { | ||
@@ -632,0 +633,0 @@ if (!isGlobPattern(id) && id.includes('-')) { |
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
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
185779
67
4585
+ Addeddepd@2.0.0(transitive)
+ Addedhttp-errors@2.0.0(transitive)
+ Addedstatuses@2.0.1(transitive)
- Removeddepd@1.1.2(transitive)
- Removedhttp-errors@1.8.1(transitive)
- Removedstatuses@1.5.0(transitive)
Updatedhttp-errors@^2.0.0