Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@atproto/api

Package Overview
Dependencies
Maintainers
2
Versions
163
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@atproto/api - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

dist/client/index.d.ts

14

build.js

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

const pkgJson = require('@npmcli/package-json')
const { nodeExternalsPlugin } = require('esbuild-node-externals')

@@ -7,15 +6,2 @@

if (process.argv.includes('--update-main-to-dist')) {
return pkgJson
.load(__dirname)
.then((pkg) => pkg.update({ main: 'dist/index.js' }))
.then((pkg) => pkg.save())
}
if (process.argv.includes('--update-main-to-src')) {
return pkgJson
.load(__dirname)
.then((pkg) => pkg.update({ main: 'src/index.ts' }))
.then((pkg) => pkg.save())
}
require('esbuild').build({

@@ -22,0 +8,0 @@ logLevel: 'info',

8

package.json
{
"name": "@atproto/api",
"version": "0.0.2",
"version": "0.0.3",
"main": "dist/index.js",

@@ -9,5 +9,5 @@ "scripts": {

"postbuild": "tsc --build tsconfig.build.json",
"update-main-to-dist": "node ./build.js --update-main-to-dist",
"update-main-to-src": "node ./build.js --update-main-to-src",
"prepublish": "npm run update-main-to-dist && npm run build",
"update-main-to-dist": "node ./update-pkg.js --update-main-to-dist",
"update-main-to-src": "node ./update-pkg.js --update-main-to-src",
"prepublish": "npm run update-main-to-dist",
"postpublish": "npm run update-main-to-src",

@@ -14,0 +14,0 @@ "test": "jest"

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