New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

en-wordnet

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

en-wordnet - npm Package Compare versions

Comparing version 2.0.7 to 2.0.8

9

dist/index.d.ts

@@ -0,2 +1,9 @@

// Generated by dts-bundle-generator v9.3.1
declare const enWordnet: Map<any, any>;
export default enWordnet;
export {
enWordnet as default,
};
export {};

27

dist/index.js

@@ -1,26 +0,1 @@

"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
o["default"] = v;
});
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
__setModuleDefault(result, mod);
return result;
};
Object.defineProperty(exports, "__esModule", { value: true });
const path = __importStar(require("path"));
const enWordnet = new Map();
enWordnet.set('3.0', path.join(__dirname, '..', 'database', '3.0'));
enWordnet.set('3.1', path.join(__dirname, '..', 'database', '3.1'));
exports.default = enWordnet;
var{create:J,defineProperty:_,getOwnPropertyDescriptor:L,getOwnPropertyNames:R,getPrototypeOf:b}=Object,m=Object.prototype.hasOwnProperty,w=(M,K)=>()=>(K||M((K={exports:{}}).exports,K),K.exports),y=(M,K)=>{for(var I in K)_(M,I,{get:K[I],enumerable:!0})},Z=(M,K,I,V)=>{if(K&&typeof K=="object"||typeof K=="function")for(let T of R(K))!m.call(M,T)&&T!==I&&_(M,T,{get:()=>K[T],enumerable:!(V=L(K,T))||V.enumerable});return M},C=(M,K,I)=>(Z(M,K,"default"),I&&Z(I,K,"default")),z=(M,K,I)=>(I=M!=null?J(b(M)):{},Z(K||!M||!M.__esModule?_(I,"default",{value:M,enumerable:!0}):I,M)),A=w((M,K)=>{function I(h){if(typeof h!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(h))}function V(h,x){for(var O="",p=0,F=-1,j=0,G,B=0;B<=h.length;++B){if(B<h.length)G=h.charCodeAt(B);else{if(G===47)break;G=47}if(G===47){if(!(F===B-1||j===1))if(F!==B-1&&j===2){if(O.length<2||p!==2||O.charCodeAt(O.length-1)!==46||O.charCodeAt(O.length-2)!==46){if(O.length>2){var N=O.lastIndexOf("/");if(N!==O.length-1){N===-1?(O="",p=0):(O=O.slice(0,N),p=O.length-1-O.lastIndexOf("/")),F=B,j=0;continue}}else if(O.length===2||O.length===1){O="",p=0,F=B,j=0;continue}}x&&(O.length>0?O+="/..":O="..",p=2)}else O.length>0?O+="/"+h.slice(F+1,B):O=h.slice(F+1,B),p=B-F-1;F=B,j=0}else G===46&&j!==-1?++j:j=-1}return O}function T(h,x){var O=x.dir||x.root,p=x.base||(x.name||"")+(x.ext||"");return O?O===x.root?O+p:O+h+p:p}var U={resolve:function(){for(var h="",x=!1,O,p=arguments.length-1;p>=-1&&!x;p--){var F;p>=0?F=arguments[p]:(O===void 0&&(O=process.cwd()),F=O),I(F),F.length!==0&&(h=F+"/"+h,x=F.charCodeAt(0)===47)}return h=V(h,!x),x?h.length>0?"/"+h:"/":h.length>0?h:"."},normalize:function(h){if(I(h),h.length===0)return".";var x=h.charCodeAt(0)===47,O=h.charCodeAt(h.length-1)===47;return h=V(h,!x),h.length===0&&!x&&(h="."),h.length>0&&O&&(h+="/"),x?"/"+h:h},isAbsolute:function(h){return I(h),h.length>0&&h.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var h,x=0;x<arguments.length;++x){var O=arguments[x];I(O),O.length>0&&(h===void 0?h=O:h+="/"+O)}return h===void 0?".":U.normalize(h)},relative:function(h,x){if(I(h),I(x),h===x||(h=U.resolve(h),x=U.resolve(x),h===x))return"";for(var O=1;O<h.length&&h.charCodeAt(O)===47;++O);for(var p=h.length,F=p-O,j=1;j<x.length&&x.charCodeAt(j)===47;++j);for(var G=x.length,B=G-j,N=F<B?F:B,Q=-1,H=0;H<=N;++H){if(H===N){if(B>N){if(x.charCodeAt(j+H)===47)return x.slice(j+H+1);if(H===0)return x.slice(j+H)}else F>N&&(h.charCodeAt(O+H)===47?Q=H:H===0&&(Q=0));break}var q=h.charCodeAt(O+H),E=x.charCodeAt(j+H);if(q!==E)break;q===47&&(Q=H)}var X="";for(H=O+Q+1;H<=p;++H)(H===p||h.charCodeAt(H)===47)&&(X.length===0?X+="..":X+="/..");return X.length>0?X+x.slice(j+Q):(j+=Q,x.charCodeAt(j)===47&&++j,x.slice(j))},_makeLong:function(h){return h},dirname:function(h){if(I(h),h.length===0)return".";for(var x=h.charCodeAt(0),O=x===47,p=-1,F=!0,j=h.length-1;j>=1;--j)if(x=h.charCodeAt(j),x===47){if(!F){p=j;break}}else F=!1;return p===-1?O?"/":".":O&&p===1?"//":h.slice(0,p)},basename:function(h,x){if(x!==void 0&&typeof x!="string")throw new TypeError('"ext" argument must be a string');I(h);var O=0,p=-1,F=!0,j;if(x!==void 0&&x.length>0&&x.length<=h.length){if(x.length===h.length&&x===h)return"";var G=x.length-1,B=-1;for(j=h.length-1;j>=0;--j){var N=h.charCodeAt(j);if(N===47){if(!F){O=j+1;break}}else B===-1&&(F=!1,B=j+1),G>=0&&(N===x.charCodeAt(G)?--G===-1&&(p=j):(G=-1,p=B))}return O===p?p=B:p===-1&&(p=h.length),h.slice(O,p)}else{for(j=h.length-1;j>=0;--j)if(h.charCodeAt(j)===47){if(!F){O=j+1;break}}else p===-1&&(F=!1,p=j+1);return p===-1?"":h.slice(O,p)}},extname:function(h){I(h);for(var x=-1,O=0,p=-1,F=!0,j=0,G=h.length-1;G>=0;--G){var B=h.charCodeAt(G);if(B===47){if(!F){O=G+1;break}continue}p===-1&&(F=!1,p=G+1),B===46?x===-1?x=G:j!==1&&(j=1):x!==-1&&(j=-1)}return x===-1||p===-1||j===0||j===1&&x===p-1&&x===O+1?"":h.slice(x,p)},format:function(h){if(h===null||typeof h!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof h);return T("/",h)},parse:function(h){I(h);var x={root:"",dir:"",base:"",ext:"",name:""};if(h.length===0)return x;var O=h.charCodeAt(0),p=O===47,F;p?(x.root="/",F=1):F=0;for(var j=-1,G=0,B=-1,N=!0,Q=h.length-1,H=0;Q>=F;--Q){if(O=h.charCodeAt(Q),O===47){if(!N){G=Q+1;break}continue}B===-1&&(N=!1,B=Q+1),O===46?j===-1?j=Q:H!==1&&(H=1):j!==-1&&(H=-1)}return j===-1||B===-1||H===0||H===1&&j===B-1&&j===G+1?B!==-1&&(G===0&&p?x.base=x.name=h.slice(1,B):x.base=x.name=h.slice(G,B)):(G===0&&p?(x.name=h.slice(1,j),x.base=h.slice(1,B)):(x.name=h.slice(G,j),x.base=h.slice(G,B)),x.ext=h.slice(j,B)),G>0?x.dir=h.slice(0,G-1):p&&(x.dir="/"),x},sep:"/",delimiter:":",win32:null,posix:null};U.posix=U,K.exports=U}),D={};y(D,{default:()=>P});C(D,z(A()));var P=z(A());var __dirname="/Users/sudhanshuraheja/code/src/github.com/open-language/en-wordnet/src",$=new Map;$.set("3.0",(void 0)(__dirname,"..","database","3.0"));$.set("3.1",(void 0)(__dirname,"..","database","3.1"));var W=$;export{W as default};
{
"name": "en-wordnet",
"version": "2.0.7",
"version": "2.0.8",
"type": "module",
"main": "dist/index.js",
"type": "module",
"types": "dist/index.d.ts",
"repository": {

@@ -25,9 +26,14 @@ "type": "git",

"devDependencies": {
"bun-types": "^1.1.3",
"prettier": "^2.0.5"
"@types/bun": "^1.0.12",
"bun-plugin-dts": "^0.2.2",
"prettier": "^2.0.5",
"typescript": "^5.4.5"
},
"scripts": {
"start": "node index.js",
"publish": "npm pkg fix; npm publish"
}
"publish": "npm pkg fix; npm publish",
"build": "bun run build.mjs"
},
"files": [
"dist"
]
}

@@ -16,2 +16,12 @@ ### Archived

## Getting started
We use [bun](https://bun.sh/) for this project.
```bash
curl -fsSL https://bun.sh/install | bash
bun install
bun test
```
## Where did you find this?

@@ -18,0 +28,0 @@

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc