@gravito/core 2.0.0 → 2.0.1

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/runtime.d.ts CHANGED
@@ -8,4 +8,4 @@
8
8
  * @since 3.2.0
9
9
  */
10
10
  export type { ArchiveCreateOptions, ArchiveEntry, ArchiveExtractOptions, ArchiveFileInfo, ArchiveFromDirectoryOptions, CompressionOptions, EscapeHtmlFn, MarkdownRenderCallbacks, MarkdownRenderOptions, OptionalRuntimeResourceUsage, RuntimeAdapter, RuntimeArchiveAdapter, RuntimeCompressionAdapter, RuntimeFileSink, RuntimeFileStat, RuntimeKind, RuntimeMarkdownAdapter, RuntimePasswordAdapter, RuntimeProcess, RuntimeProcessOutput, RuntimeResourceUsage, RuntimeServeConfig, RuntimeServer, RuntimeSpawnOptions, RuntimeSpawnSyncResult, RuntimeSqliteDatabase, RuntimeSqliteStatement, } from './runtime/index';
11
- export { archiveFromDirectory, createHtmlRenderCallbacks, createSqliteDatabase, getArchiveAdapter, getCompressionAdapter, getEscapeHtml, getMarkdownAdapter, getPasswordAdapter, getRuntimeAdapter, getRuntimeEnv, getRuntimeKind, toUint8Array, } from './runtime/index';
11
+ export { archiveFromDirectory, createHtmlRenderCallbacks, createSqliteDatabase, getArchiveAdapter, getCompressionAdapter, getEscapeHtml, getMarkdownAdapter, getPasswordAdapter, getRuntimeAdapter, getRuntimeEnv, getRuntimeKind, resetRuntimeAdapter, toUint8Array, } from './runtime/index';
package/package.json CHANGED
@@ -1,37 +1,37 @@
1
1
  {
2
2
  "name": "@gravito/core",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "description": "",
5
5
  "module": "./dist/index.js",
6
- "main": "./dist/index.cjs",
6
+ "main": "./dist/index.js",
7
7
  "type": "module",
8
8
  "sideEffects": false,
9
9
  "types": "./dist/index.d.ts",
10
10
  "exports": {
11
11
  ".": {
12
12
  "browser": "./src/index.browser.ts",
13
- "bun": "./src/index.ts",
14
13
  "types": "./dist/index.d.ts",
15
14
  "import": "./dist/index.js",
16
- "require": "./dist/index.cjs"
15
+ "require": "./dist/index.cjs",
16
+ "default": "./dist/index.cjs"
17
17
  },
18
18
  "./compat": {
19
- "bun": "./src/compat.ts",
20
19
  "types": "./dist/compat.d.ts",
21
20
  "import": "./dist/compat.js",
22
- "require": "./dist/compat.cjs"
21
+ "require": "./dist/compat.cjs",
22
+ "default": "./dist/compat.cjs"
23
23
  },
24
24
  "./engine": {
25
- "bun": "./src/engine/index.ts",
26
25
  "types": "./dist/engine/index.d.ts",
27
26
  "import": "./dist/engine/index.js",
28
- "require": "./dist/engine/index.cjs"
27
+ "require": "./dist/engine/index.cjs",
28
+ "default": "./dist/engine/index.cjs"
29
29
  },
30
30
  "./ffi": {
31
- "bun": "./src/ffi/index.ts",
32
31
  "types": "./dist/ffi/index.d.ts",
33
32
  "import": "./dist/ffi/index.js",
34
- "require": "./dist/ffi/index.cjs"
33
+ "require": "./dist/ffi/index.cjs",
34
+ "default": "./dist/ffi/index.cjs"
35
35
  },
36
36
  "./compat/async-local-storage": {
37
37
  "browser": "./src/compat/async-local-storage.browser.ts",
package/dist/compat.cjs DELETED
@@ -1,49 +0,0 @@
1
- // @bun @bun-cjs
2
- (function(exports, require, module, __filename, __dirname) {var __create = Object.create;
3
- var __getProtoOf = Object.getPrototypeOf;
4
- var __defProp = Object.defineProperty;
5
- var __getOwnPropNames = Object.getOwnPropertyNames;
6
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
7
- var __hasOwnProp = Object.prototype.hasOwnProperty;
8
- var __toESM = (mod, isNodeMode, target) => {
9
- target = mod != null ? __create(__getProtoOf(mod)) : {};
10
- const to = isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target;
11
- for (let key of __getOwnPropNames(mod))
12
- if (!__hasOwnProp.call(to, key))
13
- __defProp(to, key, {
14
- get: () => mod[key],
15
- enumerable: true
16
- });
17
- return to;
18
- };
19
- var __moduleCache = /* @__PURE__ */ new WeakMap;
20
- var __toCommonJS = (from) => {
21
- var entry = __moduleCache.get(from), desc;
22
- if (entry)
23
- return entry;
24
- entry = __defProp({}, "__esModule", { value: true });
25
- if (from && typeof from === "object" || typeof from === "function")
26
- __getOwnPropNames(from).map((key) => !__hasOwnProp.call(entry, key) && __defProp(entry, key, {
27
- get: () => from[key],
28
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
29
- }));
30
- __moduleCache.set(from, entry);
31
- return entry;
32
- };
33
- var __commonJS = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
34
- var __export = (target, all) => {
35
- for (var name in all)
36
- __defProp(target, name, {
37
- get: all[name],
38
- enumerable: true,
39
- configurable: true,
40
- set: (newValue) => all[name] = () => newValue
41
- });
42
- };
43
-
44
- // src/compat.ts
45
- var exports_compat = {};
46
- module.exports = __toCommonJS(exports_compat);
47
- })
48
-
49
- //# debugId=13536C28A77644A064756E2164756E21
@@ -1,9 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": [],
4
- "sourcesContent": [
5
- ],
6
- "mappings": "",
7
- "debugId": "13536C28A77644A064756E2164756E21",
8
- "names": []
9
- }