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

@okamjs/okam

Package Overview
Dependencies
Maintainers
4
Versions
120
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@okamjs/okam - npm Package Compare versions

Comparing version 0.4.10-dev.20240412.2 to 0.4.10

dist/forkTSChecker/childProcessFork.d.ts

4

binding.d.ts

@@ -6,6 +6,2 @@ /* tslint:disable */

export interface TransformOutput {
code: string;
map?: string;
}
export interface JsHooks {

@@ -12,0 +8,0 @@ load?: (filePath: string) => Promise<{ content: string; type: 'css' | 'js' }>;

@@ -5,2 +5,3 @@ import * as binding from '../binding';

less?: LessLoaderOpts;
forkTSChecker?: boolean;
}

@@ -7,0 +8,0 @@ export declare function build(

@@ -47,2 +47,3 @@ var __create = Object.create;

var binding = __toESM(require('../binding'));
var import_forkTSChecker = require('./forkTSChecker');
var import_lessLoader = require('./lessLoader');

@@ -117,2 +118,7 @@ function blockStdout() {

};
if (!params.watch) {
params.hooks.generateEnd = () => {
import_lessLoader.lessLoader.terminate();
};
}
if (process.env.DUMP_MAKO_CONFIG) {

@@ -128,3 +134,27 @@ const configFile = import_path.default.join(

}
if (process.env.XCODE_PROFILE) {
await new Promise((resolve) => {
const readline = require('readline');
const rl = readline.createInterface({
input: process.stdin,
output: process.stdout,
});
rl.question(
`Xcode profile enabled. Current process ${process.title} (${process.pid}) . Press Enter to continue...
`,
() => {
rl.close();
resolve();
},
);
});
}
await binding.build(params);
if (params.forkTSChecker) {
const forkTypeChecker = new import_forkTSChecker.ForkTSChecker({
root: params.root,
watch: params.watch,
});
forkTypeChecker.runTypeCheckInChildProcess();
}
}

@@ -131,0 +161,0 @@ // Annotate the CommonJS export names for ESM import in node:

{
"name": "@okamjs/okam",
"version": "0.4.10-dev.20240412.2",
"version": "0.4.10",
"main": "dist/index.js",

@@ -23,8 +23,10 @@ "types": "dist/index.d.ts",

"react-error-overlay": "6.0.9",
"react-refresh": "^0.14.0"
"react-refresh": "^0.14.0",
"workerpool": "^9.1.1"
},
"devDependencies": {
"@napi-rs/cli": "^2.18.0",
"@types/less": "^3.0.6",
"@types/node": "^20.12.5",
"@napi-rs/cli": "^2.18.0"
"typescript": "^5.4.3"
},

@@ -59,7 +61,7 @@ "engines": {

"optionalDependencies": {
"@okamjs/okam-darwin-arm64": "0.4.10-dev.20240412.2",
"@okamjs/okam-darwin-x64": "0.4.10-dev.20240412.2",
"@okamjs/okam-linux-x64-gnu": "0.4.10-dev.20240412.2"
"@okamjs/okam-darwin-arm64": "0.4.10",
"@okamjs/okam-darwin-x64": "0.4.10",
"@okamjs/okam-linux-x64-gnu": "0.4.10"
},
"repository": "git@github.com:umijs/mako.git"
}
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