@gw2treasures/helper 0.0.1 → 0.0.3

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.
package/dist/is.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  export type Undefined = undefined | null;
2
2
  export type Falsy = false | 0 | -0 | 0n | '' | Undefined;
3
3
  export declare function isUndefined(value: unknown): value is Undefined;
4
- export declare function isDefinied<T>(value: T | Undefined): value is T;
4
+ export declare function isDefined<T>(value: T | Undefined): value is T;
5
5
  export declare function isTruthy<T>(value: T | Falsy): value is T;
6
6
  export declare function isFalsy(value: unknown): value is Falsy;
7
7
  export declare function isEmptyObject(obj: unknown): obj is Record<string, never>;
package/dist/is.js CHANGED
@@ -1,14 +1,14 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.isString = exports.isEmptyObject = exports.isFalsy = exports.isTruthy = exports.isDefinied = exports.isUndefined = void 0;
3
+ exports.isString = exports.isEmptyObject = exports.isFalsy = exports.isTruthy = exports.isDefined = exports.isUndefined = void 0;
4
4
  function isUndefined(value) {
5
5
  return value == null;
6
6
  }
7
7
  exports.isUndefined = isUndefined;
8
- function isDefinied(value) {
8
+ function isDefined(value) {
9
9
  return value != null;
10
10
  }
11
- exports.isDefinied = isDefinied;
11
+ exports.isDefined = isDefined;
12
12
  function isTruthy(value) {
13
13
  return !!value;
14
14
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gw2treasures/helper",
3
- "version": "0.0.1",
3
+ "version": "0.0.3",
4
4
  "description": "gw2treasures.com utility library",
5
5
  "exports": {
6
6
  "./is": {
@@ -18,14 +18,11 @@
18
18
  },
19
19
  "repository": {
20
20
  "type": "git",
21
- "url": "git+https://github.com/GW2Treasures/gw2.me.git"
21
+ "url": "git+https://github.com/GW2Treasures/gw2treasures.com.git"
22
22
  },
23
23
  "keywords": [
24
- "gw2me",
25
- "gw2",
26
- "guildwars2",
27
- "auth",
28
- "oauth2"
24
+ "gw2treasures",
25
+ "helper"
29
26
  ],
30
27
  "files": [
31
28
  "dist/"
@@ -33,13 +30,13 @@
33
30
  "author": "darthmaim",
34
31
  "license": "MIT",
35
32
  "bugs": {
36
- "url": "https://github.com/gw2treasures/gw2.me/issues"
33
+ "url": "https://github.com/gw2treasures/gw2treasures.com/issues"
37
34
  },
38
- "homepage": "https://github.com/gw2treasures/gw2.me#readme",
35
+ "homepage": "https://github.com/gw2treasures/gw2treasures.com#readme",
39
36
  "devDependencies": {
40
37
  "@tsconfig/recommended": "1.0.3",
41
- "@typescript-eslint/eslint-plugin": "6.20.0",
42
- "@typescript-eslint/parser": "6.20.0",
38
+ "@typescript-eslint/eslint-plugin": "6.21.0",
39
+ "@typescript-eslint/parser": "6.21.0",
43
40
  "eslint": "8.56.0",
44
41
  "typescript": "5.3.3"
45
42
  }