5.18.141 • Published 11 months ago

@firanorg/scaling-goggles v5.18.141

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

ArrayBuffer.prototype.slice Version Badge

github actions coverage License Downloads

npm badge

An ES spec-compliant ArrayBuffer.prototype.slice shim. Invoke its "shim" method to shim ArrayBuffer.prototype.slice if it is unavailable.

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

Most common usage:

var assert = require('assert');
var slice = require('@firanorg/scaling-goggles');

var ab = new ArrayBuffer(1);
var arr = new Uint8Array(ab);
arr[0] = 123;

var ab2 = slice(ab);

var arr2 = new Uint8Array(ab2);
arr2[0] = 234;

assert.deepEqual(arr, new Uint8Array([123]));
assert.deepEqual(arr2, new Uint8Array([234]));

if (!ArrayBuffer.prototype.transfer) {
	slice.shim();
}

var ab2 = ab.slice();

var arr2 = new Uint8Array(ab2);
arr2[0] = 234;

assert.deepEqual(arr, new Uint8Array([123]));
assert.deepEqual(arr2, new Uint8Array([234]));

Tests

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

WeakSetextraemojiexecletauthenticationpreprocessornested csshandlersECMAScript 3typedarraysES2016nodejsharmonystyleguidepropomitpnpm9apisymlinkerrorasyncmkdirstoragegatewayaccessorpersistentjson-schema-validatoronceargumentcore-jsjsdiffpreserve-symlinksmkdirsguidstreamsObject.definePropertyeslintESnextObjectsqsfindLasti18nstylediffauthspinnerisConcatSpreadableuser-streamsclass-validatorcallbindthroattostringtagArrayBuffer#slicecacheobjectclassnamesdateawaitECMAScript 2016hasOwnthrottleweakmapbabelfastcopyECMAScript 2018uuidArrayBufferstatusjson-schemawhatwgpoint-freequerystringphonetextwebutilityclonetrimRightsymboltypedarrayes2017SymbolInt16Arrayargsrandomcss variableArray.prototype.includesequaljsonArray.prototype.flatMapmocharequiremergetakeiteratorendpointdomhas-ownstringifycopytouchfigletserializemimeES7fastclonereact posedeep-cloneenvwatchercloudfrontinstallES2018getPrototypeOfvalueinternalreadglacierdeepclonedrop-0sanitizeInt8ArrayRFC-6455datastructurees-shim APIbufferkeybeanstalksomeIteratornamesl10npushes2016extensionquerytrimarraylibphonenumberinspectconfigswfinferencexssmodulesReflect.getPrototypeOflinkshebangquoteshamcloudwatchefficientqssignalseta11ytoSortedposejapaneseAsyncIteratorawesomesaucecallsharedArray.prototype.findLastdebugboundpasswordreact-testing-libraryhookformcryptdescriptorscall-bindvalidvarcloudsearchprunemacosvalidatesymlinksparentjsdomoffsetwritableisassertionES6loggerwaitqueueMicrotaskentriesrobust.envECMAScript 7lookgetcoercibleES3toStringTagstyled-componentsvisualTypeBoxsuperstructbrowserlistdefinecheckgroupBymappackagesbddPromisees2018Streamvalidationgradients css3consoleparentsutilObject.fromEntriestestingobjgenericspopmotioncolumnlook-upslotcompile lessObservablegdprvariablesformchromiumsortedtraversebrowserslist6to5s3compilercodesnegative zeroSetfsimmutableoperating-systemcomputed-typeskeyssameValueZeroCSSsymbolsprocesssearchObject.assignassertArray.prototype.containsstructuredCloneformattingpostcss-pluginnumberviewenvironmenttrimLeftutilsiterationArrayStyleSheetdeletepackage managerjsonpathspinnersgradients cssroute53rgbnegativeWeakMapregular expressionmonorepoCSSStyleDeclarationtddeventDispatcherlistenersString.prototype.matchAllhooksES2020streaminstallergesturesconcatamazonprivateec2WebSocketperformanceBigInt64Arraychinesereadable
@firanorg/inventore-eligendi-quam@firanorg/inventore-hic-cumque@firanorg/illo-vel-est@firanorg/improved-succotash@firanorg/impedit-mollitia-sint@firanorg/id-et-quaerat@firanorg/bookish-broccoli@firanorg/amet-accusantium-dolor@firanorg/amet-consectetur-veniam@firanorg/cupiditate-veniam-ut@firanorg/autem-eveniet-earum@firanorg/corporis-iste-ullam@firanorg/commodi-recusandae-provident@firanorg/architecto-velit-odit@firanorg/exercitationem-debitis-laborum@firanorg/et-non-error@firanorg/sit-ex-nostrum@firanorg/necessitatibus-similique-nam@firanorg/laudantium-corrupti-itaque@firanorg/necessitatibus-sunt-quia@firanorg/sit-odit-numquam@firanorg/ut-officiis-et@firanorg/temporibus-quibusdam-non@firanorg/totam-excepturi-voluptas@firanorg/veniam-temporibus-accusantium@firanorg/soluta-perferendis-tenetur@firanorg/doloribus-dignissimos-nulla@firanorg/doloribus-laborum-qui@firanorg/dolore-cumque-distinctio@firanorg/delectus-eligendi-quae@firanorg/effective-octo@firanorg/earum-impedit-cupiditate@firanorg/eligendi-aut-ducimus@firanorg/error-laboriosam-molestias@firanorg/doloribus-quasi-dolores@firanorg/dolorem-architecto-eum@firanorg/fuga-unde-tempore@firanorg/fuga-architecto-beatae@firanorg/explicabo-incidunt-facere@firanorg/hic-doloremque-est@firanorg/fuga-quis-optio@firanorg/fugit-aliquam-nobis@firanorg/hic-tempora-dignissimos@firanorg/harum-ad-explicabo@firanorg/iure-voluptates-nobis@firanorg/itaque-consectetur-velit@firanorg/sapiente-facere-aut@firanorg/ratione-iusto-numquam@firanorg/saepe-ut-natus@firanorg/scaling-goggles@firanorg/sapiente-expedita-quidem@firanorg/repellat-expedita-autem@firanorg/alias-repellat-vero@firanorg/pariatur-officia-placeat@firanorg/odit-corrupti-aperiam@firanorg/optio-velit-culpa@firanorg/numquam-inventore-ad@firanorg/non-praesentium-sint@firanorg/nulla-cupiditate-ad@firanorg/neque-est-dolorum@firanorg/voluptatem-culpa-iusto@firanorg/voluptate-perspiciatis-placeat@firanorg/vero-laborum-tenetur@firanorg/accusamus-magnam-numquam@firanorg/a-neque-sunt@firanorg/ab-magni-explicabo@firanorg/ipsum-at-pariatur@firanorg/iste-dolor-omnis@firanorg/quasi-commodi-fugit@firanorg/quia-dolores-occaecati@firanorg/quia-cumque-perspiciatis@firanorg/perferendis-iusto-vitae@firanorg/placeat-illo-dolorem@firanorg/voluptatibus-soluta-dignissimos@firanorg/voluptatem-odit-et@firanorg/mollitia-molestias-accusamus@firanorg/maxime-deleniti-soluta@firanorg/minima-officiis-earum
5.18.141

11 months ago

5.18.140

11 months ago

5.17.128

12 months ago

5.17.129

11 months ago

5.17.130

11 months ago

5.17.131

11 months ago

5.17.132

11 months ago

5.17.133

11 months ago

5.17.134

11 months ago

5.17.135

11 months ago

5.16.127

12 months ago

5.16.128

12 months ago

5.16.125

12 months ago

5.16.126

12 months ago

5.16.123

12 months ago

5.16.124

12 months ago

5.18.138

11 months ago

5.18.139

11 months ago

5.18.136

11 months ago

5.18.137

11 months ago

5.18.135

11 months ago

5.16.121

12 months ago

5.16.122

12 months ago

5.16.120

12 months ago

5.16.119

12 months ago

5.16.118

12 months ago

5.15.114

12 months ago

5.14.114

12 months ago

5.14.113

12 months ago

5.16.116

12 months ago

5.16.117

12 months ago

5.16.114

12 months ago

5.16.115

12 months ago

4.14.113

12 months ago

4.14.112

1 year ago

4.14.111

1 year ago

4.13.110

1 year ago

4.12.110

1 year ago

4.14.110

1 year ago

4.12.109

1 year ago

4.12.107

1 year ago

4.12.108

1 year ago

4.12.106

1 year ago

4.12.105

1 year ago

4.12.104

1 year ago

4.12.103

1 year ago

4.12.102

1 year ago

4.12.101

1 year ago

4.12.100

1 year ago

4.12.99

1 year ago

4.12.98

1 year ago

4.10.89

1 year ago

3.6.65

1 year ago

3.6.64

1 year ago

3.6.63

1 year ago

3.4.58

1 year ago

3.4.59

1 year ago

3.4.53

1 year ago

3.4.54

1 year ago

3.4.55

1 year ago

3.4.56

1 year ago

3.4.57

1 year ago

3.8.69

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

1 year ago

3.3.51

1 year ago

3.3.52

1 year ago

3.3.53

1 year ago

4.8.70

1 year ago

4.8.72

1 year ago

4.8.71

1 year ago

4.8.74

1 year ago

4.8.73

1 year ago

3.8.70

1 year ago

4.11.98

1 year ago

3.3.35

1 year ago

4.11.97

1 year ago

3.3.36

1 year ago

3.3.37

1 year ago

3.3.38

1 year ago

3.3.39

1 year ago

3.3.30

1 year ago

4.9.75

1 year ago

3.3.31

1 year ago

4.9.74

1 year ago

3.3.32

1 year ago

4.9.77

1 year ago

3.3.33

1 year ago

4.9.76

1 year ago

3.3.34

1 year ago

4.9.79

1 year ago

4.9.78

1 year ago

3.3.46

1 year ago

3.3.47

1 year ago

3.3.48

1 year ago

3.3.49

1 year ago

3.5.63

1 year ago

3.3.40

1 year ago

3.3.41

1 year ago

3.3.42

1 year ago

3.3.43

1 year ago

3.3.44

1 year ago

3.3.45

1 year ago

3.4.61

1 year ago

3.4.62

1 year ago

3.4.63

1 year ago

3.4.60

1 year ago

3.3.24

1 year ago

3.3.25

1 year ago

3.3.26

1 year ago

3.3.27

1 year ago

4.10.94

1 year ago

3.3.28

1 year ago

4.10.95

1 year ago

3.3.29

1 year ago

4.10.96

1 year ago

4.9.80

1 year ago

4.10.97

1 year ago

3.7.65

1 year ago

4.9.82

1 year ago

4.9.81

1 year ago

4.9.84

1 year ago

4.9.83

1 year ago

4.9.86

1 year ago

4.9.85

1 year ago

4.9.88

1 year ago

4.9.87

1 year ago

4.9.89

1 year ago

4.10.90

1 year ago

4.10.91

1 year ago

4.10.92

1 year ago

4.10.93

1 year ago

2.3.24

1 year ago

2.3.23

1 year ago

2.3.22

1 year ago

2.3.21

1 year ago

2.2.21

1 year ago

2.2.20

1 year ago

2.2.19

1 year ago

2.2.18

1 year ago

2.2.17

1 year ago

2.2.16

1 year ago

2.1.16

1 year ago

2.1.15

1 year ago

2.1.14

1 year ago

2.1.13

1 year ago

2.1.12

1 year ago

2.1.11

1 year ago

2.1.10

1 year ago

2.1.9

1 year ago

2.1.8

1 year ago

2.1.7

1 year ago

2.1.6

1 year ago

2.1.5

1 year ago

1.1.5

1 year ago

1.1.4

1 year ago

1.1.3

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago