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

breezets-cli

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

breezets-cli - npm Package Compare versions

Comparing version 0.1.17 to 0.2.8

obj/Debug/breezets-cli.njsprojResolveAssemblyReference.cache

24

dist/app.js

@@ -34,11 +34,17 @@ #!/usr/bin/env node

function callGenerate(metadataurl, serviceurl, proxyname) {
var metadata = getMetadata(metadataurl);
var files = breezeref.generateTypescript(metadata, serviceurl, proxyname, [{ key: "flavor", value: "mmm...chocolate" }]);
for (var n = 0; n < files.length; n++) {
var filename = files[n].filename;
var contents = files[n].contents;
console.log(filename + ":");
console.log("=============================");
fs.writeFileSync(filename, contents);
}
//var metadata = getMetadata(metadataurl);
//var files = breezeref.generateTypescript(metadata, serviceurl, proxyname, [{ key: "flavor", value: "mmm...chocolate" }]);
//for (var n = 0; n < files.length; n++)
//{
// var filename = files[n].filename;
// var contents = files[n].contents;
// console.log(filename + ":");
// console.log("=============================");
// fs.writeFileSync(filename, contents);
//}
var options = new breezeref.IBreezetsOptions();
options.metadataurlValue = metadataurl;
options.serviceurl = serviceurl;
options.proxyname = proxyname;
breezeref.generateTypescript(options);
}

@@ -45,0 +51,0 @@ function getMetadata(urlstr) {

C:\Users\Thomas\Source\Repos\BreezeTypedefExtractor\node\breezets-cli\bin\Microsoft.NodejsTools.WebRole.dll
C:\Users\Thomas\Source\Repos\BreezeTypedefExtractor\node\breezets-cli\obj\Debug\breezets-cli.njsprojResolveAssemblyReference.cache

@@ -187,1 +187,4 @@ C:\Users\Thomas\Source\Repos\BreezeTypedefExtractor\node\breezets-cli\dist\app.js

C:\Users\Thomas\Source\Repos\BreezeTypedefExtractor\node\breezets-cli\dist\app.d.ts
C:\Users\Thomas\Source\Repos\BreezeTypedefExtractor\node\breezets-cli\dist\app.js
C:\Users\Thomas\Source\Repos\BreezeTypedefExtractor\node\breezets-cli\dist\app.js.map
C:\Users\Thomas\Source\Repos\BreezeTypedefExtractor\node\breezets-cli\dist\app.d.ts
{
"name": "breezets-cli",
"version": "0.1.17",
"version": "0.2.8",
"description": "Command generating a strongly type client-side Typescript API for a Breeze data service",

@@ -19,3 +19,3 @@ "main": "app.js",

"breeze-client": "^1.6.3",
"breezets": "^0.1.17",
"breezets": "^0.2.8",
"commander": "^2.9.0",

@@ -22,0 +22,0 @@ "sync-request": "^3.0.1",

@@ -45,13 +45,19 @@ #!/usr/bin/env node

{
var metadata = getMetadata(metadataurl);
var files = breezeref.generateTypescript(metadata, serviceurl, proxyname, [{ key: "flavor", value: "mmm...chocolate" }]);
//var metadata = getMetadata(metadataurl);
//var files = breezeref.generateTypescript(metadata, serviceurl, proxyname, [{ key: "flavor", value: "mmm...chocolate" }]);
//for (var n = 0; n < files.length; n++)
//{
// var filename = files[n].filename;
// var contents = files[n].contents;
// console.log(filename + ":");
// console.log("=============================");
// fs.writeFileSync(filename, contents);
//}
var options = new breezeref.IBreezetsOptions();
options.metadataurlValue = metadataurl;
options.serviceurl = serviceurl;
options.proxyname = proxyname;
breezeref.generateTypescript(options);
for (var n = 0; n < files.length; n++)
{
var filename = files[n].filename;
var contents = files[n].contents;
console.log(filename + ":");
console.log("=============================");
fs.writeFileSync(filename, contents);
}
}

@@ -58,0 +64,0 @@

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