🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@openlayers/doctrine

Package Overview
Dependencies
Maintainers
2
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@openlayers/doctrine - npm Package Compare versions

Comparing version
2.1.0
to
2.2.0
+10
-1
lib/typed.js

@@ -341,6 +341,13 @@ /*

// check for typeof type
var typeofStart = 'typeof ';
if (source.slice(index - 1, index - 1 + typeofStart.length) === typeofStart) {
index += typeofStart.length - 1;
value += typeofStart.slice(1) + advance();
}
// check for import("./path/to/module").Foo type
var importStart = 'import(';
if (source.slice(index - 1, index - 1 + importStart.length) === importStart) {
value = importStart;
value += importStart.slice(1);
index += importStart.length - 1;

@@ -512,2 +519,4 @@ // scan until closing )

// import("./some/module").Type
// typeof namespace.module.MyClass
// typeof import("./some/module").Type
//

@@ -514,0 +523,0 @@ // this reduced 1 token TK_NAME

+1
-1

@@ -6,3 +6,3 @@ {

"main": "lib/doctrine.js",
"version": "2.1.0",
"version": "2.2.0",
"engines": {

@@ -9,0 +9,0 @@ "node": ">=0.10.0"