4.11.111 • Published 11 months ago

@erboladaiorg/aut-ad-officia v4.11.111

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

@erboladaiorg/aut-ad-officia Version Badge

dependency status dev dependency status License Downloads

npm badge

An ESnext spec-compliant Array.prototype.toSpliced shim/polyfill/replacement that works as far down as ES3.

This package implements the es-shim API interface. It works in an ES3-supported environment and complies with the proposed spec.

Because Array.prototype.toSpliced depends on a receiver (the this value), the main export takes the array to operate on as the first argument.

Getting started

npm install --save @erboladaiorg/aut-ad-officia

Usage/Examples

var toSpliced = require('@erboladaiorg/aut-ad-officia');
var assert = require('assert');

var input = [5, 4, 3, 2, 1, 0];

var output = toSpliced(input, 2, 2);

assert.notEqual(output, input);
assert.deepEqual(output, [5, 4, 1, 0]);
assert.deepEqual(input, [5, 4, 3, 2, 1, 0]);
var toSpliced = require('@erboladaiorg/aut-ad-officia');
var assert = require('assert');
/* when Array#toSpliced is not present */
delete Array.prototype.toSpliced;
var shimmed = toSpliced.shim();

assert.equal(shimmed, toSpliced.getPolyfill());
assert.deepEqual(input.toSpliced(), toSpliced(input));
var toSpliced = require('@erboladaiorg/aut-ad-officia');
var assert = require('assert');
/* when Array#toSpliced is present */
var shimmed = toSpliced.shim();

assert.equal(shimmed, Array.prototype.toSpliced);
assert.deepEqual(input.toSpliced(), toSpliced(input));

Tests

Simply clone the repo, npm install, and run npm test

ECMAScript 2023enderrandomio-tstranspilerreadableWebSocketes2018glacierRegExp#flagscolumnECMAScript 2021mkdirptaskES2020privateinstallerassignmakeimportspeedbytelimitcjksafefastartdatastructureexecfilefigletbinariesexpressutilitiesfilterECMAScript 2019toArrayprotoECMAScript 2017elasticachecssnodejses-abstractmatchutiljavascriptansittyqueryJSONsomejQueryiteratorstyled-componentspackage.jsonfast-cloneeslintReactiveXforEachtoolsHyBilookvalidclass-validatorajvfast-deep-copylogger3dzxsetImmediatedateReactiveExtensionsoutputJSON-SchemaRegExp.prototype.flagsSymbolregularstreambyteLengthFloat32Arrayi18ndataViewES7terminalgraphql-clientcachehtmltextObject.isflagsescapestarterRFC-6455functionsvestObject.valuesInt8Arraymapreducetddmonorepotypestransformsyntaxes-shimssameValueZeroshimarraybufferextensionparentes2015Object.fromEntriesmake dirWeakMapform-validationreact-hook-formconfigurableECMAScript 3pipedebuggerprotobufReflect.getPrototypeOfnativefsviewdirdirectoryhas-owntrimpyyamlobjectdescriptorsrdscommandconcurrencyeast-asian-widthspinnersuperstructintrinsiclimitedesloadbalancingfunction.lengthwafmkdirzodCSSsymbolpluginjestsortlogregular-expressionfast-deep-clonewarningagentschemecorewhatwgcharacterfolderargscallboundwalkingSymbol.toStringTagreact-testing-libraryfullwidthpostcss-pluginnopeArray.prototype.filtergetPrototypeOfhelpersphonetc39argvbinarytermes7ponyfillStreamnamegesturesoptimizerfastifynegative zerodefinePropertyMapthrottlepathgitignoregdprtraversemulti-packageexecbundlingCSSStyleDeclarationunicodeObject.getPrototypeOfflatMaptoStringTaga11yconsumetypedinferenceTypeScriptrobustyamlenvfileObservableES5pnpm9movekoreanformreadablestreamfastcopycloudwatchES2018getOwnPropertyDescriptorECMAScript 2018sortedregexArray.prototype.findLastfpsmruposeisrangeerrorbreaktypescriptloadingextendwrapmomentatomreduceinstallObject.keysreworkrsswordbreaksyntaxerror@@toStringTagcomputed-typesURLSearchParamsduplexWebSocketsroute53guidredactargumentlengthformstypanion
@dramaorg/esse-praesentium-eligendi@dramaorg/quae-dolore-nostrum@erboladaiorg/ad-exercitationem-ducimus@erboladaiorg/adipisci-repellendus-corporis@erboladaiorg/asperiores-earum-quaerat@erboladaiorg/asperiores-fuga-sint@erboladaiorg/asperiores-nam-adipisci@erboladaiorg/autem-dolores-ipsam@erboladaiorg/cum-commodi-consequatur@erboladaiorg/cupiditate-consectetur-porro@erboladaiorg/cupiditate-pariatur-optio@erboladaiorg/distinctio-tempora-quis@erboladaiorg/error-atque-ea@erboladaiorg/esse-ipsa-numquam@erboladaiorg/ex-hic-molestias@erboladaiorg/explicabo-eius-adipisci@erboladaiorg/fugiat-nobis-repellendus@erboladaiorg/laboriosam-inventore-natus@erboladaiorg/molestiae-voluptatibus-perferendis@erboladaiorg/molestias-nulla-dolor@erboladaiorg/nisi-culpa-cum@erboladaiorg/officia-illum-aperiam@erboladaiorg/perspiciatis-magni-ut@erboladaiorg/quae-in-veniam@erboladaiorg/quaerat-mollitia-adipisci@erboladaiorg/quibusdam-itaque-tempora@erboladaiorg/quod-explicabo-neque@erboladaiorg/sint-deleniti-dolorem@erboladaiorg/sit-nesciunt-amet@erboladaiorg/tenetur-architecto-dolore@erboladaiorg/ut-dignissimos-laborum@erboladaiorg/velit-fugit-harum@juigorg/nisi-molestiae-ut@juigorg/sit-nam-neque@kollorg/dicta-itaque-nemo@kollorg/nihil-veniam-deserunt@swenkerorg/modi-dolorum-provident@swenkerorg/nulla-voluptates-voluptates@zitterorg/aspernatur-pariatur-occaecati@zitterorg/eum-veritatis-placeat@zitterorg/illum-perferendis-consecteturanalsorhost-simple-bscorcojs-qrcodecorcojs-qrcode-logodable-effectfiran-loggingsimple-assi-animationsimple-prompts-web3
2.3.28

1 year ago

2.3.27

1 year ago

2.3.29

1 year ago

2.5.47

1 year ago

2.3.24

1 year ago

2.5.48

1 year ago

2.3.23

1 year ago

2.5.49

1 year ago

2.3.26

1 year ago

2.3.25

1 year ago

2.3.20

1 year ago

2.5.44

1 year ago

2.5.45

1 year ago

2.3.22

1 year ago

2.5.46

1 year ago

2.3.21

1 year ago

3.9.100

12 months ago

4.10.107

11 months ago

2.3.38

1 year ago

2.3.35

1 year ago

2.3.34

1 year ago

2.3.37

1 year ago

2.3.36

1 year ago

2.3.31

1 year ago

2.3.30

1 year ago

2.3.33

1 year ago

2.3.32

1 year ago

1.2.16

1 year ago

1.2.17

1 year ago

1.2.15

1 year ago

4.11.110

11 months ago

3.8.69

1 year ago

4.11.111

11 months ago

3.8.67

1 year ago

3.8.68

1 year ago

3.8.65

1 year ago

3.8.66

1 year ago

3.6.49

1 year ago

4.11.109

11 months ago

3.8.63

1 year ago

1.1.12

1 year ago

3.8.64

1 year ago

1.1.11

1 year ago

4.11.107

11 months ago

3.8.61

1 year ago

4.11.108

11 months ago

3.8.62

1 year ago

3.8.60

1 year ago

1.1.15

1 year ago

1.1.14

1 year ago

1.1.13

1 year ago

3.6.56

1 year ago

3.6.55

1 year ago

3.6.54

1 year ago

3.6.53

1 year ago

3.6.52

1 year ago

2.6.49

1 year ago

3.6.51

1 year ago

3.6.50

1 year ago

3.8.72

1 year ago

3.8.73

1 year ago

3.8.70

1 year ago

3.8.71

1 year ago

3.9.99

12 months ago

3.9.90

12 months ago

2.4.39

1 year ago

2.4.38

1 year ago

3.9.97

12 months ago

3.9.98

12 months ago

3.9.95

12 months ago

3.9.96

12 months ago

3.9.93

12 months ago

1.3.17

1 year ago

3.9.94

12 months ago

1.3.18

1 year ago

3.9.91

12 months ago

3.9.92

12 months ago

1.3.19

1 year ago

3.8.59

1 year ago

3.10.107

11 months ago

3.10.104

12 months ago

3.10.103

12 months ago

3.10.106

11 months ago

3.10.105

11 months ago

2.4.43

1 year ago

2.4.42

1 year ago

2.4.44

1 year ago

2.4.41

1 year ago

2.4.40

1 year ago

3.7.59

1 year ago

3.7.57

1 year ago

3.7.58

1 year ago

3.9.79

1 year ago

3.7.56

1 year ago

3.9.77

1 year ago

3.9.78

1 year ago

3.10.100

12 months ago

3.10.102

12 months ago

3.10.101

12 months ago

3.9.75

1 year ago

3.9.76

1 year ago

3.9.73

1 year ago

3.9.74

1 year ago

3.9.88

12 months ago

3.9.89

12 months ago

2.3.19

1 year ago

3.9.86

12 months ago

3.9.87

12 months ago

3.9.84

1 year ago

3.9.85

1 year ago

3.9.82

1 year ago

3.9.83

1 year ago

3.9.80

1 year ago

3.9.81

1 year ago

1.1.10

1 year ago

1.1.9

1 year ago

1.1.8

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