@isograph/reference-counted-pointer 0.1.0 → 0.2.0
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.
@@ -6,7 +6,7 @@ import type { ItemCleanupPair } from '@isograph/disposable-types';
|
|
6
6
|
* disposed, the underlying item will be disposed.
|
7
7
|
*
|
8
8
|
* Additional reference-counted pointers guarding the same item can be
|
9
|
-
* created by calling
|
9
|
+
* created by calling cloneIfNotDisposed().
|
10
10
|
*
|
11
11
|
* ## Structural sharing
|
12
12
|
*
|
@@ -9,7 +9,7 @@ exports.createReferenceCountedPointer = void 0;
|
|
9
9
|
* disposed, the underlying item will be disposed.
|
10
10
|
*
|
11
11
|
* Additional reference-counted pointers guarding the same item can be
|
12
|
-
* created by calling
|
12
|
+
* created by calling cloneIfNotDisposed().
|
13
13
|
*
|
14
14
|
* ## Structural sharing
|
15
15
|
*
|
package/package.json
CHANGED
@@ -1,7 +1,8 @@
|
|
1
1
|
{
|
2
2
|
"name": "@isograph/reference-counted-pointer",
|
3
|
-
"version": "0.
|
3
|
+
"version": "0.2.0",
|
4
4
|
"description": "Reference counted pointers enable sharing of disposable items.",
|
5
|
+
"homepage": "https://isograph.dev",
|
5
6
|
"main": "dist/index.js",
|
6
7
|
"types": "dist/index.d.ts",
|
7
8
|
"author": "Isograph Labs",
|
@@ -11,15 +12,13 @@
|
|
11
12
|
"compile-watch": "tsc -p tsconfig.pkg.json --watch",
|
12
13
|
"test": "vitest run",
|
13
14
|
"test-watch": "vitest watch",
|
14
|
-
"coverage": "vitest run --coverage"
|
15
|
+
"coverage": "vitest run --coverage",
|
16
|
+
"tsc": "tsc"
|
15
17
|
},
|
16
18
|
"dependencies": {
|
17
|
-
"@isograph/disposable-types": "0.
|
18
|
-
"react": "^18.2.0"
|
19
|
+
"@isograph/disposable-types": "0.2.0"
|
19
20
|
},
|
20
21
|
"devDependencies": {
|
21
|
-
"@types/react": "^18.0.31",
|
22
|
-
"react-test-renderer": "^18.2.0",
|
23
22
|
"typescript": "^5.0.3",
|
24
23
|
"vitest": "^0.29.8"
|
25
24
|
},
|
@@ -27,5 +26,6 @@
|
|
27
26
|
"type": "git",
|
28
27
|
"url": "git+https://github.com/isographlabs/isograph.git",
|
29
28
|
"directory": "libs/isograph-reference-counted-pointer"
|
30
|
-
}
|
29
|
+
},
|
30
|
+
"sideEffects": false
|
31
31
|
}
|
@@ -9,7 +9,7 @@ import type { CleanupFn, ItemCleanupPair } from '@isograph/disposable-types';
|
|
9
9
|
* disposed, the underlying item will be disposed.
|
10
10
|
*
|
11
11
|
* Additional reference-counted pointers guarding the same item can be
|
12
|
-
* created by calling
|
12
|
+
* created by calling cloneIfNotDisposed().
|
13
13
|
*
|
14
14
|
* ## Structural sharing
|
15
15
|
*
|