frosty 0.0.147 → 0.0.148

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/README.md CHANGED
@@ -114,7 +114,7 @@ module.exports = {
114
114
  client: { // (Optional) Client entry points
115
115
  main: {
116
116
  entry: 'src/app.js', // Path to client entry file
117
- uri: '/', // (Optional) URI path
117
+ basepath: '/', // (Optional) URL base path for this entry
118
118
  }
119
119
  },
120
120
  moduleSuffixes: { // (Optional) Custom module resolution suffixes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "frosty",
3
- "version": "0.0.147",
3
+ "version": "0.0.148",
4
4
  "main": "dist/index",
5
5
  "module": "dist/index",
6
6
  "types": "dist/index",
@@ -37,7 +37,7 @@
37
37
  "@types/lodash": "^4.17.16",
38
38
  "csstype": "^3.1.3",
39
39
  "jsdom": "^27.0.0",
40
- "lodash": ">=4.17.23",
40
+ "lodash": ">=4.18.1",
41
41
  "myers.js": "^0.0.22",
42
42
  "nextick": "^0.0.2",
43
43
  "postcss": "^8.5.6",
@@ -200,7 +200,7 @@ export default async (env, argv) => {
200
200
  const random = crypto.randomUUID();
201
201
  const tempDir = fs.mkdtempSync(`${os.tmpdir()}${path.sep}`);
202
202
  const applications = path.resolve(tempDir, `applications-${random}.js`);
203
- const inputs = INPUT_FILE ? { main: { entry: path.join(process.cwd(), INPUT_FILE), uri: '/' } } : config.client;
203
+ const inputs = INPUT_FILE ? { main: { entry: path.join(process.cwd(), INPUT_FILE), basepath: '/' } } : config.client;
204
204
 
205
205
  fs.writeFileSync(applications, `
206
206
  ${_.map(inputs, ({ entry }, name) => `import * as ${name} from '${path.resolve(process.cwd(), entry)}';`).join('\n')}
@@ -256,7 +256,7 @@ export default async (env, argv) => {
256
256
  new webpack.EnvironmentPlugin({ PORT }),
257
257
  new webpack.DefinePlugin({
258
258
  __applications__: JSON.stringify(_.mapValues(inputs, x => ({
259
- path: x.uri,
259
+ path: x.basepath,
260
260
  }))),
261
261
  }),
262
262
  ...config.options?.server?.plugins ?? [],
@@ -2961,9 +2961,9 @@ lodash.debounce@^4.0.8:
2961
2961
  integrity sha512-FT1yDzDYEoYWhnSGnpE/4Kj1fLZkDFyqRb7fNt6FdYOSxlUWAtp42Eh6Wb0rGIv/m9Bgo7x4GhQbm5Ys4SG5ow==
2962
2962
 
2963
2963
  lodash@>=4.17.21, lodash@^4.17.21:
2964
- version "4.17.23"
2965
- resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.23.tgz#f113b0378386103be4f6893388c73d0bde7f2c5a"
2966
- integrity sha512-LgVTMpQtIopCi79SJeDiP0TfWi5CNEc/L/aRdTh3yIvmZXTnheWpKjSZhnvMl8iXbC1tFg9gdHHDMLoV7CnG+w==
2964
+ version "4.18.1"
2965
+ resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.18.1.tgz#ff2b66c1f6326d59513de2407bf881439812771c"
2966
+ integrity sha512-dMInicTPVE8d1e5otfwmmjlxkZoUpiVLwyeTdUsi/Caj/gfzzblBcCE5sRHV/AsjuCmxWrte2TNGSYuCeCq+0Q==
2967
2967
 
2968
2968
  lru-cache@^5.1.1:
2969
2969
  version "5.1.1"