@ynor/ynor 1.0.3 → 1.0.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ynor/ynor",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "⚡ Lightweight next-gen JS extension framework like Svelte",
5
5
  "type": "module",
6
6
  "main": "./src/lib/core/index.js",
@@ -1,4 +1,4 @@
1
- // src/utils/errors.js
1
+ // src/lib/core/errors.js
2
2
  import chalk from 'chalk';
3
3
 
4
4
  export class YnorError extends Error {
@@ -3,7 +3,7 @@ import { VERSION, YnorCompiler, AST } from './compiler.js';
3
3
  import { YnorRuntime, YnorComponent, runtime, store, mount } from './runtime.js';
4
4
  import { ynorPlugin } from './plugin.js';
5
5
 
6
- // Error handling utilities - FIXED PATH
6
+ // Error handling utilities - IMPORT FROM SAME FOLDER
7
7
  import {
8
8
  YnorError,
9
9
  YnorCompilerError,
@@ -14,7 +14,7 @@ import {
14
14
  warn,
15
15
  info,
16
16
  success
17
- } from '../utils/errors.js'; // Changed from './src/utils/errors.js' to '../utils/errors.js'
17
+ } from './errors.js';
18
18
 
19
19
  // Export everything
20
20
  export {