7.10.109 • Published 1 year ago

@patrtorg/distinctio-dicta v7.10.109

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year 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

1 year ago

7.10.108

1 year ago

7.10.107

1 year ago

7.10.106

1 year ago

7.10.105

1 year ago

7.10.104

1 year ago

7.10.103

1 year ago

7.10.102

1 year ago

7.10.101

1 year ago

6.10.101

1 year ago

6.10.100

1 year ago

6.10.99

1 year ago

6.10.98

1 year ago

6.10.97

1 year ago

6.10.96

1 year ago

6.10.95

1 year ago

6.9.95

1 year ago

6.9.94

1 year ago

6.9.93

1 year ago

6.9.92

1 year ago

6.9.91

1 year ago

6.9.90

1 year ago

6.9.89

1 year ago

6.9.88

1 year ago

6.9.87

1 year ago

6.9.86

1 year ago

6.9.85

1 year ago

6.9.84

1 year ago

6.9.83

1 year ago

6.9.82

1 year ago

6.9.81

1 year ago

6.9.80

1 year ago

6.9.79

1 year ago

6.9.78

1 year ago

6.9.77

1 year ago

6.9.76

1 year ago

6.9.75

1 year ago

6.9.74

1 year ago

6.9.73

1 year ago

6.9.72

1 year ago

5.9.72

1 year ago

4.9.72

1 year ago

4.9.71

1 year ago

4.9.70

1 year ago

4.9.69

1 year ago

4.9.68

1 year ago

4.9.67

1 year ago

4.8.67

1 year ago

4.8.66

1 year ago

4.8.65

1 year ago

4.8.64

1 year ago

4.8.63

1 year ago

4.8.62

1 year ago

4.8.61

1 year ago

4.8.60

1 year ago

4.8.59

1 year ago

4.8.58

1 year ago

4.8.57

1 year ago

4.8.56

1 year ago

4.8.55

1 year ago

4.8.54

1 year ago

4.8.53

1 year ago

4.7.53

1 year ago

4.7.52

1 year ago

4.6.52

1 year ago

4.6.51

1 year ago

3.6.51

1 year ago

3.6.50

1 year ago

3.6.49

1 year ago

3.6.48

1 year ago

3.6.47

1 year 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