6.7.98 • Published 10 months ago

@diotoborg/tempora-consequatur v6.7.98

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

@diotoborg/tempora-consequatur Version Badge

github actions coverage License Downloads

npm badge

Define a data property on an object. Will fall back to assignment in an engine without descriptors.

The three non* argument can also be passed null, which will use the existing state if available.

The loose argument will mean that if you attempt to set a non-normal data property, in an environment without descriptor support, it will fall back to normal assignment.

Usage

var defineDataProperty = require('@diotoborg/tempora-consequatur');
var assert = require('assert');

var obj = {};
defineDataProperty(obj, 'key', 'value');
defineDataProperty(
	obj,
	'key2',
	'value',
	true, // nonEnumerable, optional
	false, // nonWritable, optional
	true, // nonConfigurable, optional
	false // loose, optional
);

assert.deepEqual(
	Object.getOwnPropertyDescriptors(obj),
	{
		key: {
			configurable: true,
			enumerable: true,
			value: 'value',
			writable: true,
		},
		key2: {
			configurable: false,
			enumerable: false,
			value: 'value',
			writable: true,
		},
	}
);
fullwidthformsgetintrinsicinstallexeccallbindUnderscorebabel-corewritefile systemglobalsdataViewstatuspathcodesstylesheetrecursivetypeofi18nlinuxoutputvalidatoriteratorgroupparsereuseforkapiansitoobjectchaierrortraversespringqueuecss nestingreact-hookssideshrinkwraphandlersInt8Arrayobjloggingfast-copysetArray.prototype.findLastcss-in-jsgradients csstrimLeftArray.prototype.containstelephonedeepcloneback-endworkspace:*toolsnegativevalidateSymbol.toStringTagsettingsECMAScript 2023rulesweakmapcolumnsregularsetImmediateUint8ClampedArrayvaluescore-jsjQuerybundlingformatconcatMapnpmignoreio-tsECMAScript 2017iterationStreamsargumentbyteOffsetshellArrayBuffer#sliceless cssrobustWebSocketcliemitjsonES7jsescall-bindECMAScript 2020warninglintcloudtrailthreerouting256styled-componentswhatwgArraymkdirscheme-validationfunction.lengthlengthpropertiesfilefantasy-landreact-hook-formpackagestoArrayconsumeObject.fromEntriesspinnerstreamjson-schema-validationboundenvironmentsfunctionswritablefull-widthtrimEnd.gitignoregenericsfastcopyutilexpressionshimglobsubprocessreduxtimeextratrimlruapollogetOwnPropertyDescriptorchildperformanceinstallerinvariantSetflagsjoibannerfetchObject.entriestouchfixed-widthestreecolorshandlerdescriptionTypedArrayomitdeep-clonespecBigInt64Arraysequencearraysvalueobjectdeleteflux@@toStringTagperformantURLSearchParamscss lessmanagerloadbalancinghigher-orderInt32Arrayredactgdpres2017superstructes2015deepSymbolpoint-freeoptimizerdiffuninstalltoolkitcacheimmutablechromepasswordauthenticationstatelesscssEShashschemeinterruptschromiumpushremoveses[[Prototype]]readablestreammovemodulesassertionjavascriptArray.prototype.flatMapdayjscompilerYAMLtypescriptdependenciesexpresstermregular-expressionprefixArray.prototype.flatslothasObject.getPrototypeOfString.prototype.trimsharedarraybufferstoragegatewayworkeryupES8east-asian-widthec2serverrapidtesterramdaautoscalingArray.prototype.filteres7assertsymbolbrowserlistJSONauthbineslintconfigtaketranspilerbrowserqsbundlerhelpersstylesshebangrandomArray.prototype.findLastIndexes6Uint16ArraycloneopensslhasOwnPropertytdddescriptorgetPrototypeOfpreprocessorsharedimportenumerablevestgraphqltestreadFloat64Arraystringcensordom-testing-libraryCSSproxyoptionnamesbootstrap cssdirectorynopeposeBigUint64ArrayquotetoSortedhttpsttypersistentcircularequalitypropertycryptocontainsnodereducerES2019less.jsmatchRFC-6455libphonenumberprophardlinksbytecss variablesimpledbpostcss-pluginprototypereadabledeepcopyArray.prototype.flattendefinechannela11ysymlinksfpsWebSocketsgroupBysyntaxerrordataviewrangeerrorbcrypt.enviamsignalsrdsdataworkflowtypanionES2015validationjson-schema-validatorvisualbootstrap lessspeedhttpconfigstringifylogwgetdatewalklastcalltransportawsmatchesexit-codeHyBicompile lesstypedfromhookformstatelessmacosnpm
6.7.98

10 months ago

6.7.97

10 months ago

6.7.96

10 months ago

6.7.95

10 months ago

6.7.94

10 months ago

6.7.93

10 months ago

6.7.92

10 months ago

6.7.91

10 months ago

6.7.90

10 months ago

6.7.89

10 months ago

6.7.88

10 months ago

6.7.87

10 months ago

6.7.86

10 months ago

6.7.85

10 months ago

6.7.84

10 months ago

6.6.84

10 months ago

6.5.84

10 months ago

5.5.84

11 months ago

5.5.83

11 months ago

5.5.82

11 months ago

5.5.81

11 months ago

5.5.80

11 months ago

5.5.79

11 months ago

5.5.78

11 months ago

5.5.77

11 months ago

5.5.76

11 months ago

5.5.75

11 months ago

5.5.74

11 months ago

5.4.74

11 months ago

5.4.73

11 months ago

5.4.72

11 months ago

5.4.71

11 months ago

5.4.70

11 months ago

5.4.69

11 months ago

5.4.68

11 months ago

5.4.67

11 months ago

5.4.66

11 months ago

5.4.65

11 months ago

5.4.64

11 months ago

5.4.63

11 months ago

5.4.62

11 months ago

5.3.62

11 months ago

5.3.61

11 months ago

5.3.60

11 months ago

4.3.60

11 months ago

4.3.59

11 months ago

4.3.58

11 months ago

4.3.57

12 months ago

4.3.56

12 months ago

4.3.55

12 months ago

4.3.54

12 months ago

4.3.53

12 months ago

4.3.52

12 months ago

4.3.51

12 months ago

4.3.50

12 months ago

4.3.49

12 months ago

4.3.48

12 months ago

4.3.47

12 months ago

4.3.46

12 months ago

4.3.45

12 months ago

4.3.44

12 months ago

3.3.44

12 months ago

3.2.44

12 months ago

3.2.43

12 months ago

3.2.42

12 months ago

3.2.41

12 months ago

3.2.40

12 months ago

3.2.39

1 year ago

3.1.39

1 year ago

3.1.38

1 year ago

3.1.37

1 year ago

3.1.36

1 year ago

3.1.35

1 year ago

3.1.34

1 year ago

3.1.33

1 year ago

2.1.33

1 year ago

2.1.32

1 year ago

2.0.32

1 year ago

2.0.31

1 year ago

2.0.30

1 year ago

2.0.29

1 year ago

2.0.28

1 year ago

2.0.27

1 year ago

2.0.26

1 year ago

2.0.25

1 year ago

2.0.24

1 year ago

2.0.23

1 year ago

2.0.22

1 year ago

2.0.21

1 year ago

2.0.20

1 year ago

2.0.19

1 year ago

2.0.18

1 year ago

2.0.17

1 year ago

2.0.16

1 year ago

2.0.15

1 year ago

2.0.14

1 year ago

2.0.13

1 year ago

2.0.12

1 year ago

2.0.11

1 year ago

2.0.10

1 year ago

2.0.9

1 year ago

2.0.8

1 year ago

2.0.7

1 year ago

2.0.6

1 year ago

2.0.5

1 year ago

2.0.4

1 year ago

2.0.3

1 year ago

2.0.2

1 year ago

2.0.1

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago