Socket
Socket
Sign inDemoInstall

is-weakref

Package Overview
Dependencies
12
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.0 to 1.0.1

.eslintignore

12

CHANGELOG.md

@@ -8,2 +8,14 @@ # Changelog

## [v1.0.1](https://github.com/inspect-js/is-weakref/compare/v1.0.0...v1.0.1) - 2020-12-04
### Commits
- [Tests] migrate tests to Github Actions [`05b4faa`](https://github.com/inspect-js/is-weakref/commit/05b4faa167c67f42c792e35c07adcb6b87e7dea0)
- [Tests] run `nyc` on all tests [`8df2e4b`](https://github.com/inspect-js/is-weakref/commit/8df2e4bd66bb6b7d55f389f28e6bb167fe1deb5a)
- [actions] add "Allow Edits" workflow [`4a716b8`](https://github.com/inspect-js/is-weakref/commit/4a716b8fcc025fe889a0f09ccaee7a9f748b1c66)
- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `auto-changelog`, `object-inspect` [`be23cf3`](https://github.com/inspect-js/is-weakref/commit/be23cf305f46db8b1c8a26d1c74b096fdba00056)
- [Refactor] use `call-bind` instead of `es-abstract` [`a933a96`](https://github.com/inspect-js/is-weakref/commit/a933a9643ddf7cddfd9f9f3cf44d675cc4c86ce5)
- [actions] switch Automatic Rebase workflow to `pull_request_target` event [`4473ed2`](https://github.com/inspect-js/is-weakref/commit/4473ed2e73fed47cd2fa42b8d9cac17e941d2c08)
- [readme] remove travis badge [`bd3bfcd`](https://github.com/inspect-js/is-weakref/commit/bd3bfcd2c187099d2215232a7621fb960e1e2807)
## v1.0.0 - 2020-08-01

@@ -10,0 +22,0 @@

4

index.js
'use strict';
var callBind = require('es-abstract/helpers/callBind');
var callBound = require('call-bind/callBound');
var $deref = typeof WeakRef === 'undefined' ? null : callBind(WeakRef.prototype.deref);
var $deref = callBound('WeakRef.prototype.deref', true);

@@ -7,0 +7,0 @@ module.exports = typeof WeakRef === 'undefined'

{
"name": "is-weakref",
"version": "1.0.0",
"version": "1.0.1",
"description": "Is this value a JS WeakRef? This module works cross-realm/iframe, and despite ES6 @@toStringTag.",

@@ -19,3 +19,3 @@ "main": "index.js",

"pretest": "npm run lint",
"tests-only": "tape test",
"tests-only": "nyc tape 'test/**/*.js'",
"test": "npm run tests-only",

@@ -45,12 +45,13 @@ "posttest": "aud --production"

"devDependencies": {
"@ljharb/eslint-config": "^17.1.0",
"aud": "^1.1.2",
"auto-changelog": "^2.2.0",
"eslint": "^7.6.0",
"@ljharb/eslint-config": "^17.3.0",
"aud": "^1.1.3",
"auto-changelog": "^2.2.1",
"eslint": "^7.14.0",
"for-each": "^0.3.3",
"object-inspect": "^1.8.0",
"nyc": "^10.3.2",
"object-inspect": "^1.9.0",
"tape": "^5.0.1"
},
"dependencies": {
"es-abstract": "^1.17.6"
"call-bind": "^1.0.0"
},

@@ -57,0 +58,0 @@ "auto-changelog": {

# is-weakref <sup>[![Version Badge][2]][1]</sup>
[![Build Status][3]][4]
[![dependency status][5]][6]

@@ -40,4 +39,2 @@ [![dev dependency status][7]][8]

[2]: http://versionbadg.es/inspect-js/is-weakref.svg
[3]: https://travis-ci.org/inspect-js/is-weakref.svg
[4]: https://travis-ci.org/inspect-js/is-weakref
[5]: https://david-dm.org/inspect-js/is-weakref.svg

@@ -44,0 +41,0 @@ [6]: https://david-dm.org/inspect-js/is-weakref

Sorry, the diff of this file is not supported yet

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