@hpcc-js/observablehq-compiler 1.2.11 → 1.2.13
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/index.esm.js +99 -33
- package/dist/index.esm.js.map +1 -1
- package/dist/index.esm.min.js +2 -2
- package/dist/index.esm.min.js.map +1 -1
- package/dist/index.js +99 -35
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +2 -2
- package/dist/index.min.js.map +1 -1
- package/package.json +6 -6
- package/src/__package__.ts +2 -2
- package/types/__package__.d.ts +2 -2
- package/types/compiler.d.ts +2 -50
- package/types/compiler.d.ts.map +1 -1
- package/types-3.4/__package__.d.ts +2 -2
- package/types-3.4/compiler.d.ts +2 -50
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hpcc-js/observablehq-compiler",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.13",
|
|
4
4
|
"description": "hpcc-js - ObservableHQ Compiler (unoffical)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"observablehq",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"src/*"
|
|
34
34
|
],
|
|
35
35
|
"scripts": {
|
|
36
|
-
"clean": "rimraf lib* dist* types *.tsbuildinfo",
|
|
36
|
+
"clean": "rimraf --glob lib* dist* types *.tsbuildinfo",
|
|
37
37
|
"compile-es6": "tsc --module es2020 --outDir ./lib-es6",
|
|
38
38
|
"compile-es6-watch": "npm run compile-es6 -- -w",
|
|
39
39
|
"compile-umd": "tsc --module umd --outDir ./lib-umd",
|
|
@@ -56,14 +56,14 @@
|
|
|
56
56
|
"update": "npx --yes npm-check-updates -u -t minor"
|
|
57
57
|
},
|
|
58
58
|
"dependencies": {
|
|
59
|
-
"@hpcc-js/observable-shim": "^2.5.
|
|
59
|
+
"@hpcc-js/observable-shim": "^2.5.5",
|
|
60
60
|
"node-fetch": "3.3.2",
|
|
61
61
|
"yargs": "17.7.2"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
64
|
"@hpcc-js/bundle": "^2.11.5",
|
|
65
|
-
"@observablehq/runtime": "5.9.
|
|
66
|
-
"tslib": "2.6.
|
|
65
|
+
"@observablehq/runtime": "5.9.8",
|
|
66
|
+
"tslib": "2.6.3"
|
|
67
67
|
},
|
|
68
68
|
"repository": {
|
|
69
69
|
"type": "git",
|
|
@@ -76,5 +76,5 @@
|
|
|
76
76
|
"url": "https://github.com/hpcc-systems/Visualization/issues"
|
|
77
77
|
},
|
|
78
78
|
"homepage": "https://github.com/hpcc-systems/Visualization/tree/trunk/packages/observablehq-compiler",
|
|
79
|
-
"gitHead": "
|
|
79
|
+
"gitHead": "af1635cb20805f16790f241a2cf2baeb2ba1ad77"
|
|
80
80
|
}
|
package/src/__package__.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export const PKG_NAME = "@hpcc-js/observablehq-compiler";
|
|
2
|
-
export const PKG_VERSION = "1.2.
|
|
3
|
-
export const BUILD_VERSION = "2.
|
|
2
|
+
export const PKG_VERSION = "1.2.13";
|
|
3
|
+
export const BUILD_VERSION = "2.105.12";
|
package/types/__package__.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export declare const PKG_NAME = "@hpcc-js/observablehq-compiler";
|
|
2
|
-
export declare const PKG_VERSION = "1.2.
|
|
3
|
-
export declare const BUILD_VERSION = "2.
|
|
2
|
+
export declare const PKG_VERSION = "1.2.13";
|
|
3
|
+
export declare const BUILD_VERSION = "2.105.12";
|
|
4
4
|
//# sourceMappingURL=__package__.d.ts.map
|
package/types/compiler.d.ts
CHANGED
|
@@ -100,56 +100,8 @@ export declare function compile(notebookOrOjs: ohq.Notebook | string, { baseUrl,
|
|
|
100
100
|
delete(): void;
|
|
101
101
|
write(w: Writer): void;
|
|
102
102
|
}>;
|
|
103
|
-
set(n: ohq.Node): Promise<
|
|
104
|
-
|
|
105
|
-
id: string | number;
|
|
106
|
-
modules: {
|
|
107
|
-
(runtime: ohq.Runtime, main: ohq.Module, inspector?: InspectorFactoryEx): ohq.Module;
|
|
108
|
-
importVariables: {
|
|
109
|
-
(main: ohq.Module, otherModule: ohq.Module): void;
|
|
110
|
-
delete(): void;
|
|
111
|
-
}[];
|
|
112
|
-
variables: {
|
|
113
|
-
(module: ohq.Module, inspector?: InspectorFactoryEx): ohq.Variable;
|
|
114
|
-
delete(): void;
|
|
115
|
-
write(w: Writer): void;
|
|
116
|
-
}[];
|
|
117
|
-
delete(): void;
|
|
118
|
-
write(w: Writer): void;
|
|
119
|
-
}[];
|
|
120
|
-
variables: {
|
|
121
|
-
(module: ohq.Module, inspector?: InspectorFactoryEx): ohq.Variable;
|
|
122
|
-
delete(): void;
|
|
123
|
-
write(w: Writer): void;
|
|
124
|
-
}[];
|
|
125
|
-
delete(): void;
|
|
126
|
-
write(w: Writer): void;
|
|
127
|
-
}>;
|
|
128
|
-
get(id: string | number): {
|
|
129
|
-
(runtime: ohq.Runtime, main: ohq.Module, inspector?: InspectorFactoryEx): void;
|
|
130
|
-
id: string | number;
|
|
131
|
-
modules: {
|
|
132
|
-
(runtime: ohq.Runtime, main: ohq.Module, inspector?: InspectorFactoryEx): ohq.Module;
|
|
133
|
-
importVariables: {
|
|
134
|
-
(main: ohq.Module, otherModule: ohq.Module): void;
|
|
135
|
-
delete(): void;
|
|
136
|
-
}[];
|
|
137
|
-
variables: {
|
|
138
|
-
(module: ohq.Module, inspector?: InspectorFactoryEx): ohq.Variable;
|
|
139
|
-
delete(): void;
|
|
140
|
-
write(w: Writer): void;
|
|
141
|
-
}[];
|
|
142
|
-
delete(): void;
|
|
143
|
-
write(w: Writer): void;
|
|
144
|
-
}[];
|
|
145
|
-
variables: {
|
|
146
|
-
(module: ohq.Module, inspector?: InspectorFactoryEx): ohq.Variable;
|
|
147
|
-
delete(): void;
|
|
148
|
-
write(w: Writer): void;
|
|
149
|
-
}[];
|
|
150
|
-
delete(): void;
|
|
151
|
-
write(w: Writer): void;
|
|
152
|
-
};
|
|
103
|
+
set(n: ohq.Node): Promise<CellFunc>;
|
|
104
|
+
get(id: string | number): CellFunc;
|
|
153
105
|
delete(id: string | number): boolean;
|
|
154
106
|
clear(): void;
|
|
155
107
|
write(w: Writer): void;
|
package/types/compiler.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"compiler.d.ts","sourceRoot":"","sources":["../src/compiler.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAe,MAAM,0BAA0B,CAAC;AAE5D,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAIlC,MAAM,MAAM,kBAAkB,GAAG,CAAC,IAAI,EAAE,MAAM,GAAG,SAAS,EAAE,EAAE,EAAE,MAAM,GAAG,MAAM,KAAK,SAAS,CAAC;AAE9F,MAAM,WAAW,SAAS;IACtB,KAAK,CAAC,EAAE,cAAc,CAAC;IACvB,OAAO,QAAG;IACV,SAAS,CAAC,KAAK,KAAA,OAAE;IACjB,QAAQ,CAAC,KAAK,KAAA,OAAE;CACnB;AAoLD,iBAAe,UAAU,CAAC,IAAI,EAAE,GAAG,CAAC,IAAI,EAAE,OAAO,EAAE,cAAc;cA8BpC,
|
|
1
|
+
{"version":3,"file":"compiler.d.ts","sourceRoot":"","sources":["../src/compiler.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAe,MAAM,0BAA0B,CAAC;AAE5D,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAIlC,MAAM,MAAM,kBAAkB,GAAG,CAAC,IAAI,EAAE,MAAM,GAAG,SAAS,EAAE,EAAE,EAAE,MAAM,GAAG,MAAM,KAAK,SAAS,CAAC;AAE9F,MAAM,WAAW,SAAS;IACtB,KAAK,CAAC,EAAE,cAAc,CAAC;IACvB,OAAO,QAAG;IACV,SAAS,CAAC,KAAK,KAAA,OAAE;IACjB,QAAQ,CAAC,KAAK,KAAA,OAAE;CACnB;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AQ,CAAC;YAMjC,MAAM,GAAG,MAAM,GAAG,QAAQ;eAGvB,MAAM,GAAG,MAAM,GAAG,OAAO;;aAY3B,MAAM;;EAS5B;AAED,wBAAsB,OAAO,CAAC,aAAa,EAAE,GAAG,CAAC,QAAQ,GAAG,MAAM,EAAE,EAAE,OAAa,EAAE,UAA0B,EAAE,GAAE,cAAmB;cA9CzG,GAAG,CAAC,OAAO,cAAc,kBAAkB,GAAG,GAAG,CAAC,MAAM;;;kBApCxD,GAAG,CAAC,OAAO,QAAQ,GAAG,CAAC,MAAM,cAAc,kBAAkB;;;sBA9H7D,GAAG,CAAC,OAAO,QAAQ,GAAG,CAAC,MAAM,cAAc,kBAAkB;;uBAmFhE,GAAG,CAAC,MAAM,eAAe,GAAG,CAAC,MAAM;;;;yBApDjC,GAAG,CAAC,MAAM,cAAc,kBAAkB;;yBAoC/C,MAAM;;;qBAlDN,MAAM;;;qBAcD,GAAG,CAAC,MAAM,cAAc,kBAAkB;;qBAoC/C,MAAM;;;iBAsEN,MAAM;;WAuCF,GAAG,CAAC,IAAI,GAAG,OAAO,CAAC,QAAQ,CAAC;YAMjC,MAAM,GAAG,MAAM,GAAG,QAAQ;eAGvB,MAAM,GAAG,MAAM,GAAG,OAAO;;aAY3B,MAAM;;GAe5B;AACD,MAAM,MAAM,WAAW,GAAG,OAAO,CAAC,UAAU,CAAC,OAAO,OAAO,CAAC,CAAC,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export declare const PKG_NAME = "@hpcc-js/observablehq-compiler";
|
|
2
|
-
export declare const PKG_VERSION = "1.2.
|
|
3
|
-
export declare const BUILD_VERSION = "2.
|
|
2
|
+
export declare const PKG_VERSION = "1.2.13";
|
|
3
|
+
export declare const BUILD_VERSION = "2.105.12";
|
|
4
4
|
//# sourceMappingURL=__package__.d.ts.map
|
package/types-3.4/compiler.d.ts
CHANGED
|
@@ -100,56 +100,8 @@ export declare function compile(notebookOrOjs: ohq.Notebook | string, { baseUrl,
|
|
|
100
100
|
delete(): void;
|
|
101
101
|
write(w: Writer): void;
|
|
102
102
|
}>;
|
|
103
|
-
set(n: ohq.Node): Promise<
|
|
104
|
-
|
|
105
|
-
id: string | number;
|
|
106
|
-
modules: {
|
|
107
|
-
(runtime: ohq.Runtime, main: ohq.Module, inspector?: InspectorFactoryEx): ohq.Module;
|
|
108
|
-
importVariables: {
|
|
109
|
-
(main: ohq.Module, otherModule: ohq.Module): void;
|
|
110
|
-
delete(): void;
|
|
111
|
-
}[];
|
|
112
|
-
variables: {
|
|
113
|
-
(module: ohq.Module, inspector?: InspectorFactoryEx): ohq.Variable;
|
|
114
|
-
delete(): void;
|
|
115
|
-
write(w: Writer): void;
|
|
116
|
-
}[];
|
|
117
|
-
delete(): void;
|
|
118
|
-
write(w: Writer): void;
|
|
119
|
-
}[];
|
|
120
|
-
variables: {
|
|
121
|
-
(module: ohq.Module, inspector?: InspectorFactoryEx): ohq.Variable;
|
|
122
|
-
delete(): void;
|
|
123
|
-
write(w: Writer): void;
|
|
124
|
-
}[];
|
|
125
|
-
delete(): void;
|
|
126
|
-
write(w: Writer): void;
|
|
127
|
-
}>;
|
|
128
|
-
get(id: string | number): {
|
|
129
|
-
(runtime: ohq.Runtime, main: ohq.Module, inspector?: InspectorFactoryEx): void;
|
|
130
|
-
id: string | number;
|
|
131
|
-
modules: {
|
|
132
|
-
(runtime: ohq.Runtime, main: ohq.Module, inspector?: InspectorFactoryEx): ohq.Module;
|
|
133
|
-
importVariables: {
|
|
134
|
-
(main: ohq.Module, otherModule: ohq.Module): void;
|
|
135
|
-
delete(): void;
|
|
136
|
-
}[];
|
|
137
|
-
variables: {
|
|
138
|
-
(module: ohq.Module, inspector?: InspectorFactoryEx): ohq.Variable;
|
|
139
|
-
delete(): void;
|
|
140
|
-
write(w: Writer): void;
|
|
141
|
-
}[];
|
|
142
|
-
delete(): void;
|
|
143
|
-
write(w: Writer): void;
|
|
144
|
-
}[];
|
|
145
|
-
variables: {
|
|
146
|
-
(module: ohq.Module, inspector?: InspectorFactoryEx): ohq.Variable;
|
|
147
|
-
delete(): void;
|
|
148
|
-
write(w: Writer): void;
|
|
149
|
-
}[];
|
|
150
|
-
delete(): void;
|
|
151
|
-
write(w: Writer): void;
|
|
152
|
-
};
|
|
103
|
+
set(n: ohq.Node): Promise<CellFunc>;
|
|
104
|
+
get(id: string | number): CellFunc;
|
|
153
105
|
delete(id: string | number): boolean;
|
|
154
106
|
clear(): void;
|
|
155
107
|
write(w: Writer): void;
|