Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@inlang/core

Package Overview
Dependencies
Maintainers
1
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@inlang/core - npm Package Compare versions

Comparing version 0.3.0 to 0.3.1

4

dist/ast/schema.d.ts

@@ -15,3 +15,3 @@ /**

*/
metadata?: unknown;
metadata?: any;
};

@@ -56,3 +56,3 @@ /**

* The node is planned to obey to [IETF BCP 47 language tags](https://en.wikipedia.org/wiki/IETF_language_tag).
* For now, only a name that acts as an ID can be set. See
* For now, only a name that acts as an ID can be set. See
* https://github.com/inlang/inlang/issues/296

@@ -59,0 +59,0 @@ */

@@ -26,11 +26,7 @@ /**

// http imports yet like VSCode.
let moduleAsText;
if (uri.startsWith("http")) {
moduleAsText = await (await _fetch(uri)).text();
}
else {
moduleAsText = (await environment.fs.readFile(`${environment.workingDirectory}/${uri}`, "utf-8"));
}
const moduleAsText = uri.startsWith("http")
? await (await _fetch(uri)).text()
: (await environment.fs.readFile(`${environment.workingDirectory}/${uri}`, "utf-8"));
const moduleWithMimeType = "data:application/javascript;base64," + btoa(moduleAsText);
return await import(/* @vite-ignore */ moduleWithMimeType);
}
{
"name": "@inlang/core",
"type": "module",
"version": "0.3.0",
"private": false,
"publishConfig": {
"access": "public"
},
"exports": {
"./ast": {
"types": "./dist/ast/index.d.ts",
"import": "./dist/ast/index.js"
},
"./config": {
"types": "./dist/config/index.d.ts",
"import": "./dist/config/index.js"
},
"./query": {
"types": "./dist/query/index.d.ts",
"import": "./dist/query/index.js"
},
"./utilities": {
"types": "./dist/utilities/index.d.ts",
"import": "./dist/utilities/index.js"
}
},
"files": [
"./dist"
],
"scripts": {
"build": "tsc --build ./tsconfig.build.json",
"dev": "tsc --watch",
"test": "vitest run --passWithNoTests --coverage",
"format": "prettier ./src/** -w --config ../../.prettierrc.json",
"clean": "rm -r -f ./dist ./.turbo ./coverage ./node_modules"
},
"dependencies": {},
"devDependencies": {
"memfs": "^3.4.11"
}
"name": "@inlang/core",
"type": "module",
"version": "0.3.1",
"private": false,
"publishConfig": {
"access": "public"
},
"exports": {
"./ast": {
"types": "./dist/ast/index.d.ts",
"import": "./dist/ast/index.js"
},
"./config": {
"types": "./dist/config/index.d.ts",
"import": "./dist/config/index.js"
},
"./query": {
"types": "./dist/query/index.d.ts",
"import": "./dist/query/index.js"
},
"./utilities": {
"types": "./dist/utilities/index.d.ts",
"import": "./dist/utilities/index.js"
}
},
"files": [
"./dist"
],
"scripts": {
"build": "tsc --build ./tsconfig.build.json",
"dev": "tsc --watch",
"test": "vitest run --passWithNoTests --coverage",
"format": "prettier ./src/** -w --config ../../.prettierrc.json",
"clean": "rm -r -f ./dist ./.turbo ./coverage ./node_modules"
},
"dependencies": {},
"devDependencies": {
"memfs": "^3.4.11"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc