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

@journeyapps/cloudcode-build

Package Overview
Dependencies
Maintainers
2
Versions
508
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 0.0.0-dev.b566fa5 to 0.0.0-dev.b5bac95

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.b566fa5",
"version": "0.0.0-dev.b5bac95",
"main": "./dist/index",

@@ -29,9 +29,14 @@ "types": "./dist/index",

"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"
}
}

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

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