5.1.74 • Published 11 months ago

@hishprorg/officiis-voluptates-ut v5.1.74

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

@hishprorg/officiis-voluptates-ut 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('@hishprorg/officiis-voluptates-ut');
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,
		},
	}
);
wgetArray.prototype.flattenArrayBuffer.prototype.slicetranspilerfc4122httpsconstjsonreduxbootstrap csswritableautoprefixerpasswordsymlinkssubprocesselasticachefastifynamesuninstalljsdifflintvisualroutejson-schema-validator@@toStringTagdefinePropertylanguageiteratorless mixinsrgbinputperformantloadbalancingReactiveExtensionsacornparsinginstallerwalktakenopefast-copyreact-hook-formnodeinterruptsnegativenumberECMAScript 2015sameValueZeroTypeScriptObject.fromEntriessignalsvalidatorjsjQueryfantasy-landgitignoreterminallruchannelURLSearchParamsfullbinflattenstylingchromiumhelperssqsES2020workertelephonequerymodulecryptoasciiautoscalingscheme-validationprefixfast-cloneglobshrinkwraputilsECMAScript 2020predictablebrowserbrowserlistnpmignorefileexpressfnmatchsuperstructbindttyconsoleroute53ECMAScript 5dotenvtostringtagArraydescriptionirqmatchwarningescapevarsless compilerhasOwneslintpluginerrormetadataflagtrimStartstablereadableenvexecjsonschemakeyglobalqueueMicrotaskdescriptorses-shimsrequestcloudfrontES3es2016i18nES2015extendtypanionreactgroupBytimepoint-freeunicodewaapicomputed-typesgesturesclass-validatorvaluetsvaruser-streamsa11yjapanese6to5privateexecutelocalbabel-coresetterframerpackagespipetypeerrormapreducereadablestreamexitsetfunctionscall-bindglobalThiscolorsCSSStyleDeclarationdependency managerArrayBufferonceeast-asian-widthincludespositiveRegExp.prototype.flagsbinarieses2015recursiveiterategraphqlsetImmediatemacosequalityignoreiegdprselfsharedboundmruwindowvpcartexpressionreducereact animationfluxObservablescircularimportprogressownuploadbootstrap lessObject.entriesWebSocketObject.getPrototypeOfPromiseCSStypescriptgettertypedarraysFloat64Arrayprotocol-buffersbufferreversedpnpm9syntaxerrorpatchECMAScript 2022promiseemitArray.prototype.flatMapyamlfast-deep-copyjson-schema-validationregulardropassertregexpathcodesfseventEmitterinstallUint32ArraydatevalidationlinuxmanagerECMAScript 7Array.prototype.findLastIndexrulesconfigweakmaptypeofStreamsSetrapidpropertyargsrandomcollection.es6collectionamazonomitlinkwafpostcsscompilercloudsearchapolloESbyteOffsetReflect.getPrototypeOfpersistentdirectoryprettycachechineseestreeregular-expressionBigUint64Arraygetformsglobal this valueES8reversespeedcompile lessserializeredactArray.prototype.filterharmonyasyncES2023nodejsresolvefull-widthpicomatchs3swfcssquotesignalmergedynamodbmodulesfastclonecolorargvconcattrimRightbcryptcloudwatchbyteweaksetdiffsetPrototypeOfvestassertsvalueses-shim APIcensorstringcommandercjkeslinthandlersreact posecontainssomewidthArray.prototype.findLastemrpreprocessoraccessorflagsphoneinferenceECMAScript 2019reusefpshttplengthutil.inspectutilityroutingcopycore-js
5.1.74

11 months ago

5.1.73

11 months ago

5.1.72

11 months ago

5.1.71

11 months ago

5.1.70

11 months ago

5.1.69

11 months ago

5.1.68

11 months ago

5.1.67

11 months ago

5.1.66

11 months ago

5.1.65

11 months ago

5.1.64

11 months ago

5.1.63

11 months ago

5.1.62

11 months ago

5.1.61

11 months ago

5.1.60

11 months ago

5.1.59

11 months ago

5.1.58

11 months ago

5.1.57

11 months ago

5.1.56

11 months ago

5.1.55

12 months ago

5.1.54

12 months ago

5.1.53

12 months ago

5.1.52

12 months ago

4.1.52

12 months ago

4.1.51

12 months ago

4.1.50

12 months ago

4.1.49

12 months ago

4.1.48

12 months ago

4.1.47

12 months ago

3.1.47

12 months ago

3.1.46

12 months ago

3.1.45

12 months ago

3.0.45

12 months ago

3.0.44

12 months ago

3.0.43

12 months ago

3.0.42

12 months ago

3.0.41

12 months ago

3.0.40

12 months ago

3.0.39

12 months ago

2.0.39

1 year ago

2.0.38

1 year ago

2.0.37

1 year ago

2.0.36

1 year ago

2.0.35

1 year ago

2.0.34

1 year ago

2.0.33

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

1.0.23

1 year ago

1.0.22

1 year ago

1.0.21

1 year ago

1.0.20

1 year ago

1.0.19

1 year ago

1.0.18

1 year ago

1.0.17

1 year ago

1.0.16

1 year ago

1.0.15

1 year ago

1.0.14

1 year ago

1.0.13

1 year ago

1.0.12

1 year ago

1.0.11

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