4.10.98 • Published 1 year ago

@diotoborg/esse-rerum v4.10.98

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@diotoborg/esse-rerum Version Badge

github actions coverage License Downloads

npm badge

ES Object-related atoms: Object, ToObject, RequireObjectCoercible.

Example

const assert = require('assert');

const $Object = require('@diotoborg/esse-rerum');
const ToObject = require('@diotoborg/esse-rerum/ToObject');
const RequireObjectCoercible = require('@diotoborg/esse-rerum/RequireObjectCoercible');

assert.equal($Object, Object);
assert.throws(() => ToObject(null), TypeError);
assert.throws(() => ToObject(undefined), TypeError);
assert.throws(() => RequireObjectCoercible(null), TypeError);
assert.throws(() => RequireObjectCoercible(undefined), TypeError);

assert.deepEqual(RequireObjectCoercible(true), true);
assert.deepEqual(ToObject(true), Object(true));

const obj = {};
assert.equal(RequireObjectCoercible(obj), obj);
assert.equal(ToObject(obj), obj);

Tests

Simply clone the repo, npm install, and run npm test

Security

Please email @ljharb or see https://tidelift.com/security if you have a potential security vulnerability to report.

structuredClonepolyfillWebSocketsserverphonepackagesio-tsdynamodbpostcsscheckarraysBigInt64ArraychaitrimStartfast-deep-copyinvariantcryptotermfastifyerror-handlingURLprogressfilterinspectprunejshinttoobjectsignalsgetsortedtypedarraysshrinkwrapsortcommandswfbootstrap lessshimamazonFloat32Arraylocalequalitynegative zeroindicatorlesscsslinuxIteratorenumerableReactiveExtensionselbloadbalancingECMAScript 2022less compilerWebSocketsignalObjectvalidmake dirgroupByglobal this valueutilstylingconcatES2019form-validationauth__proto__touchdatastructureworkspace:*Object.keyspathkinesispuresettingsArrayBufferzodlrucurriedregular-expressiondescriptorec2performantoperating-systemparserjoilastenderhttpsassignreact-componenttypeerrorassertionStreamsruntime0fnmatchMapextendfluxjson-schema-validatorirqwhatwgFunction.prototype.namesliceremovetsredacthardlinkscallbackoptioninternal slotfullloggingbundlersigtermfastgenericscolumnsi18nreal-timeutilsautoscalingarraybufferfast-clonelanguageenvironmentstrimEndroute53coretypesafeconfigmetadataTypeBoxECMAScript 2023full-widthutil.inspectfromString.prototype.matchAllgetoptdragimportexportstringifyArrayBuffer#slicechannelvestObservabledependency managerdateeslintplugin[[Prototype]]transportprocessjsdomgetintrinsicasynctddgetterUint8Arraybabelfindwrite@@toStringTagzxuploadpicomatchairbnbdependenciesbeanstalkfiglethasOwnECMAScript 2020formscolorsdeepreact-hooksa11yutilitiesesoutputregexpboundweakmapreactprototoSortedfpsreadrecursivelocationterminaldataviewArray.prototype.findLastIndexstylesheetbytefront-endespreeaccessorES2016Uint16ArrayqueueMicrotaskrgbcore-jseast-asian-widthstatemkdirsieback-endrequeststableAsyncIteratorauthenticationWeakSetlinkcss lessmatchECMAScript 2016ECMAScript 2018lengthelectrondefinePropertycss-in-jssetImmediateextrafile systemtypedarrayebsReactiveXopensslserializerincludesstylejsxwhiches7randommomentreact-hook-formless.jscjknpmCSSStyleDeclarationArray.prototype.filterawsglobalartnegativestyleguideprettybcryptclonereadablestreamlistenersdom-testing-libraryhandlersexecutemockdomes8Array.prototype.flatMapfindLastIndexinputdataViewtc39Object.fromEntriesglobals
4.10.98

1 year ago

4.10.97

1 year ago

4.10.96

1 year ago

4.10.95

1 year ago

4.10.94

1 year ago

4.10.93

1 year ago

4.10.92

1 year ago

4.10.91

1 year ago

4.10.90

1 year ago

4.10.89

1 year ago

4.10.88

1 year ago

4.9.88

1 year ago

4.9.87

1 year ago

4.8.87

1 year ago

4.7.87

1 year ago

4.7.86

1 year ago

4.7.85

1 year ago

4.7.84

1 year ago

4.7.83

1 year ago

4.7.82

1 year ago

4.7.81

1 year ago

4.7.80

1 year ago

4.7.79

1 year ago

4.7.78

1 year ago

4.7.77

1 year ago

4.7.76

1 year ago

4.7.75

1 year ago

4.7.74

1 year ago

4.7.73

1 year ago

4.7.72

1 year ago

4.6.72

1 year ago

4.6.71

1 year ago

4.6.70

1 year ago

4.6.69

1 year ago

4.6.68

1 year ago

4.6.67

1 year ago

4.6.66

1 year ago

4.6.65

1 year ago

4.6.64

1 year ago

4.6.63

1 year ago

4.6.62

1 year ago

4.6.61

1 year ago

4.6.60

1 year ago

4.6.59

1 year ago

4.6.58

1 year ago

4.6.57

1 year ago

4.6.56

1 year ago

4.5.56

1 year ago

3.5.56

1 year ago

3.5.55

1 year ago

3.5.54

1 year ago

3.5.53

1 year ago

3.4.53

1 year ago

3.4.52

1 year ago

3.4.51

1 year ago

3.4.50

1 year ago

3.4.49

1 year ago

2.4.49

1 year ago

2.4.48

1 year ago

2.4.47

1 year ago

2.4.46

1 year ago

2.3.46

1 year ago

2.2.46

1 year ago

2.2.45

1 year ago

2.2.44

1 year ago

2.2.43

1 year ago

2.2.42

1 year ago

2.2.41

1 year ago

2.2.40

1 year ago

2.2.39

1 year ago

2.2.38

1 year ago

2.2.37

1 year ago

2.2.36

1 year ago

2.2.35

1 year ago

2.2.34

1 year ago

2.2.33

1 year ago

2.2.32

1 year ago

2.2.31

1 year ago

2.2.30

1 year ago

2.2.29

1 year ago

2.1.29

1 year ago

2.1.28

1 year ago

2.1.27

1 year ago

2.1.26

1 year ago

2.1.25

1 year ago

2.1.24

1 year ago

2.1.23

1 year ago

2.1.22

1 year ago

2.1.21

1 year ago

2.1.20

1 year ago

2.1.19

1 year ago

2.1.18

1 year ago

2.1.17

1 year ago

2.1.16

1 year ago

2.1.15

1 year ago

2.1.14

1 year ago

2.1.13

1 year ago

2.1.12

1 year ago

2.1.11

1 year ago

2.1.10

1 year ago

2.1.9

1 year ago

2.1.8

1 year ago

2.1.7

1 year ago

2.1.6

1 year ago

2.1.5

1 year ago

2.0.5

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago