@data-structs/linked-list
Advanced tools
Comparing version 1.0.10 to 1.0.11
@@ -174,2 +174,6 @@ 'use strict' | ||
pop() { | ||
if (size.current === 0) { | ||
return | ||
} | ||
const result = tail.current.value, | ||
@@ -176,0 +180,0 @@ prev = tail.current |
@@ -143,2 +143,6 @@ export const insertNode = (left = null, value, right = null) => { | ||
pop() { | ||
if (size.current === 0) { | ||
return | ||
} | ||
const result = tail.current.value, | ||
@@ -145,0 +149,0 @@ prev = tail.current |
{ | ||
"name": "@data-structs/linked-list", | ||
"version": "1.0.10", | ||
"version": "1.0.11", | ||
"main": "dist/cjs/index.js", | ||
@@ -5,0 +5,0 @@ "module": "dist/es/index.js", |
@@ -159,2 +159,6 @@ export const insertNode = (left = null, value, right = null) => { | ||
pop () { | ||
if (size.current === 0) { | ||
return | ||
} | ||
const result = tail.current.value, prev = tail.current | ||
@@ -161,0 +165,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
19492
586