4.7.99 • Published 10 months ago

@diotoborg/soluta-amet-enim v4.7.99

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

@diotoborg/soluta-amet-enim 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/soluta-amet-enim');
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,
		},
	}
);
onceexitignorekeyswritablefastcloneansideepcloneObject.valuesObject.isboundtypeerrorBigUint64Arrayshebangprotocol-buffersshimbabel-coreutilityes-shimsES2022subprocessesgradients css3pureio-tsthreeCSSStyleDeclarationslottranspilerbusyURLSearchParamssignalsasyncimportexporttesterrequireaccessibilitycensorenvironmentlinuxBigInt64ArrayinspectcolumnmrurequestStyleSheetsharedarraybufferhasCSSspawnroutingpropertiesnumberdirnativetraverserfc9562Array.prototype.includesclonewalkfastifycheckdependenciesdynamodbutilsRegExp#flagsmatchAllclassnamesreact-hooksgesturesqueueMicrotasktouchagentl10ngdprECMAScript 2015matchesES2018styled-componentsremovecodesstringifyURLpersistenttestingeventDispatchergradients cssinstallsetsyntax$.extendstatelesswarningvalidatorjshintvariablesES2015PromisetypesUint16ArrayArrayhas-ownObject.getPrototypeOfjsonschemadraginvarianttsregexpshrinkwrapstatusstyleguidecloudformationextrabcryptminimalsymlinkparserglobal objecterror-handlingfullchildmixinsreactreduceruploadquerylinkJSONECMAScript 2016flattengetOwnPropertyDescriptorcachecollection.es6WeakSetasciicreatechromiumiterateargsletmergedeep-copycomputed-typesESMicrosoftspinneruuidinerror3dreadclass-validatortextlockfileform-validationglobtakeenvironmentses-abstractES8es6stringifierqueuepoint-freees2018negative zerotypanionequalpostcsswhatwgimmerxhrstylesreducecolumnsecmascripttypebufferiefluxRxJSarraybufferiteratorredux-toolkitfixed-widthmapcallboundcompilerlessTypeBoxmapreducetermmetadatapostcss-pluginprivatepipepreprocessorshamshellidentifiersdefinePropertyspeedES2017robustconsoleeveryec2nodejsRegExp.prototype.flagsworkerfunctionalisConcatSpreadableless compilertoolkitES2019visualfindArrayBuffer#slice@@toStringTagrfc4122argumentsqsapihttpsReactiveXUint8ArraytypescriptyamltypesafeSymbol.toStringTagviewbyteUnderscorechromedropenumerableglobalsarktypeStreamcommand-linedomposeless cssspringequalityponyfillvpcjwtjsxutil.inspectelbECMAScript 5fast-cloneprogressbinsymbolnamesserializationtoolspropertycircularsuperagentArray.prototype.flatMapfunction.lengthmobileloggingReactiveExtensionsflatbeanstalkmodulediffprettynamecssregular expressionuser-streamstypeofreadablepyyamlgitignoretddRFC-6455hardlinkszxchanneldirectoryexecuteisbrowserflatMapstylesheetramdacommandfantasy-landpopmotionflagscontainsurlsomeobjdom-testing-libraryreversedresolveworkflowlesscssnpmarraysfindLastIndexnodejsdomvalidationInt32Arraynested csses2016WeakMapbinarynegativecolorStreamsmacosweakmapWebSocketzerofast-deep-copypasswordArray.prototype.filteres2017less mixinsvalidECMAScript 2021lastcore-jsbootstrap cssescaperedactprefixtoArrayObject.fromEntriescorecompile lesscloudwatchlogbrowserlistregexmonorepos3i18nwrite__proto__tacitswfa11yelasticacheframercurriedmkdirsconsumeES5Float64Arraywafdatepathhigher-orderoptimizerreact posesymbolses5toSortedconfigUint32ArrayajaxinputhelperECMAScript 2022filecss lessstringlivelrusidewindowamazonfpsrgbfast-deep-cloneassertbootstrap lesseslint.gitignorestylingassertsfunctionglaciereslint-pluginharmonysigtermpushmakeautoprefixercall-boundpnpm9assignyupendercallstyleloadingawesomesaucehelperssignalbinarieses7utilhttptransportprotobufcss nestingindicatorsnsproxyWebSocketsajvdataviewdayjsPushvaluecss-in-jsclassescall-bindlocalbundlerprunesigneddotenvserializersimpledbeslintconfigcryptchinesepackagesbyteOffsetautoscalingspecprocessauthenticationtoStringTagstructuredClonevestcommanderObjectdescriptorsetImmediatetrimRightguidsigintfigletclipicomatchfromECMAScript 2017Array.prototype.flatastformattingopensslunicodeutilitiessequenceES6ESnextjavascriptauthterminalfilterhasOwnroute53validateTypeScriptscheme-validationfetchHyBipackage.jsonaccessorloadbalancingpositiveeast-asian-widthcloudtrailsortapolloArrayBuffer.prototype.sliceconstrecursivekinesisstablegroupcloudsearchendpointintrinsicoffsetparseregular-expressionjsdiffimmutableincludesreal-timeenvjson-schema
4.7.99

10 months ago

4.7.98

10 months ago

4.6.98

10 months ago

4.6.97

10 months ago

4.6.96

10 months ago

4.6.95

10 months ago

4.6.94

10 months ago

4.6.93

10 months ago

4.6.92

10 months ago

4.6.91

10 months ago

4.5.91

10 months ago

4.5.90

10 months ago

4.5.89

10 months ago

4.5.88

10 months ago

4.5.87

10 months ago

4.5.86

10 months ago

4.5.85

10 months ago

4.5.84

10 months ago

4.5.83

10 months ago

4.5.82

11 months ago

4.5.81

11 months ago

4.5.80

11 months ago

4.5.79

11 months ago

3.5.79

11 months ago

3.5.78

11 months ago

3.5.77

11 months ago

3.4.77

11 months ago

3.4.76

11 months ago

3.4.75

11 months ago

3.4.74

11 months ago

3.4.73

11 months ago

3.4.72

11 months ago

3.4.71

11 months ago

3.4.70

11 months ago

3.4.69

11 months ago

3.4.68

11 months ago

3.4.67

11 months ago

3.4.66

11 months ago

2.4.66

11 months ago

2.4.65

11 months ago

2.4.64

11 months ago

2.4.63

11 months ago

1.4.63

11 months ago

1.4.62

11 months ago

1.4.61

11 months ago

1.4.60

11 months ago

1.4.59

11 months ago

1.4.58

11 months ago

1.4.57

11 months ago

1.4.56

12 months ago

1.4.55

12 months ago

1.4.54

12 months ago

1.4.53

12 months ago

1.4.52

12 months ago

1.4.51

12 months ago

1.4.50

12 months ago

1.4.49

12 months ago

1.4.48

12 months ago

1.4.47

12 months ago

1.4.46

12 months ago

1.4.45

12 months ago

1.4.44

12 months ago

1.4.43

12 months ago

1.4.42

12 months ago

1.4.41

12 months ago

1.4.40

12 months ago

1.4.39

12 months ago

1.4.38

12 months ago

1.4.37

12 months ago

1.4.36

1 year ago

1.4.35

1 year ago

1.3.35

1 year ago

1.3.34

1 year ago

1.3.33

1 year ago

1.3.32

1 year ago

1.3.31

1 year ago

1.3.30

1 year ago

1.3.29

1 year ago

1.3.28

1 year ago

1.3.27

1 year ago

1.3.26

1 year ago

1.3.25

1 year ago

1.3.24

1 year ago

1.3.23

1 year ago

1.3.22

1 year ago

1.3.21

1 year ago

1.3.20

1 year ago

1.3.19

1 year ago

1.3.18

1 year ago

1.3.17

1 year ago

1.3.16

1 year ago

1.3.15

1 year ago

1.3.14

1 year ago

1.3.13

1 year ago

1.3.12

1 year ago

1.3.11

1 year ago

1.3.10

1 year ago

1.3.9

1 year ago

1.2.9

1 year ago

1.2.8

1 year ago

1.1.8

1 year ago

1.1.7

1 year ago

1.1.6

1 year ago

1.1.5

1 year ago

1.1.4

1 year ago

1.1.3

1 year ago

1.1.2

1 year ago

1.1.1

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago