From e45a7aa6c37cc5ee454639cccecf5e6a6aa9abe7 Mon Sep 17 00:00:00 2001 From: svc-cli-bot Date: Sun, 31 Aug 2025 06:54:35 +0000 Subject: [PATCH] chore: updates from devScripts --- package.json | 2 +- src/api/data/tree/exportApi.ts | 17 ++++++++--- src/api/data/tree/functions.ts | 17 ++++++++--- src/api/data/tree/importCommon.ts | 17 ++++++++--- src/api/data/tree/importFiles.ts | 17 ++++++++--- src/api/data/tree/importPlan.ts | 17 ++++++++--- src/api/data/tree/importTypes.ts | 17 ++++++++--- src/api/file/fileToContentVersion.ts | 17 ++++++++--- src/batcher.ts | 17 ++++++++--- src/bulkDataRequestCache.ts | 17 ++++++++--- src/bulkIngest.ts | 17 ++++++++--- src/bulkUtils.ts | 17 ++++++++--- src/commands/data/bulk/results.ts | 17 ++++++++--- src/commands/data/create/file.ts | 17 ++++++++--- src/commands/data/create/record.ts | 17 ++++++++--- src/commands/data/delete/bulk.ts | 17 ++++++++--- src/commands/data/delete/record.ts | 17 ++++++++--- src/commands/data/delete/resume.ts | 17 ++++++++--- src/commands/data/export/bulk.ts | 17 ++++++++--- src/commands/data/export/resume.ts | 17 ++++++++--- src/commands/data/export/tree.ts | 17 ++++++++--- src/commands/data/get/record.ts | 17 ++++++++--- src/commands/data/import/bulk.ts | 17 ++++++++--- src/commands/data/import/resume.ts | 17 ++++++++--- src/commands/data/import/tree.ts | 17 ++++++++--- src/commands/data/query.ts | 17 ++++++++--- src/commands/data/resume.ts | 17 ++++++++--- src/commands/data/search.ts | 17 ++++++++--- src/commands/data/update/bulk.ts | 17 ++++++++--- src/commands/data/update/record.ts | 17 ++++++++--- src/commands/data/update/resume.ts | 17 ++++++++--- src/commands/data/upsert/bulk.ts | 17 ++++++++--- src/commands/data/upsert/resume.ts | 17 ++++++++--- src/commands/force/data/bulk/delete.ts | 17 ++++++++--- src/commands/force/data/bulk/status.ts | 17 ++++++++--- src/commands/force/data/bulk/upsert.ts | 17 ++++++++--- src/dataUtils.ts | 17 ++++++++--- src/export.ts | 17 ++++++++--- src/flags.ts | 17 ++++++++--- src/index.ts | 17 ++++++++--- src/queryUtils.ts | 17 ++++++++--- src/reporters/query/csvReporter.ts | 17 ++++++++--- src/reporters/query/humanReporter.ts | 17 ++++++++--- src/reporters/query/reporters.ts | 17 ++++++++--- src/reporters/search/csvSearchReporter.ts | 17 ++++++++--- src/reporters/search/humanSearchReporter.ts | 17 ++++++++--- src/reporters/search/reporter.ts | 17 ++++++++--- src/searchUtils.ts | 17 ++++++++--- src/types.ts | 17 ++++++++--- src/ux/bulkIngestStages.ts | 17 ++++++++--- test/api/data/tree/export.test.ts | 17 ++++++++--- test/api/data/tree/exportApi.test.ts | 17 ++++++++--- test/api/data/tree/importFiles.test.ts | 17 ++++++++--- test/api/data/tree/importPlan.test.ts | 17 ++++++++--- test/bulkUtils.test.ts | 17 ++++++++--- test/commands/batcher.test.ts | 17 ++++++++--- test/commands/data/bulk/results.nut.ts | 17 ++++++++--- test/commands/data/create/file.nut.ts | 17 ++++++++--- test/commands/data/create/record.test.ts | 17 ++++++++--- test/commands/data/dataBulk.nut.ts | 17 ++++++++--- test/commands/data/dataCommand.test.ts | 17 ++++++++--- test/commands/data/delete/record.test.ts | 17 ++++++++--- test/commands/data/export/bulk.nut.ts | 17 ++++++++--- test/commands/data/export/resume.nut.ts | 17 ++++++++--- test/commands/data/export/tree.test.ts | 17 ++++++++--- test/commands/data/get/record.test.ts | 17 ++++++++--- test/commands/data/import/bulk.nut.ts | 17 ++++++++--- test/commands/data/import/resume.nut.ts | 17 ++++++++--- test/commands/data/query.test.ts | 17 ++++++++--- test/commands/data/query/query.nut.ts | 17 ++++++++--- test/commands/data/record/dataRecord.nut.ts | 17 ++++++++--- test/commands/data/search.nut.ts | 17 ++++++++--- test/commands/data/tree/dataTree.nut.ts | 17 ++++++++--- .../data/tree/dataTreeCommonChild.nut.ts | 17 ++++++++--- test/commands/data/tree/dataTreeDeep.nut.ts | 17 ++++++++--- .../data/tree/dataTreeDeepBeta.nut.ts | 17 ++++++++--- .../data/tree/dataTreeJunction.nut.ts | 17 ++++++++--- .../data/tree/dataTreeMissingRef.nut.ts | 17 ++++++++--- .../data/tree/dataTreeMoreThan200.nut.ts | 17 ++++++++--- .../data/tree/dataTreeSelfReferencing.nut.ts | 17 ++++++++--- test/commands/data/update/bulk.nut.ts | 17 ++++++++--- test/commands/data/update/record.test.ts | 17 ++++++++--- test/commands/data/update/resume.nut.ts | 17 ++++++++--- test/commands/force/data/bulk/dataBulk.nut.ts | 17 ++++++++--- test/commands/force/data/bulk/upsert.test.ts | 17 ++++++++--- test/queryFields.test.ts | 17 ++++++++--- test/reporters/csv.test.ts | 17 ++++++++--- test/reporters/csvSearchReporter.test.ts | 17 ++++++++--- test/reporters/humanSearchReporter.test.ts | 17 ++++++++--- test/reporters/reporter.test.ts | 17 ++++++++--- test/reporters/reporters.test.ts | 17 ++++++++--- test/test-files/queryFields.exemplars.ts | 17 ++++++++--- test/test-files/soqlQuery.exemplars.ts | 17 ++++++++--- test/testUtil.ts | 17 ++++++++--- yarn.lock | 28 +++++++++---------- 95 files changed, 1224 insertions(+), 387 deletions(-) diff --git a/package.json b/package.json index 6357e238..86502339 100644 --- a/package.json +++ b/package.json @@ -139,7 +139,7 @@ "@oclif/plugin-command-snapshot": "^5.3.5", "@oclif/test": "^4.1.13", "@salesforce/cli-plugins-testkit": "^5.3.39", - "@salesforce/dev-scripts": "^11.0.3", + "@salesforce/dev-scripts": "^11.0.4", "@salesforce/plugin-command-reference": "^3.1.65", "@salesforce/types": "^1.4.0", "eslint-plugin-sf-plugin": "^1.20.31", diff --git a/src/api/data/tree/exportApi.ts b/src/api/data/tree/exportApi.ts index 392bbcd5..ddcf1ddf 100644 --- a/src/api/data/tree/exportApi.ts +++ b/src/api/data/tree/exportApi.ts @@ -1,8 +1,17 @@ /* - * Copyright (c) 2020, salesforce.com, inc. - * All rights reserved. - * Licensed under the BSD 3-Clause license. - * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause + * Copyright 2025, Salesforce, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import path from 'node:path'; diff --git a/src/api/data/tree/functions.ts b/src/api/data/tree/functions.ts index 6c2ad180..4c7cecab 100644 --- a/src/api/data/tree/functions.ts +++ b/src/api/data/tree/functions.ts @@ -1,8 +1,17 @@ /* - * Copyright (c) 2023, salesforce.com, inc. - * All rights reserved. - * Licensed under the BSD 3-Clause license. - * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause + * Copyright 2025, Salesforce, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import type { SObjectTreeInput } from '../../../types.js'; diff --git a/src/api/data/tree/importCommon.ts b/src/api/data/tree/importCommon.ts index 4f7769ee..f25942b1 100644 --- a/src/api/data/tree/importCommon.ts +++ b/src/api/data/tree/importCommon.ts @@ -1,8 +1,17 @@ /* - * Copyright (c) 2023, salesforce.com, inc. - * All rights reserved. - * Licensed under the BSD 3-Clause license. - * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause + * Copyright 2025, Salesforce, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import { Connection, SfError, Messages } from '@salesforce/core'; import { getObject, getString } from '@salesforce/ts-types'; diff --git a/src/api/data/tree/importFiles.ts b/src/api/data/tree/importFiles.ts index ab26e860..e9638dd1 100644 --- a/src/api/data/tree/importFiles.ts +++ b/src/api/data/tree/importFiles.ts @@ -1,8 +1,17 @@ /* - * Copyright (c) 2023, salesforce.com, inc. - * All rights reserved. - * Licensed under the BSD 3-Clause license. - * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause + * Copyright 2025, Salesforce, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import fs from 'node:fs'; import { Logger, Connection, Messages } from '@salesforce/core'; diff --git a/src/api/data/tree/importPlan.ts b/src/api/data/tree/importPlan.ts index 12bfc524..6b394414 100644 --- a/src/api/data/tree/importPlan.ts +++ b/src/api/data/tree/importPlan.ts @@ -1,8 +1,17 @@ /* - * Copyright (c) 2023, salesforce.com, inc. - * All rights reserved. - * Licensed under the BSD 3-Clause license. - * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause + * Copyright 2025, Salesforce, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import path from 'node:path'; import { EOL } from 'node:os'; diff --git a/src/api/data/tree/importTypes.ts b/src/api/data/tree/importTypes.ts index 273a9fde..70aec7e7 100644 --- a/src/api/data/tree/importTypes.ts +++ b/src/api/data/tree/importTypes.ts @@ -1,8 +1,17 @@ /* - * Copyright (c) 2023, salesforce.com, inc. - * All rights reserved. - * Licensed under the BSD 3-Clause license. - * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause + * Copyright 2025, Salesforce, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import type { Dictionary } from '@salesforce/ts-types'; import type { DataPlanPart } from '../../../types.js'; diff --git a/src/api/file/fileToContentVersion.ts b/src/api/file/fileToContentVersion.ts index 1c3c441b..98eb18c2 100644 --- a/src/api/file/fileToContentVersion.ts +++ b/src/api/file/fileToContentVersion.ts @@ -1,8 +1,17 @@ /* - * Copyright (c) 2023, salesforce.com, inc. - * All rights reserved. - * Licensed under the BSD 3-Clause license. - * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause + * Copyright 2025, Salesforce, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import { readFile } from 'node:fs/promises'; diff --git a/src/batcher.ts b/src/batcher.ts index b2ae190c..a76823d2 100644 --- a/src/batcher.ts +++ b/src/batcher.ts @@ -1,8 +1,17 @@ /* - * Copyright (c) 2020, salesforce.com, inc. - * All rights reserved. - * Licensed under the BSD 3-Clause license. - * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause + * Copyright 2025, Salesforce, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import { ReadStream } from 'node:fs'; diff --git a/src/bulkDataRequestCache.ts b/src/bulkDataRequestCache.ts index b4b7bfc9..d349af37 100644 --- a/src/bulkDataRequestCache.ts +++ b/src/bulkDataRequestCache.ts @@ -1,8 +1,17 @@ /* - * Copyright (c) 2023, salesforce.com, inc. - * All rights reserved. - * Licensed under the BSD 3-Clause license. - * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause + * Copyright 2025, Salesforce, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import { TTLConfig, Global, Logger, Messages, Org } from '@salesforce/core'; diff --git a/src/bulkIngest.ts b/src/bulkIngest.ts index d4c9a3e1..928a1736 100644 --- a/src/bulkIngest.ts +++ b/src/bulkIngest.ts @@ -1,8 +1,17 @@ /* - * Copyright (c) 2024, salesforce.com, inc. - * All rights reserved. - * Licensed under the BSD 3-Clause license. - * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause + * Copyright 2025, Salesforce, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import * as fs from 'node:fs'; diff --git a/src/bulkUtils.ts b/src/bulkUtils.ts index 781179de..d51114a0 100644 --- a/src/bulkUtils.ts +++ b/src/bulkUtils.ts @@ -1,8 +1,17 @@ /* - * Copyright (c) 2023, salesforce.com, inc. - * All rights reserved. - * Licensed under the BSD 3-Clause license. - * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause + * Copyright 2025, Salesforce, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import { Transform, Readable } from 'node:stream'; diff --git a/src/commands/data/bulk/results.ts b/src/commands/data/bulk/results.ts index 3bc03c3e..0e3a3f33 100644 --- a/src/commands/data/bulk/results.ts +++ b/src/commands/data/bulk/results.ts @@ -1,8 +1,17 @@ /* - * Copyright (c) 2024, salesforce.com, inc. - * All rights reserved. - * Licensed under the BSD 3-Clause license. - * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause + * Copyright 2025, Salesforce, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import { EOL } from 'node:os'; diff --git a/src/commands/data/create/file.ts b/src/commands/data/create/file.ts index a2188167..bcf43c3b 100644 --- a/src/commands/data/create/file.ts +++ b/src/commands/data/create/file.ts @@ -1,8 +1,17 @@ /* - * Copyright (c) 2023, salesforce.com, inc. - * All rights reserved. - * Licensed under the BSD 3-Clause license. - * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause + * Copyright 2025, Salesforce, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import { SfCommand, Flags } from '@salesforce/sf-plugins-core'; diff --git a/src/commands/data/create/record.ts b/src/commands/data/create/record.ts index 5b0d7bdf..cd01d1d2 100644 --- a/src/commands/data/create/record.ts +++ b/src/commands/data/create/record.ts @@ -1,8 +1,17 @@ /* - * Copyright (c) 2020, salesforce.com, inc. - * All rights reserved. - * Licensed under the BSD 3-Clause license. - * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause + * Copyright 2025, Salesforce, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import { Messages } from '@salesforce/core'; diff --git a/src/commands/data/delete/bulk.ts b/src/commands/data/delete/bulk.ts index dffcca30..d901c3df 100644 --- a/src/commands/data/delete/bulk.ts +++ b/src/commands/data/delete/bulk.ts @@ -1,8 +1,17 @@ /* - * Copyright (c) 2020, salesforce.com, inc. - * All rights reserved. - * Licensed under the BSD 3-Clause license. - * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause + * Copyright 2025, Salesforce, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import { Messages } from '@salesforce/core'; diff --git a/src/commands/data/delete/record.ts b/src/commands/data/delete/record.ts index 6171297f..3c7d0f4a 100644 --- a/src/commands/data/delete/record.ts +++ b/src/commands/data/delete/record.ts @@ -1,8 +1,17 @@ /* - * Copyright (c) 2020, salesforce.com, inc. - * All rights reserved. - * Licensed under the BSD 3-Clause license. - * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause + * Copyright 2025, Salesforce, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import { Messages, SfError } from '@salesforce/core'; diff --git a/src/commands/data/delete/resume.ts b/src/commands/data/delete/resume.ts index 7df84af4..3fca7cf3 100644 --- a/src/commands/data/delete/resume.ts +++ b/src/commands/data/delete/resume.ts @@ -1,8 +1,17 @@ /* - * Copyright (c) 2024, salesforce.com, inc. - * All rights reserved. - * Licensed under the BSD 3-Clause license. - * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause + * Copyright 2025, Salesforce, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import { Messages } from '@salesforce/core'; diff --git a/src/commands/data/export/bulk.ts b/src/commands/data/export/bulk.ts index 7569349f..7a836b3d 100644 --- a/src/commands/data/export/bulk.ts +++ b/src/commands/data/export/bulk.ts @@ -1,8 +1,17 @@ /* - * Copyright (c) 2023, salesforce.com, inc. - * All rights reserved. - * Licensed under the BSD 3-Clause license. - * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause + * Copyright 2025, Salesforce, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import * as fs from 'node:fs'; diff --git a/src/commands/data/export/resume.ts b/src/commands/data/export/resume.ts index aa406d4a..17ae5560 100644 --- a/src/commands/data/export/resume.ts +++ b/src/commands/data/export/resume.ts @@ -1,8 +1,17 @@ /* - * Copyright (c) 2023, salesforce.com, inc. - * All rights reserved. - * Licensed under the BSD 3-Clause license. - * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause + * Copyright 2025, Salesforce, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import { SfCommand, Flags } from '@salesforce/sf-plugins-core'; diff --git a/src/commands/data/export/tree.ts b/src/commands/data/export/tree.ts index 2e2ac35d..226e5a0a 100644 --- a/src/commands/data/export/tree.ts +++ b/src/commands/data/export/tree.ts @@ -1,8 +1,17 @@ /* - * Copyright (c) 2020, salesforce.com, inc. - * All rights reserved. - * Licensed under the BSD 3-Clause license. - * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause + * Copyright 2025, Salesforce, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import { Messages } from '@salesforce/core'; diff --git a/src/commands/data/get/record.ts b/src/commands/data/get/record.ts index f76d7c4f..3780b65d 100644 --- a/src/commands/data/get/record.ts +++ b/src/commands/data/get/record.ts @@ -1,8 +1,17 @@ /* - * Copyright (c) 2020, salesforce.com, inc. - * All rights reserved. - * Licensed under the BSD 3-Clause license. - * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause + * Copyright 2025, Salesforce, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import { Messages, SfError } from '@salesforce/core'; diff --git a/src/commands/data/import/bulk.ts b/src/commands/data/import/bulk.ts index c80c7011..30d62422 100644 --- a/src/commands/data/import/bulk.ts +++ b/src/commands/data/import/bulk.ts @@ -1,8 +1,17 @@ /* - * Copyright (c) 2024, salesforce.com, inc. - * All rights reserved. - * Licensed under the BSD 3-Clause license. - * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause + * Copyright 2025, Salesforce, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import { SfCommand, Flags } from '@salesforce/sf-plugins-core'; diff --git a/src/commands/data/import/resume.ts b/src/commands/data/import/resume.ts index 1c5d0424..76e0a0d9 100644 --- a/src/commands/data/import/resume.ts +++ b/src/commands/data/import/resume.ts @@ -1,8 +1,17 @@ /* - * Copyright (c) 2024, salesforce.com, inc. - * All rights reserved. - * Licensed under the BSD 3-Clause license. - * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause + * Copyright 2025, Salesforce, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import { SfCommand, Flags } from '@salesforce/sf-plugins-core'; diff --git a/src/commands/data/import/tree.ts b/src/commands/data/import/tree.ts index b632d8e5..ac2551df 100644 --- a/src/commands/data/import/tree.ts +++ b/src/commands/data/import/tree.ts @@ -1,8 +1,17 @@ /* - * Copyright (c) 2020, salesforce.com, inc. - * All rights reserved. - * Licensed under the BSD 3-Clause license. - * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause + * Copyright 2025, Salesforce, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import { Messages, SfError } from '@salesforce/core'; diff --git a/src/commands/data/query.ts b/src/commands/data/query.ts index 3e41aec5..ee2851ec 100644 --- a/src/commands/data/query.ts +++ b/src/commands/data/query.ts @@ -1,8 +1,17 @@ /* - * Copyright (c) 2020, salesforce.com, inc. - * All rights reserved. - * Licensed under the BSD 3-Clause license. - * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause + * Copyright 2025, Salesforce, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import fs from 'node:fs'; diff --git a/src/commands/data/resume.ts b/src/commands/data/resume.ts index 3d0d7a25..ab54a3af 100644 --- a/src/commands/data/resume.ts +++ b/src/commands/data/resume.ts @@ -1,8 +1,17 @@ /* - * Copyright (c) 2020, salesforce.com, inc. - * All rights reserved. - * Licensed under the BSD 3-Clause license. - * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause + * Copyright 2025, Salesforce, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import { Messages, SfError } from '@salesforce/core'; diff --git a/src/commands/data/search.ts b/src/commands/data/search.ts index 29efbe01..b0fb305b 100644 --- a/src/commands/data/search.ts +++ b/src/commands/data/search.ts @@ -1,8 +1,17 @@ /* - * Copyright (c) 2020, salesforce.com, inc. - * All rights reserved. - * Licensed under the BSD 3-Clause license. - * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause + * Copyright 2025, Salesforce, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import fs from 'node:fs'; diff --git a/src/commands/data/update/bulk.ts b/src/commands/data/update/bulk.ts index 794ae411..de919d50 100644 --- a/src/commands/data/update/bulk.ts +++ b/src/commands/data/update/bulk.ts @@ -1,8 +1,17 @@ /* - * Copyright (c) 2024, salesforce.com, inc. - * All rights reserved. - * Licensed under the BSD 3-Clause license. - * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause + * Copyright 2025, Salesforce, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import { SfCommand, Flags } from '@salesforce/sf-plugins-core'; diff --git a/src/commands/data/update/record.ts b/src/commands/data/update/record.ts index 0f4d0be0..4f84d230 100644 --- a/src/commands/data/update/record.ts +++ b/src/commands/data/update/record.ts @@ -1,8 +1,17 @@ /* - * Copyright (c) 2020, salesforce.com, inc. - * All rights reserved. - * Licensed under the BSD 3-Clause license. - * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause + * Copyright 2025, Salesforce, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import { Messages, SfError } from '@salesforce/core'; diff --git a/src/commands/data/update/resume.ts b/src/commands/data/update/resume.ts index 3e3f81e3..00d0c567 100644 --- a/src/commands/data/update/resume.ts +++ b/src/commands/data/update/resume.ts @@ -1,8 +1,17 @@ /* - * Copyright (c) 2024, salesforce.com, inc. - * All rights reserved. - * Licensed under the BSD 3-Clause license. - * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause + * Copyright 2025, Salesforce, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import { SfCommand, Flags } from '@salesforce/sf-plugins-core'; diff --git a/src/commands/data/upsert/bulk.ts b/src/commands/data/upsert/bulk.ts index 04b1226e..0b3bd020 100644 --- a/src/commands/data/upsert/bulk.ts +++ b/src/commands/data/upsert/bulk.ts @@ -1,8 +1,17 @@ /* - * Copyright (c) 2020, salesforce.com, inc. - * All rights reserved. - * Licensed under the BSD 3-Clause license. - * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause + * Copyright 2025, Salesforce, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import { Messages } from '@salesforce/core'; diff --git a/src/commands/data/upsert/resume.ts b/src/commands/data/upsert/resume.ts index b9025ebd..58e682f5 100644 --- a/src/commands/data/upsert/resume.ts +++ b/src/commands/data/upsert/resume.ts @@ -1,8 +1,17 @@ /* - * Copyright (c) 2024, salesforce.com, inc. - * All rights reserved. - * Licensed under the BSD 3-Clause license. - * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause + * Copyright 2025, Salesforce, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import { Messages } from '@salesforce/core'; diff --git a/src/commands/force/data/bulk/delete.ts b/src/commands/force/data/bulk/delete.ts index 927784f1..135a8fbc 100644 --- a/src/commands/force/data/bulk/delete.ts +++ b/src/commands/force/data/bulk/delete.ts @@ -1,8 +1,17 @@ /* - * Copyright (c) 2020, salesforce.com, inc. - * All rights reserved. - * Licensed under the BSD 3-Clause license. - * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause + * Copyright 2025, Salesforce, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import fs from 'node:fs'; import { ReadStream } from 'node:fs'; diff --git a/src/commands/force/data/bulk/status.ts b/src/commands/force/data/bulk/status.ts index 1f67954f..f5e2d0f5 100644 --- a/src/commands/force/data/bulk/status.ts +++ b/src/commands/force/data/bulk/status.ts @@ -1,8 +1,17 @@ /* - * Copyright (c) 2020, salesforce.com, inc. - * All rights reserved. - * Licensed under the BSD 3-Clause license. - * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause + * Copyright 2025, Salesforce, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import { BatchInfo } from '@jsforce/jsforce-node/lib/api/bulk.js'; diff --git a/src/commands/force/data/bulk/upsert.ts b/src/commands/force/data/bulk/upsert.ts index 067bbd44..e81616f5 100644 --- a/src/commands/force/data/bulk/upsert.ts +++ b/src/commands/force/data/bulk/upsert.ts @@ -1,8 +1,17 @@ /* - * Copyright (c) 2020, salesforce.com, inc. - * All rights reserved. - * Licensed under the BSD 3-Clause license. - * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause + * Copyright 2025, Salesforce, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import fs from 'node:fs'; diff --git a/src/dataUtils.ts b/src/dataUtils.ts index 3070b3a6..a05e5630 100644 --- a/src/dataUtils.ts +++ b/src/dataUtils.ts @@ -1,8 +1,17 @@ /* - * Copyright (c) 2020, salesforce.com, inc. - * All rights reserved. - * Licensed under the BSD 3-Clause license. - * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause + * Copyright 2025, Salesforce, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import { Connection, Messages, SfError } from '@salesforce/core'; diff --git a/src/export.ts b/src/export.ts index e639efc2..d0c9bfc5 100644 --- a/src/export.ts +++ b/src/export.ts @@ -1,8 +1,17 @@ /* - * Copyright (c) 2020, salesforce.com, inc. - * All rights reserved. - * Licensed under the BSD 3-Clause license. - * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause + * Copyright 2025, Salesforce, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import path from 'node:path'; diff --git a/src/flags.ts b/src/flags.ts index 41d97b13..3bf88cc1 100644 --- a/src/flags.ts +++ b/src/flags.ts @@ -1,8 +1,17 @@ /* - * Copyright (c) 2020, salesforce.com, inc. - * All rights reserved. - * Licensed under the BSD 3-Clause license. - * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause + * Copyright 2025, Salesforce, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import { Messages } from '@salesforce/core'; diff --git a/src/index.ts b/src/index.ts index af79a8cd..711be5d1 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,8 +1,17 @@ /* - * Copyright (c) 2020, salesforce.com, inc. - * All rights reserved. - * Licensed under the BSD 3-Clause license. - * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause + * Copyright 2025, Salesforce, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ export default {}; diff --git a/src/queryUtils.ts b/src/queryUtils.ts index 8b9292d1..169ca311 100644 --- a/src/queryUtils.ts +++ b/src/queryUtils.ts @@ -1,8 +1,17 @@ /* - * Copyright (c) 2023, salesforce.com, inc. - * All rights reserved. - * Licensed under the BSD 3-Clause license. - * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause + * Copyright 2025, Salesforce, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import { SoqlQueryResult } from './types.js'; import { FormatTypes, JsonReporter } from './reporters/query/reporters.js'; diff --git a/src/reporters/query/csvReporter.ts b/src/reporters/query/csvReporter.ts index 1021d2c6..8d73b2a8 100644 --- a/src/reporters/query/csvReporter.ts +++ b/src/reporters/query/csvReporter.ts @@ -1,8 +1,17 @@ /* - * Copyright (c) 2023, salesforce.com, inc. - * All rights reserved. - * Licensed under the BSD 3-Clause license. - * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause + * Copyright 2025, Salesforce, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import { EOL } from 'node:os'; import * as fs from 'node:fs'; diff --git a/src/reporters/query/humanReporter.ts b/src/reporters/query/humanReporter.ts index 6b8b7008..b24c3f00 100644 --- a/src/reporters/query/humanReporter.ts +++ b/src/reporters/query/humanReporter.ts @@ -1,8 +1,17 @@ /* - * Copyright (c) 2023, salesforce.com, inc. - * All rights reserved. - * Licensed under the BSD 3-Clause license. - * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause + * Copyright 2025, Salesforce, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import { Ux } from '@salesforce/sf-plugins-core'; import ansis from 'ansis'; diff --git a/src/reporters/query/reporters.ts b/src/reporters/query/reporters.ts index 19a07b46..e8e37d85 100644 --- a/src/reporters/query/reporters.ts +++ b/src/reporters/query/reporters.ts @@ -1,8 +1,17 @@ /* - * Copyright (c) 2020, salesforce.com, inc. - * All rights reserved. - * Licensed under the BSD 3-Clause license. - * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause + * Copyright 2025, Salesforce, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import * as fs from 'node:fs'; diff --git a/src/reporters/search/csvSearchReporter.ts b/src/reporters/search/csvSearchReporter.ts index ad7526da..978fd3da 100644 --- a/src/reporters/search/csvSearchReporter.ts +++ b/src/reporters/search/csvSearchReporter.ts @@ -1,8 +1,17 @@ /* - * Copyright (c) 2023, salesforce.com, inc. - * All rights reserved. - * Licensed under the BSD 3-Clause license. - * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause + * Copyright 2025, Salesforce, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import os from 'node:os'; import fs from 'node:fs'; diff --git a/src/reporters/search/humanSearchReporter.ts b/src/reporters/search/humanSearchReporter.ts index 3840ae99..d4f3d402 100644 --- a/src/reporters/search/humanSearchReporter.ts +++ b/src/reporters/search/humanSearchReporter.ts @@ -1,8 +1,17 @@ /* - * Copyright (c) 2023, salesforce.com, inc. - * All rights reserved. - * Licensed under the BSD 3-Clause license. - * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause + * Copyright 2025, Salesforce, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import { SearchResult } from '@jsforce/jsforce-node'; import { SearchReporter } from './reporter.js'; diff --git a/src/reporters/search/reporter.ts b/src/reporters/search/reporter.ts index 114f517c..993a4fe2 100644 --- a/src/reporters/search/reporter.ts +++ b/src/reporters/search/reporter.ts @@ -1,8 +1,17 @@ /* - * Copyright (c) 2023, salesforce.com, inc. - * All rights reserved. - * Licensed under the BSD 3-Clause license. - * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause + * Copyright 2025, Salesforce, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import { Ux } from '@salesforce/sf-plugins-core'; import { Record, SearchResult } from '@jsforce/jsforce-node'; diff --git a/src/searchUtils.ts b/src/searchUtils.ts index dd0d0a03..bbacc8eb 100644 --- a/src/searchUtils.ts +++ b/src/searchUtils.ts @@ -1,8 +1,17 @@ /* - * Copyright (c) 2023, salesforce.com, inc. - * All rights reserved. - * Licensed under the BSD 3-Clause license. - * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause + * Copyright 2025, Salesforce, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import type { SearchResult } from '@jsforce/jsforce-node'; import { HumanSearchReporter } from './reporters/search/humanSearchReporter.js'; diff --git a/src/types.ts b/src/types.ts index 06b669ac..48af7583 100644 --- a/src/types.ts +++ b/src/types.ts @@ -1,8 +1,17 @@ /* - * Copyright (c) 2023, salesforce.com, inc. - * All rights reserved. - * Licensed under the BSD 3-Clause license. - * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause + * Copyright 2025, Salesforce, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import { BatchInfo, JobInfo } from '@jsforce/jsforce-node/lib/api/bulk.js'; import { JobInfoV2 } from '@jsforce/jsforce-node/lib/api/bulk2.js'; diff --git a/src/ux/bulkIngestStages.ts b/src/ux/bulkIngestStages.ts index 6344c616..50924d5a 100644 --- a/src/ux/bulkIngestStages.ts +++ b/src/ux/bulkIngestStages.ts @@ -1,8 +1,17 @@ /* - * Copyright (c) 2024, salesforce.com, inc. - * All rights reserved. - * Licensed under the BSD 3-Clause license. - * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause + * Copyright 2025, Salesforce, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import { MultiStageOutput } from '@oclif/multi-stage-output'; diff --git a/test/api/data/tree/export.test.ts b/test/api/data/tree/export.test.ts index 890055d0..7798495f 100644 --- a/test/api/data/tree/export.test.ts +++ b/test/api/data/tree/export.test.ts @@ -1,8 +1,17 @@ /* - * Copyright (c) 2023, salesforce.com, inc. - * All rights reserved. - * Licensed under the BSD 3-Clause license. - * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause + * Copyright 2025, Salesforce, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import { expect, config } from 'chai'; diff --git a/test/api/data/tree/exportApi.test.ts b/test/api/data/tree/exportApi.test.ts index a4bd5008..0a16deb0 100644 --- a/test/api/data/tree/exportApi.test.ts +++ b/test/api/data/tree/exportApi.test.ts @@ -1,8 +1,17 @@ /* - * Copyright (c) 2020, salesforce.com, inc. - * All rights reserved. - * Licensed under the BSD 3-Clause license. - * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause + * Copyright 2025, Salesforce, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ /* eslint-disable @typescript-eslint/no-explicit-any */ diff --git a/test/api/data/tree/importFiles.test.ts b/test/api/data/tree/importFiles.test.ts index c5edffdc..b997f098 100644 --- a/test/api/data/tree/importFiles.test.ts +++ b/test/api/data/tree/importFiles.test.ts @@ -1,8 +1,17 @@ /* - * Copyright (c) 2023, salesforce.com, inc. - * All rights reserved. - * Licensed under the BSD 3-Clause license. - * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause + * Copyright 2025, Salesforce, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import fs from 'node:fs'; import { Messages } from '@salesforce/core'; diff --git a/test/api/data/tree/importPlan.test.ts b/test/api/data/tree/importPlan.test.ts index d2347064..3ff25e4b 100644 --- a/test/api/data/tree/importPlan.test.ts +++ b/test/api/data/tree/importPlan.test.ts @@ -1,8 +1,17 @@ /* - * Copyright (c) 2023, salesforce.com, inc. - * All rights reserved. - * Licensed under the BSD 3-Clause license. - * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause + * Copyright 2025, Salesforce, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ /* eslint-disable camelcase */ // for salesforce __c style fields diff --git a/test/bulkUtils.test.ts b/test/bulkUtils.test.ts index 63d550e1..ee109a1d 100644 --- a/test/bulkUtils.test.ts +++ b/test/bulkUtils.test.ts @@ -1,8 +1,17 @@ /* - * Copyright (c) 2023, salesforce.com, inc. - * All rights reserved. - * Licensed under the BSD 3-Clause license. - * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause + * Copyright 2025, Salesforce, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import { expect } from 'chai'; diff --git a/test/commands/batcher.test.ts b/test/commands/batcher.test.ts index 55e0ac9d..e7853375 100644 --- a/test/commands/batcher.test.ts +++ b/test/commands/batcher.test.ts @@ -1,8 +1,17 @@ /* - * Copyright (c) 2020, salesforce.com, inc. - * All rights reserved. - * Licensed under the BSD 3-Clause license. - * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause + * Copyright 2025, Salesforce, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import { Readable } from 'node:stream'; import { ReadStream } from 'node:fs'; diff --git a/test/commands/data/bulk/results.nut.ts b/test/commands/data/bulk/results.nut.ts index 0c2673cd..41a718b8 100644 --- a/test/commands/data/bulk/results.nut.ts +++ b/test/commands/data/bulk/results.nut.ts @@ -1,8 +1,17 @@ /* - * Copyright (c) 2024, salesforce.com, inc. - * All rights reserved. - * Licensed under the BSD 3-Clause license. - * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause + * Copyright 2025, Salesforce, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import { writeFile } from 'node:fs/promises'; import path from 'node:path'; diff --git a/test/commands/data/create/file.nut.ts b/test/commands/data/create/file.nut.ts index a4c1aba7..a0102f3e 100644 --- a/test/commands/data/create/file.nut.ts +++ b/test/commands/data/create/file.nut.ts @@ -1,8 +1,17 @@ /* - * Copyright (c) 2023, salesforce.com, inc. - * All rights reserved. - * Licensed under the BSD 3-Clause license. - * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause + * Copyright 2025, Salesforce, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import fs from 'node:fs'; import path from 'node:path'; diff --git a/test/commands/data/create/record.test.ts b/test/commands/data/create/record.test.ts index 5970b738..495b6703 100644 --- a/test/commands/data/create/record.test.ts +++ b/test/commands/data/create/record.test.ts @@ -1,8 +1,17 @@ /* - * Copyright (c) 2020, salesforce.com, inc. - * All rights reserved. - * Licensed under the BSD 3-Clause license. - * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause + * Copyright 2025, Salesforce, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import { resolve } from 'node:path'; import { dirname } from 'node:path'; diff --git a/test/commands/data/dataBulk.nut.ts b/test/commands/data/dataBulk.nut.ts index 70b5b33e..ff3bcf3d 100644 --- a/test/commands/data/dataBulk.nut.ts +++ b/test/commands/data/dataBulk.nut.ts @@ -1,8 +1,17 @@ /* - * Copyright (c) 2020, salesforce.com, inc. - * All rights reserved. - * Licensed under the BSD 3-Clause license. - * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause + * Copyright 2025, Salesforce, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import path from 'node:path'; import { strict as assert } from 'node:assert/strict'; diff --git a/test/commands/data/dataCommand.test.ts b/test/commands/data/dataCommand.test.ts index 5794f645..d68dfbe8 100644 --- a/test/commands/data/dataCommand.test.ts +++ b/test/commands/data/dataCommand.test.ts @@ -1,8 +1,17 @@ /* - * Copyright (c) 2022, salesforce.com, inc. - * All rights reserved. - * Licensed under the BSD 3-Clause license. - * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause + * Copyright 2025, Salesforce, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import { expect } from 'chai'; diff --git a/test/commands/data/delete/record.test.ts b/test/commands/data/delete/record.test.ts index 608f6389..36a7e6f1 100644 --- a/test/commands/data/delete/record.test.ts +++ b/test/commands/data/delete/record.test.ts @@ -1,8 +1,17 @@ /* - * Copyright (c) 2020, salesforce.com, inc. - * All rights reserved. - * Licensed under the BSD 3-Clause license. - * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause + * Copyright 2025, Salesforce, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import { resolve } from 'node:path'; import { strict as assert } from 'node:assert'; diff --git a/test/commands/data/export/bulk.nut.ts b/test/commands/data/export/bulk.nut.ts index 8502756f..c5d0e167 100644 --- a/test/commands/data/export/bulk.nut.ts +++ b/test/commands/data/export/bulk.nut.ts @@ -1,8 +1,17 @@ /* - * Copyright (c) 2024, salesforce.com, inc. - * All rights reserved. - * Licensed under the BSD 3-Clause license. - * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause + * Copyright 2025, Salesforce, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import path from 'node:path'; import { execCmd, TestSession } from '@salesforce/cli-plugins-testkit'; diff --git a/test/commands/data/export/resume.nut.ts b/test/commands/data/export/resume.nut.ts index c0b299da..566bef99 100644 --- a/test/commands/data/export/resume.nut.ts +++ b/test/commands/data/export/resume.nut.ts @@ -1,8 +1,17 @@ /* - * Copyright (c) 2024, salesforce.com, inc. - * All rights reserved. - * Licensed under the BSD 3-Clause license. - * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause + * Copyright 2025, Salesforce, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import path from 'node:path'; import { execCmd, TestSession } from '@salesforce/cli-plugins-testkit'; diff --git a/test/commands/data/export/tree.test.ts b/test/commands/data/export/tree.test.ts index 07627060..e23ef504 100644 --- a/test/commands/data/export/tree.test.ts +++ b/test/commands/data/export/tree.test.ts @@ -1,8 +1,17 @@ /* - * Copyright (c) 2020, salesforce.com, inc. - * All rights reserved. - * Licensed under the BSD 3-Clause license. - * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause + * Copyright 2025, Salesforce, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import fs from 'node:fs'; import { resolve } from 'node:path'; diff --git a/test/commands/data/get/record.test.ts b/test/commands/data/get/record.test.ts index ebf00ccb..e77fb866 100644 --- a/test/commands/data/get/record.test.ts +++ b/test/commands/data/get/record.test.ts @@ -1,8 +1,17 @@ /* - * Copyright (c) 2020, salesforce.com, inc. - * All rights reserved. - * Licensed under the BSD 3-Clause license. - * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause + * Copyright 2025, Salesforce, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import { resolve } from 'node:path'; import { strict as assert } from 'node:assert'; diff --git a/test/commands/data/import/bulk.nut.ts b/test/commands/data/import/bulk.nut.ts index 1eda144f..995f0255 100644 --- a/test/commands/data/import/bulk.nut.ts +++ b/test/commands/data/import/bulk.nut.ts @@ -1,8 +1,17 @@ /* - * Copyright (c) 2024, salesforce.com, inc. - * All rights reserved. - * Licensed under the BSD 3-Clause license. - * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause + * Copyright 2025, Salesforce, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import path from 'node:path'; import { execCmd, TestSession } from '@salesforce/cli-plugins-testkit'; diff --git a/test/commands/data/import/resume.nut.ts b/test/commands/data/import/resume.nut.ts index 9855e4a7..7df86b6c 100644 --- a/test/commands/data/import/resume.nut.ts +++ b/test/commands/data/import/resume.nut.ts @@ -1,8 +1,17 @@ /* - * Copyright (c) 2024, salesforce.com, inc. - * All rights reserved. - * Licensed under the BSD 3-Clause license. - * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause + * Copyright 2025, Salesforce, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import path from 'node:path'; import { execCmd, TestSession } from '@salesforce/cli-plugins-testkit'; diff --git a/test/commands/data/query.test.ts b/test/commands/data/query.test.ts index 0eaa9272..80804c1f 100644 --- a/test/commands/data/query.test.ts +++ b/test/commands/data/query.test.ts @@ -1,8 +1,17 @@ /* - * Copyright (c) 2020, salesforce.com, inc. - * All rights reserved. - * Licensed under the BSD 3-Clause license. - * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause + * Copyright 2025, Salesforce, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import { resolve } from 'node:path'; diff --git a/test/commands/data/query/query.nut.ts b/test/commands/data/query/query.nut.ts index ca4203c2..5939d59b 100644 --- a/test/commands/data/query/query.nut.ts +++ b/test/commands/data/query/query.nut.ts @@ -1,8 +1,17 @@ /* - * Copyright (c) 2020, salesforce.com, inc. - * All rights reserved. - * Licensed under the BSD 3-Clause license. - * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause + * Copyright 2025, Salesforce, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import path from 'node:path'; import fs from 'node:fs'; diff --git a/test/commands/data/record/dataRecord.nut.ts b/test/commands/data/record/dataRecord.nut.ts index 84b5e41a..6fb14617 100644 --- a/test/commands/data/record/dataRecord.nut.ts +++ b/test/commands/data/record/dataRecord.nut.ts @@ -1,8 +1,17 @@ /* - * Copyright (c) 2020, salesforce.com, inc. - * All rights reserved. - * Licensed under the BSD 3-Clause license. - * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause + * Copyright 2025, Salesforce, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import path from 'node:path'; import { strict as assert } from 'node:assert/strict'; diff --git a/test/commands/data/search.nut.ts b/test/commands/data/search.nut.ts index bbf3864e..bded2c02 100644 --- a/test/commands/data/search.nut.ts +++ b/test/commands/data/search.nut.ts @@ -1,8 +1,17 @@ /* - * Copyright (c) 2020, salesforce.com, inc. - * All rights reserved. - * Licensed under the BSD 3-Clause license. - * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause + * Copyright 2025, Salesforce, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import path from 'node:path'; import fs from 'node:fs'; diff --git a/test/commands/data/tree/dataTree.nut.ts b/test/commands/data/tree/dataTree.nut.ts index 90557003..713f84f5 100644 --- a/test/commands/data/tree/dataTree.nut.ts +++ b/test/commands/data/tree/dataTree.nut.ts @@ -1,8 +1,17 @@ /* - * Copyright (c) 2020, salesforce.com, inc. - * All rights reserved. - * Licensed under the BSD 3-Clause license. - * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause + * Copyright 2025, Salesforce, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import path from 'node:path'; import { expect } from 'chai'; diff --git a/test/commands/data/tree/dataTreeCommonChild.nut.ts b/test/commands/data/tree/dataTreeCommonChild.nut.ts index bd96ae32..eb5bb99a 100644 --- a/test/commands/data/tree/dataTreeCommonChild.nut.ts +++ b/test/commands/data/tree/dataTreeCommonChild.nut.ts @@ -1,8 +1,17 @@ /* - * Copyright (c) 2020, salesforce.com, inc. - * All rights reserved. - * Licensed under the BSD 3-Clause license. - * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause + * Copyright 2025, Salesforce, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import path from 'node:path'; import { expect } from 'chai'; diff --git a/test/commands/data/tree/dataTreeDeep.nut.ts b/test/commands/data/tree/dataTreeDeep.nut.ts index 479eb8c4..e08ffbc9 100644 --- a/test/commands/data/tree/dataTreeDeep.nut.ts +++ b/test/commands/data/tree/dataTreeDeep.nut.ts @@ -1,8 +1,17 @@ /* - * Copyright (c) 2020, salesforce.com, inc. - * All rights reserved. - * Licensed under the BSD 3-Clause license. - * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause + * Copyright 2025, Salesforce, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import path from 'node:path'; import { expect } from 'chai'; diff --git a/test/commands/data/tree/dataTreeDeepBeta.nut.ts b/test/commands/data/tree/dataTreeDeepBeta.nut.ts index 27f3d0e9..83c7b114 100644 --- a/test/commands/data/tree/dataTreeDeepBeta.nut.ts +++ b/test/commands/data/tree/dataTreeDeepBeta.nut.ts @@ -1,8 +1,17 @@ /* - * Copyright (c) 2020, salesforce.com, inc. - * All rights reserved. - * Licensed under the BSD 3-Clause license. - * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause + * Copyright 2025, Salesforce, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import path from 'node:path'; import { expect } from 'chai'; diff --git a/test/commands/data/tree/dataTreeJunction.nut.ts b/test/commands/data/tree/dataTreeJunction.nut.ts index a68a13e5..720d7f68 100644 --- a/test/commands/data/tree/dataTreeJunction.nut.ts +++ b/test/commands/data/tree/dataTreeJunction.nut.ts @@ -1,8 +1,17 @@ /* - * Copyright (c) 2020, salesforce.com, inc. - * All rights reserved. - * Licensed under the BSD 3-Clause license. - * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause + * Copyright 2025, Salesforce, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import path from 'node:path'; import { expect } from 'chai'; diff --git a/test/commands/data/tree/dataTreeMissingRef.nut.ts b/test/commands/data/tree/dataTreeMissingRef.nut.ts index 9c510f54..2c961b43 100644 --- a/test/commands/data/tree/dataTreeMissingRef.nut.ts +++ b/test/commands/data/tree/dataTreeMissingRef.nut.ts @@ -1,8 +1,17 @@ /* - * Copyright (c) 2020, salesforce.com, inc. - * All rights reserved. - * Licensed under the BSD 3-Clause license. - * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause + * Copyright 2025, Salesforce, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import path from 'node:path'; import { expect } from 'chai'; diff --git a/test/commands/data/tree/dataTreeMoreThan200.nut.ts b/test/commands/data/tree/dataTreeMoreThan200.nut.ts index 6bc666a9..90ed7023 100644 --- a/test/commands/data/tree/dataTreeMoreThan200.nut.ts +++ b/test/commands/data/tree/dataTreeMoreThan200.nut.ts @@ -1,8 +1,17 @@ /* - * Copyright (c) 2020, salesforce.com, inc. - * All rights reserved. - * Licensed under the BSD 3-Clause license. - * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause + * Copyright 2025, Salesforce, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import path from 'node:path'; import { expect } from 'chai'; diff --git a/test/commands/data/tree/dataTreeSelfReferencing.nut.ts b/test/commands/data/tree/dataTreeSelfReferencing.nut.ts index 15bf6de3..1ca58c0b 100644 --- a/test/commands/data/tree/dataTreeSelfReferencing.nut.ts +++ b/test/commands/data/tree/dataTreeSelfReferencing.nut.ts @@ -1,8 +1,17 @@ /* - * Copyright (c) 2020, salesforce.com, inc. - * All rights reserved. - * Licensed under the BSD 3-Clause license. - * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause + * Copyright 2025, Salesforce, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import path from 'node:path'; import { expect } from 'chai'; diff --git a/test/commands/data/update/bulk.nut.ts b/test/commands/data/update/bulk.nut.ts index 12a1134f..7a1034e6 100644 --- a/test/commands/data/update/bulk.nut.ts +++ b/test/commands/data/update/bulk.nut.ts @@ -1,8 +1,17 @@ /* - * Copyright (c) 2024, salesforce.com, inc. - * All rights reserved. - * Licensed under the BSD 3-Clause license. - * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause + * Copyright 2025, Salesforce, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import path from 'node:path'; import { execCmd, TestSession } from '@salesforce/cli-plugins-testkit'; diff --git a/test/commands/data/update/record.test.ts b/test/commands/data/update/record.test.ts index af6d7caf..3592c995 100644 --- a/test/commands/data/update/record.test.ts +++ b/test/commands/data/update/record.test.ts @@ -1,8 +1,17 @@ /* - * Copyright (c) 2020, salesforce.com, inc. - * All rights reserved. - * Licensed under the BSD 3-Clause license. - * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause + * Copyright 2025, Salesforce, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import { resolve } from 'node:path'; import { strict as assert } from 'node:assert'; diff --git a/test/commands/data/update/resume.nut.ts b/test/commands/data/update/resume.nut.ts index 3263191c..7fdf9a09 100644 --- a/test/commands/data/update/resume.nut.ts +++ b/test/commands/data/update/resume.nut.ts @@ -1,8 +1,17 @@ /* - * Copyright (c) 2024, salesforce.com, inc. - * All rights reserved. - * Licensed under the BSD 3-Clause license. - * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause + * Copyright 2025, Salesforce, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import path from 'node:path'; import { execCmd, TestSession } from '@salesforce/cli-plugins-testkit'; diff --git a/test/commands/force/data/bulk/dataBulk.nut.ts b/test/commands/force/data/bulk/dataBulk.nut.ts index 3d267cfb..48a6879e 100644 --- a/test/commands/force/data/bulk/dataBulk.nut.ts +++ b/test/commands/force/data/bulk/dataBulk.nut.ts @@ -1,8 +1,17 @@ /* - * Copyright (c) 2020, salesforce.com, inc. - * All rights reserved. - * Licensed under the BSD 3-Clause license. - * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause + * Copyright 2025, Salesforce, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import path from 'node:path'; import { strict as assert } from 'node:assert/strict'; diff --git a/test/commands/force/data/bulk/upsert.test.ts b/test/commands/force/data/bulk/upsert.test.ts index 45a39579..888af1c8 100644 --- a/test/commands/force/data/bulk/upsert.test.ts +++ b/test/commands/force/data/bulk/upsert.test.ts @@ -1,8 +1,17 @@ /* - * Copyright (c) 2020, salesforce.com, inc. - * All rights reserved. - * Licensed under the BSD 3-Clause license. - * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause + * Copyright 2025, Salesforce, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import { dirname, resolve } from 'node:path'; diff --git a/test/queryFields.test.ts b/test/queryFields.test.ts index 0dfd18ea..666a7f9e 100644 --- a/test/queryFields.test.ts +++ b/test/queryFields.test.ts @@ -1,8 +1,17 @@ /* - * Copyright (c) 2020, salesforce.com, inc. - * All rights reserved. - * Licensed under the BSD 3-Clause license. - * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause + * Copyright 2025, Salesforce, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import { expect } from 'chai'; diff --git a/test/reporters/csv.test.ts b/test/reporters/csv.test.ts index 506973d9..8436b7e5 100644 --- a/test/reporters/csv.test.ts +++ b/test/reporters/csv.test.ts @@ -1,8 +1,17 @@ /* - * Copyright (c) 2023, salesforce.com, inc. - * All rights reserved. - * Licensed under the BSD 3-Clause license. - * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause + * Copyright 2025, Salesforce, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import { expect } from 'chai'; import { diff --git a/test/reporters/csvSearchReporter.test.ts b/test/reporters/csvSearchReporter.test.ts index 00dabe1a..c0c80eb8 100644 --- a/test/reporters/csvSearchReporter.test.ts +++ b/test/reporters/csvSearchReporter.test.ts @@ -1,8 +1,17 @@ /* - * Copyright (c) 2023, salesforce.com, inc. - * All rights reserved. - * Licensed under the BSD 3-Clause license. - * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause + * Copyright 2025, Salesforce, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import fs from 'node:fs'; import { TestContext } from '@salesforce/core/testSetup'; diff --git a/test/reporters/humanSearchReporter.test.ts b/test/reporters/humanSearchReporter.test.ts index 3152e311..0fc3b871 100644 --- a/test/reporters/humanSearchReporter.test.ts +++ b/test/reporters/humanSearchReporter.test.ts @@ -1,8 +1,17 @@ /* - * Copyright (c) 2023, salesforce.com, inc. - * All rights reserved. - * Licensed under the BSD 3-Clause license. - * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause + * Copyright 2025, Salesforce, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import { TestContext } from '@salesforce/core/testSetup'; import { expect } from 'chai'; diff --git a/test/reporters/reporter.test.ts b/test/reporters/reporter.test.ts index b054b316..f4782e4c 100644 --- a/test/reporters/reporter.test.ts +++ b/test/reporters/reporter.test.ts @@ -1,8 +1,17 @@ /* - * Copyright (c) 2020, salesforce.com, inc. - * All rights reserved. - * Licensed under the BSD 3-Clause license. - * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause + * Copyright 2025, Salesforce, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import { expect } from 'chai'; diff --git a/test/reporters/reporters.test.ts b/test/reporters/reporters.test.ts index ea6d7c54..ce70e8fd 100644 --- a/test/reporters/reporters.test.ts +++ b/test/reporters/reporters.test.ts @@ -1,8 +1,17 @@ /* - * Copyright (c) 2023, salesforce.com, inc. - * All rights reserved. - * Licensed under the BSD 3-Clause license. - * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause + * Copyright 2025, Salesforce, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import { expect } from 'chai'; diff --git a/test/test-files/queryFields.exemplars.ts b/test/test-files/queryFields.exemplars.ts index 6d4cde7a..ca7021de 100644 --- a/test/test-files/queryFields.exemplars.ts +++ b/test/test-files/queryFields.exemplars.ts @@ -1,8 +1,17 @@ /* - * Copyright (c) 2020, salesforce.com, inc. - * All rights reserved. - * Licensed under the BSD 3-Clause license. - * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause + * Copyright 2025, Salesforce, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import { Field, FieldType } from '../../src/types.js'; diff --git a/test/test-files/soqlQuery.exemplars.ts b/test/test-files/soqlQuery.exemplars.ts index eefaef15..596729a8 100644 --- a/test/test-files/soqlQuery.exemplars.ts +++ b/test/test-files/soqlQuery.exemplars.ts @@ -1,8 +1,17 @@ /* - * Copyright (c) 2020, salesforce.com, inc. - * All rights reserved. - * Licensed under the BSD 3-Clause license. - * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause + * Copyright 2025, Salesforce, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import { FieldType } from '../../src/types.js'; diff --git a/test/testUtil.ts b/test/testUtil.ts index 5732a7f1..30d184f5 100644 --- a/test/testUtil.ts +++ b/test/testUtil.ts @@ -1,8 +1,17 @@ /* - * Copyright (c) 2020, salesforce.com, inc. - * All rights reserved. - * Licensed under the BSD 3-Clause license. - * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause + * Copyright 2025, Salesforce, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ import path from 'node:path'; diff --git a/yarn.lock b/yarn.lock index 1917eeb1..9ec49c02 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1545,10 +1545,10 @@ resolved "https://registry.yarnpkg.com/@salesforce/dev-config/-/dev-config-4.3.1.tgz#4dac8245df79d675258b50e1d24e8c636eaa5e10" integrity sha512-rO6axodoRF2SA1kknGttIWuL7HhIwSmweGlBzM8y2m5TH8DeIv4xsqYc8Cu+SrR3JT1FN4nh6XgrogI83AJfKg== -"@salesforce/dev-scripts@^11.0.3": - version "11.0.3" - resolved "https://registry.yarnpkg.com/@salesforce/dev-scripts/-/dev-scripts-11.0.3.tgz#414d4d45c12c2a1eada418951acc18afc49d0fad" - integrity sha512-7nbrIJvFyUSdt4A2D0mjb4nKhuvmQvZtb+xt5iCeD0wOgMMuggEr7gTIhv5IHl7Jkhn4aBiXR3KQOp96gZm3nQ== +"@salesforce/dev-scripts@^11.0.4": + version "11.0.4" + resolved "https://registry.yarnpkg.com/@salesforce/dev-scripts/-/dev-scripts-11.0.4.tgz#9e9fa6d425308b638508e701956dfd4c97eb403c" + integrity sha512-8RebBJpcgoO0AVmrb3pFwSUD8vCqdWbUmv3JwoDy2lWofAT0vYM3NywCCdKj26XnSASkRgKvsY6AQpkxLs+vVg== dependencies: "@commitlint/cli" "^17.1.2" "@commitlint/config-conventional" "^17.8.1" @@ -1561,7 +1561,7 @@ chai "^4.3.10" chalk "^4.0.0" cosmiconfig "^8.3.6" - eslint-config-salesforce-typescript "^3.4.0" + eslint-config-salesforce-typescript "4.0.1" husky "^7.0.4" linkinator "^6.1.1" mocha "^10.7.0" @@ -3751,22 +3751,22 @@ eslint-config-prettier@^9.1.0: resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-9.1.0.tgz#31af3d94578645966c082fcb71a5846d3c94867f" integrity sha512-NSWl5BFQWEPi1j4TjVNItzYV7dZXZ+wP6I6ZhrBGpChQhZRUaElihE9uRRkcbRnNb76UMKDF3r+WTmNcGPKsqw== -eslint-config-salesforce-license@^0.2.0: - version "0.2.0" - resolved "https://registry.npmjs.org/eslint-config-salesforce-license/-/eslint-config-salesforce-license-0.2.0.tgz" - integrity sha512-DJdBvgj82Erum82YMe+YvG/o6ukna3UA++lRl0HSTldj0VlBl3Q8hzCp97nRXZHra6JH1I912yievZzklXDw6w== +eslint-config-salesforce-license@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/eslint-config-salesforce-license/-/eslint-config-salesforce-license-1.0.2.tgz#0bc7f482677f44105a6a28644f5ccbd4c9abfa01" + integrity sha512-l/1uz9RJHQHnVEEexHpHsQt3+aP/Ys2HGfZcLuUg/FZ6NGhL15ey33OJfYCYtSUKMLGiEKdUhdWVp34WD4rIdQ== -eslint-config-salesforce-typescript@^3.4.0: - version "3.4.0" - resolved "https://registry.yarnpkg.com/eslint-config-salesforce-typescript/-/eslint-config-salesforce-typescript-3.4.0.tgz#3542e96aa6054b3df3b7c636b3b7f5bf4238bfb3" - integrity sha512-pT+kJsmLrXIsVw1f24gWB+a2Iefan9qp02iSdx5mk4Jb/Jv68LhS+V/dfJxN5vvKhzvc86UwUPEIQBX9OCSbpQ== +eslint-config-salesforce-typescript@4.0.1: + version "4.0.1" + resolved "https://registry.yarnpkg.com/eslint-config-salesforce-typescript/-/eslint-config-salesforce-typescript-4.0.1.tgz#d310a40ab117bb77c19d9f5d2377f278d2da97a4" + integrity sha512-aYRFIjVXA8b0fJt7JImcqRBb++lhFjLSeZhboMZZWMNGQyWeQ8pGX7ZW2/71TQiM0b4P8Nrpapi1w4VuM0kc/A== dependencies: "@typescript-eslint/eslint-plugin" "^6.21.0" "@typescript-eslint/parser" "^6.21.0" eslint "^8.56.0" eslint-config-prettier "^9.1.0" eslint-config-salesforce "^2.2.0" - eslint-config-salesforce-license "^0.2.0" + eslint-config-salesforce-license "^1.0.2" eslint-plugin-header "^3.1.1" eslint-plugin-import "^2.29.1" eslint-plugin-jsdoc "^46.10.1"