@absolutejs/absolute 0.19.0-beta.1060 → 0.19.0-beta.1062

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/LICENSE CHANGED
@@ -2,9 +2,9 @@
2
2
 
3
3
  **Licensor:** Alex Kahn
4
4
 
5
- **Licensed Work:** AbsoluteJS (https://github.com/absolutejs/absolutejs)
5
+ **Licensed Work:** @absolutejs/absolutejs (https://github.com/absolutejs/absolutejs)
6
6
 
7
- **Change Date:** February 16, 2036
7
+ **Change Date:** May 29, 2030
8
8
 
9
9
  **Change License:** Apache License, Version 2.0
10
10
 
@@ -22,15 +22,14 @@ You may use the Licensed Work in production, provided your use does not include
22
22
  any of the following:
23
23
 
24
24
  1. **Offering a Competing Service.** You may not offer the Licensed Work, or
25
- any derivative of it, to third parties as a hosted or managed service that
26
- competes with the Licensed Work itself (for example, a "framework-as-a-service"
27
- platform, deployment service, or cloud offering where AbsoluteJS or a
28
- substantial portion of its functionality is a primary component of the value
29
- provided to users).
25
+ any derivative or substantial portion of it, to third parties as a hosted or
26
+ managed service that competes with a managed AbsoluteJS hosting, deployment, or framework-as-a-service platform (including, but not limited to, services like Vercel, Render, Netlify, Fly.io, or Railway). This includes any
27
+ product whose primary value to its users is the functionality the Licensed
28
+ Work provides.
30
29
 
31
30
  2. **Resale or Redistribution as a Standalone Product.** You may not sell,
32
31
  license, or distribute the Licensed Work, or any derivative or fork of it,
33
- as a standalone commercial product or framework.
32
+ as a standalone commercial product.
34
33
 
35
34
  3. **Removal of Attribution.** Any derivative work, fork, or redistribution of
36
35
  the Licensed Work must prominently credit AbsoluteJS and include a link to
@@ -38,12 +37,14 @@ any of the following:
38
37
 
39
38
  For clarity, the following uses are expressly permitted:
40
39
 
41
- - Using AbsoluteJS to build and deploy your own applications, websites, or
42
- SaaS products (whether commercial or non-commercial).
43
- - Using AbsoluteJS as a dependency in commercial software that you build and sell,
44
- as long as the software is not itself a competing framework or hosting service.
40
+ - Using the Licensed Work to build and operate your own applications, websites,
41
+ internal tools, or SaaS products (whether commercial or non-commercial), so
42
+ long as the Licensed Work itself is not the primary product you are selling.
43
+ - Using the Licensed Work as a dependency in commercial software you build and
44
+ sell, as long as the software is not itself a competing managed service of
45
+ the kind described in clause 1.
45
46
  - Providing consulting, development, or professional services to clients using
46
- AbsoluteJS.
47
+ the Licensed Work.
47
48
  - Forking and modifying the Licensed Work for your own internal use, provided
48
49
  attribution is maintained.
49
50
 
@@ -54,6 +55,13 @@ specify by written notice, the Licensed Work will be made available under the
54
55
  Change License (Apache License, Version 2.0). Until the Change Date, the terms
55
56
  of this Business Source License 1.1 apply.
56
57
 
58
+ ### Trademark
59
+
60
+ This license does not grant you any rights to use the "AbsoluteJS" or
61
+ "@absolutejs" name, logo, or any related trademarks. Forks and derivative works
62
+ must not be named or branded in a manner that suggests endorsement by or
63
+ affiliation with AbsoluteJS or the Licensor.
64
+
57
65
  ### Notices
58
66
 
59
67
  You must not remove or obscure any licensing, copyright, or other notices
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  var __require = import.meta.require;
3
3
 
4
- // .angular-partial-tmp-emJa5f/src/core/streamingSlotRegistrar.ts
4
+ // .angular-partial-tmp-qxzGGJ/src/core/streamingSlotRegistrar.ts
5
5
  var STREAMING_SLOT_REGISTRAR_KEY = Symbol.for("absolutejs.streamingSlotRegistrar");
6
6
  var STREAMING_SLOT_WARNING_STORAGE_KEY = Symbol.for("absolutejs.streamingSlotWarningController");
7
7
  var STREAMING_SLOT_COLLECTION_STORAGE_KEY = Symbol.for("absolutejs.streamingSlotCollectionController");
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  var __require = import.meta.require;
3
3
 
4
- // .angular-partial-tmp-emJa5f/src/core/streamingSlotRegistrar.ts
4
+ // .angular-partial-tmp-qxzGGJ/src/core/streamingSlotRegistrar.ts
5
5
  var STREAMING_SLOT_REGISTRAR_KEY = Symbol.for("absolutejs.streamingSlotRegistrar");
6
6
  var STREAMING_SLOT_WARNING_STORAGE_KEY = Symbol.for("absolutejs.streamingSlotWarningController");
7
7
  var STREAMING_SLOT_COLLECTION_STORAGE_KEY = Symbol.for("absolutejs.streamingSlotCollectionController");
@@ -48,7 +48,7 @@ var warnMissingStreamingSlotCollector = (primitiveName) => {
48
48
  getWarningController()?.maybeWarn(primitiveName);
49
49
  };
50
50
 
51
- // .angular-partial-tmp-emJa5f/src/core/streamingSlotRegistry.ts
51
+ // .angular-partial-tmp-qxzGGJ/src/core/streamingSlotRegistry.ts
52
52
  var STREAMING_SLOT_STORAGE_KEY = Symbol.for("absolutejs.streamingSlotAsyncLocalStorage");
53
53
  var isObjectRecord2 = (value) => Boolean(value) && typeof value === "object";
54
54
  var isAsyncLocalStorage = (value) => isObjectRecord2(value) && ("getStore" in value) && typeof value.getStore === "function" && ("run" in value) && typeof value.run === "function";
package/dist/cli/index.js CHANGED
@@ -177481,7 +177481,7 @@ console.log(\`
177481
177481
  path: jsxDevRuntimeCompatPath2
177482
177482
  }));
177483
177483
  bld.onLoad({ filter: /node_modules\/debug/ }, () => ({
177484
- contents: "module.exports = () => { const noop = () => {}; noop.enabled = false; return noop; }; module.exports.enable = () => {}; module.exports.disable = () => {}; module.exports.enabled = () => false;",
177484
+ contents: "module.exports = () => { const noop = () => {}; noop.enabled = false; return noop; }; module.exports.enable = () => {}; module.exports.disable = () => {}; module.exports.enabled = () => false; module.exports.default = module.exports;",
177485
177485
  loader: "js"
177486
177486
  }));
177487
177487
  bld.onLoad({ filter: /\.ts$/ }, async (args) => {
@@ -177573,7 +177573,8 @@ console.log(\`
177573
177573
  stubSvelte: !buildConfig.svelteDirectory,
177574
177574
  stubVue: !buildConfig.vueDirectory
177575
177575
  }),
177576
- createExternalAssetPlugin(resolvedOutdir, userSourceRoots)
177576
+ createExternalAssetPlugin(resolvedOutdir, userSourceRoots),
177577
+ ...buildConfig.compile?.plugins ?? []
177577
177578
  ],
177578
177579
  target: "bun",
177579
177580
  throw: false
@@ -180063,7 +180064,7 @@ var start = async (serverEntry, outdir, configPath2) => {
180063
180064
  path: jsxDevRuntimeCompatPath
180064
180065
  }));
180065
180066
  bld.onLoad({ filter: /node_modules\/debug/ }, () => ({
180066
- contents: "module.exports = () => { const noop = () => {}; noop.enabled = false; return noop; }; module.exports.enable = () => {}; module.exports.disable = () => {}; module.exports.enabled = () => false;",
180067
+ contents: "module.exports = () => { const noop = () => {}; noop.enabled = false; return noop; }; module.exports.enable = () => {}; module.exports.disable = () => {}; module.exports.enabled = () => false; module.exports.default = module.exports;",
180067
180068
  loader: "js"
180068
180069
  }));
180069
180070
  bld.onLoad({ filter: /\.ts$/ }, async (args) => {
@@ -111,6 +111,17 @@ export type CompileConfig = {
111
111
  * and start never evaluate `.node` files as ESM imports.
112
112
  */
113
113
  nativeAssets?: CompileNativeAssetConfig[];
114
+ /**
115
+ * Bun bundler plugins applied to the standalone server bundle produced by
116
+ * `absolute compile`. The server `compile` pass runs its own `Bun.build`,
117
+ * which does NOT pick up `bunBuild.plugins` (those target the client
118
+ * bundles only). This is the escape hatch for deps whose published source
119
+ * is bundle-hostile under `bun build --compile` — register an `onLoad`
120
+ * plugin here to rewrite their source so the standalone binary can embed
121
+ * them (e.g. shimming a CJS `debug` default-import interop, or stubbing a
122
+ * lazy `require`). Runs after Absolute's internal compile plugins.
123
+ */
124
+ plugins?: NonNullable<BunBuildConfig['plugins']>;
114
125
  };
115
126
  export type HttpReadyConfig = {
116
127
  type?: 'http';
package/package.json CHANGED
@@ -414,7 +414,7 @@
414
414
  ]
415
415
  }
416
416
  },
417
- "version": "0.19.0-beta.1060",
417
+ "version": "0.19.0-beta.1062",
418
418
  "workspaces": [
419
419
  "tests/fixtures/*",
420
420
  "tests/fixtures/_packages/*"