New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@journeyapps/cloudcode-build

Package Overview
Dependencies
Maintainers
2
Versions
521
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@journeyapps/cloudcode-build - npm Package Compare versions

Comparing version

to
0.0.0-dev.9117f43

2

dist/build.js

@@ -10,3 +10,3 @@ "use strict";

const tsc = require.resolve('typescript/bin/tsc');
const child = child_process_1.spawnSync(tsc, ['--project', '.'], { encoding: 'utf8', cwd: path });
const child = (0, child_process_1.spawnSync)(tsc, ['--project', '.'], { encoding: 'utf8', cwd: path });
if (child.status !== 0) {

@@ -13,0 +13,0 @@ throw new ProcessError_1.ProcessError(child);

@@ -14,4 +14,4 @@ #!/usr/bin/env node

}, handled(async (argv) => {
await _1.fileToDefinitions(argv.datamodel, DEFAULT_DATAMODEL_OUT);
await _1.buildTypescript();
await (0, _1.fileToDefinitions)(argv.datamodel, DEFAULT_DATAMODEL_OUT);
await (0, _1.buildTypescript)();
}))

@@ -23,3 +23,3 @@ .command('datamodel', 'build the datamodel', (yargs) => {

}, handled(async (argv) => {
await _1.fileToDefinitions(argv.datamodel, argv.out);
await (0, _1.fileToDefinitions)(argv.datamodel, argv.out);
}))

@@ -26,0 +26,0 @@ .option('verbose', {

@@ -164,3 +164,3 @@ "use strict";

// Effectively we'd get `var c: DB._class = DB.class.create()`
if (reservedKeywords_1.isReservedTypeName(name)) {
if ((0, reservedKeywords_1.isReservedTypeName)(name)) {
return `_${name}`;

@@ -167,0 +167,0 @@ }

@@ -26,3 +26,3 @@ "use strict";

await fileToDefinitions(path.resolve(taskPath, with_defaults.datamodel), path.resolve(taskPath, DEFAULT_DATAMODEL_OUT));
await build_1.buildTypescript(taskPath);
await (0, build_1.buildTypescript)(taskPath);
}

@@ -34,3 +34,3 @@ exports.buildTask = buildTask;

schema.loadXml(data, { apiVersion: new parser_common_1.Version('4.0') });
const ts = await datamodel_1.schemaToDefinitions(schema);
const ts = await (0, datamodel_1.schemaToDefinitions)(schema);
const dir = path.dirname(outPath);

@@ -37,0 +37,0 @@ if (!fs.existsSync(dir)) {

{
"name": "@journeyapps/cloudcode-build",
"version": "0.0.0-dev.90cac46",
"version": "0.0.0-dev.9117f43",
"main": "./dist/index",

@@ -19,3 +19,3 @@ "types": "./dist/index",

"@journeyapps/parser-schema": "^6.0.0",
"typescript": "^4.3.3",
"typescript": "^5.6.3",
"xmldom": "^0.1.27",

@@ -30,9 +30,14 @@ "yargs": "^13.3.0"

"testEnvironment": "node",
"verbose": true
"verbose": true,
"globals": {
"ts-jest": {
"tsconfig": "./tests/tsconfig.json"
}
}
},
"scripts": {
"cloudcode-build": "node ./dist/cloudcode-build.js",
"build": "tsc -b",
"build": "../../node_modules/.bin/tsc -b",
"test": "jest"
}
}

@@ -9,4 +9,9 @@ {

"declaration": false,
"sourceMap": true
"sourceMap": true,
"skipLibCheck": true,
"esModuleInterop": true,
"types": [
"@journeyapps/cloudcode"
]
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet