Skip to content

Commit

Permalink
chore: update imports for node 23
Browse files Browse the repository at this point in the history
  • Loading branch information
WillieRuemmele committed Jan 7, 2025
1 parent 56c205d commit 4a49407
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion test/client/metadataApiDeploy.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import chai, { assert, expect } from 'chai';
import { AnyJson, ensureString, getString } from '@salesforce/ts-types';
import { envVars, Lifecycle, Messages, PollingClient, StatusResult } from '@salesforce/core';
import { Duration } from '@salesforce/kit';
import deepEqualInAnyOrder = require('deep-equal-in-any-order');
import deepEqualInAnyOrder from 'deep-equal-in-any-order';
import {
ComponentSet,
ComponentStatus,
Expand Down
4 changes: 2 additions & 2 deletions test/client/metadataApiRetrieve.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import { fail } from 'node:assert';
import { join, sep } from 'node:path';
import { Messages } from '@salesforce/core';
import { assert, expect } from 'chai';
import chai = require('chai');
import deepEqualInAnyOrder = require('deep-equal-in-any-order');
import * as chai from 'chai';
import deepEqualInAnyOrder from 'deep-equal-in-any-order';
import { SinonStub } from 'sinon';
import { ensureString, getString } from '@salesforce/ts-types';
import fs from 'graceful-fs';
Expand Down
4 changes: 2 additions & 2 deletions test/convert/convertContext/convertContext.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
*/

import { createSandbox } from 'sinon';
import chai = require('chai');
import deepEqualInAnyOrder = require('deep-equal-in-any-order');
import * as chai from 'chai';
import deepEqualInAnyOrder from 'deep-equal-in-any-order';
import { WriterFormat } from '../../../src';
import { ConvertContext } from '../../../src/convert/convertContext/convertContext';
import { decomposed, matchingContentFile, nonDecomposed } from '../../mock';
Expand Down
2 changes: 1 addition & 1 deletion test/convert/replacements.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*/
import * as path from 'node:path';
import { assert, expect, config } from 'chai';
import Sinon = require('sinon');
import * as Sinon from 'sinon';
import { Lifecycle } from '@salesforce/core';
import {
getReplacements,
Expand Down
4 changes: 2 additions & 2 deletions test/utils/filePathGenerator.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
*/
import * as path from 'node:path';
import { expect } from 'chai';
import deepEqualInAnyOrder = require('deep-equal-in-any-order');
import chai = require('chai');
import deepEqualInAnyOrder from 'deep-equal-in-any-order';
import * as chai from 'chai';
import { filePathsFromMetadataComponent } from '../../src/utils/filePathGenerator';
import { MetadataComponent, MetadataResolver, MetadataType, RegistryAccess, VirtualTreeContainer } from '../../src';

Expand Down

2 comments on commit 4a49407

@svc-cli-bot
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmark

Benchmark suite Current: 4a49407 Previous: 56c205d Ratio
eda-componentSetCreate-linux 216 ms 216 ms 1
eda-sourceToMdapi-linux 2062 ms 1955 ms 1.05
eda-sourceToZip-linux 1736 ms 1756 ms 0.99
eda-mdapiToSource-linux 2757 ms 2686 ms 1.03
lotsOfClasses-componentSetCreate-linux 423 ms 429 ms 0.99
lotsOfClasses-sourceToMdapi-linux 3546 ms 3715 ms 0.95
lotsOfClasses-sourceToZip-linux 2883 ms 2911 ms 0.99
lotsOfClasses-mdapiToSource-linux 3409 ms 3457 ms 0.99
lotsOfClassesOneDir-componentSetCreate-linux 733 ms 745 ms 0.98
lotsOfClassesOneDir-sourceToMdapi-linux 6307 ms 6388 ms 0.99
lotsOfClassesOneDir-sourceToZip-linux 5099 ms 5215 ms 0.98
lotsOfClassesOneDir-mdapiToSource-linux 6240 ms 6305 ms 0.99

This comment was automatically generated by workflow using github-action-benchmark.

@svc-cli-bot
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmark

Benchmark suite Current: 4a49407 Previous: 56c205d Ratio
eda-componentSetCreate-win32 674 ms 695 ms 0.97
eda-sourceToMdapi-win32 3980 ms 4062 ms 0.98
eda-sourceToZip-win32 3037 ms 3059 ms 0.99
eda-mdapiToSource-win32 5886 ms 6143 ms 0.96
lotsOfClasses-componentSetCreate-win32 1324 ms 1212 ms 1.09
lotsOfClasses-sourceToMdapi-win32 8069 ms 7494 ms 1.08
lotsOfClasses-sourceToZip-win32 5329 ms 4663 ms 1.14
lotsOfClasses-mdapiToSource-win32 7895 ms 7453 ms 1.06
lotsOfClassesOneDir-componentSetCreate-win32 2166 ms 2104 ms 1.03
lotsOfClassesOneDir-sourceToMdapi-win32 14335 ms 13376 ms 1.07
lotsOfClassesOneDir-sourceToZip-win32 9349 ms 8256 ms 1.13
lotsOfClassesOneDir-mdapiToSource-win32 14730 ms 13454 ms 1.09

This comment was automatically generated by workflow using github-action-benchmark.

Please sign in to comment.