@theia/scanoss 1.65.0-next.6 → 1.65.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- {"version":3,"file":"scanoss-frontend-module.d.ts","sourceRoot":"","sources":["../../src/browser/scanoss-frontend-module.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;;AAK/D,wBAMG"}
1
+ {"version":3,"file":"scanoss-frontend-module.d.ts","sourceRoot":"","sources":["../../src/browser/scanoss-frontend-module.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;;AAM/D,wBAMG"}
@@ -16,11 +16,12 @@
16
16
  // *****************************************************************************
17
17
  Object.defineProperty(exports, "__esModule", { value: true });
18
18
  const inversify_1 = require("@theia/core/shared/inversify");
19
- const scanoss_preferences_1 = require("./scanoss-preferences");
19
+ const scanoss_preferences_1 = require("../common/scanoss-preferences");
20
20
  const browser_1 = require("@theia/core/lib/browser");
21
21
  const common_1 = require("../common");
22
+ const preference_schema_1 = require("@theia/core/lib/common/preferences/preference-schema");
22
23
  exports.default = new inversify_1.ContainerModule(bind => {
23
- bind(browser_1.PreferenceContribution).toConstantValue({ schema: scanoss_preferences_1.ScanOSSPreferencesSchema });
24
+ bind(preference_schema_1.PreferenceContribution).toConstantValue({ schema: scanoss_preferences_1.ScanOSSPreferencesSchema });
24
25
  bind(common_1.ScanOSSService).toDynamicValue(ctx => {
25
26
  const provider = ctx.container.get(browser_1.RemoteConnectionProvider);
26
27
  return provider.createProxy(common_1.SCANOSS_SERVICE_PATH);
@@ -1 +1 @@
1
- {"version":3,"file":"scanoss-frontend-module.js","sourceRoot":"","sources":["../../src/browser/scanoss-frontend-module.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,yCAAyC;AACzC,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF;;AAEhF,4DAA+D;AAC/D,+DAAiE;AACjE,qDAAsH;AACtH,sCAAiE;AAEjE,kBAAe,IAAI,2BAAe,CAAC,IAAI,CAAC,EAAE;IACtC,IAAI,CAAC,gCAAsB,CAAC,CAAC,eAAe,CAAC,EAAE,MAAM,EAAE,8CAAwB,EAAE,CAAC,CAAC;IACnF,IAAI,CAAC,uBAAc,CAAC,CAAC,cAAc,CAAC,GAAG,CAAC,EAAE;QACtC,MAAM,QAAQ,GAAG,GAAG,CAAC,SAAS,CAAC,GAAG,CAA4B,kCAAwB,CAAC,CAAC;QACxF,OAAO,QAAQ,CAAC,WAAW,CAAiB,6BAAoB,CAAC,CAAC;IACtE,CAAC,CAAC,CAAC,gBAAgB,EAAE,CAAC;AAC1B,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"scanoss-frontend-module.js","sourceRoot":"","sources":["../../src/browser/scanoss-frontend-module.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,yCAAyC;AACzC,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF;;AAEhF,4DAA+D;AAC/D,uEAAyE;AACzE,qDAA8F;AAC9F,sCAAiE;AACjE,4FAA8F;AAE9F,kBAAe,IAAI,2BAAe,CAAC,IAAI,CAAC,EAAE;IACtC,IAAI,CAAC,0CAAsB,CAAC,CAAC,eAAe,CAAC,EAAE,MAAM,EAAE,8CAAwB,EAAE,CAAC,CAAC;IACnF,IAAI,CAAC,uBAAc,CAAC,CAAC,cAAc,CAAC,GAAG,CAAC,EAAE;QACtC,MAAM,QAAQ,GAAG,GAAG,CAAC,SAAS,CAAC,GAAG,CAA4B,kCAAwB,CAAC,CAAC;QACxF,OAAO,QAAQ,CAAC,WAAW,CAAiB,6BAAoB,CAAC,CAAC;IACtE,CAAC,CAAC,CAAC,gBAAgB,EAAE,CAAC;AAC1B,CAAC,CAAC,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { PreferenceSchema } from '@theia/core/lib/common/preferences/preference-schema';
2
+ export declare const SCAN_OSS_API_KEY_PREF = "ai-features.SCANOSS.apiKey";
3
+ export declare const ScanOSSPreferencesSchema: PreferenceSchema;
4
+ //# sourceMappingURL=scanoss-preferences.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scanoss-preferences.d.ts","sourceRoot":"","sources":["../../src/common/scanoss-preferences.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,gBAAgB,EAAE,MAAM,sDAAsD,CAAC;AAExF,eAAO,MAAM,qBAAqB,+BAA+B,CAAC;AAElE,eAAO,MAAM,wBAAwB,EAAE,gBAStC,CAAC"}
@@ -16,9 +16,8 @@
16
16
  // *****************************************************************************
17
17
  Object.defineProperty(exports, "__esModule", { value: true });
18
18
  exports.ScanOSSPreferencesSchema = exports.SCAN_OSS_API_KEY_PREF = void 0;
19
- exports.SCAN_OSS_API_KEY_PREF = 'SCANOSS.apiKey';
19
+ exports.SCAN_OSS_API_KEY_PREF = 'ai-features.SCANOSS.apiKey';
20
20
  exports.ScanOSSPreferencesSchema = {
21
- type: 'object',
22
21
  properties: {
23
22
  [exports.SCAN_OSS_API_KEY_PREF]: {
24
23
  type: 'string',
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scanoss-preferences.js","sourceRoot":"","sources":["../../src/common/scanoss-preferences.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,yCAAyC;AACzC,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF;;;AAInE,QAAA,qBAAqB,GAAG,4BAA4B,CAAC;AAErD,QAAA,wBAAwB,GAAqB;IACtD,UAAU,EAAE;QACR,CAAC,6BAAqB,CAAC,EAAE;YACrB,IAAI,EAAE,QAAQ;YACd,mBAAmB,EAAE;kHACiF;YACtG,KAAK,EAAE,iBAAiB;SAC3B;KACJ;CACJ,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"scanoss-backend-module.d.ts","sourceRoot":"","sources":["../../src/node/scanoss-backend-module.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;;AAK/D,wBAMG"}
1
+ {"version":3,"file":"scanoss-backend-module.d.ts","sourceRoot":"","sources":["../../src/node/scanoss-backend-module.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;;AAM/D,wBAOG"}
@@ -19,7 +19,9 @@ const inversify_1 = require("@theia/core/shared/inversify");
19
19
  const core_1 = require("@theia/core");
20
20
  const common_1 = require("../common");
21
21
  const scanoss_service_impl_1 = require("./scanoss-service-impl");
22
+ const scanoss_preferences_1 = require("../common/scanoss-preferences");
22
23
  exports.default = new inversify_1.ContainerModule(bind => {
24
+ bind(core_1.PreferenceContribution).toConstantValue({ schema: scanoss_preferences_1.ScanOSSPreferencesSchema });
23
25
  bind(scanoss_service_impl_1.ScanOSSServiceImpl).toSelf().inSingletonScope();
24
26
  bind(common_1.ScanOSSService).toService(scanoss_service_impl_1.ScanOSSServiceImpl);
25
27
  bind(core_1.ConnectionHandler).toDynamicValue(ctx => new core_1.RpcConnectionHandler(common_1.SCANOSS_SERVICE_PATH, () => ctx.container.get(common_1.ScanOSSService))).inSingletonScope();
@@ -1 +1 @@
1
- {"version":3,"file":"scanoss-backend-module.js","sourceRoot":"","sources":["../../src/node/scanoss-backend-module.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,yCAAyC;AACzC,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF;;AAEhF,4DAA+D;AAC/D,sCAAsE;AACtE,sCAAiE;AACjE,iEAA4D;AAE5D,kBAAe,IAAI,2BAAe,CAAC,IAAI,CAAC,EAAE;IACtC,IAAI,CAAC,yCAAkB,CAAC,CAAC,MAAM,EAAE,CAAC,gBAAgB,EAAE,CAAC;IACrD,IAAI,CAAC,uBAAc,CAAC,CAAC,SAAS,CAAC,yCAAkB,CAAC,CAAC;IACnD,IAAI,CAAC,wBAAiB,CAAC,CAAC,cAAc,CAAC,GAAG,CAAC,EAAE,CACzC,IAAI,2BAAoB,CAAC,6BAAoB,EAAE,GAAG,EAAE,CAAC,GAAG,CAAC,SAAS,CAAC,GAAG,CAAC,uBAAc,CAAC,CAAC,CAC1F,CAAC,gBAAgB,EAAE,CAAC;AACzB,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"scanoss-backend-module.js","sourceRoot":"","sources":["../../src/node/scanoss-backend-module.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,yCAAyC;AACzC,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF;;AAEhF,4DAA+D;AAC/D,sCAA8F;AAC9F,sCAAiE;AACjE,iEAA4D;AAC5D,uEAAyE;AAEzE,kBAAe,IAAI,2BAAe,CAAC,IAAI,CAAC,EAAE;IACtC,IAAI,CAAC,6BAAsB,CAAC,CAAC,eAAe,CAAC,EAAE,MAAM,EAAE,8CAAwB,EAAE,CAAC,CAAC;IACnF,IAAI,CAAC,yCAAkB,CAAC,CAAC,MAAM,EAAE,CAAC,gBAAgB,EAAE,CAAC;IACrD,IAAI,CAAC,uBAAc,CAAC,CAAC,SAAS,CAAC,yCAAkB,CAAC,CAAC;IACnD,IAAI,CAAC,wBAAiB,CAAC,CAAC,cAAc,CAAC,GAAG,CAAC,EAAE,CACzC,IAAI,2BAAoB,CAAC,6BAAoB,EAAE,GAAG,EAAE,CAAC,GAAG,CAAC,SAAS,CAAC,GAAG,CAAC,uBAAc,CAAC,CAAC,CAC1F,CAAC,gBAAgB,EAAE,CAAC;AACzB,CAAC,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@theia/scanoss",
3
- "version": "1.65.0-next.6+4384a9461",
3
+ "version": "1.65.1",
4
4
  "description": "Theia - SCANOSS Integration",
5
5
  "dependencies": {
6
- "@theia/core": "1.65.0-next.6+4384a9461",
6
+ "@theia/core": "1.65.1",
7
7
  "scanoss": "^0.15.2"
8
8
  },
9
9
  "publishConfig": {
@@ -41,10 +41,10 @@
41
41
  "watch": "theiaext watch"
42
42
  },
43
43
  "devDependencies": {
44
- "@theia/ext-scripts": "1.64.0"
44
+ "@theia/ext-scripts": "1.65.1"
45
45
  },
46
46
  "nyc": {
47
47
  "extends": "../../configs/nyc.json"
48
48
  },
49
- "gitHead": "4384a946123dd1b41e65708e58928fc1af707c8d"
49
+ "gitHead": "ed70d58fe5ef87606f903ea92fcb684e83f5354f"
50
50
  }
@@ -15,9 +15,10 @@
15
15
  // *****************************************************************************
16
16
 
17
17
  import { ContainerModule } from '@theia/core/shared/inversify';
18
- import { ScanOSSPreferencesSchema } from './scanoss-preferences';
19
- import { PreferenceContribution, RemoteConnectionProvider, ServiceConnectionProvider } from '@theia/core/lib/browser';
18
+ import { ScanOSSPreferencesSchema } from '../common/scanoss-preferences';
19
+ import { RemoteConnectionProvider, ServiceConnectionProvider } from '@theia/core/lib/browser';
20
20
  import { SCANOSS_SERVICE_PATH, ScanOSSService } from '../common';
21
+ import { PreferenceContribution } from '@theia/core/lib/common/preferences/preference-schema';
21
22
 
22
23
  export default new ContainerModule(bind => {
23
24
  bind(PreferenceContribution).toConstantValue({ schema: ScanOSSPreferencesSchema });
@@ -14,12 +14,11 @@
14
14
  // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
15
15
  // *****************************************************************************
16
16
 
17
- import { PreferenceSchema } from '@theia/core/lib/browser/preferences';
17
+ import { PreferenceSchema } from '@theia/core/lib/common/preferences/preference-schema';
18
18
 
19
- export const SCAN_OSS_API_KEY_PREF = 'SCANOSS.apiKey';
19
+ export const SCAN_OSS_API_KEY_PREF = 'ai-features.SCANOSS.apiKey';
20
20
 
21
21
  export const ScanOSSPreferencesSchema: PreferenceSchema = {
22
- type: 'object',
23
22
  properties: {
24
23
  [SCAN_OSS_API_KEY_PREF]: {
25
24
  type: 'string',
@@ -15,11 +15,13 @@
15
15
  // *****************************************************************************
16
16
 
17
17
  import { ContainerModule } from '@theia/core/shared/inversify';
18
- import { ConnectionHandler, RpcConnectionHandler } from '@theia/core';
18
+ import { ConnectionHandler, PreferenceContribution, RpcConnectionHandler } from '@theia/core';
19
19
  import { ScanOSSService, SCANOSS_SERVICE_PATH } from '../common';
20
20
  import { ScanOSSServiceImpl } from './scanoss-service-impl';
21
+ import { ScanOSSPreferencesSchema } from '../common/scanoss-preferences';
21
22
 
22
23
  export default new ContainerModule(bind => {
24
+ bind(PreferenceContribution).toConstantValue({ schema: ScanOSSPreferencesSchema });
23
25
  bind(ScanOSSServiceImpl).toSelf().inSingletonScope();
24
26
  bind(ScanOSSService).toService(ScanOSSServiceImpl);
25
27
  bind(ConnectionHandler).toDynamicValue(ctx =>
@@ -1,4 +0,0 @@
1
- import { PreferenceSchema } from '@theia/core/lib/browser/preferences';
2
- export declare const SCAN_OSS_API_KEY_PREF = "SCANOSS.apiKey";
3
- export declare const ScanOSSPreferencesSchema: PreferenceSchema;
4
- //# sourceMappingURL=scanoss-preferences.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"scanoss-preferences.d.ts","sourceRoot":"","sources":["../../src/browser/scanoss-preferences.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAC;AAEvE,eAAO,MAAM,qBAAqB,mBAAmB,CAAC;AAEtD,eAAO,MAAM,wBAAwB,EAAE,gBAUtC,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"scanoss-preferences.js","sourceRoot":"","sources":["../../src/browser/scanoss-preferences.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,yCAAyC;AACzC,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF;;;AAInE,QAAA,qBAAqB,GAAG,gBAAgB,CAAC;AAEzC,QAAA,wBAAwB,GAAqB;IACtD,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACR,CAAC,6BAAqB,CAAC,EAAE;YACrB,IAAI,EAAE,QAAQ;YACd,mBAAmB,EAAE;kHACiF;YACtG,KAAK,EAAE,iBAAiB;SAC3B;KACJ;CACJ,CAAC"}