Skip to content

Commit

Permalink
deps(commons): remove properties
Browse files Browse the repository at this point in the history
  • Loading branch information
delatrie committed Oct 1, 2024
1 parent 00ad9da commit 23db786
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 62 deletions.
12 changes: 0 additions & 12 deletions .pnp.cjs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.
29 changes: 0 additions & 29 deletions packages/allure-js-commons/src/types/properties.d.ts

This file was deleted.

13 changes: 0 additions & 13 deletions packages/allure-js-commons/test/sdk/reporter/utils/envInfo.spec.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// @ts-ignore
import properties from "properties";
import { describe, expect, it } from "vitest";
import { parseEnvInfo, stringifyEnvInfo } from "../../../../src/sdk/reporter/utils/envInfo.js";
import type { EnvironmentInfo } from "../../../../src/sdk/types.js";
Expand Down Expand Up @@ -79,18 +78,6 @@ describe("stringifyEnvInfo", () => {
expect(stringifyEnvInfo({ foo: undefined })).toEqual("");
expect(stringifyEnvInfo({ foo: null } as any as EnvironmentInfo)).toEqual("");
});

it("should be compatible with properties.parse", () => {
const envInfo: EnvironmentInfo = {
foo: "bar",
[" : = \t\f\\\n\r\0\x7f\x80"]: "baz",
qux: " \t\f \\\t\n\f\r \0\x7f\x80",
quux: "𝆔Ψ𝆔",
["𝅘𝅥𝅲"]: "𝆔",
};

expect(properties.parse(stringifyEnvInfo(envInfo), { unicode: true })).toEqual(envInfo);
});
});

describe("parseEnvInfo", () => {
Expand Down
8 changes: 0 additions & 8 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4254,7 +4254,6 @@ __metadata:
eslint-plugin-prefer-arrow: "npm:^1.2.3"
md5: "npm:^2.3.0"
npm-run-all2: "npm:^6.1.2"
properties: "npm:^1.2.1"
rimraf: "npm:^6.0.0"
typescript: "npm:^5.2.2"
vitest: "npm:^1.6.0"
Expand Down Expand Up @@ -12342,13 +12341,6 @@ __metadata:
languageName: node
linkType: hard

"properties@npm:^1.2.1":
version: 1.2.1
resolution: "properties@npm:1.2.1"
checksum: 10/f8a4b4210a834e45a4b1af493b87955af8aff1245721a1806bb12e17c7bee0cff4ab5e8d2f96714379d156dce4e89f6ed23d685fb8f53a869a433166e3f12fd6
languageName: node
linkType: hard

"property-expr@npm:^2.0.5":
version: 2.0.6
resolution: "property-expr@npm:2.0.6"
Expand Down

0 comments on commit 23db786

Please sign in to comment.