Wrap 3rd party code to make it clear in minified files
parent
8a80fc6757
commit
8ad5ab52b7
|
@ -114,7 +114,7 @@ gulp.task('editor-distro', ['clean-editor-distro', 'minify-editor', 'optimize-ed
|
|||
gulp.src('out-editor-min/**/*')
|
||||
).pipe(filterStream(function(path) {
|
||||
// no map files
|
||||
return !/\.js\.map$|nls\.metadata\.json/.test(path);
|
||||
return !/(\.js\.map$)|(nls\.metadata\.json$)|(bundleInfo\.json$)/.test(path);
|
||||
})).pipe(es.through(function(data) {
|
||||
// tweak the sourceMappingURL
|
||||
if (!/\.js$/.test(data.path)) {
|
||||
|
|
|
@ -5,13 +5,10 @@ This project incorporates components from the projects listed below. The origina
|
|||
under which Microsoft received such components are set forth below. Microsoft reserves all rights not expressly granted
|
||||
herein, whether by implication, estoppel or otherwise.
|
||||
|
||||
1. HTML 5.1 W3C Working Draft version 08 October 2015 (http://www.w3.org/TR/2015/WD-html51-20151008/)
|
||||
2. js-beautify version 1.5.10 (https://github.com/beautify-web/js-beautify)
|
||||
3. string_scorer version 0.1.20 (https://github.com/joshaven/string_score)
|
||||
4. vscode-swift version 0.0.1 (https://github.com/owensd/vscode-swift)
|
||||
|
||||
|
||||
%% HTML 5.1 W3C Working Draft NOTICES AND INFORMATION BEGIN HERE
|
||||
|
||||
%% HTML 5.1 W3C Working Draft version 08 October 2015 (http://www.w3.org/TR/2015/WD-html51-20151008/)
|
||||
=========================================
|
||||
Copyright © 2015 W3C® (MIT, ERCIM, Keio, Beihang). This software or document includes material copied
|
||||
from or derived from HTML 5.1 W3C Working Draft (http://www.w3.org/TR/2015/WD-html51-20151008/.)
|
||||
|
@ -32,7 +29,7 @@ END OF HTML 5.1 W3C Working Draft NOTICES AND INFORMATION
|
|||
|
||||
|
||||
|
||||
%% js-beautify NOTICES AND INFORMATION BEGIN HERE
|
||||
%% js-beautify version 1.5.10 (https://github.com/beautify-web/js-beautify)
|
||||
=========================================
|
||||
The MIT License (MIT)
|
||||
|
||||
|
@ -49,7 +46,7 @@ END OF js-beautify NOTICES AND INFORMATION
|
|||
|
||||
|
||||
|
||||
%% string_scorer NOTICES AND INFORMATION BEGIN HERE
|
||||
%% string_scorer version 0.1.20 (https://github.com/joshaven/string_score)
|
||||
=========================================
|
||||
This software is released under the MIT license:
|
||||
|
||||
|
@ -73,31 +70,3 @@ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|||
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
=========================================
|
||||
END OF string_scorer NOTICES AND INFORMATION
|
||||
|
||||
|
||||
|
||||
|
||||
%% vscode-swift NOTICES AND INFORMATION BEGIN HERE
|
||||
=========================================
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2015 David Owens II
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
=========================================
|
||||
END OF vscode-swift NOTICES AND INFORMATION
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "monaco-editor-core",
|
||||
"private": true,
|
||||
"version": "0.3.0",
|
||||
"version": "0.3.1",
|
||||
"description": "A browser based code editor",
|
||||
"author": "Microsoft Corporation",
|
||||
"license": "MIT"
|
||||
|
|
|
@ -6,7 +6,9 @@
|
|||
'use strict';
|
||||
|
||||
// Based on material from:
|
||||
|
||||
/*!
|
||||
BEGIN THIRD PARTY
|
||||
*/
|
||||
/*!
|
||||
* string_score.js: String Scoring Algorithm 0.1.22
|
||||
*
|
||||
|
@ -126,4 +128,7 @@ export function matches(target: string, queryLower: string): boolean {
|
|||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
/*!
|
||||
END THIRD PARTY
|
||||
*/
|
|
@ -2,6 +2,9 @@
|
|||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
/*!
|
||||
BEGIN THIRD PARTY
|
||||
*/
|
||||
/*--------------------------------------------------------------------------------------------
|
||||
* This file is based on or incorporates material from the projects listed below (Third Party IP).
|
||||
* The original copyright notice and the license under which Microsoft received such Third Party IP,
|
||||
|
@ -615,3 +618,6 @@ function collectValuesDefault(tag: string, attribute: string, collector: (value:
|
|||
}
|
||||
}
|
||||
}
|
||||
/*!
|
||||
END THIRD PARTY
|
||||
*/
|
Loading…
Reference in New Issue