Comparing version 0.2.6 to 0.2.7
@@ -30,7 +30,2 @@ "use strict"; | ||
(function (breezeref) { | ||
function requiretext(filename) { | ||
var fs = require("fs"); | ||
var filename = require.resolve(filename); | ||
return fs.readFileSync(filename, 'utf8'); | ||
} | ||
function _generateTypescript(metadata, url, proxyname, attributes) { | ||
@@ -70,5 +65,2 @@ var crlf = String.fromCharCode(13); | ||
} | ||
//if (proxyname && generateTypedQueries && extensions) | ||
// result.push({ filename: "breezeextensions.js", contents: requiretext("./breezeextensions.js") }); | ||
//index += 'var breezets = require("breezets");' + crlf; | ||
result.push({ filename: "index.ts", contents: index }); | ||
@@ -75,0 +67,0 @@ return result; |
{ | ||
"name": "breezets", | ||
"version": "0.2.6", | ||
"version": "0.2.7", | ||
"description": "Library generating a strongly type client-side Typescript API for a Breeze data service", | ||
@@ -21,2 +21,3 @@ "main": "dist/index.js", | ||
"breeze-client": "^1.6.3", | ||
"breezets-lib": "^0.2.6", | ||
"node-fs": "^0.1.7", | ||
@@ -23,0 +24,0 @@ "sync-request": "^4.1.0", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
1
76561
5
1003
+ Addedbreezets-lib@^0.2.6
+ Addedbreezets-lib@0.2.13(transitive)