5.1.74 • Published 1 year ago

@hishprorg/officiis-voluptates-ut v5.1.74

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

1 year ago

5.1.73

1 year ago

5.1.72

1 year ago

5.1.71

1 year ago

5.1.70

1 year ago

5.1.69

1 year ago

5.1.68

1 year ago

5.1.67

1 year ago

5.1.66

1 year ago

5.1.65

1 year ago

5.1.64

1 year ago

5.1.63

1 year ago

5.1.62

1 year ago

5.1.61

1 year ago

5.1.60

1 year ago

5.1.59

1 year ago

5.1.58

1 year ago

5.1.57

1 year ago

5.1.56

1 year ago

5.1.55

1 year ago

5.1.54

1 year ago

5.1.53

1 year ago

5.1.52

1 year ago

4.1.52

1 year ago

4.1.51

1 year ago

4.1.50

1 year ago

4.1.49

1 year ago

4.1.48

1 year ago

4.1.47

1 year ago

3.1.47

1 year ago

3.1.46

1 year ago

3.1.45

1 year ago

3.0.45

1 year ago

3.0.44

1 year ago

3.0.43

1 year ago

3.0.42

1 year ago

3.0.41

1 year ago

3.0.40

1 year ago

3.0.39

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