Skip to content

Commit

Permalink
[data-mate, scripts, teraslice, utils] update mnemonist to 0.40.1 (#3950
Browse files Browse the repository at this point in the history
)
  • Loading branch information
busma13 authored Feb 10, 2025
1 parent 1f1dfcc commit 76b3afe
Show file tree
Hide file tree
Showing 24 changed files with 124 additions and 121 deletions.
6 changes: 3 additions & 3 deletions e2e/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,11 @@
"ms": "~2.1.3"
},
"devDependencies": {
"@terascope/scripts": "~1.10.2",
"@terascope/scripts": "~1.10.3",
"@terascope/types": "~1.4.1",
"@terascope/utils": "~1.7.3",
"@terascope/utils": "~1.7.4",
"bunyan": "~1.8.15",
"elasticsearch-store": "~1.8.1",
"elasticsearch-store": "~1.8.2",
"fs-extra": "~11.3.0",
"jest": "^29.7.0",
"jest-extended": "^4.0.2",
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "teraslice-workspace",
"displayName": "Teraslice",
"version": "2.12.5",
"version": "2.12.6",
"private": true,
"homepage": "https://github.com/terascope/teraslice",
"bugs": {
Expand Down Expand Up @@ -53,7 +53,7 @@
"@eslint/js": "~9.20.0",
"@swc/core": "1.10.15",
"@swc/jest": "~0.2.37",
"@terascope/scripts": "~1.10.2",
"@terascope/scripts": "~1.10.3",
"@types/bluebird": "~3.5.42",
"@types/convict": "~6.1.6",
"@types/elasticsearch": "~5.0.43",
Expand Down
10 changes: 5 additions & 5 deletions packages/data-mate/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@terascope/data-mate",
"displayName": "Data-Mate",
"version": "1.7.4",
"version": "1.7.5",
"description": "Library of data validations/transformations",
"homepage": "https://github.com/terascope/teraslice/tree/master/packages/data-mate#readme",
"repository": {
Expand Down Expand Up @@ -30,9 +30,9 @@
"test:watch": "yarn workspace @terascope/scripts ts-scripts test --watch ../data-mate --"
},
"dependencies": {
"@terascope/data-types": "~1.7.3",
"@terascope/data-types": "~1.7.4",
"@terascope/types": "~1.4.1",
"@terascope/utils": "~1.7.3",
"@terascope/utils": "~1.7.4",
"@types/validator": "~13.12.2",
"awesome-phonenumber": "~7.2.0",
"date-fns": "~4.1.0",
Expand All @@ -41,11 +41,11 @@
"ipaddr.js": "~2.2.0",
"is-cidr": "~5.1.0",
"jexl": "~2.3.0",
"mnemonist": "~0.39.8",
"mnemonist": "~0.40.1",
"uuid": "~11.0.5",
"valid-url": "~1.0.9",
"validator": "~13.12.0",
"xlucene-parser": "~1.7.4"
"xlucene-parser": "~1.7.5"
},
"devDependencies": {
"@types/ip6addr": "~0.2.6",
Expand Down
7 changes: 2 additions & 5 deletions packages/data-mate/src/core/WritableData.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
import { getTypeOf, isInteger } from '@terascope/utils';
import type { Maybe, TypedArrayConstructor } from '@terascope/types';
import * as dataStructurePkg from 'mnemonist';

// @ts-expect-error
const { SparseMap } = dataStructurePkg.default;
import { SparseMap } from 'mnemonist';

/**
* A generic write-only optimized view of data used for Builders.
Expand All @@ -29,7 +26,7 @@ export class WritableData<T> {
/**
* The value to indices Map
*/
private readonly _values: dataStructurePkg.SparseMap<T>;
private readonly _values: SparseMap<T>;

/**
* The total number of values stored
Expand Down
4 changes: 2 additions & 2 deletions packages/data-types/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@terascope/data-types",
"displayName": "Data Types",
"version": "1.7.3",
"version": "1.7.4",
"description": "A library for defining the data structures and mapping",
"homepage": "https://github.com/terascope/teraslice/tree/master/packages/data-types#readme",
"bugs": {
Expand All @@ -28,7 +28,7 @@
},
"dependencies": {
"@terascope/types": "~1.4.1",
"@terascope/utils": "~1.7.3",
"@terascope/utils": "~1.7.4",
"graphql": "~16.10.0",
"yargs": "~17.7.2"
},
Expand Down
6 changes: 3 additions & 3 deletions packages/elasticsearch-api/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@terascope/elasticsearch-api",
"displayName": "Elasticsearch API",
"version": "4.8.1",
"version": "4.8.2",
"description": "Elasticsearch client api used across multiple services, handles retries and exponential backoff",
"homepage": "https://github.com/terascope/teraslice/tree/master/packages/elasticsearch-api#readme",
"bugs": {
Expand All @@ -25,15 +25,15 @@
},
"dependencies": {
"@terascope/types": "~1.4.1",
"@terascope/utils": "~1.7.3",
"@terascope/utils": "~1.7.4",
"bluebird": "~3.7.2",
"setimmediate": "~1.0.5"
},
"devDependencies": {
"@opensearch-project/opensearch": "~1.2.0",
"@types/elasticsearch": "~5.0.43",
"elasticsearch": "~15.4.1",
"elasticsearch-store": "~1.8.1",
"elasticsearch-store": "~1.8.2",
"elasticsearch6": "npm:@elastic/elasticsearch@~6.8.0",
"elasticsearch7": "npm:@elastic/elasticsearch@~7.17.0",
"elasticsearch8": "npm:@elastic/elasticsearch@~8.15.0"
Expand Down
10 changes: 5 additions & 5 deletions packages/elasticsearch-store/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "elasticsearch-store",
"displayName": "Elasticsearch Store",
"version": "1.8.1",
"version": "1.8.2",
"description": "An API for managing an elasticsearch index, with versioning and migration support.",
"homepage": "https://github.com/terascope/teraslice/tree/master/packages/elasticsearch-store#readme",
"bugs": {
Expand Down Expand Up @@ -30,10 +30,10 @@
"test:watch": "ts-scripts yarn workspace @terascope/scripts test --watch ../elasticsearch-store --"
},
"dependencies": {
"@terascope/data-mate": "~1.7.4",
"@terascope/data-types": "~1.7.3",
"@terascope/data-mate": "~1.7.5",
"@terascope/data-types": "~1.7.4",
"@terascope/types": "~1.4.1",
"@terascope/utils": "~1.7.3",
"@terascope/utils": "~1.7.4",
"ajv": "~8.17.1",
"ajv-formats": "~3.0.1",
"elasticsearch6": "npm:@elastic/elasticsearch@~6.8.0",
Expand All @@ -43,7 +43,7 @@
"opensearch2": "npm:@opensearch-project/opensearch@~2.12.0",
"setimmediate": "~1.0.5",
"uuid": "~11.0.5",
"xlucene-translator": "~1.7.4"
"xlucene-translator": "~1.7.5"
},
"devDependencies": {
"@types/uuid": "~10.0.0"
Expand Down
4 changes: 2 additions & 2 deletions packages/job-components/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@terascope/job-components",
"displayName": "Job Components",
"version": "1.9.4",
"version": "1.9.5",
"description": "A teraslice library for validating jobs schemas, registering apis, and defining and running new Job APIs",
"homepage": "https://github.com/terascope/teraslice/tree/master/packages/job-components#readme",
"bugs": {
Expand Down Expand Up @@ -33,7 +33,7 @@
},
"dependencies": {
"@terascope/types": "~1.4.1",
"@terascope/utils": "~1.7.3",
"@terascope/utils": "~1.7.4",
"convict": "~6.2.4",
"convict-format-with-moment": "~6.2.0",
"convict-format-with-validator": "~6.2.0",
Expand Down
6 changes: 3 additions & 3 deletions packages/scripts/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@terascope/scripts",
"displayName": "Scripts",
"version": "1.10.2",
"version": "1.10.3",
"description": "A collection of terascope monorepo scripts",
"homepage": "https://github.com/terascope/teraslice/tree/master/packages/scripts#readme",
"bugs": {
Expand Down Expand Up @@ -33,7 +33,7 @@
},
"dependencies": {
"@kubernetes/client-node": "~0.22.3",
"@terascope/utils": "~1.7.3",
"@terascope/utils": "~1.7.4",
"codecov": "~3.8.3",
"execa": "~9.5.2",
"fs-extra": "~11.3.0",
Expand All @@ -43,7 +43,7 @@
"js-yaml": "~4.1.0",
"kafkajs": "~2.2.4",
"micromatch": "~4.0.8",
"mnemonist": "~0.39.8",
"mnemonist": "~0.40.1",
"ms": "~2.1.3",
"package-json": "~10.0.1",
"package-up": "~5.0.0",
Expand Down
5 changes: 1 addition & 4 deletions packages/scripts/src/helpers/packages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ import {
uniq, fastCloneDeep, get, trim
} from '@terascope/utils';
import toposort from 'toposort';
// import MultiMap from 'mnemonist/multi-map'
import mem from 'mnemonist';
import { MultiMap } from 'mnemonist';

import packageJson, { PackageNotFoundError, VersionNotFoundError } from 'package-json';
import sortPackageJson from 'sort-package-json';
Expand All @@ -18,8 +17,6 @@ import {
} from './misc.js';
import * as i from './interfaces.js';

const { MultiMap } = mem;

let _packages: i.PackageInfo[] = [];
let _e2eDir: string | undefined;
let _e2e_k8s_dir: string | undefined;
Expand Down
6 changes: 3 additions & 3 deletions packages/terafoundation/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "terafoundation",
"displayName": "Terafoundation",
"version": "1.10.1",
"version": "1.10.2",
"description": "A Clustering and Foundation tool for Terascope Tools",
"homepage": "https://github.com/terascope/teraslice/tree/master/packages/terafoundation#readme",
"bugs": {
Expand Down Expand Up @@ -30,14 +30,14 @@
"dependencies": {
"@terascope/file-asset-apis": "~1.0.3",
"@terascope/types": "~1.4.1",
"@terascope/utils": "~1.7.3",
"@terascope/utils": "~1.7.4",
"bluebird": "~3.7.2",
"bunyan": "~1.8.15",
"convict": "~6.2.4",
"convict-format-with-moment": "~6.2.0",
"convict-format-with-validator": "~6.2.0",
"elasticsearch": "~15.4.1",
"elasticsearch-store": "~1.8.1",
"elasticsearch-store": "~1.8.2",
"express": "~4.21.2",
"js-yaml": "~4.1.0",
"nanoid": "~5.0.9",
Expand Down
4 changes: 2 additions & 2 deletions packages/teraslice-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"devDependencies": {
"@terascope/fetch-github-release": "~2.0.0",
"@terascope/types": "~1.4.1",
"@terascope/utils": "~1.7.3",
"@terascope/utils": "~1.7.4",
"@types/decompress": "~4.2.7",
"@types/diff": "~7.0.1",
"@types/ejs": "~3.1.5",
Expand All @@ -68,7 +68,7 @@
"pretty-bytes": "~6.1.1",
"prompts": "~2.4.2",
"signale": "~1.4.0",
"teraslice-client-js": "~1.7.3",
"teraslice-client-js": "~1.7.4",
"tmp": "~0.2.3",
"tty-table": "~4.2.3",
"yargs": "~17.7.2"
Expand Down
4 changes: 2 additions & 2 deletions packages/teraslice-client-js/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "teraslice-client-js",
"displayName": "Teraslice Client (JavaScript)",
"version": "1.7.3",
"version": "1.7.4",
"description": "A Node.js client for teraslice jobs, assets, and cluster references.",
"keywords": [
"elasticsearch",
Expand Down Expand Up @@ -33,7 +33,7 @@
},
"dependencies": {
"@terascope/types": "~1.4.1",
"@terascope/utils": "~1.7.3",
"@terascope/utils": "~1.7.4",
"auto-bind": "~5.0.1",
"got": "~13.0.0"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/teraslice-messaging/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@terascope/teraslice-messaging",
"displayName": "Teraslice Messaging",
"version": "1.10.4",
"version": "1.10.5",
"description": "An internal teraslice messaging library using socket.io",
"homepage": "https://github.com/terascope/teraslice/tree/master/packages/teraslice-messaging#readme",
"bugs": {
Expand Down Expand Up @@ -36,7 +36,7 @@
},
"dependencies": {
"@terascope/types": "~1.4.1",
"@terascope/utils": "~1.7.3",
"@terascope/utils": "~1.7.4",
"get-port": "~7.1.0",
"ms": "~2.1.3",
"nanoid": "~5.0.9",
Expand Down
6 changes: 3 additions & 3 deletions packages/teraslice-state-storage/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@terascope/teraslice-state-storage",
"displayName": "Teraslice State Storage",
"version": "1.8.1",
"version": "1.8.2",
"description": "State storage operation api for teraslice",
"homepage": "https://github.com/terascope/teraslice/tree/master/packages/teraslice-state-storage#readme",
"bugs": {
Expand All @@ -24,8 +24,8 @@
"test:watch": "yarn workspace @terascope/scripts ts-scripts test --watch ../teraslice-state-storage --"
},
"dependencies": {
"@terascope/elasticsearch-api": "~4.8.1",
"@terascope/utils": "~1.7.3"
"@terascope/elasticsearch-api": "~4.8.2",
"@terascope/utils": "~1.7.4"
},
"engines": {
"node": ">=18.18.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/teraslice-test-harness/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@
"fs-extra": "~11.3.0"
},
"devDependencies": {
"@terascope/job-components": "~1.9.4"
"@terascope/job-components": "~1.9.5"
},
"peerDependencies": {
"@terascope/job-components": ">=1.9.4"
"@terascope/job-components": ">=1.9.5"
},
"engines": {
"node": ">=18.18.0",
Expand Down
12 changes: 6 additions & 6 deletions packages/teraslice/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "teraslice",
"displayName": "Teraslice",
"version": "2.12.5",
"version": "2.12.6",
"description": "Distributed computing platform for processing JSON data",
"homepage": "https://github.com/terascope/teraslice#readme",
"bugs": {
Expand Down Expand Up @@ -39,11 +39,11 @@
},
"dependencies": {
"@kubernetes/client-node": "~0.22.3",
"@terascope/elasticsearch-api": "~4.8.1",
"@terascope/job-components": "~1.9.4",
"@terascope/teraslice-messaging": "~1.10.4",
"@terascope/elasticsearch-api": "~4.8.2",
"@terascope/job-components": "~1.9.5",
"@terascope/teraslice-messaging": "~1.10.5",
"@terascope/types": "~1.4.1",
"@terascope/utils": "~1.7.3",
"@terascope/utils": "~1.7.4",
"async-mutex": "~0.5.0",
"barbe": "~3.0.16",
"body-parser": "~1.20.3",
Expand All @@ -62,7 +62,7 @@
"semver": "~7.7.1",
"socket.io": "~1.7.4",
"socket.io-client": "~1.7.4",
"terafoundation": "~1.10.1",
"terafoundation": "~1.10.2",
"uuid": "~11.0.5"
},
"devDependencies": {
Expand Down
6 changes: 3 additions & 3 deletions packages/ts-transforms/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "ts-transforms",
"displayName": "TS Transforms",
"version": "1.7.4",
"version": "1.7.5",
"description": "An ETL framework built upon xlucene-evaluator",
"homepage": "https://github.com/terascope/teraslice/tree/master/packages/ts-transforms#readme",
"bugs": {
Expand Down Expand Up @@ -36,9 +36,9 @@
"test:watch": "yarn workspace @terascope/scripts ts-scripts test --watch ../ts-transforms --"
},
"dependencies": {
"@terascope/data-mate": "~1.7.4",
"@terascope/data-mate": "~1.7.5",
"@terascope/types": "~1.4.1",
"@terascope/utils": "~1.7.3",
"@terascope/utils": "~1.7.4",
"awesome-phonenumber": "~7.2.0",
"graphlib": "~2.1.8",
"jexl": "~2.3.0",
Expand Down
Loading

0 comments on commit 76b3afe

Please sign in to comment.