componentsjs 6.0.0 → 6.0.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.
@@ -16,12 +16,6 @@ class PrefetchedDocumentLoader extends jsonld_context_parser_1.FetchDocumentLoad
16
16
  this.remoteContextLookups = options.remoteContextLookups;
17
17
  }
18
18
  async load(url) {
19
- // Warn on deprecated context usage
20
- // eslint-disable-next-line max-len
21
- const match = PrefetchedDocumentLoader.CONTEXT_PATTERN.exec(url);
22
- if (this.logger && match && Number.parseInt(match[1], 10) < PrefetchedDocumentLoader.CJS_MAJOR_VERSION) {
23
- this.logger.warn(`Detected deprecated context URL '${url}'${this.path ? ` in ${this.path}` : ''}. Prefer using version '^${PrefetchedDocumentLoader.CJS_MAJOR_VERSION}.0.0' instead.`);
24
- }
25
19
  // Load prefetched contexts
26
20
  if (url in this.contexts) {
27
21
  return this.contexts[url];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "componentsjs",
3
- "version": "6.0.0",
3
+ "version": "6.0.1",
4
4
  "description": "A semantic dependency injection framework",
5
5
  "lsd:contexts": {
6
6
  "https://linkedsoftwaredependencies.org/bundles/npm/componentsjs/^5.0.0/components/context.jsonld": "components/context.jsonld"