@briklab/lib 1.2.0-test → 1.2.1-test

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -10,7 +10,6 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
10
10
  return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
11
11
  };
12
12
  var _JSTypeChecker___CustomHandler;
13
- import { warner } from "../warner/index.js";
14
13
  /**
15
14
  * # JSTypeChecker
16
15
  * A JS Type Checker. Add type checking to your javascript files as well
@@ -29,9 +28,9 @@ export class JSTypeChecker {
29
28
  */
30
29
  for(args) {
31
30
  if (!Array.isArray(args)) {
32
- warner.warn({ message: `[JSTC.for] @briklab/lib/jstc: Invalid first argument!
31
+ console.warn(`[JSTC.for] @briklab/lib/jstc: Invalid first argument!
33
32
  Hint: The first argument must be a array.
34
- Using [givenValue] as fallback` });
33
+ Using [givenValue] as fallback`);
35
34
  args = [args];
36
35
  }
37
36
  return {
@@ -83,9 +82,9 @@ export class JSTypeChecker {
83
82
  */
84
83
  addCustomHandler(name, handler) {
85
84
  if (!(typeof name === "string" && typeof handler === "function")) {
86
- warner.warn({ message: `[JSTC.addCustomHandler] @briklab/lib/jstc: Invalid Arguments!
85
+ console.warn(`[JSTC.addCustomHandler] @briklab/lib/jstc: Invalid Arguments!
87
86
  Hint: The first argument must be a string, and the second argument must be a function
88
- Using String(argument1) and ()=>false as fallbacks` });
87
+ Using String(argument1) and ()=>false as fallbacks`);
89
88
  name = String(name);
90
89
  handler = () => false;
91
90
  }
package/package.json CHANGED
@@ -34,7 +34,7 @@
34
34
  "repository": {
35
35
  "url": "https://github.com/EkaanshPC/briklab-stdlib"
36
36
  },
37
- "version": "1.2.0-test",
37
+ "version": "1.2.1-test",
38
38
  "devDependencies": {
39
39
  "@types/cssom": "^0.4.3",
40
40
  "@types/node": "^25.1.0",