Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

dojo-core

Package Overview
Dependencies
Maintainers
2
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dojo-core - npm Package Compare versions

Comparing version 2.0.0-alpha.14 to 2.0.0-alpha.15

IdentityRegistry.d.ts

2

async/Task.d.ts

@@ -46,4 +46,4 @@ import { Iterable } from 'dojo-shim/iterator';

finally(callback: () => void | Thenable<any>): Task<T>;
then<U>(onFulfilled?: (value: T | undefined) => U | Thenable<U>, onRejected?: (error: Error | undefined) => U | Thenable<U>): Task<U>;
then<U>(onFulfilled?: (value: T) => U | Thenable<U>, onRejected?: (error: Error) => U | Thenable<U>): Task<U>;
catch<U>(onRejected: (reason?: Error) => (U | Thenable<U>)): Task<U>;
}

@@ -6,7 +6,8 @@ import * as aspect from './aspect';

import global from './global';
import IdentityRegistry from './IdentityRegistry';
import * as lang from './lang';
import load from './load';
import MatchRegistry from './MatchRegistry';
import on, { emit } from './on';
import * as queue from './queue';
import Registry from './Registry';
import request from './request';

@@ -26,2 +27,2 @@ import Scheduler from './Scheduler';

};
export { aspect, async, DateObject, emit, encoding, Evented, global, lang, load, on, queue, Registry, request, Scheduler, stringExtras, text, UrlSearchParams, util };
export { aspect, async, DateObject, emit, encoding, Evented, global, IdentityRegistry, lang, load, MatchRegistry, on, queue, request, Scheduler, stringExtras, text, UrlSearchParams, util };

@@ -6,3 +6,3 @@ (function (factory) {

else if (typeof define === 'function' && define.amd) {
define(["require", "exports", './aspect', './DateObject', './encoding', './Evented', './global', './lang', './load', './on', './queue', './Registry', './request', './Scheduler', './stringExtras', './text', './UrlSearchParams', './util', './async/iteration', './async/Task', './async/timing'], factory);
define(["require", "exports", './aspect', './DateObject', './encoding', './Evented', './global', './IdentityRegistry', './lang', './load', './MatchRegistry', './on', './queue', './request', './Scheduler', './stringExtras', './text', './UrlSearchParams', './util', './async/iteration', './async/Task', './async/timing'], factory);
}

@@ -21,2 +21,4 @@ })(function (require, exports) {

exports.global = global_1.default;
var IdentityRegistry_1 = require('./IdentityRegistry');
exports.IdentityRegistry = IdentityRegistry_1.default;
var lang = require('./lang');

@@ -26,2 +28,4 @@ exports.lang = lang;

exports.load = load_1.default;
var MatchRegistry_1 = require('./MatchRegistry');
exports.MatchRegistry = MatchRegistry_1.default;
var on_1 = require('./on');

@@ -32,4 +36,2 @@ exports.on = on_1.default;

exports.queue = queue;
var Registry_1 = require('./Registry');
exports.Registry = Registry_1.default;
var request_1 = require('./request');

@@ -36,0 +38,0 @@ exports.request = request_1.default;

{
"name": "dojo-core",
"version": "2.0.0-alpha.14",
"version": "2.0.0-alpha.15",
"description": "Basic utilites for common TypeScript development",

@@ -40,5 +40,5 @@ "homepage": "http://dojotoolkit.org",

"sinon": "1.14.1",
"tslint": "next",
"typescript": "^2.0.2"
"tslint": "^3.15.1",
"typescript": "~2.0.3"
}
}
import Task from './async/Task';
import { Handle } from './interfaces';
import Registry, { Test } from './Registry';
import MatchRegistry, { Test } from './MatchRegistry';
import { ParamList } from './UrlSearchParams';
export declare class FilterRegistry extends Registry<RequestFilter> {
export declare class FilterRegistry extends MatchRegistry<RequestFilter> {
register(test: string | RegExp | RequestFilterTest | null, value: RequestFilter, first?: boolean): Handle;
}
export declare class ProviderRegistry extends Registry<RequestProvider> {
export declare class ProviderRegistry extends MatchRegistry<RequestProvider> {
private _providerPromise;

@@ -10,0 +10,0 @@ constructor();

@@ -11,3 +11,3 @@ var __extends = (this && this.__extends) || function (d, b) {

else if (typeof define === 'function' && define.amd) {
define(["require", "exports", './async/Task', './request/has', './Registry', './load'], factory);
define(["require", "exports", './async/Task', './request/has', './MatchRegistry', './load'], factory);
}

@@ -18,3 +18,3 @@ })(function (require, exports) {

var has_1 = require('./request/has');
var Registry_1 = require('./Registry');
var MatchRegistry_1 = require('./MatchRegistry');
var load_1 = require('./load');

@@ -45,3 +45,3 @@ var FilterRegistry = (function (_super) {

return FilterRegistry;
}(Registry_1.default));
}(MatchRegistry_1.default));
exports.FilterRegistry = FilterRegistry;

@@ -110,3 +110,3 @@ var defaultProvider = './request/xhr';

return ProviderRegistry;
}(Registry_1.default));
}(MatchRegistry_1.default));
exports.ProviderRegistry = ProviderRegistry;

@@ -113,0 +113,0 @@ /**

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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