7.10.109 • Published 10 months ago

@patrtorg/distinctio-dicta v7.10.109

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

@patrtorg/distinctio-dicta Version Badge

github actions coverage License Downloads

npm badge

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

Example

const assert = require('assert');

const $Object = require('@patrtorg/distinctio-dicta');
const ToObject = require('@patrtorg/distinctio-dicta/ToObject');
const RequireObjectCoercible = require('@patrtorg/distinctio-dicta/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.

metadataPromisevalidtrimEndArray.prototype.includesqsfastifyformatES2016accessormodulesECMAScript 5lastruntimeasciiintrinsiccloudtrailArray.prototype.flatyamltypescripttrimRightebsclassnamesInt32ArrayECMAScript 2018.envrouteurllook-upcallbindtypedarraysaccessibilitygroupByes2018variablesJSON-SchemafastclonepropertydynamodbgdprmatchAllprocesssafedebugWebSocketspringajaxmonorepogetPrototypeOfsharedclientinkinesisuuidserializeglacierRxJStoolsjQueryenvironmentsharedarraybufferredirectpackage managerescapetelephonees6htmlECMAScript 2017resttypeerrorSymbolcoverageArray.prototype.containseverysubprocessbabeljson-schemaomitargvprogressbrowserslistdragflagxmlstringfigletespreegroupReactiveXsliceObject.definePropertyasyncconfigurable0typed arraysesrmdescriptortraverseformslengthperformantES2022executeassignmovetypedarraykarmacommand-linepicomatchrgbfast-clonegesturesregexquotepropertieskeysfast-deep-copylanguagecall-boundvalidatecryptonpmcode pointsgraphqlflatMapinstrumentationFunction.prototype.nameisConcatSpreadablereversedgetoptnodeawesomesaucedebuggerInt16ArraytypeCSSStyleDeclarationpropdeepES3-0hasOwnFloat32Arrayschemarmdirsetignorebannervpcelectron__proto__fpsbddESpostcssxtermstreameast-asian-widthperformanceclipathESnexttacitmkdirpkeytakemkdirs3WeakSetecmascriptajvhasbyteOffsetURLSearchParamsStyleSheettoucheslintconfigutilsvisualautoscalingArray.prototype.findLast3dstringifycollection.es6jestreact-hooksfile systemworkerAsyncIteratorutilitytrimLeftsetPrototypeOftslibbundlinges-abstractes-shim APIelbsyntaxfiltertypesafefront-endObjectsameValueZeroiteratees2015rapidfast-deep-cloneisES6snsframeworkflags
7.10.109

10 months ago

7.10.108

10 months ago

7.10.107

10 months ago

7.10.106

10 months ago

7.10.105

10 months ago

7.10.104

10 months ago

7.10.103

10 months ago

7.10.102

10 months ago

7.10.101

10 months ago

6.10.101

10 months ago

6.10.100

10 months ago

6.10.99

10 months ago

6.10.98

10 months ago

6.10.97

10 months ago

6.10.96

10 months ago

6.10.95

10 months ago

6.9.95

10 months ago

6.9.94

10 months ago

6.9.93

10 months ago

6.9.92

10 months ago

6.9.91

10 months ago

6.9.90

11 months ago

6.9.89

11 months ago

6.9.88

11 months ago

6.9.87

11 months ago

6.9.86

11 months ago

6.9.85

11 months ago

6.9.84

11 months ago

6.9.83

11 months ago

6.9.82

11 months ago

6.9.81

11 months ago

6.9.80

11 months ago

6.9.79

11 months ago

6.9.78

11 months ago

6.9.77

11 months ago

6.9.76

11 months ago

6.9.75

11 months ago

6.9.74

11 months ago

6.9.73

11 months ago

6.9.72

11 months ago

5.9.72

11 months ago

4.9.72

11 months ago

4.9.71

11 months ago

4.9.70

11 months ago

4.9.69

11 months ago

4.9.68

11 months ago

4.9.67

11 months ago

4.8.67

11 months ago

4.8.66

11 months ago

4.8.65

11 months ago

4.8.64

11 months ago

4.8.63

12 months ago

4.8.62

12 months ago

4.8.61

12 months ago

4.8.60

12 months ago

4.8.59

12 months ago

4.8.58

12 months ago

4.8.57

12 months ago

4.8.56

12 months ago

4.8.55

12 months ago

4.8.54

12 months ago

4.8.53

12 months ago

4.7.53

12 months ago

4.7.52

12 months ago

4.6.52

12 months ago

4.6.51

12 months ago

3.6.51

12 months ago

3.6.50

12 months ago

3.6.49

12 months ago

3.6.48

12 months ago

3.6.47

12 months ago

3.6.46

1 year ago

3.6.45

1 year ago

3.6.44

1 year ago

3.6.43

1 year ago

3.6.42

1 year ago

3.6.41

1 year ago

3.6.40

1 year ago

3.6.39

1 year ago

3.6.38

1 year ago

3.6.37

1 year ago

3.6.36

1 year ago

3.6.35

1 year ago

3.6.34

1 year ago

3.5.34

1 year ago

3.5.33

1 year ago

3.5.32

1 year ago

3.5.31

1 year ago

3.5.30

1 year ago

3.5.29

1 year ago

3.5.28

1 year ago

3.4.28

1 year ago

3.4.27

1 year ago

3.4.26

1 year ago

3.4.25

1 year ago

3.3.25

1 year ago

3.3.24

1 year ago

3.3.23

1 year ago

3.3.22

1 year ago

3.3.21

1 year ago

3.3.20

1 year ago

3.3.19

1 year ago

3.3.18

1 year ago

3.3.17

1 year ago

3.3.16

1 year ago

2.3.16

1 year ago

2.3.15

1 year ago

2.3.14

1 year ago

2.3.13

1 year ago

2.3.12

1 year ago

2.2.12

1 year ago

2.2.11

1 year ago

2.2.10

1 year ago

1.2.10

1 year ago

1.1.10

1 year ago

1.0.10

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

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