New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

nemo-monaco-typescript

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nemo-monaco-typescript - npm Package Compare versions

Comparing version 4.3.1 to 4.3.2

2

package.json
{
"name": "nemo-monaco-typescript",
"version": "4.3.1",
"version": "4.3.2",
"description": "TypeScript and JavaScript language support for Monaco Editor",

@@ -5,0 +5,0 @@ "scripts": {

@@ -83,5 +83,5 @@ //

id: 'nemotypescript',
extensions: ['.nts', '.ntsx'],
aliases: [],
mimetypes: ['text/nemotypescript'],
extensions: ['.ts', '.tsx'],
aliases: ['TypeScript', 'ts', 'typescript'],
mimetypes: ['text/typescript'],
loader: function () { return new Promise(function (resolve_1, reject_1) { require(['./typescript'], resolve_1, reject_1); }); }

@@ -88,0 +88,0 @@ });

import { registerLanguage } from '../_.contribution';
registerLanguage({
id: 'nemotypescript',
extensions: ['.nts', '.ntsx'],
aliases: [],
mimetypes: ['text/nemotypescript'],
extensions: ['.ts', '.tsx'],
aliases: ['TypeScript', 'ts', 'typescript'],
mimetypes: ['text/typescript'],
loader: function () { return import('./typescript'); }
});
/*!-----------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* monaco-typescript version: 4.3.1(68fd6e2084ed755e04a2349b1230bab7f5ea8266)
* monaco-typescript version: 4.3.2(84f90d3fccf547404db1d36321a0d35fb08411ca)
* Released under the MIT license
* https://github.com/Microsoft/monaco-typescript/blob/master/LICENSE.md
*-----------------------------------------------------------------------------*/
define("vs/language/nemotypescript/lib/typescriptServicesMetadata",["require","exports"],(function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.typescriptVersion=void 0,t.typescriptVersion="4.2.3"})),define("vs/language/nemotypescript/fillers/monaco-editor-core",[],(function(){return self.monaco})),define("vs/language/nemotypescript/monaco-languages/_.contribution",["require","exports","../fillers/monaco-editor-core"],(function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.registerLanguage=t.loadLanguage=void 0;var n={},r={},o=function(){function e(e){var t=this;this._languageId=e,this._loadingTriggered=!1,this._lazyLoadPromise=new Promise((function(e,i){t._lazyLoadPromiseResolve=e,t._lazyLoadPromiseReject=i}))}return e.getOrCreate=function(t){return r[t]||(r[t]=new e(t)),r[t]},e.prototype.whenLoaded=function(){return this._lazyLoadPromise},e.prototype.load=function(){var e=this;return this._loadingTriggered||(this._loadingTriggered=!0,n[this._languageId].loader().then((function(t){return e._lazyLoadPromiseResolve(t)}),(function(t){return e._lazyLoadPromiseReject(t)}))),this._lazyLoadPromise},e}();t.loadLanguage=function(e){return o.getOrCreate(e).load()},t.registerLanguage=function(e){var t=e.id;n[t]=e,i.languages.register(e);var r=o.getOrCreate(t);i.languages.setMonarchTokensProvider(t,r.whenLoaded().then((function(e){return e.language}))),i.languages.onLanguage(t,(function(){r.load().then((function(e){i.languages.setLanguageConfiguration(t,e.conf)}))}))}})),define("vs/language/nemotypescript/monaco-languages/typescript/typescript.contribution",["require","exports","../_.contribution"],(function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),i.registerLanguage({id:"nemotypescript",extensions:[".nts",".ntsx"],aliases:[],mimetypes:["text/nemotypescript"],loader:function(){return new Promise((function(t,i){e(["./typescript"],t,i)}))}})})),define("vs/language/nemotypescript/monaco-languages/monaco.contribution",["require","exports","./typescript/typescript.contribution"],(function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})})),define("vs/language/nemotypescript/monaco.contribution",["require","exports","./lib/typescriptServicesMetadata","./fillers/monaco-editor-core","./monaco-languages/monaco.contribution"],(function(e,t,i,n){"use strict";var r,o,s,a,c;Object.defineProperty(t,"__esModule",{value:!0}),t.getTypeScriptWorker=t.typescriptDefaults=t.typescriptVersion=t.ModuleResolutionKind=t.ScriptTarget=t.NewLineKind=t.JsxEmit=t.ModuleKind=void 0,function(e){e[e.None=0]="None",e[e.CommonJS=1]="CommonJS",e[e.AMD=2]="AMD",e[e.UMD=3]="UMD",e[e.System=4]="System",e[e.ES2015=5]="ES2015",e[e.ESNext=99]="ESNext"}(r=t.ModuleKind||(t.ModuleKind={})),function(e){e[e.None=0]="None",e[e.Preserve=1]="Preserve",e[e.React=2]="React",e[e.ReactNative=3]="ReactNative",e[e.ReactJSX=4]="ReactJSX",e[e.ReactJSXDev=5]="ReactJSXDev"}(o=t.JsxEmit||(t.JsxEmit={})),function(e){e[e.CarriageReturnLineFeed=0]="CarriageReturnLineFeed",e[e.LineFeed=1]="LineFeed"}(s=t.NewLineKind||(t.NewLineKind={})),function(e){e[e.ES3=0]="ES3",e[e.ES5=1]="ES5",e[e.ES2015=2]="ES2015",e[e.ES2016=3]="ES2016",e[e.ES2017=4]="ES2017",e[e.ES2018=5]="ES2018",e[e.ES2019=6]="ES2019",e[e.ES2020=7]="ES2020",e[e.ESNext=99]="ESNext",e[e.JSON=100]="JSON",e[e.Latest=99]="Latest"}(a=t.ScriptTarget||(t.ScriptTarget={})),function(e){e[e.Classic=1]="Classic",e[e.NodeJs=2]="NodeJs"}(c=t.ModuleResolutionKind||(t.ModuleResolutionKind={}));var u=function(){function e(e,t,i){this._onDidChange=new n.Emitter,this._onDidExtraLibsChange=new n.Emitter,this._extraLibs=Object.create(null),this._removedExtraLibs=Object.create(null),this._eagerModelSync=!1,this.setCompilerOptions(e),this.setDiagnosticsOptions(t),this.setWorkerOptions(i),this._onDidExtraLibsChangeTimeout=-1}return Object.defineProperty(e.prototype,"onDidChange",{get:function(){return this._onDidChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onDidExtraLibsChange",{get:function(){return this._onDidExtraLibsChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"workerOptions",{get:function(){return this._workerOptions},enumerable:!1,configurable:!0}),e.prototype.getExtraLibs=function(){return this._extraLibs},e.prototype.addExtraLib=function(e,t){var i,n=this;if(i=void 0===t?"ts:extralib-"+Math.random().toString(36).substring(2,15):t,this._extraLibs[i]&&this._extraLibs[i].content===e)return{dispose:function(){}};var r=1;return this._removedExtraLibs[i]&&(r=this._removedExtraLibs[i]+1),this._extraLibs[i]&&(r=this._extraLibs[i].version+1),this._extraLibs[i]={content:e,version:r},this._fireOnDidExtraLibsChangeSoon(),{dispose:function(){var e=n._extraLibs[i];e&&e.version===r&&(delete n._extraLibs[i],n._removedExtraLibs[i]=r,n._fireOnDidExtraLibsChangeSoon())}}},e.prototype.setExtraLibs=function(e){for(var t in this._extraLibs)this._removedExtraLibs[t]=this._extraLibs[t].version;if(this._extraLibs=Object.create(null),e&&e.length>0)for(var i=0,n=e;i<n.length;i++){var r=n[i],o=(t=r.filePath||"ts:extralib-"+Math.random().toString(36).substring(2,15),r.content),s=1;this._removedExtraLibs[t]&&(s=this._removedExtraLibs[t]+1),this._extraLibs[t]={content:o,version:s}}this._fireOnDidExtraLibsChangeSoon()},e.prototype._fireOnDidExtraLibsChangeSoon=function(){var e=this;-1===this._onDidExtraLibsChangeTimeout&&(this._onDidExtraLibsChangeTimeout=setTimeout((function(){e._onDidExtraLibsChangeTimeout=-1,e._onDidExtraLibsChange.fire(void 0)}),0))},e.prototype.getCompilerOptions=function(){return this._compilerOptions},e.prototype.setCompilerOptions=function(e){this._compilerOptions=e||Object.create(null),this._onDidChange.fire(void 0)},e.prototype.getDiagnosticsOptions=function(){return this._diagnosticsOptions},e.prototype.setDiagnosticsOptions=function(e){this._diagnosticsOptions=e||Object.create(null),this._onDidChange.fire(void 0)},e.prototype.setWorkerOptions=function(e){this._workerOptions=e||Object.create(null),this._onDidChange.fire(void 0)},e.prototype.setMaximumWorkerIdleTime=function(e){},e.prototype.setEagerModelSync=function(e){this._eagerModelSync=e},e.prototype.getEagerModelSync=function(){return this._eagerModelSync},e}();t.typescriptVersion=i.typescriptVersion,t.typescriptDefaults=new u({allowNonTsExtensions:!0,target:a.Latest},{noSemanticValidation:!1,noSyntaxValidation:!1},{});function p(){return new Promise((function(t,i){e(["./tsMode"],t,i)}))}t.getTypeScriptWorker=function(){return p().then((function(e){return e.getTypeScriptWorker()}))},n.languages.nemotypescript={ModuleKind:r,JsxEmit:o,NewLineKind:s,ScriptTarget:a,ModuleResolutionKind:c,typescriptVersion:t.typescriptVersion,typescriptDefaults:t.typescriptDefaults,getTypeScriptWorker:t.getTypeScriptWorker},n.languages.onLanguage("nemotypescript",(function(){return p().then((function(e){return e.setupTypeScript(t.typescriptDefaults)}))}))}));
define("vs/language/nemotypescript/lib/typescriptServicesMetadata",["require","exports"],(function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.typescriptVersion=void 0,t.typescriptVersion="4.2.3"})),define("vs/language/nemotypescript/fillers/monaco-editor-core",[],(function(){return self.monaco})),define("vs/language/nemotypescript/monaco-languages/_.contribution",["require","exports","../fillers/monaco-editor-core"],(function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.registerLanguage=t.loadLanguage=void 0;var n={},r={},o=function(){function e(e){var t=this;this._languageId=e,this._loadingTriggered=!1,this._lazyLoadPromise=new Promise((function(e,i){t._lazyLoadPromiseResolve=e,t._lazyLoadPromiseReject=i}))}return e.getOrCreate=function(t){return r[t]||(r[t]=new e(t)),r[t]},e.prototype.whenLoaded=function(){return this._lazyLoadPromise},e.prototype.load=function(){var e=this;return this._loadingTriggered||(this._loadingTriggered=!0,n[this._languageId].loader().then((function(t){return e._lazyLoadPromiseResolve(t)}),(function(t){return e._lazyLoadPromiseReject(t)}))),this._lazyLoadPromise},e}();t.loadLanguage=function(e){return o.getOrCreate(e).load()},t.registerLanguage=function(e){var t=e.id;n[t]=e,i.languages.register(e);var r=o.getOrCreate(t);i.languages.setMonarchTokensProvider(t,r.whenLoaded().then((function(e){return e.language}))),i.languages.onLanguage(t,(function(){r.load().then((function(e){i.languages.setLanguageConfiguration(t,e.conf)}))}))}})),define("vs/language/nemotypescript/monaco-languages/typescript/typescript.contribution",["require","exports","../_.contribution"],(function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),i.registerLanguage({id:"nemotypescript",extensions:[".ts",".tsx"],aliases:["TypeScript","ts","typescript"],mimetypes:["text/typescript"],loader:function(){return new Promise((function(t,i){e(["./typescript"],t,i)}))}})})),define("vs/language/nemotypescript/monaco-languages/monaco.contribution",["require","exports","./typescript/typescript.contribution"],(function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})})),define("vs/language/nemotypescript/monaco.contribution",["require","exports","./lib/typescriptServicesMetadata","./fillers/monaco-editor-core","./monaco-languages/monaco.contribution"],(function(e,t,i,n){"use strict";var r,o,s,a,c;Object.defineProperty(t,"__esModule",{value:!0}),t.getTypeScriptWorker=t.typescriptDefaults=t.typescriptVersion=t.ModuleResolutionKind=t.ScriptTarget=t.NewLineKind=t.JsxEmit=t.ModuleKind=void 0,function(e){e[e.None=0]="None",e[e.CommonJS=1]="CommonJS",e[e.AMD=2]="AMD",e[e.UMD=3]="UMD",e[e.System=4]="System",e[e.ES2015=5]="ES2015",e[e.ESNext=99]="ESNext"}(r=t.ModuleKind||(t.ModuleKind={})),function(e){e[e.None=0]="None",e[e.Preserve=1]="Preserve",e[e.React=2]="React",e[e.ReactNative=3]="ReactNative",e[e.ReactJSX=4]="ReactJSX",e[e.ReactJSXDev=5]="ReactJSXDev"}(o=t.JsxEmit||(t.JsxEmit={})),function(e){e[e.CarriageReturnLineFeed=0]="CarriageReturnLineFeed",e[e.LineFeed=1]="LineFeed"}(s=t.NewLineKind||(t.NewLineKind={})),function(e){e[e.ES3=0]="ES3",e[e.ES5=1]="ES5",e[e.ES2015=2]="ES2015",e[e.ES2016=3]="ES2016",e[e.ES2017=4]="ES2017",e[e.ES2018=5]="ES2018",e[e.ES2019=6]="ES2019",e[e.ES2020=7]="ES2020",e[e.ESNext=99]="ESNext",e[e.JSON=100]="JSON",e[e.Latest=99]="Latest"}(a=t.ScriptTarget||(t.ScriptTarget={})),function(e){e[e.Classic=1]="Classic",e[e.NodeJs=2]="NodeJs"}(c=t.ModuleResolutionKind||(t.ModuleResolutionKind={}));var u=function(){function e(e,t,i){this._onDidChange=new n.Emitter,this._onDidExtraLibsChange=new n.Emitter,this._extraLibs=Object.create(null),this._removedExtraLibs=Object.create(null),this._eagerModelSync=!1,this.setCompilerOptions(e),this.setDiagnosticsOptions(t),this.setWorkerOptions(i),this._onDidExtraLibsChangeTimeout=-1}return Object.defineProperty(e.prototype,"onDidChange",{get:function(){return this._onDidChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onDidExtraLibsChange",{get:function(){return this._onDidExtraLibsChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"workerOptions",{get:function(){return this._workerOptions},enumerable:!1,configurable:!0}),e.prototype.getExtraLibs=function(){return this._extraLibs},e.prototype.addExtraLib=function(e,t){var i,n=this;if(i=void 0===t?"ts:extralib-"+Math.random().toString(36).substring(2,15):t,this._extraLibs[i]&&this._extraLibs[i].content===e)return{dispose:function(){}};var r=1;return this._removedExtraLibs[i]&&(r=this._removedExtraLibs[i]+1),this._extraLibs[i]&&(r=this._extraLibs[i].version+1),this._extraLibs[i]={content:e,version:r},this._fireOnDidExtraLibsChangeSoon(),{dispose:function(){var e=n._extraLibs[i];e&&e.version===r&&(delete n._extraLibs[i],n._removedExtraLibs[i]=r,n._fireOnDidExtraLibsChangeSoon())}}},e.prototype.setExtraLibs=function(e){for(var t in this._extraLibs)this._removedExtraLibs[t]=this._extraLibs[t].version;if(this._extraLibs=Object.create(null),e&&e.length>0)for(var i=0,n=e;i<n.length;i++){var r=n[i],o=(t=r.filePath||"ts:extralib-"+Math.random().toString(36).substring(2,15),r.content),s=1;this._removedExtraLibs[t]&&(s=this._removedExtraLibs[t]+1),this._extraLibs[t]={content:o,version:s}}this._fireOnDidExtraLibsChangeSoon()},e.prototype._fireOnDidExtraLibsChangeSoon=function(){var e=this;-1===this._onDidExtraLibsChangeTimeout&&(this._onDidExtraLibsChangeTimeout=setTimeout((function(){e._onDidExtraLibsChangeTimeout=-1,e._onDidExtraLibsChange.fire(void 0)}),0))},e.prototype.getCompilerOptions=function(){return this._compilerOptions},e.prototype.setCompilerOptions=function(e){this._compilerOptions=e||Object.create(null),this._onDidChange.fire(void 0)},e.prototype.getDiagnosticsOptions=function(){return this._diagnosticsOptions},e.prototype.setDiagnosticsOptions=function(e){this._diagnosticsOptions=e||Object.create(null),this._onDidChange.fire(void 0)},e.prototype.setWorkerOptions=function(e){this._workerOptions=e||Object.create(null),this._onDidChange.fire(void 0)},e.prototype.setMaximumWorkerIdleTime=function(e){},e.prototype.setEagerModelSync=function(e){this._eagerModelSync=e},e.prototype.getEagerModelSync=function(){return this._eagerModelSync},e}();t.typescriptVersion=i.typescriptVersion,t.typescriptDefaults=new u({allowNonTsExtensions:!0,target:a.Latest},{noSemanticValidation:!1,noSyntaxValidation:!1},{});function p(){return new Promise((function(t,i){e(["./tsMode"],t,i)}))}t.getTypeScriptWorker=function(){return p().then((function(e){return e.getTypeScriptWorker()}))},n.languages.nemotypescript={ModuleKind:r,JsxEmit:o,NewLineKind:s,ScriptTarget:a,ModuleResolutionKind:c,typescriptVersion:t.typescriptVersion,typescriptDefaults:t.typescriptDefaults,getTypeScriptWorker:t.getTypeScriptWorker},n.languages.onLanguage("nemotypescript",(function(){return p().then((function(e){return e.setupTypeScript(t.typescriptDefaults)}))}))}));
/*!-----------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* monaco-typescript version: 4.3.1(68fd6e2084ed755e04a2349b1230bab7f5ea8266)
* monaco-typescript version: 4.3.2(84f90d3fccf547404db1d36321a0d35fb08411ca)
* Released under the MIT license

@@ -5,0 +5,0 @@ * https://github.com/Microsoft/monaco-typescript/blob/master/LICENSE.md

Sorry, the diff of this file is too big to display

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