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

fable-core

Package Overview
Dependencies
Maintainers
1
Versions
110
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fable-core - npm Package Compare versions

Comparing version 0.7.5-alpha.9 to 0.7.5-alpha.10

2

Array.js

@@ -1,2 +0,2 @@

import { iterate } from "./Seq";
import { iterate } from "./Seq.js";
export function addRangeInPlace(range, xs) {

@@ -3,0 +3,0 @@ iterate(function (x) {

@@ -1,6 +0,6 @@

import { Continuation } from "./AsyncBuilder";
import { CancellationToken } from "./AsyncBuilder";
import { IAsync } from "./AsyncBuilder";
import { IAsyncContext } from "./AsyncBuilder";
import Choice from "./Choice";
import { Continuation } from "./AsyncBuilder.js";
import { CancellationToken } from "./AsyncBuilder.js";
import { IAsync } from "./AsyncBuilder.js";
import { IAsyncContext } from "./AsyncBuilder.js";
import Choice from "./Choice.js";
export default class Async<T> {

@@ -7,0 +7,0 @@ }

function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
import { Trampoline } from "./AsyncBuilder";
import { protectedCont } from "./AsyncBuilder";
import { protectedBind } from "./AsyncBuilder";
import { protectedReturn } from "./AsyncBuilder";
import { choice1Of2 } from "./Choice";
import { choice2Of2 } from "./Choice";
import { map } from "./Seq";
import { Trampoline } from "./AsyncBuilder.js";
import { protectedCont } from "./AsyncBuilder.js";
import { protectedBind } from "./AsyncBuilder.js";
import { protectedReturn } from "./AsyncBuilder.js";
import { choice1Of2 } from "./Choice.js";
import { choice2Of2 } from "./Choice.js";
import { map } from "./Seq.js";
// Implemented just for type references

@@ -11,0 +11,0 @@

@@ -1,2 +0,2 @@

import { IDisposable } from "./Util";
import { IDisposable } from "./Util.js";
export declare type Continuation<T> = (x: T) => void;

@@ -3,0 +3,0 @@ export interface CancellationToken {

@@ -5,5 +5,5 @@ var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();

import FSymbol from "./Symbol";
import { equalsUnions } from "./Util";
import { compareUnions } from "./Util";
import FSymbol from "./Symbol.js";
import { equalsUnions } from "./Util.js";
import { compareUnions } from "./Util.js";
export function choice1Of2(v) {

@@ -10,0 +10,0 @@ return new Choice("Choice1Of2", [v]);

@@ -1,3 +0,3 @@

import { create as timeSpanCreate } from "./TimeSpan";
import { compare as utilCompare } from "./Util";
import { create as timeSpanCreate } from "./TimeSpan.js";
import { compare as utilCompare } from "./Util.js";
function __changeKind(d, kind) {

@@ -4,0 +4,0 @@ var d2 = void 0;

@@ -1,5 +0,5 @@

import { IObserver } from "./Observable";
import { IObservable } from "./Observable";
import { IDisposable } from "./Util";
import Choice from "./Choice";
import { IObserver } from "./Observable.js";
import { IObservable } from "./Observable.js";
import { IDisposable } from "./Util.js";
import Choice from "./Choice.js";
export declare type Delegate<T> = (x: T) => void;

@@ -6,0 +6,0 @@ export declare type DotNetDelegate<T> = (sender: any, x: T) => void;

@@ -5,6 +5,6 @@ var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();

import { createDisposable } from "./Util";
import { iterate as seqIterate } from "./Seq";
import { Observer } from "./Observable";
import { protect } from "./Observable";
import { createDisposable } from "./Util.js";
import { iterate as seqIterate } from "./Seq.js";
import { Observer } from "./Observable.js";
import { protect } from "./Observable.js";

@@ -11,0 +11,0 @@ var Event = function () {

@@ -1,2 +0,2 @@

import { IComparer } from "./Util";
import { IComparer } from "./Util.js";
export default class GenericComparer<T> implements IComparer<T> {

@@ -3,0 +3,0 @@ Compare: (x: T, y: T) => number;

function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
import { compare } from "./Util";
import FSymbol from "./Symbol";
import { compare } from "./Util.js";
import FSymbol from "./Symbol.js";

@@ -6,0 +6,0 @@ var GenericComparer = function () {

@@ -1,3 +0,3 @@

import { IEquatable } from "./Util";
import { IComparable } from "./Util";
import { IEquatable } from "./Util.js";
import { IComparable } from "./Util.js";
export declare function ofArray<T>(args: Array<T>, base?: List<T>): List<T>;

@@ -4,0 +4,0 @@ export declare function append<T>(xs: List<T>, ys: List<T>): List<T>;

@@ -5,11 +5,11 @@ var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();

import FSymbol from "./Symbol";
import { toString } from "./Util";
import { equals } from "./Util";
import { compare } from "./Util";
import { map as seqMap } from "./Seq";
import { fold as seqFold } from "./Seq";
import { foldBack as seqFoldBack } from "./Seq";
import { toList as seqToList } from "./Seq";
import { groupBy as seqGroupBy } from "./Seq";
import FSymbol from "./Symbol.js";
import { toString } from "./Util.js";
import { equals } from "./Util.js";
import { compare } from "./Util.js";
import { map as seqMap } from "./Seq.js";
import { fold as seqFold } from "./Seq.js";
import { foldBack as seqFoldBack } from "./Seq.js";
import { toList as seqToList } from "./Seq.js";
import { groupBy as seqGroupBy } from "./Seq.js";
export function ofArray(args, base) {

@@ -16,0 +16,0 @@ var acc = base || new List();

@@ -1,4 +0,4 @@

import { IAsync } from "./AsyncBuilder";
import { IAsyncContext } from "./AsyncBuilder";
import { CancellationToken } from "./AsyncBuilder";
import { IAsync } from "./AsyncBuilder.js";
import { IAsyncContext } from "./AsyncBuilder.js";
import { CancellationToken } from "./AsyncBuilder.js";
export declare type MailboxBody<Msg> = (m: MailboxProcessor<Msg>) => IAsync<void>;

@@ -5,0 +5,0 @@ export interface AsyncReplyChannel<Reply> {

function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
import { defaultCancellationToken } from "./Async";
import { fromContinuations } from "./Async";
import { startImmediate } from "./Async";
import { defaultCancellationToken } from "./Async.js";
import { fromContinuations } from "./Async.js";
import { startImmediate } from "./Async.js";

@@ -7,0 +7,0 @@ var QueueCell = function QueueCell(message) {

@@ -1,4 +0,4 @@

import { IComparer } from "./Util";
import { IEquatable } from "./Util";
import { IComparable } from "./Util";
import { IComparer } from "./Util.js";
import { IEquatable } from "./Util.js";
import { IComparable } from "./Util.js";
export declare class MapTree {

@@ -5,0 +5,0 @@ Case: string;

@@ -5,14 +5,14 @@ var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();

import List from "./List";
import { ofArray as listOfArray } from "./List";
import { toString } from "./Util";
import { equals } from "./Util";
import { compare } from "./Util";
import GenericComparer from "./GenericComparer";
import FSymbol from "./Symbol";
import { map as seqMap } from "./Seq";
import { fold as seqFold } from "./Seq";
import { pick as seqPick } from "./Seq";
import { tryPick as seqTryPick } from "./Seq";
import { compareWith as seqCompareWith } from "./Seq";
import List from "./List.js";
import { ofArray as listOfArray } from "./List.js";
import { toString } from "./Util.js";
import { equals } from "./Util.js";
import { compare } from "./Util.js";
import GenericComparer from "./GenericComparer.js";
import FSymbol from "./Symbol.js";
import { map as seqMap } from "./Seq.js";
import { fold as seqFold } from "./Seq.js";
import { pick as seqPick } from "./Seq.js";
import { tryPick as seqTryPick } from "./Seq.js";
import { compareWith as seqCompareWith } from "./Seq.js";
export var MapTree = function MapTree(caseName, fields) {

@@ -19,0 +19,0 @@ _classCallCheck(this, MapTree);

@@ -1,3 +0,3 @@

import { IDisposable } from "./Util";
import Choice from "./Choice";
import { IDisposable } from "./Util.js";
import Choice from "./Choice.js";
export interface IObserver<T> {

@@ -4,0 +4,0 @@ OnNext: (x: T) => void;

function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
import { createDisposable } from "./Util";
import FSymbol from "./Symbol";
import { createDisposable } from "./Util.js";
import FSymbol from "./Symbol.js";
export var Observer = function () {

@@ -6,0 +6,0 @@ function Observer(onNext, onError, onCompleted) {

{
"name": "fable-core",
"version": "0.7.5-alpha.9",
"version": "0.7.5-alpha.10",
"description": "Fable core lib & bindings for native JS objects, browser and node APIs",

@@ -5,0 +5,0 @@ "main": "Main.js",

@@ -1,4 +0,4 @@

import List from "./List";
import List from "./List.js";
export declare function resolveGeneric(idx: string | number, enclosing: List<any>): List<any>;
export declare function getType(obj: any): any;
export declare function getTypeFullName(typ: any, option?: string): string;
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
import List from "./List";
import FSymbol from "./Symbol";
import List from "./List.js";
import FSymbol from "./Symbol.js";
export function resolveGeneric(idx, enclosing) {

@@ -6,0 +6,0 @@ var name = null;

@@ -1,3 +0,3 @@

import { IDisposable } from "./Util";
import List from "./List";
import { IDisposable } from "./Util.js";
import List from "./List.js";
export declare function toList<T>(xs: Iterable<T>): List<T>;

@@ -4,0 +4,0 @@ export declare function ofList<T>(xs: List<T>): Iterable<T>;

@@ -1,10 +0,10 @@

import { equals } from "./Util";
import { compare } from "./Util";
import { permute as arrayPermute } from "./Array";
import List from "./List";
import { add as setAdd } from "./Set";
import { create as setCreate } from "./Set";
import { add as mapAdd } from "./Map";
import { create as mapCreate } from "./Map";
import { tryFind as mapTryFind } from "./Map";
import { equals } from "./Util.js";
import { compare } from "./Util.js";
import { permute as arrayPermute } from "./Array.js";
import List from "./List.js";
import { add as setAdd } from "./Set.js";
import { create as setCreate } from "./Set.js";
import { add as mapAdd } from "./Map.js";
import { create as mapCreate } from "./Map.js";
import { tryFind as mapTryFind } from "./Map.js";
function __failIfNone(res) {

@@ -11,0 +11,0 @@ if (res == null) throw "Seq did not contain any matching element";

var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
import FSymbol from "./Symbol";
import { fableGlobal } from "./Symbol";
import List from "./List";
import { ofArray as listOfArray } from "./List";
import FSet from "./Set";
import FMap from "./Map";
import { create as mapCreate } from "./Map";
import { create as setCreate } from "./Set";
import { hasInterface } from "./Util";
import { getDefinition } from "./Util";
import { fold } from "./Seq";
import { resolveGeneric } from "./Reflection";
import { parse as dateParse } from "./Date";
import FSymbol from "./Symbol.js";
import { fableGlobal } from "./Symbol.js";
import List from "./List.js";
import { ofArray as listOfArray } from "./List.js";
import FSet from "./Set.js";
import FMap from "./Map.js";
import { create as mapCreate } from "./Map.js";
import { create as setCreate } from "./Set.js";
import { hasInterface } from "./Util.js";
import { getDefinition } from "./Util.js";
import { fold } from "./Seq.js";
import { resolveGeneric } from "./Reflection.js";
import { parse as dateParse } from "./Date.js";
export function toJson(o) {

@@ -17,0 +17,0 @@ return JSON.stringify(o, function (k, v) {

@@ -1,4 +0,4 @@

import { IComparer } from "./Util";
import { IEquatable } from "./Util";
import { IComparable } from "./Util";
import { IComparer } from "./Util.js";
import { IEquatable } from "./Util.js";
import { IComparable } from "./Util.js";
export declare class SetTree {

@@ -5,0 +5,0 @@ Case: string;

@@ -5,11 +5,11 @@ var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();

import List from "./List";
import { ofArray as listOfArray } from "./List";
import { toString } from "./Util";
import GenericComparer from "./GenericComparer";
import FSymbol from "./Symbol";
import { fold as seqFold } from "./Seq";
import { reduce as seqReduce } from "./Seq";
import { forAll as seqForAll } from "./Seq";
import { exists as seqExists } from "./Seq";
import List from "./List.js";
import { ofArray as listOfArray } from "./List.js";
import { toString } from "./Util.js";
import GenericComparer from "./GenericComparer.js";
import FSymbol from "./Symbol.js";
import { fold as seqFold } from "./Seq.js";
import { reduce as seqReduce } from "./Seq.js";
import { forAll as seqForAll } from "./Seq.js";
import { exists as seqExists } from "./Seq.js";
export var SetTree = function SetTree(caseName, fields) {

@@ -16,0 +16,0 @@ _classCallCheck(this, SetTree);

export declare function fsFormat(str: string, ...args: any[]): Function | string;
export declare function format(str: string, ...args: any[]): string;
export declare function formatError(err: any): string | Function;
export declare function endsWith(str: string, search: string): boolean;

@@ -4,0 +5,0 @@ export declare function initialize(n: number, f: (i: number) => string): string;

var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
import { toString } from "./Util";
import { getRestParams } from "./Util";
import { escape } from "./RegExp";
import { second } from "./Date";
import { minute } from "./Date";
import { hour } from "./Date";
import { day } from "./Date";
import { month } from "./Date";
import { year } from "./Date";
import { toString } from "./Util.js";
import { getRestParams } from "./Util.js";
import { escape } from "./RegExp.js";
import { second } from "./Date.js";
import { minute } from "./Date.js";
import { hour } from "./Date.js";
import { day } from "./Date.js";
import { month } from "./Date.js";
import { year } from "./Date.js";
var fsFormatRegExp = /(^|[^%])%([0+ ]*)(-?\d+)?(?:\.(\d+))?(\w)/;

@@ -182,2 +182,5 @@ var formatRegExp = /\{(\d+)(,-?\d+)?(?:\:(.+?))?\}/g;

}
export function formatError(err) {
return typeof err === "string" ? err : fsFormat("%A", err);
}
export function endsWith(str, search) {

@@ -184,0 +187,0 @@ var idx = str.lastIndexOf(search);

@@ -1,3 +0,3 @@

import { IDisposable } from "./Util";
import Event from "./Event";
import { IDisposable } from "./Util.js";
import Event from "./Event.js";
export default class Timer implements IDisposable {

@@ -4,0 +4,0 @@ Interval: number;

@@ -5,4 +5,4 @@ var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();

import Event from "./Event";
import FSymbol from "./Symbol";
import Event from "./Event.js";
import FSymbol from "./Symbol.js";

@@ -9,0 +9,0 @@ var Timer = function () {

@@ -1,2 +0,2 @@

import { compare as utilCompare } from "./Util";
import { compare as utilCompare } from "./Util.js";
export function create() {

@@ -3,0 +3,0 @@ var d = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;

(function (global, factory) {
if (typeof define === "function" && define.amd) {
define(["exports", "./Seq"], factory);
define(["exports", "./Seq.js"], factory);
} else if (typeof exports !== "undefined") {
factory(exports, require("./Seq"));
factory(exports, require("./Seq.js"));
} else {

@@ -7,0 +7,0 @@ var mod = {

(function (global, factory) {
if (typeof define === "function" && define.amd) {
define(["exports", "./AsyncBuilder", "./Choice", "./Seq"], factory);
define(["exports", "./AsyncBuilder.js", "./Choice.js", "./Seq.js"], factory);
} else if (typeof exports !== "undefined") {
factory(exports, require("./AsyncBuilder"), require("./Choice"), require("./Seq"));
factory(exports, require("./AsyncBuilder.js"), require("./Choice.js"), require("./Seq.js"));
} else {

@@ -7,0 +7,0 @@ var mod = {

(function (global, factory) {
if (typeof define === "function" && define.amd) {
define(["exports", "./Symbol", "./Util"], factory);
define(["exports", "./Symbol.js", "./Util.js"], factory);
} else if (typeof exports !== "undefined") {
factory(exports, require("./Symbol"), require("./Util"));
factory(exports, require("./Symbol.js"), require("./Util.js"));
} else {

@@ -7,0 +7,0 @@ var mod = {

(function (global, factory) {
if (typeof define === "function" && define.amd) {
define(["exports", "./TimeSpan", "./Util"], factory);
define(["exports", "./TimeSpan.js", "./Util.js"], factory);
} else if (typeof exports !== "undefined") {
factory(exports, require("./TimeSpan"), require("./Util"));
factory(exports, require("./TimeSpan.js"), require("./Util.js"));
} else {

@@ -7,0 +7,0 @@ var mod = {

(function (global, factory) {
if (typeof define === "function" && define.amd) {
define(["exports", "./Util", "./Seq", "./Observable"], factory);
define(["exports", "./Util.js", "./Seq.js", "./Observable.js"], factory);
} else if (typeof exports !== "undefined") {
factory(exports, require("./Util"), require("./Seq"), require("./Observable"));
factory(exports, require("./Util.js"), require("./Seq.js"), require("./Observable.js"));
} else {

@@ -7,0 +7,0 @@ var mod = {

(function (global, factory) {
if (typeof define === "function" && define.amd) {
define(["exports", "./Util", "./Symbol"], factory);
define(["exports", "./Util.js", "./Symbol.js"], factory);
} else if (typeof exports !== "undefined") {
factory(exports, require("./Util"), require("./Symbol"));
factory(exports, require("./Util.js"), require("./Symbol.js"));
} else {

@@ -7,0 +7,0 @@ var mod = {

(function (global, factory) {
if (typeof define === "function" && define.amd) {
define(["exports", "./Symbol", "./Util", "./Seq"], factory);
define(["exports", "./Symbol.js", "./Util.js", "./Seq.js"], factory);
} else if (typeof exports !== "undefined") {
factory(exports, require("./Symbol"), require("./Util"), require("./Seq"));
factory(exports, require("./Symbol.js"), require("./Util.js"), require("./Seq.js"));
} else {

@@ -7,0 +7,0 @@ var mod = {

(function (global, factory) {
if (typeof define === "function" && define.amd) {
define(["exports", "./Async"], factory);
define(["exports", "./Async.js"], factory);
} else if (typeof exports !== "undefined") {
factory(exports, require("./Async"));
factory(exports, require("./Async.js"));
} else {

@@ -7,0 +7,0 @@ var mod = {

(function (global, factory) {
if (typeof define === "function" && define.amd) {
define(["exports", "./List", "./Util", "./GenericComparer", "./Symbol", "./Seq"], factory);
define(["exports", "./List.js", "./Util.js", "./GenericComparer.js", "./Symbol.js", "./Seq.js"], factory);
} else if (typeof exports !== "undefined") {
factory(exports, require("./List"), require("./Util"), require("./GenericComparer"), require("./Symbol"), require("./Seq"));
factory(exports, require("./List.js"), require("./Util.js"), require("./GenericComparer.js"), require("./Symbol.js"), require("./Seq.js"));
} else {

@@ -7,0 +7,0 @@ var mod = {

(function (global, factory) {
if (typeof define === "function" && define.amd) {
define(["exports", "./Util", "./Symbol"], factory);
define(["exports", "./Util.js", "./Symbol.js"], factory);
} else if (typeof exports !== "undefined") {
factory(exports, require("./Util"), require("./Symbol"));
factory(exports, require("./Util.js"), require("./Symbol.js"));
} else {

@@ -7,0 +7,0 @@ var mod = {

(function (global, factory) {
if (typeof define === "function" && define.amd) {
define(["exports", "./List", "./Symbol"], factory);
define(["exports", "./List.js", "./Symbol.js"], factory);
} else if (typeof exports !== "undefined") {
factory(exports, require("./List"), require("./Symbol"));
factory(exports, require("./List.js"), require("./Symbol.js"));
} else {

@@ -7,0 +7,0 @@ var mod = {

(function (global, factory) {
if (typeof define === "function" && define.amd) {
define(["exports", "./Util", "./Array", "./List", "./Set", "./Map"], factory);
define(["exports", "./Util.js", "./Array.js", "./List.js", "./Set.js", "./Map.js"], factory);
} else if (typeof exports !== "undefined") {
factory(exports, require("./Util"), require("./Array"), require("./List"), require("./Set"), require("./Map"));
factory(exports, require("./Util.js"), require("./Array.js"), require("./List.js"), require("./Set.js"), require("./Map.js"));
} else {

@@ -7,0 +7,0 @@ var mod = {

(function (global, factory) {
if (typeof define === "function" && define.amd) {
define(["exports", "./Symbol", "./List", "./Set", "./Map", "./Util", "./Seq", "./Reflection", "./Date"], factory);
define(["exports", "./Symbol.js", "./List.js", "./Set.js", "./Map.js", "./Util.js", "./Seq.js", "./Reflection.js", "./Date.js"], factory);
} else if (typeof exports !== "undefined") {
factory(exports, require("./Symbol"), require("./List"), require("./Set"), require("./Map"), require("./Util"), require("./Seq"), require("./Reflection"), require("./Date"));
factory(exports, require("./Symbol.js"), require("./List.js"), require("./Set.js"), require("./Map.js"), require("./Util.js"), require("./Seq.js"), require("./Reflection.js"), require("./Date.js"));
} else {

@@ -7,0 +7,0 @@ var mod = {

(function (global, factory) {
if (typeof define === "function" && define.amd) {
define(["exports", "./List", "./Util", "./GenericComparer", "./Symbol", "./Seq"], factory);
define(["exports", "./List.js", "./Util.js", "./GenericComparer.js", "./Symbol.js", "./Seq.js"], factory);
} else if (typeof exports !== "undefined") {
factory(exports, require("./List"), require("./Util"), require("./GenericComparer"), require("./Symbol"), require("./Seq"));
factory(exports, require("./List.js"), require("./Util.js"), require("./GenericComparer.js"), require("./Symbol.js"), require("./Seq.js"));
} else {

@@ -7,0 +7,0 @@ var mod = {

(function (global, factory) {
if (typeof define === "function" && define.amd) {
define(["exports", "./Util", "./RegExp", "./Date"], factory);
define(["exports", "./Util.js", "./RegExp.js", "./Date.js"], factory);
} else if (typeof exports !== "undefined") {
factory(exports, require("./Util"), require("./RegExp"), require("./Date"));
factory(exports, require("./Util.js"), require("./RegExp.js"), require("./Date.js"));
} else {

@@ -21,2 +21,3 @@ var mod = {

exports.format = format;
exports.formatError = formatError;
exports.endsWith = endsWith;

@@ -212,2 +213,5 @@ exports.initialize = initialize;

}
function formatError(err) {
return typeof err === "string" ? err : fsFormat("%A", err);
}
function endsWith(str, search) {

@@ -214,0 +218,0 @@ var idx = str.lastIndexOf(search);

(function (global, factory) {
if (typeof define === "function" && define.amd) {
define(["exports", "./Event", "./Symbol"], factory);
define(["exports", "./Event.js", "./Symbol.js"], factory);
} else if (typeof exports !== "undefined") {
factory(exports, require("./Event"), require("./Symbol"));
factory(exports, require("./Event.js"), require("./Symbol.js"));
} else {

@@ -7,0 +7,0 @@ var mod = {

(function (global, factory) {
if (typeof define === "function" && define.amd) {
define(["exports", "./Util"], factory);
define(["exports", "./Util.js"], factory);
} else if (typeof exports !== "undefined") {
factory(exports, require("./Util"));
factory(exports, require("./Util.js"));
} else {

@@ -7,0 +7,0 @@ var mod = {

(function (global, factory) {
if (typeof define === "function" && define.amd) {
define(["exports", "./Symbol"], factory);
define(["exports", "./Symbol.js"], factory);
} else if (typeof exports !== "undefined") {
factory(exports, require("./Symbol"));
factory(exports, require("./Symbol.js"));
} else {

@@ -7,0 +7,0 @@ var mod = {

@@ -7,4 +7,4 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

import FSymbol from "./Symbol";
import { fableGlobal } from "./Symbol";
import FSymbol from "./Symbol.js";
import { fableGlobal } from "./Symbol.js";
export function declare(cons) {

@@ -11,0 +11,0 @@ if (cons.prototype[FSymbol.typeName]) fableGlobal.types.set(cons.prototype[FSymbol.typeName](), cons);

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