Socket
Socket
Sign inDemoInstall

jiti

Package Overview
Dependencies
0
Maintainers
1
Versions
83
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.12.9 to 1.12.10

2

dist/utils.d.ts
export declare function isDir(filename: string): boolean;
export declare function isWritable(filename: string): boolean;
export declare function md5(content: string, len?: number): string;
export declare function detectESMSyntax(code: string): RegExpMatchArray | null;
export declare function detectLegacySyntax(code: string): RegExpMatchArray | null;
export declare function isObject(val: any): boolean;
export declare function interopDefault(sourceModule: any): any;

20

package.json
{
"name": "jiti",
"version": "1.12.9",
"version": "1.12.10",
"description": "Runtime typescript and ESM support for Node.js (CommonJS)",

@@ -16,11 +16,10 @@ "repository": "unjs/jiti",

"scripts": {
"build": "yarn clean && NODE_ENV=production yarn webpack",
"build:babel": "ncc build src/babel.ts -t -m -o dist/babel",
"build": "yarn clean && cross-env NODE_ENV=production yarn webpack",
"clean": "rm -rf dist",
"dev": "yarn clean && yarn webpack --watch",
"jiti": "JITI_DEBUG=1 ./bin/jiti.js",
"jiti:legacy": "JITI_DEBUG=1 npx node@12 ./bin/jiti.js",
"jiti": "cross-env JITI_DEBUG=1 JITI_CACHE=false ./bin/jiti.js",
"jiti:legacy": "cross-env JITI_DEBUG=1 npx node@12 ./bin/jiti.js",
"lint": "eslint --ext .ts,.js .",
"release": "yarn test && yarn build && yarn standard-version && git push --follow-tags && npm publish",
"test": "yarn lint"
"test": "vitest run"
},

@@ -43,2 +42,3 @@ "devDependencies": {

"@types/semver": "latest",
"acorn": "latest",
"babel-plugin-dynamic-import-node": "latest",

@@ -48,8 +48,13 @@ "babel-plugin-parameter-decorator": "latest",

"create-require": "latest",
"cross-env": "latest",
"destr": "latest",
"eslint": "^7",
"eslint": "latest",
"esm": "latest",
"estree-walker": "latest",
"execa": "latest",
"fast-glob": "latest",
"mkdirp": "latest",
"mlly": "latest",
"object-hash": "latest",
"pathe": "latest",
"pirates": "latest",

@@ -61,2 +66,3 @@ "semver": "latest",

"typescript": "latest",
"vitest": "latest",
"webpack": "latest",

@@ -63,0 +69,0 @@ "webpack-cli": "latest"

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc