Skip to content

Commit 0ccf0d0

Browse files
refactor: replace isPlainObject() function with @robot-inventor/ts-utils (#1131)
1 parent adf3c3b commit 0ccf0d0

File tree

5 files changed

+11
-6
lines changed

5 files changed

+11
-6
lines changed

package-lock.json

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@
5151
},
5252
"devDependencies": {
5353
"@robot-inventor/eslint-config": "^6.0.0",
54+
"@robot-inventor/ts-utils": "^0.1.1",
5455
"@robot-inventor/tsconfig-base": "^2.0.0",
5556
"@rspack/cli": "^1.0.14",
5657
"@rspack/core": "^1.0.14",

script/addUserScriptsComment.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import fs from "fs";
22
import { glob } from "glob";
3-
import { isPlainObject } from "./util";
3+
import { isPlainObject } from "@robot-inventor/ts-utils";
44
import packagejson from "../package.json";
55
import path from "path";
66

script/updatePrivacyPolicy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import fs from "fs";
22
import { glob } from "glob";
3-
import { isPlainObject } from "./util";
3+
import { isPlainObject } from "@robot-inventor/ts-utils";
44

55
const START_MARKER = "<!-- PRIVACY_POLICY_TEXT_START -->";
66
const END_MARKER = "<!-- PRIVACY_POLICY_TEXT_END -->";

script/util.ts

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)