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

@collabland/common

Package Overview
Dependencies
Maintainers
1
Versions
83
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@collabland/common - npm Package Compare versions

Comparing version 0.30.3 to 0.31.0

dist/utils/tokenize.d.ts

1

dist/utils/debug.d.ts
import { Debugger } from 'debug';
export { Debugger } from 'debug';
export declare const customInspectSymbol: unique symbol;
/**

@@ -4,0 +5,0 @@ * Debug namespaces

3

dist/utils/debug.js

@@ -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

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