embedded-ts
Advanced tools
Comparing version 0.1.2 to 0.1.3
{ | ||
"name": "embedded-ts", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"description": "Embedded TypeScript.", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -0,1 +1,2 @@ | ||
/* eslint-disable @typescript-eslint/consistent-type-imports */ | ||
var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) { | ||
@@ -7,4 +8,2 @@ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter"); | ||
var _Template_instances, _Template_addOutput; | ||
import * as fs from 'node:fs'; | ||
import * as path from 'node:path'; | ||
import escapeStringRegexp from 'escape-string-regexp'; | ||
@@ -14,2 +13,10 @@ import LRUCache from 'lru-cache'; | ||
import xmlEscape from 'xml-escape'; | ||
let fs; | ||
if (typeof window === 'undefined') { | ||
fs = await import('node:fs'); | ||
} | ||
let path; | ||
if (typeof window === 'undefined') { | ||
path = await import('node:path'); | ||
} | ||
const DEFAULT_OPEN_DELIMITER = '<'; | ||
@@ -16,0 +23,0 @@ const DEFAULT_CLOSE_DELIMITER = '>'; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
35759
868