@hamak/navigation-utils 0.5.1 → 0.5.5
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/es2015/index.js +6 -6
- package/dist/es2015/itinerary/itinerary.js +1 -1
- package/dist/es2015/itinerary/itinerary.spec.js +3 -3
- package/dist/es2015/itinerary/stack.spec.js +1 -1
- package/dist/es2015/path/pathway-resolver.js +1 -1
- package/dist/index.d.ts +6 -6
- package/dist/index.js +6 -6
- package/dist/itinerary/itinerary.d.ts +2 -2
- package/dist/itinerary/itinerary.js +1 -1
- package/dist/itinerary/itinerary.spec.js +3 -3
- package/dist/itinerary/stack.spec.js +1 -1
- package/dist/path/pathway-resolver.d.ts +1 -1
- package/dist/path/pathway-resolver.js +1 -1
- package/package.json +2 -2
package/dist/es2015/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
// Path utilities
|
|
2
|
-
export * from './path/pathway';
|
|
3
|
-
export * from './path/pathway-resolver';
|
|
2
|
+
export * from './path/pathway.js';
|
|
3
|
+
export * from './path/pathway-resolver.js';
|
|
4
4
|
// Itinerary utilities
|
|
5
|
-
export * from './itinerary/itinerary';
|
|
6
|
-
export * from './itinerary/stack';
|
|
7
|
-
export * from './itinerary/hyper-layer-node';
|
|
5
|
+
export * from './itinerary/itinerary.js';
|
|
6
|
+
export * from './itinerary/stack.js';
|
|
7
|
+
export * from './itinerary/hyper-layer-node.js';
|
|
8
8
|
// Filesystem abstractions
|
|
9
|
-
export * from './filesystem/fs-node-abstract.types';
|
|
9
|
+
export * from './filesystem/fs-node-abstract.types.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { describe, it, expect } from 'vitest';
|
|
2
|
-
import { areSameItineraryStep, constructiveItinerary, itineraryOf, itineraryOverlay, itineraryToStepArray, navigate, navigationDepth, overlayNavigator, positionStep, propertyStep, xpathFromStack } from './itinerary';
|
|
3
|
-
import stack from './stack';
|
|
4
|
-
import { hyperReflect } from './hyper-layer-node';
|
|
2
|
+
import { areSameItineraryStep, constructiveItinerary, itineraryOf, itineraryOverlay, itineraryToStepArray, navigate, navigationDepth, overlayNavigator, positionStep, propertyStep, xpathFromStack } from './itinerary.js';
|
|
3
|
+
import stack from './stack.js';
|
|
4
|
+
import { hyperReflect } from './hyper-layer-node.js';
|
|
5
5
|
describe('Navigate itinerary', () => {
|
|
6
6
|
it('should work', () => {
|
|
7
7
|
const itinerary = {
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export * from './path/pathway';
|
|
2
|
-
export * from './path/pathway-resolver';
|
|
3
|
-
export * from './itinerary/itinerary';
|
|
4
|
-
export * from './itinerary/stack';
|
|
5
|
-
export * from './itinerary/hyper-layer-node';
|
|
6
|
-
export * from './filesystem/fs-node-abstract.types';
|
|
1
|
+
export * from './path/pathway.js';
|
|
2
|
+
export * from './path/pathway-resolver.js';
|
|
3
|
+
export * from './itinerary/itinerary.js';
|
|
4
|
+
export * from './itinerary/stack.js';
|
|
5
|
+
export * from './itinerary/hyper-layer-node.js';
|
|
6
|
+
export * from './filesystem/fs-node-abstract.types.js';
|
|
7
7
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
// Path utilities
|
|
2
|
-
export * from './path/pathway';
|
|
3
|
-
export * from './path/pathway-resolver';
|
|
2
|
+
export * from './path/pathway.js';
|
|
3
|
+
export * from './path/pathway-resolver.js';
|
|
4
4
|
// Itinerary utilities
|
|
5
|
-
export * from './itinerary/itinerary';
|
|
6
|
-
export * from './itinerary/stack';
|
|
7
|
-
export * from './itinerary/hyper-layer-node';
|
|
5
|
+
export * from './itinerary/itinerary.js';
|
|
6
|
+
export * from './itinerary/stack.js';
|
|
7
|
+
export * from './itinerary/hyper-layer-node.js';
|
|
8
8
|
// Filesystem abstractions
|
|
9
|
-
export * from './filesystem/fs-node-abstract.types';
|
|
9
|
+
export * from './filesystem/fs-node-abstract.types.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { StackElement } from "./stack";
|
|
2
|
-
import { HyperLayerNode } from "./hyper-layer-node";
|
|
1
|
+
import { StackElement } from "./stack.js";
|
|
2
|
+
import { HyperLayerNode } from "./hyper-layer-node.js";
|
|
3
3
|
export type ObjectId = string | number;
|
|
4
4
|
interface PropertyValuePair<P = string, V = any> {
|
|
5
5
|
propertyName: P;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { describe, it, expect } from 'vitest';
|
|
2
|
-
import { areSameItineraryStep, constructiveItinerary, itineraryOf, itineraryOverlay, itineraryToStepArray, navigate, navigationDepth, overlayNavigator, positionStep, propertyStep, xpathFromStack } from './itinerary';
|
|
3
|
-
import stack from './stack';
|
|
4
|
-
import { hyperReflect } from './hyper-layer-node';
|
|
2
|
+
import { areSameItineraryStep, constructiveItinerary, itineraryOf, itineraryOverlay, itineraryToStepArray, navigate, navigationDepth, overlayNavigator, positionStep, propertyStep, xpathFromStack } from './itinerary.js';
|
|
3
|
+
import stack from './stack.js';
|
|
4
|
+
import { hyperReflect } from './hyper-layer-node.js';
|
|
5
5
|
describe('Navigate itinerary', () => {
|
|
6
6
|
it('should work', () => {
|
|
7
7
|
const itinerary = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hamak/navigation-utils",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.5",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "Navigation utilities for path manipulation and data structure navigation",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"access": "public"
|
|
20
20
|
},
|
|
21
21
|
"scripts": {
|
|
22
|
-
"build": "tsc -p tsconfig.json && tsc -p tsconfig.es2015.json",
|
|
22
|
+
"build": "tsc -p tsconfig.json && tsc -p tsconfig.es2015.json && node ../../../scripts/fix-esm-extensions.mjs ./dist",
|
|
23
23
|
"clean": "rm -rf dist",
|
|
24
24
|
"test": "vitest run",
|
|
25
25
|
"test:watch": "vitest"
|