gd-sprest-def
Advanced tools
Comparing version 1.2.0 to 1.2.1
11
clean.js
@@ -57,4 +57,11 @@ var fs = require('fs'); | ||
res.on("end", function () { | ||
// Rename the "case" type. It will cause issues w/ TypeScript | ||
let content = data.toString().replace('Name="case"', 'Name="_case"'); | ||
// Fix TypeScript Issues | ||
// Rename the "case" type | ||
// Rename the "return" type | ||
let content = data.toString() | ||
.replace('Name="case"', 'Name="_case"') | ||
.replace('Name="false"', 'Name="_false"') | ||
.replace('Name="if"', 'Name="_if"') | ||
.replace('Name="return"', 'Name="_return"') | ||
.replace('Name="true"', 'Name="_true"'); | ||
@@ -61,0 +68,0 @@ // Write the file |
{ | ||
"name": "gd-sprest-def", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"description": "TypeScript definition files generated from the $metadata REST endpoint in SharePoint.", | ||
@@ -5,0 +5,0 @@ "author": "Gunjan Datta <me@dattabase.com> (https://gunjandatta.github.io)", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
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
7812513
90852