@kosatyi/ejs 0.0.108 → 0.0.109

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.
Binary file
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "EJS Templates",
4
4
  "homepage": "https://github.com/kosatyi/ejs",
5
5
  "type": "module",
6
- "version": "0.0.108",
6
+ "version": "0.0.109",
7
7
  "main": "dist/cjs/index.js",
8
8
  "module": "dist/esm/index.js",
9
9
  "browser": "dist/umd/browser.js",
@@ -5,6 +5,10 @@ export {
5
5
  configure,
6
6
  helpers,
7
7
  preload,
8
- } from './ejs'
8
+ } from './ejs.js'
9
9
 
10
- export { TemplateError, TemplateSyntaxError, TemplateNotFound } from './error'
10
+ export {
11
+ TemplateError,
12
+ TemplateSyntaxError,
13
+ TemplateNotFound,
14
+ } from './error.js'
@@ -1,5 +1,5 @@
1
1
  import type { Plugin } from 'rollup'
2
- import { EjsConfig } from './ejs'
2
+ import { EjsConfig } from './ejs.js'
3
3
 
4
4
  export interface BundlerOptions {
5
5
  target: string[] | string
package/types/ejs.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { EjsContext } from './context'
2
- import { TemplateError } from './error'
1
+ import { EjsContext } from './context.js'
2
+ import { TemplateError } from './error.js'
3
3
 
4
4
  export declare type EjsConfigVars = {
5
5
  SCOPE: string
package/types/error.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  export class TemplateError extends Error {
2
- code
2
+ code: number
3
3
  new(message: string): TemplateError
4
4
  toString(): string
5
5
  getCode(): number
package/types/global.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import type { EjsContext } from './context'
2
- import type { EjsInterface } from './ejs'
1
+ import type { EjsContext } from './context.js'
2
+ import type { EjsInterface } from './ejs.js'
3
3
  declare global {
4
4
  const ejs: EjsContext
5
5
  const ejsInstance: EjsInterface
package/types/index.d.ts CHANGED
@@ -5,7 +5,7 @@ export {
5
5
  configure,
6
6
  helpers,
7
7
  preload,
8
- } from './ejs'
8
+ } from './ejs.js'
9
9
 
10
10
  export { TemplateError, TemplateSyntaxError, TemplateNotFound } from './error'
11
11
 
package/types/worker.d.ts CHANGED
@@ -5,9 +5,13 @@ export {
5
5
  configure,
6
6
  helpers,
7
7
  preload,
8
- } from './ejs'
8
+ } from './ejs.js'
9
9
 
10
- export { TemplateError, TemplateSyntaxError, TemplateNotFound } from './error'
10
+ export {
11
+ TemplateError,
12
+ TemplateSyntaxError,
13
+ TemplateNotFound,
14
+ } from './error.js'
11
15
 
12
16
  export type HonoContext = {}
13
17