Socket
Socket
Sign inDemoInstall

@diotoborg/et-asperiores

Package Overview
Dependencies
103
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @diotoborg/et-asperiores

ArrayBuffer.prototype.detached <sup>[![Version Badge][npm-version-svg]][package-url]</sup>


Version published
Weekly downloads
204
decreased by-40.52%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

ArrayBuffer.prototype.detached Version Badge

Build Status License Downloads

npm badge

browser support

An ES6 spec-compliant ArrayBuffer.prototype.detached shim. Invoke its "shim" method to shim ArrayBuffer.prototype.detached if it is unavailable. Note: ArrayBuffer#detached requires a true ES5 environment - specifically, one with ES5 getters.

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

Most common usage:

var detached = require('@diotoborg/et-asperiores');

assert(detached(new ArrayBuffer('a') === false);

if (!ArrayBuffer.prototype.detached) {
	detached.shim();
}

assert(new ArrayBuffer('a').detached, false);

Tests

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

Keywords

FAQs

Last updated on 12 Jun 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc